@justifi/webcomponents 6.12.3 → 6.12.4
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/{Analytics-DcqsdFaD.js → Analytics-BERGweGK.js} +2 -3
- package/dist/cjs/{Plaid-BlSGeGpn.js → Plaid-BRSyOOuw.js} +60 -4
- package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +151 -19
- package/dist/cjs/{justifi-additional-statement_8.cjs.entry.js → additional-statement_8.cjs.entry.js} +24 -24
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business-identity-schema-DWWtSiUF.js → business-identity-schema-DI9XFbaD.js} +67 -0
- package/dist/cjs/{business.service-BheJs82v.js → business.service-Z9OACEQL.js} +1 -2
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-DFTQGZz1.js → check-pkg-version-ByKpJklZ.js} +1 -1
- package/dist/cjs/{checkout.service-DZKdHQQq.js → checkout.service-BZOyqXgW.js} +1 -2
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/{justifi-dispute-notification_3.cjs.entry.js → dispute-notification_2.cjs.entry.js} +67 -90
- package/dist/cjs/{event-types-BWQT2lwu.js → event-types-AU1B76Vm.js} +30 -0
- package/dist/cjs/form-address-fields_3.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_2.cjs.entry.js +89 -0
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-TFzhaBXn.js → get-business-aR-C83KX.js} +2 -2
- package/dist/cjs/{get-payment-details-DL5FmIyF.js → get-payment-details-dwhA02Zl.js} +2 -3
- package/dist/cjs/{get-subaccounts-CVK4O7th.js → get-subaccounts-B1jmSa2d.js} +2 -3
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +12 -13
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -6
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -6
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +10 -12
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +5 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -5
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +190 -27
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +65 -18
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11071 -23
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -17
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -10
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -8
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -6
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +178 -24
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-bM0MyhTf.js → package-B6L3zyfG.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-BO7dzIm1.js → payment-provisioning-actions-BiSpysjW.js} +2 -2
- package/dist/cjs/{payment.service-sZKlg2Jq.js → payment.service-ByrgA_QZ.js} +1 -2
- package/dist/cjs/{payout.service-BcQVsMCS.js → payout.service-CnQm_BpU.js} +1 -2
- package/dist/cjs/{payouts-status-CwgOMz-S.js → payouts-status-AuS3Mp0V.js} +2 -2
- package/dist/cjs/{plaid.service-BcgO2VXC.js → plaid.service-Dlb8EUR8.js} +1 -2
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-CjMMWSh3.js → terminal.service-BdwHQ3Vv.js} +1 -2
- package/dist/cjs/{utils-DbTucCTO.js → utils-FVGp6se3.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Terminal.js +1 -1
- package/dist/collection/collection-manifest.json +10 -16
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form.js +226 -12
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +166 -16
- package/dist/collection/components/dispute-management/{justifi-dispute-notification.js → dispute-notification.js} +5 -6
- package/dist/collection/components/dispute-management/dispute-response/{justifi-additional-statement.js → additional-statement.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-cancellation-policy.js → cancellation-policy.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-customer-details.js → customer-details.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{dispute-response-core.js → dispute-response.js} +105 -77
- package/dist/collection/components/dispute-management/dispute-response/{justifi-duplicate-charge.js → duplicate-charge.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-electronic-evidence.js → electronic-evidence.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-product-or-service.js → product-or-service.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-refund-policy.js → refund-policy.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-shipping-details.js → shipping-details.js} +3 -3
- package/dist/collection/components/dispute-management/justifi-dispute-management.js +78 -11
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +79 -15
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
- package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +134 -10
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.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 +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-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/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +5763 -6945
- package/dist/esm/{Analytics-Cyc3ZLPx.js → Analytics-B1bQP71R.js} +2 -3
- package/dist/esm/{Plaid-BuKEVgbB.js → Plaid-l6nNIjab.js} +58 -3
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/additional-questions-form-step_14.entry.js +156 -24
- package/dist/esm/additional-questions_5.entry.js +2 -2
- package/dist/esm/{justifi-additional-statement_8.entry.js → additional-statement_8.entry.js} +19 -19
- package/dist/esm/{badge-B6dp1XGV.js → badge-Dlcl9qdm.js} +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
- package/dist/esm/bank-account-form.entry.js +4 -4
- package/dist/esm/bank-account-read-only-value.entry.js +1 -1
- package/dist/esm/business-identity-schema-D-Nk9aGV.js +163 -0
- package/dist/esm/{business.service-BPbZ5fxQ.js → business.service-C31wbMVs.js} +1 -2
- package/dist/esm/{button-DRdaAudE.js → button-BvzOzV4l.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-6iGDh82c.js → check-pkg-version-CNwUC4SV.js} +1 -1
- package/dist/esm/{checkout.service-CJMfFKyS.js → checkout.service-cVdOGDuI.js} +1 -2
- package/dist/esm/{country-config-P042rrI3.js → country-config-B_fuF6JU.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{justifi-dispute-notification_3.entry.js → dispute-notification_2.entry.js} +68 -90
- package/dist/esm/{event-types-Bg2SZArf.js → event-types-DalU_6SB.js} +29 -1
- package/dist/esm/form-address-fields_3.entry.js +5 -5
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-DVedKyhp.js → form-control-error-text-Di9QePY5.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/form-control-file.entry.js +4 -4
- package/dist/esm/{form-control-help-text-D-349cNw.js → form-control-help-text-DGMpMuAm.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number_2.entry.js +86 -0
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +6 -6
- package/dist/esm/{get-business-DIpEbczl.js → get-business-Gg6qn5on.js} +2 -2
- package/dist/esm/{get-payment-details-DjBou5Fu.js → get-payment-details-BiWgSJau.js} +2 -3
- package/dist/esm/{get-subaccounts-CgDWE_5o.js → get-subaccounts-CkjZeR9U.js} +2 -3
- package/dist/esm/{header-1-Bl7MHW0w.js → header-1-evYxFIGN.js} +1 -1
- package/dist/esm/{header-3-C7JJVnMG.js → header-3-BUDap2xY.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{index.esm-BHdVU4hV.js → index.esm-CgNcFueq.js} +1 -1
- package/dist/esm/{insurance-state-qTdpe84i.js → insurance-state-CLGc1-_4.js} +1 -1
- package/dist/esm/internal-button.entry.js +3 -3
- package/dist/esm/justifi-apple-pay_11.entry.js +17 -18
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -6
- package/dist/esm/justifi-bank-account-form.entry.js +5 -6
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +10 -11
- package/dist/esm/justifi-business-form.entry.js +15 -17
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +5 -6
- package/dist/esm/justifi-checkout.entry.js +5 -6
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-checkouts-list.entry.js +190 -27
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +64 -17
- package/dist/esm/justifi-gross-payment-chart.entry.js +11071 -23
- package/dist/esm/justifi-order-terminals.entry.js +11 -12
- package/dist/esm/justifi-payment-details.entry.js +20 -21
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -12
- package/dist/esm/justifi-payment-transactions-list.entry.js +10 -11
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +12 -13
- package/dist/esm/justifi-payout-details.entry.js +15 -16
- package/dist/esm/justifi-payout-transactions-list.entry.js +10 -11
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-payouts-list.entry.js +13 -14
- package/dist/esm/justifi-refund-payment.entry.js +11 -12
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -9
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -6
- package/dist/esm/justifi-terminal-orders-list.entry.js +175 -21
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminals-list.entry.js +12 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-beXEDfB9.js → package-OGt0dCJl.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-DnrawQn3.js → parts-CPKMvyV_.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-actions-Dr0YIShV.js → payment-provisioning-actions-cl5xIYnF.js} +2 -2
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +2 -2
- package/dist/esm/{payment-provisioning-loading-DI2wDkhm.js → payment-provisioning-loading-Dve2xQA4.js} +1 -1
- package/dist/esm/{payment.service-Ckbb7gXA.js → payment.service-5_u-UzTY.js} +1 -2
- package/dist/esm/{payments-status-BIDoGw-m.js → payments-status-BlVUt4C1.js} +1 -1
- package/dist/esm/{payout.service-BgFKxEoL.js → payout.service-D2zS5y8N.js} +1 -2
- package/dist/esm/{payouts-status-1T2NZBoE.js → payouts-status-DCjCGTaa.js} +3 -3
- package/dist/esm/{plaid.service-BLguQHs_.js → plaid.service-BiJ65YG8.js} +1 -2
- package/dist/esm/radio-list-item.entry.js +2 -2
- package/dist/esm/{schema-validations-v6WGlZkq.js → schema-validations-u9_XnlUL.js} +2 -2
- package/dist/esm/{skeleton-CXGFVqDf.js → skeleton-BEHo2ypu.js} +1 -1
- package/dist/esm/{spinner-kSw6PcwU.js → spinner-DIiQZd6_.js} +1 -1
- package/dist/esm/{table-CcyuIutB.js → table-DqGfsdys.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-0oISl5j-.js → terminal.service-CIxDfM7V.js} +1 -2
- package/dist/esm/{utils-DcfpJGDZ.js → utils-C1B2hVAB.js} +1 -1
- package/dist/esm/{utils-BxYS3WDw.js → utils-CX6puxwf.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Plaid.js +2 -2
- package/dist/module/{justifi-refund-policy.d.ts → additional-statement.d.ts} +4 -4
- package/dist/module/additional-statement.js +6 -0
- package/dist/module/{justifi-additional-statement2.js → additional-statement2.js} +8 -8
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/billing-form-full2.js +1 -1
- package/dist/module/business-bank-account-form-step2.js +1 -1
- package/dist/module/business-owners-form-step2.js +20 -26
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.d.ts +11 -0
- package/dist/module/cancellation-policy.js +6 -0
- package/dist/module/{justifi-cancellation-policy2.js → cancellation-policy2.js} +8 -8
- package/dist/module/card-billing-form-simple2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/{checkouts-list-core.d.ts → customer-details.d.ts} +4 -4
- package/dist/module/customer-details.js +6 -0
- package/dist/module/{justifi-customer-details2.js → customer-details2.js} +8 -8
- package/dist/module/dispute-notification.d.ts +11 -0
- package/dist/module/dispute-notification.js +6 -0
- package/dist/module/dispute-notification2.js +82 -0
- package/dist/module/dispute-response.d.ts +11 -0
- package/dist/module/dispute-response.js +6 -0
- package/dist/module/{dispute-response-core.js → dispute-response2.js} +105 -53
- package/dist/module/duplicate-charge.d.ts +11 -0
- package/dist/module/duplicate-charge.js +6 -0
- package/dist/module/{justifi-duplicate-charge2.js → duplicate-charge2.js} +8 -8
- package/dist/module/electronic-evidence.d.ts +11 -0
- package/dist/module/electronic-evidence.js +6 -0
- package/dist/module/{justifi-electronic-evidence2.js → electronic-evidence2.js} +8 -8
- package/dist/module/event-types3.js +119 -1
- package/dist/module/form-alert2.js +1 -1
- 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-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +3 -3
- 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 +3 -3
- package/dist/module/get-payment-details.js +1 -1
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/module/justifi-bank-account-form.js +1 -1
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +3 -3
- package/dist/module/justifi-checkouts-list.js +197 -28
- package/dist/module/justifi-dispute-management.js +103 -62
- package/dist/module/justifi-gross-payment-chart.js +11074 -24
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +2 -2
- package/dist/module/justifi-order-terminals.js +4 -4
- package/dist/module/justifi-payment-details.js +9 -9
- package/dist/module/justifi-payment-provisioning.js +53 -59
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +2 -2
- package/dist/module/justifi-payout-details.js +4 -4
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
- package/dist/module/justifi-terminal-orders-list.js +184 -22
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +3 -3
- package/dist/module/justifi-tokenize-payment-method2.js +1 -1
- package/dist/module/owner-form-inputs2.js +2 -2
- package/dist/module/owner-form2.js +177 -33
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-form-steps2.js +52 -58
- package/dist/module/product-or-service.d.ts +11 -0
- package/dist/module/product-or-service.js +6 -0
- package/dist/module/{justifi-product-or-service2.js → product-or-service2.js} +8 -8
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/{owner-form-core.d.ts → refund-policy.d.ts} +4 -4
- package/dist/module/refund-policy.js +6 -0
- package/dist/module/{justifi-refund-policy2.js → refund-policy2.js} +8 -8
- package/dist/module/shipping-details.d.ts +11 -0
- package/dist/module/shipping-details.js +6 -0
- package/dist/module/{justifi-shipping-details2.js → shipping-details2.js} +8 -8
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/utils2.js +1 -1
- package/dist/types/api/Terminal.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +69 -5
- package/dist/types/components/checkouts-list/justifi-checkouts-list.d.ts +28 -6
- package/dist/types/components/dispute-management/{justifi-dispute-notification.d.ts → dispute-notification.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-additional-statement.d.ts → additional-statement.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-cancellation-policy.d.ts → cancellation-policy.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-customer-details.d.ts → customer-details.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{dispute-response-core.d.ts → dispute-response.d.ts} +21 -10
- package/dist/types/components/dispute-management/dispute-response/{justifi-duplicate-charge.d.ts → duplicate-charge.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-electronic-evidence.d.ts → electronic-evidence.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-product-or-service.d.ts → product-or-service.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-refund-policy.d.ts → refund-policy.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-shipping-details.d.ts → shipping-details.d.ts} +1 -1
- package/dist/types/components/dispute-management/justifi-dispute-management.d.ts +10 -2
- package/dist/types/components/gross-payment-chart/justifi-gross-payment-chart.d.ts +13 -2
- package/dist/types/components/terminal-orders-list/justifi-terminal-orders-list.d.ts +21 -3
- package/dist/types/components.d.ts +304 -551
- package/dist/webcomponents/p-0708cb76.entry.js +1 -0
- package/dist/webcomponents/p-07236291.entry.js +1 -0
- package/dist/webcomponents/p-12ae030d.entry.js +1 -0
- package/dist/webcomponents/p-215c6b6b.entry.js +1 -0
- package/dist/webcomponents/{p-256c5509.entry.js → p-22d19755.entry.js} +1 -1
- package/dist/webcomponents/{p-2425a375.entry.js → p-2dfdecbb.entry.js} +1 -1
- package/dist/webcomponents/p-31452258.entry.js +1 -0
- package/dist/webcomponents/p-35dd1fc0.entry.js +1 -0
- package/dist/webcomponents/{p-4d21df48.entry.js → p-383b8317.entry.js} +1 -1
- package/dist/webcomponents/{p-1e877e0a.entry.js → p-3d6b9434.entry.js} +1 -1
- package/dist/webcomponents/p-3f5e9afb.entry.js +1 -0
- package/dist/webcomponents/p-45c0fb53.entry.js +1 -0
- package/dist/webcomponents/p-46477dfe.entry.js +1 -0
- package/dist/webcomponents/{p-31e74a5a.entry.js → p-49a4123c.entry.js} +1 -1
- package/dist/webcomponents/{p-befe01ef.entry.js → p-49c13952.entry.js} +1 -1
- package/dist/webcomponents/p-4ccf9cd7.entry.js +1 -0
- package/dist/webcomponents/p-4ec433f4.entry.js +1 -0
- package/dist/webcomponents/p-58b5e08e.entry.js +1 -0
- package/dist/webcomponents/p-5G1OMxZz.js +1 -0
- package/dist/webcomponents/{p-8253ef9f.entry.js → p-605bd107.entry.js} +1 -1
- package/dist/webcomponents/p-6220a384.entry.js +1 -0
- package/dist/webcomponents/p-63b7abf3.entry.js +1 -0
- package/dist/webcomponents/p-69fdd137.entry.js +1 -0
- package/dist/webcomponents/p-6RTf1SXX.js +1 -0
- package/dist/webcomponents/{p-3c046adc.entry.js → p-70dcd833.entry.js} +1 -1
- package/dist/webcomponents/p-7119fddd.entry.js +1 -0
- package/dist/webcomponents/p-7ebed752.entry.js +1 -0
- package/dist/webcomponents/p-8964f4ca.entry.js +1 -0
- package/dist/webcomponents/p-89cd31f2.entry.js +1 -0
- package/dist/webcomponents/p-8aa53ef2.entry.js +1 -0
- package/dist/webcomponents/p-8d173a7c.entry.js +1 -0
- package/dist/webcomponents/p-9153c121.entry.js +1 -0
- package/dist/webcomponents/p-91aef5bf.entry.js +1 -0
- package/dist/webcomponents/p-9b944aa4.entry.js +1 -0
- package/dist/webcomponents/p-9d021e10.entry.js +1 -0
- package/dist/webcomponents/{p-bc2af6b4.entry.js → p-9fc7714d.entry.js} +1 -1
- package/dist/webcomponents/{p-CR_-qIuN.js → p-APOabprT.js} +1 -1
- package/dist/webcomponents/p-Aacb4jqT.js +1 -0
- package/dist/webcomponents/p-B5gBiARs.js +1 -0
- package/dist/webcomponents/{p-bn_huKYG.js → p-BICxxa69.js} +1 -1
- package/dist/webcomponents/p-BJu1-9kE.js +1 -0
- package/dist/webcomponents/{p-Cej-1bD6.js → p-BXyADlAH.js} +1 -1
- package/dist/webcomponents/p-Ba8jdOkX.js +1 -0
- package/dist/webcomponents/p-BxKbnILQ.js +1 -0
- package/dist/webcomponents/{p-2LVpxCS_.js → p-CHo7TfsM.js} +1 -1
- package/dist/webcomponents/p-CHw7tICr.js +1 -0
- package/dist/webcomponents/{p-DnrawQn3.js → p-CPKMvyV_.js} +1 -1
- package/dist/webcomponents/p-Ce_W43gc.js +1 -0
- package/dist/webcomponents/{p-B5vVjDc_.js → p-Cm9f5fyh.js} +1 -1
- package/dist/webcomponents/p-CqiVXthx.js +1 -0
- package/dist/webcomponents/{p-x9fFFf7F.js → p-Cu7hgXL1.js} +1 -1
- package/dist/webcomponents/p-Cz_7BuGW.js +1 -0
- package/dist/webcomponents/p-D-zwk1J3.js +1 -0
- package/dist/webcomponents/{p-D1D2eC05.js → p-D1_eip6x.js} +1 -1
- package/dist/webcomponents/p-DSclFZ32.js +1 -0
- package/dist/webcomponents/p-DYHjzFnJ.js +1 -0
- package/dist/webcomponents/p-Dk26hk5T.js +1 -0
- package/dist/webcomponents/{p-CKiAlBsU.js → p-DwoT0UoX.js} +1 -1
- package/dist/webcomponents/{p-_-2E_vYf.js → p-DyucNSA4.js} +1 -1
- package/dist/webcomponents/p-KXLYEe1D.js +1 -0
- package/dist/webcomponents/p-NZS8uCtH.js +1 -0
- package/dist/webcomponents/p-OGt0dCJl.js +1 -0
- package/dist/webcomponents/p-a1dcdc8b.entry.js +20 -0
- package/dist/webcomponents/{p-10be75b8.entry.js → p-a80f69a9.entry.js} +1 -1
- package/dist/webcomponents/{p-9581d6a1.entry.js → p-a9695714.entry.js} +1 -1
- package/dist/webcomponents/{p-c9e1df15.entry.js → p-ae91fc9b.entry.js} +1 -1
- package/dist/webcomponents/p-av6jyzyC.js +1 -0
- package/dist/webcomponents/p-b0b6083f.entry.js +1 -0
- package/dist/webcomponents/p-b272a29d.entry.js +1 -0
- package/dist/webcomponents/p-b341efd6.entry.js +1 -0
- package/dist/webcomponents/{p-e6e56dbb.entry.js → p-b62ff001.entry.js} +1 -1
- package/dist/webcomponents/p-c1539656.entry.js +1 -0
- package/dist/webcomponents/p-c8f3656f.entry.js +1 -0
- package/dist/webcomponents/p-c9fe4f33.entry.js +1 -0
- package/dist/webcomponents/{p-09d2efad.entry.js → p-ca87c609.entry.js} +1 -1
- package/dist/webcomponents/p-cde76bf8.entry.js +1 -0
- package/dist/webcomponents/p-d24240a5.entry.js +1 -0
- package/dist/webcomponents/p-d79c5ee4.entry.js +1 -0
- package/dist/webcomponents/p-daaa2a99.entry.js +1 -0
- package/dist/webcomponents/{p-9db1444f.entry.js → p-db09f306.entry.js} +1 -1
- package/dist/webcomponents/{p-354fb3c4.entry.js → p-e020f003.entry.js} +1 -1
- package/dist/webcomponents/p-e4cb7c21.entry.js +1 -0
- package/dist/webcomponents/p-e5c2215a.entry.js +1 -0
- package/dist/webcomponents/p-ea0d7a98.entry.js +1 -0
- package/dist/webcomponents/p-ef85717f.entry.js +1 -0
- package/dist/webcomponents/p-f1b9cbf0.entry.js +1 -0
- package/dist/webcomponents/p-f30069ea.entry.js +1 -0
- package/dist/webcomponents/p-f3ff7e00.entry.js +1 -0
- package/dist/webcomponents/p-f9aafb21.entry.js +1 -0
- package/dist/webcomponents/p-fE5A37L5.js +1 -0
- package/dist/webcomponents/p-jIDKmNHy.js +1 -0
- package/dist/webcomponents/{p-DgH-jcIo.js → p-mF5zKtkx.js} +1 -1
- package/dist/webcomponents/p-nb_LhbJq.js +1 -0
- package/dist/webcomponents/p-oTtn8xDw.js +1 -0
- package/dist/webcomponents/p-uZ5KAseb.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Dispute-CruQTF6_.js +0 -59
- package/dist/cjs/business-additional-questions-schema-CI80eZLJ.js +0 -73
- package/dist/cjs/checkouts-list-core.cjs.entry.js +0 -146
- package/dist/cjs/checkouts-table-CCxrsy0x.js +0 -55
- package/dist/cjs/dispute.service-BbtwY673.js +0 -32
- package/dist/cjs/form-control-number_3.cjs.entry.js +0 -249
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +0 -11075
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +0 -61
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +0 -108
- package/dist/cjs/terminal-orders-table-Cz6qvzVE.js +0 -83
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +0 -523
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +0 -262
- package/dist/collection/components/dispute-management/dispute-management-core.js +0 -169
- package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +0 -190
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +0 -139
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +0 -199
- package/dist/esm/Dispute-BH0Xfn-F.js +0 -57
- package/dist/esm/business-additional-questions-schema-DKudYaoE.js +0 -69
- package/dist/esm/business-identity-schema-CFhSc0cA.js +0 -99
- package/dist/esm/checkouts-list-core.entry.js +0 -144
- package/dist/esm/checkouts-table-C8sPHeTm.js +0 -51
- package/dist/esm/dispute.service-vlYGy0nR.js +0 -30
- package/dist/esm/form-control-number_3.entry.js +0 -245
- package/dist/esm/gross-payment-chart-core.entry.js +0 -11073
- package/dist/esm/justifi-dispute-management-core.entry.js +0 -59
- package/dist/esm/terminal-orders-list-core.entry.js +0 -106
- package/dist/esm/terminal-orders-table-C7KOcRpq.js +0 -79
- package/dist/module/checkouts-list-core.js +0 -6
- package/dist/module/checkouts-list-core2.js +0 -227
- package/dist/module/dispute-management-core.js +0 -193
- package/dist/module/dispute-response-actions.js +0 -119
- package/dist/module/gross-payment-chart-core.d.ts +0 -11
- package/dist/module/gross-payment-chart-core.js +0 -6
- package/dist/module/gross-payment-chart-core2.js +0 -11096
- package/dist/module/justifi-additional-statement.d.ts +0 -11
- package/dist/module/justifi-additional-statement.js +0 -6
- package/dist/module/justifi-cancellation-policy.d.ts +0 -11
- package/dist/module/justifi-cancellation-policy.js +0 -6
- package/dist/module/justifi-customer-details.d.ts +0 -11
- package/dist/module/justifi-customer-details.js +0 -6
- package/dist/module/justifi-dispute-management-core.d.ts +0 -11
- package/dist/module/justifi-dispute-management-core.js +0 -6
- package/dist/module/justifi-dispute-notification.d.ts +0 -11
- package/dist/module/justifi-dispute-notification.js +0 -6
- package/dist/module/justifi-dispute-notification2.js +0 -85
- package/dist/module/justifi-dispute-response-core.d.ts +0 -11
- package/dist/module/justifi-dispute-response-core.js +0 -6
- package/dist/module/justifi-dispute-response.d.ts +0 -11
- package/dist/module/justifi-dispute-response.js +0 -6
- package/dist/module/justifi-dispute-response2.js +0 -198
- package/dist/module/justifi-duplicate-charge.d.ts +0 -11
- package/dist/module/justifi-duplicate-charge.js +0 -6
- package/dist/module/justifi-electronic-evidence.d.ts +0 -11
- package/dist/module/justifi-electronic-evidence.js +0 -6
- package/dist/module/justifi-product-or-service.d.ts +0 -11
- package/dist/module/justifi-product-or-service.js +0 -6
- package/dist/module/justifi-refund-policy.js +0 -6
- package/dist/module/justifi-shipping-details.d.ts +0 -11
- package/dist/module/justifi-shipping-details.js +0 -6
- package/dist/module/owner-form-core.js +0 -6
- package/dist/module/owner-form-core2.js +0 -262
- package/dist/module/terminal-orders-list-core.d.ts +0 -11
- package/dist/module/terminal-orders-list-core.js +0 -6
- package/dist/module/terminal-orders-list-core2.js +0 -209
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -88
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +0 -34
- package/dist/types/components/dispute-management/dispute-management-core.d.ts +0 -18
- package/dist/types/components/dispute-management/dispute-response/justifi-dispute-response.d.ts +0 -35
- package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +0 -21
- package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +0 -28
- package/dist/webcomponents/p--e0ff06z.js +0 -1
- package/dist/webcomponents/p-032b4553.entry.js +0 -1
- package/dist/webcomponents/p-042daaf8.entry.js +0 -1
- package/dist/webcomponents/p-0638f0bd.entry.js +0 -1
- package/dist/webcomponents/p-0b3f4f22.entry.js +0 -1
- package/dist/webcomponents/p-1c4f5f1d.entry.js +0 -1
- package/dist/webcomponents/p-1e8135f0.entry.js +0 -1
- package/dist/webcomponents/p-24935254.entry.js +0 -1
- package/dist/webcomponents/p-2a755daf.entry.js +0 -1
- package/dist/webcomponents/p-3488951f.entry.js +0 -1
- package/dist/webcomponents/p-437a99dc.entry.js +0 -1
- package/dist/webcomponents/p-49c0cd3a.entry.js +0 -1
- package/dist/webcomponents/p-50f5e313.entry.js +0 -1
- package/dist/webcomponents/p-52908814.entry.js +0 -1
- package/dist/webcomponents/p-587886f1.entry.js +0 -1
- package/dist/webcomponents/p-5ef355ce.entry.js +0 -1
- package/dist/webcomponents/p-5ef854e0.entry.js +0 -1
- package/dist/webcomponents/p-67498c25.entry.js +0 -1
- package/dist/webcomponents/p-6917aa3c.entry.js +0 -1
- package/dist/webcomponents/p-6d81822f.entry.js +0 -1
- package/dist/webcomponents/p-6f0c582a.entry.js +0 -1
- package/dist/webcomponents/p-80652cf8.entry.js +0 -1
- package/dist/webcomponents/p-82fe02e4.entry.js +0 -1
- package/dist/webcomponents/p-83147f23.entry.js +0 -1
- package/dist/webcomponents/p-8c2427ed.entry.js +0 -1
- package/dist/webcomponents/p-92de00d7.entry.js +0 -1
- package/dist/webcomponents/p-94306884.entry.js +0 -1
- package/dist/webcomponents/p-9937e2e7.entry.js +0 -1
- package/dist/webcomponents/p-9dca1331.entry.js +0 -1
- package/dist/webcomponents/p-9f74d7ea.entry.js +0 -1
- package/dist/webcomponents/p-B--N37zY.js +0 -1
- package/dist/webcomponents/p-BH0Xfn-F.js +0 -1
- package/dist/webcomponents/p-Bg2SZArf.js +0 -1
- package/dist/webcomponents/p-BovgIz83.js +0 -1
- package/dist/webcomponents/p-BsQy297i.js +0 -1
- package/dist/webcomponents/p-CDf5H0TB.js +0 -1
- package/dist/webcomponents/p-CUI41_5y.js +0 -1
- package/dist/webcomponents/p-CX36GHQP.js +0 -1
- package/dist/webcomponents/p-Cf6HoQKl.js +0 -1
- package/dist/webcomponents/p-CsdYMTrc.js +0 -1
- package/dist/webcomponents/p-D4OlsyTo.js +0 -1
- package/dist/webcomponents/p-D8EGHc_m.js +0 -1
- package/dist/webcomponents/p-DPmnGTmg.js +0 -1
- package/dist/webcomponents/p-DWevPe7C.js +0 -1
- package/dist/webcomponents/p-Dbg501Lu.js +0 -1
- package/dist/webcomponents/p-DcBvJu0k.js +0 -1
- package/dist/webcomponents/p-DkdzUTnl.js +0 -1
- package/dist/webcomponents/p-HT_4DkD0.js +0 -1
- package/dist/webcomponents/p-MDZuGvsl.js +0 -1
- package/dist/webcomponents/p-XrKLre8M.js +0 -1
- package/dist/webcomponents/p-a75d76ff.entry.js +0 -1
- package/dist/webcomponents/p-a7778957.entry.js +0 -1
- package/dist/webcomponents/p-a9d7cdae.entry.js +0 -1
- package/dist/webcomponents/p-b060a9c9.entry.js +0 -1
- package/dist/webcomponents/p-b06910b0.entry.js +0 -1
- package/dist/webcomponents/p-b483e71b.entry.js +0 -1
- package/dist/webcomponents/p-bdf21f71.entry.js +0 -1
- package/dist/webcomponents/p-be5d1005.entry.js +0 -1
- package/dist/webcomponents/p-beXEDfB9.js +0 -1
- package/dist/webcomponents/p-bfe2583d.entry.js +0 -1
- package/dist/webcomponents/p-c09fccd3.entry.js +0 -1
- package/dist/webcomponents/p-c827cbc9.entry.js +0 -1
- package/dist/webcomponents/p-cc5b7c27.entry.js +0 -1
- package/dist/webcomponents/p-d878df6c.entry.js +0 -1
- package/dist/webcomponents/p-ddf699e6.entry.js +0 -20
- package/dist/webcomponents/p-e0b3735f.entry.js +0 -1
- package/dist/webcomponents/p-ea30cf08.entry.js +0 -1
- package/dist/webcomponents/p-edf5a854.entry.js +0 -1
- package/dist/webcomponents/p-ef89824b.entry.js +0 -1
- package/dist/webcomponents/p-fc7ba195.entry.js +0 -1
- package/dist/webcomponents/p-hhdRync5.js +0 -1
- package/dist/webcomponents/p-niGr4RT2.js +0 -1
- package/dist/webcomponents/p-pL4dNfsl.js +0 -1
- package/dist/webcomponents/p-qcQTYcr3.js +0 -1
- package/dist/webcomponents/p-qrNmDp6K.js +0 -1
- package/dist/webcomponents/p-uCg79W3M.js +0 -1
- package/dist/webcomponents/p-zi3ljCdQ.js +0 -1
|
@@ -8,7 +8,7 @@ import './event-types.js';
|
|
|
8
8
|
import './justifi-radio-list-item2.js';
|
|
9
9
|
import './config-state.js';
|
|
10
10
|
import { e as convertToUTC, h as convertToLocal } from './utils2.js';
|
|
11
|
-
import { T as TerminalOrderStatus,
|
|
11
|
+
import { T as TerminalOrderStatus, h as TerminalOrderType } from './Plaid.js';
|
|
12
12
|
import './Pagination.js';
|
|
13
13
|
import './Business.js';
|
|
14
14
|
import './ApplePay.js';
|
|
@@ -69,9 +69,9 @@ const JustifiTerminalOrdersListFilters$1 = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
72
|
-
return (h(StyledHost, { key: '
|
|
73
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
74
|
-
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '
|
|
72
|
+
return (h(StyledHost, { key: '05cb917a4f8573a7b2296b7f5eab4d8196fd291b' }, h("table-filters-menu", { key: '2dbd9b8b18c77fab46e010a75150d9addb50f2e2', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'cde85cfbaf0a8964fec8559da8f49ec05117adcc', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '51f107f1b8fb27bf1efb05b1421b8623fbd759f0', class: "p-2" }, h("form-control-select", { key: '97b151015f75b866867921aaa7c8ad8fb299d68f', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status || '', disabled: !!this.orderStatus, part: filterParam })), h("div", { key: '0a25022bd038dbbb21ddc8ca10f69cee88824597', class: "p-2" }, h("form-control-select", { key: '0df794e038df12ee6707616b93c4d39dfe76d287', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type || '', disabled: !!this.orderType, part: filterParam })), h("div", { key: 'd108794b60a691b0071359082ce6e6a1fc04543d', class: "p-2" }, h("form-control-date", { key: 'f36c5dc32d48d7c0986fe95c2c496fcd32de189c', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
73
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'd1be3f6dc5ade503cb1a15089d491fa46391fa8b', class: "p-2" }, h("form-control-date", { key: '5dfe0ab05fb5f9297f2434aa26c83ad4831c3f73', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
74
|
+
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '13039fea471c09505187e8ea1bfbe67ced259572', class: "p-2" }, h("form-control-text", { key: 'b7b4307513b3f73c860138863da80ea372f2d726', name: "company_name", label: "Company Name", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.companyName || filterParams.company_name, disabled: !!this.companyName, part: filterParam }))))));
|
|
75
75
|
}
|
|
76
76
|
}, [257, "justifi-terminal-orders-list-filters", {
|
|
77
77
|
"orderStatus": [1, "order-status"],
|
|
@@ -1,20 +1,92 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent
|
|
1
|
+
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
2
|
import { S as StyledHost } from './styled-host.js';
|
|
3
3
|
import './justifi-details2.js';
|
|
4
|
-
import './
|
|
4
|
+
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
5
|
+
import { T as TableClickActions } from './event-types.js';
|
|
5
6
|
import './justifi-radio-list-item2.js';
|
|
6
7
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
7
|
-
import {
|
|
8
|
+
import { B as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
9
|
+
import { h as convertToLocal } from './utils2.js';
|
|
8
10
|
import './config-state.js';
|
|
9
|
-
import './
|
|
10
|
-
import {
|
|
11
|
-
import './Pagination.js';
|
|
11
|
+
import { h as TerminalOrderType, t as TerminalOrder, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
|
|
12
|
+
import { p as pagingDefaults } from './Pagination.js';
|
|
12
13
|
import './Business.js';
|
|
13
14
|
import './ApplePay.js';
|
|
15
|
+
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
16
|
+
import './dinero.js';
|
|
14
17
|
import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
|
|
15
18
|
import { A as Api } from './Api.js';
|
|
16
19
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
17
|
-
import {
|
|
20
|
+
import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state.js';
|
|
21
|
+
import { d as defineCustomElement$2 } from './pagination-menu2.js';
|
|
22
|
+
|
|
23
|
+
const MapTerminalOrderStatusToBadge = (status) => {
|
|
24
|
+
const statusToBadgeProps = {
|
|
25
|
+
submitted: {
|
|
26
|
+
variant: BadgeVariant.PRIMARY,
|
|
27
|
+
title: 'This order is submitted',
|
|
28
|
+
text: 'Submitted',
|
|
29
|
+
},
|
|
30
|
+
completed: {
|
|
31
|
+
variant: BadgeVariant.SUCCESS,
|
|
32
|
+
title: 'This order has been completed',
|
|
33
|
+
text: 'Completed',
|
|
34
|
+
},
|
|
35
|
+
created: {
|
|
36
|
+
variant: BadgeVariant.SECONDARY,
|
|
37
|
+
title: 'This order is created',
|
|
38
|
+
text: 'Created',
|
|
39
|
+
},
|
|
40
|
+
in_progress: {
|
|
41
|
+
variant: BadgeVariant.PRIMARY,
|
|
42
|
+
title: 'This order is in progress',
|
|
43
|
+
text: 'In Progress',
|
|
44
|
+
},
|
|
45
|
+
on_hold: {
|
|
46
|
+
variant: BadgeVariant.WARNING,
|
|
47
|
+
title: 'This order is on hold',
|
|
48
|
+
text: 'On Hold',
|
|
49
|
+
},
|
|
50
|
+
canceled: {
|
|
51
|
+
variant: BadgeVariant.DANGER,
|
|
52
|
+
title: 'This order is canceled',
|
|
53
|
+
text: 'Canceled',
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
const badgeProps = statusToBadgeProps[status];
|
|
57
|
+
return h(Badge, Object.assign({}, badgeProps));
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
const defaultColumnsKeys = 'created_at,updated_at,order_status,quantity';
|
|
61
|
+
const terminalOrdersTableColumns = {
|
|
62
|
+
created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time the order was created" }, "Created At")),
|
|
63
|
+
updated_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time the order was last updated" }, "Updated At")),
|
|
64
|
+
order_status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of the order" }, "Order Status")),
|
|
65
|
+
business_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The business ID associated with the order" }, "Business ID")),
|
|
66
|
+
company_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The business name associated with the order" }, "Business Name")),
|
|
67
|
+
provider: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider associated with the order" }, "Provider")),
|
|
68
|
+
order_type: () => (h("th", { part: tableHeadCell, scope: "col", title: "The type of order" }, "Order Type")),
|
|
69
|
+
quantity: () => (h("th", { part: tableHeadCell, scope: "col", title: "The number of terminals associated with the order" }, "Order Quantity")),
|
|
70
|
+
};
|
|
71
|
+
const terminalOrdersTableCells = {
|
|
72
|
+
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 })))),
|
|
73
|
+
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 })))),
|
|
74
|
+
order_status: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapTerminalOrderStatusToBadge(terminalOrder.order_status))),
|
|
75
|
+
business_id: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.business_id)),
|
|
76
|
+
company_name: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.company_name)),
|
|
77
|
+
provider: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.provider)),
|
|
78
|
+
order_type: (terminalOrder, index) => {
|
|
79
|
+
let orderType;
|
|
80
|
+
if (terminalOrder.order_type === TerminalOrderType.boardingOnly) {
|
|
81
|
+
orderType = 'Boarding Only';
|
|
82
|
+
}
|
|
83
|
+
else if (terminalOrder.order_type === TerminalOrderType.boardingShipping) {
|
|
84
|
+
orderType = 'Boarding & Shipping';
|
|
85
|
+
}
|
|
86
|
+
return (h("td", { part: getAlternateTableCellPart(index) }, orderType));
|
|
87
|
+
},
|
|
88
|
+
quantity: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.terminals.length)),
|
|
89
|
+
};
|
|
18
90
|
|
|
19
91
|
const makeGetTerminalOrders = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
|
|
20
92
|
var _a, _b;
|
|
@@ -64,30 +136,66 @@ const JustifiTerminalOrdersList$1 = /*@__PURE__*/ proxyCustomElement(class Justi
|
|
|
64
136
|
this.__registerHost();
|
|
65
137
|
}
|
|
66
138
|
this.__attachShadow();
|
|
139
|
+
this.clickEvent = createEvent(this, "click-event", 7);
|
|
67
140
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
68
|
-
this.errorMessage = null;
|
|
69
141
|
this.columns = defaultColumnsKeys;
|
|
70
|
-
this.
|
|
71
|
-
|
|
72
|
-
|
|
142
|
+
this.terminalOrders = [];
|
|
143
|
+
this.loading = true;
|
|
144
|
+
this.paging = pagingDefaults;
|
|
145
|
+
this.pagingParams = {};
|
|
146
|
+
this.handleClickPrevious = (beforeCursor) => {
|
|
147
|
+
this.pagingParams = { before_cursor: beforeCursor };
|
|
148
|
+
this.clickEvent.emit({ name: TableClickActions.previous });
|
|
149
|
+
};
|
|
150
|
+
this.handleClickNext = (afterCursor) => {
|
|
151
|
+
this.pagingParams = { after_cursor: afterCursor };
|
|
152
|
+
this.clickEvent.emit({ name: TableClickActions.next });
|
|
153
|
+
};
|
|
154
|
+
this.rowClickHandler = (e) => {
|
|
155
|
+
const clickedOrderId = e.target.closest('tr').dataset.rowEntityId;
|
|
156
|
+
if (!clickedOrderId)
|
|
157
|
+
return;
|
|
158
|
+
const orderData = this.terminalOrders.find((order) => order.id === clickedOrderId);
|
|
159
|
+
this.clickEvent.emit({ name: TableClickActions.row, data: orderData });
|
|
73
160
|
};
|
|
74
161
|
}
|
|
75
162
|
componentWillLoad() {
|
|
76
163
|
checkPkgVersion();
|
|
77
164
|
this.analytics = new JustifiAnalytics(this);
|
|
165
|
+
this.terminalOrdersTable = new Table(this.terminalOrders, this.columns, terminalOrdersTableColumns, terminalOrdersTableCells);
|
|
78
166
|
this.initializeGetData();
|
|
167
|
+
if (this.getTerminalOrders) {
|
|
168
|
+
this.fetchData();
|
|
169
|
+
}
|
|
170
|
+
onQueryParamsChange('set', () => {
|
|
171
|
+
this.pagingParams = {};
|
|
172
|
+
});
|
|
173
|
+
onQueryParamsChange('reset', () => {
|
|
174
|
+
this.pagingParams = {};
|
|
175
|
+
this.errorMessage = '';
|
|
176
|
+
});
|
|
79
177
|
}
|
|
80
178
|
disconnectedCallback() {
|
|
81
179
|
var _a;
|
|
82
180
|
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
83
181
|
}
|
|
84
|
-
|
|
182
|
+
authPropChanged() {
|
|
183
|
+
this.initializeGetData();
|
|
184
|
+
if (this.getTerminalOrders) {
|
|
185
|
+
this.fetchData();
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
pagingOrColumnsChanged() {
|
|
189
|
+
if (this.getTerminalOrders) {
|
|
190
|
+
this.fetchData();
|
|
191
|
+
}
|
|
192
|
+
}
|
|
85
193
|
initializeGetData() {
|
|
86
194
|
if (this.accountId && this.authToken) {
|
|
87
195
|
this.getTerminalOrders = makeGetTerminalOrders({
|
|
88
196
|
id: this.accountId,
|
|
89
197
|
authToken: this.authToken,
|
|
90
|
-
service: new TerminalOrderService()
|
|
198
|
+
service: new TerminalOrderService(),
|
|
91
199
|
});
|
|
92
200
|
}
|
|
93
201
|
else {
|
|
@@ -99,21 +207,80 @@ const JustifiTerminalOrdersList$1 = /*@__PURE__*/ proxyCustomElement(class Justi
|
|
|
99
207
|
});
|
|
100
208
|
}
|
|
101
209
|
}
|
|
210
|
+
fetchData() {
|
|
211
|
+
if (!this.getTerminalOrders) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
this.loading = true;
|
|
215
|
+
this.getTerminalOrders({
|
|
216
|
+
params: this.terminalOrderParams,
|
|
217
|
+
onSuccess: async ({ terminalOrders, pagingInfo }) => {
|
|
218
|
+
this.terminalOrders = terminalOrders;
|
|
219
|
+
this.paging = pagingInfo;
|
|
220
|
+
this.terminalOrdersTable.collectionData = this.terminalOrders;
|
|
221
|
+
},
|
|
222
|
+
onError: ({ error, code, severity }) => {
|
|
223
|
+
this.errorMessage = error;
|
|
224
|
+
this.errorEvent.emit({
|
|
225
|
+
errorCode: code,
|
|
226
|
+
message: error,
|
|
227
|
+
severity,
|
|
228
|
+
});
|
|
229
|
+
},
|
|
230
|
+
final: () => {
|
|
231
|
+
this.loading = false;
|
|
232
|
+
},
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
get terminalOrderParams() {
|
|
236
|
+
const requestParams = getRequestParams();
|
|
237
|
+
const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
|
|
238
|
+
return params;
|
|
239
|
+
}
|
|
240
|
+
get entityId() {
|
|
241
|
+
return this.terminalOrders.map((terminalOrder) => terminalOrder.id);
|
|
242
|
+
}
|
|
243
|
+
get showEmptyState() {
|
|
244
|
+
return !this.loading && !this.errorMessage && this.terminalOrdersTable.rowData.length < 1;
|
|
245
|
+
}
|
|
246
|
+
get showErrorState() {
|
|
247
|
+
return !this.loading && !!this.errorMessage;
|
|
248
|
+
}
|
|
249
|
+
get showRowData() {
|
|
250
|
+
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
251
|
+
}
|
|
102
252
|
render() {
|
|
103
|
-
return (h(StyledHost, { key: '
|
|
253
|
+
return (h(StyledHost, { key: 'e544fa99091ff8e0601388c4663f536304caef7c' }, h(TableWrapper, { key: 'df2a311d1052b284d458f29a87ea5a78db145406' }, h(TableComponent, { key: '9d3d6997f5fa8581fafa34e13a9981e75075ccc3' }, h(TableHead, { key: '30ee9315492e30913de3ef73db7c4e13e6a0d5bc' }, h(TableHeadRow, { key: 'f8fd993e7f19e3ac6b41e8eaff849a7ab66b2d41' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '75ddd58ba3a713b8f38a6e40de06d26ed06d63a7' }, h(TableLoadingState, { key: '4509782ba93ff9d5d9057a23daa9720da4ec0f0e', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8aed10b38ac78e9ce3e5c8f96c2eb143412f3661', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '94f11381660568de3181fe7c70335e7c264c9e44', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
254
|
+
this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'c980e0fc6b236973e6bdf4ab0a5beece872ed4e6' }, h(TableFootRow, { key: 'c6431bfb8e38839d48b2d7fb8d85a8c64981f057' }, h(TableFootCell, { key: '6c7fc01e316acfcee6e33b583b97b040ce88efaf', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '2ac492d001dc88663b575258a8828964b20d6d68', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
104
255
|
}
|
|
256
|
+
static get watchers() { return {
|
|
257
|
+
"accountId": ["authPropChanged"],
|
|
258
|
+
"authToken": ["authPropChanged"],
|
|
259
|
+
"pagingParams": ["pagingOrColumnsChanged"],
|
|
260
|
+
"columns": ["pagingOrColumnsChanged"]
|
|
261
|
+
}; }
|
|
105
262
|
}, [257, "justifi-terminal-orders-list", {
|
|
106
263
|
"accountId": [1, "account-id"],
|
|
107
264
|
"authToken": [1, "auth-token"],
|
|
108
265
|
"columns": [1],
|
|
109
|
-
"
|
|
110
|
-
"
|
|
266
|
+
"terminalOrders": [32],
|
|
267
|
+
"terminalOrdersTable": [32],
|
|
268
|
+
"loading": [32],
|
|
269
|
+
"errorMessage": [32],
|
|
270
|
+
"paging": [32],
|
|
271
|
+
"pagingParams": [32],
|
|
272
|
+
"getTerminalOrders": [32]
|
|
273
|
+
}, undefined, {
|
|
274
|
+
"accountId": ["authPropChanged"],
|
|
275
|
+
"authToken": ["authPropChanged"],
|
|
276
|
+
"pagingParams": ["pagingOrColumnsChanged"],
|
|
277
|
+
"columns": ["pagingOrColumnsChanged"]
|
|
111
278
|
}]);
|
|
112
279
|
function defineCustomElement$1() {
|
|
113
280
|
if (typeof customElements === "undefined") {
|
|
114
281
|
return;
|
|
115
282
|
}
|
|
116
|
-
const components = ["justifi-terminal-orders-list", "pagination-menu"
|
|
283
|
+
const components = ["justifi-terminal-orders-list", "pagination-menu"];
|
|
117
284
|
components.forEach(tagName => { switch (tagName) {
|
|
118
285
|
case "justifi-terminal-orders-list":
|
|
119
286
|
if (!customElements.get(tagName)) {
|
|
@@ -121,11 +288,6 @@ function defineCustomElement$1() {
|
|
|
121
288
|
}
|
|
122
289
|
break;
|
|
123
290
|
case "pagination-menu":
|
|
124
|
-
if (!customElements.get(tagName)) {
|
|
125
|
-
defineCustomElement$3();
|
|
126
|
-
}
|
|
127
|
-
break;
|
|
128
|
-
case "terminal-orders-list-core":
|
|
129
291
|
if (!customElements.get(tagName)) {
|
|
130
292
|
defineCustomElement$2();
|
|
131
293
|
}
|
|
@@ -8,7 +8,7 @@ import './justifi-details2.js';
|
|
|
8
8
|
import './event-types.js';
|
|
9
9
|
import './justifi-radio-list-item2.js';
|
|
10
10
|
import './config-state.js';
|
|
11
|
-
import {
|
|
11
|
+
import { i as ITerminalStatus } from './Plaid.js';
|
|
12
12
|
import './Pagination.js';
|
|
13
13
|
import './Business.js';
|
|
14
14
|
import './ApplePay.js';
|
|
@@ -64,7 +64,7 @@ const JustifiTerminalsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Jus
|
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
66
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
67
|
-
return (h(StyledHost, { key: '
|
|
67
|
+
return (h(StyledHost, { key: 'fbdb69bdc60f2c3c9caacf287229ee3d0644fcfb' }, h("table-filters-menu", { key: '7f6649444863079f885aff24d554077800b42021', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '7277b0cf678494ca3c227abeb76a03e5bd80c522', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '06a3a26492844e37536f1d8d074af69078a70074', class: "p-2" }, h("form-control-text", { key: 'f37cc48a754dd0ef12405f3cbcfb10a9c099eb56', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '8a3638c23a774c566cfee5aba8b17ab9c7ec9419', class: "p-2" }, h("form-control-text", { key: '113ded1ef867fcdab00f8c048b56219d6c5fe51d', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: filterParam })), h("div", { key: '32dbef16165a0a762ad206eb5ce495b898770052', class: "p-2" }, h("form-control-text", { key: '0d5827915c2962d78975d7c648b874cd8346043d', name: "provider_id", label: "Device ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.providerId || filterParams.provider_id, disabled: !!this.providerId, part: filterParam })), h("div", { key: '01442ae3aeb6613caaadf3e7f92a910970b315da', class: "p-2" }, h("form-control-text", { key: '5b8ab5d31ef77609b8d5656a8e5a4e31c8b010a6', name: "serial_number", label: "Serial Number", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.serialNumber || filterParams.serial_number, disabled: !!this.serialNumber, part: filterParam })), h("div", { key: 'e6b5bae11d8e9e72fe48626ce3663b0c65186700', class: "p-2" }, h("form-control-select", { key: 'df256ff824ae41eb65c2276481d8d6b63d3bc5a5', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status || '', disabled: !!this.terminalStatus, part: filterParam })), h("div", { key: '452b838d823484cb79569fde263228c0b5ac1e04', class: "p-2" }, h("form-control-date", { key: 'cd6705ac2ffce5496382b5ded1973784f863ac4e', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter || filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'fd396d846e420a5f750ce371c04c883a7e478b44', class: "p-2" }, h("form-control-date", { key: '852c044ce6154fc5f4382a0dd55b287e4b6370ac', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore || filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
68
68
|
}
|
|
69
69
|
}, [257, "justifi-terminals-list-filters", {
|
|
70
70
|
"terminalId": [1, "terminal-id"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { r as Terminal, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
|
|
3
3
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
4
4
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
5
5
|
import { T as TerminalService } from './terminal.service.js';
|
|
@@ -17,7 +17,7 @@ import { T as TableClickActions } from './event-types.js';
|
|
|
17
17
|
import './justifi-radio-list-item2.js';
|
|
18
18
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
19
19
|
import { B as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
20
|
-
import {
|
|
20
|
+
import { m as capitalFirstLetter } from './utils2.js';
|
|
21
21
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
|
|
22
22
|
import { d as defineCustomElement$2 } from './pagination-menu2.js';
|
|
23
23
|
|
|
@@ -266,7 +266,7 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
|
|
|
266
266
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
267
267
|
}
|
|
268
268
|
render() {
|
|
269
|
-
return (h(StyledHost, { key: '
|
|
269
|
+
return (h(StyledHost, { key: '6388e9b0b7c6dcedc9f3db534d3a30d0a748929c' }, h(TableWrapper, { key: 'e11b994e16e657aaaa7c6f29197865d0d6bfd1ba' }, h(TableComponent, { key: '340980f75fef37841907835378d9c0ced1992b5c' }, h(TableHead, { key: 'fdd3d1569b6a3df9d5d31fb2cc602ab054529fc6' }, h(TableHeadRow, { key: '440d602ac5746635f92445c6216c807b9b13517e' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: 'ccef66a47be1cfca09f10d450fb7eeaf241a17e0' }, h(TableLoadingState, { key: 'aea6e2f33e07c717f50065c12211f9f2d9266bec', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '7c92ba6cd398bae23587a2e1771bba7b75dc680c', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '3155cf655f5b8e4290e8cabdcdbd534159f22ddd', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'da9172d4bf4439456894b53a0cf13a82081909f0' }, h(TableFootRow, { key: 'e6c0847dc330a0e32228f2020d22bbaf0e4ad439' }, h(TableFootCell, { key: '6761f623d70d13b13e92ec73c9b936d5bf85dd70', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '4b490b5834be42664ebbc27b7c7a1b0c10bd433b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
270
270
|
}
|
|
271
271
|
static get watchers() { return {
|
|
272
272
|
"accountId": ["propChanged"],
|
|
@@ -294,7 +294,7 @@ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
294
294
|
} }));
|
|
295
295
|
}
|
|
296
296
|
render() {
|
|
297
|
-
return (h(StyledHost, { key: '
|
|
297
|
+
return (h(StyledHost, { key: '2d4349f3e5ad632981cdeb14dbe4e483f79379da' }, h("form", { key: '754afee2c5229cf016bd8fc0cf81041cf37270a8' }, h("fieldset", { key: '01867151a09d384e1258ef7f62fbc88c526706cc' }, h("div", { key: '7ba453d4629a0c2ef583daddcb9cf02ac5eee265', class: "row gy-3" }, h("div", { key: '4148f2269c738a00f2684d69d4a83a4ab2424f2b', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'e67b09357571aadfb3d2712f55954506748b3826', class: "col-12" }, h("internal-button", { key: 'c2e805060ff7e9e97144533ffad3b4a02433e792', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
298
298
|
}
|
|
299
299
|
get host() { return this; }
|
|
300
300
|
static get watchers() { return {
|
|
@@ -29,14 +29,14 @@ const OwnerFormInputs = /*@__PURE__*/ proxyCustomElement(class OwnerFormInputs e
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b, _c;
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: 'd2cd6a317c81991b6108751d7fafe6eb0f785572', class: "row gy-3" }, h("div", { key: '58b5f28247b266fb5928a4cc54992978a0382389', class: "col-12 col-md-8" }, h("form-control-text", { key: '8755d9f2c3e4f1753f33f06e96b060e3f1bfb7b8', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'c5930506a02c94b2752a50b1db5d375fe8e73791', class: "col-12 col-md-4" }, h("form-control-text", { key: 'f93c736bd2315bcc33971286303e0eb2c995b83d', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '421d8dce34b3f45dc859aa37de740f1578817ba0', class: "col-12 col-md-6" }, h("form-control-text", { key: '183dcf682886be6c07a6e0f5ff6f3e8ebd5193bc', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '678bc220f7415da8cb83edf303919688cef75c29', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'f763d5b0596926c4044de25f181a8d562ef67d0f', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '958af034510d699ef84d7f22ff755ec088dbe4bc', class: "col-12 col-md-3" }, h("form-control-date", { key: '7a2d6f7dce48e5343296256eb407c638f3505bf6', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '12c82f41a9d60ff5a52e64ea34d69fd24d3102bb', class: "col-12 col-md-3" }, h("form-control-number", { key: '035d4d0d2e036b1a86c2f179f39330b48de26005', name: "ownership_percentage", label: "% of Ownership", defaultValue: (_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ownership_percentage, errorText: this.errors.ownership_percentage, inputHandler: this.inputHandler })), h("div", { key: '108cbb8692dc71b7d038315bf8be3b35efee0fa3', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
33
33
|
this.isEditingIdentification = true;
|
|
34
34
|
// Clear last4 and current value to force validation
|
|
35
35
|
updateFormValues(this.formController, {
|
|
36
36
|
ssn_last4: null,
|
|
37
37
|
identification_number: ''
|
|
38
38
|
});
|
|
39
|
-
} }, "Change"))))), h("div", { key: '
|
|
39
|
+
} }, "Change"))))), h("div", { key: '834b3ffaaec1e2dfec16b278b39e505782c0d785', class: "col-12" }, h("identity-address-form", { key: '7f6f356e116ce4bc1d9014dc7823b86b00af40b6', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
|
|
40
40
|
}
|
|
41
41
|
;
|
|
42
42
|
}, [256, "owner-form-inputs", {
|