@justifi/webcomponents 5.3.4-rc → 5.3.5
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-25d07997.js → Analytics-e91a5523.js} +1 -1
- package/dist/cjs/{Checkout-1c07dc32.js → Checkout-eef27045.js} +11 -6
- package/dist/cjs/{SubAccount-b4811a8e.js → SubAccount-f9069337.js} +70 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-86a6a7f8.js → badge-6abf6ed3.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-aed2ce1a.js} +1 -1
- package/dist/cjs/{check-pkg-version-407ee257.js → check-pkg-version-d19c6fdb.js} +1 -1
- package/dist/cjs/{checkout.service-b23994d2.js → checkout.service-0643396e.js} +2 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +7 -7
- package/dist/cjs/{checkouts-table-cf3e245e.js → checkouts-table-f88ad3c8.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-53c80520.js} +2 -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-74fb8498.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-3cffd918.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-78297c3a.js → get-payout-csv-bdd7d9c0.js} +4 -4
- package/dist/cjs/{get-subaccounts-b2e6ab82.js → get-subaccounts-40c4a0b6.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/{header-1-b202dbbb.js → header-1-cc98bae2.js} +1 -1
- package/dist/cjs/{header-3-5f78acd1.js → header-3-05ce2ad0.js} +1 -1
- package/dist/cjs/{insurance-state-ba0c39a9.js → insurance-state-211cd636.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 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -9
- 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 +6 -6
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +31 -24
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +114 -21
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -12
- 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 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -5
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -25
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-74690e82.js → package-82b16c28.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-c2655003.js → parts-63f60e81.js} +3 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +12 -12
- package/dist/cjs/{payment.service-f53022c3.js → payment.service-23b0dcb8.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +9 -9
- package/dist/cjs/{payments-status-92abe577.js → payments-status-b9192db7.js} +1 -1
- package/dist/cjs/{payments-table-c58e3ca8.js → payments-table-dba2f145.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
- package/dist/cjs/payouts-list-core.cjs.entry.js +9 -9
- package/dist/cjs/{payouts-status-703d62af.js → payouts-status-385a794d.js} +1 -1
- package/dist/cjs/{payouts-table-70fc1498.js → payouts-table-8cd537de.js} +2 -2
- package/dist/cjs/{skeleton-84102a44.js → skeleton-65afa2f5.js} +1 -1
- package/dist/cjs/{spinner-70f38e5e.js → spinner-a95e9b8d.js} +1 -1
- package/dist/cjs/{table-fc82fa81.js → table-ad35ff09.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +61 -8
- package/dist/cjs/terminal-orders-table-8baa5461.js +51 -0
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +36 -0
- package/dist/cjs/terminal.service-2f41898f.js +30 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +8 -8
- package/dist/cjs/{terminals-table-db58a0c0.js → terminals-table-c4c01dc3.js} +6 -4
- package/dist/cjs/{utils-7c5b2837.js → utils-f752bd45.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/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 +6 -0
- package/dist/collection/collection-manifest.json +1 -0
- 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.js +79 -16
- 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/get-payout-csv.js +2 -2
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details.js +21 -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 +18 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +3 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +17 -5
- package/dist/collection/components/terminal-quantity-selector/terminal-quantity-selector-loading.js +5 -0
- package/dist/collection/components/terminal-quantity-selector/terminal-quantity-selector.js +153 -0
- 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 +450 -36
- package/dist/esm/{Analytics-1051e87d.js → Analytics-d0f79dc3.js} +1 -1
- package/dist/esm/{Checkout-919eb1ba.js → Checkout-2bc873fb.js} +6 -1
- package/dist/esm/{SubAccount-9aad3891.js → SubAccount-f31bdeb4.js} +69 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-2eb79416.js → badge-7768a2b1.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-b3d07089.js} +1 -1
- package/dist/esm/{check-pkg-version-cdc4a3de.js → check-pkg-version-2e9f961e.js} +1 -1
- package/dist/esm/{checkout.service-bb45d248.js → checkout.service-020aaf97.js} +2 -2
- package/dist/esm/checkouts-list-core.entry.js +7 -7
- package/dist/esm/{checkouts-table-53981285.js → checkouts-table-974c57ba.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-b234b5c7.js} +2 -2
- 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-923afdfa.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-c7bdd493.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-be3ee3f0.js → get-payout-csv-9528b0a2.js} +4 -4
- package/dist/esm/{get-subaccounts-3af0844a.js → get-subaccounts-212c162d.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-797ca789.js → header-1-649109a3.js} +1 -1
- package/dist/esm/{header-3-544afa0b.js → header-3-ca7bb57b.js} +1 -1
- package/dist/esm/{insurance-state-307335d6.js → insurance-state-e3b48bb2.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 +5 -5
- package/dist/esm/justifi-business-form.entry.js +9 -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 -6
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +10 -10
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +6 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +31 -24
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +115 -22
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +8 -8
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +11 -11
- package/dist/esm/justifi-payout-details.entry.js +11 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +12 -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 +5 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +7 -5
- package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
- package/dist/esm/justifi-terminals-list.entry.js +12 -24
- package/dist/esm/justifi-tokenize-payment-method.entry.js +8 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-8bc1e068.js → package-b9d805ae.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-489f0af6.js → parts-18c966b1.js} +3 -1
- package/dist/esm/payment-details-core.entry.js +12 -12
- package/dist/esm/{payment.service-a8ee345c.js → payment.service-81752187.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +9 -9
- package/dist/esm/{payments-status-35255b2c.js → payments-status-f451caf6.js} +1 -1
- package/dist/esm/{payments-table-6e97396a.js → payments-table-a7836555.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +7 -7
- package/dist/esm/payouts-list-core.entry.js +9 -9
- package/dist/esm/{payouts-status-a0cc00c5.js → payouts-status-bfae9f42.js} +1 -1
- package/dist/esm/{payouts-table-6b8ba8f1.js → payouts-table-55f1a8a3.js} +2 -2
- package/dist/esm/{skeleton-74fbfb68.js → skeleton-ca37b248.js} +1 -1
- package/dist/esm/{spinner-6b708842.js → spinner-30abb9b0.js} +1 -1
- package/dist/esm/{table-e287f1c0.js → table-03e4dfc0.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +61 -8
- package/dist/esm/terminal-orders-table-a340c409.js +47 -0
- package/dist/esm/terminal-quantity-selector.entry.js +32 -0
- package/dist/esm/terminal.service-3c3f2c3f.js +28 -0
- package/dist/esm/terminals-list-core.entry.js +8 -8
- package/dist/esm/{terminals-table-c6258344.js → terminals-table-88549e54.js} +6 -4
- package/dist/esm/{utils-6c26bccc.js → utils-e7df4815.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/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/duplicate-charge.js +9 -14
- package/dist/module/electronic-evidence.js +9 -14
- 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/get-payout-csv.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-checkouts-list-filters.js +4 -4
- package/dist/module/justifi-order-terminals.js +134 -18
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +4 -1
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-refund-form.js +1 -1
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +3 -16
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +3 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +1 -1
- 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 +92 -7
- 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 +28 -0
- package/dist/module/terminals-list-core2.js +5 -3
- package/dist/types/actions/terminal/get-terminal-models.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/payout.service.d.ts +1 -1
- package/dist/types/api/services/terminal.service.d.ts +2 -0
- 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 +12 -2
- package/dist/types/components/payout-details/get-payout-csv.d.ts +2 -1
- package/dist/types/components/payout-details/payout-details.d.ts +1 -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 +4 -3
- package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +16 -5
- package/dist/types/components/terminal-quantity-selector/terminal-quantity-selector-loading.d.ts +1 -0
- package/dist/types/components/terminal-quantity-selector/terminal-quantity-selector.d.ts +17 -0
- package/dist/types/components/terminals-list/terminals-table.d.ts +3 -1
- package/dist/types/components.d.ts +63 -4
- package/dist/types/global.d.ts +1 -0
- package/dist/types/styles/parts.d.ts +2 -0
- package/dist/webcomponents/{p-b57cfe54.entry.js → p-0a271654.entry.js} +1 -1
- package/dist/webcomponents/{p-553dba95.entry.js → p-0ef25316.entry.js} +1 -1
- package/dist/webcomponents/p-0ef50c81.js +1 -0
- package/dist/webcomponents/{p-8b6a3249.entry.js → p-0f85fde5.entry.js} +1 -1
- package/dist/webcomponents/{p-60948775.entry.js → p-0faaae79.entry.js} +1 -1
- package/dist/webcomponents/{p-b2d57b2c.entry.js → p-121e9167.entry.js} +1 -1
- package/dist/webcomponents/p-140836f1.entry.js +1 -0
- package/dist/webcomponents/{p-4fbdf440.entry.js → p-1a9d60b1.entry.js} +1 -1
- package/dist/webcomponents/p-1d019dda.entry.js +1 -0
- package/dist/webcomponents/p-1e3cc191.entry.js +1 -0
- package/dist/webcomponents/p-1fcde0de.entry.js +1 -0
- package/dist/webcomponents/{p-4b718a6c.entry.js → p-229c841e.entry.js} +1 -1
- package/dist/webcomponents/p-2481c1d3.entry.js +1 -0
- package/dist/webcomponents/{p-ebbe93ac.entry.js → p-29988e8f.entry.js} +1 -1
- package/dist/webcomponents/p-31507b3a.entry.js +1 -0
- package/dist/webcomponents/p-348fc9b1.js +1 -0
- package/dist/webcomponents/{p-794cce10.entry.js → p-36060c36.entry.js} +1 -1
- package/dist/webcomponents/{p-1278dedf.js → p-3744006f.js} +1 -1
- package/dist/webcomponents/{p-89ecfbf4.entry.js → p-4014d084.entry.js} +1 -1
- package/dist/webcomponents/p-418ab812.entry.js +1 -0
- package/dist/webcomponents/{p-fea43254.entry.js → p-420d6572.entry.js} +1 -1
- package/dist/webcomponents/{p-0b38cfbf.js → p-45bed1b7.js} +1 -1
- package/dist/webcomponents/{p-235abbd1.entry.js → p-49fc12b2.entry.js} +1 -1
- package/dist/webcomponents/{p-f7d9ea0b.entry.js → p-4a580682.entry.js} +1 -1
- package/dist/webcomponents/p-4bb0d6fd.js +1 -0
- package/dist/webcomponents/{p-ff1f2d65.js → p-4c4a2c48.js} +1 -1
- package/dist/webcomponents/p-4f9a2f1f.js +1 -0
- package/dist/webcomponents/{p-e3e0d791.entry.js → p-54502491.entry.js} +1 -1
- package/dist/webcomponents/{p-9a4d0e1d.entry.js → p-55a6599a.entry.js} +1 -1
- package/dist/webcomponents/{p-5a96a2a2.entry.js → p-566883fb.entry.js} +1 -1
- package/dist/webcomponents/{p-a90d8f4f.entry.js → p-57ddf983.entry.js} +1 -1
- package/dist/webcomponents/p-5bf5f7d7.entry.js +1 -0
- package/dist/webcomponents/p-5dc767d8.js +1 -0
- package/dist/webcomponents/{p-a31ba276.entry.js → p-6501cb6e.entry.js} +1 -1
- package/dist/webcomponents/{p-06f5b709.js → p-66cdd475.js} +1 -1
- package/dist/webcomponents/p-6776df16.js +1 -0
- package/dist/webcomponents/p-6815a6cb.entry.js +1 -0
- package/dist/webcomponents/{p-dfebd7a4.js → p-69ae193c.js} +1 -1
- package/dist/webcomponents/p-76d1036b.entry.js +1 -0
- package/dist/webcomponents/{p-8a7266b4.js → p-77245638.js} +1 -1
- package/dist/webcomponents/p-77e3ed67.js +1 -0
- package/dist/webcomponents/p-7d43c1d6.entry.js +1 -0
- package/dist/webcomponents/{p-e007002a.entry.js → p-7dc34297.entry.js} +1 -1
- package/dist/webcomponents/{p-3ab7a49e.entry.js → p-7e4c84f7.entry.js} +1 -1
- package/dist/webcomponents/{p-09496255.js → p-808f61aa.js} +1 -1
- package/dist/webcomponents/p-834c12a0.entry.js +1 -0
- package/dist/webcomponents/p-8548d8de.js +1 -0
- package/dist/webcomponents/p-867e34b8.entry.js +1 -0
- package/dist/webcomponents/p-8a3f1a56.entry.js +1 -0
- package/dist/webcomponents/p-8a9debac.entry.js +1 -0
- package/dist/webcomponents/p-8b3842ce.js +1 -0
- package/dist/webcomponents/{p-300a99ee.js → p-913d51b9.js} +1 -1
- package/dist/webcomponents/{p-906a6027.js → p-930e2e05.js} +1 -1
- package/dist/webcomponents/p-96a491aa.js +1 -0
- package/dist/webcomponents/{p-5d2d11be.entry.js → p-9a6eacd0.entry.js} +1 -1
- package/dist/webcomponents/{p-4a71c90b.entry.js → p-9d8cf927.entry.js} +1 -1
- package/dist/webcomponents/{p-14f40baa.js → p-9ffed802.js} +1 -1
- package/dist/webcomponents/{p-060896c4.entry.js → p-adf30888.entry.js} +1 -1
- package/dist/webcomponents/p-b0335a17.entry.js +1 -0
- package/dist/webcomponents/{p-939d0a35.entry.js → p-b075211e.entry.js} +1 -1
- package/dist/webcomponents/{p-8b16a20f.js → p-b40bcf59.js} +1 -1
- package/dist/webcomponents/p-b7a407fb.entry.js +1 -0
- package/dist/webcomponents/{p-d398ce81.js → p-b894423f.js} +1 -1
- package/dist/webcomponents/{p-c3ada049.entry.js → p-bc6e3e59.entry.js} +1 -1
- package/dist/webcomponents/p-bc73a554.entry.js +1 -0
- package/dist/webcomponents/{p-59918c9e.entry.js → p-c17af2a4.entry.js} +1 -1
- package/dist/webcomponents/p-c1af1fdb.entry.js +1 -0
- package/dist/webcomponents/{p-5ab25e5d.js → p-ca19fd2e.js} +1 -1
- package/dist/webcomponents/p-ca55be58.js +1 -0
- package/dist/webcomponents/{p-3b680e50.js → p-d019b800.js} +1 -1
- package/dist/webcomponents/{p-020e7d5d.entry.js → p-d37d20ca.entry.js} +1 -1
- package/dist/webcomponents/p-d979d9ea.entry.js +1 -0
- package/dist/webcomponents/p-d981a599.entry.js +1 -0
- package/dist/webcomponents/p-da415c08.entry.js +1 -0
- package/dist/webcomponents/{p-389e1eb7.js → p-daf0303f.js} +1 -1
- package/dist/webcomponents/p-dd535097.js +1 -0
- package/dist/webcomponents/p-e0befd51.js +1 -0
- package/dist/webcomponents/{p-7ee5a90e.entry.js → p-e7d2eba7.entry.js} +1 -1
- package/dist/webcomponents/{p-65880158.entry.js → p-e895bc2a.entry.js} +1 -1
- package/dist/webcomponents/{p-58a3c5a6.entry.js → p-ec3f9d80.entry.js} +1 -1
- package/dist/webcomponents/{p-d432f0fd.entry.js → p-ee991c9e.entry.js} +1 -1
- package/dist/webcomponents/p-f1580c62.js +1 -0
- package/dist/webcomponents/{p-19063270.entry.js → p-f48dd1ef.entry.js} +1 -1
- package/dist/webcomponents/p-fe0399a1.js +1 -0
- package/dist/webcomponents/{p-2e1081d7.entry.js → p-fe439eb2.entry.js} +1 -1
- package/dist/webcomponents/p-fe8be5fa.entry.js +1 -0
- package/dist/webcomponents/p-ffbd95d0.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/terminal-orders-table-61081532.js +0 -18
- package/dist/esm/terminal-orders-table-765c44d5.js +0 -14
- package/dist/webcomponents/p-06d34949.entry.js +0 -1
- package/dist/webcomponents/p-13de2830.entry.js +0 -1
- package/dist/webcomponents/p-1f270bb9.entry.js +0 -1
- package/dist/webcomponents/p-1f4e26f3.entry.js +0 -1
- package/dist/webcomponents/p-2208ab4c.entry.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-39d421c9.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-4b6256e0.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-7746acac.js +0 -1
- package/dist/webcomponents/p-78a204f9.entry.js +0 -1
- package/dist/webcomponents/p-7c541199.entry.js +0 -1
- package/dist/webcomponents/p-82cbcce9.js +0 -1
- package/dist/webcomponents/p-93accc9a.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-ad0fffc5.entry.js +0 -1
- package/dist/webcomponents/p-af945fc0.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-d5c41ec6.js +0 -1
- package/dist/webcomponents/p-e8cd9691.js +0 -1
- package/dist/webcomponents/p-e8fdbc36.entry.js +0 -1
- package/dist/webcomponents/p-e9e80a62.js +0 -1
- package/dist/webcomponents/p-ec019b89.js +0 -1
- package/dist/webcomponents/p-f6aa31bc.entry.js +0 -1
- package/dist/webcomponents/p-f9ff808d.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-2783e363.js";import{c as t,a as i,F as c}from"./p-5844a0f0.js";import{_ as d}from"./p-e8cd9691.js";const s=t({additional_statement:i().nullable()});var o,l;!function(e){e.activity_log="activity_log",e.cancellationPolicy="cancellation_policy",e.customerCommunication="customer_communication",e.customerSignature="customer_signature",e.duplicateChargeDocumentation="duplicate_charge_documentation",e.receipt="receipt",e.refundPolicy="refund_policy",e.serviceDocumentation="service_documentation",e.shippingDocumentation="shipping_documentation",e.uncategorizedFile="uncategorized_file"}(o||(o={}));class n{set presignedUrl(e){this._presignedUrl=e}get presignedUrl(){return this._presignedUrl}async getFileString(){let e="";const a=new Promise(((a,t)=>{const i=new FileReader;i.onload=t=>{e=t.target.result,a(e)},i.onerror=()=>{t(new Error("Error reading file"))},i.readAsDataURL(this._file)}));return await a,e}constructor(e,a){this._file=e,this.file_name=e.name,this.file_type=e.type,this.dispute_evidence_type=a}}!function(e){e.disputeReason="dispute_reason",e.productOrService="product_or_service",e.customerDetails="customer_details",e.cancellationPolicy="cancellation_policy",e.refundPolicy="refund_policy",e.duplicateCharge="duplicate_charge",e.electronicEvidence="electronic_evidence",e.shippingDetails="shipping_details",e.additionalStatement="additional_statement"}(l||(l={}));const r=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[],this.acceptedTerms=!1,this.acceptedTermsErrorText=void 0}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.additionalStatement)))}componentWillLoad(){this.form=new c(s)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e;return a("div",{key:"083f14b645e1e04bdcbf966ae3b7849559c41104"},a("div",{key:"08bfee9d04c586bb56a5a077363f05c39aad1330",class:"row gy-3"},a("div",{key:"d118d863cfd771562eea8ab95027e0c68f78fb83",class:"col-12"},a("h2",{key:"ed467dd3210f8a7f8da11e0c38ab6e2b30cf7137",class:"h5",part:d},"Additional Evidence")),a("div",{key:"aabe0f4f662cd44db39b28d17bd37514aa7e3be0",class:"col-12"},a("form-control-textarea",{key:"ea4c86dd49d91ed386db8e00bf42315813a0ee62",label:"Is there anything else you would like to say about this dispute?",name:"additional_statement",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.additional_statement,inputHandler:this.inputHandler,errorText:this.errors.additional_statement})),a("div",{key:"a9279734278c970e210795ca6a52c1fd9e44de91",class:"col-12"},a("form-control-file-v2",{key:"edc1e80a9a2115ca0b0aacaf43bec320edcce150",label:"Additional files",name:"uncategorized_file",multiple:!0,helpText:"Upload any additional pieces of evidence that have not already been provided.",onChange:this.handleFileSelection}))))}},f=t({cancellation_policy_disclosure:i().nullable(),cancellation_rebuttal:i().nullable()}),b=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.cancellationPolicy)))}componentWillLoad(){this.form=new c(f)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"a3547f9f1e7f9a00e08a63302138574b1e21ac77"},a("div",{key:"5cb90af6d52f208e70e82abe7486f8f02320b94b",class:"row gy-3"},a("div",{key:"b042e320b7017a836f0d075ca9131dfeaf696eaf",class:"col-12"},a("h2",{key:"6d055390874e5679f073a4641933aa979864c916",class:"h5",part:d},"Cancellation Policy")),a("div",{key:"d05a7f01f33b16b887fcd08d8dbccd6656286cc6",class:"col-12"},a("form-control-textarea",{key:"d6a09e94f42aee41d7147be39df6cd1771ea4b36",label:"Cancellation Policy Disclosure",name:"cancellation_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.cancellation_policy_disclosure,inputHandler:this.inputHandler,errorText:this.errors.cancellation_policy_disclosure})),a("div",{key:"4d72c534c23013caa94ba3f61a3570f742194c45",class:"col-12"},a("form-control-textarea",{key:"b63ddec49b8ca7e10b1a7003d6cbab7e22c667d6",label:"Cancellation Rebuttal",name:"cancellation_rebuttal",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.cancellation_rebuttal,inputHandler:this.inputHandler,errorText:this.errors.cancellation_rebuttal})),a("div",{key:"13f3dddacbf160789af2364455e138ea156929b9",class:"col-12"},a("form-control-file-v2",{key:"9f950b05c37edf21f342ef880d0c784df93b11d5",label:"Upload Cancellation Policy",name:"cancellation_policy_file",onChange:this.handleFileSelection}))))}},h=t({customer_name:i().nullable(),customer_email_address:i().nullable(),customer_billing_address:i().nullable()}),u=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.customerDetails)))}componentWillLoad(){this.form=new c(h)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"7c8bb0293eee2006e4e8e7aa65a692b3ce211c43"},a("div",{key:"677de6f4bbf636dbbba97f5a188b076985fc6f0a",class:"row gy-3"},a("div",{key:"b1044548517ab9bc2f8a873965e1f81fd98a6216",class:"col-12"},a("h2",{key:"e3c6706441eee0adbfdf540528511353686d1fb9",class:"h5",part:d},"Customer Details")),a("div",{key:"2e5e5eda8c07941358a02430aa06bcd4ce13a5ca",class:"col-12"},a("form-control-text",{key:"6271fd7c5def3e501501f5a8af00bcbc77b5e67d",label:"Full Name",name:"customer_name",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_name,inputHandler:this.inputHandler,errorText:this.errors.customer_name})),a("div",{key:"4347830601eda422e863cbdd70cf4d9862d19fb2",class:"col-12"},a("form-control-text",{key:"4dbb512ac5a81de067d2fb9c2b9edeffda1f199b",label:"Email",name:"customer_email_address",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.customer_email_address,inputHandler:this.inputHandler,errorText:this.errors.customer_email_address})),a("div",{key:"ee16ae4bd2ea9c4e3949af9705e05fd6709b7f5d",class:"col-12"},a("form-control-textarea",{key:"d2339c6ebc8ffbe24f68ce079f0d623f7107cf29",label:"Billing Address",name:"customer_billing_address",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.customer_billing_address,inputHandler:this.inputHandler,errorText:this.errors.customer_billing_address})),a("div",{key:"eff1fb76a8cab96b0fba6e7b8a1aab2b6dc405e7",class:"col-12"},a("form-control-file-v2",{key:"ece727a3d010e0ba4741874992ed3e92d711b338",label:"Customer Signature",name:"customer_signature",onChange:this.handleFileSelection})),a("div",{key:"b585af6033d79e16a71ff8ff9ee34176910ae109",class:"col-12"},a("form-control-file-v2",{key:"74473ea1ac14a7efaa4a0032bea1d2c4b5ca6339",label:"Customer Communication",name:"customer_communication",onChange:this.handleFileSelection}))))}},v=t({duplicate_charge_original_payment_id:i().nullable(),duplicate_charge_explanation:i().nullable()}),p=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.duplicateCharge)))}componentWillLoad(){this.form=new c(v)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"3714de9262cead1d09db56792ba11b3357f54a0a"},a("div",{key:"10d1612387d0d5085a1e98b761a59eff4fb8d9a9",class:"row gy-3"},a("div",{key:"b69b5b378e9104c5aa413a7099868b8376dac04c",class:"col-12"},a("h2",{key:"39c935c74773c20de95b7f735e7efc11e1b16618",class:"h5",part:d},"Duplicate Charge")),a("div",{key:"63531ffa973de2f6948ad61091467661cd22c917",class:"col-12"},a("form-control-text",{key:"8a1346115f3e3c1e12e6b6fc50d816829dd218f6",label:"Original Payment ID",name:"duplicate_charge_original_payment_id",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.duplicate_charge_original_payment_id,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_original_payment_id})),a("div",{key:"7f6f5ba85681e208d2c5727c1d3d6512e43df99a",class:"col-12"},a("form-control-textarea",{key:"4265b06d5980c7bea096c001f52d80180c20fec5",label:"Duplicate Charge Explanation",name:"duplicate_charge_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.duplicate_charge_explanation,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_explanation})),a("div",{key:"9bdfeb8fd8d334de4bf51d10e76752a28d54ff55",class:"col-12"},a("form-control-file-v2",{key:"03062c1a7e8e2dc98cc8b43394562720843d4956",label:"Duplicate Charge Documentation",name:"duplicate_charge_documentation",onChange:this.handleFileSelection}))))}},m=t({customer_purchase_ip_address:i().nullable()}),y=class{constructor(a){e(this,a),this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.electronicEvidence)))}componentWillLoad(){this.form=new c(m)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e;return a("div",{key:"a75975ee478e0754c38e67edd1fbf702364f23a7"},a("div",{key:"32f60518951cd7270901c50b44acf11bde22a041",class:"row gy-3"},a("div",{key:"8f3aed3249af4852b3ef9d35b5ad09b80947c5b3",class:"col-12"},a("h2",{key:"7fee82b939aab2131eb573fcf3189aac8a816e7d",class:"h5",part:d},"Electronic Evidence")),a("div",{key:"db919599078f089e70b182b44980a62588ce90cf",class:"col-12"},a("form-control-text",{key:"ea3e78ebe16d9def88b08910a700f01f5f5e0992",label:"Purchase IP Address",name:"customer_purchase_ip_address",helpText:"The IP address used by the customer during the purchase.",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_purchase_ip_address,inputHandler:this.inputHandler,errorText:this.errors.customer_purchase_ip_address})),a("div",{key:"e4d03c158110ef7d10bf290b036536bc654f36ea",class:"col-12"},a("form-control-file-v2",{key:"a87c4d1502434b740e41e01a3ddc33d5d069557d",label:"Activity Logs",name:"activity_log",helpText:"Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.",onChange:this.handleFileSelection,errorText:this.errors.activity_log}))))}},_=t({product_description:i().nullable(),service_date:i().nullable()}),k=class{constructor(a){e(this,a),this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.productOrService)))}componentWillLoad(){this.form=new c(_)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"5a6f2b3a9c40e31c2be9a0c98abb64793ac37996"},a("div",{key:"7ff77c4cba89dad5195aed658a13f559953f9632",class:"row gy-3"},a("div",{key:"407d0c1d31ec876fcd1a7ba0f160caeecf8ea2f6",class:"col-12"},a("h2",{key:"6da19469c4d0570d666e7d57144f60a7c2ec0a53",class:"h5",part:d},"Product & Service Details")),a("div",{key:"35c1de85ef91b00d26231c836f9ea56cb1b83a44",class:"col-12"},a("form-control-text",{key:"48027fd45015c44bf0a15b53bba6976422002d4f",label:"Product Description",name:"product_description",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.product_description,inputHandler:this.inputHandler,errorText:this.errors.product_description})),a("div",{key:"96966b5a210ac7c21b7c39d12967619044227055",class:"col-12"},a("form-control-text",{key:"ed1d72fd0768e58df68f3df48f1e7d4ed2c6a9ed",label:"Service Date",name:"service_date",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.service_date,inputHandler:this.inputHandler,errorText:this.errors.service_date})),a("div",{key:"74b8735faf5261fd631539c0447903b9c94abd1b",class:"col-12"},a("form-control-file-v2",{key:"24273cc84eded001b7224aa3c413c444f8697798",label:"Service Documentation",name:"service_documentation",onChange:this.handleFileSelection,errorText:this.errors.service_documentation}))))}},g=t({refund_policy_disclosure:i().nullable(),refund_refusal_explanation:i().nullable()}),x=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.refundPolicy)))}componentWillLoad(){this.form=new c(g)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"703c5efe2968f84e6cc83ee725c23170076d43b5"},a("div",{key:"c04272ce41b0591b3f03f469ff531bc90de82c73",class:"row gy-3"},a("div",{key:"e50b1bfe25275aafcbc1ba2a78e1c64957744808",class:"col-12"},a("h2",{key:"0f61003e430d370024f9f81b67755feb24646b62",class:"h5",part:d},"Refund Policy and Receipt")),a("div",{key:"e6e6b3154767c841dcdcd77766fccd2403d19512",class:"col-12"},a("form-control-textarea",{key:"2d57333ac337dd0045dbfc764e85a9d5ae3a4d7e",label:"Refund Policy Disclosure",name:"refund_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.refund_policy_disclosure,inputHandler:this.inputHandler})),a("div",{key:"bf37aa030c4d45a75899a7933bb3fe13729a5507",class:"col-12"},a("form-control-textarea",{key:"cd5c88fc04d6b8f0489b080eacc81b2e301e0480",label:"Refund Refusal Explanation",name:"refund_refusal_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.refund_refusal_explanation,inputHandler:this.inputHandler})),a("div",{key:"7bad042eda98c6f94772734708046de75946b48f",class:"col-12"},a("form-control-file-v2",{key:"ff350d9ea2dc50b7b306c2127384732816576865",label:"Upload Refund Policy",name:"refund_policy",onChange:this.handleFileSelection})),a("div",{key:"3dbd9e591e6a38ba57fa4bddb5f876c50b480a78",class:"col-12"},a("form-control-file-v2",{key:"fd6df99ca40e36ba36be6ab127f104506697e623",label:"Upload Receipt",name:"receipt",onChange:this.handleFileSelection}))))}},j=t({shipping_carrier:i().nullable(),shipping_tracking_number:i().nullable(),shipping_date:i().nullable(),shipping_address:i().nullable()}),w=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.shippingDetails)))}componentWillLoad(){this.form=new c(j)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c;return a("div",{key:"67cfe365cdb518bfd098502e11d24fff63581052"},a("div",{key:"6adf6e14084452e52cfa6bce8433c3531e7e5a95",class:"row gy-3"},a("div",{key:"2ea11029c2d0c3f7c1bd75ea52f50a84cf4a23c7",class:"col-12"},a("h2",{key:"ca0e8158b9c7b31bd627ad48dab5c6f59e8c33b9",class:"h5",part:d},"Shipping Details")),a("div",{key:"71a3ff8825b1d824d262cf78e1ce226cc265453b",class:"col-12"},a("form-control-text",{key:"b1436af6043ec687d245b923d0df7605a47bb9d5",label:"Shipping Carrier Name",name:"shipping_carrier",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.shipping_carrier,inputHandler:this.inputHandler,errorText:this.errors.shipping_carrier})),a("div",{key:"3d163ebab9371d6ba03f7859c851518c2b9c42e0",class:"col-12"},a("form-control-text",{key:"b37976e6a54dc322cfbfb44081dd57e6425cba9c",label:"Tracking Number",name:"shipping_tracking_number",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.shipping_tracking_number,inputHandler:this.inputHandler,errorText:this.errors.shipping_tracking_number})),a("div",{key:"3476796fbca30f969fe71da1c049dc83ed691891",class:"col-12"},a("form-control-date",{key:"ba734764e4702ee2f1846f3f580cdbf0e7156ff6",label:"Date Shipped",name:"shipping_date",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.shipping_date,inputHandler:this.inputHandler,errorText:this.errors.shipping_date})),a("div",{key:"8f2690c1f1fddaad3915f1b8aca5f934a45b5f71",class:"col-12"},a("form-control-textarea",{key:"dd26eedba648b038e2b414825d7f26c1a326db2f",label:"Shipping Address",name:"shipping_address",defaultValue:null===(c=this.disputeResponse)||void 0===c?void 0:c.shipping_address,inputHandler:this.inputHandler,errorText:this.errors.shipping_address})),a("div",{key:"ce3e63025adfe560a466522411d93968d8abd420",class:"col-12"},a("form-control-file-v2",{key:"099d48a3c6b2b7999442e1a0609c4fdac2f67c66",label:"Shipping Documentation",name:"shipping_documentation",onChange:this.handleFileSelection}))))}};export{r as justifi_additional_statement,b as justifi_cancellation_policy,u as justifi_customer_details,p as justifi_duplicate_charge,y as justifi_electronic_evidence,k as justifi_product_or_service,x as justifi_refund_policy,w as justifi_shipping_details}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as t}from"./p-2ca5b5e4.js";var s,i,h,e,n,a;!function(t){t.paid="paid",t.failed="failed",t.forwarded="forwarded",t.scheduled="scheduled",t.in_transit="in_transit",t.canceled="canceled"}(s||(s={})),function(t){t.paid="Paid",t.failed="Failed",t.forwarded="Forwarded",t.scheduled="Scheduled",t.in_transit="In Transit",t.canceled="Canceled"}(i||(i={}));class d{constructor(t){this.id=t.id,this.account_id=t.account_id,this.currency=t.currency,this.amount=t.amount,this.bank_account=t.bank_account,this.delivery_method=t.delivery_method||"standard",this.description=t.description,this.deposits_at=t.deposits_at,this.fees_total=t.fees_total,this.refunds_count=t.refunds_count,this.refunds_total=t.refunds_total,this.payments_count=t.payments_count,this.payments_total=t.payments_total,this.payout_type=t.payout_type,this.other_total=t.other_total,this.status=t.status,this.metadata=t.metadata,this.created_at=t.created_at,this.updated_at=t.updated_at}formattedPaymentAmount(s){return t(s,this.currency)}}!function(t){t.connected="connected",t.disconnected="disconnected",t.unknown="unknown"}(h||(h={})),function(t){t.verifone="verifone"}(e||(e={}));class c{constructor(t){this.id=t.id||"",this.status=t.status,this.account_id=t.account_id||"",this.platform_account_id=t.platform_account_id||"",this.provider=t.provider||"",this.provider_id=t.provider_id||"",this.created_at=t.created_at||"",this.updated_at=t.updated_at||"",this.verified_at=t.verified_at||"",this.nickname=t.nickname||""}}!function(t){t.test="test",t.live="live"}(n||(n={})),function(t){t.created="created",t.submitted="submitted",t.information_needed="information_needed",t.rejected="rejected",t.enabled="enabled",t.disabled="disabled",t.archived="archived"}(a||(a={}));class o{constructor(t){this.id=t.id,this.name=t.name,this.account_type=t.account_type,this.status=t.status,this.currency=t.currency,this.platform_account_id=t.platform_account_id,this.payout_account_id=t.payout_account_id,this.business_id=t.business_id,this.application_fee_rates=t.application_fee_rates,this.processing_ready=t.processing_ready,this.payout_ready=t.payout_ready,this.related_accounts=t.related_accounts,this.created_at=t.created_at,this.updated_at=t.updated_at}}export{h as I,d as P,o as S,c as T}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as s}from"./p-2783e363.js";import"./p-9dd8685c.js";import"./p-389e1eb7.js";import{p as a}from"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-42a48c59.js";import"./p-61f0a2ce.js";import{Q as i,R as r}from"./p-e8cd9691.js";import{T as c,a as h,b as o,c as p}from"./p-d398ce81.js";import{p as d,a as n}from"./p-1278dedf.js";import{o as f,g as b}from"./p-dec18cc4.js";import{T as m}from"./p-1f99a902.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";import"./p-ec019b89.js";import"./p-09496255.js";import"./p-3b680e50.js";import"./p-f20b6ce1.js";const l=class{constructor(s){t(this,s),this.clickEvent=e(this,"click-event",7),this.errorEvent=e(this,"error-event",7),this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:m.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:m.next})},this.rowClickHandler=t=>{const e=t.target.closest("tr").dataset.rowEntityId;if(!e)return;const s=this.payments.find((t=>t.id===e));this.clickEvent.emit({name:m.row,data:s})},this.getPayments=void 0,this.columns=void 0,this.payments=[],this.paymentsTable=void 0,this.loading=!0,this.errorMessage=void 0,this.paging=a,this.pagingParams={}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.paymentsTable=new c(this.payments,this.columns,d,n),this.getPayments&&this.fetchData(),f("set",(()=>{this.pagingParams={}})),f("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getPayments({params:this.paymentParams,onSuccess:({payments:t,pagingInfo:e})=>{this.payments=t,this.paging=e,this.paymentsTable.collectionData=this.payments},onError:({error:t,code:e,severity:s})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:e,message:t,severity:s})},final:()=>{this.loading=!1}})}get paymentParams(){const t=b();return Object.assign(Object.assign({},t),this.pagingParams)}get entityId(){return this.payments.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.paymentsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return s("div",{key:"6f153085c08ed8db1508964f360f879ec5310635"},s("div",{key:"ca4e487642561cbf859aa30f74dc1aae00d3642c",class:"table-wrapper"},s("table",{key:"0982554e856be77813a087baa93835cd43c3b6e1",class:"table table-hover",part:i},s("thead",{key:"e5eb661667dea89b13524676423758cf79d20765",class:"table-head sticky-top"},s("tr",{key:"290dd81536e2b03f3020c72937a559aca0cef884",class:"table-light text-nowrap"},this.paymentsTable.columnData.map((t=>t)))),s("tbody",{key:"bee3b0671e9d6f71a87d8b9f880a1630db2335ec",class:"table-body"},s(h,{key:"a9e4a373e3eadc449f4b040c1eec2e902cfe7fef",columnSpan:this.paymentsTable.columnData.length,isLoading:this.loading}),s(o,{key:"240af4b959cd5a55518c0fd6a025648291e63c29",isEmpty:this.showEmptyState,columnSpan:this.paymentsTable.columnData.length}),s(p,{key:"d6e704fd8f9d6f1717537e45e0c3743e78df38be",columnSpan:this.paymentsTable.columnData.length,errorMessage:this.errorMessage}),this.showRowData&&this.paymentsTable.rowData.map(((t,e)=>s("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[e],onClick:this.rowClickHandler},t)))),this.paging&&s("tfoot",{key:"889f70d9eb4f7e92e29735ba6a5ddb43d622a511",class:"sticky-bottom"},s("tr",{key:"7f352e5ea2338b1209046bab5328580d1ef80e12",class:"table-light align-middle"},s("td",{key:"310bf61ff6730cdc4a2fe83e4297b9f055981abc",part:r,colSpan:this.paymentsTable.columnData.length},s("pagination-menu",{key:"66bcae57f189313b7596133c1a91e0cf43173fef",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{pagingParams:["updateOnPropChange"],getPayments:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{l as payments_list_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e,r as a,c as t}from"./p-2783e363.js";import{b as s,a as d,s as i}from"./p-2ca5b5e4.js";import{M as c}from"./p-09496255.js";import{a as f,b,D as l,c as h,C as r,E as o}from"./p-8b16a20f.js";import{S as y}from"./p-bfe9748b.js";import{S as n}from"./p-e9e80a62.js";import"./p-3b680e50.js";import"./p-e8cd9691.js";const v=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(n,{width:"35%",height:"30px"})),e("div",{class:"col-12"},e(n,{width:"70%"})),e("div",{class:"col-12"},e(n,{width:"40%"})),e("div",{class:"col-12"},e(n,{width:"40%"})),e("div",{class:"col-12"},e(n,{width:"100%"})),e("div",{class:"col-12"},e(n,{width:"80%"}))),k=class{constructor(e){a(this,e),this.errorEvent=t(this,"error-event",7),this.getPaymentDetails=void 0,this.payment=void 0,this.loading=!0,this.errorMessage=void 0}componentWillLoad(){this.getPaymentDetails&&this.fetchData()}updateOnPropChange(){this.fetchData()}fetchData(){this.loading=!0,this.getPaymentDetails({onSuccess:({payment:e})=>{this.payment=e,this.loading=!1,this.errorMessage=null},onError:({error:e,code:a,severity:t})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:a,message:e,severity:t}),this.loading=!1}})}render(){return e(y,{key:"e03ea25b2d3a3388a613cc6fedd8912bb5092d63"},this.loading&&e(v,{key:"3343cc38deec7b87b2466b3bc43c0170a1962625"}),!this.loading&&this.errorMessage&&o(this.errorMessage),!this.loading&&!this.errorMessage&&this.payment&&e("justifi-details",{key:"18e494e5cb1aaed74ec35dfff5c659061d30cb82","error-message":this.errorMessage},e(f,{key:"466e6c0105eb09485907674aec32752001949e53",slot:"head-info",badge:c(this.payment.status),title:this.payment.formattedPaymentAmount(this.payment.amount)},e(b,{key:"4da3f6800f98c2af8dfa6bae1ef464752aba14be",classes:"border-1 border-end",title:"Updated At",value:`${s(this.payment.updated_at)} ${d(this.payment.updated_at)}`}),e(b,{key:"99a9e776d1dfc3ecf5de3d484212930824ebf4e2",classes:"border-1 border-end",title:"Created At",value:`${s(this.payment.created_at)} ${d(this.payment.created_at)}`}),e(b,{key:"55795658b170234f9f94ed97dbf45c9727f865fc",title:"ID",value:this.payment.id})),e("div",{key:"2b17cd70a0b8abe36596a61f8bf0c6ae039db579",slot:"detail-sections"},e(l,{key:"a663bf74079da6a51ec611addf2adb25b8e4c950",sectionTitle:"Details"}),e("div",{key:"48b0e215500c30da77c3cc1f8f46199bda52dc24",class:"d-table gap-2 w-100"},e(h,{key:"d8311d8cf23d4e66effc7e2f86aa0bb56456f7ec",title:"Amount",value:this.payment.formattedPaymentAmount(this.payment.amount)}),e(h,{key:"7084b4469a769fed1499f5c6cfd50e6caa88a1a5",title:"Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"40546b209614c410ff5725a01a60bbfde70cd4f6",title:"Refunded",value:this.payment.formattedPaymentAmount(this.payment.amount_refunded)}),e(h,{key:"d933346f3518d423b278a1ac41e603399c2c8b8b",title:"Net",value:this.payment.formattedPaymentAmount(this.payment.balance)}),e(h,{key:"f89fb7d083501dbdf481f63d0a587a6323a3fd6e",title:"Status",value:c(this.payment.status)}),e(h,{key:"a2494f54c8a4f1792f373adf6a6e1dbab3e5798d",title:"Payment ID",value:this.payment.id}),e(h,{key:"80a1118c3043a91d37bbb3da26a9fbdcf3d3b7ee",title:"Processing Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"7787c8d9713ace6113c4685d2ea2279e570849eb",title:"Statement Descriptor",value:this.payment.statement_descriptor}),e(h,{key:"7e12595f71d7dd2f85b8d332aa349d90df595727",title:"Description",value:this.payment.description})),this.payment.payment_method.card&&[e(l,{key:"9150caced60639279da39a84db67eef97199d78d",sectionTitle:"Payment Method"}),e("div",{key:"5add69653bc6838ed1f1792217c04cf289f1a2f0",class:"d-table gap-2 w-100"},e(h,{key:"8dd22e082c3e4aa0b2836ee8e533d8dc63452498",title:"ID",value:this.payment.payment_method.card.id}),e(h,{key:"c8130661f5684b91db68b4c9d8a45518e610d17b",title:"Payment Type",value:"Card"}),e(h,{key:"f47a9d1689f67133bb9183e88830dff7b4ef64e8",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),e(h,{key:"9101ce4f03dbb78d9c4f825c3747871c275c7a86",title:"Brand",value:i(this.payment.payment_method.card.brand)}),e(h,{key:"93f34140d96fae056674b1767219ae94164160c7",title:"Cardholder",value:this.payment.payment_method.payersName}))],this.payment.payment_method.bank_account&&[e(l,{key:"67cf738bc3e636aeaf97f0d66046d515ea096a50",sectionTitle:"Payment Method"}),e("div",{key:"89d17e5925ad5057972f9bf11f558ff008409004",class:"d-table gap-2 w-100"},e(h,{key:"31ee0758b992bbe2672ac02a699cb6ad8c3f6631",title:"ID",value:this.payment.payment_method.bank_account.id}),e(h,{key:"43a23b3ea5c53a56b5888a798f0195f84933588b",title:"Last 4 Numbers",value:this.payment.last_four_digits}),e(h,{key:"79572125fe01f0bcd1d029dc36a723fac6bf7ceb",title:"Bank Name",value:this.payment.payment_method.bank_account.brand}),e(h,{key:"76633c06b486c6b2315ff6062d2beab0f4531a6d",title:"Account Owner",value:this.payment.payment_method.payersName}))],e(l,{key:"f537f98a91e780c460052a7530ffb5fadc077562",sectionTitle:"Metadata"}),e("div",{key:"324a3eb360ff1091154907f996cfd3f406f8c4d6",class:"d-table gap-2 w-100"},e(r,{key:"b52628f75fa99b719d7ad150cb678d686e77f3bf",metadata:this.payment.metadata})))))}static get watchers(){return{getPaymentDetails:["updateOnPropChange"]}}};export{k as payment_details_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-2783e363.js";import{f as t,p as s,c}from"./p-ab45511e.js";import{K as r,L as f,M as d}from"./p-e8cd9691.js";import{S as o}from"./p-bfe9748b.js";import{d as i,c as b}from"./p-2ca5b5e4.js";import"./p-f20b6ce1.js";const p=class{constructor(a){e(this,a),this.setParamsOnChange=(e,a)=>{t[e]=a},this.handleDateInput=(e,a)=>{const t=i(a,{setEndOfDay:!0});this.setParamsOnChange(e,t)},this.createdAfter=void 0,this.createdBefore=void 0}componentWillLoad(){Object.entries({created_after:this.createdAfter,created_before:this.createdBefore}).forEach((([e,a])=>{a&&(s[e]=a)}))}render(){const e=Object.assign({},t);return a(o,{key:"195227f14aa0fc371cc2ceb62089b26df8491525"},a("table-filters-menu",{key:"86cc1b04b210cf0cd3fc422438b1cdfc7c0b4242",params:e,clearParams:c,part:r},a("div",{key:"c75c167f849c5f0558bf7b0569f6f79083b858f0",class:"grid-cols-2 gap-3 p-1"},a("div",{key:"09d46810296de9dc272f66ce2bd3ba726ebc6386",class:"p-2"},a("form-control-date",{key:"0bbd9294c788f2dada3e8630e32619e1730f7b40",name:"created_after",label:"Created After",inputHandler:this.handleDateInput,defaultValue:b(this.createdAfter,{showInputDate:!0})||b(t.created_after,{showInputDate:!0}),disabled:!!this.createdAfter,part:f})),a("div",{key:"c238988bd2b31b0374e515713fc2c55f59d6f9ba",class:"p-2"},a("form-control-date",{key:"188106d28d4ac201e48b45e3ce417f26621af46a",name:"created_before",label:"Created Before",inputHandler:this.handleDateInput,defaultValue:b(this.createdBefore,{showInputDate:!0})||b(t.created_before,{showInputDate:!0}),disabled:!!this.createdBefore,part:d})))))}};export{p as justifi_payouts_list_filters}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as e,H as s}from"./p-2783e363.js";import{E as f}from"./p-56f6ce4c.js";import{ad as c,ae as i}from"./p-e8cd9691.js";const b=class{constructor(e){a(this,e),this.paging=f,this.params={}}render(){return e(s,{key:"7a4cfcfa7d9329e8d4026cd6bdc15c3251f004d6"},e("nav",{key:"203b5ffeb3f4a167aa9448ac6075fd7a1ac15ef7","aria-label":"Table pagination",class:"d-flex justify-content-end gap-3"},e("ul",{key:"e302f939560131ade67b0f9d4135fa04ff485d09",class:"pagination m-0"},e("li",{key:"b3e2ba7b66e5de597a3233ee036d4d1ef2930689",class:"page-item "+(this.paging.has_previous?"":" disabled")},e("a",{key:"1f358b34fbaa7f140c1ee15ef6ee8d6f9b87407f",href:"#",class:"page-link",onClick:a=>{a.preventDefault(),this.paging.handleClickPrevious(this.paging.start_cursor)},part:this.paging.has_previous?c:i},e("span",{key:"daffe0c0ffb7265cd769bbf27fef42c37e86300d",class:"me-1"},"«"),e("span",{key:"2c42b74352aa7a79ac6bc231cdd828b7a62f5083"},"Previous"))),e("li",{key:"2707ab481b124351479dbc5e4b270a60f8e0cb9e",class:"page-item "+(this.paging.has_next?"":" disabled")},e("a",{key:"f97ea7a812ba9b0066cd5e75ab45bff152708b63",href:"#",class:"page-link",onClick:a=>{a.preventDefault(),this.paging.handleClickNext(this.paging.end_cursor)},part:this.paging.has_next?c:i},e("span",{key:"a850314028161b5a04618ffc5515603ea7203a0a"},"Next"),e("span",{key:"643097228302500411ca0c4a932d8067074a15d2",class:"ms-1"},"»"))))))}};export{b as pagination_menu}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e={name:"@justifi/webcomponents",version:"5.3.4-rc",description:"JustiFi Web Components",collection:"dist/collection/collection-manifest.json",main:"dist/index.cjs.js",module:"dist/module/index.js",types:"dist/module/index.d.ts",repository:{type:"git",url:"git+https://github.com/justifi-tech/web-component-library.git"},homepage:"https://storybook.justifi.ai/?path=/docs/introduction--docs",publishConfig:{registry:"https://registry.npmjs.org"},files:["dist/"],scripts:{build:"stencil build --docs",dev:"stencil build --watch",lint:"eslint . --max-warnings 0",clean:"rm -rf .turbo && rm -rf node_modules && rm -rf dist",generate:"stencil generate",test:"TZ=utc stencil test --spec","test:watch":"TZ=utc stencil test --spec --watchAll","test:file":"stencil test --spec --watch --"},dependencies:{"@popperjs/core":"^2.11.8","@stencil/core":"^4.0.5","@stencil/store":"^2.0.8",bootstrap:"^5.2.3","chart.js":"^4.4.1","date-fns":"^2.30.0","dinero.js":"^1.9.1","iframe-resizer":"^4.3.7",imask:"^7.6.0",lodash:"^4.17.21",rxjs:"^7.8.1","ts-dedent":"^2.2.0",uuid:"^9.0.0",yup:"^1.0.0"},devDependencies:{"@babel/preset-env":"^7.21.5","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.21.5","@rollup/plugin-replace":"^6.0.1","@stencil/sass":"^3.0.1","@types/jest":"27.0.3","@types/react":"^18.0.37","@types/react-dom":"^18.0.11",dotenv:"^16.3.1",jest:"^29.7.0","jest-cli":"^29.7.0","jest-environment-node":"^29.7.0","ts-jest":"^29.1.2"},license:"MIT",gitHead:"507bac1d941eae6e1f56e185ecd9bc9d22637783"};export{e as p}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-2783e363.js";import{B as a}from"./p-06f5b709.js";import{$ as s}from"./p-e8cd9691.js";const r=e=>{const t=["after_cursor","before_cursor"];return!!Object.keys(e).filter((e=>!t.includes(e))).length},d=class{constructor(t){e(this,t),this.anchorButton=void 0,this.menu=void 0,this.showClearButton=!1,this.params=void 0,this.clearParams=void 0}watchParamsHandler(e){this.showClearButton=r(e)}show(){this.menu.classList.add("show")}hide(){this.menu.classList.remove("show")}componentWillLoad(){this.showClearButton=r(this.params)}render(){return t("div",{key:"b55be2aa2f9d4677989da12bb114f620a9ec2e45",class:"d-flex gap-2"},t("div",{key:"dffb2be68ead3abb60a8740869e48bb48bbf558c",class:"dropdown pb-3"},t(a,{key:"2e7b2d3afc80963abfe9c8c2690a61b911a1b747",variant:"primary",type:"button dropdown-toggle",ref:e=>this.anchorButton=e,class:"btn btn-primary dropdown-toggle","data-test-id":"open-filters-button","data-bs-toggle":"dropdown"},"Filters"),t("custom-popper",{key:"9e2b1b988bc5440f18d26c5b8402f5e30e73cdad",offset:[20,10],strategy:"fixed",anchorRef:this.anchorButton,trigger:"click"},t("form",{key:"573161a7515d1b16665138ba739133379b9b6850",class:"dropdown-menu",part:s,"data-test-id":"filter-menu",ref:e=>this.menu=e,onSubmit:e=>e.preventDefault()},t("slot",{key:"9597e79f125e1e41c343fa3d2d583b5cf7ab9c31"})))),t("div",{key:"67ed29ac8e10f3ae1380514ae1a1e1e8aed7d9b6"},t(a,{key:"9b3dc6176c11226e82ecb1f9f88705ad40bf6e32",variant:"secondary",onClick:()=>this.clearParams(),hidden:!this.showClearButton,"data-test-id":"clear-filters-button"},"Clear Filters")))}static get watchers(){return{params:["watchParamsHandler"]}}};export{d as table_filters_menu}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as s,g as a}from"./p-2783e363.js";import{i as o,b as r,a as h,a1 as l,c as d,l as n}from"./p-e8cd9691.js";const c=class{constructor(i){t(this,i),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.files=void 0,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.multiple=void 0,this.inputHandler=void 0,this.disabled=void 0}render(){return i(s,{key:"68bfcee3ae8e8baa627c2e03731de655f7a29ef5",exportparts:"label,input,input-invalid"},i("div",{key:"a63ff9900d7612d933e35a0fd95335e8abc45ea7",class:"form-group d-flex flex-column"},i("div",{key:"74124ffdbf2ac3c28299a78469f387c494140db5",class:"d-flex align-items-start gap-2"},i("label",{key:"ec6c237392b1b520a5aab9c6f6a9cb328613e663",part:"label",class:"form-label",htmlFor:this.name},this.label),i("form-control-tooltip",{key:"60f734ebac8d88e2e2775deb0433e2dfe3002402",helpText:this.helpText})),i("input",{key:"2859f4d46dcd5a666017fdb6ae0f10a266bdea4a",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()}),i("form-control-error-text",{key:"c667c4882412d5d43b60beae55e3ebab2c43f07d",errorText:this.errorText,name:this.name})))}get el(){return a(this)}},f=class{constructor(i){t(this,i),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.handleFormControlInput=t=>{const e=t.target,i=e.getAttribute("name");this.inputHandler(i,e.value),this.formControlInput.emit({name:i,value:e.value})},this.updateInput=t=>{const e=this.el.querySelector("textarea");e&&(e.value=t||"")},this.isFocused=!1,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.maxLength=void 0,this.inputHandler=void 0,this.keyDownHandler=void 0,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){return this.isFocused&&this.errorText?o:this.errorText?r:this.isFocused?h:this.disabled?l:d}render(){return i(s,{key:"beabdb77220c0ad180cf1e0143521ce03fea1eb5"},i("div",{key:"16e2375d19c75d34c7f1ad1eb1a3a5920fa4ba08",class:"form-group d-flex flex-column"},i("label",{key:"dbe6e6816c5b500363964c771654d772bb25de62",part:n,class:"form-label",htmlFor:this.name},this.label),i("textarea",{key:"b7c5f64138c846756051bd4984152ad382f24dba",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},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}),i("form-control-help-text",{key:"65ef4b15eda7ac206e935aa13b8ed30000af23d8",helpText:this.helpText,name:this.name}),i("form-control-error-text",{key:"3fa530e3c915efdb63776a0146356873cf8e1e6a",errorText:this.errorText,name:this.name})))}get el(){return a(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{c as form_control_file_v2,f as form_control_textarea}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as t}from"./p-7746acac.js";const a=async()=>{const a=t.version,s=t.name,e=await(async t=>{const a=await fetch("https://registry.npmjs.org/"+t+"/latest");return(await a.json()).version})(s),c=e.replace(/-rc.*/,""),o=a.split("."),r=e.split(".");o[0]!==r[0]&&console.warn(`The package ${s} is out of date. The latest version is ${c}. Please update.`)};export{a as c}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s}from"./p-2783e363.js";import{a as e,C as o}from"./p-9dd8685c.js";import{C as r}from"./p-389e1eb7.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-42a48c59.js";import"./p-61f0a2ce.js";import{g as a,a as c}from"./p-87f8c596.js";import{c as h}from"./p-82cbcce9.js";import{J as p}from"./p-5ab25e5d.js";import{C as n}from"./p-ff1f2d65.js";import{m,S as d}from"./p-29fbbc93.js";import{S as u}from"./p-bfe9748b.js";import{d as f}from"./p-906a6027.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";import"./p-7746acac.js";import"./p-0e180654.js";import"./p-3b680e50.js";import"./p-e8cd9691.js";const j=class{constructor(s){t(this,s),this.errorEvent=i(this,"error-event",7),this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.getCheckouts=void 0,this.getSubAccounts=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin="https://wc-proxy.justifi.ai",this.columns=f}componentWillLoad(){h(),this.analytics=new p(this),this.initializeGetData()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializeGetCheckouts(),this.initializeGetSubAccounts()}initializeGetCheckouts(){this.accountId&&this.authToken?this.getCheckouts=(({accountId:t,authToken:i,service:s,apiOrigin:o})=>async({params:h,onSuccess:p,onError:n})=>{var m,d;try{const u=await s.fetchCheckouts(t,i,h,o);if(u.error)return n({error:a(u.error),code:c(null===(d=u.error)||void 0===d?void 0:d.code),severity:e.ERROR});{const t=Object.assign({},u.page_info);p({checkouts:(null===(m=u.data)||void 0===m?void 0:m.map((t=>new r(t))))||[],pagingInfo:t})}}catch(t){const i=c(null==t?void 0:t.code);return n({error:t.message||t,code:i,severity:e.ERROR})}})({accountId:this.accountId,authToken:this.authToken,service:new n,apiOrigin:this.apiOrigin}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:o.MISSING_PROPS,message:this.errorMessage,severity:e.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=m({accountId:this.accountId,authToken:this.authToken,service:new d,apiOrigin:this.apiOrigin}))}render(){return s(u,{key:"ae2a18885c69808bd589848ae1b33f4a4a3085e9"},s("checkouts-list-core",{key:"86201976540a348eb800ee07e9c50f68a1f1a1cf",getCheckouts:this.getCheckouts,getSubAccounts:this.getSubAccounts,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{j as justifi_checkouts_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as o}from"./p-2783e363.js";import{e as r}from"./p-e8cd9691.js";const s=s=>o("h1",{class:`header-1 ${null==s?void 0:s.class}`,part:r},s.text);export{s as H}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-2783e363.js";import{l as t}from"./p-c6be72b0.js";import{f as s,p as i,c}from"./p-f4739d31.js";import{N as r,O as l,P as o}from"./p-e8cd9691.js";import{S as p}from"./p-bfe9748b.js";import"./p-9dd8685c.js";import"./p-389e1eb7.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import{I as d}from"./p-42a48c59.js";import"./p-61f0a2ce.js";import"./p-f20b6ce1.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";const b=class{constructor(a){e(this,a),this.setParamsOnChange=(e,a)=>{s[e]=a},this.terminalId=void 0,this.terminalStatus=void 0}componentWillLoad(){this.debouncedSetParamsOnChange=t.exports.debounce(this.setParamsOnChange,300),Object.entries({terminal_id:this.terminalId,status:this.terminalStatus}).forEach((([e,a])=>{a&&(i[e]=a)}))}get terminalStatusOptions(){return[{label:"All",value:""},{label:"Connected",value:d.connected},{label:"Disconnected",value:d.disconnected},{label:"Unknown",value:d.unknown}]}render(){const e=Object.assign({},s);return a(p,{key:"9e55f56855ebf7f0755c5750bfe4ae57bcc2a48e"},a("table-filters-menu",{key:"dae12779f49c3264cb3a5362cc4e4edc2aa6447c",params:e,clearParams:c,part:r},a("div",{key:"9767d61b94a7de6bc290a1dc97e5ecdb7e75beb8",class:"grid-cols-2 gap-3 p-1"},a("div",{key:"cab20a5aab288920f205835c4343b44502cc4a1e",class:"p-2"},a("form-control-text",{key:"58600a426dded8a9efc05e444439c36e3eab5bc8",name:"terminal_id",label:"Terminal ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.terminalId||s.terminal_id,disabled:!!this.terminalId,part:l})),a("div",{key:"81f513ae03435ea2c97e43f460aab430ebd4a490",class:"p-2"},a("form-control-select",{key:"ee04592e4f117f7b58984932d10081a4383d7a65",name:"status",label:"Status",options:this.terminalStatusOptions,inputHandler:this.setParamsOnChange,defaultValue:this.terminalStatus||s.status,disabled:!!this.terminalStatus,part:o})))))}};export{b as justifi_terminals_list_filters}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e,r as s,c as i}from"./p-2783e363.js";import{t as a,B as t,C as c,D as d}from"./p-e8cd9691.js";import{S as o}from"./p-bfe9748b.js";import{E as l}from"./p-8b16a20f.js";import{c as r}from"./p-82cbcce9.js";import{J as f}from"./p-5ab25e5d.js";import{C as p,a as b}from"./p-9dd8685c.js";import{B as h}from"./p-b4ed5a2c.js";import{B as v}from"./p-5d1d2fd7.js";import{m}from"./p-f30cb232.js";import{S as n}from"./p-e9e80a62.js";import"./p-7746acac.js";import"./p-0e180654.js";import"./p-1ff8810b.js";import"./p-6078a370.js";import"./p-87f8c596.js";const u=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(n,{width:"25%"})),e("div",{class:"col-12"},e(n,{width:"100%"})),e("div",{class:"col-12 d-flex gap-3"},e(n,{width:"50%"}),e(n,{width:"50%"})),e("div",{class:"col-12 d-flex gap-3"},e(n,{width:"65%"}),e(n,{width:"35%"}))),y=()=>e("div",{class:"row gap-5"},e("div",{class:"col-12"},e(n,{width:"40%",height:"40px"})),e(u,null),e(u,null),e(u,null)),k=class{constructor(e){s(this,e),this.errorEvent=i(this,"error-event",7),this.businessId=void 0,this.authToken=void 0,this.errorMessage=void 0,this.isLoading=!0,this.business=void 0}componentWillLoad(){r(),this.analytics=new f(this),this.initializeGetBusiness()}initializeGetBusiness(){if(!this.businessId||!this.authToken)return this.errorMessage="Invalid business id or auth token",void this.errorEvent.emit({errorCode:p.MISSING_PROPS,message:this.errorMessage,severity:b.ERROR});m({id:this.businessId,authToken:this.authToken,service:new h})({onSuccess:({business:e})=>{this.business=new v(e),this.isLoading=!1},onError:({error:e,code:s,severity:i})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:s,message:e,severity:i}),this.isLoading=!1}})}render(){var s,i,r,f,p,b,h,v,m,n,u,k,g;return e(o,{key:"d5ac7406c2ec045832411cb7a7deecde13243a41"},this.isLoading&&e(y,{key:"ec71fe4b766244bbf2c04714bca66b69f367ece5"}),!this.isLoading&&this.errorMessage&&l(this.errorMessage),!this.isLoading&&!this.errorMessage&&this.business&&e("div",{key:"6492a8df913cb3360153715192bd30d656df4968",class:"row gap-5 pt-5",part:a},e("div",{key:"607b534001238efc4d226cb26d8f1c1288b5ac29",class:"row"},e("div",{key:"55e7bae0aad2ae9ec9a28961269cd532a2e00922",class:"col-12"},e("h2",{key:"c4e01bd6e3a9e46cb15d8b72093dc9de2d463feb",part:t},"Business Information:"),e("p",{key:"cd3c01f074c8d55b968e713ec4805a22f1ffc3ba"},"Business Name: ",this.business.legal_name))),e("div",{key:"20062e4aa0cad46f002821972fec7ec1fc8be01e",class:"row"},e("div",{key:"433a4a200edd564fa0d206378a706ad84aa2696e",class:"col-6"},e("h2",{key:"e4a4fc4c632ccb3b6b187ccb87fb5cce398e43ca",part:t},"Representative:"),e("ul",{key:"02449f299dddc9fee8544fed405acc436217a60b",class:"list-group",part:c},e("li",{key:"a1eff4e8974b8fe57c206fb9c6ce30e89c79d702",class:"list-group-item",part:d},"Name: ",null===(i=null===(s=this.business)||void 0===s?void 0:s.representative)||void 0===i?void 0:i.name),e("li",{key:"4e04f41d044b92560f401e6edbb1993b84fca7a6",class:"list-group-item",part:d},"Title: ",null===(f=null===(r=this.business)||void 0===r?void 0:r.representative)||void 0===f?void 0:f.title),e("li",{key:"b354a893098b9f26819ab34966a5e47226fd280b",class:"list-group-item",part:d},"Email: ",null===(b=null===(p=this.business)||void 0===p?void 0:p.representative)||void 0===b?void 0:b.email),e("li",{key:"d1d94089d4f7db78c64143820601b359a77ab09f",class:"list-group-item",part:d},"Phone: ",null===(v=null===(h=this.business)||void 0===h?void 0:h.representative)||void 0===v?void 0:v.phone))),e("div",{key:"91ee402f8f7886c1750b8050433992cfd9964b02",class:"col-6"},e("h2",{key:"143f76c17de7af724c325439767275efa7c8e903",part:t},"Shipping Address:"),e("ul",{key:"dae75ec772c3971a9e690648e4e28b2eec22c638",class:"list-group",part:c},e("li",{key:"0d83cea35521361eee13912f1cb107bf7496abcc",class:"list-group-item",part:d},"Street: ",null===(m=this.business.legal_address)||void 0===m?void 0:m.line1),e("li",{key:"be4d3d8a0c61645ac4f622235f7ecf2f3ac8e097",class:"list-group-item",part:d},null===(n=this.business.legal_address)||void 0===n?void 0:n.line2),e("li",{key:"2572604b85008e401a835abdbf6c291c3191a9c7",class:"list-group-item",part:d},"Postal Code: ",null===(u=this.business.legal_address)||void 0===u?void 0:u.postal_code),e("li",{key:"e5fd5aa1d9b1bf78c75ca667b058629575be06d3",class:"list-group-item",part:d},"City: ",null===(k=this.business.legal_address)||void 0===k?void 0:k.city),e("li",{key:"9acd18a7faed0ab283e110c616d9314410a93cee",class:"list-group-item",part:d},"State: ",null===(g=this.business.legal_address)||void 0===g?void 0:g.state))))))}};export{k as justifi_order_terminals}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e}from"./p-2783e363.js";import{c as s,d as a,F as o}from"./p-5844a0f0.js";import{A as r}from"./p-0e180654.js";import"./p-9dd8685c.js";import"./p-389e1eb7.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-42a48c59.js";import"./p-61f0a2ce.js";import{C as n}from"./p-525db3e8.js";import{S as d}from"./p-bfe9748b.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";const f=s().shape({amount:a().required("Amount is required").typeError("Amount must be a number").positive("Amount must be positive").test("amount","Refund amount cannot be more than the original payment amount",(function(t){return t<=this.options.context.amount})).nullable()}),m=class{constructor(e){t(this,e),this.submitted=i(this,"submitted",7),this.authToken=void 0,this.paymentId=void 0,this.amount=0,this.submitButtonText="Submit",this.withButton=void 0,this.refundInfoText=void 0,this.errors={},this.isSubmitting=!1}componentWillLoad(){this.formController=new o(f),this.formController.setInitialValues({amount:this.amount,message:""}),this.initializeApi()}componentDidLoad(){this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))}async handleSubmit(t){t.preventDefault(),this.formController.validateAndSubmit(this.submitRefund.bind(this),{amount:this.amount})}async submitRefund(){this.isSubmitting=!0;const t=this.formController.values.getValue();try{await this.api.post(`payments/${this.paymentId}/refunds`,t),this.submitted.emit(t)}catch(t){console.error("Error submitting refund:",t),this.submitted.emit(t)}finally{this.isSubmitting=!1}}handleInput(t,i){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:i}))}initializeApi(){this.authToken||console.warn("Warning: Missing auth-token."),this.api=r({authToken:this.authToken,apiOrigin:"https://wc-proxy.justifi.ai"})}render(){var t;return e(d,{key:"10aa3a31daedcb1bc4213abb3062b09745427370"},e("h1",{key:"1b0b9c6a22dda364275f6da46e8e58015eb3378d"},"Refund"),this.refundInfoText&&e("div",{key:"1d51f74c4e2c6419afe046a95f23f16f99209982",class:"d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3",role:"alert"},e("img",{key:"4d6b0140f2bd3666000df1374a2ab6573ce2a7ee",src:"/info-icon.svg",alt:"Information",height:"30",width:"30"}),e("p",{key:"1e740ebd882fd08df43d23919325f6556ac04b29",class:"m-0",innerHTML:this.refundInfoText})),e("form",{key:"242bfd0f2a30be1fdaa477341e2d480108633551",onSubmit:t=>this.handleSubmit(t),class:"d-grid gap-4"},e("div",{key:"681a00fc41eb1701f8f189fa5139bf42ce43453f",class:"form-group"},e("form-control-monetary",{key:"2f5a906d7a415391a339236d7e7e189db4febd95",name:"amount",label:"Refund Amount",defaultValue:(null===(t=this.amount)||void 0===t?void 0:t.toString())||"",maskOptions:n.DECIMAL,inputHandler:(t,i)=>this.handleInput(t,i),errorText:this.errors.amount})),e("div",{key:"9f0f6b5c2f5010ba1c51757bf4667ced40615738",class:"form-group"},e("form-control-text",{key:"c4f9a4431224763820dacc404ea1b693630a7ede",name:"notes",label:"Additional Notes",inputHandler:(t,i)=>this.handleInput(t,i),errorText:this.errors.notes})),this.withButton&&e("div",{key:"df5d528c865684da0c7583114a7d02b6cb6d5a6e",class:"form-group d-flex flex-row-reverse"},e("button",{key:"05af832414b65d41760ca6d8b001a4affbf807c4",type:"submit",disabled:!!this.isSubmitting,class:"btn btn-primary ml-auto"},this.submitButtonText))))}};export{m as justifi_refund_form}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as o}from"./p-2783e363.js";import{X as r}from"./p-e8cd9691.js";const s=s=>o("h3",{class:`header-3 ${null==s?void 0:s.class}`,part:r},s.text);export{s as H}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,c as t,h as i,H as a}from"./p-2783e363.js";import{a8 as e,a9 as c,aa as h,ab as o,ac as r,l as d}from"./p-e8cd9691.js";import{F as f}from"./p-d5c41ec6.js";import{F as n}from"./p-2f9af679.js";const b=class{constructor(i){s(this,i),this.formControlInput=t(this,"formControlInput",7),this.formControlBlur=t(this,"formControlBlur",7),this.handleFormControlInput=s=>{s.preventDefault();const t=s.target,i=t.getAttribute("name");this.inputHandler(i,t.checked),this.formControlInput.emit({name:i,value:t.value})},this.updateInput=s=>{this.checkboxElement.checked=s},this.isFocused=!1,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.checked=void 0,this.inputHandler=void 0,this.disabled=void 0}get part(){return this.errorText?e:this.isFocused&&this.checked?c:this.isFocused?h:this.checked?o:r}render(){return i(a,{key:"8161ae3e7ce79824b21b97647b403646dd7d2db8"},i("div",{key:"e1aae62dd392cf208c342d727182a4b98dcabbbc",class:"form-group d-flex flex-column"},i("div",{key:"582178c2b18f6d535f692d2b1f16e71555bb6f2e",class:"form-check"},i("input",{key:"531a98078cee60acc5c8838a3ea7ea43c84fe846",ref:s=>this.checkboxElement=s,type:"checkbox",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-check-input is-invalid":"form-check-input",disabled:this.disabled,checked:this.checked}),i("label",{key:"8a12404a24a3b1c4cbec230444436c80faeba2d8",class:"form-check-label",htmlFor:this.name,part:d},this.label)),i(f,{key:"8cda3874473523f86dadc9e1e3dfb3e4448f3a6f",helpText:this.helpText,name:this.name}),i(n,{key:"951395dc28c0af8d35aa8c8f38011204a82eb008",errorText:this.errorText,name:this.name})))}};export{b as form_control_checkbox}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-2783e363.js";import{k as s,m as a}from"./p-e8cd9691.js";const e="id,status",r={id:()=>t("th",{part:s,scope:"col",title:"The ID of the terminal order"},"ID"),status:()=>t("th",{part:s,scope:"col",title:"The status of the terminal order"},"Status")},o={id:(s,e)=>t("td",{part:a(e)},s.id),status:(s,e)=>t("td",{part:a(e)},s.status)};export{o as a,e as d,r as t}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-2783e363.js";import{t as e}from"./p-e8cd9691.js";const r=r=>{const{helpText:m,name:o}=r;return m?t("small",{class:"form-text text-muted",id:`form-help-text-${o}`,part:e},m):null};export{r as F}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a="font-family",s="background-color",t=`text color ${a}`,e=`text-danger ${t}`,i=`heading ${t}`,l=`heading-1 ${i}`,r=`heading-2 ${i}`,$=`heading-3 ${i}`,n=`heading-4 ${i}`,o=`heading-5 ${i}`,d=`button ${t}`,p=`button-primary ${d}`,c=`button-secondary ${d}`,u=`button-link ${d}`,m="button-loading",b=`button-disabled ${d}`,f=`label ${t}`,g=`input ${t} ${s}`,h=`input-group ${g}`,y=`input-invalid ${g}`,k=`input-disabled ${g}`,x=`input-focused ${g}`,v=`input-invalid-and-focused ${g}`,w="input-radio",j=`input-radio-focused ${w}`,q=`input-radio-checked ${w}`,z=`input-radio-checked-focused ${w}`,A=`input-radio-invalid ${w}`,B=`input-checkbox ${s}`,C=`input-checkbox-invalid ${B}`,D=`input-checkbox-focused ${B}`,E=`input-checkbox-checked ${B}`,F=`input-checkbox-checked-focused ${B}`,G=`alert-danger alert ${t}`,H=`tooltip ${t}`,I=`tooltip-icon ${t}`,J=`tooltip-inner ${t}`,K=`card ${t} ${s}`,L=`table ${t} ${s}`,M=`table-cell ${t} ${s}`,N=`table-head-cell ${M} ${t} ${s}`,O=`table-cell-even ${M} ${t} ${s}`,P=`table-cell-odd ${M} ${t} ${s}`,Q=a=>a%2?O:P,R=`table-empty ${t} ${s}`,S=`table-error ${t} ${s}`,T="loading-spinner",U=`badge ${a}`,V=`${U} badge-primary`,W=`${U} badge-secondary`,X=`${U} badge-success`,Y=`${U} badge-danger`,Z=`${U} badge-warning`,_=`${U} badge-info`,aa=`${U} badge-light`,sa=`${U} badge-dark`,ta=`dropdown-menu ${t}`,ea=`radio-list-item ${t}`,ia=`list-group ${t} ${s}`,la=`list-group-item ${t} ${s}`,ra="skeleton",$a="billing-form",na="checkout-summary",oa="filter-menu",da=`${oa} payments-list-filter-menu`,pa="payments-list-filter-param",ca=`${pa} payment-id-payments-list-filter-param`,ua=`${pa} terminal-id-payments-list-filter-param`,ma=`${pa} payment-status-payments-list-filter-param`,ba=`${pa} created-after-payments-list-filter-param`,fa=`${pa} created-before-payments-list-filter-param`,ga=`${oa} payouts-list-filter-menu`,ha="payouts-list-filter-param",ya=`${ha} created-after-payouts-list-filter-param`,ka=`${ha} created-before-payouts-list-filter-param`,xa=`${oa} checkouts-list-filter-menu`,va="checkouts-list-filter-param",wa=`${va} checkout-status-checkouts-list-filter-param`,ja=`${va} payment-mode-checkouts-list-filter-param`,qa=`${oa} terminals-list-filter-menu`,za="terminals-list-filter-param",Aa=`${za} terminal-id-terminals-list-filter-param`,Ba=`${za} terminal-status-terminals-list-filter-param`;export{ta as $,ja as A,n as B,ia as C,la as D,da as E,ca as F,ua as G,ma as H,ba as I,fa as J,ga as K,ya as L,ka as M,qa as N,Aa as O,Ba as P,L as Q,M as R,R as S,S as T,T as U,G as V,na as W,$ as X,$a as Y,ea as Z,o as _,x as a,K as a0,k as a1,h as a2,A as a3,z as a4,q as a5,j as a6,w as a7,C as a8,F as a9,D as aa,E as ab,B as ac,u as ad,b as ae,H as af,J as ag,I as ah,y as b,g as c,e as d,l as e,m as f,p as g,r as h,v as i,c as j,N as k,f as l,Q as m,U as n,V as o,W as p,X as q,Y as r,ra as s,t,Z as u,_ as v,aa as w,sa as x,xa as y,wa as z}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as i}from"./p-2783e363.js";import{S as t}from"./p-bfe9748b.js";import{c as r}from"./p-82cbcce9.js";import{d as e}from"./p-cbe05f11.js";import"./p-7746acac.js";import"./p-e8cd9691.js";const o=class{constructor(i){s(this,i),this.getTerminalOrders=void 0,this.errorMessage=null,this.businessId=void 0,this.authToken=void 0,this.apiOrigin="https://wc-proxy.justifi.ai",this.columns=e}componentWillLoad(){r(),this.initializeGetTerminalOrders()}initializeGetTerminalOrders(){this.businessId&&this.authToken?this.getTerminalOrders=()=>{console.log("getTerminalOrders")}:this.errorMessage="Business ID and Auth Token are required"}render(){return i(t,{key:"54ebb6b9b12b123caaa6d5190d0a1c6c2198d3e3"},i("terminal-orders-list-core",{key:"99376fd9a6b5657d8777a4873f16b98a4bcf03cf",getTerminalOrders:this.getTerminalOrders,columns:this.columns}))}};export{o as justifi_terminal_orders_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-2783e363.js";import{s as e}from"./p-e8cd9691.js";const s=({component:s="div",height:o,width:r,className:i,styles:a={}})=>{const c=Object.assign(Object.assign({},a),{width:r,height:o});return t(s,{class:`${i} skeleton`,style:c,part:e,"aria-hidden":"true"})};export{s as S}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as s}from"./p-2783e363.js";import{U as e}from"./p-e8cd9691.js";const r=()=>s("div",{class:"d-flex justify-content-center"},s("div",{class:"spinner-border",role:"status",part:e},s("span",{class:"visually-hidden"},"Loading...")));export{r as S}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as s}from"./p-2783e363.js";import{a as e,C as r}from"./p-9dd8685c.js";import{J as o}from"./p-5ab25e5d.js";import{c as a}from"./p-82cbcce9.js";import{A as n}from"./p-0e180654.js";import"./p-389e1eb7.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import{T as c}from"./p-42a48c59.js";import"./p-61f0a2ce.js";import{g as p,a as h}from"./p-87f8c596.js";import{m,S as d}from"./p-29fbbc93.js";import{S as u}from"./p-bfe9748b.js";import{d as l}from"./p-2e0ae487.js";import"./p-7746acac.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";import"./p-3b680e50.js";import"./p-e8cd9691.js";class f{async fetchTerminals(i,t,s,e="https://wc-proxy.justifi.ai"){const r={Account:i};return n({authToken:t,apiOrigin:e}).get("terminals",s,null,r)}async fetchTerminal(i,t,s="https://wc-proxy.justifi.ai"){const e=`terminals/${i}`;return n({authToken:t,apiOrigin:s}).get(e)}}const j=class{constructor(s){i(this,s),this.errorEvent=t(this,"error-event",7),this.handleErrorEvent=i=>{this.errorMessage=i.detail.message,this.errorEvent.emit(i.detail)},this.getTerminals=void 0,this.getSubAccounts=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin="https://wc-proxy.justifi.ai",this.columns=l}componentWillLoad(){a(),this.analytics=new o(this),this.initializeGetData()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializeGetTerminals(),this.initializeGetSubAccounts()}initializeGetTerminals(){this.accountId&&this.authToken?this.getTerminals=(({id:i,authToken:t,service:s,apiOrigin:r})=>async({params:o,onSuccess:a,onError:n})=>{var m,d;try{const u=await s.fetchTerminals(i,t,o,r);if(u.error)return n({error:p(u.error),code:h(null===(d=u.error)||void 0===d?void 0:d.code),severity:e.ERROR});{const i=Object.assign({},u.page_info);a({terminals:(null===(m=u.data)||void 0===m?void 0:m.map((i=>new c(i))))||[],pagingInfo:i})}}catch(i){const t=h(null==i?void 0:i.code);return n({error:i.message||i,code:t,severity:e.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new f,apiOrigin:this.apiOrigin}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:r.MISSING_PROPS,message:this.errorMessage,severity:e.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=m({accountId:this.accountId,authToken:this.authToken,service:new d,apiOrigin:this.apiOrigin}))}render(){return s(u,{key:"1534781e6264057b7c780e6b44f4a7a66a561296"},s("terminals-list-core",{key:"8c0fb664d5ebe4fedcf6e45046e931adffb9d381",getTerminals:this.getTerminals,getSubAccounts:this.getSubAccounts,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{j as justifi_terminals_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as t}from"./p-0e180654.js";import{a}from"./p-9dd8685c.js";import"./p-389e1eb7.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-42a48c59.js";import"./p-61f0a2ce.js";import{g as o,a as r}from"./p-87f8c596.js";class s{async fetchPayouts(a,o,r,s="https://wc-proxy.justifi.ai"){return t({authToken:o,apiOrigin:s}).get(`account/${a}/payouts`,r)}async fetchPayout(a,o,r="https://wc-proxy.justifi.ai"){return t({authToken:o,apiOrigin:r}).get(`payouts/${a}`)}async fetchCSV(a,o,r="https://wc-proxy.justifi.ai"){return t({authToken:o,apiOrigin:r}).get(`reports/payouts/${a}`)}}const p=({authToken:t,service:s})=>async({payoutId:p,onError:i})=>{try{const{data:a}=await s.fetchCSV(p,t),o=document.createElement("a");o.href=a.csv_url,o.click()}catch(t){i({error:o(t),code:r(null==t?void 0:t.code),severity:a.ERROR})}};export{s as P,p as m}
|