@justifi/webcomponents 5.4.4 → 5.6.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/Api-KMweahmp.js +74 -0
- package/dist/cjs/{Business-d88b77fd.js → Business-DyiDiIuO.js} +1 -1
- package/dist/cjs/{Checkout-5352009d.js → Checkout-RAGvjVPj.js} +1 -1
- package/dist/cjs/{ComponentError-233ac749.js → ComponentError-C4MdBBMe.js} +1 -0
- package/dist/cjs/{Payment-bccd8f7d.js → Payment-CQCmj3Ck.js} +2 -2
- package/dist/cjs/{SubAccount-2a302ead.js → Refund-CpurRc4w.js} +104 -1
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -11
- package/dist/cjs/{badge-364e6311.js → badge-DwSZ83Bm.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +25 -43
- package/dist/cjs/bank-account-form_9.cjs.entry.js +93 -97
- package/dist/cjs/{business-additional-questions-schema-8568cb79.js → business-additional-questions-schema-mzZ2gYHQ.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +6 -10
- package/dist/cjs/{business-form-options-62e9c8ab.js → business-form-options-BCj0efiD.js} +1 -1
- package/dist/cjs/{business-identity-schema-518ab6eb.js → business-identity-schema-dt0zCW0R.js} +2 -2
- package/dist/cjs/{business.service-6e8a29a2.js → business.service-Crmkeulk.js} +23 -8
- package/dist/cjs/{button-4a9fd41e.js → button-Cp4u5YgP.js} +2 -2
- package/dist/cjs/{check-pkg-version-e6dcbeb7.js → check-pkg-version-C4d9pl8G.js} +3 -3
- package/dist/cjs/{checkout.service-0a7835dc.js → checkout.service-DP9FnXBx.js} +13 -10
- package/dist/cjs/checkouts-list-core.cjs.entry.js +25 -31
- package/dist/cjs/{payments-list-params-state-442d9944.js → checkouts-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{checkouts-table-8a1b49ff.js → checkouts-table-nsXjlcI1.js} +4 -4
- package/dist/cjs/custom-popper_4.cjs.entry.js +27 -52
- package/dist/cjs/{dispute.service-6efc7d7f.js → dispute.service-F-M8EJxq.js} +20 -11
- package/dist/cjs/{event-types-5a6ce2b0.js → event-types-CjInBN20.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +10 -19
- package/dist/cjs/form-control-checkbox.cjs.entry.js +9 -18
- package/dist/cjs/form-control-date.cjs.entry.js +9 -19
- package/dist/cjs/{form-control-error-text-3cff9b7b.js → form-control-error-text-NbHDc1JL.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +11 -30
- package/dist/cjs/{form-control-help-text-94ffed2c.js → form-control-help-text-bc3qGHAG.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -5
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +13 -22
- package/dist/cjs/form-control-monetary.cjs.entry.js +13 -22
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +12 -25
- package/dist/cjs/form-control-number.cjs.entry.js +9 -18
- package/dist/cjs/form-control-radio.cjs.entry.js +7 -17
- package/dist/cjs/{get-business-d8f5db51.js → get-business-BBzGEPBG.js} +3 -3
- package/dist/cjs/get-payment-details-DQyJtwTw.js +42 -0
- package/dist/cjs/get-payout-csv-Jr_0DmmY.js +24 -0
- package/dist/cjs/{get-subaccounts-ae5b35a8.js → get-subaccounts-zwxhG-O3.js} +11 -10
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +262 -270
- package/dist/cjs/{header-1-43b2b905.js → header-1-kwWMtg3s.js} +2 -2
- package/dist/cjs/{header-3-eb250a04.js → header-3-CNWIH9ZU.js} +2 -2
- package/dist/cjs/{helpers-602962eb.js → helpers-B5OCqlIM.js} +1 -1
- package/dist/cjs/{iframe-input-styles-state-d0de0b24.js → iframe-input-styles-state-jHHRvqzM.js} +2 -2
- package/dist/cjs/iframe-input.cjs.entry.js +1640 -0
- package/dist/cjs/{index-750475a3.js → index-1MT3Z4XI.js} +1 -1
- package/dist/cjs/{index-5b9a3b5f.js → index-BRQfozbS.js} +460 -271
- package/dist/cjs/{index-d2d0b181.js → index-DzQdh5ij.js} +4 -5
- package/dist/cjs/index.esm-CVuJLXJZ.js +11807 -0
- package/dist/cjs/{input-handlers-cff032bb.js → input-handlers-DYl_0IwC.js} +1 -1
- package/dist/cjs/{insurance-state-71f8b653.js → insurance-state-DbXkNYds.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +64 -94
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +36 -86
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +36 -54
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -20
- package/dist/cjs/justifi-business-form.cjs.entry.js +34 -38
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +6 -11
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +31 -34
- package/dist/cjs/justifi-checkout.cjs.entry.js +23 -29
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +15 -18
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +25 -30
- package/dist/cjs/justifi-details.cjs.entry.js +3 -6
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +5 -11
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +19 -23
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +38 -52
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -16
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +29 -37
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +29 -52
- package/dist/cjs/justifi-payment-details.cjs.entry.js +24 -52
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +15 -23
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -16
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +195 -0
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +11 -17
- package/dist/cjs/justifi-payments-list.cjs.entry.js +25 -29
- package/dist/cjs/justifi-payout-details.cjs.entry.js +24 -28
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +203 -0
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +9 -12
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +29 -34
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +189 -69
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +10 -27
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +24 -35
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +24 -26
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +29 -29
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +21 -25
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +26 -31
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +24 -28
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/lodash-CvSCBJ_8.js +17216 -0
- package/dist/cjs/package-S6wVKDKx.js +9 -0
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -5
- package/dist/cjs/{parts-5ca90f9a.js → parts-D_uKOPFe.js} +3 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +19 -22
- package/dist/cjs/{payment-provisioning-actions-382ab48c.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
- package/dist/cjs/payment.service-BstXaxH5.js +27 -0
- package/dist/cjs/payments-list-core.cjs.entry.js +25 -30
- package/dist/cjs/{terminal-orders-list-params-state-c419078f.js → payments-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{payments-status-075aad0a.js → payments-status-CQq7KrHL.js} +2 -2
- package/dist/cjs/{payments-table-a076755a.js → payments-table-ClOxMnZ8.js} +4 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +14 -18
- package/dist/cjs/payout.service-DWOtnFdn.js +34 -0
- package/dist/cjs/payouts-list-core.cjs.entry.js +26 -33
- package/dist/cjs/{checkouts-list-params-state-644d3639.js → payouts-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{payouts-status-ced97c2b.js → payouts-status-BdfV3jvX.js} +2 -2
- package/dist/cjs/{payouts-table-aedce326.js → payouts-table-Bo3pLf4Z.js} +4 -4
- package/dist/cjs/{schema-validations-a7cefbdf.js → schema-validations-p4OCdblz.js} +4 -4
- package/dist/cjs/{skeleton-e8aa41d0.js → skeleton-BXVndBVC.js} +2 -2
- package/dist/cjs/{spinner-580453f2.js → spinner-CSH2OUiV.js} +2 -2
- package/dist/cjs/{styled-host-94309bab.js → styled-host-CzJ8Ux1t.js} +2 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -10
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +24 -29
- package/dist/cjs/{payouts-list-params-state-033b76d6.js → terminal-orders-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{terminal-orders-table-3b247193.js → terminal-orders-table-CXmVc7uU.js} +35 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +6 -12
- package/dist/cjs/{terminal.service-ab62c344.js → terminal.service-ghxwDinY.js} +11 -11
- package/dist/cjs/terminals-list-core.cjs.entry.js +25 -31
- package/dist/cjs/terminals-list-params-state-DX4jg37H.js +22 -0
- package/dist/cjs/{terminals-table-594643fd.js → terminals-table-vYbTPOpy.js} +4 -4
- package/dist/cjs/utils-DmZ8Dia3.js +23987 -0
- package/dist/cjs/{utils-f8714daa.js → utils-DxbncJhj.js} +2 -2
- package/dist/cjs/{utils-7a478c37.js → utils-l0veqT9y.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +7 -7
- package/dist/collection/actions/payment/get-payment-details.js +5 -2
- package/dist/collection/actions/payment/get-payment-transactions.js +34 -0
- package/dist/collection/actions/payout/get-payout-transactions.js +34 -0
- package/dist/collection/actions/refund/refund-actions.js +31 -0
- package/dist/collection/api/Api.js +32 -13
- package/dist/collection/api/ComponentError.js +1 -0
- package/dist/collection/api/PaymentBalanceTransaction.js +45 -0
- package/dist/collection/api/PayoutBalanceTransaction.js +35 -0
- package/dist/collection/api/Refund.js +32 -0
- package/dist/collection/api/TerminalOrder.js +3 -0
- package/dist/collection/api/index.js +3 -0
- package/dist/collection/api/services/analytics.service.js +1 -1
- package/dist/collection/api/services/business.service.js +22 -7
- package/dist/collection/api/services/checkout.service.js +6 -3
- package/dist/collection/api/services/dispute.service.js +13 -4
- package/dist/collection/api/services/insurance.service.js +8 -2
- package/dist/collection/api/services/payment.service.js +7 -3
- package/dist/collection/api/services/payout.service.js +8 -3
- package/dist/collection/api/services/provision.service.js +4 -1
- package/dist/collection/api/services/refund.service.js +10 -0
- package/dist/collection/api/services/reports.service.js +1 -1
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +4 -4
- package/dist/collection/api/services/terminal_orders.service.js +5 -1
- package/dist/collection/collection-manifest.json +5 -5
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +4 -4
- package/dist/collection/components/business-details/business-details-core.js +4 -3
- package/dist/collection/components/business-details/business-details.js +6 -8
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +4 -4
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +4 -4
- package/dist/collection/components/business-details/owner-details/owner-details.js +4 -4
- package/dist/collection/components/business-details/representative-details/representative-details.js +4 -4
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +4 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -2
- package/dist/collection/components/business-forms/business-form/business-form.js +20 -13
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -4
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -3
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +11 -7
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +34 -22
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +10 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +22 -19
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +15 -11
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +11 -8
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +13 -10
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +23 -16
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +9 -12
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +6 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +17 -12
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +20 -14
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +10 -6
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +14 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +31 -21
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +14 -10
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +24 -16
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +20 -14
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +21 -12
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +12 -8
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +13 -13
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +3 -2
- package/dist/collection/components/checkout/billing-form/billing-form-schema.js +21 -0
- package/dist/collection/components/checkout/billing-form/billing-form.js +203 -0
- package/dist/collection/components/checkout/card-form/card-form.js +5 -4
- package/dist/collection/components/checkout/checkout-core.js +88 -37
- package/dist/collection/components/checkout/checkout.js +70 -28
- package/dist/collection/components/checkout/new-payment-method.js +110 -30
- package/dist/collection/components/checkout/payment-method-options.js +91 -36
- package/dist/collection/components/checkout/saved-payment-method.js +7 -4
- package/dist/collection/components/checkout/sezzle-payment-method.js +19 -15
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +17 -14
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +7 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +16 -12
- package/dist/collection/components/dispute-management/dispute-management-core.js +11 -8
- package/dist/collection/components/dispute-management/dispute-management.js +12 -9
- package/dist/collection/components/dispute-management/dispute-notification.js +11 -9
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +10 -9
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +21 -14
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +16 -13
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +10 -8
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +5 -4
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +7 -6
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +44 -30
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +40 -32
- package/dist/collection/components/order-terminals/order-terminals.js +19 -14
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +19 -13
- package/dist/collection/components/payment-details/payment-details-core.js +13 -12
- package/dist/collection/components/payment-details/payment-details.js +29 -6
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +248 -0
- package/dist/collection/components/payment-transactions-list/payment-transactions-table.js +45 -0
- package/dist/collection/components/payments-list/payments-list-core.js +12 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +17 -12
- package/dist/collection/components/payments-list/payments-list.js +16 -11
- package/dist/collection/components/payout-details/payout-details-core.js +11 -8
- package/dist/collection/components/payout-details/payout-details.js +11 -9
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +250 -0
- package/dist/collection/components/payout-transactions-list/payout-transactions-table.js +47 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +21 -16
- package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -6
- package/dist/collection/components/payouts-list/payouts-list.js +16 -13
- package/dist/collection/components/refund-payment/refund-loading.js +6 -0
- package/dist/collection/components/refund-payment/refund-payment-schema.js +26 -11
- package/dist/collection/components/refund-payment/refund-payment.js +157 -57
- package/dist/collection/components/terminal-orders-list/terminal-order-status.js +15 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +12 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +18 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +16 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +17 -14
- package/dist/collection/components/terminals-list/terminals-list-filters.js +10 -7
- package/dist/collection/components/terminals-list/terminals-list.js +16 -12
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +71 -19
- package/dist/collection/styles/parts.js +2 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +19 -8
- package/dist/collection/ui-components/details/details.js +3 -4
- package/dist/collection/ui-components/filters/table-filters-menu.js +8 -7
- package/dist/collection/ui-components/form/form-control-checkbox.js +25 -17
- package/dist/collection/ui-components/form/form-control-date.js +32 -21
- package/dist/collection/ui-components/form/form-control-file-v2.js +23 -18
- package/dist/collection/ui-components/form/form-control-file.js +28 -21
- package/dist/collection/ui-components/form/form-control-monetary.js +35 -23
- package/dist/collection/ui-components/form/form-control-number-masked.js +28 -19
- package/dist/collection/ui-components/form/form-control-number.js +25 -17
- package/dist/collection/ui-components/form/form-control-radio.js +28 -19
- package/dist/collection/ui-components/form/form-control-select.js +29 -19
- package/dist/collection/ui-components/form/form-control-text.js +32 -21
- package/dist/collection/ui-components/form/form-control-textarea.js +32 -21
- package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +6 -6
- package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +6 -6
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +3 -6
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +14 -12
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +6 -0
- package/dist/collection/utils/utils.js +8 -0
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +2216 -947
- package/dist/esm/Api-C9CDE-UM.js +72 -0
- package/dist/esm/{Business-0855931c.js → Business-D6XNzizo.js} +2 -2
- package/dist/esm/{Checkout-18d8bf94.js → Checkout-Dfpql997.js} +1 -1
- package/dist/esm/{ComponentError-c61dce41.js → ComponentError-SdntD1xf.js} +2 -1
- package/dist/esm/{Document-1907c0d4.js → Document-Ct-uNz2r.js} +1 -1
- package/dist/esm/{Payment-806af354.js → Payment-BADkZFaz.js} +2 -2
- package/dist/esm/{SubAccount-7520271c.js → Refund-DOvd7RJp.js} +102 -2
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/additional-questions-details_5.entry.js +5 -9
- package/dist/esm/{badge-1be14e8c.js → badge-D5PvLnZT.js} +3 -3
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +25 -41
- package/dist/esm/bank-account-form_9.entry.js +91 -93
- package/dist/esm/{business-additional-questions-schema-56308a54.js → business-additional-questions-schema-W6okG5Xu.js} +2 -2
- package/dist/esm/business-details-core.entry.js +6 -8
- package/dist/esm/{business-form-options-86a13078.js → business-form-options-Bn05PRR4.js} +1 -1
- package/dist/esm/{business-identity-schema-24fcc4ef.js → business-identity-schema-lqdJS3MT.js} +2 -2
- package/dist/esm/{business.service-999196a4.js → business.service-B136meVo.js} +23 -8
- package/dist/esm/{button-fcee4da7.js → button-wgHJf7hN.js} +2 -2
- package/dist/esm/{check-pkg-version-47fc35a7.js → check-pkg-version-iIBw3nCc.js} +3 -3
- package/dist/esm/{checkout.service-e38e477f.js → checkout.service-92ld4w-G.js} +13 -10
- package/dist/esm/checkouts-list-core.entry.js +25 -29
- package/dist/esm/{checkouts-list-params-state-7bdf00bd.js → checkouts-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{checkouts-table-39a031a0.js → checkouts-table-DQfjKgR-.js} +4 -4
- package/dist/esm/custom-popper_4.entry.js +27 -50
- package/dist/esm/{dispute.service-7ba6d5a4.js → dispute.service-H2Oaq2af.js} +20 -11
- package/dist/esm/{event-types-1bc52f1f.js → event-types-Dv-I6YqZ.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +10 -17
- package/dist/esm/form-control-checkbox.entry.js +9 -16
- package/dist/esm/form-control-date.entry.js +9 -17
- package/dist/esm/{form-control-error-text-176d20d8.js → form-control-error-text-nyeinPVQ.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +11 -28
- package/dist/esm/{form-control-help-text-83764e14.js → form-control-help-text-QhxeQeTV.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -3
- package/dist/esm/form-control-monetary-provisioning.entry.js +13 -20
- package/dist/esm/form-control-monetary.entry.js +13 -20
- package/dist/esm/form-control-number-masked_2.entry.js +12 -23
- package/dist/esm/form-control-number.entry.js +9 -16
- package/dist/esm/form-control-radio.entry.js +7 -15
- package/dist/esm/{get-business-b7511690.js → get-business-B3c5gg1D.js} +3 -3
- package/dist/esm/get-payment-details-Bzh5t6A8.js +40 -0
- package/dist/esm/get-payout-csv-bM3pZLKB.js +22 -0
- package/dist/esm/{get-subaccounts-3c6b9e84.js → get-subaccounts-BB3Sqb3H.js} +10 -9
- package/dist/esm/gross-payment-chart-core.entry.js +262 -268
- package/dist/esm/{header-1-215a146f.js → header-1-DNg4xuR6.js} +2 -2
- package/dist/esm/{header-3-afd16f23.js → header-3-BD_mh7vB.js} +2 -2
- package/dist/esm/{helpers-96ea3464.js → helpers-Mu7LQT-w.js} +2 -2
- package/dist/esm/{iframe-input-styles-state-ff730fe5.js → iframe-input-styles-state-DeH54Fkx.js} +3 -3
- package/dist/esm/iframe-input.entry.js +1638 -0
- package/dist/esm/{index-a47fdc7f.js → index-4sfb1rKO.js} +4 -5
- package/dist/esm/{index-d9a73ce3.js → index-Ce_F4E0f.js} +1 -1
- package/dist/esm/{index-29fcfdf5.js → index-D4-FKsCU.js} +459 -250
- package/dist/esm/index.esm-BCNUj0Dx.js +11801 -0
- package/dist/esm/{input-handlers-270ac806.js → input-handlers-CX6mSvOM.js} +1 -1
- package/dist/esm/{insurance-state-d2df8e88.js → insurance-state-CXUWRQQk.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +64 -92
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +36 -84
- package/dist/esm/justifi-additional-statement_8.entry.js +36 -52
- package/dist/esm/justifi-business-details.entry.js +16 -18
- package/dist/esm/justifi-business-form.entry.js +34 -36
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +6 -9
- package/dist/esm/justifi-checkout-core.entry.js +31 -32
- package/dist/esm/justifi-checkout.entry.js +23 -27
- package/dist/esm/justifi-checkouts-list-filters.entry.js +15 -16
- package/dist/esm/justifi-checkouts-list.entry.js +25 -28
- package/dist/esm/justifi-details.entry.js +3 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +5 -9
- package/dist/esm/justifi-dispute-management.entry.js +19 -21
- package/dist/esm/justifi-dispute-notification_3.entry.js +38 -50
- package/dist/esm/justifi-gross-payment-chart.entry.js +13 -14
- package/dist/esm/justifi-order-terminals.entry.js +26 -32
- package/dist/esm/justifi-owner-form_3.entry.js +29 -50
- package/dist/esm/justifi-payment-details.entry.js +22 -48
- package/dist/esm/justifi-payment-provisioning-core.entry.js +15 -21
- package/dist/esm/justifi-payment-provisioning.entry.js +15 -14
- package/dist/esm/justifi-payment-transactions-list.entry.js +193 -0
- package/dist/esm/justifi-payments-list-filters.entry.js +11 -15
- package/dist/esm/justifi-payments-list.entry.js +25 -27
- package/dist/esm/justifi-payout-details.entry.js +21 -23
- package/dist/esm/justifi-payout-transactions-list.entry.js +201 -0
- package/dist/esm/justifi-payouts-list-filters.entry.js +9 -10
- package/dist/esm/justifi-payouts-list.entry.js +27 -30
- package/dist/esm/justifi-refund-payment.entry.js +189 -67
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +10 -25
- package/dist/esm/justifi-season-interruption-insurance.entry.js +24 -33
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +19 -19
- package/dist/esm/justifi-terminal-orders-list.entry.js +28 -26
- package/dist/esm/justifi-terminals-list-filters.entry.js +17 -19
- package/dist/esm/justifi-terminals-list.entry.js +25 -28
- package/dist/esm/justifi-tokenize-payment-method.entry.js +24 -26
- package/dist/esm/loader.js +4 -4
- package/dist/esm/lodash-BqWxUrkh.js +17214 -0
- package/dist/esm/package-DGWLSvML.js +7 -0
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/{parts-fd740f54.js → parts-6ctk_bhj.js} +3 -2
- package/dist/esm/payment-details-core.entry.js +19 -20
- package/dist/esm/{payment-provisioning-actions-beadac34.js → payment-provisioning-actions-CZYFFdTf.js} +3 -3
- package/dist/esm/payment.service-CeGn-K_X.js +25 -0
- package/dist/esm/payments-list-core.entry.js +25 -28
- package/dist/esm/{payments-list-params-state-d05b24aa.js → payments-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{payments-status-74d22728.js → payments-status-nKLMqTrO.js} +2 -2
- package/dist/esm/{payments-table-8134f5e1.js → payments-table-BrvZHeak.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +14 -16
- package/dist/esm/payout.service-dukCI9Kl.js +32 -0
- package/dist/esm/payouts-list-core.entry.js +26 -31
- package/dist/esm/{payouts-list-params-state-ebcee300.js → payouts-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{payouts-status-29d31099.js → payouts-status-tVJFGPCs.js} +2 -2
- package/dist/esm/{payouts-table-c1ced46a.js → payouts-table-CgfTp9tE.js} +4 -4
- package/dist/esm/{schema-validations-5af4266a.js → schema-validations-BsbYeDDR.js} +5 -5
- package/dist/esm/{skeleton-ab3f676e.js → skeleton-D8dsThNX.js} +2 -2
- package/dist/esm/{spinner-27479716.js → spinner-BVJ-upD0.js} +2 -2
- package/dist/esm/{styled-host-32228b45.js → styled-host-D594Ui4d.js} +2 -3
- package/dist/esm/table-filters-menu.entry.js +4 -8
- package/dist/esm/terminal-orders-list-core.entry.js +24 -27
- package/dist/esm/{terminal-orders-list-params-state-8fec0a0b.js → terminal-orders-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{terminal-orders-table-93e84d25.js → terminal-orders-table-CgioW1d8.js} +35 -5
- package/dist/esm/terminal-quantity-selector.entry.js +6 -10
- package/dist/esm/{terminal.service-d173566d.js → terminal.service-L0EoPXUE.js} +11 -11
- package/dist/esm/terminals-list-core.entry.js +25 -29
- package/dist/esm/terminals-list-params-state-qgJxi6iW.js +16 -0
- package/dist/esm/{terminals-table-ff24bf27.js → terminals-table-D7LKwR85.js} +4 -4
- package/dist/esm/{utils-96d9c205.js → utils-1z8cNzLu.js} +2 -2
- package/dist/esm/utils-BWcTxbSg.js +23969 -0
- package/dist/esm/{utils-fd99b806.js → utils-Dccsn9BY.js} +2 -2
- package/dist/esm/webcomponents.js +6 -5
- package/dist/module/Api.js +32 -76
- package/dist/module/Business.js +2 -2
- package/dist/module/ComponentError.js +2 -1
- package/dist/module/Document.js +1 -1
- package/dist/module/{SubAccount.js → Refund.js} +101 -1
- package/dist/module/_commonjsHelpers.js +7 -0
- package/dist/module/additional-questions-details2.js +1 -2
- package/dist/module/additional-questions.js +2 -3
- package/dist/module/additional-statement.js +6 -9
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-inputs.js +4 -6
- package/dist/module/bank-account-form-inputs2.js +1 -5
- package/dist/module/bank-account-form2.js +0 -1
- package/dist/module/billing-form.js +122 -4
- package/dist/module/business-additional-questions-form-step-core.js +7 -11
- package/dist/module/business-additional-questions-form-step.js +1 -6
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +13 -18
- package/dist/module/business-bank-account-form-step.js +3 -9
- package/dist/module/business-core-info-form-step-core.js +6 -11
- package/dist/module/business-core-info-form-step.js +1 -6
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +2 -3
- package/dist/module/business-details-core2.js +1 -3
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step-core.js +5 -11
- package/dist/module/business-owners-form-step.js +1 -6
- package/dist/module/business-representative-form-inputs.js +1 -4
- package/dist/module/business-representative-form-step-core.js +5 -9
- package/dist/module/business-representative-form-step.js +1 -6
- package/dist/module/business-representative.js +3 -4
- package/dist/module/business-terms-conditions-form-step.js +6 -12
- package/dist/module/business.service.js +22 -7
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +6 -8
- package/dist/module/card-form2.js +2 -3
- package/dist/module/check-pkg-version.js +1 -1
- package/dist/module/checkout-core.js +57 -69
- package/dist/module/checkout.service.js +7 -4
- package/dist/module/checkouts-list-core2.js +12 -17
- package/dist/module/custom-popper2.js +13 -16
- package/dist/module/customer-details.js +6 -8
- package/dist/module/details.js +0 -1
- package/dist/module/dispute-management-core.js +4 -8
- package/dist/module/dispute-notification.js +3 -6
- package/dist/module/dispute-response-actions.js +16 -7
- package/dist/module/dispute-response-core.js +12 -16
- package/dist/module/dispute-response.js +6 -12
- package/dist/module/duplicate-charge.js +6 -8
- package/dist/module/electronic-evidence.js +5 -7
- package/dist/module/event-types2.js +21 -61
- package/dist/module/event-types3.js +61 -21
- package/dist/module/form-alert2.js +1 -3
- package/dist/module/form-control-checkbox2.js +6 -13
- package/dist/module/form-control-date2.js +6 -14
- package/dist/module/form-control-file-v22.js +2 -10
- package/dist/module/form-control-file2.js +5 -15
- package/dist/module/form-control-help-text.js +1 -1
- package/dist/module/form-control-help-text2.js +30 -9
- package/dist/module/form-control-help-text3.js +9 -32
- package/dist/module/form-control-monetary-provisioning2.js +8 -15
- package/dist/module/form-control-monetary2.js +9 -17
- package/dist/module/form-control-number-masked2.js +4 -12
- package/dist/module/form-control-number.js +6 -13
- package/dist/module/form-control-radio2.js +6 -14
- package/dist/module/form-control-select2.js +5 -13
- package/dist/module/form-control-text2.js +5 -14
- package/dist/module/form-control-textarea2.js +7 -16
- package/dist/module/form-control-tooltip2.js +0 -3
- package/dist/module/form.js +9773 -903
- package/dist/module/generic-info-details2.js +0 -1
- package/dist/module/get-business.js +2 -2
- package/dist/module/get-payment-details.js +40 -0
- package/dist/module/get-payout-csv.js +3 -27
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +257 -264
- package/dist/module/helpers.js +1 -1
- package/dist/module/hidden-input2.js +3 -3
- package/dist/module/identity-address-form.js +2 -5
- package/dist/module/iframe-input-styles-state.js +2 -2
- package/dist/module/iframe-input2.js +1481 -1478
- package/dist/module/index.js +1 -1
- package/dist/module/index2.js +3 -4
- package/dist/module/index3.js +1 -1
- package/dist/module/{billing-form.d.ts → justifi-billing-form.d.ts} +4 -4
- package/dist/module/justifi-billing-form.js +6 -0
- package/dist/module/justifi-business-details.js +1 -5
- package/dist/module/justifi-business-form.js +7 -10
- package/dist/module/justifi-checkout.js +47 -62
- package/dist/module/justifi-checkouts-list-filters.js +4 -5
- package/dist/module/justifi-checkouts-list.js +8 -11
- package/dist/module/justifi-dispute-management.js +6 -9
- package/dist/module/justifi-gross-payment-chart.js +4 -7
- package/dist/module/justifi-order-terminals.js +6 -13
- package/dist/module/justifi-payment-details.js +6 -38
- package/dist/module/justifi-payment-provisioning.js +5 -6
- package/dist/module/justifi-payment-transactions-list.d.ts +11 -0
- package/dist/module/justifi-payment-transactions-list.js +229 -0
- package/dist/module/justifi-payments-list-filters.js +6 -11
- package/dist/module/justifi-payments-list.js +8 -10
- package/dist/module/justifi-payout-details.js +8 -10
- package/dist/module/justifi-payout-transactions-list.d.ts +11 -0
- package/dist/module/justifi-payout-transactions-list.js +237 -0
- package/dist/module/justifi-payouts-list-filters.js +4 -6
- package/dist/module/justifi-payouts-list.js +10 -13
- package/dist/module/justifi-refund-payment.js +184 -61
- package/dist/module/justifi-season-interruption-insurance.js +13 -23
- package/dist/module/justifi-terminal-orders-list-filters.js +8 -9
- package/dist/module/justifi-terminal-orders-list.js +13 -11
- package/dist/module/justifi-terminals-list-filters.js +6 -8
- package/dist/module/justifi-terminals-list.js +8 -11
- package/dist/module/justifi-tokenize-payment-method.js +46 -58
- package/dist/module/legal-address-details2.js +1 -2
- package/dist/module/legal-address-form-step-core.js +6 -10
- package/dist/module/legal-address-form-step.js +1 -6
- package/dist/module/legal-address-form.js +1 -3
- package/dist/module/lodash.js +17201 -17191
- package/dist/module/new-payment-method.js +43 -55
- package/dist/module/owner-details2.js +0 -1
- package/dist/module/owner-form-core2.js +8 -18
- package/dist/module/owner-form-inputs2.js +1 -4
- package/dist/module/owner-form.js +1 -11
- package/dist/module/package.js +3 -77
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +3 -2
- package/dist/module/payment-details-core2.js +11 -13
- package/dist/module/payment-method-options.js +43 -61
- package/dist/module/payment-provisioning-actions.js +2 -2
- package/dist/module/payment-provisioning-core.js +8 -14
- package/dist/module/payment-provisioning-form-buttons.js +2 -8
- package/dist/module/payment-provisioning-form-steps.js +2 -7
- package/dist/module/payment.service.js +8 -4
- package/dist/module/payments-list-core2.js +10 -14
- package/dist/module/payout-details-core2.js +6 -9
- package/dist/module/payout.service.js +32 -0
- package/dist/module/payouts-list-core2.js +14 -20
- package/dist/module/product-or-service.js +5 -7
- package/dist/module/refund-policy.js +6 -8
- package/dist/module/representative-details2.js +0 -1
- package/dist/module/saved-payment-method.js +4 -6
- package/dist/module/schema-validations.js +2 -2
- package/dist/module/season-interruption-insurance-core.js +4 -20
- package/dist/module/sezzle-payment-method.js +3 -12
- package/dist/module/shipping-details.js +6 -8
- package/dist/module/spinner.js +1 -1
- package/dist/module/styled-host.js +1 -2
- package/dist/module/table-filters-menu2.js +3 -7
- package/dist/module/terminal-orders-list-core2.js +35 -15
- package/dist/module/terminal-quantity-selector2.js +4 -8
- package/dist/module/terminal.service.js +5 -5
- package/dist/module/terminals-list-core2.js +12 -17
- package/dist/module/utils.js +1 -1
- package/dist/module/utils2.js +23787 -3819
- package/dist/module/utils4.js +2 -2
- package/dist/types/actions/payment/get-payment-details.d.ts +4 -2
- package/dist/types/actions/payment/get-payment-transactions.d.ts +11 -0
- package/dist/types/actions/payout/get-payout-transactions.d.ts +10 -0
- package/dist/types/actions/refund/refund-actions.d.ts +12 -0
- package/dist/types/api/Api.d.ts +30 -5
- package/dist/types/api/ComponentError.d.ts +2 -1
- package/dist/types/api/Payment.d.ts +1 -11
- package/dist/types/api/PaymentBalanceTransaction.d.ts +42 -0
- package/dist/types/api/PayoutBalanceTransaction.d.ts +46 -0
- package/dist/types/api/Refund.d.ts +45 -0
- package/dist/types/api/TerminalOrder.d.ts +4 -1
- package/dist/types/api/index.d.ts +3 -0
- package/dist/types/api/services/payment.service.d.ts +4 -2
- package/dist/types/api/services/payout.service.d.ts +3 -1
- package/dist/types/api/services/refund.service.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
- package/dist/types/components/checkout/{billing-forms → billing-form}/billing-form-schema.d.ts +1 -11
- package/dist/types/components/checkout/{billing-forms/billing-form → billing-form}/billing-form.d.ts +8 -6
- package/dist/types/components/checkout/checkout-core.d.ts +6 -2
- package/dist/types/components/checkout/checkout.d.ts +6 -2
- package/dist/types/components/checkout/new-payment-method.d.ts +7 -3
- package/dist/types/components/checkout/payment-method-options.d.ts +6 -2
- package/dist/types/components/payment-details/payment-details.d.ts +1 -0
- package/dist/types/components/payment-transactions-list/payment-transactions-list.d.ts +32 -0
- package/dist/types/components/payment-transactions-list/payment-transactions-table.d.ts +43 -0
- package/dist/types/components/payout-transactions-list/payout-transactions-list.d.ts +33 -0
- package/dist/types/components/payout-transactions-list/payout-transactions-table.d.ts +45 -0
- package/dist/types/components/refund-payment/refund-loading.d.ts +1 -0
- package/dist/types/components/refund-payment/refund-payment-schema.d.ts +6 -6
- package/dist/types/components/refund-payment/refund-payment.d.ts +18 -12
- package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +1 -1
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -0
- package/dist/types/components.d.ts +123 -74
- package/dist/types/stencil-public-runtime.d.ts +28 -0
- package/dist/types/styles/parts.d.ts +6 -5
- package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p-009c6766.entry.js +1 -0
- package/dist/webcomponents/p-048ed3f0.entry.js +1 -0
- package/dist/webcomponents/p-0764cfde.entry.js +1 -0
- package/dist/webcomponents/p-08dcbb41.entry.js +1 -0
- package/dist/webcomponents/p-0b0e44c4.entry.js +1 -0
- package/dist/webcomponents/p-0b1bbf91.entry.js +1 -0
- package/dist/webcomponents/p-0c9c8d6f.entry.js +1 -0
- package/dist/webcomponents/p-103692ef.entry.js +1 -0
- package/dist/webcomponents/p-103deee0.entry.js +1 -0
- package/dist/webcomponents/p-10ad134d.entry.js +1 -0
- package/dist/webcomponents/p-175a913f.entry.js +1 -0
- package/dist/webcomponents/p-1c2bedfe.entry.js +1 -0
- package/dist/webcomponents/p-1ydcg9ti.js +1 -0
- package/dist/webcomponents/p-36656ed1.entry.js +1 -0
- package/dist/webcomponents/p-3678f5fb.entry.js +1 -0
- package/dist/webcomponents/p-3b1f69fd.entry.js +1 -0
- package/dist/webcomponents/p-405f135e.entry.js +1 -0
- package/dist/webcomponents/p-40614f67.entry.js +1 -0
- package/dist/webcomponents/p-41a0b83c.entry.js +1 -0
- package/dist/webcomponents/p-4361ae88.entry.js +1 -0
- package/dist/webcomponents/p-487514c2.entry.js +1 -0
- package/dist/webcomponents/p-4994c980.entry.js +1 -0
- package/dist/webcomponents/p-4c4cc0ad.entry.js +20 -0
- package/dist/webcomponents/p-4d5b8876.entry.js +1 -0
- package/dist/webcomponents/p-529bf046.entry.js +1 -0
- package/dist/webcomponents/p-5321c7d5.entry.js +1 -0
- package/dist/webcomponents/p-54aa7e86.entry.js +1 -0
- package/dist/webcomponents/p-5aeOUdhX.js +1 -0
- package/dist/webcomponents/p-601669bb.entry.js +1 -0
- package/dist/webcomponents/p-63c835b9.entry.js +1 -0
- package/dist/webcomponents/p-656ec7b6.entry.js +1 -0
- package/dist/webcomponents/p-6ctk_bhj.js +1 -0
- package/dist/webcomponents/p-6d36d6a7.entry.js +1 -0
- package/dist/webcomponents/p-76e7c283.entry.js +1 -0
- package/dist/webcomponents/p-81a1be23.entry.js +1 -0
- package/dist/webcomponents/p-81d682ba.entry.js +1 -0
- package/dist/webcomponents/p-85681d97.entry.js +1 -0
- package/dist/webcomponents/p-88539215.entry.js +1 -0
- package/dist/webcomponents/p-896e4fb2.entry.js +1 -0
- package/dist/webcomponents/p-8bc32c27.entry.js +1 -0
- package/dist/webcomponents/p-8d4d2ac3.entry.js +1 -0
- package/dist/webcomponents/p-9349d32e.entry.js +1 -0
- package/dist/webcomponents/p-938e0dbc.entry.js +1 -0
- package/dist/webcomponents/p-94d81903.entry.js +1 -0
- package/dist/webcomponents/p-9767500b.entry.js +1 -0
- package/dist/webcomponents/p-9cf5ed80.entry.js +1 -0
- package/dist/webcomponents/p-AVaenhw9.js +1 -0
- package/dist/webcomponents/p-B2H14Naw.js +1 -0
- package/dist/webcomponents/p-B4iBNBBM.js +1 -0
- package/dist/webcomponents/p-BAXE_ZfF.js +1 -0
- package/dist/webcomponents/p-BBsCnePk.js +1 -0
- package/dist/webcomponents/p-BFTU3MAI.js +1 -0
- package/dist/webcomponents/p-BHbsXXRt.js +1 -0
- package/dist/webcomponents/p-BLdGqrQH.js +1 -0
- package/dist/webcomponents/p-BODr6HXb.js +1 -0
- package/dist/webcomponents/p-Bde7dY9t.js +9 -0
- package/dist/webcomponents/{p-1366a019.js → p-BjB_yKBJ.js} +1 -1
- package/dist/webcomponents/p-BoPxMyJA.js +1 -0
- package/dist/webcomponents/{p-5d1d2fd7.js → p-BrvbVMVq.js} +1 -1
- package/dist/webcomponents/p-BupmNfQ5.js +1 -0
- package/dist/webcomponents/p-BvWS8buZ.js +1 -0
- package/dist/webcomponents/{p-ca6cdfe6.js → p-BwgcVN7d.js} +1 -1
- package/dist/webcomponents/p-BxGoUIgN.js +1 -0
- package/dist/webcomponents/{p-3f5e6602.js → p-Bxs6fi7a.js} +1 -1
- package/dist/webcomponents/p-C3uv9u0l.js +1 -0
- package/dist/webcomponents/{p-87f8c596.js → p-C5RuuShs.js} +1 -1
- package/dist/webcomponents/p-CCN8wTYX.js +1 -0
- package/dist/webcomponents/p-CG9te8PM.js +1 -0
- package/dist/webcomponents/p-CGz3XHQc.js +1 -0
- package/dist/webcomponents/p-CRgzzPY4.js +1 -0
- package/dist/webcomponents/p-CZLIteZz.js +1 -0
- package/dist/webcomponents/p-C_9TcvwA.js +1 -0
- package/dist/webcomponents/p-CbZjB3qJ.js +1 -0
- package/dist/webcomponents/p-CfbB7agn.js +1 -0
- package/dist/webcomponents/{p-4cc3c7f9.js → p-CgS6VBEy.js} +1 -1
- package/dist/webcomponents/p-CpTwq2jw.js +1 -0
- package/dist/webcomponents/{p-61f0a2ce.js → p-Ct-uNz2r.js} +1 -1
- package/dist/webcomponents/p-Cy4aIACq.js +1 -0
- package/dist/webcomponents/p-D4-FKsCU.js +2 -0
- package/dist/webcomponents/{p-12074378.js → p-D5q9gEvl.js} +1 -1
- package/dist/webcomponents/p-D5wGYrfz.js +1 -0
- package/dist/webcomponents/{p-701a13ca.js → p-D6mhG0dV.js} +1 -1
- package/dist/webcomponents/p-DArbkdtn.js +1 -0
- package/dist/webcomponents/{p-a5579f53.js → p-DBfKxfCX.js} +1 -1
- package/dist/webcomponents/p-DEa8EbZW.js +1 -0
- package/dist/webcomponents/p-DGWLSvML.js +1 -0
- package/dist/webcomponents/p-DPC4A7AZ.js +1 -0
- package/dist/webcomponents/p-DVnVdicA.js +1 -0
- package/dist/webcomponents/p-DavDfnxI.js +1 -0
- package/dist/webcomponents/{p-70be104e.js → p-DgQyL5KO.js} +1 -1
- package/dist/webcomponents/p-DmBEzYCU.js +1 -0
- package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
- package/dist/webcomponents/p-EbYREopN.js +1 -0
- package/dist/webcomponents/{p-c9b78275.js → p-IA90llLO.js} +1 -1
- package/dist/webcomponents/p-NI7Keg2H.js +1 -0
- package/dist/webcomponents/{p-9dd8685c.js → p-SdntD1xf.js} +1 -1
- package/dist/webcomponents/p-XazJ9qLe.js +1 -0
- package/dist/webcomponents/p-Xql8Xhsx.js +1 -0
- package/dist/webcomponents/p-a4e7d24f.entry.js +1 -0
- package/dist/webcomponents/p-a78bf0f7.entry.js +1 -0
- package/dist/webcomponents/p-a83bf2c0.entry.js +1 -0
- package/dist/webcomponents/p-b15d6c77.entry.js +1 -0
- package/dist/webcomponents/p-b5dd55b1.entry.js +1 -0
- package/dist/webcomponents/p-b8096d2b.entry.js +1 -0
- package/dist/webcomponents/p-bbc56c17.entry.js +1 -0
- package/dist/webcomponents/p-bc3d56a7.entry.js +1 -0
- package/dist/webcomponents/p-bf83ba04.entry.js +1 -0
- package/dist/webcomponents/p-bplwtwD3.js +1 -0
- package/dist/webcomponents/p-c5b66da3.entry.js +1 -0
- package/dist/webcomponents/p-c7dc7184.entry.js +1 -0
- package/dist/webcomponents/p-cb8b91ea.entry.js +1 -0
- package/dist/webcomponents/p-d7ea4db7.entry.js +1 -0
- package/dist/webcomponents/p-dadb97e1.entry.js +1 -0
- package/dist/webcomponents/p-dafac427.entry.js +1 -0
- package/dist/webcomponents/p-dca205de.entry.js +1 -0
- package/dist/webcomponents/p-df3fb523.entry.js +1 -0
- package/dist/webcomponents/p-f-9W4QBD.js +1 -0
- package/dist/webcomponents/p-f604d6ea.entry.js +1 -0
- package/dist/webcomponents/p-ffbf35a4.entry.js +1 -0
- package/dist/webcomponents/{p-bfe9748b.js → p-lvlr3zXn.js} +1 -1
- package/dist/webcomponents/p-obi7kkCX.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +6 -7
- package/dist/cjs/Api-83d93333.js +0 -118
- package/dist/cjs/billing-form_3.cjs.entry.js +0 -1733
- package/dist/cjs/get-payout-csv-7607c71e.js +0 -49
- package/dist/cjs/index.esm-544c08fd.js +0 -2937
- package/dist/cjs/lodash-dbf6a6a4.js +0 -17206
- package/dist/cjs/package-5a9f02b2.js +0 -83
- package/dist/cjs/payment.service-537e049d.js +0 -23
- package/dist/cjs/terminals-list-params-state-236f06f6.js +0 -22
- package/dist/cjs/utils-4120664c.js +0 -4018
- package/dist/collection/components/checkout/billing-forms/billing-form/billing-form.js +0 -137
- package/dist/collection/components/checkout/billing-forms/billing-form-schema.js +0 -26
- package/dist/collection/components/checkout/billing-forms/billing-form-wrapper.js +0 -183
- package/dist/collection/components/checkout/billing-forms/postal-form/postal-form.js +0 -136
- package/dist/esm/Api-52242eb0.js +0 -116
- package/dist/esm/billing-form_3.entry.js +0 -1727
- package/dist/esm/get-payout-csv-fa34f40b.js +0 -46
- package/dist/esm/index.esm-feedf26f.js +0 -2931
- package/dist/esm/lodash-faeb5a52.js +0 -17204
- package/dist/esm/package-c8466624.js +0 -81
- package/dist/esm/payment.service-af5bd8be.js +0 -21
- package/dist/esm/terminals-list-params-state-e4b2ec23.js +0 -16
- package/dist/esm/utils-ec50661e.js +0 -4001
- package/dist/loader/package.json +0 -11
- package/dist/module/billing-form-schema.js +0 -16
- package/dist/module/billing-form-wrapper.js +0 -114
- package/dist/module/billing-form2.js +0 -90
- package/dist/module/justifi-billing-form-wrapper.d.ts +0 -11
- package/dist/module/justifi-billing-form-wrapper.js +0 -6
- package/dist/module/postal-form.d.ts +0 -11
- package/dist/module/postal-form.js +0 -6
- package/dist/module/postal-form2.js +0 -83
- package/dist/types/components/checkout/billing-forms/billing-form-wrapper.d.ts +0 -19
- package/dist/types/components/checkout/billing-forms/postal-form/postal-form.d.ts +0 -20
- package/dist/webcomponents/p-01033194.js +0 -1
- package/dist/webcomponents/p-04d6b37e.entry.js +0 -1
- package/dist/webcomponents/p-092515e0.js +0 -1
- package/dist/webcomponents/p-0b61d4d3.entry.js +0 -1
- package/dist/webcomponents/p-0c7ec110.entry.js +0 -1
- package/dist/webcomponents/p-0f0020e1.entry.js +0 -1
- package/dist/webcomponents/p-0fa216eb.entry.js +0 -1
- package/dist/webcomponents/p-1361d8eb.entry.js +0 -1
- package/dist/webcomponents/p-13717638.entry.js +0 -1
- package/dist/webcomponents/p-142bfae3.js +0 -1
- package/dist/webcomponents/p-1cfa5df9.entry.js +0 -1
- package/dist/webcomponents/p-1ff8810b.js +0 -1
- package/dist/webcomponents/p-2123c150.js +0 -1
- package/dist/webcomponents/p-21def20b.entry.js +0 -1
- package/dist/webcomponents/p-23cd76af.entry.js +0 -1
- package/dist/webcomponents/p-25b82529.entry.js +0 -1
- package/dist/webcomponents/p-27546fa9.entry.js +0 -1
- package/dist/webcomponents/p-275c3dc9.js +0 -1
- package/dist/webcomponents/p-2783e363.js +0 -2
- package/dist/webcomponents/p-290fa30d.entry.js +0 -1
- package/dist/webcomponents/p-2a9d7f6b.js +0 -1
- package/dist/webcomponents/p-2aad7e3b.entry.js +0 -1
- package/dist/webcomponents/p-2b8aaa7d.entry.js +0 -1
- package/dist/webcomponents/p-3075b7e1.entry.js +0 -1
- package/dist/webcomponents/p-31dcaeaf.entry.js +0 -1
- package/dist/webcomponents/p-35c296fc.entry.js +0 -1
- package/dist/webcomponents/p-373a19fe.entry.js +0 -1
- package/dist/webcomponents/p-375657fe.entry.js +0 -1
- package/dist/webcomponents/p-3cc7527a.entry.js +0 -1
- package/dist/webcomponents/p-3cf317d3.entry.js +0 -1
- package/dist/webcomponents/p-407d6d29.entry.js +0 -1
- package/dist/webcomponents/p-4451de8d.entry.js +0 -1
- package/dist/webcomponents/p-4f7432c3.entry.js +0 -1
- package/dist/webcomponents/p-536497fe.entry.js +0 -1
- package/dist/webcomponents/p-536fb8e2.js +0 -1
- package/dist/webcomponents/p-537bce77.js +0 -1
- package/dist/webcomponents/p-54556fc6.js +0 -1
- package/dist/webcomponents/p-56c7fc8d.js +0 -1
- package/dist/webcomponents/p-58ee6ce9.js +0 -1
- package/dist/webcomponents/p-5a541d35.js +0 -1
- package/dist/webcomponents/p-5a9d7ca0.entry.js +0 -1
- package/dist/webcomponents/p-5b76dbe1.entry.js +0 -1
- package/dist/webcomponents/p-5f6b4bc9.js +0 -1
- package/dist/webcomponents/p-645db2cb.entry.js +0 -1
- package/dist/webcomponents/p-673c1bca.js +0 -1
- package/dist/webcomponents/p-753d983c.entry.js +0 -1
- package/dist/webcomponents/p-76549a24.js +0 -1
- package/dist/webcomponents/p-7d85af5c.js +0 -1
- package/dist/webcomponents/p-7e8732f7.entry.js +0 -1
- package/dist/webcomponents/p-81a6c3e2.entry.js +0 -1
- package/dist/webcomponents/p-829480e7.entry.js +0 -1
- package/dist/webcomponents/p-86605101.js +0 -1
- package/dist/webcomponents/p-87a4fb5b.js +0 -1
- package/dist/webcomponents/p-927cb6df.js +0 -1
- package/dist/webcomponents/p-94e4f1f1.entry.js +0 -1
- package/dist/webcomponents/p-96c23cda.entry.js +0 -1
- package/dist/webcomponents/p-9a9732e1.js +0 -1
- package/dist/webcomponents/p-9fecad5a.js +0 -1
- package/dist/webcomponents/p-a3cced75.entry.js +0 -1
- package/dist/webcomponents/p-a5f5cc2e.entry.js +0 -1
- package/dist/webcomponents/p-a8c69f51.entry.js +0 -1
- package/dist/webcomponents/p-ab45511e.js +0 -1
- package/dist/webcomponents/p-ad713ab6.entry.js +0 -1
- package/dist/webcomponents/p-adecb91a.entry.js +0 -1
- package/dist/webcomponents/p-ae7edce5.js +0 -1
- package/dist/webcomponents/p-ae891abb.entry.js +0 -1
- package/dist/webcomponents/p-af3315b5.entry.js +0 -1
- package/dist/webcomponents/p-b218af87.entry.js +0 -1
- package/dist/webcomponents/p-b50ca848.entry.js +0 -1
- package/dist/webcomponents/p-b84ee6d8.js +0 -1
- package/dist/webcomponents/p-b8664571.entry.js +0 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +0 -1
- package/dist/webcomponents/p-beec0b60.js +0 -1
- package/dist/webcomponents/p-bf12999f.js +0 -1
- package/dist/webcomponents/p-bf195b35.js +0 -1
- package/dist/webcomponents/p-bfc2d88a.js +0 -1
- package/dist/webcomponents/p-c6be72b0.js +0 -10
- package/dist/webcomponents/p-c8b78136.js +0 -1
- package/dist/webcomponents/p-cbad44b7.js +0 -1
- package/dist/webcomponents/p-cc2f75a3.entry.js +0 -1
- package/dist/webcomponents/p-ccb9ee53.js +0 -1
- package/dist/webcomponents/p-cd93c62b.entry.js +0 -19
- package/dist/webcomponents/p-d757fcf5.js +0 -1
- package/dist/webcomponents/p-dbc1a95b.js +0 -1
- package/dist/webcomponents/p-dd2938d3.entry.js +0 -1
- package/dist/webcomponents/p-de03d0f8.js +0 -1
- package/dist/webcomponents/p-dec18cc4.js +0 -1
- package/dist/webcomponents/p-e1ae5e80.entry.js +0 -1
- package/dist/webcomponents/p-e3855f51.entry.js +0 -1
- package/dist/webcomponents/p-e73be1b9.entry.js +0 -1
- package/dist/webcomponents/p-e9867f8b.entry.js +0 -1
- package/dist/webcomponents/p-ef1db3da.entry.js +0 -1
- package/dist/webcomponents/p-f13b2991.entry.js +0 -1
- package/dist/webcomponents/p-f20466f7.entry.js +0 -1
- package/dist/webcomponents/p-f20b6ce1.js +0 -1
- package/dist/webcomponents/p-f4739d31.js +0 -1
- package/dist/webcomponents/p-f4aeb100.js +0 -1
- package/dist/webcomponents/p-f8fccf44.js +0 -1
- package/dist/webcomponents/p-f930504f.entry.js +0 -1
- package/dist/webcomponents/p-faa35b47.entry.js +0 -1
- package/dist/webcomponents/p-fb2db8da.entry.js +0 -1
- package/dist/webcomponents/p-fca89e9b.entry.js +0 -1
- /package/dist/cjs/{Dispute-eb6bad54.js → Dispute-CruQTF6_.js} +0 -0
- /package/dist/cjs/{Document-0b828345.js → Document-rXGBUaOh.js} +0 -0
- /package/dist/cjs/{Pagination-0da8f095.js → Pagination-Dediz133.js} +0 -0
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/cjs/{event-types-8edaabbb.js → event-types-BWQT2lwu.js} +0 -0
- /package/dist/cjs/{event-types-180a85a9.js → event-types-DNOUef41.js} +0 -0
- /package/dist/cjs/{form-input-masks-0879c139.js → form-input-masks-DgXd0f4V.js} +0 -0
- /package/dist/cjs/{state-options-4fbcb48a.js → state-options-CIT9xdTz.js} +0 -0
- /package/dist/cjs/{utils-bc03ca40.js → utils-DAyWinG2.js} +0 -0
- /package/dist/esm/{Dispute-5fd28ec9.js → Dispute-7MWRbTXI.js} +0 -0
- /package/dist/esm/{Pagination-afc8f96d.js → Pagination-CLHwhyvu.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/esm/{event-types-07cdb9a0.js → event-types-Bg2SZArf.js} +0 -0
- /package/dist/esm/{event-types-5c87de02.js → event-types-XYgDHrVL.js} +0 -0
- /package/dist/esm/{form-input-masks-0e18300f.js → form-input-masks-B-iV5cYd.js} +0 -0
- /package/dist/esm/{state-options-a356fb11.js → state-options-BX8GieXu.js} +0 -0
- /package/dist/esm/{utils-20cdf321.js → utils-BnjCmwMr.js} +0 -0
- /package/dist/webcomponents/{p-abdbcd8e.js → p-7MWRbTXI.js} +0 -0
- /package/dist/webcomponents/{p-525db3e8.js → p-B-iV5cYd.js} +0 -0
- /package/dist/webcomponents/{p-6078a370.js → p-BX8GieXu.js} +0 -0
- /package/dist/webcomponents/{p-667ebd79.js → p-Bg2SZArf.js} +0 -0
- /package/dist/webcomponents/{p-e3c22aa9.js → p-BnjCmwMr.js} +0 -0
- /package/dist/webcomponents/{p-56f6ce4c.js → p-CLHwhyvu.js} +0 -0
- /package/dist/webcomponents/{p-1ad5995e.js → p-Ce_F4E0f.js} +0 -0
- /package/dist/webcomponents/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
- /package/dist/webcomponents/{p-73f9be7c.js → p-XYgDHrVL.js} +0 -0
|
@@ -3,6 +3,7 @@ import { FormControlErrorText } from "../../ui-components";
|
|
|
3
3
|
import { input, inputDisabled, inputFocused, inputInvalid, label } from "../../styles/parts";
|
|
4
4
|
export class TextInput {
|
|
5
5
|
constructor() {
|
|
6
|
+
this.isFocused = false;
|
|
6
7
|
this.handleFormControlInput = (event) => {
|
|
7
8
|
const target = event.target;
|
|
8
9
|
const name = target.getAttribute('name');
|
|
@@ -15,16 +16,6 @@ export class TextInput {
|
|
|
15
16
|
inputElement.value = newValue || '';
|
|
16
17
|
}
|
|
17
18
|
};
|
|
18
|
-
this.isFocused = false;
|
|
19
|
-
this.name = undefined;
|
|
20
|
-
this.label = undefined;
|
|
21
|
-
this.inputHandler = undefined;
|
|
22
|
-
this.defaultValue = undefined;
|
|
23
|
-
this.helpText = undefined;
|
|
24
|
-
this.errorText = undefined;
|
|
25
|
-
this.maxLength = undefined;
|
|
26
|
-
this.keyDownHandler = undefined;
|
|
27
|
-
this.disabled = undefined;
|
|
28
19
|
}
|
|
29
20
|
handleDefaultValueChange(newValue) {
|
|
30
21
|
this.updateInput(newValue);
|
|
@@ -45,16 +36,17 @@ export class TextInput {
|
|
|
45
36
|
return input;
|
|
46
37
|
}
|
|
47
38
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '1b48bf6cbd4ef2b115c7d070310a625f1dfbe814' }, h("div", { key: '2c814160dc94ba70d0a75551ba5c95ba90a011e4', class: "form-group d-flex flex-column" }, h("div", { key: '3d40c1b9f590b2275f43fb16fa4c6d0986760f9a', class: "d-flex align-items-start gap-2" }, h("label", { key: '51ec736c062308443301decbc8c58a4912a55264', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '1266b937707fbf83666c61ce6fca593f02d45b18', helpText: this.helpText })), h("input", { key: 'd70668313e3240e998b9c890ef7ab2fb47cb3552', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
49
40
|
this.isFocused = false;
|
|
50
41
|
this.formControlBlur.emit();
|
|
51
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
42
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: 'e7b268ed1c6c638b319f01b9a211d5bbc930d2ef', errorText: this.errorText, name: this.name }))));
|
|
52
43
|
}
|
|
53
44
|
static get is() { return "form-control-text"; }
|
|
54
45
|
static get properties() {
|
|
55
46
|
return {
|
|
56
47
|
"name": {
|
|
57
48
|
"type": "any",
|
|
49
|
+
"attribute": "name",
|
|
58
50
|
"mutable": false,
|
|
59
51
|
"complexType": {
|
|
60
52
|
"original": "any",
|
|
@@ -67,11 +59,13 @@ export class TextInput {
|
|
|
67
59
|
"tags": [],
|
|
68
60
|
"text": ""
|
|
69
61
|
},
|
|
70
|
-
"
|
|
62
|
+
"getter": false,
|
|
63
|
+
"setter": false,
|
|
71
64
|
"reflect": false
|
|
72
65
|
},
|
|
73
66
|
"label": {
|
|
74
67
|
"type": "string",
|
|
68
|
+
"attribute": "label",
|
|
75
69
|
"mutable": false,
|
|
76
70
|
"complexType": {
|
|
77
71
|
"original": "string",
|
|
@@ -84,11 +78,13 @@ export class TextInput {
|
|
|
84
78
|
"tags": [],
|
|
85
79
|
"text": ""
|
|
86
80
|
},
|
|
87
|
-
"
|
|
81
|
+
"getter": false,
|
|
82
|
+
"setter": false,
|
|
88
83
|
"reflect": false
|
|
89
84
|
},
|
|
90
85
|
"inputHandler": {
|
|
91
86
|
"type": "unknown",
|
|
87
|
+
"attribute": "input-handler",
|
|
92
88
|
"mutable": false,
|
|
93
89
|
"complexType": {
|
|
94
90
|
"original": "(name: string, value: string) => void",
|
|
@@ -100,10 +96,13 @@ export class TextInput {
|
|
|
100
96
|
"docs": {
|
|
101
97
|
"tags": [],
|
|
102
98
|
"text": ""
|
|
103
|
-
}
|
|
99
|
+
},
|
|
100
|
+
"getter": false,
|
|
101
|
+
"setter": false
|
|
104
102
|
},
|
|
105
103
|
"defaultValue": {
|
|
106
104
|
"type": "string",
|
|
105
|
+
"attribute": "default-value",
|
|
107
106
|
"mutable": false,
|
|
108
107
|
"complexType": {
|
|
109
108
|
"original": "string",
|
|
@@ -116,11 +115,13 @@ export class TextInput {
|
|
|
116
115
|
"tags": [],
|
|
117
116
|
"text": ""
|
|
118
117
|
},
|
|
119
|
-
"
|
|
118
|
+
"getter": false,
|
|
119
|
+
"setter": false,
|
|
120
120
|
"reflect": false
|
|
121
121
|
},
|
|
122
122
|
"helpText": {
|
|
123
123
|
"type": "string",
|
|
124
|
+
"attribute": "help-text",
|
|
124
125
|
"mutable": false,
|
|
125
126
|
"complexType": {
|
|
126
127
|
"original": "string",
|
|
@@ -133,11 +134,13 @@ export class TextInput {
|
|
|
133
134
|
"tags": [],
|
|
134
135
|
"text": ""
|
|
135
136
|
},
|
|
136
|
-
"
|
|
137
|
+
"getter": false,
|
|
138
|
+
"setter": false,
|
|
137
139
|
"reflect": false
|
|
138
140
|
},
|
|
139
141
|
"errorText": {
|
|
140
142
|
"type": "string",
|
|
143
|
+
"attribute": "error-text",
|
|
141
144
|
"mutable": false,
|
|
142
145
|
"complexType": {
|
|
143
146
|
"original": "string",
|
|
@@ -150,11 +153,13 @@ export class TextInput {
|
|
|
150
153
|
"tags": [],
|
|
151
154
|
"text": ""
|
|
152
155
|
},
|
|
153
|
-
"
|
|
156
|
+
"getter": false,
|
|
157
|
+
"setter": false,
|
|
154
158
|
"reflect": false
|
|
155
159
|
},
|
|
156
160
|
"maxLength": {
|
|
157
161
|
"type": "number",
|
|
162
|
+
"attribute": "max-length",
|
|
158
163
|
"mutable": false,
|
|
159
164
|
"complexType": {
|
|
160
165
|
"original": "number",
|
|
@@ -167,11 +172,13 @@ export class TextInput {
|
|
|
167
172
|
"tags": [],
|
|
168
173
|
"text": ""
|
|
169
174
|
},
|
|
170
|
-
"
|
|
175
|
+
"getter": false,
|
|
176
|
+
"setter": false,
|
|
171
177
|
"reflect": false
|
|
172
178
|
},
|
|
173
179
|
"keyDownHandler": {
|
|
174
180
|
"type": "unknown",
|
|
181
|
+
"attribute": "key-down-handler",
|
|
175
182
|
"mutable": false,
|
|
176
183
|
"complexType": {
|
|
177
184
|
"original": "(event: any) => void",
|
|
@@ -183,10 +190,13 @@ export class TextInput {
|
|
|
183
190
|
"docs": {
|
|
184
191
|
"tags": [],
|
|
185
192
|
"text": ""
|
|
186
|
-
}
|
|
193
|
+
},
|
|
194
|
+
"getter": false,
|
|
195
|
+
"setter": false
|
|
187
196
|
},
|
|
188
197
|
"disabled": {
|
|
189
198
|
"type": "boolean",
|
|
199
|
+
"attribute": "disabled",
|
|
190
200
|
"mutable": false,
|
|
191
201
|
"complexType": {
|
|
192
202
|
"original": "boolean",
|
|
@@ -199,7 +209,8 @@ export class TextInput {
|
|
|
199
209
|
"tags": [],
|
|
200
210
|
"text": ""
|
|
201
211
|
},
|
|
202
|
-
"
|
|
212
|
+
"getter": false,
|
|
213
|
+
"setter": false,
|
|
203
214
|
"reflect": false
|
|
204
215
|
}
|
|
205
216
|
};
|
|
@@ -2,6 +2,7 @@ import { Host, h, } from "@stencil/core";
|
|
|
2
2
|
import { input, inputDisabled, inputFocused, inputInvalid, inputInvalidAndFocused, label } from "../../styles/parts";
|
|
3
3
|
export class TextInput {
|
|
4
4
|
constructor() {
|
|
5
|
+
this.isFocused = false;
|
|
5
6
|
this.handleFormControlInput = (event) => {
|
|
6
7
|
const target = event.target;
|
|
7
8
|
const name = target.getAttribute('name');
|
|
@@ -14,16 +15,6 @@ export class TextInput {
|
|
|
14
15
|
inputElement.value = newValue || '';
|
|
15
16
|
}
|
|
16
17
|
};
|
|
17
|
-
this.isFocused = false;
|
|
18
|
-
this.label = undefined;
|
|
19
|
-
this.name = undefined;
|
|
20
|
-
this.helpText = undefined;
|
|
21
|
-
this.errorText = undefined;
|
|
22
|
-
this.defaultValue = undefined;
|
|
23
|
-
this.maxLength = undefined;
|
|
24
|
-
this.inputHandler = undefined;
|
|
25
|
-
this.keyDownHandler = undefined;
|
|
26
|
-
this.disabled = undefined;
|
|
27
18
|
}
|
|
28
19
|
handleDefaultValueChange(newValue) {
|
|
29
20
|
this.updateInput(newValue);
|
|
@@ -47,16 +38,17 @@ export class TextInput {
|
|
|
47
38
|
return input;
|
|
48
39
|
}
|
|
49
40
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '8036cca60e80d20316c602a4b4e975fdaf216878' }, h("div", { key: '400a24d0fdd5305f033428c7e3d4fd1d70e1a6c2', class: "form-group d-flex flex-column" }, h("label", { key: '8a501e7d0610489e6825a610f6203ced59e87a83', part: label, class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: 'd360db0694aa4181b1e158909897f2ffcc3be962', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
51
42
|
this.isFocused = false;
|
|
52
43
|
this.formControlBlur.emit();
|
|
53
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '
|
|
44
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '6b1941ef4a7a6b2f97c1d24c4047a4ddf0df4006', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '5dbfb0d0b25ea1e1af7ad7d034853467962c1bf3', errorText: this.errorText, name: this.name }))));
|
|
54
45
|
}
|
|
55
46
|
static get is() { return "form-control-textarea"; }
|
|
56
47
|
static get properties() {
|
|
57
48
|
return {
|
|
58
49
|
"label": {
|
|
59
50
|
"type": "string",
|
|
51
|
+
"attribute": "label",
|
|
60
52
|
"mutable": false,
|
|
61
53
|
"complexType": {
|
|
62
54
|
"original": "string",
|
|
@@ -69,11 +61,13 @@ export class TextInput {
|
|
|
69
61
|
"tags": [],
|
|
70
62
|
"text": ""
|
|
71
63
|
},
|
|
72
|
-
"
|
|
64
|
+
"getter": false,
|
|
65
|
+
"setter": false,
|
|
73
66
|
"reflect": false
|
|
74
67
|
},
|
|
75
68
|
"name": {
|
|
76
69
|
"type": "any",
|
|
70
|
+
"attribute": "name",
|
|
77
71
|
"mutable": false,
|
|
78
72
|
"complexType": {
|
|
79
73
|
"original": "any",
|
|
@@ -86,11 +80,13 @@ export class TextInput {
|
|
|
86
80
|
"tags": [],
|
|
87
81
|
"text": ""
|
|
88
82
|
},
|
|
89
|
-
"
|
|
83
|
+
"getter": false,
|
|
84
|
+
"setter": false,
|
|
90
85
|
"reflect": false
|
|
91
86
|
},
|
|
92
87
|
"helpText": {
|
|
93
88
|
"type": "string",
|
|
89
|
+
"attribute": "help-text",
|
|
94
90
|
"mutable": false,
|
|
95
91
|
"complexType": {
|
|
96
92
|
"original": "string",
|
|
@@ -103,11 +99,13 @@ export class TextInput {
|
|
|
103
99
|
"tags": [],
|
|
104
100
|
"text": ""
|
|
105
101
|
},
|
|
106
|
-
"
|
|
102
|
+
"getter": false,
|
|
103
|
+
"setter": false,
|
|
107
104
|
"reflect": false
|
|
108
105
|
},
|
|
109
106
|
"errorText": {
|
|
110
107
|
"type": "string",
|
|
108
|
+
"attribute": "error-text",
|
|
111
109
|
"mutable": false,
|
|
112
110
|
"complexType": {
|
|
113
111
|
"original": "string",
|
|
@@ -120,11 +118,13 @@ export class TextInput {
|
|
|
120
118
|
"tags": [],
|
|
121
119
|
"text": ""
|
|
122
120
|
},
|
|
123
|
-
"
|
|
121
|
+
"getter": false,
|
|
122
|
+
"setter": false,
|
|
124
123
|
"reflect": false
|
|
125
124
|
},
|
|
126
125
|
"defaultValue": {
|
|
127
126
|
"type": "string",
|
|
127
|
+
"attribute": "default-value",
|
|
128
128
|
"mutable": false,
|
|
129
129
|
"complexType": {
|
|
130
130
|
"original": "string",
|
|
@@ -137,11 +137,13 @@ export class TextInput {
|
|
|
137
137
|
"tags": [],
|
|
138
138
|
"text": ""
|
|
139
139
|
},
|
|
140
|
-
"
|
|
140
|
+
"getter": false,
|
|
141
|
+
"setter": false,
|
|
141
142
|
"reflect": false
|
|
142
143
|
},
|
|
143
144
|
"maxLength": {
|
|
144
145
|
"type": "number",
|
|
146
|
+
"attribute": "max-length",
|
|
145
147
|
"mutable": false,
|
|
146
148
|
"complexType": {
|
|
147
149
|
"original": "number",
|
|
@@ -154,11 +156,13 @@ export class TextInput {
|
|
|
154
156
|
"tags": [],
|
|
155
157
|
"text": ""
|
|
156
158
|
},
|
|
157
|
-
"
|
|
159
|
+
"getter": false,
|
|
160
|
+
"setter": false,
|
|
158
161
|
"reflect": false
|
|
159
162
|
},
|
|
160
163
|
"inputHandler": {
|
|
161
164
|
"type": "unknown",
|
|
165
|
+
"attribute": "input-handler",
|
|
162
166
|
"mutable": false,
|
|
163
167
|
"complexType": {
|
|
164
168
|
"original": "(name: string, value: string) => void",
|
|
@@ -170,10 +174,13 @@ export class TextInput {
|
|
|
170
174
|
"docs": {
|
|
171
175
|
"tags": [],
|
|
172
176
|
"text": ""
|
|
173
|
-
}
|
|
177
|
+
},
|
|
178
|
+
"getter": false,
|
|
179
|
+
"setter": false
|
|
174
180
|
},
|
|
175
181
|
"keyDownHandler": {
|
|
176
182
|
"type": "unknown",
|
|
183
|
+
"attribute": "key-down-handler",
|
|
177
184
|
"mutable": false,
|
|
178
185
|
"complexType": {
|
|
179
186
|
"original": "(event: any) => void",
|
|
@@ -185,10 +192,13 @@ export class TextInput {
|
|
|
185
192
|
"docs": {
|
|
186
193
|
"tags": [],
|
|
187
194
|
"text": ""
|
|
188
|
-
}
|
|
195
|
+
},
|
|
196
|
+
"getter": false,
|
|
197
|
+
"setter": false
|
|
189
198
|
},
|
|
190
199
|
"disabled": {
|
|
191
200
|
"type": "boolean",
|
|
201
|
+
"attribute": "disabled",
|
|
192
202
|
"mutable": false,
|
|
193
203
|
"complexType": {
|
|
194
204
|
"original": "boolean",
|
|
@@ -201,7 +211,8 @@ export class TextInput {
|
|
|
201
211
|
"tags": [],
|
|
202
212
|
"text": ""
|
|
203
213
|
},
|
|
204
|
-
"
|
|
214
|
+
"getter": false,
|
|
215
|
+
"setter": false,
|
|
205
216
|
"reflect": false
|
|
206
217
|
}
|
|
207
218
|
};
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { alertDanger } from "../../../../styles/parts";
|
|
3
3
|
export class FormAlert {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.text = undefined;
|
|
6
|
-
this.hideAlert = undefined;
|
|
7
|
-
}
|
|
8
4
|
render() {
|
|
9
5
|
if (!this.text) {
|
|
10
6
|
return null;
|
|
@@ -19,6 +15,7 @@ export class FormAlert {
|
|
|
19
15
|
return {
|
|
20
16
|
"text": {
|
|
21
17
|
"type": "string",
|
|
18
|
+
"attribute": "text",
|
|
22
19
|
"mutable": false,
|
|
23
20
|
"complexType": {
|
|
24
21
|
"original": "string",
|
|
@@ -31,11 +28,13 @@ export class FormAlert {
|
|
|
31
28
|
"tags": [],
|
|
32
29
|
"text": ""
|
|
33
30
|
},
|
|
34
|
-
"
|
|
31
|
+
"getter": false,
|
|
32
|
+
"setter": false,
|
|
35
33
|
"reflect": false
|
|
36
34
|
},
|
|
37
35
|
"hideAlert": {
|
|
38
36
|
"type": "boolean",
|
|
37
|
+
"attribute": "hide-alert",
|
|
39
38
|
"mutable": false,
|
|
40
39
|
"complexType": {
|
|
41
40
|
"original": "boolean",
|
|
@@ -48,7 +47,8 @@ export class FormAlert {
|
|
|
48
47
|
"tags": [],
|
|
49
48
|
"text": ""
|
|
50
49
|
},
|
|
51
|
-
"
|
|
50
|
+
"getter": false,
|
|
51
|
+
"setter": false,
|
|
52
52
|
"reflect": false
|
|
53
53
|
}
|
|
54
54
|
};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class FormControlHelpText {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.helpText = undefined;
|
|
5
|
-
this.name = undefined;
|
|
6
|
-
}
|
|
7
3
|
render() {
|
|
8
4
|
if (!this.helpText) {
|
|
9
5
|
return null;
|
|
@@ -15,6 +11,7 @@ export class FormControlHelpText {
|
|
|
15
11
|
return {
|
|
16
12
|
"helpText": {
|
|
17
13
|
"type": "string",
|
|
14
|
+
"attribute": "help-text",
|
|
18
15
|
"mutable": false,
|
|
19
16
|
"complexType": {
|
|
20
17
|
"original": "string",
|
|
@@ -27,11 +24,13 @@ export class FormControlHelpText {
|
|
|
27
24
|
"tags": [],
|
|
28
25
|
"text": ""
|
|
29
26
|
},
|
|
30
|
-
"
|
|
27
|
+
"getter": false,
|
|
28
|
+
"setter": false,
|
|
31
29
|
"reflect": false
|
|
32
30
|
},
|
|
33
31
|
"name": {
|
|
34
32
|
"type": "string",
|
|
33
|
+
"attribute": "name",
|
|
35
34
|
"mutable": false,
|
|
36
35
|
"complexType": {
|
|
37
36
|
"original": "string",
|
|
@@ -44,7 +43,8 @@ export class FormControlHelpText {
|
|
|
44
43
|
"tags": [],
|
|
45
44
|
"text": ""
|
|
46
45
|
},
|
|
47
|
-
"
|
|
46
|
+
"getter": false,
|
|
47
|
+
"setter": false,
|
|
48
48
|
"reflect": false
|
|
49
49
|
}
|
|
50
50
|
};
|
package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { tooltip, tooltipIcon, tooltipInner } from "../../../../styles/parts";
|
|
3
3
|
export class TooltipComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.anchorIcon = undefined;
|
|
6
|
-
this.tooltip = undefined;
|
|
7
|
-
this.helpText = undefined;
|
|
8
|
-
}
|
|
9
4
|
show() {
|
|
10
5
|
this.tooltip.classList.add('show');
|
|
11
6
|
}
|
|
@@ -23,6 +18,7 @@ export class TooltipComponent {
|
|
|
23
18
|
return {
|
|
24
19
|
"helpText": {
|
|
25
20
|
"type": "string",
|
|
21
|
+
"attribute": "help-text",
|
|
26
22
|
"mutable": false,
|
|
27
23
|
"complexType": {
|
|
28
24
|
"original": "string",
|
|
@@ -35,7 +31,8 @@ export class TooltipComponent {
|
|
|
35
31
|
"tags": [],
|
|
36
32
|
"text": ""
|
|
37
33
|
},
|
|
38
|
-
"
|
|
34
|
+
"getter": false,
|
|
35
|
+
"setter": false,
|
|
39
36
|
"reflect": false
|
|
40
37
|
}
|
|
41
38
|
};
|
|
@@ -73,7 +73,7 @@ export class HiddenInput {
|
|
|
73
73
|
return input;
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '170a3d6232e5ecee555da05387d127b56b07f7df' }, h("input", { key: '8acef653371ebbe45c624f8ea233b9c9c6c40714', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "hidden-input"; }
|
|
79
79
|
static get states() {
|
|
@@ -8,6 +8,8 @@ import { MessageEventType } from "../../components/checkout/message-event-types"
|
|
|
8
8
|
import { input, inputFocused, inputInvalid, inputInvalidAndFocused, label } from "../../styles/parts";
|
|
9
9
|
export class IframeInput {
|
|
10
10
|
constructor() {
|
|
11
|
+
this.isFocused = false;
|
|
12
|
+
this.isValid = true;
|
|
11
13
|
this.dispatchMessageEvent = (event) => {
|
|
12
14
|
const { eventType, data } = event.data;
|
|
13
15
|
if ((data === null || data === void 0 ? void 0 : data.id) !== this.inputId) {
|
|
@@ -20,12 +22,6 @@ export class IframeInput {
|
|
|
20
22
|
this.isFocused = false;
|
|
21
23
|
}
|
|
22
24
|
};
|
|
23
|
-
this.isFocused = false;
|
|
24
|
-
this.isValid = true;
|
|
25
|
-
this.errorText = undefined;
|
|
26
|
-
this.inputId = undefined;
|
|
27
|
-
this.label = undefined;
|
|
28
|
-
this.iframeOrigin = undefined;
|
|
29
25
|
}
|
|
30
26
|
disconnectedCallback() {
|
|
31
27
|
this.frameService.removeMessageListener(this.dispatchMessageEvent);
|
|
@@ -81,10 +77,10 @@ export class IframeInput {
|
|
|
81
77
|
return params;
|
|
82
78
|
}
|
|
83
79
|
render() {
|
|
84
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: 'a5f275ef30181f08abf56b7d7967cb8fe8062890', class: "form-group d-flex flex-column" }, h("div", { key: 'b3c1f25b51b2780008a976545722b8ecc570bc36', style: {
|
|
85
81
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
86
82
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
87
|
-
} }, h("label", { key: '
|
|
83
|
+
} }, h("label", { key: '6df0b61a71bfe35981bd91f14a28e55d85fc3d43', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: '759f070e743795d9e92ee10389157cc8946aba51', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, h("iframe", { key: 'def8ba2e7721262374e8ff101edc4b495ecad24a', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
88
84
|
this.iframeElement = el;
|
|
89
85
|
this.initializeFrameCommunicationService();
|
|
90
86
|
}, width: "100%", onLoad: () => {
|
|
@@ -94,13 +90,14 @@ export class IframeInput {
|
|
|
94
90
|
this.iframeLoaded.emit();
|
|
95
91
|
}
|
|
96
92
|
}, this.iframeElement);
|
|
97
|
-
} })), h(FormControlErrorText, { key: '
|
|
93
|
+
} })), h(FormControlErrorText, { key: '4d4203df343a2b0c0f4b9fcbfd841d30d5939612', errorText: this.errorText, name: this.inputId }))));
|
|
98
94
|
}
|
|
99
95
|
static get is() { return "iframe-input"; }
|
|
100
96
|
static get properties() {
|
|
101
97
|
return {
|
|
102
98
|
"inputId": {
|
|
103
99
|
"type": "string",
|
|
100
|
+
"attribute": "input-id",
|
|
104
101
|
"mutable": false,
|
|
105
102
|
"complexType": {
|
|
106
103
|
"original": "string",
|
|
@@ -113,11 +110,13 @@ export class IframeInput {
|
|
|
113
110
|
"tags": [],
|
|
114
111
|
"text": ""
|
|
115
112
|
},
|
|
116
|
-
"
|
|
113
|
+
"getter": false,
|
|
114
|
+
"setter": false,
|
|
117
115
|
"reflect": false
|
|
118
116
|
},
|
|
119
117
|
"label": {
|
|
120
118
|
"type": "string",
|
|
119
|
+
"attribute": "label",
|
|
121
120
|
"mutable": false,
|
|
122
121
|
"complexType": {
|
|
123
122
|
"original": "string",
|
|
@@ -130,11 +129,13 @@ export class IframeInput {
|
|
|
130
129
|
"tags": [],
|
|
131
130
|
"text": ""
|
|
132
131
|
},
|
|
133
|
-
"
|
|
132
|
+
"getter": false,
|
|
133
|
+
"setter": false,
|
|
134
134
|
"reflect": false
|
|
135
135
|
},
|
|
136
136
|
"iframeOrigin": {
|
|
137
137
|
"type": "string",
|
|
138
|
+
"attribute": "iframe-origin",
|
|
138
139
|
"mutable": false,
|
|
139
140
|
"complexType": {
|
|
140
141
|
"original": "string",
|
|
@@ -147,7 +148,8 @@ export class IframeInput {
|
|
|
147
148
|
"tags": [],
|
|
148
149
|
"text": ""
|
|
149
150
|
},
|
|
150
|
-
"
|
|
151
|
+
"getter": false,
|
|
152
|
+
"setter": false,
|
|
151
153
|
"reflect": false
|
|
152
154
|
}
|
|
153
155
|
};
|
|
@@ -20,6 +20,7 @@ export class PaginationMenu {
|
|
|
20
20
|
return {
|
|
21
21
|
"paging": {
|
|
22
22
|
"type": "unknown",
|
|
23
|
+
"attribute": "paging",
|
|
23
24
|
"mutable": false,
|
|
24
25
|
"complexType": {
|
|
25
26
|
"original": "PaginationProps['paging']",
|
|
@@ -38,10 +39,13 @@ export class PaginationMenu {
|
|
|
38
39
|
"tags": [],
|
|
39
40
|
"text": ""
|
|
40
41
|
},
|
|
42
|
+
"getter": false,
|
|
43
|
+
"setter": false,
|
|
41
44
|
"defaultValue": "ExtendedPagingDefaults"
|
|
42
45
|
},
|
|
43
46
|
"params": {
|
|
44
47
|
"type": "unknown",
|
|
48
|
+
"attribute": "params",
|
|
45
49
|
"mutable": false,
|
|
46
50
|
"complexType": {
|
|
47
51
|
"original": "PaginationProps['params']",
|
|
@@ -60,6 +64,8 @@ export class PaginationMenu {
|
|
|
60
64
|
"tags": [],
|
|
61
65
|
"text": ""
|
|
62
66
|
},
|
|
67
|
+
"getter": false,
|
|
68
|
+
"setter": false,
|
|
63
69
|
"defaultValue": "{}"
|
|
64
70
|
}
|
|
65
71
|
};
|
|
@@ -166,3 +166,11 @@ export function formatPhoneNumber(number) {
|
|
|
166
166
|
let formatted = cleaned.replace(/(\d{3})(\d{3})(\d{4})/, '($1) $2-$3');
|
|
167
167
|
return formatted;
|
|
168
168
|
}
|
|
169
|
+
export function generateId(length = 10) {
|
|
170
|
+
const chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
|
|
171
|
+
let result = '';
|
|
172
|
+
for (let i = 0; i < length; i++) {
|
|
173
|
+
result += chars.charAt(Math.floor(Math.random() * chars.length));
|
|
174
|
+
}
|
|
175
|
+
return result;
|
|
176
|
+
}
|
package/dist/docs.d.ts
CHANGED
|
@@ -316,6 +316,14 @@ export interface JsonDocsProp {
|
|
|
316
316
|
* ```
|
|
317
317
|
*/
|
|
318
318
|
required: boolean;
|
|
319
|
+
/**
|
|
320
|
+
* `true` if the prop has a `get()`. `false` otherwise
|
|
321
|
+
*/
|
|
322
|
+
getter: boolean;
|
|
323
|
+
/**
|
|
324
|
+
* `true` if the prop has a `set()`. `false` otherwise
|
|
325
|
+
*/
|
|
326
|
+
setter: boolean;
|
|
319
327
|
}
|
|
320
328
|
export interface JsonDocsMethod {
|
|
321
329
|
name: string;
|