@justifi/webcomponents 5.3.4 → 5.3.6
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-1c07dc32.js → Checkout-eef27045.js} +11 -6
- package/dist/cjs/{SubAccount-b4811a8e.js → SubAccount-df3d28dc.js} +70 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-86a6a7f8.js → badge-79e56b99.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +7 -7
- package/dist/cjs/bank-account-form_9.cjs.entry.js +4 -4
- package/dist/cjs/billing-form_3.cjs.entry.js +6 -6
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{button-5f6c437f.js → button-797bb3cc.js} +1 -1
- package/dist/cjs/{Analytics-2fb20059.js → check-pkg-version-1f8b660c.js} +21 -1
- package/dist/cjs/{checkout.service-b23994d2.js → checkout.service-c01e2cd7.js} +2 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +9 -10
- package/dist/cjs/{checkouts-table-cf3e245e.js → checkouts-table-61543249.js} +2 -2
- package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper.cjs.entry.js} +2 -141
- package/dist/cjs/{dispute.service-c192dd33.js → dispute.service-399de502.js} +2 -2
- package/dist/cjs/{table-fc82fa81.js → event-types-666f1f22.js} +9 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- 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-9905e3b8.js → form-control-error-text-b782cdd0.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -4
- package/dist/cjs/{form-control-help-text-8d031bfb.js → form-control-help-text-ca3c8155.js} +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- 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/form-control-select_3.cjs.entry.js +145 -0
- package/dist/cjs/{get-payout-csv-13d68dab.js → get-payout-csv-11a983a0.js} +2 -2
- package/dist/cjs/{get-subaccounts-b2e6ab82.js → get-subaccounts-224f9497.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/{header-1-b202dbbb.js → header-1-ff669f3f.js} +1 -1
- package/dist/cjs/{header-3-5f78acd1.js → header-3-f6642390.js} +1 -1
- package/dist/cjs/{insurance-state-ba0c39a9.js → insurance-state-66c9bea7.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +5 -5
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +71 -108
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -10
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +7 -8
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +31 -25
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -6
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +187 -41
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -6
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +79 -13
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -26
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-e8aa0c51.js → package-d34fcfa5.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-c2655003.js → parts-1fb925c2.js} +3 -5
- package/dist/cjs/payment-details-core.cjs.entry.js +12 -12
- package/dist/cjs/{payment.service-f53022c3.js → payment.service-f369b33c.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +10 -11
- package/dist/cjs/{payments-status-92abe577.js → payments-status-ffdc54ff.js} +1 -1
- package/dist/cjs/{payments-table-c58e3ca8.js → payments-table-98b4e5e3.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
- package/dist/cjs/payouts-list-core.cjs.entry.js +10 -11
- package/dist/cjs/{payouts-status-703d62af.js → payouts-status-64fd0c68.js} +1 -1
- package/dist/cjs/{payouts-table-70fc1498.js → payouts-table-ecfb826b.js} +2 -2
- package/dist/cjs/{skeleton-84102a44.js → skeleton-2ae76f16.js} +1 -1
- package/dist/cjs/{spinner-70f38e5e.js → spinner-15764f3c.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +31 -11
- package/dist/cjs/terminal-orders-table-f1bed365.js +56 -0
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +36 -0
- package/dist/cjs/terminal.service-4fd34835.js +35 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +9 -10
- package/dist/cjs/{terminals-table-db58a0c0.js → terminals-table-30298ce4.js} +6 -4
- package/dist/cjs/{utils-7c5b2837.js → utils-3e3b8061.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/terminal/get-terminal-models.js +30 -0
- package/dist/collection/actions/terminal/get-terminal-orders.js +34 -0
- package/dist/collection/actions/terminal/order-terminals.js +29 -0
- package/dist/collection/api/Checkout.js +5 -0
- package/dist/collection/api/Terminal.js +1 -0
- package/dist/collection/api/TerminalModel.js +15 -0
- package/dist/collection/api/TerminalOrder.js +51 -0
- package/dist/collection/api/index.js +2 -0
- package/dist/collection/api/services/terminal.service.js +11 -0
- package/dist/collection/api/services/terminal_orders.service.js +9 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +2 -2
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +8 -8
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +27 -15
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +22 -14
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/file-input-handler.js +11 -0
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +26 -12
- package/dist/collection/components/order-terminals/order-terminals-loading.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +159 -35
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector-loading.js +5 -0
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +153 -0
- 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-form/refund-form.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-order-status.js +23 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +53 -7
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +52 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +17 -5
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-table.js +4 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/styles/parts.js +3 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- 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 +2 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- 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-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/docs.json +530 -50
- package/dist/esm/{Checkout-919eb1ba.js → Checkout-2bc873fb.js} +6 -1
- package/dist/esm/{SubAccount-9aad3891.js → SubAccount-dbd4e50c.js} +69 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-2eb79416.js → badge-6f5acf30.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +7 -7
- package/dist/esm/bank-account-form_9.entry.js +4 -4
- package/dist/esm/billing-form_3.entry.js +6 -6
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{button-cc455199.js → button-79dcea75.js} +1 -1
- package/dist/esm/{Analytics-759c7da5.js → check-pkg-version-8e7e585e.js} +21 -2
- package/dist/esm/{checkout.service-bb45d248.js → checkout.service-382a16ec.js} +2 -2
- package/dist/esm/checkouts-list-core.entry.js +7 -8
- package/dist/esm/{checkouts-table-53981285.js → checkouts-table-8a53cef9.js} +2 -2
- package/dist/esm/{custom-popper_4.entry.js → custom-popper.entry.js} +4 -140
- package/dist/esm/{dispute.service-9008b3b7.js → dispute.service-97887804.js} +2 -2
- package/dist/esm/{table-e287f1c0.js → event-types-82515a49.js} +10 -3
- package/dist/esm/form-alert_5.entry.js +1 -1
- 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-74c6b38a.js → form-control-error-text-466c252b.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -4
- package/dist/esm/{form-control-help-text-76a4196e.js → form-control-help-text-242916e3.js} +1 -1
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_3.entry.js +139 -0
- package/dist/esm/{get-payout-csv-8450b60d.js → get-payout-csv-6826271a.js} +2 -2
- package/dist/esm/{get-subaccounts-3af0844a.js → get-subaccounts-f21220dc.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-797ca789.js → header-1-b43590e5.js} +1 -1
- package/dist/esm/{header-3-544afa0b.js → header-3-b90e161e.js} +1 -1
- package/dist/esm/{insurance-state-307335d6.js → insurance-state-9e4a3359.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +5 -5
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +4 -4
- package/dist/esm/justifi-additional-statement_8.entry.js +71 -108
- package/dist/esm/justifi-business-details.entry.js +4 -5
- package/dist/esm/justifi-business-form.entry.js +8 -9
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +6 -6
- package/dist/esm/justifi-checkout.entry.js +6 -7
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +9 -10
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +5 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +30 -24
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -5
- package/dist/esm/justifi-order-terminals.entry.js +187 -41
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +7 -8
- package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -3
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +10 -11
- package/dist/esm/justifi-payout-details.entry.js +7 -8
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +11 -12
- package/dist/esm/justifi-refund-form.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +80 -14
- package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
- package/dist/esm/justifi-terminals-list.entry.js +11 -24
- package/dist/esm/justifi-tokenize-payment-method.entry.js +8 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-49477570.js → package-46c7f3a6.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-489f0af6.js → parts-2c5c609b.js} +3 -4
- package/dist/esm/payment-details-core.entry.js +12 -12
- package/dist/esm/{payment.service-a8ee345c.js → payment.service-a8aa5be7.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +9 -10
- package/dist/esm/{payments-status-35255b2c.js → payments-status-6e203ce4.js} +1 -1
- package/dist/esm/{payments-table-6e97396a.js → payments-table-4c6093e1.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +7 -7
- package/dist/esm/payouts-list-core.entry.js +9 -10
- package/dist/esm/{payouts-status-a0cc00c5.js → payouts-status-66e830f1.js} +1 -1
- package/dist/esm/{payouts-table-6b8ba8f1.js → payouts-table-46fbedb6.js} +2 -2
- package/dist/esm/{skeleton-74fbfb68.js → skeleton-122648e6.js} +1 -1
- package/dist/esm/{spinner-6b708842.js → spinner-14cd9ac7.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +30 -10
- package/dist/esm/terminal-orders-table-83b905fd.js +52 -0
- package/dist/esm/terminal-quantity-selector.entry.js +32 -0
- package/dist/esm/terminal.service-20445fc1.js +33 -0
- package/dist/esm/terminals-list-core.entry.js +8 -9
- package/dist/esm/{terminals-table-c6258344.js → terminals-table-dbbf9a99.js} +6 -4
- package/dist/esm/{utils-6c26bccc.js → utils-4cb0d852.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Checkout.js +6 -1
- package/dist/module/SubAccount.js +69 -1
- package/dist/module/additional-statement.js +9 -14
- package/dist/module/cancellation-policy.js +9 -14
- package/dist/module/check-pkg-version.js +80 -1
- package/dist/module/checkouts-list-core2.js +1 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +9 -14
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +22 -14
- package/dist/module/dispute-response.js +1 -2
- package/dist/module/duplicate-charge.js +9 -14
- package/dist/module/electronic-evidence.js +9 -14
- package/dist/module/event-types2.js +55 -1
- package/dist/module/{dispute-response-form-types.js → file-input-handler.js} +23 -13
- 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 +2 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- 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-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-details.js +1 -2
- package/dist/module/justifi-business-form.js +1 -2
- package/dist/module/justifi-checkout.js +2 -3
- package/dist/module/justifi-checkouts-list-filters.js +4 -4
- package/dist/module/justifi-checkouts-list.js +1 -2
- package/dist/module/justifi-dispute-management.js +1 -2
- package/dist/module/justifi-gross-payment-chart.js +1 -2
- package/dist/module/justifi-order-terminals.js +211 -41
- package/dist/module/justifi-payment-details.js +1 -2
- package/dist/module/justifi-payment-provisioning.js +1 -2
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +2 -3
- package/dist/module/justifi-payout-details.js +1 -2
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -3
- package/dist/module/justifi-refund-form.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +1 -2
- package/dist/module/justifi-terminal-orders-list.js +75 -12
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +4 -18
- package/dist/module/justifi-tokenize-payment-method.js +3 -4
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +3 -4
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment-provisioning-core.js +2 -2
- package/dist/module/payments-list-core2.js +2 -3
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +2 -3
- package/dist/module/product-or-service.js +17 -16
- package/dist/module/refund-policy.js +9 -14
- package/dist/module/shipping-details.js +9 -12
- package/dist/module/terminal-orders-list-core2.js +67 -10
- package/dist/module/terminal-quantity-selector.d.ts +11 -0
- package/dist/module/terminal-quantity-selector.js +6 -0
- package/dist/module/terminal-quantity-selector2.js +66 -0
- package/dist/module/terminal.service.js +33 -0
- package/dist/module/terminals-list-core2.js +6 -5
- package/dist/types/actions/terminal/get-terminal-models.d.ts +8 -0
- package/dist/types/actions/terminal/get-terminal-orders.d.ts +11 -0
- package/dist/types/actions/terminal/order-terminals.d.ts +8 -0
- package/dist/types/api/Checkout.d.ts +4 -0
- package/dist/types/api/Terminal.d.ts +2 -0
- package/dist/types/api/TerminalModel.d.ts +31 -0
- package/dist/types/api/TerminalOrder.d.ts +53 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/services/terminal.service.d.ts +4 -0
- package/dist/types/api/services/terminal_orders.service.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +0 -1
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +3 -3
- package/dist/types/components/dispute-management/dispute-response/additional-statement.d.ts +4 -2
- package/dist/types/components/dispute-management/dispute-response/cancellation-policy.d.ts +4 -2
- package/dist/types/components/dispute-management/dispute-response/customer-details.d.ts +5 -2
- package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +5 -4
- package/dist/types/components/dispute-management/dispute-response/duplicate-charge.d.ts +4 -2
- package/dist/types/components/dispute-management/dispute-response/electronic-evidence.d.ts +4 -2
- package/dist/types/components/dispute-management/dispute-response/file-input-handler.d.ts +2 -0
- package/dist/types/components/dispute-management/dispute-response/product-or-service.d.ts +4 -2
- package/dist/types/components/dispute-management/dispute-response/refund-policy.d.ts +5 -2
- package/dist/types/components/dispute-management/dispute-response/shipping-details.d.ts +4 -1
- package/dist/types/components/order-terminals/order-terminals.d.ts +30 -3
- package/dist/types/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector-loading.d.ts +1 -0
- package/dist/types/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.d.ts +17 -0
- package/dist/types/components/terminal-orders-list/terminal-order-status.d.ts +2 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +7 -5
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +8 -2
- package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +16 -5
- package/dist/types/components/terminals-list/terminals-table.d.ts +3 -1
- package/dist/types/components.d.ts +87 -8
- package/dist/types/global.d.ts +1 -0
- package/dist/types/styles/parts.d.ts +2 -0
- package/dist/webcomponents/p-0137575f.entry.js +1 -0
- package/dist/webcomponents/{p-f7d9ea0b.entry.js → p-030a8806.entry.js} +1 -1
- package/dist/webcomponents/p-039a09b8.entry.js +1 -0
- package/dist/webcomponents/{p-29688e30.js → p-046ecd01.js} +1 -1
- package/dist/webcomponents/{p-1278dedf.js → p-087758d3.js} +1 -1
- package/dist/webcomponents/{p-060896c4.entry.js → p-0a60d356.entry.js} +1 -1
- package/dist/webcomponents/p-0ba77d53.entry.js +1 -0
- package/dist/webcomponents/p-0c22225c.entry.js +1 -0
- package/dist/webcomponents/{p-5a96a2a2.entry.js → p-0cefd846.entry.js} +1 -1
- package/dist/webcomponents/{p-ae271c06.entry.js → p-10a14943.entry.js} +1 -1
- package/dist/webcomponents/p-10e32428.entry.js +1 -0
- package/dist/webcomponents/p-1705af62.js +1 -0
- package/dist/webcomponents/{p-553dba95.entry.js → p-19b8c3c8.entry.js} +1 -1
- package/dist/webcomponents/p-1a48d917.entry.js +1 -0
- package/dist/webcomponents/{p-300a99ee.js → p-1e300d41.js} +1 -1
- package/dist/webcomponents/p-2027145a.entry.js +1 -0
- package/dist/webcomponents/p-222fa126.entry.js +1 -0
- package/dist/webcomponents/{p-a31ba276.entry.js → p-33a17e80.entry.js} +1 -1
- package/dist/webcomponents/p-34e18d17.entry.js +1 -0
- package/dist/webcomponents/{p-e3e0d791.entry.js → p-36edba41.entry.js} +1 -1
- package/dist/webcomponents/p-3732aa87.js +1 -0
- package/dist/webcomponents/p-382ab4e8.js +1 -0
- package/dist/webcomponents/p-3947a309.entry.js +1 -0
- package/dist/webcomponents/p-3cbdca1b.js +1 -0
- package/dist/webcomponents/{p-939d0a35.entry.js → p-4d5c553d.entry.js} +1 -1
- package/dist/webcomponents/{p-8b16a20f.js → p-547b51e9.js} +1 -1
- package/dist/webcomponents/p-5ee67fad.js +1 -0
- package/dist/webcomponents/p-5efe9572.entry.js +1 -0
- package/dist/webcomponents/p-638b91ff.entry.js +1 -0
- package/dist/webcomponents/{p-e007002a.entry.js → p-685c7028.entry.js} +1 -1
- package/dist/webcomponents/{p-14f40baa.js → p-694078d2.js} +1 -1
- package/dist/webcomponents/p-69ac2640.entry.js +1 -0
- package/dist/webcomponents/p-6a2d6298.entry.js +1 -0
- package/dist/webcomponents/{p-b57cfe54.entry.js → p-6ef3de11.entry.js} +1 -1
- package/dist/webcomponents/p-71897cbc.js +1 -0
- package/dist/webcomponents/{p-4fbdf440.entry.js → p-759f25a1.entry.js} +1 -1
- package/dist/webcomponents/p-7dc9fb75.js +1 -0
- package/dist/webcomponents/p-7e93eac9.entry.js +1 -0
- package/dist/webcomponents/p-7ed52fbc.entry.js +1 -0
- package/dist/webcomponents/{p-8a7266b4.js → p-8066b866.js} +1 -1
- package/dist/webcomponents/p-830f0971.entry.js +1 -0
- package/dist/webcomponents/{p-020e7d5d.entry.js → p-833ef79e.entry.js} +1 -1
- package/dist/webcomponents/p-8971f9da.entry.js +1 -0
- package/dist/webcomponents/p-8c461ebc.entry.js +1 -0
- package/dist/webcomponents/p-8fad4359.entry.js +1 -0
- package/dist/webcomponents/{p-dfebd7a4.js → p-9dc9aaba.js} +1 -1
- package/dist/webcomponents/p-9f1a3199.js +1 -0
- package/dist/webcomponents/{p-19063270.entry.js → p-a07afdcc.entry.js} +1 -1
- package/dist/webcomponents/p-a173ccd5.entry.js +1 -0
- package/dist/webcomponents/p-a3d75257.js +1 -0
- package/dist/webcomponents/p-a957612b.entry.js +1 -0
- package/dist/webcomponents/p-aa21cdb1.entry.js +1 -0
- package/dist/webcomponents/p-aa923138.entry.js +1 -0
- package/dist/webcomponents/p-ad473d5c.entry.js +1 -0
- package/dist/webcomponents/p-b11468b5.entry.js +1 -0
- package/dist/webcomponents/{p-3b680e50.js → p-b5addd78.js} +1 -1
- package/dist/webcomponents/p-b62403c2.entry.js +1 -0
- package/dist/webcomponents/{p-bfe339d5.js → p-b69beb1c.js} +1 -1
- package/dist/webcomponents/{p-78a204f9.entry.js → p-b76f755a.entry.js} +1 -1
- package/dist/webcomponents/p-b8ee505d.entry.js +1 -0
- package/dist/webcomponents/p-b92aac9b.entry.js +1 -0
- package/dist/webcomponents/{p-fea43254.entry.js → p-b92f125b.entry.js} +1 -1
- package/dist/webcomponents/{p-a90d8f4f.entry.js → p-bd2340f7.entry.js} +1 -1
- package/dist/webcomponents/{p-b2d57b2c.entry.js → p-bd2d9d29.entry.js} +1 -1
- package/dist/webcomponents/p-bdf0ab42.js +1 -0
- package/dist/webcomponents/p-c406c0fa.js +1 -0
- package/dist/webcomponents/{p-09496255.js → p-c54f54ed.js} +1 -1
- package/dist/webcomponents/p-c5cc443e.entry.js +1 -0
- package/dist/webcomponents/p-cd68707b.entry.js +1 -0
- package/dist/webcomponents/p-d5a481e4.entry.js +1 -0
- package/dist/webcomponents/{p-389e1eb7.js → p-daf0303f.js} +1 -1
- package/dist/webcomponents/p-e366ef1e.js +1 -0
- package/dist/webcomponents/p-e400e31f.entry.js +1 -0
- package/dist/webcomponents/{p-235abbd1.entry.js → p-e4514af8.entry.js} +1 -1
- package/dist/webcomponents/{p-06f5b709.js → p-e60867c6.js} +1 -1
- package/dist/webcomponents/{p-89ecfbf4.entry.js → p-e754d8e7.entry.js} +1 -1
- package/dist/webcomponents/p-eb05bd1e.entry.js +1 -0
- package/dist/webcomponents/p-ede13cc8.js +1 -0
- package/dist/webcomponents/{p-df2559c7.js → p-ee9d433f.js} +1 -1
- package/dist/webcomponents/{p-ebbe93ac.entry.js → p-f04dbd80.entry.js} +1 -1
- package/dist/webcomponents/p-f2111e68.js +1 -0
- package/dist/webcomponents/p-f3061f2a.entry.js +1 -0
- package/dist/webcomponents/{p-906a6027.js → p-fa987dcf.js} +1 -1
- package/dist/webcomponents/p-fae67ab3.js +1 -0
- package/dist/webcomponents/p-fd4607f9.entry.js +1 -0
- package/dist/webcomponents/p-ffd0c24b.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/check-pkg-version-f5a3d421.js +0 -24
- package/dist/cjs/event-types-b6d34593.js +0 -8
- package/dist/cjs/terminal-orders-table-61081532.js +0 -18
- package/dist/esm/check-pkg-version-1d6e48c8.js +0 -22
- package/dist/esm/event-types-0a83d0b4.js +0 -8
- package/dist/esm/terminal-orders-table-765c44d5.js +0 -14
- package/dist/module/Analytics.js +0 -82
- package/dist/module/table.js +0 -55
- package/dist/webcomponents/p-08a17c5c.entry.js +0 -1
- package/dist/webcomponents/p-0b38cfbf.js +0 -1
- package/dist/webcomponents/p-0f4d851d.entry.js +0 -1
- package/dist/webcomponents/p-1aa22806.js +0 -1
- package/dist/webcomponents/p-1f4e26f3.entry.js +0 -1
- package/dist/webcomponents/p-1f99a902.js +0 -1
- package/dist/webcomponents/p-27c72b92.entry.js +0 -1
- package/dist/webcomponents/p-29fbbc93.js +0 -1
- package/dist/webcomponents/p-2e0ae487.js +0 -1
- package/dist/webcomponents/p-2f9af679.js +0 -1
- package/dist/webcomponents/p-37b7b200.entry.js +0 -1
- package/dist/webcomponents/p-39a63e0c.entry.js +0 -1
- package/dist/webcomponents/p-3ab7a49e.entry.js +0 -1
- package/dist/webcomponents/p-3d486f37.entry.js +0 -1
- package/dist/webcomponents/p-42a48c59.js +0 -1
- package/dist/webcomponents/p-49df4962.entry.js +0 -1
- package/dist/webcomponents/p-4a71c90b.entry.js +0 -1
- package/dist/webcomponents/p-4b6256e0.entry.js +0 -1
- package/dist/webcomponents/p-53b660a3.entry.js +0 -1
- package/dist/webcomponents/p-56697a12.entry.js +0 -1
- package/dist/webcomponents/p-595479da.entry.js +0 -1
- package/dist/webcomponents/p-66ae2a0e.entry.js +0 -1
- package/dist/webcomponents/p-670296bf.entry.js +0 -1
- package/dist/webcomponents/p-75b7dfe7.entry.js +0 -1
- package/dist/webcomponents/p-794cce10.entry.js +0 -1
- package/dist/webcomponents/p-7c541199.entry.js +0 -1
- package/dist/webcomponents/p-7d2538d9.entry.js +0 -1
- package/dist/webcomponents/p-7ee5a90e.entry.js +0 -1
- package/dist/webcomponents/p-8548edd6.entry.js +0 -1
- package/dist/webcomponents/p-9055aa6e.entry.js +0 -1
- package/dist/webcomponents/p-9a4d0e1d.entry.js +0 -1
- package/dist/webcomponents/p-9cbbe9cb.entry.js +0 -1
- package/dist/webcomponents/p-9edd6ad8.js +0 -1
- package/dist/webcomponents/p-a0082e77.entry.js +0 -1
- package/dist/webcomponents/p-a6b66c88.entry.js +0 -1
- package/dist/webcomponents/p-acca56ec.entry.js +0 -1
- package/dist/webcomponents/p-af945fc0.entry.js +0 -1
- package/dist/webcomponents/p-c2196cb8.entry.js +0 -1
- package/dist/webcomponents/p-c4ca0038.js +0 -1
- package/dist/webcomponents/p-cba89310.entry.js +0 -1
- package/dist/webcomponents/p-cbe05f11.js +0 -1
- package/dist/webcomponents/p-d279545a.entry.js +0 -1
- package/dist/webcomponents/p-d398ce81.js +0 -1
- package/dist/webcomponents/p-d432f0fd.entry.js +0 -1
- package/dist/webcomponents/p-d5c41ec6.js +0 -1
- package/dist/webcomponents/p-e8cd9691.js +0 -1
- package/dist/webcomponents/p-e9e80a62.js +0 -1
- package/dist/webcomponents/p-ec019b89.js +0 -1
- package/dist/webcomponents/p-fa843aad.entry.js +0 -1
- package/dist/webcomponents/p-fc3d2a9e.entry.js +0 -1
- package/dist/webcomponents/p-ff1f2d65.js +0 -1
|
@@ -4,19 +4,23 @@ import { table, tableCell } from "../../styles/parts";
|
|
|
4
4
|
import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
|
|
5
5
|
import { pagingDefaults } from "../../api";
|
|
6
6
|
import { terminalOrdersTableCells, terminalOrdersTableColumns } from "./terminal-orders-table";
|
|
7
|
+
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
7
8
|
export class TerminalOrdersListCore {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.handleClickPrevious = (beforeCursor) => {
|
|
10
11
|
this.pagingParams = { before_cursor: beforeCursor };
|
|
12
|
+
this.clickEvent.emit({ name: TableClickActions.previous });
|
|
11
13
|
};
|
|
12
14
|
this.handleClickNext = (afterCursor) => {
|
|
13
15
|
this.pagingParams = { after_cursor: afterCursor };
|
|
16
|
+
this.clickEvent.emit({ name: TableClickActions.next });
|
|
14
17
|
};
|
|
15
18
|
this.rowClickHandler = (e) => {
|
|
16
19
|
const clickedOrderId = e.target.closest('tr').dataset.rowEntityId;
|
|
17
20
|
if (!clickedOrderId)
|
|
18
21
|
return;
|
|
19
|
-
|
|
22
|
+
const orderData = this.terminalOrders.find((order) => order.id === clickedOrderId);
|
|
23
|
+
this.clickEvent.emit({ name: TableClickActions.row, data: orderData });
|
|
20
24
|
};
|
|
21
25
|
this.getTerminalOrders = undefined;
|
|
22
26
|
this.columns = undefined;
|
|
@@ -38,8 +42,23 @@ export class TerminalOrdersListCore {
|
|
|
38
42
|
}
|
|
39
43
|
fetchData() {
|
|
40
44
|
this.loading = true;
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
this.getTerminalOrders({
|
|
46
|
+
params: {},
|
|
47
|
+
onSuccess: async ({ terminalOrders, pagingInfo }) => {
|
|
48
|
+
this.terminalOrders = terminalOrders;
|
|
49
|
+
this.paging = pagingInfo;
|
|
50
|
+
this.terminalOrdersTable.collectionData = this.terminalOrders;
|
|
51
|
+
},
|
|
52
|
+
onError: ({ error, code, severity }) => {
|
|
53
|
+
this.errorMessage = error;
|
|
54
|
+
this.errorEvent.emit({
|
|
55
|
+
errorCode: code,
|
|
56
|
+
message: error,
|
|
57
|
+
severity,
|
|
58
|
+
});
|
|
59
|
+
},
|
|
60
|
+
final: () => { this.loading = false; },
|
|
61
|
+
});
|
|
43
62
|
}
|
|
44
63
|
get entityId() {
|
|
45
64
|
return this.terminalOrders.map((terminalOrder) => terminalOrder.id);
|
|
@@ -54,7 +73,7 @@ export class TerminalOrdersListCore {
|
|
|
54
73
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
55
74
|
}
|
|
56
75
|
render() {
|
|
57
|
-
return (h("div", { key: '
|
|
76
|
+
return (h("div", { key: 'ceeaed5590e1586fdbb568ae3e3efd0b9569bfe2' }, h("div", { key: '1324282d71ced0bc43e73722f0286ce35141d122', class: "table-wrapper" }, h("table", { key: '15648ceb92e0a0461809e8a64539935c6b095515', class: "table table-hover", part: table }, h("thead", { key: '15aff763ff1b972c8f578ae927459afdbd6544f9', class: "table-head sticky-top" }, h("tr", { key: '912564fcbdc5e827beacd09832fe0bb69408aee2', class: "table-light text-nowrap" }, this.terminalOrdersTable.columnData.map((column) => column))), h("tbody", { key: '2aa023da48163f637eabf32ed662e722e1ea0129', class: "table-body" }, h(TableLoadingState, { key: 'db59bd7cdbd9d955a7310134ffa7133a1aecac61', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '7396924a0bb453d13c709ff692c09a5d42a29389', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '7d53ab680cd832c4b8b58297b9aa7e4d35c28fd1', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: 'b4a1ca8efb71e67a5d41cebbf45367abe53a8943', class: "sticky-bottom" }, h("tr", { key: 'b3b2e69b93316738593fc6e30101266dc30a5af9', class: "table-light align-middle" }, h("td", { key: '5a2782c37a1606b34b1055088eb943dc2f93cce8', part: tableCell, colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '015d4d7aef4ab85b5dd3dac7563520d498747c04', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
58
77
|
}
|
|
59
78
|
static get is() { return "terminal-orders-list-core"; }
|
|
60
79
|
static get properties() {
|
|
@@ -110,6 +129,27 @@ export class TerminalOrdersListCore {
|
|
|
110
129
|
}
|
|
111
130
|
static get events() {
|
|
112
131
|
return [{
|
|
132
|
+
"method": "clickEvent",
|
|
133
|
+
"name": "click-event",
|
|
134
|
+
"bubbles": true,
|
|
135
|
+
"cancelable": true,
|
|
136
|
+
"composed": true,
|
|
137
|
+
"docs": {
|
|
138
|
+
"tags": [],
|
|
139
|
+
"text": ""
|
|
140
|
+
},
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "ComponentClickEvent",
|
|
143
|
+
"resolved": "ComponentClickEvent",
|
|
144
|
+
"references": {
|
|
145
|
+
"ComponentClickEvent": {
|
|
146
|
+
"location": "import",
|
|
147
|
+
"path": "../../api",
|
|
148
|
+
"id": "src/api/index.ts::ComponentClickEvent"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}, {
|
|
113
153
|
"method": "errorEvent",
|
|
114
154
|
"name": "error-event",
|
|
115
155
|
"bubbles": true,
|
|
@@ -120,9 +160,15 @@ export class TerminalOrdersListCore {
|
|
|
120
160
|
"text": ""
|
|
121
161
|
},
|
|
122
162
|
"complexType": {
|
|
123
|
-
"original": "
|
|
124
|
-
"resolved": "
|
|
125
|
-
"references": {
|
|
163
|
+
"original": "ComponentErrorEvent",
|
|
164
|
+
"resolved": "ComponentErrorEvent",
|
|
165
|
+
"references": {
|
|
166
|
+
"ComponentErrorEvent": {
|
|
167
|
+
"location": "import",
|
|
168
|
+
"path": "../../api",
|
|
169
|
+
"id": "src/api/index.ts::ComponentErrorEvent"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
126
172
|
}
|
|
127
173
|
}];
|
|
128
174
|
}
|
|
@@ -2,37 +2,54 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { StyledHost } from "../../ui-components";
|
|
3
3
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
4
4
|
import { defaultColumnsKeys } from "./terminal-orders-table";
|
|
5
|
+
import { makeGetTerminalOrders } from "../../actions/terminal/get-terminal-orders";
|
|
6
|
+
import { TerminalOrderService } from "../../api/services/terminal_orders.service";
|
|
7
|
+
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api";
|
|
8
|
+
import JustifiAnalytics from "../../api/Analytics";
|
|
5
9
|
export class TerminalOrdersList {
|
|
6
10
|
constructor() {
|
|
11
|
+
this.handleErrorEvent = (event) => {
|
|
12
|
+
this.errorMessage = event.detail.message;
|
|
13
|
+
this.errorEvent.emit(event.detail);
|
|
14
|
+
};
|
|
7
15
|
this.getTerminalOrders = undefined;
|
|
8
16
|
this.errorMessage = null;
|
|
9
|
-
this.
|
|
17
|
+
this.accountId = undefined;
|
|
10
18
|
this.authToken = undefined;
|
|
11
19
|
this.apiOrigin = PROXY_API_ORIGIN;
|
|
12
20
|
this.columns = defaultColumnsKeys;
|
|
13
21
|
}
|
|
14
22
|
componentWillLoad() {
|
|
15
23
|
checkPkgVersion();
|
|
16
|
-
this.
|
|
24
|
+
this.analytics = new JustifiAnalytics(this);
|
|
25
|
+
this.initializeGetData();
|
|
17
26
|
}
|
|
18
|
-
|
|
19
|
-
if (this.
|
|
20
|
-
this.getTerminalOrders = (
|
|
21
|
-
|
|
22
|
-
|
|
27
|
+
initializeGetData() {
|
|
28
|
+
if (this.accountId && this.authToken) {
|
|
29
|
+
this.getTerminalOrders = makeGetTerminalOrders({
|
|
30
|
+
id: this.accountId,
|
|
31
|
+
authToken: this.authToken,
|
|
32
|
+
service: new TerminalOrderService(),
|
|
33
|
+
apiOrigin: this.apiOrigin
|
|
34
|
+
});
|
|
23
35
|
}
|
|
24
36
|
else {
|
|
25
|
-
this.errorMessage = '
|
|
37
|
+
this.errorMessage = 'Account ID and Auth Token are required';
|
|
38
|
+
this.errorEvent.emit({
|
|
39
|
+
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
40
|
+
message: this.errorMessage,
|
|
41
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
42
|
+
});
|
|
26
43
|
}
|
|
27
44
|
}
|
|
28
45
|
render() {
|
|
29
|
-
return (h(StyledHost, { key: '
|
|
46
|
+
return (h(StyledHost, { key: '2a268ef2e2128e8a0ed23092c78caa7f59539c6f' }, h("terminal-orders-list-core", { key: 'a56b31da3f4672a7f63aaff473dbdcb985eed3fc', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
30
47
|
}
|
|
31
48
|
static get is() { return "justifi-terminal-orders-list"; }
|
|
32
49
|
static get encapsulation() { return "shadow"; }
|
|
33
50
|
static get properties() {
|
|
34
51
|
return {
|
|
35
|
-
"
|
|
52
|
+
"accountId": {
|
|
36
53
|
"type": "string",
|
|
37
54
|
"mutable": false,
|
|
38
55
|
"complexType": {
|
|
@@ -46,7 +63,7 @@ export class TerminalOrdersList {
|
|
|
46
63
|
"tags": [],
|
|
47
64
|
"text": ""
|
|
48
65
|
},
|
|
49
|
-
"attribute": "
|
|
66
|
+
"attribute": "account-id",
|
|
50
67
|
"reflect": false
|
|
51
68
|
},
|
|
52
69
|
"authToken": {
|
|
@@ -110,4 +127,28 @@ export class TerminalOrdersList {
|
|
|
110
127
|
"errorMessage": {}
|
|
111
128
|
};
|
|
112
129
|
}
|
|
130
|
+
static get events() {
|
|
131
|
+
return [{
|
|
132
|
+
"method": "errorEvent",
|
|
133
|
+
"name": "error-event",
|
|
134
|
+
"bubbles": true,
|
|
135
|
+
"cancelable": true,
|
|
136
|
+
"composed": true,
|
|
137
|
+
"docs": {
|
|
138
|
+
"tags": [],
|
|
139
|
+
"text": ""
|
|
140
|
+
},
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "ComponentErrorEvent",
|
|
143
|
+
"resolved": "ComponentErrorEvent",
|
|
144
|
+
"references": {
|
|
145
|
+
"ComponentErrorEvent": {
|
|
146
|
+
"location": "import",
|
|
147
|
+
"path": "../../api",
|
|
148
|
+
"id": "src/api/index.ts::ComponentErrorEvent"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}];
|
|
153
|
+
}
|
|
113
154
|
}
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { getAlternateTableCellPart, tableHeadCell } from "../../styles/parts";
|
|
3
|
-
|
|
3
|
+
import { convertToLocal } from "../../utils/utils";
|
|
4
|
+
import { MapTerminalOrderStatusToBadge } from "./terminal-order-status";
|
|
5
|
+
export const defaultColumnsKeys = 'created_at,updated_at,order_status,quantity';
|
|
4
6
|
export const terminalOrdersTableColumns = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time the order was created" }, "Created At")),
|
|
8
|
+
updated_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time the order was last updated" }, "Updated At")),
|
|
9
|
+
order_status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of the order" }, "Order Status")),
|
|
10
|
+
business_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The business ID associated with the order" }, "Business ID")),
|
|
11
|
+
provider: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider associated with the order" }, "Provider")),
|
|
12
|
+
order_type: () => (h("th", { part: tableHeadCell, scope: "col", title: "The type of order" }, "Order Type")),
|
|
13
|
+
quantity: () => (h("th", { part: tableHeadCell, scope: "col", title: "The number of terminals associated with the order" }, "Order Quantity")),
|
|
7
14
|
};
|
|
8
15
|
export const terminalOrdersTableCells = {
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
created_at: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.created_at, { showDisplayDate: true })), h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.created_at, { showTime: true })))),
|
|
17
|
+
updated_at: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.updated_at, { showDisplayDate: true })), h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.updated_at, { showTime: true })))),
|
|
18
|
+
order_status: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapTerminalOrderStatusToBadge(terminalOrder.order_status))),
|
|
19
|
+
business_id: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.business_id)),
|
|
20
|
+
provider: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.provider)),
|
|
21
|
+
order_type: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.order_type)),
|
|
22
|
+
quantity: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.terminals.length)),
|
|
11
23
|
};
|
|
@@ -124,7 +124,7 @@ export class TerminalsListCore {
|
|
|
124
124
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
125
125
|
}
|
|
126
126
|
render() {
|
|
127
|
-
return (h("div", { key: '
|
|
127
|
+
return (h("div", { key: '8831cfa38f962ba4dcf8903eca44931a800a9285' }, h("div", { key: '01d26a4aff98204ccc0fd4db8beb2cc2b021e386', class: "table-wrapper" }, h("table", { key: '036d4a14c61db9b406157425504112dabf4b04bd', class: "table table-hover", part: table }, h("thead", { key: '3782f1b66e447836d93e8b3cc28c09e4fe466ac7', class: "table-head sticky-top" }, h("tr", { key: '3842ccaaadbc3acf0c6caf8e8407aad17d91cae4', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: 'e9f5f7ef0eca1da8ba7e684ba937f7357c8b341a', class: "table-body" }, h(TableLoadingState, { key: '2902cbb3cfa87cdc2ae242ef2cd1001b9b491503', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'f596f3498b67dd40d3a93cd6dfa091cbc67a4cc1', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'e6e67b174a7d8ca353990ae85decbe89539ea504', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '353ba88161fe40528c8ef21271b0ec1a23237264', class: "sticky-bottom" }, h("tr", { key: '6f16d82697452ef4bc1aafa27bb5076e1bb1af54', class: "table-light align-middle" }, h("td", { key: 'bec74cc91feea7eef3bdcd290c2d2e77f6852ad1', part: tableCell, colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'a7667abca02d28a40ef4c58d8b869b48f9746105', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
128
128
|
}
|
|
129
129
|
static get is() { return "terminals-list-core"; }
|
|
130
130
|
static get properties() {
|
|
@@ -35,7 +35,7 @@ export class TerminalsListFilters {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
38
|
+
return (h(StyledHost, { key: '2fc002da23470b942ac8885ba0ee205478a3e975' }, h("table-filters-menu", { key: '8591f53c5e105d26955940ae7e0be64b084f31ec', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: 'e2f0de98ac031d768529654d3b8a5ba43e62269b', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'a62823375c9f3b214f5ceff4163468fa91136cf6', class: "p-2" }, h("form-control-text", { key: '8a314678ce052a5f59e2c590d73df72a46caf0db', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '8462f83b1ba4f76044567f7c8da4fb84a8b932f7', class: "p-2" }, h("form-control-select", { key: '40cc106e9a37f76d4e072ede96b0633e5fb7c1e9', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "justifi-terminals-list-filters"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,7 +66,7 @@ export class TerminalsList {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(StyledHost, { key: '
|
|
69
|
+
return (h(StyledHost, { key: '1765197e56fd03442cc4d30a24d090b4dfd86405' }, h("terminals-list-core", { key: '4e880db7702649486b2cb8e743b0f7d7e78a72c0', 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"; }
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { MapTerminalStatusToBadge } from "./terminals-status";
|
|
3
3
|
import { getAlternateTableCellPart, tableHeadCell } from "../../styles/parts";
|
|
4
|
-
export const defaultColumnsKeys = 'nickname,
|
|
4
|
+
export const defaultColumnsKeys = 'nickname,provider_serial_number,status';
|
|
5
5
|
export const terminalTableColumns = {
|
|
6
6
|
nickname: () => (h("th", { part: tableHeadCell, scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
|
|
7
|
-
|
|
7
|
+
provider_serial_number: () => (h("th", { part: tableHeadCell, scope: "col", title: "The serial number of the terminal" }, "Serial Number")),
|
|
8
|
+
provider_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider ID of the terminal" }, "Provider ID")),
|
|
8
9
|
sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
|
|
9
10
|
status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each terminal" }, "Status")),
|
|
10
11
|
};
|
|
11
12
|
export const terminalTableCells = {
|
|
12
13
|
nickname: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.nickname)),
|
|
14
|
+
provider_serial_number: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_serial_number)),
|
|
13
15
|
provider_id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_id)),
|
|
14
16
|
sub_account_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.sub_account_name)),
|
|
15
17
|
status: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapTerminalStatusToBadge(terminal.status))),
|
|
@@ -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: '34b41a932b7388b76084e74f834fae1dc1bde307' }, h("form", { key: 'b2dfd8c275f5ab8998c9560279e285e87f993771' }, h("fieldset", { key: 'bf6690ee43aae5418a3d979080e20e548afbd83a' }, h("div", { key: '0e66b6f3d55178f74ebd2e854597c68df598f38d', class: "row gy-3" }, h("div", { key: '970b07bf9242730d83dfb9498184e3e587609b68', class: "col-12" }, h("justifi-payment-method-options", { key: '0e11e6d59d9297da681956aa987d55df6e809a5b', 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: 'a1380b7f8e78db5219047b48c0dede19734f7b50', class: "col-12" }, h(Button, { key: 'febf460cb8114c52d1c63a1c259e75e80a5ed5f2', 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"; }
|
|
@@ -14,6 +14,7 @@ export const heading2 = `heading-2 ${heading}`;
|
|
|
14
14
|
export const heading3 = `heading-3 ${heading}`;
|
|
15
15
|
export const heading4 = `heading-4 ${heading}`;
|
|
16
16
|
export const heading5 = `heading-5 ${heading}`;
|
|
17
|
+
export const link = `link ${text}`;
|
|
17
18
|
// Button
|
|
18
19
|
export const button = `button ${text}`;
|
|
19
20
|
export const buttonPrimary = `button-primary ${button}`;
|
|
@@ -79,6 +80,8 @@ export const listGroup = `list-group ${text} ${backgroundColor}`;
|
|
|
79
80
|
export const listGroupItem = `list-group-item ${text} ${backgroundColor}`;
|
|
80
81
|
// Skeleton
|
|
81
82
|
export const skeleton = `skeleton`;
|
|
83
|
+
// Image
|
|
84
|
+
export const image = `image`;
|
|
82
85
|
// Component specific
|
|
83
86
|
// This allows specific sections of a component to be hidden, for example
|
|
84
87
|
// ::part(billing-form) { display: none; }
|
|
@@ -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: '4591c97abf65078bc67a82895364e4e3cf9e85d7' }, h("style", { key: 'bdedcb809a4197f8b40d2c37af00c8bb17028669' }, `
|
|
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: '555995bdc16a697f7b38ba9113b8973b7dae1bbe', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'b71f5d424096805ed2d64ee20f30d63a9044c39c' }))));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "custom-popper"; }
|
|
95
95
|
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: 'd146f375ba008939c5e363b3efba27348d0bf257' }, h("div", { key: 'f4933418e2e9a5dcfbc787de2b677c1bcfa44b5e', class: 'form-group d-flex flex-column' }, h("div", { key: 'd62db927ea6b2f5be2bd1072218fda5bd2f433b6', class: "form-check" }, h("input", { key: 'a9e5db3a7f3db488315f30a0fda045eebb22ddc2', 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: '4cf2646f1be3744b7163e7c36a9dce11c99f95f6', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '875972d4db5afbc3b4043ca81f788701ce50dc31', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '94f31bd03af9ff027d75c3fab81dfc28aaae8ea8', 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: '39efc4cf0cf20cd611c775f1e47ace6b445eab99' }, h("div", { key: '82de246b4d67f3c1a234987c3d9259e8ed7fb3e5', class: "form-group d-flex flex-column" }, h("div", { key: '033c637f965aa750c6130504f70f7fabb9d1a9da', class: "d-flex gap-2" }, h("label", { key: 'ce384aeee225254eac66cfcb6fbe8b6b5677cd5e', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'a8195ae52a1904bcdaa0ee082b77164bb399e5bc', helpText: this.helpText })), h("input", { key: '07bb64ebf4727c892bc5e873d6b8327cb0e89430', 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: '783b7b021819a5c26441a438be7b83dabb4cfce1', errorText: this.errorText, name: this.name }))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "form-control-date"; }
|
|
59
59
|
static get properties() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
|
+
import { FormControlErrorText } from "./form-helpers/form-control-error-text";
|
|
2
3
|
export class FileInput {
|
|
3
4
|
constructor() {
|
|
4
5
|
this.files = undefined;
|
|
@@ -11,7 +12,7 @@ export class FileInput {
|
|
|
11
12
|
this.disabled = undefined;
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '1350700239259ba82c0271b647d65771d7a7b8ff', exportparts: "label,input,input-invalid" }, h("div", { key: '5ffc38612a1323b6035679c338ba7fb5318abb82', class: "form-group d-flex flex-column" }, h("div", { key: 'f0bbea8568d6f30f78cc0f308685a1ac3478080c', class: "d-flex align-items-start gap-2" }, h("label", { key: '8e9202023854b1c882681666b1dd151790a9a970', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '1c984e6b3e1bdf4489dc40b5180c18ef21394d42', helpText: this.helpText })), h("input", { key: '9b848f2342852e6ad2fecd9d4c1fc183201c1233', 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: '80d3c4169b17ecb18dbe72127fef7a20ad4a8401', errorText: this.errorText, name: this.name }))));
|
|
15
16
|
}
|
|
16
17
|
static get is() { return "form-control-file-v2"; }
|
|
17
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: '459b414fc9afaa62d0160d32fecd5c63df91ec8a' }, h("div", { key: '7ad619feb3c181f49c56a36613e0379f39811ce8', class: "form-group d-flex flex-column" }, h("div", { key: '0314577aa1bd7b28405960156b80800c6fcbc560', class: "d-flex align-items-start gap-2" }, h("label", { key: '0745c59386189944bc564aa20c86a7f6e5be384d', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'e8fed0f244df3f854a1e9f8c1e0bab6f73371c4c', helpText: this.helpText })), h("input", { key: 'd03436b3841e8be14852fb156698441806658bf6', 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: '2b3f070c8793027a9c64b2572c21d150ba387979', errorText: this.errorText, name: this.name }))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "form-control-file"; }
|
|
56
56
|
static get properties() {
|
|
@@ -63,10 +63,10 @@ export class MonetaryInput {
|
|
|
63
63
|
return part;
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '7a28909977bd09fa7103d059880f122bc3afc747' }, h("div", { key: 'd5dae0fca0467655a3428dea5317aed87ade7dd5', class: "form-group d-flex flex-column" }, h("label", { key: '215c09684a5f6b18a3de2224db0ce305dcb5fc61', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '3be76b68f6138b3cb2ae0f27fc1e8ce04a85c05c', class: "input-group" }, h("span", { key: '6fb0aa890cbdf552569ca36e87fa24ca26c227f5', class: "input-group-text", part: text }, "$"), h("input", { key: '1a0e63153996d721de870de3afb8f0302a900756', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
67
67
|
this.isFocused = false;
|
|
68
68
|
this.formControlBlur.emit();
|
|
69
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '
|
|
69
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '6ba880560bf3e612b10cb8fa718dffa6aeb3cac5', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '4286ed22b5c36440dfeca603c3220978b22abdd9', errorText: this.errorText, name: this.name }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "form-control-monetary"; }
|
|
72
72
|
static get properties() {
|
|
@@ -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: 'b1294e37ae6b189ce0be808644b37ad2d8ef98a1' }, h("div", { key: '8eaf122e331606a8a2c59e29b06cf5538dbaca2d', class: "form-group d-flex flex-column" }, h("div", { key: '8d6e75f18ba9e30f5c5d65eabf9ceda339b95e27', class: "d-flex align-items-start gap-2" }, h("label", { key: '865e5c6da0b5bdf17044f8f1735b7716c8f42abd', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fae223b57ae6742df71af2dc50cfd761167e6ec9', helpText: this.helpText })), h("input", { key: '57fd46683614a161d133bedad973b8b7b63181ac', 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: '08049568eafa338d602ae7ca8bfef0612b480f0e', 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: '2384acdb57de4385cc807c1c8de78460018168b7' }, h("div", { key: 'abcba3127958fcd7a01b0a3f16cc20072e5fbc3f', class: 'form-group d-flex flex-column' }, h("label", { key: '5bee8f69bfbcdb66e4f9b80b1bfccdcfd22f6a9a', part: label, class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '1d232c2c0b07af9faaacb1fcc926e8c7838f6769', 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: 'd03c05c82aec034fd0d7d72b3ccb00527bbf8559', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '6da5711c44b703bcb72257206c3b0b308890db47', 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: 'e82324f1559f95c0de0b7ccfea3e0d24cf7b111f', class: 'form-group d-flex flex-column' }, h("div", { key: 'aa98c0018d8e29075fba54ee97a8890a478d8008', class: "form-check" }, h("input", { key: 'ca3f39c4882bc580992d99382b577131b2ebf8d2', 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: 'b54b032ae6fcb6220f113a5959a4faa5869d2085', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: label }, this.label)), h("form-control-help-text", { key: '97508e5f8e25714f661bf3f5633a144fedf116a6', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '7ea160cc96a71a87fa77d6d0a3012340b6dc8a3f', errorText: this.errorText, name: this.name })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "form-control-radio"; }
|
|
43
43
|
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: '58d3e4003254d47d57421a2b98c4c3c4ae1ad7d7' }, h("div", { key: 'ef490c45923857d072b54511d28289231843d6d4', class: "form-group d-flex flex-column" }, h("div", { key: '4554059b6543dee11f4baf897161a0403067d9fc', class: "d-flex align-items-start gap-2" }, h("label", { key: 'c9aac34dbea8460850416432b26c341de0fd709f', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '9c71653212fc53843f7ef0ab99c7b4458a0c54cc', helpText: this.helpText })), h("input", { key: 'c014ebd061185484c91229bbe0b0dc89e66c7b03', 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: 'a885a023a35e3801365d97e22c54615b77d45863', errorText: this.errorText, name: this.name }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "form-control-text"; }
|
|
54
54
|
static get properties() {
|
|
@@ -47,10 +47,10 @@ export class TextInput {
|
|
|
47
47
|
return input;
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'b9f052bd19ff3dffb1bf486eaa988aa081383f05' }, h("div", { key: 'bc3d6526bfba0d4f38c68d715ff8bc460665ffc7', class: "form-group d-flex flex-column" }, h("label", { key: '264321d3052d3204bac5426e5db2e30819ac953b', part: label, class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: 'b5edc70861405d2ee6fb6624e0b95238c3bed284', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
51
51
|
this.isFocused = false;
|
|
52
52
|
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: '
|
|
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: '3bc58430816f0d63741d112a3604c862d7638dc4', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '2343df1050ff0da2cab5296f1cbc6cbc0811f77d', errorText: this.errorText, name: this.name }))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "form-control-textarea"; }
|
|
56
56
|
static get properties() {
|
|
@@ -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: '5e5df7c2342492db0a92b0ec65f618561a2208fe' }, h("input", { key: '5dde25325cec14f6d96701243e58efca141d4b5e', 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() {
|
|
@@ -81,10 +81,10 @@ export class IframeInput {
|
|
|
81
81
|
return params;
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: 'e818cf95e3137d0e831ca05cb1fefeed7d8ea487', class: "form-group d-flex flex-column" }, h("div", { key: '55d3af9ab22c267c4ee7d00fdcea3f4cb7339685', style: {
|
|
85
85
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
86
86
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
87
|
-
} }, h("label", { key: '
|
|
87
|
+
} }, h("label", { key: '9999761a3925081bf9ebcbc3a229306fcf9902ae', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: '979c124113a08e50bbc8983549e98451823d0aaa', 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: '3fc09b6a212b3d0f63f2d7cc9f0037be5afd6d58', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
88
88
|
this.iframeElement = el;
|
|
89
89
|
this.initializeFrameCommunicationService();
|
|
90
90
|
}, width: "100%", onLoad: () => {
|
|
@@ -94,7 +94,7 @@ export class IframeInput {
|
|
|
94
94
|
this.iframeLoaded.emit();
|
|
95
95
|
}
|
|
96
96
|
}, this.iframeElement);
|
|
97
|
-
} })), h(FormControlErrorText, { key: '
|
|
97
|
+
} })), h(FormControlErrorText, { key: 'a9d8f075d0b827bab2e00053d3a7575557b14464', errorText: this.errorText, name: this.inputId }))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "iframe-input"; }
|
|
100
100
|
static get properties() {
|