@justifi/webcomponents 5.3.4 → 5.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Checkout-1c07dc32.js → Checkout-eef27045.js} +11 -6
- package/dist/cjs/{SubAccount-b4811a8e.js → SubAccount-df3d28dc.js} +70 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-86a6a7f8.js → badge-79e56b99.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +7 -7
- package/dist/cjs/bank-account-form_9.cjs.entry.js +4 -4
- package/dist/cjs/billing-form_3.cjs.entry.js +6 -6
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{button-5f6c437f.js → button-797bb3cc.js} +1 -1
- package/dist/cjs/{Analytics-2fb20059.js → check-pkg-version-1f8b660c.js} +21 -1
- package/dist/cjs/{checkout.service-b23994d2.js → checkout.service-c01e2cd7.js} +2 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +9 -10
- package/dist/cjs/{checkouts-table-cf3e245e.js → checkouts-table-61543249.js} +2 -2
- package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper.cjs.entry.js} +2 -141
- package/dist/cjs/{dispute.service-c192dd33.js → dispute.service-399de502.js} +2 -2
- package/dist/cjs/{table-fc82fa81.js → event-types-666f1f22.js} +9 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-9905e3b8.js → form-control-error-text-b782cdd0.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -4
- package/dist/cjs/{form-control-help-text-8d031bfb.js → form-control-help-text-ca3c8155.js} +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_3.cjs.entry.js +145 -0
- package/dist/cjs/{get-payout-csv-13d68dab.js → get-payout-csv-11a983a0.js} +2 -2
- package/dist/cjs/{get-subaccounts-b2e6ab82.js → get-subaccounts-224f9497.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/{header-1-b202dbbb.js → header-1-ff669f3f.js} +1 -1
- package/dist/cjs/{header-3-5f78acd1.js → header-3-f6642390.js} +1 -1
- package/dist/cjs/{insurance-state-ba0c39a9.js → insurance-state-66c9bea7.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +5 -5
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +71 -108
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -10
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +7 -8
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +31 -25
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -6
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +187 -41
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -6
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +79 -13
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -26
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-e8aa0c51.js → package-d34fcfa5.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-c2655003.js → parts-1fb925c2.js} +3 -5
- package/dist/cjs/payment-details-core.cjs.entry.js +12 -12
- package/dist/cjs/{payment.service-f53022c3.js → payment.service-f369b33c.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +10 -11
- package/dist/cjs/{payments-status-92abe577.js → payments-status-ffdc54ff.js} +1 -1
- package/dist/cjs/{payments-table-c58e3ca8.js → payments-table-98b4e5e3.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
- package/dist/cjs/payouts-list-core.cjs.entry.js +10 -11
- package/dist/cjs/{payouts-status-703d62af.js → payouts-status-64fd0c68.js} +1 -1
- package/dist/cjs/{payouts-table-70fc1498.js → payouts-table-ecfb826b.js} +2 -2
- package/dist/cjs/{skeleton-84102a44.js → skeleton-2ae76f16.js} +1 -1
- package/dist/cjs/{spinner-70f38e5e.js → spinner-15764f3c.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +31 -11
- package/dist/cjs/terminal-orders-table-f1bed365.js +56 -0
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +36 -0
- package/dist/cjs/terminal.service-4fd34835.js +35 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +9 -10
- package/dist/cjs/{terminals-table-db58a0c0.js → terminals-table-30298ce4.js} +6 -4
- package/dist/cjs/{utils-7c5b2837.js → utils-3e3b8061.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/terminal/get-terminal-models.js +30 -0
- package/dist/collection/actions/terminal/get-terminal-orders.js +34 -0
- package/dist/collection/actions/terminal/order-terminals.js +29 -0
- package/dist/collection/api/Checkout.js +5 -0
- package/dist/collection/api/Terminal.js +1 -0
- package/dist/collection/api/TerminalModel.js +15 -0
- package/dist/collection/api/TerminalOrder.js +51 -0
- package/dist/collection/api/index.js +2 -0
- package/dist/collection/api/services/terminal.service.js +11 -0
- package/dist/collection/api/services/terminal_orders.service.js +9 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +2 -2
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +8 -8
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +27 -15
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +22 -14
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/file-input-handler.js +11 -0
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +26 -14
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +26 -12
- package/dist/collection/components/order-terminals/order-terminals-loading.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +159 -35
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector-loading.js +5 -0
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +153 -0
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-order-status.js +23 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +53 -7
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +52 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +17 -5
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-table.js +4 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/styles/parts.js +3 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +2 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/docs.json +530 -50
- package/dist/esm/{Checkout-919eb1ba.js → Checkout-2bc873fb.js} +6 -1
- package/dist/esm/{SubAccount-9aad3891.js → SubAccount-dbd4e50c.js} +69 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-2eb79416.js → badge-6f5acf30.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +7 -7
- package/dist/esm/bank-account-form_9.entry.js +4 -4
- package/dist/esm/billing-form_3.entry.js +6 -6
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{button-cc455199.js → button-79dcea75.js} +1 -1
- package/dist/esm/{Analytics-759c7da5.js → check-pkg-version-8e7e585e.js} +21 -2
- package/dist/esm/{checkout.service-bb45d248.js → checkout.service-382a16ec.js} +2 -2
- package/dist/esm/checkouts-list-core.entry.js +7 -8
- package/dist/esm/{checkouts-table-53981285.js → checkouts-table-8a53cef9.js} +2 -2
- package/dist/esm/{custom-popper_4.entry.js → custom-popper.entry.js} +4 -140
- package/dist/esm/{dispute.service-9008b3b7.js → dispute.service-97887804.js} +2 -2
- package/dist/esm/{table-e287f1c0.js → event-types-82515a49.js} +10 -3
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-74c6b38a.js → form-control-error-text-466c252b.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -4
- package/dist/esm/{form-control-help-text-76a4196e.js → form-control-help-text-242916e3.js} +1 -1
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_3.entry.js +139 -0
- package/dist/esm/{get-payout-csv-8450b60d.js → get-payout-csv-6826271a.js} +2 -2
- package/dist/esm/{get-subaccounts-3af0844a.js → get-subaccounts-f21220dc.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-797ca789.js → header-1-b43590e5.js} +1 -1
- package/dist/esm/{header-3-544afa0b.js → header-3-b90e161e.js} +1 -1
- package/dist/esm/{insurance-state-307335d6.js → insurance-state-9e4a3359.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +5 -5
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +4 -4
- package/dist/esm/justifi-additional-statement_8.entry.js +71 -108
- package/dist/esm/justifi-business-details.entry.js +4 -5
- package/dist/esm/justifi-business-form.entry.js +8 -9
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +6 -6
- package/dist/esm/justifi-checkout.entry.js +6 -7
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +9 -10
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +5 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +30 -24
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -5
- package/dist/esm/justifi-order-terminals.entry.js +187 -41
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +7 -8
- package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -3
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +10 -11
- package/dist/esm/justifi-payout-details.entry.js +7 -8
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +11 -12
- package/dist/esm/justifi-refund-form.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +80 -14
- package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
- package/dist/esm/justifi-terminals-list.entry.js +11 -24
- package/dist/esm/justifi-tokenize-payment-method.entry.js +8 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-49477570.js → package-46c7f3a6.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-489f0af6.js → parts-2c5c609b.js} +3 -4
- package/dist/esm/payment-details-core.entry.js +12 -12
- package/dist/esm/{payment.service-a8ee345c.js → payment.service-a8aa5be7.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +9 -10
- package/dist/esm/{payments-status-35255b2c.js → payments-status-6e203ce4.js} +1 -1
- package/dist/esm/{payments-table-6e97396a.js → payments-table-4c6093e1.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +7 -7
- package/dist/esm/payouts-list-core.entry.js +9 -10
- package/dist/esm/{payouts-status-a0cc00c5.js → payouts-status-66e830f1.js} +1 -1
- package/dist/esm/{payouts-table-6b8ba8f1.js → payouts-table-46fbedb6.js} +2 -2
- package/dist/esm/{skeleton-74fbfb68.js → skeleton-122648e6.js} +1 -1
- package/dist/esm/{spinner-6b708842.js → spinner-14cd9ac7.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +30 -10
- package/dist/esm/terminal-orders-table-83b905fd.js +52 -0
- package/dist/esm/terminal-quantity-selector.entry.js +32 -0
- package/dist/esm/terminal.service-20445fc1.js +33 -0
- package/dist/esm/terminals-list-core.entry.js +8 -9
- package/dist/esm/{terminals-table-c6258344.js → terminals-table-dbbf9a99.js} +6 -4
- package/dist/esm/{utils-6c26bccc.js → utils-4cb0d852.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Checkout.js +6 -1
- package/dist/module/SubAccount.js +69 -1
- package/dist/module/additional-statement.js +9 -14
- package/dist/module/cancellation-policy.js +9 -14
- package/dist/module/check-pkg-version.js +80 -1
- package/dist/module/checkouts-list-core2.js +1 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +9 -14
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +22 -14
- package/dist/module/dispute-response.js +1 -2
- package/dist/module/duplicate-charge.js +9 -14
- package/dist/module/electronic-evidence.js +9 -14
- package/dist/module/event-types2.js +55 -1
- package/dist/module/{dispute-response-form-types.js → file-input-handler.js} +23 -13
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +2 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-details.js +1 -2
- package/dist/module/justifi-business-form.js +1 -2
- package/dist/module/justifi-checkout.js +2 -3
- package/dist/module/justifi-checkouts-list-filters.js +4 -4
- package/dist/module/justifi-checkouts-list.js +1 -2
- package/dist/module/justifi-dispute-management.js +1 -2
- package/dist/module/justifi-gross-payment-chart.js +1 -2
- package/dist/module/justifi-order-terminals.js +211 -41
- package/dist/module/justifi-payment-details.js +1 -2
- package/dist/module/justifi-payment-provisioning.js +1 -2
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +2 -3
- package/dist/module/justifi-payout-details.js +1 -2
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -3
- package/dist/module/justifi-refund-form.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +1 -2
- package/dist/module/justifi-terminal-orders-list.js +75 -12
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +4 -18
- package/dist/module/justifi-tokenize-payment-method.js +3 -4
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +3 -4
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment-provisioning-core.js +2 -2
- package/dist/module/payments-list-core2.js +2 -3
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +2 -3
- package/dist/module/product-or-service.js +17 -16
- package/dist/module/refund-policy.js +9 -14
- package/dist/module/shipping-details.js +9 -12
- package/dist/module/terminal-orders-list-core2.js +67 -10
- package/dist/module/terminal-quantity-selector.d.ts +11 -0
- package/dist/module/terminal-quantity-selector.js +6 -0
- package/dist/module/terminal-quantity-selector2.js +66 -0
- package/dist/module/terminal.service.js +33 -0
- package/dist/module/terminals-list-core2.js +6 -5
- package/dist/types/actions/terminal/get-terminal-models.d.ts +8 -0
- package/dist/types/actions/terminal/get-terminal-orders.d.ts +11 -0
- package/dist/types/actions/terminal/order-terminals.d.ts +8 -0
- package/dist/types/api/Checkout.d.ts +4 -0
- package/dist/types/api/Terminal.d.ts +2 -0
- package/dist/types/api/TerminalModel.d.ts +31 -0
- package/dist/types/api/TerminalOrder.d.ts +53 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/services/terminal.service.d.ts +4 -0
- package/dist/types/api/services/terminal_orders.service.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +0 -1
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +3 -3
- package/dist/types/components/dispute-management/dispute-response/additional-statement.d.ts +4 -2
- package/dist/types/components/dispute-management/dispute-response/cancellation-policy.d.ts +4 -2
- package/dist/types/components/dispute-management/dispute-response/customer-details.d.ts +5 -2
- package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +5 -4
- package/dist/types/components/dispute-management/dispute-response/duplicate-charge.d.ts +4 -2
- package/dist/types/components/dispute-management/dispute-response/electronic-evidence.d.ts +4 -2
- package/dist/types/components/dispute-management/dispute-response/file-input-handler.d.ts +2 -0
- package/dist/types/components/dispute-management/dispute-response/product-or-service.d.ts +4 -2
- package/dist/types/components/dispute-management/dispute-response/refund-policy.d.ts +5 -2
- package/dist/types/components/dispute-management/dispute-response/shipping-details.d.ts +4 -1
- package/dist/types/components/order-terminals/order-terminals.d.ts +30 -3
- package/dist/types/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector-loading.d.ts +1 -0
- package/dist/types/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.d.ts +17 -0
- package/dist/types/components/terminal-orders-list/terminal-order-status.d.ts +2 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +7 -5
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +8 -2
- package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +16 -5
- package/dist/types/components/terminals-list/terminals-table.d.ts +3 -1
- package/dist/types/components.d.ts +87 -8
- package/dist/types/global.d.ts +1 -0
- package/dist/types/styles/parts.d.ts +2 -0
- package/dist/webcomponents/p-0137575f.entry.js +1 -0
- package/dist/webcomponents/{p-f7d9ea0b.entry.js → p-030a8806.entry.js} +1 -1
- package/dist/webcomponents/p-039a09b8.entry.js +1 -0
- package/dist/webcomponents/{p-29688e30.js → p-046ecd01.js} +1 -1
- package/dist/webcomponents/{p-1278dedf.js → p-087758d3.js} +1 -1
- package/dist/webcomponents/{p-060896c4.entry.js → p-0a60d356.entry.js} +1 -1
- package/dist/webcomponents/p-0ba77d53.entry.js +1 -0
- package/dist/webcomponents/p-0c22225c.entry.js +1 -0
- package/dist/webcomponents/{p-5a96a2a2.entry.js → p-0cefd846.entry.js} +1 -1
- package/dist/webcomponents/{p-ae271c06.entry.js → p-10a14943.entry.js} +1 -1
- package/dist/webcomponents/p-10e32428.entry.js +1 -0
- package/dist/webcomponents/p-1705af62.js +1 -0
- package/dist/webcomponents/{p-553dba95.entry.js → p-19b8c3c8.entry.js} +1 -1
- package/dist/webcomponents/p-1a48d917.entry.js +1 -0
- package/dist/webcomponents/{p-300a99ee.js → p-1e300d41.js} +1 -1
- package/dist/webcomponents/p-2027145a.entry.js +1 -0
- package/dist/webcomponents/p-222fa126.entry.js +1 -0
- package/dist/webcomponents/{p-a31ba276.entry.js → p-33a17e80.entry.js} +1 -1
- package/dist/webcomponents/p-34e18d17.entry.js +1 -0
- package/dist/webcomponents/{p-e3e0d791.entry.js → p-36edba41.entry.js} +1 -1
- package/dist/webcomponents/p-3732aa87.js +1 -0
- package/dist/webcomponents/p-382ab4e8.js +1 -0
- package/dist/webcomponents/p-3947a309.entry.js +1 -0
- package/dist/webcomponents/p-3cbdca1b.js +1 -0
- package/dist/webcomponents/{p-939d0a35.entry.js → p-4d5c553d.entry.js} +1 -1
- package/dist/webcomponents/{p-8b16a20f.js → p-547b51e9.js} +1 -1
- package/dist/webcomponents/p-5ee67fad.js +1 -0
- package/dist/webcomponents/p-5efe9572.entry.js +1 -0
- package/dist/webcomponents/p-638b91ff.entry.js +1 -0
- package/dist/webcomponents/{p-e007002a.entry.js → p-685c7028.entry.js} +1 -1
- package/dist/webcomponents/{p-14f40baa.js → p-694078d2.js} +1 -1
- package/dist/webcomponents/p-69ac2640.entry.js +1 -0
- package/dist/webcomponents/p-6a2d6298.entry.js +1 -0
- package/dist/webcomponents/{p-b57cfe54.entry.js → p-6ef3de11.entry.js} +1 -1
- package/dist/webcomponents/p-71897cbc.js +1 -0
- package/dist/webcomponents/{p-4fbdf440.entry.js → p-759f25a1.entry.js} +1 -1
- package/dist/webcomponents/p-7dc9fb75.js +1 -0
- package/dist/webcomponents/p-7e93eac9.entry.js +1 -0
- package/dist/webcomponents/p-7ed52fbc.entry.js +1 -0
- package/dist/webcomponents/{p-8a7266b4.js → p-8066b866.js} +1 -1
- package/dist/webcomponents/p-830f0971.entry.js +1 -0
- package/dist/webcomponents/{p-020e7d5d.entry.js → p-833ef79e.entry.js} +1 -1
- package/dist/webcomponents/p-8971f9da.entry.js +1 -0
- package/dist/webcomponents/p-8c461ebc.entry.js +1 -0
- package/dist/webcomponents/p-8fad4359.entry.js +1 -0
- package/dist/webcomponents/{p-dfebd7a4.js → p-9dc9aaba.js} +1 -1
- package/dist/webcomponents/p-9f1a3199.js +1 -0
- package/dist/webcomponents/{p-19063270.entry.js → p-a07afdcc.entry.js} +1 -1
- package/dist/webcomponents/p-a173ccd5.entry.js +1 -0
- package/dist/webcomponents/p-a3d75257.js +1 -0
- package/dist/webcomponents/p-a957612b.entry.js +1 -0
- package/dist/webcomponents/p-aa21cdb1.entry.js +1 -0
- package/dist/webcomponents/p-aa923138.entry.js +1 -0
- package/dist/webcomponents/p-ad473d5c.entry.js +1 -0
- package/dist/webcomponents/p-b11468b5.entry.js +1 -0
- package/dist/webcomponents/{p-3b680e50.js → p-b5addd78.js} +1 -1
- package/dist/webcomponents/p-b62403c2.entry.js +1 -0
- package/dist/webcomponents/{p-bfe339d5.js → p-b69beb1c.js} +1 -1
- package/dist/webcomponents/{p-78a204f9.entry.js → p-b76f755a.entry.js} +1 -1
- package/dist/webcomponents/p-b8ee505d.entry.js +1 -0
- package/dist/webcomponents/p-b92aac9b.entry.js +1 -0
- package/dist/webcomponents/{p-fea43254.entry.js → p-b92f125b.entry.js} +1 -1
- package/dist/webcomponents/{p-a90d8f4f.entry.js → p-bd2340f7.entry.js} +1 -1
- package/dist/webcomponents/{p-b2d57b2c.entry.js → p-bd2d9d29.entry.js} +1 -1
- package/dist/webcomponents/p-bdf0ab42.js +1 -0
- package/dist/webcomponents/p-c406c0fa.js +1 -0
- package/dist/webcomponents/{p-09496255.js → p-c54f54ed.js} +1 -1
- package/dist/webcomponents/p-c5cc443e.entry.js +1 -0
- package/dist/webcomponents/p-cd68707b.entry.js +1 -0
- package/dist/webcomponents/p-d5a481e4.entry.js +1 -0
- package/dist/webcomponents/{p-389e1eb7.js → p-daf0303f.js} +1 -1
- package/dist/webcomponents/p-e366ef1e.js +1 -0
- package/dist/webcomponents/p-e400e31f.entry.js +1 -0
- package/dist/webcomponents/{p-235abbd1.entry.js → p-e4514af8.entry.js} +1 -1
- package/dist/webcomponents/{p-06f5b709.js → p-e60867c6.js} +1 -1
- package/dist/webcomponents/{p-89ecfbf4.entry.js → p-e754d8e7.entry.js} +1 -1
- package/dist/webcomponents/p-eb05bd1e.entry.js +1 -0
- package/dist/webcomponents/p-ede13cc8.js +1 -0
- package/dist/webcomponents/{p-df2559c7.js → p-ee9d433f.js} +1 -1
- package/dist/webcomponents/{p-ebbe93ac.entry.js → p-f04dbd80.entry.js} +1 -1
- package/dist/webcomponents/p-f2111e68.js +1 -0
- package/dist/webcomponents/p-f3061f2a.entry.js +1 -0
- package/dist/webcomponents/{p-906a6027.js → p-fa987dcf.js} +1 -1
- package/dist/webcomponents/p-fae67ab3.js +1 -0
- package/dist/webcomponents/p-fd4607f9.entry.js +1 -0
- package/dist/webcomponents/p-ffd0c24b.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/check-pkg-version-f5a3d421.js +0 -24
- package/dist/cjs/event-types-b6d34593.js +0 -8
- package/dist/cjs/terminal-orders-table-61081532.js +0 -18
- package/dist/esm/check-pkg-version-1d6e48c8.js +0 -22
- package/dist/esm/event-types-0a83d0b4.js +0 -8
- package/dist/esm/terminal-orders-table-765c44d5.js +0 -14
- package/dist/module/Analytics.js +0 -82
- package/dist/module/table.js +0 -55
- package/dist/webcomponents/p-08a17c5c.entry.js +0 -1
- package/dist/webcomponents/p-0b38cfbf.js +0 -1
- package/dist/webcomponents/p-0f4d851d.entry.js +0 -1
- package/dist/webcomponents/p-1aa22806.js +0 -1
- package/dist/webcomponents/p-1f4e26f3.entry.js +0 -1
- package/dist/webcomponents/p-1f99a902.js +0 -1
- package/dist/webcomponents/p-27c72b92.entry.js +0 -1
- package/dist/webcomponents/p-29fbbc93.js +0 -1
- package/dist/webcomponents/p-2e0ae487.js +0 -1
- package/dist/webcomponents/p-2f9af679.js +0 -1
- package/dist/webcomponents/p-37b7b200.entry.js +0 -1
- package/dist/webcomponents/p-39a63e0c.entry.js +0 -1
- package/dist/webcomponents/p-3ab7a49e.entry.js +0 -1
- package/dist/webcomponents/p-3d486f37.entry.js +0 -1
- package/dist/webcomponents/p-42a48c59.js +0 -1
- package/dist/webcomponents/p-49df4962.entry.js +0 -1
- package/dist/webcomponents/p-4a71c90b.entry.js +0 -1
- package/dist/webcomponents/p-4b6256e0.entry.js +0 -1
- package/dist/webcomponents/p-53b660a3.entry.js +0 -1
- package/dist/webcomponents/p-56697a12.entry.js +0 -1
- package/dist/webcomponents/p-595479da.entry.js +0 -1
- package/dist/webcomponents/p-66ae2a0e.entry.js +0 -1
- package/dist/webcomponents/p-670296bf.entry.js +0 -1
- package/dist/webcomponents/p-75b7dfe7.entry.js +0 -1
- package/dist/webcomponents/p-794cce10.entry.js +0 -1
- package/dist/webcomponents/p-7c541199.entry.js +0 -1
- package/dist/webcomponents/p-7d2538d9.entry.js +0 -1
- package/dist/webcomponents/p-7ee5a90e.entry.js +0 -1
- package/dist/webcomponents/p-8548edd6.entry.js +0 -1
- package/dist/webcomponents/p-9055aa6e.entry.js +0 -1
- package/dist/webcomponents/p-9a4d0e1d.entry.js +0 -1
- package/dist/webcomponents/p-9cbbe9cb.entry.js +0 -1
- package/dist/webcomponents/p-9edd6ad8.js +0 -1
- package/dist/webcomponents/p-a0082e77.entry.js +0 -1
- package/dist/webcomponents/p-a6b66c88.entry.js +0 -1
- package/dist/webcomponents/p-acca56ec.entry.js +0 -1
- package/dist/webcomponents/p-af945fc0.entry.js +0 -1
- package/dist/webcomponents/p-c2196cb8.entry.js +0 -1
- package/dist/webcomponents/p-c4ca0038.js +0 -1
- package/dist/webcomponents/p-cba89310.entry.js +0 -1
- package/dist/webcomponents/p-cbe05f11.js +0 -1
- package/dist/webcomponents/p-d279545a.entry.js +0 -1
- package/dist/webcomponents/p-d398ce81.js +0 -1
- package/dist/webcomponents/p-d432f0fd.entry.js +0 -1
- package/dist/webcomponents/p-d5c41ec6.js +0 -1
- package/dist/webcomponents/p-e8cd9691.js +0 -1
- package/dist/webcomponents/p-e9e80a62.js +0 -1
- package/dist/webcomponents/p-ec019b89.js +0 -1
- package/dist/webcomponents/p-fa843aad.entry.js +0 -1
- package/dist/webcomponents/p-fc3d2a9e.entry.js +0 -1
- package/dist/webcomponents/p-ff1f2d65.js +0 -1
|
@@ -3,13 +3,15 @@ import { DisputeEvidenceDocument } from "../../../api/DisputeEvidenceDocument";
|
|
|
3
3
|
import { DisputeResponseFormStep } from "./dispute-response-form-types";
|
|
4
4
|
export declare class ProductOrService {
|
|
5
5
|
disputeResponse: any;
|
|
6
|
+
documentErrors: any;
|
|
6
7
|
form: FormController;
|
|
7
8
|
errors: any;
|
|
8
|
-
|
|
9
|
+
documents: {
|
|
10
|
+
service_documentation: DisputeEvidenceDocument[];
|
|
11
|
+
};
|
|
9
12
|
validateAndSubmit(onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void): Promise<void>;
|
|
10
13
|
componentWillLoad(): void;
|
|
11
14
|
componentDidLoad(): void;
|
|
12
|
-
private handleFileSelection;
|
|
13
15
|
private inputHandler;
|
|
14
16
|
render(): any;
|
|
15
17
|
}
|
|
@@ -3,13 +3,16 @@ import { DisputeEvidenceDocument } from "../../../api/DisputeEvidenceDocument";
|
|
|
3
3
|
import { DisputeResponseFormStep } from "./dispute-response-form-types";
|
|
4
4
|
export declare class RefundPolicy {
|
|
5
5
|
disputeResponse: any;
|
|
6
|
+
documentErrors: any;
|
|
6
7
|
form: FormController;
|
|
7
8
|
errors: any;
|
|
8
|
-
|
|
9
|
+
documents: {
|
|
10
|
+
refund_policy: DisputeEvidenceDocument[];
|
|
11
|
+
receipt: DisputeEvidenceDocument[];
|
|
12
|
+
};
|
|
9
13
|
validateAndSubmit(onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void): Promise<void>;
|
|
10
14
|
componentWillLoad(): void;
|
|
11
15
|
componentDidLoad(): void;
|
|
12
16
|
private inputHandler;
|
|
13
|
-
private handleFileSelection;
|
|
14
17
|
render(): any;
|
|
15
18
|
}
|
|
@@ -3,13 +3,16 @@ import { DisputeEvidenceDocument } from "../../../api/DisputeEvidenceDocument";
|
|
|
3
3
|
import { DisputeResponseFormStep } from "./dispute-response-form-types";
|
|
4
4
|
export declare class ShippingDetails {
|
|
5
5
|
disputeResponse: any;
|
|
6
|
+
documentErrors: any;
|
|
6
7
|
form: FormController;
|
|
7
8
|
errors: any;
|
|
9
|
+
documents: {
|
|
10
|
+
shipping_documentation: DisputeEvidenceDocument[];
|
|
11
|
+
};
|
|
8
12
|
documentList: DisputeEvidenceDocument[];
|
|
9
13
|
validateAndSubmit(onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void): Promise<void>;
|
|
10
14
|
componentWillLoad(): void;
|
|
11
15
|
componentDidLoad(): void;
|
|
12
16
|
private inputHandler;
|
|
13
|
-
private handleFileSelection;
|
|
14
17
|
render(): any;
|
|
15
18
|
}
|
|
@@ -1,16 +1,43 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
2
|
import JustifiAnalytics from "../../api/Analytics";
|
|
3
|
-
import {
|
|
3
|
+
import { ComponentErrorCodes, ComponentErrorSeverity } from '../../api/ComponentError';
|
|
4
|
+
import { TerminalModel, ComponentErrorEvent } from "../../api";
|
|
4
5
|
import { Business } from "../../api/Business";
|
|
6
|
+
import { TerminalOrder } from "../../api/TerminalOrder";
|
|
5
7
|
export declare class OrderTerminals {
|
|
6
8
|
businessId: string;
|
|
7
9
|
authToken: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
accountId: string;
|
|
11
|
+
shipping: boolean;
|
|
12
|
+
loading: {
|
|
13
|
+
business: boolean;
|
|
14
|
+
terminals: boolean;
|
|
15
|
+
};
|
|
16
|
+
submitting: boolean;
|
|
17
|
+
error: {
|
|
18
|
+
message: string;
|
|
19
|
+
code?: ComponentErrorCodes;
|
|
20
|
+
severity?: ComponentErrorSeverity;
|
|
21
|
+
} | null;
|
|
10
22
|
business: Business;
|
|
23
|
+
terminalModels: TerminalModel[];
|
|
24
|
+
orderLimit: number;
|
|
25
|
+
order: TerminalOrder;
|
|
26
|
+
totalQuantity: number;
|
|
11
27
|
analytics: JustifiAnalytics;
|
|
12
28
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
29
|
+
submitted: EventEmitter<any>;
|
|
13
30
|
componentWillLoad(): void;
|
|
31
|
+
private handleError;
|
|
32
|
+
private loadData;
|
|
14
33
|
private initializeGetBusiness;
|
|
34
|
+
private initializeGetTerminalModels;
|
|
35
|
+
private submitOrder;
|
|
36
|
+
private onSelectedQuantityChange;
|
|
37
|
+
private renderLoading;
|
|
38
|
+
private renderError;
|
|
39
|
+
private renderBusinessDetails;
|
|
40
|
+
private renderTerminals;
|
|
41
|
+
private renderOrderSection;
|
|
15
42
|
render(): any;
|
|
16
43
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TerminalSelectorLoading: () => any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { TerminalModelName } from "../../../api";
|
|
3
|
+
export declare class TerminalQuantitySelector {
|
|
4
|
+
modelName: TerminalModelName;
|
|
5
|
+
imageUrl: string;
|
|
6
|
+
description: string;
|
|
7
|
+
helpUrl: string;
|
|
8
|
+
limit: number;
|
|
9
|
+
selectedQuantity: number;
|
|
10
|
+
selectedQuantityChange: EventEmitter<{
|
|
11
|
+
modelName: TerminalModelName;
|
|
12
|
+
quantity: number;
|
|
13
|
+
}>;
|
|
14
|
+
private removeUnit;
|
|
15
|
+
private addUnit;
|
|
16
|
+
render(): any;
|
|
17
|
+
}
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { Table } from '../../utils/table';
|
|
3
|
-
import { PagingInfo } from '../../api';
|
|
3
|
+
import { ComponentClickEvent, ComponentErrorEvent, PagingInfo } from '../../api';
|
|
4
|
+
import { TerminalOrder } from '../../api';
|
|
4
5
|
export declare class TerminalOrdersListCore {
|
|
5
6
|
getTerminalOrders: Function;
|
|
6
7
|
columns: string;
|
|
7
|
-
terminalOrders:
|
|
8
|
-
terminalOrdersTable: Table<
|
|
8
|
+
terminalOrders: TerminalOrder[];
|
|
9
|
+
terminalOrdersTable: Table<TerminalOrder>;
|
|
9
10
|
loading: boolean;
|
|
10
11
|
errorMessage: string;
|
|
11
12
|
paging: PagingInfo;
|
|
12
13
|
pagingParams: any;
|
|
13
14
|
updateOnPropChange(): void;
|
|
14
|
-
|
|
15
|
+
clickEvent: EventEmitter<ComponentClickEvent>;
|
|
16
|
+
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
15
17
|
componentWillLoad(): void;
|
|
16
18
|
fetchData(): void;
|
|
17
19
|
handleClickPrevious: (beforeCursor: string) => void;
|
|
18
20
|
handleClickNext: (afterCursor: string) => void;
|
|
19
21
|
rowClickHandler: (e: any) => void;
|
|
20
|
-
get entityId():
|
|
22
|
+
get entityId(): string[];
|
|
21
23
|
get showEmptyState(): boolean;
|
|
22
24
|
get showErrorState(): boolean;
|
|
23
25
|
get showRowData(): boolean;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ComponentErrorEvent } from '../../api';
|
|
3
|
+
import JustifiAnalytics from '../../api/Analytics';
|
|
1
4
|
export declare class TerminalOrdersList {
|
|
2
5
|
getTerminalOrders: Function;
|
|
3
6
|
errorMessage: string;
|
|
4
|
-
|
|
7
|
+
accountId: string;
|
|
5
8
|
authToken: string;
|
|
6
9
|
apiOrigin?: string;
|
|
7
10
|
columns?: string;
|
|
11
|
+
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
12
|
+
analytics: JustifiAnalytics;
|
|
8
13
|
componentWillLoad(): void;
|
|
9
|
-
private
|
|
14
|
+
private initializeGetData;
|
|
15
|
+
handleErrorEvent: (event: any) => void;
|
|
10
16
|
render(): any;
|
|
11
17
|
}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
import { TerminalOrder } from '../../api';
|
|
2
|
+
export declare const defaultColumnsKeys = "created_at,updated_at,order_status,quantity";
|
|
2
3
|
export declare const terminalOrdersTableColumns: {
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
created_at: () => any;
|
|
5
|
+
updated_at: () => any;
|
|
6
|
+
order_status: () => any;
|
|
7
|
+
business_id: () => any;
|
|
8
|
+
provider: () => any;
|
|
9
|
+
order_type: () => any;
|
|
10
|
+
quantity: () => any;
|
|
5
11
|
};
|
|
6
12
|
export declare const terminalOrdersTableCells: {
|
|
7
|
-
|
|
8
|
-
|
|
13
|
+
created_at: (terminalOrder: TerminalOrder, index: number) => any;
|
|
14
|
+
updated_at: (terminalOrder: TerminalOrder, index: number) => any;
|
|
15
|
+
order_status: (terminalOrder: TerminalOrder, index: number) => any;
|
|
16
|
+
business_id: (terminalOrder: TerminalOrder, index: number) => any;
|
|
17
|
+
provider: (terminalOrder: TerminalOrder, index: number) => any;
|
|
18
|
+
order_type: (terminalOrder: TerminalOrder, index: number) => any;
|
|
19
|
+
quantity: (terminalOrder: TerminalOrder, index: number) => any;
|
|
9
20
|
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Terminal } from '../../api/Terminal';
|
|
2
|
-
export declare const defaultColumnsKeys = "nickname,
|
|
2
|
+
export declare const defaultColumnsKeys = "nickname,provider_serial_number,status";
|
|
3
3
|
export declare const terminalTableColumns: {
|
|
4
4
|
nickname: () => any;
|
|
5
|
+
provider_serial_number: () => any;
|
|
5
6
|
provider_id: () => any;
|
|
6
7
|
sub_account_name: () => any;
|
|
7
8
|
status: () => any;
|
|
8
9
|
};
|
|
9
10
|
export declare const terminalTableCells: {
|
|
10
11
|
nickname: (terminal: Terminal, index: number) => any;
|
|
12
|
+
provider_serial_number: (terminal: Terminal, index: number) => any;
|
|
11
13
|
provider_id: (terminal: Terminal, index: number) => any;
|
|
12
14
|
sub_account_name: (terminal: Terminal, index: number) => any;
|
|
13
15
|
status: (terminal: Terminal, index: number) => any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
|
|
9
|
-
import { ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl,
|
|
9
|
+
import { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, ITerminalStatus, TerminalModelName } from "./api";
|
|
10
10
|
import { BillingFormFields, PostalFormFields } from "./components/billing-forms/billing-form-schema";
|
|
11
11
|
import { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
12
12
|
import { Placement, PositioningStrategy } from "@popperjs/core";
|
|
@@ -23,7 +23,7 @@ import { RefundFormFields } from "./components/refund-form/refund-form-schema";
|
|
|
23
23
|
import { Identity } from "./api/Identity";
|
|
24
24
|
import { PaginationProps } from "./components/pagination-menu/pagination-menu";
|
|
25
25
|
export { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
|
|
26
|
-
export { ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl,
|
|
26
|
+
export { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, ITerminalStatus, TerminalModelName } from "./api";
|
|
27
27
|
export { BillingFormFields, PostalFormFields } from "./components/billing-forms/billing-form-schema";
|
|
28
28
|
export { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
29
29
|
export { Placement, PositioningStrategy } from "@popperjs/core";
|
|
@@ -245,6 +245,7 @@ export namespace Components {
|
|
|
245
245
|
}
|
|
246
246
|
interface JustifiAdditionalStatement {
|
|
247
247
|
"disputeResponse": any;
|
|
248
|
+
"documentErrors": any;
|
|
248
249
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
249
250
|
}
|
|
250
251
|
interface JustifiBillingFormWrapper {
|
|
@@ -346,6 +347,7 @@ export namespace Components {
|
|
|
346
347
|
}
|
|
347
348
|
interface JustifiCancellationPolicy {
|
|
348
349
|
"disputeResponse": any;
|
|
350
|
+
"documentErrors": any;
|
|
349
351
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
350
352
|
}
|
|
351
353
|
interface JustifiCheckout {
|
|
@@ -380,10 +382,11 @@ export namespace Components {
|
|
|
380
382
|
}
|
|
381
383
|
interface JustifiCheckoutsListFilters {
|
|
382
384
|
"checkoutStatus"?: ICheckoutStatus;
|
|
383
|
-
"paymentMode"?:
|
|
385
|
+
"paymentMode"?: ICheckoutPaymentModeParam;
|
|
384
386
|
}
|
|
385
387
|
interface JustifiCustomerDetails {
|
|
386
388
|
"disputeResponse": any;
|
|
389
|
+
"documentErrors": any;
|
|
387
390
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
388
391
|
}
|
|
389
392
|
interface JustifiDetails {
|
|
@@ -430,10 +433,12 @@ export namespace Components {
|
|
|
430
433
|
}
|
|
431
434
|
interface JustifiDuplicateCharge {
|
|
432
435
|
"disputeResponse": any;
|
|
436
|
+
"documentErrors": any;
|
|
433
437
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
434
438
|
}
|
|
435
439
|
interface JustifiElectronicEvidence {
|
|
436
440
|
"disputeResponse": any;
|
|
441
|
+
"documentErrors": any;
|
|
437
442
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
438
443
|
}
|
|
439
444
|
interface JustifiGrossPaymentChart {
|
|
@@ -472,8 +477,10 @@ export namespace Components {
|
|
|
472
477
|
"resolvePaymentMethod": (insuranceValidation: any) => Promise<PaymentMethodPayload>;
|
|
473
478
|
}
|
|
474
479
|
interface JustifiOrderTerminals {
|
|
480
|
+
"accountId": string;
|
|
475
481
|
"authToken": string;
|
|
476
482
|
"businessId": string;
|
|
483
|
+
"shipping": boolean;
|
|
477
484
|
}
|
|
478
485
|
interface JustifiOwnerForm {
|
|
479
486
|
"allowOptionalFields"?: boolean;
|
|
@@ -568,6 +575,7 @@ export namespace Components {
|
|
|
568
575
|
}
|
|
569
576
|
interface JustifiProductOrService {
|
|
570
577
|
"disputeResponse": any;
|
|
578
|
+
"documentErrors": any;
|
|
571
579
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
572
580
|
}
|
|
573
581
|
interface JustifiRefundForm {
|
|
@@ -598,6 +606,7 @@ export namespace Components {
|
|
|
598
606
|
}
|
|
599
607
|
interface JustifiRefundPolicy {
|
|
600
608
|
"disputeResponse": any;
|
|
609
|
+
"documentErrors": any;
|
|
601
610
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
602
611
|
}
|
|
603
612
|
interface JustifiSaveNewPaymentMethod {
|
|
@@ -651,12 +660,13 @@ export namespace Components {
|
|
|
651
660
|
}
|
|
652
661
|
interface JustifiShippingDetails {
|
|
653
662
|
"disputeResponse": any;
|
|
663
|
+
"documentErrors": any;
|
|
654
664
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
655
665
|
}
|
|
656
666
|
interface JustifiTerminalOrdersList {
|
|
667
|
+
"accountId": string;
|
|
657
668
|
"apiOrigin"?: string;
|
|
658
669
|
"authToken": string;
|
|
659
|
-
"businessId": string;
|
|
660
670
|
"columns"?: string;
|
|
661
671
|
}
|
|
662
672
|
interface JustifiTerminalsList {
|
|
@@ -749,6 +759,13 @@ export namespace Components {
|
|
|
749
759
|
"columns": string;
|
|
750
760
|
"getTerminalOrders": Function;
|
|
751
761
|
}
|
|
762
|
+
interface TerminalQuantitySelector {
|
|
763
|
+
"description": string;
|
|
764
|
+
"helpUrl": string;
|
|
765
|
+
"imageUrl": string;
|
|
766
|
+
"limit": number;
|
|
767
|
+
"modelName": TerminalModelName;
|
|
768
|
+
}
|
|
752
769
|
interface TerminalsListCore {
|
|
753
770
|
"columns": string;
|
|
754
771
|
"getSubAccounts": Function;
|
|
@@ -975,6 +992,10 @@ export interface JustifiSezzlePaymentMethodCustomEvent<T> extends CustomEvent<T>
|
|
|
975
992
|
detail: T;
|
|
976
993
|
target: HTMLJustifiSezzlePaymentMethodElement;
|
|
977
994
|
}
|
|
995
|
+
export interface JustifiTerminalOrdersListCustomEvent<T> extends CustomEvent<T> {
|
|
996
|
+
detail: T;
|
|
997
|
+
target: HTMLJustifiTerminalOrdersListElement;
|
|
998
|
+
}
|
|
978
999
|
export interface JustifiTerminalsListCustomEvent<T> extends CustomEvent<T> {
|
|
979
1000
|
detail: T;
|
|
980
1001
|
target: HTMLJustifiTerminalsListElement;
|
|
@@ -1007,6 +1028,10 @@ export interface TerminalOrdersListCoreCustomEvent<T> extends CustomEvent<T> {
|
|
|
1007
1028
|
detail: T;
|
|
1008
1029
|
target: HTMLTerminalOrdersListCoreElement;
|
|
1009
1030
|
}
|
|
1031
|
+
export interface TerminalQuantitySelectorCustomEvent<T> extends CustomEvent<T> {
|
|
1032
|
+
detail: T;
|
|
1033
|
+
target: HTMLTerminalQuantitySelectorElement;
|
|
1034
|
+
}
|
|
1010
1035
|
export interface TerminalsListCoreCustomEvent<T> extends CustomEvent<T> {
|
|
1011
1036
|
detail: T;
|
|
1012
1037
|
target: HTMLTerminalsListCoreElement;
|
|
@@ -1911,6 +1936,7 @@ declare global {
|
|
|
1911
1936
|
};
|
|
1912
1937
|
interface HTMLJustifiOrderTerminalsElementEventMap {
|
|
1913
1938
|
"error-event": ComponentErrorEvent1;
|
|
1939
|
+
"submit-event": any;
|
|
1914
1940
|
}
|
|
1915
1941
|
interface HTMLJustifiOrderTerminalsElement extends Components.JustifiOrderTerminals, HTMLStencilElement {
|
|
1916
1942
|
addEventListener<K extends keyof HTMLJustifiOrderTerminalsElementEventMap>(type: K, listener: (this: HTMLJustifiOrderTerminalsElement, ev: JustifiOrderTerminalsCustomEvent<HTMLJustifiOrderTerminalsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2198,7 +2224,18 @@ declare global {
|
|
|
2198
2224
|
prototype: HTMLJustifiShippingDetailsElement;
|
|
2199
2225
|
new (): HTMLJustifiShippingDetailsElement;
|
|
2200
2226
|
};
|
|
2227
|
+
interface HTMLJustifiTerminalOrdersListElementEventMap {
|
|
2228
|
+
"error-event": ComponentErrorEvent1;
|
|
2229
|
+
}
|
|
2201
2230
|
interface HTMLJustifiTerminalOrdersListElement extends Components.JustifiTerminalOrdersList, HTMLStencilElement {
|
|
2231
|
+
addEventListener<K extends keyof HTMLJustifiTerminalOrdersListElementEventMap>(type: K, listener: (this: HTMLJustifiTerminalOrdersListElement, ev: JustifiTerminalOrdersListCustomEvent<HTMLJustifiTerminalOrdersListElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2232
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2233
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2234
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2235
|
+
removeEventListener<K extends keyof HTMLJustifiTerminalOrdersListElementEventMap>(type: K, listener: (this: HTMLJustifiTerminalOrdersListElement, ev: JustifiTerminalOrdersListCustomEvent<HTMLJustifiTerminalOrdersListElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2236
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2237
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2238
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2202
2239
|
}
|
|
2203
2240
|
var HTMLJustifiTerminalOrdersListElement: {
|
|
2204
2241
|
prototype: HTMLJustifiTerminalOrdersListElement;
|
|
@@ -2378,7 +2415,8 @@ declare global {
|
|
|
2378
2415
|
new (): HTMLTableFiltersMenuElement;
|
|
2379
2416
|
};
|
|
2380
2417
|
interface HTMLTerminalOrdersListCoreElementEventMap {
|
|
2381
|
-
"
|
|
2418
|
+
"click-event": ComponentClickEvent1;
|
|
2419
|
+
"error-event": ComponentErrorEvent1;
|
|
2382
2420
|
}
|
|
2383
2421
|
interface HTMLTerminalOrdersListCoreElement extends Components.TerminalOrdersListCore, HTMLStencilElement {
|
|
2384
2422
|
addEventListener<K extends keyof HTMLTerminalOrdersListCoreElementEventMap>(type: K, listener: (this: HTMLTerminalOrdersListCoreElement, ev: TerminalOrdersListCoreCustomEvent<HTMLTerminalOrdersListCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2394,6 +2432,23 @@ declare global {
|
|
|
2394
2432
|
prototype: HTMLTerminalOrdersListCoreElement;
|
|
2395
2433
|
new (): HTMLTerminalOrdersListCoreElement;
|
|
2396
2434
|
};
|
|
2435
|
+
interface HTMLTerminalQuantitySelectorElementEventMap {
|
|
2436
|
+
"selectedQuantityChange": { modelName: TerminalModelName, quantity: number };
|
|
2437
|
+
}
|
|
2438
|
+
interface HTMLTerminalQuantitySelectorElement extends Components.TerminalQuantitySelector, HTMLStencilElement {
|
|
2439
|
+
addEventListener<K extends keyof HTMLTerminalQuantitySelectorElementEventMap>(type: K, listener: (this: HTMLTerminalQuantitySelectorElement, ev: TerminalQuantitySelectorCustomEvent<HTMLTerminalQuantitySelectorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2440
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2441
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2442
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2443
|
+
removeEventListener<K extends keyof HTMLTerminalQuantitySelectorElementEventMap>(type: K, listener: (this: HTMLTerminalQuantitySelectorElement, ev: TerminalQuantitySelectorCustomEvent<HTMLTerminalQuantitySelectorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2444
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2445
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2446
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2447
|
+
}
|
|
2448
|
+
var HTMLTerminalQuantitySelectorElement: {
|
|
2449
|
+
prototype: HTMLTerminalQuantitySelectorElement;
|
|
2450
|
+
new (): HTMLTerminalQuantitySelectorElement;
|
|
2451
|
+
};
|
|
2397
2452
|
interface HTMLTerminalsListCoreElementEventMap {
|
|
2398
2453
|
"click-event": ComponentClickEvent;
|
|
2399
2454
|
"error-event": ComponentErrorEvent;
|
|
@@ -2519,6 +2574,7 @@ declare global {
|
|
|
2519
2574
|
"representative-details": HTMLRepresentativeDetailsElement;
|
|
2520
2575
|
"table-filters-menu": HTMLTableFiltersMenuElement;
|
|
2521
2576
|
"terminal-orders-list-core": HTMLTerminalOrdersListCoreElement;
|
|
2577
|
+
"terminal-quantity-selector": HTMLTerminalQuantitySelectorElement;
|
|
2522
2578
|
"terminals-list-core": HTMLTerminalsListCoreElement;
|
|
2523
2579
|
}
|
|
2524
2580
|
}
|
|
@@ -2751,6 +2807,7 @@ declare namespace LocalJSX {
|
|
|
2751
2807
|
}
|
|
2752
2808
|
interface JustifiAdditionalStatement {
|
|
2753
2809
|
"disputeResponse"?: any;
|
|
2810
|
+
"documentErrors"?: any;
|
|
2754
2811
|
}
|
|
2755
2812
|
interface JustifiBillingFormWrapper {
|
|
2756
2813
|
"hideCardBillingForm"?: boolean;
|
|
@@ -2863,6 +2920,7 @@ declare namespace LocalJSX {
|
|
|
2863
2920
|
}
|
|
2864
2921
|
interface JustifiCancellationPolicy {
|
|
2865
2922
|
"disputeResponse"?: any;
|
|
2923
|
+
"documentErrors"?: any;
|
|
2866
2924
|
}
|
|
2867
2925
|
interface JustifiCheckout {
|
|
2868
2926
|
"authToken"?: string;
|
|
@@ -2900,10 +2958,11 @@ declare namespace LocalJSX {
|
|
|
2900
2958
|
}
|
|
2901
2959
|
interface JustifiCheckoutsListFilters {
|
|
2902
2960
|
"checkoutStatus"?: ICheckoutStatus;
|
|
2903
|
-
"paymentMode"?:
|
|
2961
|
+
"paymentMode"?: ICheckoutPaymentModeParam;
|
|
2904
2962
|
}
|
|
2905
2963
|
interface JustifiCustomerDetails {
|
|
2906
2964
|
"disputeResponse"?: any;
|
|
2965
|
+
"documentErrors"?: any;
|
|
2907
2966
|
}
|
|
2908
2967
|
interface JustifiDetails {
|
|
2909
2968
|
"errorMessage"?: string;
|
|
@@ -2959,9 +3018,11 @@ declare namespace LocalJSX {
|
|
|
2959
3018
|
}
|
|
2960
3019
|
interface JustifiDuplicateCharge {
|
|
2961
3020
|
"disputeResponse"?: any;
|
|
3021
|
+
"documentErrors"?: any;
|
|
2962
3022
|
}
|
|
2963
3023
|
interface JustifiElectronicEvidence {
|
|
2964
3024
|
"disputeResponse"?: any;
|
|
3025
|
+
"documentErrors"?: any;
|
|
2965
3026
|
}
|
|
2966
3027
|
interface JustifiGrossPaymentChart {
|
|
2967
3028
|
"accountId"?: string;
|
|
@@ -3001,9 +3062,12 @@ declare namespace LocalJSX {
|
|
|
3001
3062
|
"paymentMethodOption"?: PaymentMethodOption;
|
|
3002
3063
|
}
|
|
3003
3064
|
interface JustifiOrderTerminals {
|
|
3065
|
+
"accountId"?: string;
|
|
3004
3066
|
"authToken"?: string;
|
|
3005
3067
|
"businessId"?: string;
|
|
3006
3068
|
"onError-event"?: (event: JustifiOrderTerminalsCustomEvent<ComponentErrorEvent1>) => void;
|
|
3069
|
+
"onSubmit-event"?: (event: JustifiOrderTerminalsCustomEvent<any>) => void;
|
|
3070
|
+
"shipping"?: boolean;
|
|
3007
3071
|
}
|
|
3008
3072
|
interface JustifiOwnerForm {
|
|
3009
3073
|
"allowOptionalFields"?: boolean;
|
|
@@ -3102,6 +3166,7 @@ declare namespace LocalJSX {
|
|
|
3102
3166
|
}
|
|
3103
3167
|
interface JustifiProductOrService {
|
|
3104
3168
|
"disputeResponse"?: any;
|
|
3169
|
+
"documentErrors"?: any;
|
|
3105
3170
|
}
|
|
3106
3171
|
interface JustifiRefundForm {
|
|
3107
3172
|
/**
|
|
@@ -3135,6 +3200,7 @@ declare namespace LocalJSX {
|
|
|
3135
3200
|
}
|
|
3136
3201
|
interface JustifiRefundPolicy {
|
|
3137
3202
|
"disputeResponse"?: any;
|
|
3203
|
+
"documentErrors"?: any;
|
|
3138
3204
|
}
|
|
3139
3205
|
interface JustifiSaveNewPaymentMethod {
|
|
3140
3206
|
"onCheckboxChanged"?: (event: JustifiSaveNewPaymentMethodCustomEvent<boolean>) => void;
|
|
@@ -3189,12 +3255,14 @@ declare namespace LocalJSX {
|
|
|
3189
3255
|
}
|
|
3190
3256
|
interface JustifiShippingDetails {
|
|
3191
3257
|
"disputeResponse"?: any;
|
|
3258
|
+
"documentErrors"?: any;
|
|
3192
3259
|
}
|
|
3193
3260
|
interface JustifiTerminalOrdersList {
|
|
3261
|
+
"accountId"?: string;
|
|
3194
3262
|
"apiOrigin"?: string;
|
|
3195
3263
|
"authToken"?: string;
|
|
3196
|
-
"businessId"?: string;
|
|
3197
3264
|
"columns"?: string;
|
|
3265
|
+
"onError-event"?: (event: JustifiTerminalOrdersListCustomEvent<ComponentErrorEvent1>) => void;
|
|
3198
3266
|
}
|
|
3199
3267
|
interface JustifiTerminalsList {
|
|
3200
3268
|
"accountId"?: string;
|
|
@@ -3289,7 +3357,16 @@ declare namespace LocalJSX {
|
|
|
3289
3357
|
interface TerminalOrdersListCore {
|
|
3290
3358
|
"columns"?: string;
|
|
3291
3359
|
"getTerminalOrders"?: Function;
|
|
3292
|
-
"
|
|
3360
|
+
"onClick-event"?: (event: TerminalOrdersListCoreCustomEvent<ComponentClickEvent1>) => void;
|
|
3361
|
+
"onError-event"?: (event: TerminalOrdersListCoreCustomEvent<ComponentErrorEvent1>) => void;
|
|
3362
|
+
}
|
|
3363
|
+
interface TerminalQuantitySelector {
|
|
3364
|
+
"description"?: string;
|
|
3365
|
+
"helpUrl"?: string;
|
|
3366
|
+
"imageUrl"?: string;
|
|
3367
|
+
"limit"?: number;
|
|
3368
|
+
"modelName"?: TerminalModelName;
|
|
3369
|
+
"onSelectedQuantityChange"?: (event: TerminalQuantitySelectorCustomEvent<{ modelName: TerminalModelName, quantity: number }>) => void;
|
|
3293
3370
|
}
|
|
3294
3371
|
interface TerminalsListCore {
|
|
3295
3372
|
"columns"?: string;
|
|
@@ -3405,6 +3482,7 @@ declare namespace LocalJSX {
|
|
|
3405
3482
|
"representative-details": RepresentativeDetails;
|
|
3406
3483
|
"table-filters-menu": TableFiltersMenu;
|
|
3407
3484
|
"terminal-orders-list-core": TerminalOrdersListCore;
|
|
3485
|
+
"terminal-quantity-selector": TerminalQuantitySelector;
|
|
3408
3486
|
"terminals-list-core": TerminalsListCore;
|
|
3409
3487
|
}
|
|
3410
3488
|
}
|
|
@@ -3523,6 +3601,7 @@ declare module "@stencil/core" {
|
|
|
3523
3601
|
"representative-details": LocalJSX.RepresentativeDetails & JSXBase.HTMLAttributes<HTMLRepresentativeDetailsElement>;
|
|
3524
3602
|
"table-filters-menu": LocalJSX.TableFiltersMenu & JSXBase.HTMLAttributes<HTMLTableFiltersMenuElement>;
|
|
3525
3603
|
"terminal-orders-list-core": LocalJSX.TerminalOrdersListCore & JSXBase.HTMLAttributes<HTMLTerminalOrdersListCoreElement>;
|
|
3604
|
+
"terminal-quantity-selector": LocalJSX.TerminalQuantitySelector & JSXBase.HTMLAttributes<HTMLTerminalQuantitySelectorElement>;
|
|
3526
3605
|
"terminals-list-core": LocalJSX.TerminalsListCore & JSXBase.HTMLAttributes<HTMLTerminalsListCoreElement>;
|
|
3527
3606
|
}
|
|
3528
3607
|
}
|
package/dist/types/global.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const heading2 = "heading-2 heading text color font-family";
|
|
|
12
12
|
export declare const heading3 = "heading-3 heading text color font-family";
|
|
13
13
|
export declare const heading4 = "heading-4 heading text color font-family";
|
|
14
14
|
export declare const heading5 = "heading-5 heading text color font-family";
|
|
15
|
+
export declare const link = "link text color font-family";
|
|
15
16
|
export declare const button = "button text color font-family";
|
|
16
17
|
export declare const buttonPrimary = "button-primary button text color font-family";
|
|
17
18
|
export declare const buttonSecondary = "button-secondary button text color font-family";
|
|
@@ -65,6 +66,7 @@ export declare const radioListItem = "radio-list-item text color font-family";
|
|
|
65
66
|
export declare const listGroup = "list-group text color font-family background-color";
|
|
66
67
|
export declare const listGroupItem = "list-group-item text color font-family background-color";
|
|
67
68
|
export declare const skeleton = "skeleton";
|
|
69
|
+
export declare const image = "image";
|
|
68
70
|
export declare const billingForm = "billing-form";
|
|
69
71
|
export declare const checkoutSummary = "checkout-summary";
|
|
70
72
|
export declare const filterMenu = "filter-menu";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i}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-daf0303f.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-382ab4e8.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(i){t(this,i),this.submitted=e(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,e){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:e}))}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 i(d,{key:"7becd3fcc3a0beefef5efdb860616aa60f7e61ad"},i("h1",{key:"7125ac0e8452db4013d9065054aca8d65ead0138"},"Refund"),this.refundInfoText&&i("div",{key:"b60dbcac95e75469bab9e575efe5eba40d629693",class:"d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3",role:"alert"},i("img",{key:"231e5bcb4fdd82ea4e9bb0597bfe194759eb8e22",src:"/info-icon.svg",alt:"Information",height:"30",width:"30"}),i("p",{key:"21faa4040e99ee142e0f06246fc8317dcc5dfa28",class:"m-0",innerHTML:this.refundInfoText})),i("form",{key:"4a8671c7f833279c14e29ae0f4054586fa7ecbba",onSubmit:t=>this.handleSubmit(t),class:"d-grid gap-4"},i("div",{key:"d4296520cb377a6b61547615a2b95a3088ace83a",class:"form-group"},i("form-control-monetary",{key:"dbe00249e022722aea24f9967408625b7460f0f7",name:"amount",label:"Refund Amount",defaultValue:(null===(t=this.amount)||void 0===t?void 0:t.toString())||"",maskOptions:n.DECIMAL,inputHandler:(t,e)=>this.handleInput(t,e),errorText:this.errors.amount})),i("div",{key:"765d36337fc31bd6ade5b9a94397b83e7f46e2a8",class:"form-group"},i("form-control-text",{key:"3f3bc7e95568944d876fcf95e98ba9d871479096",name:"notes",label:"Additional Notes",inputHandler:(t,e)=>this.handleInput(t,e),errorText:this.errors.notes})),this.withButton&&i("div",{key:"4576ce0e5d04f063fd53045845fa5a4cf5bc6383",class:"form-group d-flex flex-row-reverse"},i("button",{key:"6165726b003006432d82ce5792a961ea2f42d654",type:"submit",disabled:!!this.isSubmitting,class:"btn btn-primary ml-auto"},this.submitButtonText))))}};export{m as justifi_refund_form}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as i,r as s,c as t}from"./p-2783e363.js";import{p as e,f as o,r as a,g as r}from"./p-2ca5b5e4.js";import{v as h,a as d,b as l,H as n}from"./p-
|
|
1
|
+
import{h as i,r as s,c as t}from"./p-2783e363.js";import{p as e,f as o,r as a,g as r}from"./p-2ca5b5e4.js";import{v as h,a as d,b as l,H as n}from"./p-e366ef1e.js";import{t as c,d as v}from"./p-f2111e68.js";import{S as p}from"./p-bfe9748b.js";import{S as u}from"./p-a3d75257.js";import"./p-f20b6ce1.js";const m=()=>i("div",{class:"row gap-3"},i("div",{class:"col-12"},i(u,{width:"35%",height:"30px"})),i("div",{class:"col-12"},i(u,{width:"70%"})),i("div",{class:"col-12"},i(u,{width:"40%"})),i("div",{class:"col-12"},i(u,{width:"40%"})),i("div",{class:"col-12"},i(u,{width:"100%"})),i("div",{class:"col-12"},i(u,{width:"80%"}))),f=class{constructor(i){s(this,i),this.insuranceUpdated=t(this,"insurance-updated",7),this.errorEvent=t(this,"error-event",7),this.checkoutId=void 0,this.getQuote=void 0,this.toggleCoverage=void 0,this.primaryIdentityFirstName=void 0,this.primaryIdentityLastName=void 0,this.primaryIdentityState=void 0,this.primaryIdentityPostalCode=void 0,this.primaryIdentityCountry=void 0,this.primaryIdentityEmailAddress=void 0,this.policyAttributesInsurableAmount=void 0,this.policyAttributesStartDate=void 0,this.policyAttributesEndDate=void 0,this.coveredIdentityFirstName=void 0,this.coveredIdentityLastName=void 0,this.quote=void 0,this.isLoading=!0,this.accepted=void 0}async validate(){return h()}componentWillLoad(){this.getQuote&&this.fetchData()}fetchData(){this.isLoading=!0,this.getQuote({payload:{checkout_id:this.checkoutId,policy_type:"season_interruption",primary_identity:{state:this.primaryIdentityState,email:this.primaryIdentityEmailAddress,first_name:this.primaryIdentityFirstName,last_name:this.primaryIdentityLastName,postal_code:this.primaryIdentityPostalCode,country:this.primaryIdentityCountry},policy_attributes:{insurable_amount:this.policyAttributesInsurableAmount,start_date:this.policyAttributesStartDate,end_date:this.policyAttributesEndDate,covered_identity:{first_name:this.coveredIdentityFirstName,last_name:this.coveredIdentityLastName}}},onSuccess:({quote:i})=>{this.quote=i,this.quote.product.description=e(this.quote.product.description,[i=>a(i,"style"),i=>r(i,"a","part",c)]),this.quote.product.legal_disclaimer=e(this.quote.product.legal_disclaimer,[i=>a(i,"style"),i=>r(i,"a","part",c)]),d[i.policy_type]=i.accepted,this.isLoading=!1},onError:({error:i,code:s,severity:t})=>{this.isLoading=!1,this.errorEvent.emit({errorCode:s,message:i,severity:t})}})}onChangeHandler(i,s){this.accepted=s,l[this.quote.policy_type]=!1,this.toggleCoverage({quoteId:this.quote.id,payload:{accepted:this.accepted},onSuccess:()=>{this.insuranceUpdated.emit(),d[this.quote.policy_type]=this.accepted},onError:({error:i,code:s,severity:t})=>{this.errorEvent.emit({errorCode:s,message:i,severity:t})}})}get error(){var i;return l[null===(i=this.quote)||void 0===i?void 0:i.policy_type]}render(){var s,t,e,a;return i(p,null,this.isLoading?i(m,null):i("div",null,i(n,{text:null===(s=this.quote)||void 0===s?void 0:s.product.title,class:"fs-5 fw-bold pb-3"}),i("small",{innerHTML:null===(t=this.quote)||void 0===t?void 0:t.product.description,part:c}),i("form-control-radio",{label:`Accept coverage for ${o(null===(e=this.quote)||void 0===e?void 0:e.total_cents)}`,name:"opt-in",value:"true",checked:"true"===this.accepted,inputHandler:this.onChangeHandler.bind(this)}),i("form-control-radio",{label:"Decline coverage",name:"opt-in",value:"false",checked:"false"===this.accepted,inputHandler:this.onChangeHandler.bind(this)}),i("div",{class:"invalid-feedback",style:{display:this.error?"block":"none"},part:v},"Please select an option"),i("small",{innerHTML:null===(a=this.quote)||void 0===a?void 0:a.product.legal_disclaimer,part:c})))}};export{f as justifi_season_interruption_insurance_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as i,r as s,c as t}from"./p-2783e363.js";import{B as e,C as r,g as o,t as d}from"./p-f2111e68.js";import{S as l}from"./p-bfe9748b.js";import{E as a}from"./p-547b51e9.js";import{c as n,J as h}from"./p-ee9d433f.js";import{a as c,C as v}from"./p-9dd8685c.js";import{B as u}from"./p-b4ed5a2c.js";import{B as p}from"./p-5d1d2fd7.js";import{m}from"./p-f30cb232.js";import{S as f}from"./p-a3d75257.js";import"./p-daf0303f.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import{T as b,a as w,b as g}from"./p-382ab4e8.js";import"./p-61f0a2ce.js";import{g as j,a as x}from"./p-87f8c596.js";import{T as y}from"./p-1705af62.js";import"./p-046ecd01.js";import"./p-0e180654.js";import"./p-1ff8810b.js";import"./p-6078a370.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";const S=()=>i("div",{class:"row gap-3"},i("div",{class:"col-12"},i(f,{width:"25%"})),i("div",{class:"col-12"},i(f,{width:"100%"})),i("div",{class:"col-12 d-flex gap-3"},i(f,{width:"50%"}),i(f,{width:"50%"})),i("div",{class:"col-12 d-flex gap-3"},i(f,{width:"65%"}),i(f,{width:"35%"}))),k=()=>i("div",{class:"row gap-5"},i("div",{class:"col-12"},i(f,{width:"40%",height:"40px"})),i(S,null)),T=()=>i("div",{class:"terminal-selector-skeleton mt-4 rounded shadow-sm"},i("div",{class:"d-flex align-items-center gap-3"},i(f,{width:"125px",height:"125px",styles:{borderRadius:"8px"}}),i("div",{class:"flex-grow-1"},i("div",{class:"d-flex row flex-row"},i("div",{class:"col-6 flex-column"},i(f,null),i(f,{width:"60%"})),i("div",{class:"d-flex justify-content-end align-items-center gap-2 col-6"},i(f,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}),i(f,{width:"80px",height:"32px"}),i(f,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}))),i("div",{class:"mt-4"},i("div",{class:"d-flex flex-column gap-2"},i(f,null),i(f,null)))))),E=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event",7),this.submitted=t(this,"submit-event",7),this.businessId=void 0,this.authToken=void 0,this.accountId=void 0,this.shipping=!1,this.loading={business:!0,terminals:!0},this.submitting=!1,this.error=null,this.business=void 0,this.terminalModels=void 0,this.orderLimit=void 0,this.order=void 0,this.totalQuantity=0}componentWillLoad(){this.order=new w({business_id:this.businessId,account_id:this.accountId,order_type:this.shipping?g.boardingShipping:g.boardingOnly}),n(),this.analytics=new h(this),this.loadData()}handleError(i,s,t){this.error={message:i,code:s,severity:t},this.errorEvent.emit({errorCode:s,message:i,severity:t})}loadData(){this.businessId&&this.authToken?(this.initializeGetBusiness(),this.initializeGetTerminalModels()):this.handleError("Invalid business id or auth token",v.MISSING_PROPS,c.ERROR)}initializeGetBusiness(){m({id:this.businessId,authToken:this.authToken,service:new u})({onSuccess:({business:i})=>{this.business=new p(i),this.loading.business=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.business=!1}})}initializeGetTerminalModels(){(({id:i,authToken:s,service:t})=>async({onSuccess:e,onError:r})=>{var o,d,l,a;try{const n=await t.fetchTerminalModels(i,s);if(n.error)return r({error:j(n.error),code:x(null===(a=n.error)||void 0===a?void 0:a.code),severity:c.ERROR});e({terminals:(null===(d=null===(o=n.data)||void 0===o?void 0:o.terminal_order_models)||void 0===d?void 0:d.map((i=>new b(i))))||[],orderLimit:null===(l=n.data)||void 0===l?void 0:l.order_limit})}catch(i){const s=x(null==i?void 0:i.code);return r({error:i.message||i,code:s,severity:c.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new y})({onSuccess:({terminals:i,orderLimit:s})=>{this.terminalModels=i,this.orderLimit=s,this.loading.terminals=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.terminals=!1}})}submitOrder(){const i=(({authToken:i,service:s})=>async({terminalOrder:t,onSuccess:e,onError:r})=>{var o;try{const d=await s.orderTerminals(i,t);if(d.error)return r({error:j(d.error),code:x(null===(o=d.error)||void 0===o?void 0:o.code),severity:c.ERROR});{const{data:i}=d;e({data:i})}}catch(i){const s=x(null==i?void 0:i.code);return r({error:i.message||i,code:s,severity:c.ERROR})}})({authToken:this.authToken,service:new y});this.submitting=!0,i({terminalOrder:this.order.payload,onSuccess:({data:i})=>{this.submitted.emit(i),this.submitting=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.submitting=!1}})}onSelectedQuantityChange(i){this.order.updateTerminal(i.detail.modelName,i.detail.quantity),this.totalQuantity=this.order.totalQuantity}renderLoading(){return i("div",null,this.loading.business&&i(k,null),this.loading.terminals&&i("div",{class:"mt-5"},i(T,null),i(T,null),i(T,null)))}renderError(){if(!this.loading.business&&this.error)return a(this.error.message)}renderBusinessDetails(){var s,t,o,d,l,a,n,h;if(!this.loading.business&&this.business)return i("div",{class:"gap-5 pt-5 mb-5"},i("div",{class:"row"},i("div",{class:"col-12"},i("h2",{part:r},this.business.legal_name))),i("div",{class:"row"},i("h5",{part:e},"Representative:"),i("div",null,i("div",null,null===(t=null===(s=this.business)||void 0===s?void 0:s.representative)||void 0===t?void 0:t.name),i("div",null,null===(d=null===(o=this.business)||void 0===o?void 0:o.representative)||void 0===d?void 0:d.title),i("div",null,null===(a=null===(l=this.business)||void 0===l?void 0:l.representative)||void 0===a?void 0:a.email),i("div",null,null===(h=null===(n=this.business)||void 0===n?void 0:n.representative)||void 0===h?void 0:h.phone))))}renderTerminals(){if(!this.loading.terminals&&this.terminalModels)return i("div",{class:"d-flex flex-column gap-2 mt-5"},this.terminalModels.map((s=>i("terminal-quantity-selector",{modelName:s.model_name,description:s.description,imageUrl:s.image_url,helpUrl:s.help_url,limit:this.orderLimit-this.order.totalQuantity,onSelectedQuantityChange:this.onSelectedQuantityChange.bind(this)}))))}renderOrderSection(){return i("div",{class:"mt-3"},i("div",{class:"text-end"},"Order limit: ",this.orderLimit),i("div",{class:"d-flex justify-content-end mt-3"},i("button",{class:"btn btn-primary submit-btn",onClick:this.submitOrder.bind(this),disabled:0===this.order.totalQuantity||this.submitting,part:o},this.submitting?"Submitting...":"Submit Order")))}render(){return i(l,{key:"b8861877f987b473d37858e3b36a5f3901521dd3"},i("div",{key:"4fd38462c88f52afbf48898c417a87acdce46e54",part:d},this.renderLoading(),this.renderError(),this.renderBusinessDetails(),this.renderTerminals(),this.renderOrderSection()))}};export{E as justifi_order_terminals}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={name:"@justifi/webcomponents",version:"5.3.
|
|
1
|
+
const e={name:"@justifi/webcomponents",version:"5.3.6",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}
|