@justifi/webcomponents 5.3.4 → 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-2fb20059.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-f5a3d421.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-13d68dab.js → get-payout-csv-bdd7d9c0.js} +2 -2
- 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 +8 -8
- 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-e8aa0c51.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/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-order-status.js +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 +428 -36
- package/dist/esm/{Analytics-759c7da5.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-1d6e48c8.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-8450b60d.js → get-payout-csv-9528b0a2.js} +2 -2
- 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 +8 -8
- 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-49477570.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/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-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/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/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 +61 -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-1aa22806.js → p-0ef50c81.js} +1 -1
- package/dist/webcomponents/{p-d279545a.entry.js → p-0f85fde5.entry.js} +1 -1
- package/dist/webcomponents/{p-c2196cb8.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-8548edd6.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-bfe339d5.js → p-6776df16.js} +1 -1
- package/dist/webcomponents/{p-a6b66c88.entry.js → p-6815a6cb.entry.js} +1 -1
- package/dist/webcomponents/{p-dfebd7a4.js → p-69ae193c.js} +1 -1
- package/dist/webcomponents/{p-53b660a3.entry.js → p-76d1036b.entry.js} +1 -1
- 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-39a63e0c.entry.js → p-867e34b8.entry.js} +1 -1
- 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-08a17c5c.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-acca56ec.entry.js → p-bc6e3e59.entry.js} +1 -1
- package/dist/webcomponents/p-bc73a554.entry.js +1 -0
- package/dist/webcomponents/{p-670296bf.entry.js → p-c17af2a4.entry.js} +1 -1
- package/dist/webcomponents/p-c1af1fdb.entry.js +1 -0
- package/dist/webcomponents/{p-df2559c7.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-75b7dfe7.entry.js → p-da415c08.entry.js} +1 -1
- package/dist/webcomponents/{p-389e1eb7.js → p-daf0303f.js} +1 -1
- package/dist/webcomponents/{p-29688e30.js → p-dd535097.js} +1 -1
- 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-fa843aad.entry.js → p-e895bc2a.entry.js} +1 -1
- package/dist/webcomponents/{p-ae271c06.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-56697a12.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-0f4d851d.entry.js +0 -1
- package/dist/webcomponents/p-1f4e26f3.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-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-78a204f9.entry.js +0 -1
- package/dist/webcomponents/p-7c541199.entry.js +0 -1
- package/dist/webcomponents/p-7d2538d9.entry.js +0 -1
- package/dist/webcomponents/p-9055aa6e.entry.js +0 -1
- package/dist/webcomponents/p-9cbbe9cb.entry.js +0 -1
- package/dist/webcomponents/p-9edd6ad8.js +0 -1
- package/dist/webcomponents/p-a0082e77.entry.js +0 -1
- package/dist/webcomponents/p-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-e9e80a62.js +0 -1
- package/dist/webcomponents/p-ec019b89.js +0 -1
- package/dist/webcomponents/p-fc3d2a9e.entry.js +0 -1
|
@@ -4,12 +4,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const index_esm = require('./index.esm-a397536a.js');
|
|
7
|
-
const parts = require('./parts-
|
|
7
|
+
const parts = require('./parts-63f60e81.js');
|
|
8
8
|
|
|
9
9
|
const AdditionalStatementSchema = index_esm.create$3({
|
|
10
10
|
additional_statement: index_esm.create$6().nullable(),
|
|
11
11
|
});
|
|
12
12
|
|
|
13
|
+
var DisputeResponseFormStep;
|
|
14
|
+
(function (DisputeResponseFormStep) {
|
|
15
|
+
DisputeResponseFormStep["disputeReason"] = "dispute_reason";
|
|
16
|
+
DisputeResponseFormStep["productOrService"] = "product_or_service";
|
|
17
|
+
DisputeResponseFormStep["customerDetails"] = "customer_details";
|
|
18
|
+
DisputeResponseFormStep["cancellationPolicy"] = "cancellation_policy";
|
|
19
|
+
DisputeResponseFormStep["refundPolicy"] = "refund_policy";
|
|
20
|
+
DisputeResponseFormStep["duplicateCharge"] = "duplicate_charge";
|
|
21
|
+
DisputeResponseFormStep["electronicEvidence"] = "electronic_evidence";
|
|
22
|
+
DisputeResponseFormStep["shippingDetails"] = "shipping_details";
|
|
23
|
+
DisputeResponseFormStep["additionalStatement"] = "additional_statement";
|
|
24
|
+
})(DisputeResponseFormStep || (DisputeResponseFormStep = {}));
|
|
25
|
+
|
|
13
26
|
var DisputeEvidenceDocumentType;
|
|
14
27
|
(function (DisputeEvidenceDocumentType) {
|
|
15
28
|
DisputeEvidenceDocumentType["activity_log"] = "activity_log";
|
|
@@ -55,18 +68,15 @@ class DisputeEvidenceDocument {
|
|
|
55
68
|
}
|
|
56
69
|
}
|
|
57
70
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
DisputeResponseFormStep["shippingDetails"] = "shipping_details";
|
|
68
|
-
DisputeResponseFormStep["additionalStatement"] = "additional_statement";
|
|
69
|
-
})(DisputeResponseFormStep || (DisputeResponseFormStep = {}));
|
|
71
|
+
const fileInputHandler = (e, documentState) => {
|
|
72
|
+
const target = e.target;
|
|
73
|
+
const name = target.name;
|
|
74
|
+
const files = target.files;
|
|
75
|
+
documentState[name] = [];
|
|
76
|
+
for (const file of files) {
|
|
77
|
+
documentState[name].push(new DisputeEvidenceDocument(file, name));
|
|
78
|
+
}
|
|
79
|
+
};
|
|
70
80
|
|
|
71
81
|
const AdditionalStatement = class {
|
|
72
82
|
constructor(hostRef) {
|
|
@@ -74,23 +84,17 @@ const AdditionalStatement = class {
|
|
|
74
84
|
this.inputHandler = (name, value) => {
|
|
75
85
|
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
76
86
|
};
|
|
77
|
-
this.handleFileSelection = (e) => {
|
|
78
|
-
const target = e.target;
|
|
79
|
-
const name = target.name;
|
|
80
|
-
const files = target.files;
|
|
81
|
-
for (const file of files) {
|
|
82
|
-
this.documentList.push(new DisputeEvidenceDocument(file, name));
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
87
|
this.disputeResponse = undefined;
|
|
88
|
+
this.documentErrors = {};
|
|
86
89
|
this.form = undefined;
|
|
87
90
|
this.errors = {};
|
|
88
|
-
this.documentList = [];
|
|
89
91
|
this.acceptedTerms = false;
|
|
90
92
|
this.acceptedTermsErrorText = undefined;
|
|
93
|
+
this.documents = { uncategorized_file: [] };
|
|
91
94
|
}
|
|
92
95
|
async validateAndSubmit(onSuccess) {
|
|
93
|
-
|
|
96
|
+
const documentList = Object.values(this.documents).flat();
|
|
97
|
+
this.form.validateAndSubmit((formData) => onSuccess(formData, documentList, DisputeResponseFormStep.additionalStatement));
|
|
94
98
|
}
|
|
95
99
|
;
|
|
96
100
|
componentWillLoad() {
|
|
@@ -102,8 +106,8 @@ const AdditionalStatement = class {
|
|
|
102
106
|
});
|
|
103
107
|
}
|
|
104
108
|
render() {
|
|
105
|
-
var _a;
|
|
106
|
-
return (index.h("div", { key: '
|
|
109
|
+
var _a, _b;
|
|
110
|
+
return (index.h("div", { key: '5e572a30ed53b4fbcf3808ba545ce2fdf5b988aa' }, index.h("div", { key: '90870dc58e0eab72e64ae03bdaa25bb1749d8e23', class: "row gy-3" }, index.h("div", { key: 'cc3b6f19687d02e047744e8a53d22a2f91a8b968', class: "col-12" }, index.h("h2", { key: '230c20dc3f75e48afa4008369374fd8c175cb7ea', class: "h5", part: parts.heading5 }, "Additional Evidence")), index.h("div", { key: '7b49c8012cfc07c44399969f8505db786389b38b', class: "col-12" }, index.h("form-control-textarea", { key: '349a8a2ebda338e170c90266801ae93b6f9482ea', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), index.h("div", { key: '01cd368a2278c5de462f0998a50ba4ca5889be26', class: "col-12" }, index.h("form-control-file-v2", { key: 'f95d0b78704f9a1fd154003edbbffb062659ae27', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
|
|
107
111
|
}
|
|
108
112
|
};
|
|
109
113
|
|
|
@@ -118,21 +122,15 @@ const CancellationPolicy = class {
|
|
|
118
122
|
this.inputHandler = (name, value) => {
|
|
119
123
|
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
120
124
|
};
|
|
121
|
-
this.handleFileSelection = (e) => {
|
|
122
|
-
const target = e.target;
|
|
123
|
-
const name = target.name;
|
|
124
|
-
const files = target.files;
|
|
125
|
-
for (const file of files) {
|
|
126
|
-
this.documentList.push(new DisputeEvidenceDocument(file, name));
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
125
|
this.disputeResponse = undefined;
|
|
126
|
+
this.documentErrors = {};
|
|
130
127
|
this.form = undefined;
|
|
131
128
|
this.errors = {};
|
|
132
|
-
this.
|
|
129
|
+
this.documents = { cancellation_policy: [] };
|
|
133
130
|
}
|
|
134
131
|
async validateAndSubmit(onSuccess) {
|
|
135
|
-
|
|
132
|
+
const documentList = Object.values(this.documents).flat();
|
|
133
|
+
this.form.validateAndSubmit((formData) => onSuccess(formData, documentList, DisputeResponseFormStep.cancellationPolicy));
|
|
136
134
|
}
|
|
137
135
|
;
|
|
138
136
|
componentWillLoad() {
|
|
@@ -144,8 +142,8 @@ const CancellationPolicy = class {
|
|
|
144
142
|
});
|
|
145
143
|
}
|
|
146
144
|
render() {
|
|
147
|
-
var _a, _b;
|
|
148
|
-
return (index.h("div", { key: '
|
|
145
|
+
var _a, _b, _c;
|
|
146
|
+
return (index.h("div", { key: '6dc5100426e8e4124d19a375250f85f8e15b28d4' }, index.h("div", { key: 'fb950108be5fd4096a7717c88943938261787f99', class: "row gy-3" }, index.h("div", { key: '08f85a06288e19939a16d3fa52ef3b3199c56f36', class: "col-12" }, index.h("h2", { key: 'a585b93921814b1ffbb95c6f9c1de37d4104049b', class: "h5", part: parts.heading5 }, "Cancellation Policy")), index.h("div", { key: '3b7c620518006738d2e36863b62a72142f167733', class: "col-12" }, index.h("form-control-textarea", { key: '70a76160b0d29648a9e0598dd5b867a382935e03', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), index.h("div", { key: 'e06d4c794bad47e366ca702e764307fdab5e33a8', class: "col-12" }, index.h("form-control-textarea", { key: '1b783920c5a5b94bff60d4b061cc7cc6666cc184', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), index.h("div", { key: '3cb3371c1d3727e55140ea60a0cff96bc0f42702', class: "col-12" }, index.h("form-control-file-v2", { key: '738a456bf4653240180963fa7e5ab20a7a4add7c', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
|
|
149
147
|
}
|
|
150
148
|
};
|
|
151
149
|
|
|
@@ -161,21 +159,15 @@ const CustomerDetails = class {
|
|
|
161
159
|
this.inputHandler = (name, value) => {
|
|
162
160
|
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
163
161
|
};
|
|
164
|
-
this.handleFileSelection = (e) => {
|
|
165
|
-
const target = e.target;
|
|
166
|
-
const name = target.name;
|
|
167
|
-
const files = target.files;
|
|
168
|
-
for (const file of files) {
|
|
169
|
-
this.documentList.push(new DisputeEvidenceDocument(file, name));
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
162
|
this.disputeResponse = undefined;
|
|
163
|
+
this.documentErrors = {};
|
|
173
164
|
this.form = undefined;
|
|
174
165
|
this.errors = {};
|
|
175
|
-
this.
|
|
166
|
+
this.documents = { customer_signature: [], customer_communication: [] };
|
|
176
167
|
}
|
|
177
168
|
async validateAndSubmit(onSuccess) {
|
|
178
|
-
|
|
169
|
+
const documentList = Object.values(this.documents).flat();
|
|
170
|
+
this.form.validateAndSubmit((formData) => onSuccess(formData, documentList, DisputeResponseFormStep.customerDetails));
|
|
179
171
|
}
|
|
180
172
|
;
|
|
181
173
|
componentWillLoad() {
|
|
@@ -187,8 +179,8 @@ const CustomerDetails = class {
|
|
|
187
179
|
});
|
|
188
180
|
}
|
|
189
181
|
render() {
|
|
190
|
-
var _a, _b, _c;
|
|
191
|
-
return (index.h("div", { key: '
|
|
182
|
+
var _a, _b, _c, _d, _e;
|
|
183
|
+
return (index.h("div", { key: '70e29d650d5304522f927c15b4eb5e62e203c5e0' }, index.h("div", { key: 'f50422b29cb2a4f3bca911ced94dc681adb3fc41', class: "row gy-3" }, index.h("div", { key: 'f29816d9281ea4c4db5018d3b7edb1600569357a', class: "col-12" }, index.h("h2", { key: 'a2889c95c293bf0bbf97c16e4486e307ca87729c', class: "h5", part: parts.heading5 }, "Customer Details")), index.h("div", { key: '9cd45719434a1740f67b73c13fd08e0fe562168e', class: "col-12" }, index.h("form-control-text", { key: '5a30a3aef7fbe2d3013c46e43a437724dae41213', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), index.h("div", { key: '9812e1f9f6df949b9f15b2c3f28857db7dcf5cb7', class: "col-12" }, index.h("form-control-text", { key: '10b146053a399039e8dbd42c3cab53b4b55c0ec3', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), index.h("div", { key: '2742a0922a223bd60d6e3d08a55190742ecf5112', class: "col-12" }, index.h("form-control-textarea", { key: '41491e238c75716520d747cbf9f1bcc329a2d686', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), index.h("div", { key: '71074f31e565c24107b91b04d9aa16da77ba618c', class: "col-12" }, index.h("form-control-file-v2", { key: '17f70cf96927b01e65430e13c2d21209e9170603', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), index.h("div", { key: 'ec696695191e68c7ceb0cc41f99f9e53f2d59da1', class: "col-12" }, index.h("form-control-file-v2", { key: '562ff8b3819f536d491f2e2e55a85a55fcda0e1c', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
|
|
192
184
|
}
|
|
193
185
|
};
|
|
194
186
|
|
|
@@ -203,21 +195,15 @@ const DuplicateCharge = class {
|
|
|
203
195
|
this.inputHandler = (name, value) => {
|
|
204
196
|
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
205
197
|
};
|
|
206
|
-
this.handleFileSelection = (e) => {
|
|
207
|
-
const target = e.target;
|
|
208
|
-
const name = target.name;
|
|
209
|
-
const files = target.files;
|
|
210
|
-
for (const file of files) {
|
|
211
|
-
this.documentList.push(new DisputeEvidenceDocument(file, name));
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
198
|
this.disputeResponse = undefined;
|
|
199
|
+
this.documentErrors = {};
|
|
215
200
|
this.form = undefined;
|
|
216
201
|
this.errors = {};
|
|
217
|
-
this.
|
|
202
|
+
this.documents = { duplicate_charge_documentation: [] };
|
|
218
203
|
}
|
|
219
204
|
async validateAndSubmit(onSuccess) {
|
|
220
|
-
|
|
205
|
+
const documentList = Object.values(this.documents).flat();
|
|
206
|
+
this.form.validateAndSubmit((formData) => onSuccess(formData, documentList, DisputeResponseFormStep.duplicateCharge));
|
|
221
207
|
}
|
|
222
208
|
;
|
|
223
209
|
componentWillLoad() {
|
|
@@ -229,8 +215,8 @@ const DuplicateCharge = class {
|
|
|
229
215
|
});
|
|
230
216
|
}
|
|
231
217
|
render() {
|
|
232
|
-
var _a, _b;
|
|
233
|
-
return (index.h("div", { key: '
|
|
218
|
+
var _a, _b, _c;
|
|
219
|
+
return (index.h("div", { key: '0b0d73b396b32f29fa389d3981d48c3f30f96fd7' }, index.h("div", { key: '2fd16a4cf964c863a59789a2be60d94b27a95de8', class: "row gy-3" }, index.h("div", { key: '48c15f7db3285caa9164d815615b82a84283fbfe', class: "col-12" }, index.h("h2", { key: '397b3026311bf57588b172146fc9822f99ede63e', class: "h5", part: parts.heading5 }, "Duplicate Charge")), index.h("div", { key: 'c825b6efd428bee298b9b0ddf2265378cf999de9', class: "col-12" }, index.h("form-control-text", { key: 'b43283087a10826bf8e582a1e863ed4982b5c000', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), index.h("div", { key: '66d5cefa16c341f5c523eaa46de5c11f5b16e619', class: "col-12" }, index.h("form-control-textarea", { key: 'f83573136fc2ce108f186f9434f46a3f157bd102', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), index.h("div", { key: 'cc47dc1d9dbac962d27494b5ff3fef572c98c7b4', class: "col-12" }, index.h("form-control-file-v2", { key: '3cf06b6d61edd6ac96d02b12639d040f698b2526', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
|
|
234
220
|
}
|
|
235
221
|
};
|
|
236
222
|
|
|
@@ -241,24 +227,18 @@ const ElectronicEvidenceSchema = index_esm.create$3({
|
|
|
241
227
|
const ElectronicEvidence = class {
|
|
242
228
|
constructor(hostRef) {
|
|
243
229
|
index.registerInstance(this, hostRef);
|
|
244
|
-
this.handleFileSelection = (e) => {
|
|
245
|
-
const target = e.target;
|
|
246
|
-
const name = target.name;
|
|
247
|
-
const files = target.files;
|
|
248
|
-
for (const file of files) {
|
|
249
|
-
this.documentList.push(new DisputeEvidenceDocument(file, name));
|
|
250
|
-
}
|
|
251
|
-
};
|
|
252
230
|
this.inputHandler = (name, value) => {
|
|
253
231
|
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
254
232
|
};
|
|
255
233
|
this.disputeResponse = undefined;
|
|
234
|
+
this.documentErrors = {};
|
|
256
235
|
this.form = undefined;
|
|
257
236
|
this.errors = {};
|
|
258
|
-
this.
|
|
237
|
+
this.documents = { activity_log: [] };
|
|
259
238
|
}
|
|
260
239
|
async validateAndSubmit(onSuccess) {
|
|
261
|
-
|
|
240
|
+
const documentList = Object.values(this.documents).flat();
|
|
241
|
+
this.form.validateAndSubmit((formData) => onSuccess(formData, documentList, DisputeResponseFormStep.electronicEvidence));
|
|
262
242
|
}
|
|
263
243
|
;
|
|
264
244
|
componentWillLoad() {
|
|
@@ -270,8 +250,8 @@ const ElectronicEvidence = class {
|
|
|
270
250
|
});
|
|
271
251
|
}
|
|
272
252
|
render() {
|
|
273
|
-
var _a;
|
|
274
|
-
return (index.h("div", { key: '
|
|
253
|
+
var _a, _b;
|
|
254
|
+
return (index.h("div", { key: '1a4a1d78529c48b8f32029a3efa05b4430c6d271' }, index.h("div", { key: '593d167f4e6b610ac3cdb8a04b4eee30a1cb4f91', class: "row gy-3" }, index.h("div", { key: '39440c3a2802b823c85f251c4393ba76bad287c0', class: "col-12" }, index.h("h2", { key: 'f5ec8cce1bbadb772ac6dbe668cf54187d2690d7', class: "h5", part: parts.heading5 }, "Electronic Evidence")), index.h("div", { key: 'b9020a773c45a8f59a31ffef44b32253fdb4a551', class: "col-12" }, index.h("form-control-text", { key: '56122eafb7f138f4472a5818cddd32cb0e17fc7e', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), index.h("div", { key: '0737f585271838dd60ab9ee1e6ac83d0c6362b96', class: "col-12" }, index.h("form-control-file-v2", { key: '63590d574ee151cbf82638002dfe513cea471035', 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: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
|
|
275
255
|
}
|
|
276
256
|
};
|
|
277
257
|
|
|
@@ -283,24 +263,18 @@ const ProductOrServiceSchema = index_esm.create$3({
|
|
|
283
263
|
const ProductOrService = class {
|
|
284
264
|
constructor(hostRef) {
|
|
285
265
|
index.registerInstance(this, hostRef);
|
|
286
|
-
this.handleFileSelection = (e) => {
|
|
287
|
-
const target = e.target;
|
|
288
|
-
const name = target.name;
|
|
289
|
-
const files = target.files;
|
|
290
|
-
for (const file of files) {
|
|
291
|
-
this.documentList.push(new DisputeEvidenceDocument(file, name));
|
|
292
|
-
}
|
|
293
|
-
};
|
|
294
266
|
this.inputHandler = (name, value) => {
|
|
295
267
|
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
296
268
|
};
|
|
297
269
|
this.disputeResponse = undefined;
|
|
270
|
+
this.documentErrors = {};
|
|
298
271
|
this.form = undefined;
|
|
299
272
|
this.errors = {};
|
|
300
|
-
this.
|
|
273
|
+
this.documents = { service_documentation: [] };
|
|
301
274
|
}
|
|
302
275
|
async validateAndSubmit(onSuccess) {
|
|
303
|
-
|
|
276
|
+
const documentList = Object.values(this.documents).flat();
|
|
277
|
+
this.form.validateAndSubmit((formData) => onSuccess(formData, documentList, DisputeResponseFormStep.productOrService));
|
|
304
278
|
}
|
|
305
279
|
;
|
|
306
280
|
componentWillLoad() {
|
|
@@ -312,8 +286,8 @@ const ProductOrService = class {
|
|
|
312
286
|
});
|
|
313
287
|
}
|
|
314
288
|
render() {
|
|
315
|
-
var _a, _b;
|
|
316
|
-
return (index.h("div", { key: '
|
|
289
|
+
var _a, _b, _c;
|
|
290
|
+
return (index.h("div", { key: '0e2648d399af18f7959bed2e0fff56fd63b541df' }, index.h("div", { key: '4322c227617147721ab7cf33a5e75a09bc370a0c', class: "row gy-3" }, index.h("div", { key: 'e2bc9f0642356a864e7fa323262ead13d4825fdc', class: "col-12" }, index.h("h2", { key: '88af660c9add83da7edc7758d4645db796c80fdf', class: "h5", part: parts.heading5 }, "Product & Service Details")), index.h("div", { key: 'dcfb0f64e1b611eb8d53f97950d5922f7358a64c', class: "col-12" }, index.h("form-control-text", { key: '42959d4b7c03d14fdef29a656a5f18d0d89d3b2e', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), index.h("div", { key: '1f4173e79f10a6ac32b860ecbd62fe5c612cc5b2', class: "col-12" }, index.h("form-control-date", { key: '6e8bab228b3a23655cbf71fe6dc72a850b38947c', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), index.h("div", { key: '2e32f65cc5388302d067fb1a8db34e3e529435c2', class: "col-12" }, index.h("form-control-file-v2", { key: 'f9fb2ac0c6a2f37a7584eeda2460702b1e0d6cc0', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
317
291
|
}
|
|
318
292
|
};
|
|
319
293
|
|
|
@@ -328,21 +302,15 @@ const RefundPolicy = class {
|
|
|
328
302
|
this.inputHandler = (name, value) => {
|
|
329
303
|
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
330
304
|
};
|
|
331
|
-
this.handleFileSelection = (e) => {
|
|
332
|
-
const target = e.target;
|
|
333
|
-
const name = target.name;
|
|
334
|
-
const files = target.files;
|
|
335
|
-
for (const file of files) {
|
|
336
|
-
this.documentList.push(new DisputeEvidenceDocument(file, name));
|
|
337
|
-
}
|
|
338
|
-
};
|
|
339
305
|
this.disputeResponse = undefined;
|
|
306
|
+
this.documentErrors = {};
|
|
340
307
|
this.form = undefined;
|
|
341
308
|
this.errors = {};
|
|
342
|
-
this.
|
|
309
|
+
this.documents = { refund_policy: [], receipt: [] };
|
|
343
310
|
}
|
|
344
311
|
async validateAndSubmit(onSuccess) {
|
|
345
|
-
|
|
312
|
+
const documentList = Object.values(this.documents).flat();
|
|
313
|
+
this.form.validateAndSubmit((formData) => onSuccess(formData, documentList, DisputeResponseFormStep.refundPolicy));
|
|
346
314
|
}
|
|
347
315
|
;
|
|
348
316
|
componentWillLoad() {
|
|
@@ -354,8 +322,8 @@ const RefundPolicy = class {
|
|
|
354
322
|
});
|
|
355
323
|
}
|
|
356
324
|
render() {
|
|
357
|
-
var _a, _b;
|
|
358
|
-
return (index.h("div", { key: '
|
|
325
|
+
var _a, _b, _c, _d;
|
|
326
|
+
return (index.h("div", { key: '882eb01880bcfdde30abe10465fecd7390654ed6' }, index.h("div", { key: 'de2f238310e4b80976888d147e90047688ad5ada', class: "row gy-3" }, index.h("div", { key: '305af62aa762ae6abff0678998132e8f56707550', class: "col-12" }, index.h("h2", { key: '6e224996b82639c426d129bfd28633f3d3839f6f', class: "h5", part: parts.heading5 }, "Refund Policy and Receipt")), index.h("div", { key: 'b2b8d444c594bf92d04fed6640230745c5fb49ba', class: "col-12" }, index.h("form-control-textarea", { key: 'f75c6c360c485ac5253164be5d4941d859deb902', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), index.h("div", { key: '1788d1e6ba1ddbe82795ce1a41b901a81c055f6d', class: "col-12" }, index.h("form-control-textarea", { key: 'f47fac9b8e0d6b9766311b13c760129bb6335ddd', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), index.h("div", { key: 'd96552fee8b4cdddf31148b2d3783a4e1dfb031b', class: "col-12" }, index.h("form-control-file-v2", { key: '3c6c06201ef3a730aed41ab6b8cb62d5ee8d8128', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), index.h("div", { key: 'ec2271dd9646596df3106f56c6e96f618196046a', class: "col-12" }, index.h("form-control-file-v2", { key: '48f956f2580187fc7baecc5426d5ed0a1050150b', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
359
327
|
}
|
|
360
328
|
};
|
|
361
329
|
|
|
@@ -372,21 +340,16 @@ const ShippingDetails = class {
|
|
|
372
340
|
this.inputHandler = (name, value) => {
|
|
373
341
|
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
374
342
|
};
|
|
375
|
-
this.handleFileSelection = (e) => {
|
|
376
|
-
const target = e.target;
|
|
377
|
-
const name = target.name;
|
|
378
|
-
const files = target.files;
|
|
379
|
-
for (const file of files) {
|
|
380
|
-
this.documentList.push(new DisputeEvidenceDocument(file, name));
|
|
381
|
-
}
|
|
382
|
-
};
|
|
383
343
|
this.disputeResponse = undefined;
|
|
344
|
+
this.documentErrors = {};
|
|
384
345
|
this.form = undefined;
|
|
385
346
|
this.errors = {};
|
|
347
|
+
this.documents = { shipping_documentation: [] };
|
|
386
348
|
this.documentList = [];
|
|
387
349
|
}
|
|
388
350
|
async validateAndSubmit(onSuccess) {
|
|
389
|
-
|
|
351
|
+
const documentList = Object.values(this.documents).flat();
|
|
352
|
+
this.form.validateAndSubmit((formData) => onSuccess(formData, documentList, DisputeResponseFormStep.shippingDetails));
|
|
390
353
|
}
|
|
391
354
|
;
|
|
392
355
|
componentWillLoad() {
|
|
@@ -398,8 +361,8 @@ const ShippingDetails = class {
|
|
|
398
361
|
});
|
|
399
362
|
}
|
|
400
363
|
render() {
|
|
401
|
-
var _a, _b, _c, _d;
|
|
402
|
-
return (index.h("div", { key: '
|
|
364
|
+
var _a, _b, _c, _d, _e;
|
|
365
|
+
return (index.h("div", { key: '90641cea619de697d7a90e6e397790f79ceb9376' }, index.h("div", { key: '52d939e26bd26e99240d100897a530b89553e727', class: "row gy-3" }, index.h("div", { key: '01755fbca3430bd3066377e9481038370c49b2d8', class: "col-12" }, index.h("h2", { key: 'd273fbe6ff8b7815ba5c2369748a3a20548b0a4d', class: "h5", part: parts.heading5 }, "Shipping Details")), index.h("div", { key: '595f4e63dff85591713a4c895acb6628c8ef8214', class: "col-12" }, index.h("form-control-text", { key: '958169d07544237a72facdc016d4d12ac64a4c48', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), index.h("div", { key: '1d3020a30f95c5ced652871a635aba0152bbc4e3', class: "col-12" }, index.h("form-control-text", { key: '088af20353ec2efcb65a4e597a1fb4aec23cfcbb', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), index.h("div", { key: '536ee74c42d326d7f7f698274c846bfebf0d34dd', class: "col-12" }, index.h("form-control-date", { key: '71ef44bd4c810a567162b7fe92199eceff9be470', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), index.h("div", { key: '8887e0daf44be31486563e85cd989eef1da5f5ce', class: "col-12" }, index.h("form-control-textarea", { key: 'c34093bc4ee65f4fb092c377a98e01cd69bdbc7c', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), index.h("div", { key: '469a5d8c7e28fa2ad430f104f08f387448f70048', class: "col-12" }, index.h("form-control-file-v2", { key: 'a2b6c6c0c1cf32430582b97efe6bcc1d4c47147d', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
403
366
|
}
|
|
404
367
|
};
|
|
405
368
|
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-f752bd45.js');
|
|
7
7
|
const business_service = require('./business.service-776142b1.js');
|
|
8
8
|
const getBusiness = require('./get-business-0bd063d2.js');
|
|
9
9
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
10
|
-
const Analytics = require('./Analytics-
|
|
11
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
12
|
-
require('./parts-
|
|
10
|
+
const Analytics = require('./Analytics-e91a5523.js');
|
|
11
|
+
const checkPkgVersion = require('./check-pkg-version-d19c6fdb.js');
|
|
12
|
+
require('./parts-63f60e81.js');
|
|
13
13
|
require('./Api-f5280a80.js');
|
|
14
14
|
require('./Business-d88b77fd.js');
|
|
15
15
|
require('./helpers-602962eb.js');
|
|
16
16
|
require('./state-options-4fbcb48a.js');
|
|
17
17
|
require('./utils-7a478c37.js');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-82b16c28.js');
|
|
19
19
|
|
|
20
20
|
const BusinessDetails = class {
|
|
21
21
|
constructor(hostRef) {
|
|
@@ -8,18 +8,18 @@ const businessAdditionalQuestionsSchema = require('./business-additional-questio
|
|
|
8
8
|
const businessIdentitySchema = require('./business-identity-schema-3b4d16f1.js');
|
|
9
9
|
const Api = require('./Api-f5280a80.js');
|
|
10
10
|
require('./ComponentError-233ac749.js');
|
|
11
|
-
require('./Checkout-
|
|
11
|
+
require('./Checkout-eef27045.js');
|
|
12
12
|
require('./Pagination-0da8f095.js');
|
|
13
13
|
require('./Payment-c47ed1e1.js');
|
|
14
|
-
require('./SubAccount-
|
|
14
|
+
require('./SubAccount-f9069337.js');
|
|
15
15
|
require('./Document-0b828345.js');
|
|
16
16
|
const Business = require('./Business-d88b77fd.js');
|
|
17
|
-
const Analytics = require('./Analytics-
|
|
18
|
-
const button = require('./button-
|
|
17
|
+
const Analytics = require('./Analytics-e91a5523.js');
|
|
18
|
+
const button = require('./button-aed2ce1a.js');
|
|
19
19
|
const styledHost = require('./styled-host-94309bab.js');
|
|
20
|
-
const header1 = require('./header-1-
|
|
21
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
22
|
-
const skeleton = require('./skeleton-
|
|
20
|
+
const header1 = require('./header-1-cc98bae2.js');
|
|
21
|
+
const checkPkgVersion = require('./check-pkg-version-d19c6fdb.js');
|
|
22
|
+
const skeleton = require('./skeleton-65afa2f5.js');
|
|
23
23
|
const eventTypes = require('./event-types-180a85a9.js');
|
|
24
24
|
require('./schema-validations-47a256f4.js');
|
|
25
25
|
require('./state-options-4fbcb48a.js');
|
|
@@ -27,8 +27,8 @@ require('./business-form-options-62e9c8ab.js');
|
|
|
27
27
|
require('./utils-337befa9.js');
|
|
28
28
|
require('./Dispute-eb6bad54.js');
|
|
29
29
|
require('./helpers-602962eb.js');
|
|
30
|
-
require('./package-
|
|
31
|
-
require('./parts-
|
|
30
|
+
require('./package-82b16c28.js');
|
|
31
|
+
require('./parts-63f60e81.js');
|
|
32
32
|
|
|
33
33
|
const businessFormSchema = index_esm.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address: businessIdentitySchema.addressSchema(), additional_questions: businessAdditionalQuestionsSchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchema('representative') }));
|
|
34
34
|
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const inputHandlers = require('./input-handlers-cff032bb.js');
|
|
7
7
|
const formInputMasks = require('./form-input-masks-0879c139.js');
|
|
8
|
-
const parts = require('./parts-
|
|
8
|
+
const parts = require('./parts-63f60e81.js');
|
|
9
9
|
require('./helpers-602962eb.js');
|
|
10
10
|
require('./state-options-4fbcb48a.js');
|
|
11
11
|
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const utils = require('./utils-337befa9.js');
|
|
7
|
-
const Checkout = require('./Checkout-
|
|
7
|
+
const Checkout = require('./Checkout-eef27045.js');
|
|
8
8
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
9
|
-
const insuranceState = require('./insurance-state-
|
|
10
|
-
const button = require('./button-
|
|
9
|
+
const insuranceState = require('./insurance-state-211cd636.js');
|
|
10
|
+
const button = require('./button-aed2ce1a.js');
|
|
11
11
|
const styledHost = require('./styled-host-94309bab.js');
|
|
12
|
-
const parts = require('./parts-
|
|
13
|
-
const skeleton = require('./skeleton-
|
|
14
|
-
const header3 = require('./header-3-
|
|
12
|
+
const parts = require('./parts-63f60e81.js');
|
|
13
|
+
const skeleton = require('./skeleton-65afa2f5.js');
|
|
14
|
+
const header3 = require('./header-3-05ce2ad0.js');
|
|
15
15
|
require('./index-d2d0b181.js');
|
|
16
16
|
|
|
17
17
|
const CheckoutCore = class {
|
|
@@ -5,18 +5,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
7
|
const utils = require('./utils-7a478c37.js');
|
|
8
|
-
const checkout_service = require('./checkout.service-
|
|
9
|
-
const Analytics = require('./Analytics-
|
|
10
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
8
|
+
const checkout_service = require('./checkout.service-0643396e.js');
|
|
9
|
+
const Analytics = require('./Analytics-e91a5523.js');
|
|
10
|
+
const checkPkgVersion = require('./check-pkg-version-d19c6fdb.js');
|
|
11
11
|
require('./Api-f5280a80.js');
|
|
12
|
-
require('./Checkout-
|
|
12
|
+
require('./Checkout-eef27045.js');
|
|
13
13
|
require('./utils-337befa9.js');
|
|
14
14
|
require('./Pagination-0da8f095.js');
|
|
15
15
|
require('./Payment-c47ed1e1.js');
|
|
16
16
|
require('./Dispute-eb6bad54.js');
|
|
17
|
-
require('./SubAccount-
|
|
17
|
+
require('./SubAccount-f9069337.js');
|
|
18
18
|
require('./Document-0b828345.js');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-82b16c28.js');
|
|
20
20
|
|
|
21
21
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
22
22
|
var _a;
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
require('./ComponentError-233ac749.js');
|
|
7
|
-
const Checkout = require('./Checkout-
|
|
7
|
+
const Checkout = require('./Checkout-eef27045.js');
|
|
8
8
|
require('./Pagination-0da8f095.js');
|
|
9
9
|
require('./Payment-c47ed1e1.js');
|
|
10
|
-
require('./SubAccount-
|
|
10
|
+
require('./SubAccount-f9069337.js');
|
|
11
11
|
require('./Document-0b828345.js');
|
|
12
12
|
const checkoutsListParamsState = require('./checkouts-list-params-state-644d3639.js');
|
|
13
|
-
const parts = require('./parts-
|
|
13
|
+
const parts = require('./parts-63f60e81.js');
|
|
14
14
|
const styledHost = require('./styled-host-94309bab.js');
|
|
15
15
|
require('./utils-337befa9.js');
|
|
16
16
|
require('./Dispute-eb6bad54.js');
|
|
@@ -48,13 +48,13 @@ const CheckoutsListFilters = class {
|
|
|
48
48
|
get checkoutPaymentModeOptions() {
|
|
49
49
|
return [
|
|
50
50
|
{ label: 'All', value: '' },
|
|
51
|
-
{ label: 'E-commerce', value: Checkout.
|
|
52
|
-
{ label: 'BNPL', value: Checkout.
|
|
51
|
+
{ label: 'E-commerce', value: Checkout.ICheckoutPaymentModeParam.ecom },
|
|
52
|
+
{ label: 'BNPL', value: Checkout.ICheckoutPaymentModeParam.bnpl },
|
|
53
53
|
];
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
const filterMenuParams = Object.assign({}, checkoutsListParamsState.filterParams);
|
|
57
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
57
|
+
return (index.h(styledHost.StyledHost, { key: 'bcae6fee83117dde40a29ebcab8e85089bcdc37e' }, index.h("table-filters-menu", { key: '56c6a5d205836fe010917f0f0d978507cf227a3f', params: filterMenuParams, clearParams: checkoutsListParamsState.clearParams, part: parts.checkoutsListFilterMenu }, index.h("div", { key: 'c82691f9b863368a2b7523dc7d9d348c3fe2e776', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: '9abbb01e53139ebd376a638400b199d88288b175', class: "p-2" }, index.h("form-control-select", { key: '3859777cf1f4ee451a65440a90dfe9e5f4a2f069', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || checkoutsListParamsState.filterParams.status, disabled: !!this.checkoutStatus, part: parts.statusCheckoutsListFilterParam })), index.h("div", { key: '3c23d4b820ea2424d6ddc01e6952c8c46cd7d975', class: "p-2" }, index.h("form-control-select", { key: 'c376228f82419b959b3fefa6b32d25c584c6ea3b', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || checkoutsListParamsState.filterParams.payment_mode, disabled: !!this.paymentMode, part: parts.paymentModeCheckoutsListFilterParam }))))));
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
|
|
@@ -4,24 +4,24 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
|
-
const Checkout = require('./Checkout-
|
|
7
|
+
const Checkout = require('./Checkout-eef27045.js');
|
|
8
8
|
require('./Pagination-0da8f095.js');
|
|
9
9
|
require('./Payment-c47ed1e1.js');
|
|
10
|
-
require('./SubAccount-
|
|
10
|
+
require('./SubAccount-f9069337.js');
|
|
11
11
|
require('./Document-0b828345.js');
|
|
12
12
|
const utils = require('./utils-7a478c37.js');
|
|
13
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
14
|
-
const Analytics = require('./Analytics-
|
|
15
|
-
const checkout_service = require('./checkout.service-
|
|
16
|
-
const getSubaccounts = require('./get-subaccounts-
|
|
13
|
+
const checkPkgVersion = require('./check-pkg-version-d19c6fdb.js');
|
|
14
|
+
const Analytics = require('./Analytics-e91a5523.js');
|
|
15
|
+
const checkout_service = require('./checkout.service-0643396e.js');
|
|
16
|
+
const getSubaccounts = require('./get-subaccounts-40c4a0b6.js');
|
|
17
17
|
const styledHost = require('./styled-host-94309bab.js');
|
|
18
|
-
const checkoutsTable = require('./checkouts-table-
|
|
18
|
+
const checkoutsTable = require('./checkouts-table-f88ad3c8.js');
|
|
19
19
|
require('./utils-337befa9.js');
|
|
20
20
|
require('./Dispute-eb6bad54.js');
|
|
21
|
-
require('./package-
|
|
21
|
+
require('./package-82b16c28.js');
|
|
22
22
|
require('./Api-f5280a80.js');
|
|
23
|
-
require('./badge-
|
|
24
|
-
require('./parts-
|
|
23
|
+
require('./badge-6abf6ed3.js');
|
|
24
|
+
require('./parts-63f60e81.js');
|
|
25
25
|
|
|
26
26
|
const makeGetCheckouts = ({ accountId, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
|
|
27
27
|
var _a, _b;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const utils = require('./utils-
|
|
7
|
-
require('./parts-
|
|
6
|
+
const utils = require('./utils-f752bd45.js');
|
|
7
|
+
require('./parts-63f60e81.js');
|
|
8
8
|
|
|
9
9
|
const Details = class {
|
|
10
10
|
constructor(hostRef) {
|