@justifi/webcomponents 5.4.0 → 5.4.2
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/{Checkout-eef27045.js → Checkout-5352009d.js} +1 -1
- package/dist/cjs/{Payment-c47ed1e1.js → Payment-bccd8f7d.js} +1 -1
- package/dist/cjs/{SubAccount-9babbfd3.js → SubAccount-06f9030b.js} +4 -2
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-591df67f.js → badge-364e6311.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -11
- package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -16
- package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
- package/dist/cjs/{business-additional-questions-schema-5c100f58.js → business-additional-questions-schema-8568cb79.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-identity-schema-3b4d16f1.js → business-identity-schema-518ab6eb.js} +2 -2
- package/dist/cjs/{business.service-27f67b29.js → business.service-6e8a29a2.js} +2 -2
- package/dist/cjs/{button-7f272a63.js → button-4a9fd41e.js} +1 -1
- package/dist/cjs/{check-pkg-version-52c7c2ab.js → check-pkg-version-15023e22.js} +1 -1
- package/dist/cjs/{checkout.service-46a5b9f2.js → checkout.service-ab658f38.js} +3 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{checkouts-table-7f2081df.js → checkouts-table-8a1b49ff.js} +3 -3
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
- package/dist/cjs/{dispute.service-a36c48bf.js → dispute.service-1494b42c.js} +3 -3
- package/dist/cjs/{event-types-921f3555.js → event-types-5a6ce2b0.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-377bcf59.js → form-control-error-text-3cff9b7b.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-f7369e16.js → form-control-help-text-94ffed2c.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +85 -0
- package/dist/cjs/form-control-monetary.cjs.entry.js +27 -40
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{get-business-0bd063d2.js → get-business-d8f5db51.js} +2 -2
- package/dist/cjs/{get-payout-csv-c1c7f03f.js → get-payout-csv-4240b172.js} +3 -3
- package/dist/cjs/{get-subaccounts-c1d559a0.js → get-subaccounts-fa8dc254.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-a63a16d5.js → header-1-43b2b905.js} +1 -1
- package/dist/cjs/{header-3-a6e0f274.js → header-3-eb250a04.js} +1 -1
- package/dist/cjs/{index.esm-a397536a.js → index.esm-544c08fd.js} +0 -122
- package/dist/cjs/{insurance-state-ff4fca5a.js → insurance-state-71f8b653.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -17
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +21 -23
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +122 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-53904238.js → package-868b01af.js} +2 -2
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-3118ab4b.js → parts-5ca90f9a.js} +2 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
- package/dist/cjs/{payment.service-fedf131a.js → payment.service-97bef4f8.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payments-status-96156930.js → payments-status-075aad0a.js} +1 -1
- package/dist/cjs/{payments-table-6f87d43e.js → payments-table-a076755a.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payouts-status-aa6842ac.js → payouts-status-ced97c2b.js} +1 -1
- package/dist/cjs/{payouts-table-d4c8bbbc.js → payouts-table-aedce326.js} +3 -3
- package/dist/cjs/{schema-validations-47a256f4.js → schema-validations-a7cefbdf.js} +1 -1
- package/dist/cjs/{skeleton-32198b92.js → skeleton-e8aa41d0.js} +1 -1
- package/dist/cjs/{spinner-a5c0f3c0.js → spinner-580453f2.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminal-orders-table-eb95b278.js → terminal-orders-table-050e673f.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-ac44fc14.js → terminal.service-0aac977d.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminals-table-3f0c33ea.js → terminals-table-6710a76c.js} +14 -2
- package/dist/cjs/{utils-337befa9.js → utils-4120664c.js} +20 -2
- package/dist/cjs/{utils-97041614.js → utils-f8714daa.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/business/get-business.js +2 -2
- package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
- package/dist/collection/actions/terminal/order-terminals.js +2 -2
- package/dist/collection/api/Terminal.js +3 -1
- package/dist/collection/api/services/business.service.js +2 -2
- package/dist/collection/collection-manifest.json +6 -5
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +255 -0
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.js +6 -6
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-schema.js +6 -2
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.js +7 -7
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.js +5 -5
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout-core.js +5 -5
- package/dist/collection/components/checkout/checkout.js +6 -6
- package/dist/collection/components/checkout/new-payment-method.js +5 -5
- package/dist/collection/components/checkout/payment-method-options.js +5 -5
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +25 -8
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/refund-payment/refund-payment-schema.js +16 -0
- package/dist/collection/components/{refund-form/refund-form.js → refund-payment/refund-payment.js} +26 -65
- package/dist/collection/components/refund-payment/refund-reason-options.js +19 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +23 -3
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-status.js +5 -0
- package/dist/collection/components/terminals-list/terminals-table.js +7 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -3
- package/dist/collection/styles/parts.js +1 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +72 -70
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/{components → ui-components}/pagination-menu/pagination-menu.js +4 -4
- package/dist/collection/utils/utils.js +18 -2
- package/dist/docs.json +396 -140
- package/dist/esm/{Checkout-2bc873fb.js → Checkout-18d8bf94.js} +1 -1
- package/dist/esm/{Payment-82d2f453.js → Payment-806af354.js} +1 -1
- package/dist/esm/{SubAccount-0248b5ab.js → SubAccount-837658ae.js} +4 -2
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-1555ad1d.js → badge-1be14e8c.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
- package/dist/esm/bank-account-form_9.entry.js +16 -16
- package/dist/esm/billing-form_3.entry.js +11 -11
- package/dist/esm/{business-additional-questions-schema-df76728f.js → business-additional-questions-schema-56308a54.js} +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-0a78fc59.js → business-identity-schema-24fcc4ef.js} +2 -2
- package/dist/esm/{business.service-13890e74.js → business.service-999196a4.js} +2 -2
- package/dist/esm/{button-1e756c34.js → button-fcee4da7.js} +1 -1
- package/dist/esm/{check-pkg-version-0557a5c4.js → check-pkg-version-a8dd8455.js} +1 -1
- package/dist/esm/{checkout.service-fe338804.js → checkout.service-87cd501d.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +10 -10
- package/dist/esm/{checkouts-table-e339bf0c.js → checkouts-table-39a031a0.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
- package/dist/esm/{dispute.service-3e1320fe.js → dispute.service-1f79929b.js} +3 -3
- package/dist/esm/{event-types-359ef89e.js → event-types-1bc52f1f.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +5 -5
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-1391123f.js → form-control-error-text-176d20d8.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-9918264e.js → form-control-help-text-83764e14.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +81 -0
- package/dist/esm/form-control-monetary.entry.js +27 -40
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{get-business-464419f6.js → get-business-b7511690.js} +2 -2
- package/dist/esm/{get-payout-csv-9021a002.js → get-payout-csv-6139c5fc.js} +3 -3
- package/dist/esm/{get-subaccounts-6b048fd1.js → get-subaccounts-c4b2b829.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-adb520cc.js → header-1-215a146f.js} +1 -1
- package/dist/esm/{header-3-ca58500e.js → header-3-afd16f23.js} +1 -1
- package/dist/esm/{index.esm-0b6849c2.js → index.esm-feedf26f.js} +1 -122
- package/dist/esm/{insurance-state-24af6ddb.js → insurance-state-d2df8e88.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -17
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +14 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +9 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +12 -12
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +8 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +21 -23
- package/dist/esm/justifi-owner-form_3.entry.js +9 -9
- package/dist/esm/justifi-payment-details.entry.js +9 -9
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -12
- package/dist/esm/justifi-payout-details.entry.js +9 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -13
- package/dist/esm/justifi-refund-payment.entry.js +118 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +9 -6
- package/dist/esm/justifi-terminals-list.entry.js +12 -12
- package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-25d5d805.js → package-f0bb46fd.js} +2 -2
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-ad835bef.js → parts-fd740f54.js} +2 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/{payment.service-2967c84b.js → payment.service-bc99d372.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +11 -11
- package/dist/esm/{payments-status-d011e114.js → payments-status-74d22728.js} +1 -1
- package/dist/esm/{payments-table-3e33b856.js → payments-table-8134f5e1.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +8 -8
- package/dist/esm/payouts-list-core.entry.js +11 -11
- package/dist/esm/{payouts-status-181276c5.js → payouts-status-29d31099.js} +1 -1
- package/dist/esm/{payouts-table-199bdf64.js → payouts-table-c1ced46a.js} +3 -3
- package/dist/esm/{schema-validations-b1aec6a0.js → schema-validations-5af4266a.js} +1 -1
- package/dist/esm/{skeleton-0cde7cb6.js → skeleton-ab3f676e.js} +1 -1
- package/dist/esm/{spinner-342e71ff.js → spinner-27479716.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +10 -10
- package/dist/esm/{terminal-orders-table-2884305a.js → terminal-orders-table-65d59323.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-4fab5adc.js → terminal.service-a8a968ac.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +10 -10
- package/dist/esm/{terminals-table-4e1644e8.js → terminals-table-5eb287ca.js} +14 -2
- package/dist/esm/{utils-96c6292c.js → utils-96d9c205.js} +1 -1
- package/dist/esm/{utils-c37124fc.js → utils-ec50661e.js} +19 -3
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/SubAccount.js +3 -1
- package/dist/module/additional-questions.js +4 -4
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/billing-form-wrapper.js +1 -1
- package/dist/module/billing-form2.js +3 -3
- package/dist/module/business-additional-questions-form-step-core.js +4 -4
- package/dist/module/business-additional-questions-form-step.js +4 -4
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/business.service.js +2 -2
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout-core.js +1 -1
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning.d.ts +11 -0
- package/dist/module/form-control-monetary-provisioning.js +6 -0
- package/dist/module/form-control-monetary-provisioning2.js +109 -0
- package/dist/module/form-control-monetary2.js +30 -42
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/form.js +1 -122
- package/dist/module/get-business.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-form.js +3 -3
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-order-terminals.js +12 -12
- package/dist/module/justifi-payment-provisioning.js +4 -4
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-refund-payment.d.ts +11 -0
- package/dist/module/justifi-refund-payment.js +180 -0
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +6 -2
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/new-payment-method.js +1 -1
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +2 -2
- package/dist/module/parts.js +2 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment-method-options.js +1 -1
- package/dist/module/payment-provisioning-core.js +4 -4
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +4 -4
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +2 -2
- package/dist/module/postal-form2.js +1 -1
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +1 -1
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +13 -1
- package/dist/module/utils2.js +19 -3
- package/dist/types/actions/business/get-business.d.ts +2 -1
- package/dist/types/actions/terminal/get-terminal-models.d.ts +2 -1
- package/dist/types/actions/terminal/order-terminals.d.ts +2 -1
- package/dist/types/api/Terminal.d.ts +8 -3
- package/dist/types/api/services/business.service.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +24 -0
- package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.d.ts +1 -1
- package/dist/types/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.d.ts +1 -1
- package/dist/types/components/checkout/checkout-core.d.ts +1 -1
- package/dist/types/components/checkout/checkout.d.ts +1 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +1 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
- package/dist/types/components/order-terminals/order-terminals.d.ts +1 -1
- package/dist/types/components/refund-payment/refund-payment-schema.d.ts +11 -0
- package/dist/types/components/{refund-form/refund-form.d.ts → refund-payment/refund-payment.d.ts} +6 -13
- package/dist/types/components/refund-payment/refund-reason-options.d.ts +5 -0
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -0
- package/dist/types/components/terminals-list/terminals-status.d.ts +2 -1
- package/dist/types/components/terminals-list/terminals-table.d.ts +6 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +88 -51
- package/dist/types/styles/parts.d.ts +1 -0
- package/dist/types/ui-components/form/form-control-monetary.d.ts +9 -10
- package/dist/types/utils/utils.d.ts +3 -1
- package/dist/webcomponents/p-01033194.js +1 -0
- package/dist/webcomponents/{p-da2a9dfa.entry.js → p-0b61d4d3.entry.js} +1 -1
- package/dist/webcomponents/p-0c7ec110.entry.js +1 -0
- package/dist/webcomponents/p-0d7d61ac.js +1 -0
- package/dist/webcomponents/{p-fdd244b1.entry.js → p-0f0020e1.entry.js} +1 -1
- package/dist/webcomponents/{p-365e56fc.js → p-12074378.js} +1 -1
- package/dist/webcomponents/{p-daf0303f.js → p-1366a019.js} +1 -1
- package/dist/webcomponents/{p-d8ba9309.entry.js → p-13717638.entry.js} +1 -1
- package/dist/webcomponents/p-142bfae3.js +1 -0
- package/dist/webcomponents/{p-1fb5677e.entry.js → p-14cfb25e.entry.js} +1 -1
- package/dist/webcomponents/{p-13d62477.entry.js → p-150e80db.entry.js} +1 -1
- package/dist/webcomponents/{p-e5c60276.entry.js → p-187d456b.entry.js} +1 -1
- package/dist/webcomponents/{p-c7c9725d.entry.js → p-190ee091.entry.js} +1 -1
- package/dist/webcomponents/p-1da00a0c.entry.js +1 -0
- package/dist/webcomponents/p-2123c150.js +1 -0
- package/dist/webcomponents/p-23cd76af.entry.js +1 -0
- package/dist/webcomponents/p-25b82529.entry.js +1 -0
- package/dist/webcomponents/p-27546fa9.entry.js +1 -0
- package/dist/webcomponents/p-275c3dc9.js +1 -0
- package/dist/webcomponents/p-2819e94a.entry.js +1 -0
- package/dist/webcomponents/p-2b8aaa7d.entry.js +1 -0
- package/dist/webcomponents/p-31dcaeaf.entry.js +1 -0
- package/dist/webcomponents/p-373a19fe.entry.js +1 -0
- package/dist/webcomponents/{p-9c57de4e.entry.js → p-375657fe.entry.js} +1 -1
- package/dist/webcomponents/{p-324587d0.js → p-3da2652e.js} +1 -1
- package/dist/webcomponents/{p-9894484a.js → p-3f5e6602.js} +1 -1
- package/dist/webcomponents/p-431670c6.entry.js +1 -0
- package/dist/webcomponents/{p-485df2fe.entry.js → p-45fda0bc.entry.js} +1 -1
- package/dist/webcomponents/p-507d8aa4.entry.js +1 -0
- package/dist/webcomponents/p-536497fe.entry.js +1 -0
- package/dist/webcomponents/{p-4acf8ca2.js → p-537bce77.js} +1 -1
- package/dist/webcomponents/p-56c7fc8d.js +1 -0
- package/dist/webcomponents/{p-c380213d.js → p-58ee6ce9.js} +1 -1
- package/dist/webcomponents/{p-e52e9120.entry.js → p-5a9d7ca0.entry.js} +1 -1
- package/dist/webcomponents/p-5b76dbe1.entry.js +1 -0
- package/dist/webcomponents/{p-0d01d245.entry.js → p-5bd1c32c.entry.js} +1 -1
- package/dist/webcomponents/{p-56143442.entry.js → p-5c5c1e82.entry.js} +1 -1
- package/dist/webcomponents/{p-a7594f8f.entry.js → p-60ec062a.entry.js} +1 -1
- package/dist/webcomponents/{p-7d93c28b.js → p-673c1bca.js} +1 -1
- package/dist/webcomponents/p-6a594a9f.js +1 -0
- package/dist/webcomponents/{p-b19a37d4.js → p-701a13ca.js} +1 -1
- package/dist/webcomponents/{p-17eea747.js → p-72e71b3c.js} +1 -1
- package/dist/webcomponents/{p-78255a04.entry.js → p-746894be.entry.js} +1 -1
- package/dist/webcomponents/p-74711d79.entry.js +1 -0
- package/dist/webcomponents/{p-df9ff0ce.entry.js → p-753d983c.entry.js} +1 -1
- package/dist/webcomponents/p-76549a24.js +1 -0
- package/dist/webcomponents/p-86605101.js +1 -0
- package/dist/webcomponents/p-8c70396c.entry.js +1 -0
- package/dist/webcomponents/p-90b82e40.entry.js +1 -0
- package/dist/webcomponents/p-913e28d6.entry.js +1 -0
- package/dist/webcomponents/{p-d273f33b.js → p-927cb6df.js} +1 -1
- package/dist/webcomponents/p-953e9dba.js +1 -0
- package/dist/webcomponents/{p-a81cabed.js → p-96783edf.js} +1 -1
- package/dist/webcomponents/p-96c23cda.entry.js +1 -0
- package/dist/webcomponents/{p-251c8e97.js → p-9c4e3bac.js} +1 -1
- package/dist/webcomponents/{p-646d007a.js → p-9e49cf17.js} +1 -1
- package/dist/webcomponents/{p-36e32bc4.entry.js → p-a2d30370.entry.js} +1 -1
- package/dist/webcomponents/p-a3cced75.entry.js +1 -0
- package/dist/webcomponents/{p-88af0d7d.js → p-a5579f53.js} +1 -1
- package/dist/webcomponents/{p-be6fea42.entry.js → p-a589b3a1.entry.js} +1 -1
- package/dist/webcomponents/{p-45e68bb3.entry.js → p-a5f5cc2e.entry.js} +1 -1
- package/dist/webcomponents/{p-d7bcf8f0.js → p-ac9f2e2b.js} +1 -1
- package/dist/webcomponents/p-adecb91a.entry.js +1 -0
- package/dist/webcomponents/{p-ba113075.js → p-ae7edce5.js} +1 -1
- package/dist/webcomponents/p-ae891abb.entry.js +1 -0
- package/dist/webcomponents/{p-dd3de924.entry.js → p-af3315b5.entry.js} +1 -1
- package/dist/webcomponents/p-b26fb429.js +1 -0
- package/dist/webcomponents/{p-55e21977.entry.js → p-b299b597.entry.js} +1 -1
- package/dist/webcomponents/{p-073f24ba.entry.js → p-b5c7cb4c.entry.js} +1 -1
- package/dist/webcomponents/{p-d5960545.js → p-b99817a0.js} +1 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
- package/dist/webcomponents/{p-95e55bb1.js → p-bf12999f.js} +1 -1
- package/dist/webcomponents/{p-2dd39017.js → p-bf195b35.js} +1 -1
- package/dist/webcomponents/{p-944f1cc7.js → p-bfc2d88a.js} +1 -1
- package/dist/webcomponents/{p-d78ea308.entry.js → p-c00ef77b.entry.js} +1 -1
- package/dist/webcomponents/{p-0bafaf49.entry.js → p-c438d1c8.entry.js} +1 -1
- package/dist/webcomponents/p-c7313123.entry.js +1 -0
- package/dist/webcomponents/{p-34a95381.js → p-c8b78136.js} +1 -1
- package/dist/webcomponents/{p-17c4edf7.js → p-ca6cdfe6.js} +1 -1
- package/dist/webcomponents/p-cc2f75a3.entry.js +1 -0
- package/dist/webcomponents/p-ccb9ee53.js +1 -0
- package/dist/webcomponents/{p-f57d5d4f.entry.js → p-cd93c62b.entry.js} +2 -2
- package/dist/webcomponents/p-cf9e893a.entry.js +1 -0
- package/dist/webcomponents/p-d757fcf5.js +1 -0
- package/dist/webcomponents/p-d86add24.entry.js +1 -0
- package/dist/webcomponents/p-dbc1a95b.js +1 -0
- package/dist/webcomponents/p-dcff8139.entry.js +1 -0
- package/dist/webcomponents/{p-1b3a6c40.entry.js → p-e309516a.entry.js} +1 -1
- package/dist/webcomponents/p-e9867f8b.entry.js +1 -0
- package/dist/webcomponents/p-ebd814ab.entry.js +1 -0
- package/dist/webcomponents/p-f0a56d96.entry.js +1 -0
- package/dist/webcomponents/{p-ed3ad073.entry.js → p-f20466f7.entry.js} +1 -1
- package/dist/webcomponents/{p-2ca5b5e4.js → p-f8fccf44.js} +1 -1
- package/dist/webcomponents/p-f930504f.entry.js +1 -0
- package/dist/webcomponents/p-fb2db8da.entry.js +1 -0
- package/dist/webcomponents/{p-e8fc36c1.entry.js → p-fca89e9b.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
- package/dist/cjs/justifi-refund-form.cjs.entry.js +0 -106
- package/dist/collection/components/refund-form/refund-form-schema.js +0 -13
- package/dist/collection/components/refund-form/refund-form.stories.js +0 -109
- package/dist/esm/form-control-select_3.entry.js +0 -139
- package/dist/esm/justifi-refund-form.entry.js +0 -102
- package/dist/module/justifi-refund-form.d.ts +0 -11
- package/dist/module/justifi-refund-form.js +0 -153
- package/dist/types/components/refund-form/refund-form-schema.d.ts +0 -11
- package/dist/types/components/refund-form/refund-form.stories.d.ts +0 -27
- package/dist/webcomponents/p-00d55a4b.entry.js +0 -1
- package/dist/webcomponents/p-04d59ef8.js +0 -1
- package/dist/webcomponents/p-07c13189.entry.js +0 -1
- package/dist/webcomponents/p-24203209.entry.js +0 -1
- package/dist/webcomponents/p-258087a8.entry.js +0 -1
- package/dist/webcomponents/p-2759d157.entry.js +0 -1
- package/dist/webcomponents/p-2cd9b608.entry.js +0 -1
- package/dist/webcomponents/p-3030f5e6.entry.js +0 -1
- package/dist/webcomponents/p-308ec9c7.entry.js +0 -1
- package/dist/webcomponents/p-454acd29.entry.js +0 -1
- package/dist/webcomponents/p-50b012a3.entry.js +0 -1
- package/dist/webcomponents/p-52e2cc5e.js +0 -1
- package/dist/webcomponents/p-5844a0f0.js +0 -1
- package/dist/webcomponents/p-5cf1898d.entry.js +0 -1
- package/dist/webcomponents/p-5d600828.js +0 -1
- package/dist/webcomponents/p-61a45f7d.entry.js +0 -1
- package/dist/webcomponents/p-651c881b.js +0 -1
- package/dist/webcomponents/p-6a4b710e.entry.js +0 -1
- package/dist/webcomponents/p-74f6cc28.entry.js +0 -1
- package/dist/webcomponents/p-8946edfd.js +0 -1
- package/dist/webcomponents/p-8ffd9f7c.js +0 -1
- package/dist/webcomponents/p-92b18902.entry.js +0 -1
- package/dist/webcomponents/p-92f29922.entry.js +0 -1
- package/dist/webcomponents/p-97f3a1b0.entry.js +0 -1
- package/dist/webcomponents/p-9fcab358.entry.js +0 -1
- package/dist/webcomponents/p-a0f715d4.js +0 -1
- package/dist/webcomponents/p-a35f3b5b.js +0 -1
- package/dist/webcomponents/p-b7960f37.entry.js +0 -1
- package/dist/webcomponents/p-b7ddb76f.entry.js +0 -1
- package/dist/webcomponents/p-b97f433a.entry.js +0 -1
- package/dist/webcomponents/p-c3939138.entry.js +0 -1
- package/dist/webcomponents/p-cba7d0a7.entry.js +0 -1
- package/dist/webcomponents/p-d43a38a4.js +0 -1
- package/dist/webcomponents/p-d4724349.js +0 -1
- package/dist/webcomponents/p-d575c2c1.entry.js +0 -1
- package/dist/webcomponents/p-dac9282d.entry.js +0 -1
- package/dist/webcomponents/p-e1dd47e1.entry.js +0 -1
- package/dist/webcomponents/p-e545c079.entry.js +0 -1
- package/dist/webcomponents/p-e5de1a00.entry.js +0 -1
- package/dist/webcomponents/p-f1573cad.entry.js +0 -1
- package/dist/webcomponents/p-f1d6e14f.js +0 -1
- package/dist/webcomponents/p-f30cb232.js +0 -1
- package/dist/webcomponents/p-f87e871d.js +0 -1
- package/dist/webcomponents/p-f8a95380.entry.js +0 -1
- package/dist/webcomponents/p-fa5688f7.entry.js +0 -1
- package/dist/webcomponents/p-fbdc18e4.entry.js +0 -1
- /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-schema.d.ts +0 -0
- /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.d.ts +0 -0
- /package/dist/types/{components → ui-components}/pagination-menu/pagination-menu.d.ts +0 -0
|
@@ -3,13 +3,14 @@ import { debounce } from "lodash";
|
|
|
3
3
|
import { filterParams, propsParams, clearParams } from "./terminals-list-params-state";
|
|
4
4
|
import { StyledHost } from "../../ui-components";
|
|
5
5
|
import { ITerminalStatus } from "../../api";
|
|
6
|
-
import { terminalsListFilterMenu, terminalIdTerminalsListFilterParam, terminalStatusTerminalsListFilterParam } from "../../styles/parts";
|
|
6
|
+
import { terminalsListFilterMenu, terminalIdTerminalsListFilterParam, terminalOrderIdTerminalsListFilterParam, terminalStatusTerminalsListFilterParam } from "../../styles/parts";
|
|
7
7
|
export class TerminalsListFilters {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.setParamsOnChange = (name, value) => {
|
|
10
10
|
filterParams[name] = value;
|
|
11
11
|
};
|
|
12
12
|
this.terminalId = undefined;
|
|
13
|
+
this.terminalOrderId = undefined;
|
|
13
14
|
this.terminalStatus = undefined;
|
|
14
15
|
}
|
|
15
16
|
componentWillLoad() {
|
|
@@ -18,6 +19,7 @@ export class TerminalsListFilters {
|
|
|
18
19
|
const propsToSet = {
|
|
19
20
|
terminal_id: this.terminalId,
|
|
20
21
|
status: this.terminalStatus,
|
|
22
|
+
terminal_order_id: this.terminalOrderId
|
|
21
23
|
};
|
|
22
24
|
Object.entries(propsToSet).forEach(([key, value]) => {
|
|
23
25
|
if (value) {
|
|
@@ -31,11 +33,12 @@ export class TerminalsListFilters {
|
|
|
31
33
|
{ label: 'Connected', value: ITerminalStatus.connected },
|
|
32
34
|
{ label: 'Disconnected', value: ITerminalStatus.disconnected },
|
|
33
35
|
{ label: 'Unknown', value: ITerminalStatus.unknown },
|
|
36
|
+
{ label: 'Pending Configuration', value: ITerminalStatus.pending_configuration }
|
|
34
37
|
];
|
|
35
38
|
}
|
|
36
39
|
render() {
|
|
37
40
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
41
|
+
return (h(StyledHost, { key: '390b8788e785bc81711a1b0f68203fce5a348c4c' }, h("table-filters-menu", { key: 'ab37f284aad5b828c2a3d0ce78e5c49fe86c8ec7', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '9f06d2199885d1cb8d9a4310fc94366717ca092c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '146fb3fa0a146c8011e1fc609f885ec3de0af8bf', class: "p-2" }, h("form-control-text", { key: 'f9d33f3facd5af88761033256e9bcdee772d187b', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '59b8af61f98c01e0cd04299780817b9a497d33bc', class: "p-2" }, h("form-control-text", { key: '80c6ed5f37f4429aac0451f1b2c76fd99c52d246', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '4452ff9cbeb157408fdd8569af5792d32f0d1aa9', class: "p-2" }, h("form-control-select", { key: '52406f154a9d5f7a01831047eedf09b909d1bc0d', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
39
42
|
}
|
|
40
43
|
static get is() { return "justifi-terminals-list-filters"; }
|
|
41
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,12 +61,29 @@ export class TerminalsListFilters {
|
|
|
58
61
|
"attribute": "terminal-id",
|
|
59
62
|
"reflect": false
|
|
60
63
|
},
|
|
64
|
+
"terminalOrderId": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"mutable": false,
|
|
67
|
+
"complexType": {
|
|
68
|
+
"original": "string",
|
|
69
|
+
"resolved": "string",
|
|
70
|
+
"references": {}
|
|
71
|
+
},
|
|
72
|
+
"required": false,
|
|
73
|
+
"optional": true,
|
|
74
|
+
"docs": {
|
|
75
|
+
"tags": [],
|
|
76
|
+
"text": ""
|
|
77
|
+
},
|
|
78
|
+
"attribute": "terminal-order-id",
|
|
79
|
+
"reflect": false
|
|
80
|
+
},
|
|
61
81
|
"terminalStatus": {
|
|
62
82
|
"type": "string",
|
|
63
83
|
"mutable": false,
|
|
64
84
|
"complexType": {
|
|
65
85
|
"original": "ITerminalStatus",
|
|
66
|
-
"resolved": "ITerminalStatus.connected | ITerminalStatus.disconnected | ITerminalStatus.unknown",
|
|
86
|
+
"resolved": "ITerminalStatus.connected | ITerminalStatus.disconnected | ITerminalStatus.pending_configuration | ITerminalStatus.unknown",
|
|
67
87
|
"references": {
|
|
68
88
|
"ITerminalStatus": {
|
|
69
89
|
"location": "import",
|
|
@@ -66,7 +66,7 @@ export class TerminalsList {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(StyledHost, { key: '
|
|
69
|
+
return (h(StyledHost, { key: '008b4bd549c228dbf8972e5ce08764c40e0b45a7' }, h("terminals-list-core", { key: 'e57f76fa1560c97d76068503b48e92a5fa9a02ec', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "justifi-terminals-list"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,6 +17,11 @@ export const MapTerminalStatusToBadge = (status) => {
|
|
|
17
17
|
title: 'The status of this terminal is unknown',
|
|
18
18
|
text: 'Unknown',
|
|
19
19
|
},
|
|
20
|
+
pending_configuration: {
|
|
21
|
+
variant: BadgeVariant.WARNING,
|
|
22
|
+
title: 'This terminal is pending configuration',
|
|
23
|
+
text: 'Pending configuration',
|
|
24
|
+
},
|
|
20
25
|
};
|
|
21
26
|
const badgeProps = statusToBadgeProps[status];
|
|
22
27
|
return h(Badge, Object.assign({}, badgeProps));
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { MapTerminalStatusToBadge } from "./terminals-status";
|
|
3
3
|
import { getAlternateTableCellPart, tableHeadCell } from "../../styles/parts";
|
|
4
|
+
import { capitalFirstLetter } from "../../utils/utils";
|
|
4
5
|
export const defaultColumnsKeys = 'nickname,provider_serial_number,status';
|
|
5
6
|
export const terminalTableColumns = {
|
|
6
7
|
nickname: () => (h("th", { part: tableHeadCell, scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
|
|
8
|
+
model_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The model name of the terminal" }, "Model Name")),
|
|
9
|
+
id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The ID of the terminal" }, "ID")),
|
|
10
|
+
provider: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider of the terminal" }, "Provider")),
|
|
7
11
|
provider_serial_number: () => (h("th", { part: tableHeadCell, scope: "col", title: "The serial number of the terminal" }, "Serial Number")),
|
|
8
12
|
provider_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider ID of the terminal" }, "Provider ID")),
|
|
9
13
|
sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
|
|
@@ -11,6 +15,9 @@ export const terminalTableColumns = {
|
|
|
11
15
|
};
|
|
12
16
|
export const terminalTableCells = {
|
|
13
17
|
nickname: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.nickname)),
|
|
18
|
+
model_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.model_name)),
|
|
19
|
+
id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.id)),
|
|
20
|
+
provider: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, capitalFirstLetter(terminal.provider))),
|
|
14
21
|
provider_serial_number: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_serial_number)),
|
|
15
22
|
provider_id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_id)),
|
|
16
23
|
sub_account_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.sub_account_name)),
|
|
@@ -52,7 +52,7 @@ export class TokenizePaymentMethod {
|
|
|
52
52
|
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(StyledHost, { key: '
|
|
55
|
+
return (h(StyledHost, { key: '270b2dce491c95fd6a372bf4e59d4829c91290fa' }, h("form", { key: '7e68afbac49260a92bb6c9e3bd08125129ab196c' }, h("fieldset", { key: '95f911fa066f7fea0b36e4c99cb1c5008b4a886d' }, h("div", { key: 'aec8576644731d5960a1e041960076c503aa4a17', class: "row gy-3" }, h("div", { key: '51436afb0c10e189d079226dd0a8e7b18580fd69', class: "col-12" }, h("justifi-payment-method-options", { key: '59777ac37f44bfe9ef98d3b22a6e485f06db303d', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, authToken: this.authToken, "account-id": this.accountId, iframeOrigin: this.iframeOrigin })), h("div", { key: 'ef37939fb4d8e0225f98f0c3874a83206307f671', class: "col-12" }, h(Button, { key: '4b193d76ad540cae97a2423948e18d60f6db0679', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText || 'Submit')))))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -316,8 +316,8 @@ export class TokenizePaymentMethod {
|
|
|
316
316
|
},
|
|
317
317
|
"BillingFormFields": {
|
|
318
318
|
"location": "import",
|
|
319
|
-
"path": "
|
|
320
|
-
"id": "src/components
|
|
319
|
+
"path": "../../components",
|
|
320
|
+
"id": "src/components.d.ts::BillingFormFields"
|
|
321
321
|
}
|
|
322
322
|
},
|
|
323
323
|
"return": "Promise<void>"
|
|
@@ -111,6 +111,7 @@ export const paymentModeCheckoutsListFilterParam = `${checkoutsListFilterParam}
|
|
|
111
111
|
export const terminalsListFilterMenu = `${filterMenu} terminals-list-filter-menu`;
|
|
112
112
|
export const terminalsListFilterParam = `terminals-list-filter-param`;
|
|
113
113
|
export const terminalIdTerminalsListFilterParam = `${terminalsListFilterParam} terminal-id-terminals-list-filter-param`;
|
|
114
|
+
export const terminalOrderIdTerminalsListFilterParam = `${terminalsListFilterParam} terminal-order-id-terminals-list-filter-param`;
|
|
114
115
|
export const terminalStatusTerminalsListFilterParam = `${terminalsListFilterParam} terminal-status-terminals-list-filter-param`;
|
|
115
116
|
// Terminal Orders List Filters
|
|
116
117
|
export const terminalOrdersListFilterMenu = `${filterMenu} terminal-orders-list-filter-menu`;
|
|
@@ -81,7 +81,7 @@ export class CustomPopper {
|
|
|
81
81
|
this.hideEvent.emit();
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h("div", { key: '
|
|
84
|
+
return (h("div", { key: '8c840ff88bde2fd2cb7be39772e2b49699d32844' }, h("style", { key: 'b5b1bd1fa8b6f6c76723d014bf96e2ee09fe60f4' }, `
|
|
85
85
|
.popper-content {
|
|
86
86
|
display: none;
|
|
87
87
|
}
|
|
@@ -89,7 +89,7 @@ export class CustomPopper {
|
|
|
89
89
|
display: block;
|
|
90
90
|
z-index: 1030;
|
|
91
91
|
}
|
|
92
|
-
`), h("div", { key: '
|
|
92
|
+
`), h("div", { key: '80b0e169b33d6679f372f0d34cd2320013485e10', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '4892f58a1fb5a98212f6b651f4cecc03ad7c84a2' }))));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "custom-popper"; }
|
|
95
95
|
static get properties() {
|
|
@@ -23,7 +23,7 @@ export class TableFiltersMenu {
|
|
|
23
23
|
this.showClearButton = hasFilters(this.params);
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: 'c077391d1358cd6ad02857e05a56aab3e1d10018', class: "d-flex gap-2" }, h("div", { key: 'd28773f0b202b1fcbe19bc5bace1cbf17f5538f7', class: "dropdown pb-3" }, h(Button, { key: '0ad326c9539d5c93573001f6c98486bbbe7a4eaf', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '9ebcaad716bd3b38233a2e78aa219f397c821472', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'ca88fa944c5e9ac23f6ebee6c771603516b83f85', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '7cc23a56a5db363ebdf375d41a758db534c9b9a7' })))), h("div", { key: '7047b1659d9f854ccb5e00f53fa03d4d42d7c550' }, h(Button, { key: '73e413af21cc39818ec8156d736ffdf72bc844d3', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "table-filters-menu"; }
|
|
29
29
|
static get properties() {
|
|
@@ -38,10 +38,10 @@ export class CheckboxInput {
|
|
|
38
38
|
return inputCheckbox;
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: '3c0c0210457da250712c3eddf587ddb939b6cca7' }, h("div", { key: '9f73f8f1498d43cffc200ef326ead11bc5c2b8bd', class: 'form-group d-flex flex-column' }, h("div", { key: 'a126f90ae5ca483310593816dfed878582331395', class: "form-check" }, h("input", { key: '2c7243c56c3110e199fae658513cd2b1bde96678', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
42
42
|
this.isFocused = false;
|
|
43
43
|
this.formControlBlur.emit();
|
|
44
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '
|
|
44
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '35d662a8e14e56514589fe7d08fae470896a6d65', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '80d0558981f8ed95746a7f8f3be319b4817a00c9', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'fbbda937fbf1144d5560b44719c251bdd56a6154', errorText: this.errorText, name: this.name }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "form-control-checkbox"; }
|
|
47
47
|
static get properties() {
|
|
@@ -50,10 +50,10 @@ export class DateInput {
|
|
|
50
50
|
return part;
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '0f6bd0cc62a7023483a304ff30b272f5110fd2d3' }, h("div", { key: '6ebf0fe799c7a1b74a6c875ca8bed386949fb2fe', class: "form-group d-flex flex-column" }, h("div", { key: '370b2fadb488a3cca203b8e7ab267ee629b70b8f', class: "d-flex gap-2" }, h("label", { key: '828fa9324aac9d218e1c857ce4fdc064dddc0b12', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '42adaa5e8c7b568284e5f3129ec7edc200047f73', helpText: this.helpText })), h("input", { key: '49ae4bd3455935d9ca459dfdb53d2bfd27201e60', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
54
54
|
this.isFocused = false;
|
|
55
55
|
this.formControlBlur.emit();
|
|
56
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '
|
|
56
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '81d1ecc4135b2f7a76e3c70d8dddc7539a7dd670', errorText: this.errorText, name: this.name }))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "form-control-date"; }
|
|
59
59
|
static get properties() {
|
|
@@ -12,7 +12,7 @@ export class FileInput {
|
|
|
12
12
|
this.disabled = undefined;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '1671eaeeec71bcbcbd8898856f2d397a10abce97', exportparts: "label,input,input-invalid" }, h("div", { key: 'dca1e07456d2dc7f018fc25ccd2743ba87897fda', class: "form-group d-flex flex-column" }, h("div", { key: '5a8f2a9600f27a7554a8096977413263f8f7b942', class: "d-flex align-items-start gap-2" }, h("label", { key: '7ef6391bc3bd46d61463c37ccdfc27bc02027909', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'e1992a02fb94bdf71ad46fbf387bdcf0c5ca09b2', helpText: this.helpText })), h("input", { key: 'eb4e4bfcee93ca40c945db9c8d960b069b066645', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '125a576d63f4a3735397fe3b27cf2e258b86c073', errorText: this.errorText, name: this.name }))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "form-control-file-v2"; }
|
|
18
18
|
static get properties() {
|
|
@@ -47,10 +47,10 @@ export class FileInput {
|
|
|
47
47
|
return part;
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'a70c3c2b62599cdedf34c837e29f53011e56e018' }, h("div", { key: 'ae42cd54552d7e2b95c619acf25c4b24a0c29dc9', class: "form-group d-flex flex-column" }, h("div", { key: '7b3b935921448a4e46d864dc933f5fd7c63ead93', class: "d-flex align-items-start gap-2" }, h("label", { key: '5f1e6608b4bed90aadbf8ee6c45d6f92fa40d429', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '831be18cf54359800498a91ff4d0f8111feb0603', helpText: this.helpText })), h("input", { key: '5541ad6ba3a84e1bced7b61429c93b1d3b3632df', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
51
51
|
this.isFocused = false;
|
|
52
52
|
this.formControlBlur.emit();
|
|
53
|
-
} }), h(FormControlErrorText, { key: '
|
|
53
|
+
} }), h(FormControlErrorText, { key: '7c93f4e7fc3354479bd688e9a386948dc3b349de', errorText: this.errorText, name: this.name }))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "form-control-file"; }
|
|
56
56
|
static get properties() {
|
|
@@ -1,82 +1,69 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { inputDisabled, inputFocused, inputGroup, inputInvalid, label, text } from "../../styles/parts";
|
|
2
|
+
import { FormControlErrorText, FormControlHelpText } from "..";
|
|
3
|
+
import { input, inputDisabled, inputFocused, inputInvalid, label, text } from "../../styles/parts";
|
|
4
|
+
import { formatCurrency } from "../../utils/utils";
|
|
6
5
|
export class MonetaryInput {
|
|
7
6
|
constructor() {
|
|
8
|
-
this.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
this.imask.on('accept', () => {
|
|
14
|
-
const rawValue = this.imask.unmaskedValue;
|
|
15
|
-
this.inputHandler(this.name, rawValue);
|
|
16
|
-
this.formControlInput.emit({ name: this.name, value: rawValue });
|
|
17
|
-
});
|
|
18
|
-
this.textInput.addEventListener('blur', () => this.formControlBlur.emit());
|
|
7
|
+
this.formatRawValue = (value) => {
|
|
8
|
+
// Remove everything from that is not a number.
|
|
9
|
+
// This will parse out our display formatting as well as prevent users from entering non-numeric characters.
|
|
10
|
+
const formattedValue = value.replace(/\D/g, '');
|
|
11
|
+
return formattedValue;
|
|
19
12
|
};
|
|
20
|
-
this.
|
|
21
|
-
|
|
22
|
-
const name = target.getAttribute('name');
|
|
23
|
-
const rawValue = this.imask.unmaskedValue;
|
|
24
|
-
this.formControlInput.emit({ name: name, value: rawValue });
|
|
13
|
+
this.formatDisplayValue = (value) => {
|
|
14
|
+
return formatCurrency(+value, undefined, true);
|
|
25
15
|
};
|
|
26
16
|
this.updateInput = (newValue) => {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
const name = this.formControl.name;
|
|
18
|
+
const formatRawValue = this.formatRawValue(newValue); // "100000"
|
|
19
|
+
this.formControl.value = this.formatDisplayValue(formatRawValue); // "1,000.00"
|
|
20
|
+
this.inputHandler(name, formatRawValue);
|
|
21
|
+
this.formControlInput.emit({ name: name, value: formatRawValue });
|
|
30
22
|
};
|
|
31
23
|
this.isFocused = false;
|
|
32
|
-
this.label = undefined;
|
|
33
24
|
this.name = undefined;
|
|
25
|
+
this.label = undefined;
|
|
26
|
+
this.inputHandler = undefined;
|
|
27
|
+
this.defaultValue = '0';
|
|
34
28
|
this.helpText = undefined;
|
|
35
29
|
this.errorText = undefined;
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.maskOptions = CURRENCY_MASK.DECIMAL;
|
|
30
|
+
this.maxLength = undefined;
|
|
31
|
+
this.keyDownHandler = undefined;
|
|
39
32
|
this.disabled = undefined;
|
|
40
33
|
}
|
|
41
34
|
handleDefaultValueChange(newValue) {
|
|
42
35
|
this.updateInput(newValue);
|
|
43
36
|
}
|
|
44
37
|
componentDidLoad() {
|
|
45
|
-
this.initializeIMask();
|
|
46
38
|
this.updateInput(this.defaultValue);
|
|
47
39
|
}
|
|
48
|
-
disconnectedCallback() {
|
|
49
|
-
var _a;
|
|
50
|
-
(_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
51
|
-
}
|
|
52
40
|
get part() {
|
|
53
|
-
let part = inputGroup;
|
|
54
41
|
if (this.errorText) {
|
|
55
|
-
|
|
42
|
+
return inputInvalid;
|
|
56
43
|
}
|
|
57
44
|
if (this.disabled) {
|
|
58
|
-
|
|
45
|
+
return inputDisabled;
|
|
59
46
|
}
|
|
60
47
|
if (this.isFocused) {
|
|
61
|
-
|
|
48
|
+
return inputFocused;
|
|
62
49
|
}
|
|
63
|
-
return
|
|
50
|
+
return input;
|
|
64
51
|
}
|
|
65
52
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '58676b687868b5a2d242bc929cae09afb5ae6fbf' }, h("div", { key: '8046cc1e2fa66c5601e370e6dccfa25714649823', class: "form-group d-flex flex-column" }, h("label", { key: 'e4b085b30ee0c7b884204fa9bf467875247bcac0', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: '79bf26bc54c9cc94fedd3af56779de1554e62ce2', name: this.name, helpText: this.helpText }), h("div", { key: '453cb229e64e9429a26b38ffa62693793e5e48f8', class: "input-group" }, h("span", { key: '663753b8d9c6a098326bd325822586c704624bc4', class: "input-group-text", part: text }, "$"), h("input", { key: '9314ad2b99762df1a46c0e0f4632da4a091c59ef', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
67
54
|
this.isFocused = false;
|
|
68
55
|
this.formControlBlur.emit();
|
|
69
|
-
}, onInput: this.
|
|
56
|
+
}, onInput: (event) => this.updateInput(event.target.value), 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: '382864114f66187237ce08c12afb13abed2c298d', errorText: this.errorText, name: this.name }))));
|
|
70
57
|
}
|
|
71
58
|
static get is() { return "form-control-monetary"; }
|
|
72
59
|
static get properties() {
|
|
73
60
|
return {
|
|
74
|
-
"
|
|
75
|
-
"type": "
|
|
61
|
+
"name": {
|
|
62
|
+
"type": "any",
|
|
76
63
|
"mutable": false,
|
|
77
64
|
"complexType": {
|
|
78
|
-
"original": "
|
|
79
|
-
"resolved": "
|
|
65
|
+
"original": "any",
|
|
66
|
+
"resolved": "any",
|
|
80
67
|
"references": {}
|
|
81
68
|
},
|
|
82
69
|
"required": false,
|
|
@@ -85,10 +72,10 @@ export class MonetaryInput {
|
|
|
85
72
|
"tags": [],
|
|
86
73
|
"text": ""
|
|
87
74
|
},
|
|
88
|
-
"attribute": "
|
|
75
|
+
"attribute": "name",
|
|
89
76
|
"reflect": false
|
|
90
77
|
},
|
|
91
|
-
"
|
|
78
|
+
"label": {
|
|
92
79
|
"type": "string",
|
|
93
80
|
"mutable": false,
|
|
94
81
|
"complexType": {
|
|
@@ -102,10 +89,25 @@ export class MonetaryInput {
|
|
|
102
89
|
"tags": [],
|
|
103
90
|
"text": ""
|
|
104
91
|
},
|
|
105
|
-
"attribute": "
|
|
92
|
+
"attribute": "label",
|
|
106
93
|
"reflect": false
|
|
107
94
|
},
|
|
108
|
-
"
|
|
95
|
+
"inputHandler": {
|
|
96
|
+
"type": "unknown",
|
|
97
|
+
"mutable": false,
|
|
98
|
+
"complexType": {
|
|
99
|
+
"original": "(name: string, value: string) => void",
|
|
100
|
+
"resolved": "(name: string, value: string) => void",
|
|
101
|
+
"references": {}
|
|
102
|
+
},
|
|
103
|
+
"required": false,
|
|
104
|
+
"optional": false,
|
|
105
|
+
"docs": {
|
|
106
|
+
"tags": [],
|
|
107
|
+
"text": ""
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"defaultValue": {
|
|
109
111
|
"type": "string",
|
|
110
112
|
"mutable": false,
|
|
111
113
|
"complexType": {
|
|
@@ -119,10 +121,11 @@ export class MonetaryInput {
|
|
|
119
121
|
"tags": [],
|
|
120
122
|
"text": ""
|
|
121
123
|
},
|
|
122
|
-
"attribute": "
|
|
123
|
-
"reflect": false
|
|
124
|
+
"attribute": "default-value",
|
|
125
|
+
"reflect": false,
|
|
126
|
+
"defaultValue": "'0'"
|
|
124
127
|
},
|
|
125
|
-
"
|
|
128
|
+
"helpText": {
|
|
126
129
|
"type": "string",
|
|
127
130
|
"mutable": false,
|
|
128
131
|
"complexType": {
|
|
@@ -136,10 +139,10 @@ export class MonetaryInput {
|
|
|
136
139
|
"tags": [],
|
|
137
140
|
"text": ""
|
|
138
141
|
},
|
|
139
|
-
"attribute": "
|
|
142
|
+
"attribute": "help-text",
|
|
140
143
|
"reflect": false
|
|
141
144
|
},
|
|
142
|
-
"
|
|
145
|
+
"errorText": {
|
|
143
146
|
"type": "string",
|
|
144
147
|
"mutable": false,
|
|
145
148
|
"complexType": {
|
|
@@ -148,46 +151,45 @@ export class MonetaryInput {
|
|
|
148
151
|
"references": {}
|
|
149
152
|
},
|
|
150
153
|
"required": false,
|
|
151
|
-
"optional":
|
|
154
|
+
"optional": true,
|
|
152
155
|
"docs": {
|
|
153
156
|
"tags": [],
|
|
154
157
|
"text": ""
|
|
155
158
|
},
|
|
156
|
-
"attribute": "
|
|
159
|
+
"attribute": "error-text",
|
|
157
160
|
"reflect": false
|
|
158
161
|
},
|
|
159
|
-
"
|
|
160
|
-
"type": "
|
|
162
|
+
"maxLength": {
|
|
163
|
+
"type": "number",
|
|
161
164
|
"mutable": false,
|
|
162
165
|
"complexType": {
|
|
163
|
-
"original": "
|
|
164
|
-
"resolved": "
|
|
166
|
+
"original": "number",
|
|
167
|
+
"resolved": "number",
|
|
165
168
|
"references": {}
|
|
166
169
|
},
|
|
167
170
|
"required": false,
|
|
168
|
-
"optional":
|
|
171
|
+
"optional": true,
|
|
169
172
|
"docs": {
|
|
170
173
|
"tags": [],
|
|
171
174
|
"text": ""
|
|
172
|
-
}
|
|
175
|
+
},
|
|
176
|
+
"attribute": "max-length",
|
|
177
|
+
"reflect": false
|
|
173
178
|
},
|
|
174
|
-
"
|
|
175
|
-
"type": "
|
|
179
|
+
"keyDownHandler": {
|
|
180
|
+
"type": "unknown",
|
|
176
181
|
"mutable": false,
|
|
177
182
|
"complexType": {
|
|
178
|
-
"original": "any",
|
|
179
|
-
"resolved": "any",
|
|
183
|
+
"original": "(event: any) => void",
|
|
184
|
+
"resolved": "(event: any) => void",
|
|
180
185
|
"references": {}
|
|
181
186
|
},
|
|
182
187
|
"required": false,
|
|
183
|
-
"optional":
|
|
188
|
+
"optional": true,
|
|
184
189
|
"docs": {
|
|
185
190
|
"tags": [],
|
|
186
191
|
"text": ""
|
|
187
|
-
}
|
|
188
|
-
"attribute": "mask-options",
|
|
189
|
-
"reflect": false,
|
|
190
|
-
"defaultValue": "CURRENCY_MASK.DECIMAL"
|
|
192
|
+
}
|
|
191
193
|
},
|
|
192
194
|
"disabled": {
|
|
193
195
|
"type": "boolean",
|
|
@@ -198,7 +200,7 @@ export class MonetaryInput {
|
|
|
198
200
|
"references": {}
|
|
199
201
|
},
|
|
200
202
|
"required": false,
|
|
201
|
-
"optional":
|
|
203
|
+
"optional": true,
|
|
202
204
|
"docs": {
|
|
203
205
|
"tags": [],
|
|
204
206
|
"text": ""
|
|
@@ -67,10 +67,10 @@ export class NumberInputMasked {
|
|
|
67
67
|
return input;
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '66b0cdf1f36db4f18500eefb0886259be01baa3c' }, h("div", { key: '8ea85512273929a0bccca3528863dc8aef57dd1b', class: "form-group d-flex flex-column" }, h("div", { key: '88db52b833bc4ad284316eedcd966425ed915daf', class: "d-flex align-items-start gap-2" }, h("label", { key: 'afbf8d666bbd2f81800b4e19461e64fed9af5167', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '9735983927db2fe6922a2058262b9aeb6df94d73', helpText: this.helpText })), h("input", { key: 'afec9c2a3fb573a5b86839a241ff9de0f59f65be', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
71
71
|
this.isFocused = false;
|
|
72
72
|
this.formControlBlur.emit();
|
|
73
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
73
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: 'af0e7ae5efb2821634428f3fea22f16a7e58b430', errorText: this.errorText, name: this.name }))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "form-control-number-masked"; }
|
|
76
76
|
static get properties() {
|
|
@@ -43,10 +43,10 @@ export class NumberInput {
|
|
|
43
43
|
return input;
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '30aed88fe8d8ecf3a8fa36b8d8cd615b82e4cc01' }, h("div", { key: '025ac654d3de4869242a0ce294e95d7aa83e4e01', class: 'form-group d-flex flex-column' }, h("label", { key: 'fecb388595436046b1719870b4745c685d39eccc', part: label, class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '95033125ca4973a6e7484d60b57350250647e3cc', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
47
47
|
this.isFocused = false;
|
|
48
48
|
this.formControlBlur.emit();
|
|
49
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '
|
|
49
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '471b88b189e0046871010e780ccd560c80f1c764', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'b0d1b87f51482daa6ded4eeedcaffda8e863b3af', errorText: this.errorText, name: this.name }))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "form-control-number"; }
|
|
52
52
|
static get properties() {
|
|
@@ -34,10 +34,10 @@ export class RadioInput {
|
|
|
34
34
|
return inputRadio;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'e226d9098a8b2790320222699b3efcd510d6aa88', class: 'form-group d-flex flex-column' }, h("div", { key: '2a295d96e1f4dc8a8aaa71fbf07a10af65801366', class: "form-check" }, h("input", { key: 'f564dfc06ea6b86103c39340d63911ba1a9b7f1e', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
38
38
|
this.isFocused = false;
|
|
39
39
|
this.formControlBlur.emit();
|
|
40
|
-
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '
|
|
40
|
+
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '7c44f86c6320e5abdf1215982ba77e0d02daef35', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: label }, this.label)), h("form-control-help-text", { key: '20f3ddc825fab11e35fd96f6a5b708650f168e23', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '12c7997266c559850c431bb3091504c419b7f5de', errorText: this.errorText, name: this.name })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "form-control-radio"; }
|
|
43
43
|
static get properties() {
|
|
@@ -43,10 +43,10 @@ export class SelectInput {
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
var _a;
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: 'af57c4172958175f90c0b4fc60c7a0b6c5f16b70' }, h("div", { key: '96f1889ffdfd2501e0f598ef4d73634f88301f8d', class: "form-group d-flex flex-column" }, h("div", { key: '3ad3e13eb068b829974d3a738a9ffd9432ea74bc', class: "d-flex align-items-start gap-2" }, h("label", { key: '1effbf4eeb10922f49af14627aef2cee5ed2f23e', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'a1b9cb3152356f8e3d762b72dc8e7862183e925f', helpText: this.helpText })), h("select", { key: 'd2cfee2048fc3f3f352f065d6c1979b617baf805', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
47
47
|
this.isFocused = false;
|
|
48
48
|
this.formControlBlur.emit();
|
|
49
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '
|
|
49
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '036090be3ce8ab66abe46395fae7d680c5730783', errorText: this.errorText, name: this.name }))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "form-control-select"; }
|
|
52
52
|
static get properties() {
|
|
@@ -45,10 +45,10 @@ export class TextInput {
|
|
|
45
45
|
return input;
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '1dec875457354695f83386e1644e60590c12779e' }, h("div", { key: '78f295fddd56b9696077ad3a2fcb766b9b6135bd', class: "form-group d-flex flex-column" }, h("div", { key: '5c758bbca8097ec33596366638adff845f4f7b46', class: "d-flex align-items-start gap-2" }, h("label", { key: '31576778adaf535b52584b1643e1cae3699e76c4', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '328deeda6bbedb37624aad6730d7dd3a9dcc0f1a', helpText: this.helpText })), h("input", { key: 'ac141a2e464e1b0caf10c1434f03744c4e2c557c', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
49
49
|
this.isFocused = false;
|
|
50
50
|
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: '
|
|
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: '2e826f44513b7f1c8a2eb40cf6141f3e34509ec7', errorText: this.errorText, name: this.name }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "form-control-text"; }
|
|
54
54
|
static get properties() {
|