@solvimon/solvimon-web 0.1.0-alpha.29 → 0.1.0-alpha.30
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/README.md +12 -2
- package/dist/{Alert.vue.es-CNrEaLvh.mjs → Alert.vue.es-ZPG49yR_.mjs} +1 -1
- package/dist/{AuthProvider.handle-DKfNs8rr.mjs → AuthProvider.handle-SRR_04XS.mjs} +1 -1
- package/dist/{Avatar.vue.es-r0NbcIib.mjs → Avatar.vue.es-geDQsZwu.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs} +4 -4
- package/dist/{Button.vue.es-Zw--kuaU.mjs → Button.vue.es-j7iYlqtJ.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-B8FDkS9U.mjs → ChargeOnDemandModal-CR01PkP_.mjs} +14 -14
- package/dist/{Checkout.entry.ce-DsGl-5aR.mjs → Checkout.entry.ce-CopWuLJC.mjs} +1784 -1817
- package/dist/{CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs → CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs} +7 -7
- package/dist/{Chip.vue.es-D3UDSyXC.mjs → Chip.vue.es-Dxx_0dte.mjs} +2 -2
- package/dist/{ContextMenu.vue.es-B9mFpUQK.mjs → ContextMenu.vue.es-BJO4U47Q.mjs} +5 -5
- package/dist/{CustomerBillingInformation.vue.es-B8NiQaJs.mjs → CustomerBillingInformation.vue.es-CmNpqcBw.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs} +5 -5
- package/dist/{CustomerShippingAddresses-Bj8Y17O8.mjs → CustomerShippingAddresses-BRPukhRI.mjs} +8 -8
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs} +434 -425
- package/dist/{DividerText.vue.es-CNbgif-3.mjs → DividerText.vue.es-BusbyeAI.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs} +3 -3
- package/dist/{ErrorNotification.vue.es-DNd65mQq.mjs → ErrorNotification.vue.es-F068p7PY.mjs} +2 -2
- package/dist/{FormMessage.vue.es-Cjv358Ab.mjs → FormMessage.vue.es-CwMQpIAW.mjs} +1 -1
- package/dist/{IconButton.vue.es-C8lYFx5_.mjs → IconButton.vue.es-D8DtBW9i.mjs} +2 -2
- package/dist/{IconTitle.vue.es-O2kcqgKm.mjs → IconTitle.vue.es-6VJtjJX2.mjs} +3 -3
- package/dist/{Input.vue.es-D8Oj8MWv.mjs → Input.vue.es-BLyHcmu4.mjs} +4 -4
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs} +4 -4
- package/dist/{InvoicePreview.vue.es-4Q2hzaFS.mjs → InvoicePreview.vue.es-Cpf66_xV.mjs} +4 -4
- package/dist/{InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs → InvoicePricingClauseChip.vue.es-CDrAE901.mjs} +3 -3
- package/dist/{Label.vue.es-DtpLM1KH.mjs → Label.vue.es-es7ZUBSP.mjs} +3 -3
- package/dist/{Modal.vue.es-C8ZcO117.mjs → Modal.vue.es-eeR9FmvQ.mjs} +6 -6
- package/dist/{OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs → OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs} +5 -5
- package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs} +2 -2
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-BvY2nXGV.mjs → PaymentHistoryBlock-CN42ewCn.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-CcfQSzKM.mjs → PaymentIntegrationForm-D3Ye7LZ5.mjs} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs} +5 -5
- package/dist/{PaymentIntegrationFormAdyen-DqgDfO6K.mjs → PaymentIntegrationFormAdyen-Fm-diCCO.mjs} +39 -38
- package/dist/{PaymentIntegrationFormStripe-BYdAkvLt.mjs → PaymentIntegrationFormStripe-BANBL6za.mjs} +14 -13
- package/dist/{PaymentMethod.vue.es-b0p3a0L-.mjs → PaymentMethod.vue.es-t3-VyoE8.mjs} +4 -4
- package/dist/{PaymentMethodForm-BsTrTwCg.mjs → PaymentMethodForm-CqP3GoNj.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs} +6 -6
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs} +7 -7
- package/dist/PlanCustomizationEditor-B76UNEMm.mjs +791 -0
- package/dist/{PortalLinkUnverified-B_EE2wTJ.mjs → PortalLinkUnverified-Cp60_kRJ.mjs} +3 -3
- package/dist/{PortalNotAvailable-DPE9y37H.mjs → PortalNotAvailable-DzSQnfzw.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs → PricingGroupRangeInput.vue.es-Srq_3cga.mjs} +156 -206
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs +177 -0
- package/dist/{RadioGroupExtended.vue.es-3nDXqIGi.mjs → RadioGroupExtended.vue.es-BbBMDf6l.mjs} +5 -5
- package/dist/{Section.vue.es-CvX9tg2f.mjs → Section.vue.es-Oqn1wGPZ.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs} +2 -2
- package/dist/{ShippingAddressesModal-C4p1IXXk.mjs → ShippingAddressesModal-c7nqf4Ny.mjs} +10 -10
- package/dist/StepInput.vue.es-ieh4EuJ7.mjs +213 -0
- package/dist/{SubscriptionDetails.entry.ce-D5SwM0YS.mjs → SubscriptionDetails.entry.ce-uYv45FGH.mjs} +91 -92
- package/dist/{SubscriptionSchedules-BZqlpAtk.mjs → SubscriptionSchedules-DMxX3GpK.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs} +1736 -1721
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs} +4 -4
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs} +9 -9
- package/dist/{TooltipParagraph.vue.es-Dw0ndjle.mjs → TooltipParagraph.vue.es-BES3zsYN.mjs} +1 -1
- package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs} +1 -1
- package/dist/{TrialChip.vue.es-DOopmaXA.mjs → TrialChip.vue.es-C51z1ZiA.mjs} +2 -2
- package/dist/addonQuantity-CCVaA3e-.mjs +758 -0
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +8 -8
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.mjs +14 -14
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.mjs +4 -4
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/core/index.mjs +1 -1
- package/dist/{customElements-BTj4ii4f.mjs → customElements-DK4GKNJG.mjs} +10 -10
- package/dist/{customer-BIjC0CWJ.mjs → customer-lf6S5DBR.mjs} +1 -1
- package/dist/{de-DE-DBbERiFr.mjs → de-DE-Cyj_NtiI.mjs} +4 -0
- package/dist/{fr-FR-IWJE-urI.mjs → fr-FR-CRFoWQ7J.mjs} +4 -0
- package/dist/{index.es-C7J3WGGo.mjs → index.es-BrVTOW5D.mjs} +4 -4
- package/dist/index.mjs +2 -2
- package/dist/{invoices-e1sKLgxg.mjs → invoices-DdREPDXV.mjs} +1 -1
- package/dist/{it-IT-B7ui2oxO.mjs → it-IT-DObZEc-U.mjs} +4 -0
- package/dist/{nl-NL-Bafh2xoT.mjs → nl-NL-C02xHilF.mjs} +4 -0
- package/dist/paymentFailure-QZdZHBhf.mjs +47 -0
- package/dist/{paymentMethods-B_82JGk_.mjs → paymentMethods-8w-ccfY_.mjs} +1 -1
- package/dist/{paymentMethods-Nfv9HdkS.mjs → paymentMethods-Goa25rTs.mjs} +2 -2
- package/dist/paymentOutcome-B6sW1eCV.mjs +22 -0
- package/dist/{payments-BnxbzQUC.mjs → payments-CKpU1K3t.mjs} +1 -1
- package/dist/{pricing-BOhvWWMj.mjs → pricing-CEaZGgKe.mjs} +1 -1
- package/dist/pricingItem.es-bCPArbTa.mjs +55 -0
- package/dist/{pricingPlanScheduleOverrides-Dxv5FOBd.mjs → pricingPlanScheduleOverrides-BBp-DmpV.mjs} +2 -2
- package/dist/{pricingPlanSchedules-Dv7ZCgNp.mjs → pricingPlanSchedules-DSMptcAh.mjs} +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +13 -13
- package/dist/screens/PayInvoice/PayInvoice.mjs +33 -32
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +172 -163
- package/dist/{sorting.es-CVyKw23D.mjs → sorting.es-C0pdMgX0.mjs} +1 -1
- package/dist/subscription-BwzkagDI.mjs +212 -0
- package/dist/{subscriptions-BWXZGK0E.mjs → subscriptions-B5bH8hsI.mjs} +1 -1
- package/dist/{taxId.es-DkD3Ltr8.mjs → taxId.es-e6NEvprh.mjs} +2 -2
- package/dist/types/public/core/configuration.d.ts +0 -1
- package/dist/types/public/core/types.d.ts +10 -5
- package/dist/{useActionDispatchProvider-3W2vEyIg.mjs → useActionDispatchProvider-ChAHdwR8.mjs} +1 -1
- package/dist/{useCustomer-cObBvDOu.mjs → useCustomer-CTMhg1nd.mjs} +2 -2
- package/dist/{useCustomerFormLabels-DJWf2O17.mjs → useCustomerFormLabels-D4oDnfxA.mjs} +9 -9
- package/dist/{useIncrementalLoading-CATuO36d.mjs → useIncrementalLoading-CBVutPH8.mjs} +1 -1
- package/dist/{useInvoiceData-DD44HTl7.mjs → useInvoiceData-qUGbBAQK.mjs} +2 -2
- package/dist/{useInvoicesList-CpB-41MQ.mjs → useInvoicesList-wJvZAJpW.mjs} +9 -9
- package/dist/{useLoadInitialData-qzdnBoui.mjs → useLoadInitialData-UvfYXgbi.mjs} +1 -1
- package/dist/{usePaymentFormHold-ByUZi3A-.mjs → usePaymentFormHold-Cwdr-vyc.mjs} +2 -2
- package/dist/{usePaymentMethodAvailability-DUdrs0Ji.mjs → usePaymentMethodAvailability-35l4pWdH.mjs} +4 -4
- package/dist/{usePaymentMethods-ByaKF7mf.mjs → usePaymentMethods-De7hlLHo.mjs} +2 -2
- package/dist/{usePayments-BXABv-lF.mjs → usePayments-hWS7fnOx.mjs} +9 -9
- package/dist/{usePortal-CwR_FxTb.mjs → usePortal-DUfD6hrA.mjs} +1 -1
- package/dist/{useService-BZcbUZHI.mjs → useService-BwzIBIRp.mjs} +1 -1
- package/dist/{useTimePeriod.es-BpdiVwg8.mjs → useTimePeriod.es-BUorDLVK.mjs} +1 -1
- package/package.json +4 -4
- package/dist/PlanCustomizationEditor-D29N4HUM.mjs +0 -711
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs +0 -141
- package/dist/StepInput.vue.es-DweyzpkL.mjs +0 -200
- package/dist/index.es-CpmQmvOg.mjs +0 -633
- package/dist/paymentOutcome-BXEU5-84.mjs +0 -67
- package/dist/pricingPlanSchedule-BPrS2WRd.mjs +0 -132
- package/dist/subscription-BhxoqwcT.mjs +0 -83
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as o, defineComponent as f, openBlock as a, createElementBlock as n, normalizeClass as l, unref as r, createCommentVNode as c, renderSlot as g, createVNode as m, withCtx as x, createTextVNode as v, toDisplayString as h } from "vue";
|
|
2
|
-
import { d as D } from "./customElements-
|
|
2
|
+
import { d as D } from "./customElements-DK4GKNJG.mjs";
|
|
3
3
|
const d = "relative translate-y-1/2 top-1/2 border-t border-gray-100", y = (e) => {
|
|
4
4
|
const i = o(() => {
|
|
5
5
|
let t = `${d}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as i, openBlock as m, createBlock as r, unref as t, withCtx as s, createElementVNode as n, createVNode as a, renderSlot as o } from "vue";
|
|
2
|
-
import { a as _ } from "./Button.vue.es-
|
|
3
|
-
import { _ as p } from "./Section.vue.es-
|
|
4
|
-
import { d as c } from "./customElements-
|
|
2
|
+
import { a as _ } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
3
|
+
import { _ as p } from "./Section.vue.es-Oqn1wGPZ.mjs";
|
|
4
|
+
import { d as c } from "./customElements-DK4GKNJG.mjs";
|
|
5
5
|
const d = { class: "sv-empty-state__body flex flex-col items-center justify-center py-2" }, f = { class: "sv-empty-state__action mt-3 empty:hidden" }, g = /* @__PURE__ */ i({
|
|
6
6
|
__name: "EmptyStatePlaceholder",
|
|
7
7
|
props: {
|
package/dist/{ErrorNotification.vue.es-DNd65mQq.mjs → ErrorNotification.vue.es-F068p7PY.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, computed as m, openBlock as t, createBlock as d, mergeProps as p, withCtx as l, createElementVNode as o, toDisplayString as s, createElementBlock as _, createCommentVNode as f } from "vue";
|
|
2
|
-
import { _ as u } from "./Alert.vue.es-
|
|
3
|
-
import { a as g } from "./customElements-
|
|
2
|
+
import { _ as u } from "./Alert.vue.es-ZPG49yR_.mjs";
|
|
3
|
+
import { a as g } from "./customElements-DK4GKNJG.mjs";
|
|
4
4
|
const h = { class: "grid gap-1" }, k = { class: "font-medium" }, y = { key: 0 }, N = /* @__PURE__ */ c({
|
|
5
5
|
__name: "ErrorNotification",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as f, computed as g, openBlock as t, createElementBlock as y, Fragment as v, renderList as k, createBlock as l, normalizeClass as o, withCtx as n, createTextVNode as i, toDisplayString as c, renderSlot as z, createCommentVNode as p } from "vue";
|
|
2
|
-
import { d as m } from "./customElements-
|
|
2
|
+
import { d as m } from "./customElements-DK4GKNJG.mjs";
|
|
3
3
|
const C = /* @__PURE__ */ f({
|
|
4
4
|
__name: "FormMessage",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as p, useAttrs as u, computed as f, openBlock as i, createBlock as a, withCtx as t, createVNode as e, mergeProps as l, createTextVNode as m, toDisplayString as _ } from "vue";
|
|
2
2
|
import { o as d } from "./object.es-8aLDIncs.mjs";
|
|
3
|
-
import { _ as x, T as y, a as B } from "./TooltipParagraph.vue.es-
|
|
4
|
-
import { _ as r } from "./Button.vue.es-
|
|
3
|
+
import { _ as x, T as y, a as B } from "./TooltipParagraph.vue.es-BES3zsYN.mjs";
|
|
4
|
+
import { _ as r } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
5
5
|
const k = {
|
|
6
6
|
inheritAttrs: !1
|
|
7
7
|
}, P = /* @__PURE__ */ p({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as f, computed as x, openBlock as s, createElementBlock as n, normalizeClass as r, createBlock as u, unref as a, createCommentVNode as i, createElementVNode as z, renderSlot as l, createTextVNode as c, toDisplayString as d, withCtx as b } from "vue";
|
|
2
2
|
import { i as g } from "./slots.es-BA4MyEAa.mjs";
|
|
3
|
-
import { a as h } from "./Button.vue.es-
|
|
4
|
-
import { _ as y } from "./Avatar.vue.es-
|
|
5
|
-
import { d as k } from "./customElements-
|
|
3
|
+
import { a as h } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
4
|
+
import { _ as y } from "./Avatar.vue.es-geDQsZwu.mjs";
|
|
5
|
+
import { d as k } from "./customElements-DK4GKNJG.mjs";
|
|
6
6
|
const v = { class: "min-w-0 grow" }, E = /* @__PURE__ */ f({
|
|
7
7
|
__name: "IconTitle",
|
|
8
8
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { computed as t, defineComponent as G, useModel as J, toRefs as L, ref as Q, openBlock as n, createElementBlock as x, unref as a, normalizeClass as k, createBlock as I, createSlots as X, withCtx as $, createTextVNode as Y, toDisplayString as Z, createCommentVNode as b, renderSlot as c, createElementVNode as E, mergeProps as B, withDirectives as H, vModelDynamic as _, createVNode as ee, mergeModels as M } from "vue";
|
|
2
2
|
import { c as T, g as le } from "./cn.es-B8acFrov.mjs";
|
|
3
|
-
import { u as D, _ as ae } from "./Label.vue.es-
|
|
4
|
-
import { _ as N } from "./FormMessage.vue.es-
|
|
5
|
-
import { i as q } from "./useService-
|
|
6
|
-
import { d as O } from "./customElements-
|
|
3
|
+
import { u as D, _ as ae } from "./Label.vue.es-es7ZUBSP.mjs";
|
|
4
|
+
import { _ as N } from "./FormMessage.vue.es-CwMQpIAW.mjs";
|
|
5
|
+
import { i as q } from "./useService-BwzIBIRp.mjs";
|
|
6
|
+
import { d as O } from "./customElements-DK4GKNJG.mjs";
|
|
7
7
|
const te = {
|
|
8
8
|
/**
|
|
9
9
|
* 22px, not 24px: this height lands on the inner input, which is `border-0`, while the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, openBlock as o, createBlock as d, unref as e, withCtx as t, createElementBlock as u, createElementVNode as _, createVNode as r, createTextVNode as a, toDisplayString as c, createCommentVNode as l } from "vue";
|
|
2
|
-
import { _ as k } from "./Section.vue.es-
|
|
3
|
-
import { a as h, d as s } from "./customElements-
|
|
2
|
+
import { _ as k } from "./Section.vue.es-Oqn1wGPZ.mjs";
|
|
3
|
+
import { a as h, d as s } from "./customElements-DK4GKNJG.mjs";
|
|
4
4
|
import { g as f } from "./invoiceState-BJVHaKs7.mjs";
|
|
5
5
|
const b = {
|
|
6
6
|
key: 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as r, computed as l, openBlock as c, createBlock as s, unref as o, renderSlot as m } from "vue";
|
|
2
|
-
import { _ as p, u, a as f } from "./usePayments-
|
|
2
|
+
import { _ as p, u, a as f } from "./usePayments-hWS7fnOx.mjs";
|
|
3
3
|
import { w as y } from "./invoiceState-BJVHaKs7.mjs";
|
|
4
|
-
import { _ as w } from "./ErrorNotification.vue.es-
|
|
5
|
-
import { a as _ } from "./customElements-
|
|
4
|
+
import { _ as w } from "./ErrorNotification.vue.es-F068p7PY.mjs";
|
|
5
|
+
import { a as _ } from "./customElements-DK4GKNJG.mjs";
|
|
6
6
|
import { _ as I } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
7
|
-
import { u as g } from "./useLoadInitialData-
|
|
7
|
+
import { u as g } from "./useLoadInitialData-UvfYXgbi.mjs";
|
|
8
8
|
const B = /* @__PURE__ */ r({
|
|
9
9
|
__name: "InvoiceHeader",
|
|
10
10
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as w, openBlock as a, createElementBlock as d, normalizeClass as x, createVNode as l, withCtx as t, renderSlot as I, createBlock as r, createTextVNode as m, toDisplayString as f, unref as v, Fragment as h, renderList as k, resolveDynamicComponent as M, ref as W, computed as T, createElementVNode as V, createCommentVNode as y } from "vue";
|
|
2
|
-
import { d as $, a as S } from "./customElements-
|
|
3
|
-
import { _ as z, T as A, a as E } from "./TooltipParagraph.vue.es-
|
|
4
|
-
import { i as D } from "./useService-
|
|
2
|
+
import { d as $, a as S } from "./customElements-DK4GKNJG.mjs";
|
|
3
|
+
import { _ as z, T as A, a as E } from "./TooltipParagraph.vue.es-BES3zsYN.mjs";
|
|
4
|
+
import { i as D } from "./useService-BwzIBIRp.mjs";
|
|
5
5
|
import { g as F } from "./getComposedString.es-C__uhJpd.mjs";
|
|
6
6
|
import { _ } from "./Amount.vue.es-DPqHB8Xd.mjs";
|
|
7
7
|
import { _ as B } from "./Divider.vue.es-DnP_HqLz.mjs";
|
|
8
8
|
import { _ as j } from "./Expand.vue.es-BleuAfDz.mjs";
|
|
9
|
-
import { a as q } from "./Button.vue.es-
|
|
9
|
+
import { a as q } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
10
10
|
const p = /* @__PURE__ */ w({
|
|
11
11
|
__name: "invoicePreviewRow",
|
|
12
12
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as h, openBlock as i, createElementBlock as p, createVNode as m, withCtx as c, createElementVNode as d, renderSlot as u, toDisplayString as a, createCommentVNode as f, createBlock as s, unref as t, createSlots as v, createTextVNode as o } from "vue";
|
|
2
|
-
import { _ as y } from "./Chip.vue.es-
|
|
3
|
-
import { a as k } from "./Button.vue.es-
|
|
4
|
-
import { a as _ } from "./customElements-
|
|
2
|
+
import { _ as y } from "./Chip.vue.es-Dxx_0dte.mjs";
|
|
3
|
+
import { a as k } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
4
|
+
import { a as _ } from "./customElements-DK4GKNJG.mjs";
|
|
5
5
|
import { f as D } from "./formatting.es-RclXHhKo.mjs";
|
|
6
6
|
const C = { class: "flex gap-4" }, $ = { class: "flex items-center gap-2" }, r = /* @__PURE__ */ h({
|
|
7
7
|
__name: "PricingClauseChip",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as c, inject as y, computed as $, openBlock as a, createBlock as i, resolveDynamicComponent as h, mergeProps as d, withCtx as o, renderSlot as n, createElementBlock as u, normalizeClass as p, toDisplayString as v, createCommentVNode as b, createElementVNode as g, createVNode as f, normalizeProps as k } from "vue";
|
|
2
|
-
import { I as B } from "./customElements-
|
|
3
|
-
import { a as _ } from "./Button.vue.es-
|
|
4
|
-
import { _ as C } from "./TooltipParagraph.vue.es-
|
|
2
|
+
import { I as B } from "./customElements-DK4GKNJG.mjs";
|
|
3
|
+
import { a as _ } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
4
|
+
import { _ as C } from "./TooltipParagraph.vue.es-BES3zsYN.mjs";
|
|
5
5
|
function R(t = "") {
|
|
6
6
|
return `${t}${crypto.randomUUID()}`;
|
|
7
7
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as R, openBlock as a, createElementBlock as u, normalizeStyle as Y, normalizeClass as m, renderSlot as b, createBlock as T, unref as s, createCommentVNode as r, createElementVNode as c, createTextVNode as k, toDisplayString as w, withCtx as g, useSlots as de, computed as x, ref as h, useId as re, watch as ue, onMounted as ce, onBeforeUnmount as fe, createVNode as v, Transition as me, withModifiers as be, nextTick as ye } from "vue";
|
|
2
|
-
import { o as P } from "./index.es-
|
|
3
|
-
import { _ as ve, F as xe } from "./ContextMenu.vue.es-
|
|
4
|
-
import { b as he, _ as X } from "./Button.vue.es-
|
|
2
|
+
import { o as P } from "./index.es-BrVTOW5D.mjs";
|
|
3
|
+
import { _ as ve, F as xe } from "./ContextMenu.vue.es-BJO4U47Q.mjs";
|
|
4
|
+
import { b as he, _ as X } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
5
5
|
import { i as N } from "./slots.es-BA4MyEAa.mjs";
|
|
6
|
-
import { _ as ge } from "./Avatar.vue.es-
|
|
7
|
-
import { d as we, a as ze } from "./customElements-
|
|
8
|
-
import { _ as ke } from "./IconButton.vue.es-
|
|
6
|
+
import { _ as ge } from "./Avatar.vue.es-geDQsZwu.mjs";
|
|
7
|
+
import { d as we, a as ze } from "./customElements-DK4GKNJG.mjs";
|
|
8
|
+
import { _ as ke } from "./IconButton.vue.es-D8DtBW9i.mjs";
|
|
9
9
|
import { _ as Be } from "./useLazyFloating.es-CycqRyeb.mjs";
|
|
10
10
|
const A = 60, Z = "z-index-tracker", $e = () => ({
|
|
11
11
|
defaultZIndex: A,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as A, useModel as V, computed as O, openBlock as c, createElementBlock as h, withDirectives as z, createElementVNode as I, mergeProps as q, withModifiers as W, vModelCheckbox as Y, createBlock as T, withCtx as y, createTextVNode as R, toDisplayString as E, createCommentVNode as N, mergeModels as j, Fragment as x, renderList as U, unref as i, normalizeClass as K, createVNode as g, renderSlot as L } from "vue";
|
|
2
|
-
import { d as _, a as H } from "./customElements-
|
|
2
|
+
import { d as _, a as H } from "./customElements-DK4GKNJG.mjs";
|
|
3
3
|
import { _ as k } from "./Amount.vue.es-DPqHB8Xd.mjs";
|
|
4
4
|
import { _ as Z } from "./Divider.vue.es-DnP_HqLz.mjs";
|
|
5
|
-
import { _ as J } from "./InvoicePreview.vue.es-
|
|
6
|
-
import { _ as F } from "./InvoicePricingClauseChip.vue.es-
|
|
7
|
-
import { _ as C } from "./Section.vue.es-
|
|
5
|
+
import { _ as J } from "./InvoicePreview.vue.es-Cpf66_xV.mjs";
|
|
6
|
+
import { _ as F } from "./InvoicePricingClauseChip.vue.es-CDrAE901.mjs";
|
|
7
|
+
import { _ as C } from "./Section.vue.es-Oqn1wGPZ.mjs";
|
|
8
8
|
import { g as Q } from "./getComposedString.es-C__uhJpd.mjs";
|
|
9
|
-
import { i as X } from "./useService-
|
|
9
|
+
import { i as X } from "./useService-BwzIBIRp.mjs";
|
|
10
10
|
import { s as D } from "./amount-CondixVt.mjs";
|
|
11
11
|
const ee = { class: "flex items-center gap-1 border-0 py-0" }, te = ["id", "name", "disabled", "value"], ae = {
|
|
12
12
|
inheritAttrs: !1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, computed as d, openBlock as a, createBlock as s, withCtx as r, unref as o, createTextVNode as m, toDisplayString as l, createCommentVNode as u } from "vue";
|
|
2
|
-
import { a as p, d as f } from "./customElements-
|
|
3
|
-
import { _ } from "./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as p, d as f } from "./customElements-DK4GKNJG.mjs";
|
|
3
|
+
import { _ } from "./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs";
|
|
4
4
|
const w = /* @__PURE__ */ i({
|
|
5
5
|
__name: "PaymentCompletedCard",
|
|
6
6
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as T, onBeforeUnmount as v, defineComponent as C, computed as u, openBlock as f, createBlock as g, withCtx as s, createElementVNode as w, createVNode as d, unref as r, createTextVNode as l, toDisplayString as c, createCommentVNode as b, createElementBlock as k } from "vue";
|
|
2
|
-
import { _ as R } from "./Button.vue.es-
|
|
3
|
-
import { _ as I } from "./IconButton.vue.es-
|
|
4
|
-
import { a as A, d as h } from "./customElements-
|
|
5
|
-
import { _ as N } from "./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as R } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
3
|
+
import { _ as I } from "./IconButton.vue.es-D8DtBW9i.mjs";
|
|
4
|
+
import { a as A, d as h } from "./customElements-DK4GKNJG.mjs";
|
|
5
|
+
import { _ as N } from "./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs";
|
|
6
6
|
const O = () => {
|
|
7
7
|
const e = T(null);
|
|
8
8
|
return [async (t) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, openBlock as r, createBlock as c, unref as t, withCtx as s, createElementVNode as i, createVNode as n, normalizeClass as m, createTextVNode as d, toDisplayString as u, renderSlot as f, createCommentVNode as _ } from "vue";
|
|
2
|
-
import { a as p } from "./Button.vue.es-
|
|
3
|
-
import { _ as g } from "./Section.vue.es-
|
|
4
|
-
import { d as o } from "./customElements-
|
|
2
|
+
import { a as p } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
3
|
+
import { _ as g } from "./Section.vue.es-Oqn1wGPZ.mjs";
|
|
4
|
+
import { d as o } from "./customElements-DK4GKNJG.mjs";
|
|
5
5
|
const y = { class: "flex flex-col items-center py-10" }, v = /* @__PURE__ */ l({
|
|
6
6
|
__name: "PaymentFeedbackCard",
|
|
7
7
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as u, computed as v, openBlock as a, createElementBlock as _, createVNode as o, unref as e, withCtx as s, createTextVNode as i, toDisplayString as n, createElementVNode as c, Fragment as g, renderList as E, createBlock as d, createCommentVNode as D } from "vue";
|
|
2
|
-
import { _ as N } from "./PaymentMethod.vue.es-
|
|
2
|
+
import { _ as N } from "./PaymentMethod.vue.es-t3-VyoE8.mjs";
|
|
3
3
|
import { a as k } from "./formatting.es-RclXHhKo.mjs";
|
|
4
|
-
import { _ as R } from "./Chip.vue.es-
|
|
5
|
-
import { _ as x } from "./Section.vue.es-
|
|
6
|
-
import { a as C, d as l } from "./customElements-
|
|
4
|
+
import { _ as R } from "./Chip.vue.es-Dxx_0dte.mjs";
|
|
5
|
+
import { _ as x } from "./Section.vue.es-Oqn1wGPZ.mjs";
|
|
6
|
+
import { a as C, d as l } from "./customElements-DK4GKNJG.mjs";
|
|
7
7
|
const w = { class: "sv-payment-history" }, T = { class: "sv-payment-history__items flex flex-col gap-1" }, b = { class: "sv-payment-history__item-header mb-2 flex items-center justify-between" }, G = /* @__PURE__ */ u({
|
|
8
8
|
__name: "PaymentHistoryBlock",
|
|
9
9
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as G, defineAsyncComponent as C, ref as S, computed as L, watch as z, openBlock as d, createElementBlock as P, Fragment as b, renderList as J, unref as l, createBlock as I, createCommentVNode as V, withCtx as K, createTextVNode as Q, toDisplayString as U } from "vue";
|
|
2
|
-
import { _ as W } from "./FormMessage.vue.es-
|
|
3
|
-
import { a as X } from "./customElements-
|
|
4
|
-
import { g as Z } from "./usePaymentFormHold-
|
|
2
|
+
import { _ as W } from "./FormMessage.vue.es-CwMQpIAW.mjs";
|
|
3
|
+
import { a as X } from "./customElements-DK4GKNJG.mjs";
|
|
4
|
+
import { g as Z } from "./usePaymentFormHold-Cwdr-vyc.mjs";
|
|
5
5
|
const T = (t) => {
|
|
6
6
|
var o;
|
|
7
7
|
return ((o = t.integration.payment_gateway) == null ? void 0 : o.variant) === "ADYEN";
|
|
@@ -42,11 +42,11 @@ const T = (t) => {
|
|
|
42
42
|
emits: ["select", "payment-failed", "payment-success", "invalid", "submitting", "action-required", "ready"],
|
|
43
43
|
setup(t, { expose: o, emit: s }) {
|
|
44
44
|
const u = C(
|
|
45
|
-
() => import("./PaymentIntegrationFormStripe-
|
|
45
|
+
() => import("./PaymentIntegrationFormStripe-BANBL6za.mjs").then(
|
|
46
46
|
(e) => e.default
|
|
47
47
|
)
|
|
48
48
|
), j = C(
|
|
49
|
-
() => import("./PaymentIntegrationFormAdyen-
|
|
49
|
+
() => import("./PaymentIntegrationFormAdyen-Fm-diCCO.mjs").then(
|
|
50
50
|
(e) => e.default
|
|
51
51
|
)
|
|
52
52
|
), c = t, m = s;
|
package/dist/{PaymentIntegrationFormAdyen-DqgDfO6K.mjs → PaymentIntegrationFormAdyen-Fm-diCCO.mjs}
RENAMED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineComponent as de, computed as
|
|
2
|
-
import { a as Le } from "./useService-
|
|
3
|
-
import { a as ce, d as re, e as Fe } from "./customElements-
|
|
4
|
-
import { _ as xe } from "./PaymentCompletedCard.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as Be } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { c as Ue } from "./payments-
|
|
7
|
-
import { c as Ye } from "./paymentMethods-
|
|
8
|
-
import { a as je, g as Ze, r as ze, c as Ge, b as Ke, d as He, t as G, e as ie } from "./usePaymentFormHold-
|
|
1
|
+
import { defineComponent as de, computed as v, openBlock as N, createElementBlock as K, createVNode as H, unref as te, withCtx as ne, createTextVNode as ae, toDisplayString as C, ref as M, onMounted as Me, onBeforeUnmount as De, watch as ke, Fragment as Se, createBlock as Z, createCommentVNode as z, Teleport as Ce, createElementVNode as we, nextTick as oe } from "vue";
|
|
2
|
+
import { a as Le } from "./useService-BwzIBIRp.mjs";
|
|
3
|
+
import { a as ce, d as re, e as Fe } from "./customElements-DK4GKNJG.mjs";
|
|
4
|
+
import { _ as xe } from "./PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs";
|
|
5
|
+
import { _ as Be } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs";
|
|
6
|
+
import { c as Ue } from "./payments-CKpU1K3t.mjs";
|
|
7
|
+
import { c as Ye } from "./paymentMethods-8w-ccfY_.mjs";
|
|
8
|
+
import { a as je, g as Ze, r as ze, c as Ge, b as Ke, d as He, t as G, e as ie } from "./usePaymentFormHold-Cwdr-vyc.mjs";
|
|
9
9
|
import { t as Ve } from "./amount-CondixVt.mjs";
|
|
10
10
|
import { l as $e } from "./adyenSdk-B01MB9Ia.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { g as We, i as Je, a as qe } from "./paymentOutcome-B6sW1eCV.mjs";
|
|
12
|
+
import { c as Qe, a as Xe } from "./paymentFailure-QZdZHBhf.mjs";
|
|
12
13
|
const et = ".adyen-checkout__payment-method--sepadirectdebit .adyen-checkout__payment-method__details__content";
|
|
13
14
|
function tt(u) {
|
|
14
15
|
return (u == null ? void 0 : u.querySelector(et)) ?? null;
|
|
@@ -150,13 +151,13 @@ const at = (u) => {
|
|
|
150
151
|
billingEntityName: { type: String }
|
|
151
152
|
},
|
|
152
153
|
setup(u) {
|
|
153
|
-
const l = u, { $t: E } = ce(), r =
|
|
154
|
+
const l = u, { $t: E } = ce(), r = v(
|
|
154
155
|
() => E({
|
|
155
156
|
defaultMessage: "SEPA Direct Debit mandate — recurring payments",
|
|
156
157
|
description: "Title of the SEPA direct debit mandate shown inside the SEPA payment form",
|
|
157
158
|
id: "payments.sepa_mandate.title"
|
|
158
159
|
})
|
|
159
|
-
), k =
|
|
160
|
+
), k = v(
|
|
160
161
|
() => l.billingEntityName ? E(
|
|
161
162
|
{
|
|
162
163
|
defaultMessage: "By confirming this mandate, you authorise {billingEntityName} to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
|
|
@@ -169,7 +170,7 @@ const at = (u) => {
|
|
|
169
170
|
description: "SEPA direct debit mandate authorisation, where the billing entity is not known",
|
|
170
171
|
id: "payments.sepa_mandate.authorisation_unnamed"
|
|
171
172
|
})
|
|
172
|
-
), a =
|
|
173
|
+
), a = v(
|
|
173
174
|
() => l.billingEntityName ? E(
|
|
174
175
|
{
|
|
175
176
|
defaultMessage: "This bank account will be used automatically to pay subsequent invoices from {billingEntityName} until you cancel this mandate.",
|
|
@@ -182,7 +183,7 @@ const at = (u) => {
|
|
|
182
183
|
description: "Explains that the SEPA mandate covers later invoices, where the billing entity is not known",
|
|
183
184
|
id: "payments.sepa_mandate.recurrence_unnamed"
|
|
184
185
|
})
|
|
185
|
-
), p =
|
|
186
|
+
), p = v(
|
|
186
187
|
() => E({
|
|
187
188
|
defaultMessage: "As part of your rights, you're entitled to a refund from your bank under the terms and conditions of your agreement with your bank. You must claim a refund within 8 weeks from the date your account was debited. You can request a statement from your bank explaining your rights.",
|
|
188
189
|
description: "SEPA direct debit mandate refund rights, held against the payer's own bank",
|
|
@@ -212,7 +213,7 @@ const at = (u) => {
|
|
|
212
213
|
})
|
|
213
214
|
]));
|
|
214
215
|
}
|
|
215
|
-
}), D = "ADYEN", se = "data-sv-adyen-styles",
|
|
216
|
+
}), D = "ADYEN", se = "data-sv-adyen-styles", Et = /* @__PURE__ */ de({
|
|
216
217
|
__name: "PaymentIntegrationFormAdyen",
|
|
217
218
|
props: {
|
|
218
219
|
context: { type: Object },
|
|
@@ -238,17 +239,17 @@ const at = (u) => {
|
|
|
238
239
|
const y = M(), w = M(null), I = M(null);
|
|
239
240
|
let f;
|
|
240
241
|
const L = M(!1), g = M();
|
|
241
|
-
let S = !1, A = !1,
|
|
242
|
-
const d = Fe(), { locale: ue } = ce(), { authorizePayment: me, getPaymentDetails: pe } = Ue(), { tokenizePaymentMethod: le } = Ye(), x = je(), V =
|
|
242
|
+
let S = !1, A = !1, P = 0, b, F = !1;
|
|
243
|
+
const d = Fe(), { locale: ue } = ce(), { authorizePayment: me, getPaymentDetails: pe } = Ue(), { tokenizePaymentMethod: le } = Ye(), x = je(), V = v(
|
|
243
244
|
() => {
|
|
244
245
|
var e;
|
|
245
246
|
return Ze(a.paymentMethodOptionResponseEntry, {
|
|
246
247
|
excludeExpressPaymentMethods: !!((e = x == null ? void 0 : x.value) != null && e["express-checkout"])
|
|
247
248
|
});
|
|
248
249
|
}
|
|
249
|
-
), $ =
|
|
250
|
+
), $ = v(() => V.value.length > 0);
|
|
250
251
|
function m(e) {
|
|
251
|
-
return
|
|
252
|
+
return Qe({
|
|
252
253
|
gateway: D,
|
|
253
254
|
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
254
255
|
variant: a.variant,
|
|
@@ -259,7 +260,7 @@ const at = (u) => {
|
|
|
259
260
|
}
|
|
260
261
|
function _(e) {
|
|
261
262
|
A = !1;
|
|
262
|
-
const t =
|
|
263
|
+
const t = Xe(e);
|
|
263
264
|
g.value = t, p("payment-failed", t);
|
|
264
265
|
}
|
|
265
266
|
function W() {
|
|
@@ -326,9 +327,9 @@ const at = (u) => {
|
|
|
326
327
|
paymentMethodsResponse: { paymentMethods: t },
|
|
327
328
|
onSubmit: ge,
|
|
328
329
|
onAdditionalDetails: Te,
|
|
329
|
-
onPaymentCompleted:
|
|
330
|
-
onPaymentFailed:
|
|
331
|
-
onError:
|
|
330
|
+
onPaymentCompleted: Pe,
|
|
331
|
+
onPaymentFailed: ve,
|
|
332
|
+
onError: be,
|
|
332
333
|
showPayButton: !1
|
|
333
334
|
},
|
|
334
335
|
dropInConfig: {
|
|
@@ -365,7 +366,7 @@ const at = (u) => {
|
|
|
365
366
|
]);
|
|
366
367
|
}
|
|
367
368
|
async function U() {
|
|
368
|
-
const e = ++
|
|
369
|
+
const e = ++P, t = () => e !== P;
|
|
369
370
|
if (!(S || F)) {
|
|
370
371
|
if (await Y(), g.value = void 0, !$.value) {
|
|
371
372
|
const { payment_acceptor: n, integration: o } = a.paymentMethodOptionResponseEntry;
|
|
@@ -552,7 +553,7 @@ const at = (u) => {
|
|
|
552
553
|
});
|
|
553
554
|
return;
|
|
554
555
|
}
|
|
555
|
-
const s =
|
|
556
|
+
const s = qe(e);
|
|
556
557
|
if (s === "SUCCEEDED") {
|
|
557
558
|
L.value = !0, n.resolve({ resultCode: "Authorised" });
|
|
558
559
|
return;
|
|
@@ -621,7 +622,7 @@ const at = (u) => {
|
|
|
621
622
|
cause: h
|
|
622
623
|
}),
|
|
623
624
|
h
|
|
624
|
-
),
|
|
625
|
+
), Je(h)) {
|
|
625
626
|
O(
|
|
626
627
|
"PAYMENT_AUTHORIZATION_UNANSWERED",
|
|
627
628
|
{ paymentMethodType: t.data.paymentMethod.type },
|
|
@@ -733,7 +734,7 @@ const at = (u) => {
|
|
|
733
734
|
Object.entries(e).filter(([, t]) => t != null)
|
|
734
735
|
);
|
|
735
736
|
}
|
|
736
|
-
function
|
|
737
|
+
function ve(...e) {
|
|
737
738
|
const [t] = e;
|
|
738
739
|
d.error(
|
|
739
740
|
"ADYEN_PAYMENT_FAILED",
|
|
@@ -745,11 +746,11 @@ const at = (u) => {
|
|
|
745
746
|
t
|
|
746
747
|
), _({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
|
|
747
748
|
}
|
|
748
|
-
function
|
|
749
|
+
function Pe(...e) {
|
|
749
750
|
const [, t] = e;
|
|
750
751
|
t == null || t.unmount(), W();
|
|
751
752
|
}
|
|
752
|
-
function
|
|
753
|
+
function be(...e) {
|
|
753
754
|
const [t, n] = e;
|
|
754
755
|
if (t.name === "CANCEL") {
|
|
755
756
|
A = !1, p("invalid");
|
|
@@ -784,8 +785,8 @@ const at = (u) => {
|
|
|
784
785
|
...o ? { payment_data: o } : {}
|
|
785
786
|
}
|
|
786
787
|
}).then((c) => {
|
|
787
|
-
i || (
|
|
788
|
-
const T =
|
|
788
|
+
i || (b = void 0);
|
|
789
|
+
const T = We(c);
|
|
789
790
|
if (T === "SUCCEEDED") {
|
|
790
791
|
i ? i.resolve({ resultCode: "Authorised" }) : W();
|
|
791
792
|
return;
|
|
@@ -854,16 +855,16 @@ const at = (u) => {
|
|
|
854
855
|
O("INVALID_REDIRECT_RESULT");
|
|
855
856
|
return;
|
|
856
857
|
}
|
|
857
|
-
|
|
858
|
+
b = e.redirectResult, await X();
|
|
858
859
|
}
|
|
859
860
|
}
|
|
860
861
|
async function X() {
|
|
861
|
-
if (
|
|
862
|
+
if (b) {
|
|
862
863
|
F = !0;
|
|
863
864
|
try {
|
|
864
865
|
await Q({
|
|
865
866
|
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
866
|
-
detailsResult: { redirectResult:
|
|
867
|
+
detailsResult: { redirectResult: b }
|
|
867
868
|
});
|
|
868
869
|
} finally {
|
|
869
870
|
F = !1;
|
|
@@ -871,11 +872,11 @@ const at = (u) => {
|
|
|
871
872
|
}
|
|
872
873
|
}
|
|
873
874
|
async function ee() {
|
|
874
|
-
const e = g.value, t =
|
|
875
|
-
await U(), e && t ===
|
|
875
|
+
const e = g.value, t = P + 1;
|
|
876
|
+
await U(), e && t === P && (g.value = e);
|
|
876
877
|
}
|
|
877
878
|
async function Re() {
|
|
878
|
-
if (g.value = void 0, !
|
|
879
|
+
if (g.value = void 0, !b) {
|
|
879
880
|
await U();
|
|
880
881
|
return;
|
|
881
882
|
}
|
|
@@ -884,7 +885,7 @@ const at = (u) => {
|
|
|
884
885
|
return Me(async () => {
|
|
885
886
|
await Oe(), await ee();
|
|
886
887
|
}), De(() => {
|
|
887
|
-
|
|
888
|
+
P++, Y();
|
|
888
889
|
}), ke(
|
|
889
890
|
() => a.paymentMethodOptionResponseEntry,
|
|
890
891
|
(e, t) => {
|
|
@@ -921,5 +922,5 @@ const at = (u) => {
|
|
|
921
922
|
}
|
|
922
923
|
});
|
|
923
924
|
export {
|
|
924
|
-
|
|
925
|
+
Et as default
|
|
925
926
|
};
|
package/dist/{PaymentIntegrationFormStripe-BYdAkvLt.mjs → PaymentIntegrationFormStripe-BANBL6za.mjs}
RENAMED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { defineComponent as q, ref as T, onMounted as X, onBeforeUnmount as Q, watch as me, openBlock as M, createElementBlock as pe, unref as de, computed as x, createBlock as Z, createCommentVNode as le } from "vue";
|
|
2
|
-
import { a as K } from "./useService-
|
|
3
|
-
import { a as ye, e as Ee } from "./customElements-
|
|
2
|
+
import { a as K } from "./useService-BwzIBIRp.mjs";
|
|
3
|
+
import { a as ye, e as Ee } from "./customElements-DK4GKNJG.mjs";
|
|
4
4
|
import { t as fe } from "./amount-CondixVt.mjs";
|
|
5
|
-
import { _ as Ie } from "./PaymentCompletedCard.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as _e } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { c as ge } from "./payments-
|
|
8
|
-
import { c as Te } from "./paymentMethods-
|
|
9
|
-
import { f as Re, e as he, c as be } from "./usePaymentFormHold-
|
|
10
|
-
import {
|
|
5
|
+
import { _ as Ie } from "./PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs";
|
|
6
|
+
import { _ as _e } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs";
|
|
7
|
+
import { c as ge } from "./payments-CKpU1K3t.mjs";
|
|
8
|
+
import { c as Te } from "./paymentMethods-8w-ccfY_.mjs";
|
|
9
|
+
import { f as Re, e as he, c as be } from "./usePaymentFormHold-Cwdr-vyc.mjs";
|
|
10
|
+
import { i as Se, a as ve, b as $ } from "./paymentOutcome-B6sW1eCV.mjs";
|
|
11
|
+
import { c as Ae, a as Oe } from "./paymentFailure-QZdZHBhf.mjs";
|
|
11
12
|
const J = "https://js.stripe.com/dahlia/stripe.js", Ne = `<!DOCTYPE html>
|
|
12
13
|
<html>
|
|
13
14
|
<head>
|
|
@@ -347,7 +348,7 @@ const Me = ["src", "height", "title"], Fe = /* @__PURE__ */ q({
|
|
|
347
348
|
onLoad: I
|
|
348
349
|
}, null, 40, Me));
|
|
349
350
|
}
|
|
350
|
-
}), N = "STRIPE",
|
|
351
|
+
}), N = "STRIPE", We = /* @__PURE__ */ q({
|
|
351
352
|
__name: "PaymentIntegrationFormStripe",
|
|
352
353
|
props: {
|
|
353
354
|
email: { type: String },
|
|
@@ -390,7 +391,7 @@ const Me = ["src", "height", "title"], Fe = /* @__PURE__ */ q({
|
|
|
390
391
|
}
|
|
391
392
|
);
|
|
392
393
|
function n(e) {
|
|
393
|
-
return
|
|
394
|
+
return Ae({
|
|
394
395
|
gateway: N,
|
|
395
396
|
paymentAcceptorId: t.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
396
397
|
variant: t.variant,
|
|
@@ -479,7 +480,7 @@ const Me = ["src", "height", "title"], Fe = /* @__PURE__ */ q({
|
|
|
479
480
|
n({ reason: "PAYMENT_AUTHORIZATION_FAILED", cause: i }),
|
|
480
481
|
i
|
|
481
482
|
), l({
|
|
482
|
-
code:
|
|
483
|
+
code: Se(i) ? "PAYMENT_OUTCOME_UNCONFIRMED" : "AUTHORIZATION_FAILED",
|
|
483
484
|
message: "Payment authorization failed",
|
|
484
485
|
error: i
|
|
485
486
|
});
|
|
@@ -577,7 +578,7 @@ const Me = ["src", "height", "title"], Fe = /* @__PURE__ */ q({
|
|
|
577
578
|
), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed" }));
|
|
578
579
|
return;
|
|
579
580
|
}
|
|
580
|
-
const r =
|
|
581
|
+
const r = ve(e);
|
|
581
582
|
if (r === "SUCCEEDED") {
|
|
582
583
|
L();
|
|
583
584
|
return;
|
|
@@ -753,5 +754,5 @@ const Me = ["src", "height", "title"], Fe = /* @__PURE__ */ q({
|
|
|
753
754
|
}
|
|
754
755
|
});
|
|
755
756
|
export {
|
|
756
|
-
|
|
757
|
+
We as default
|
|
757
758
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as p, computed as M, openBlock as o, createElementBlock as I, createElementVNode as g, normalizeClass as N, createCommentVNode as h, renderSlot as B, createVNode as s, createBlock as u, withCtx as m, createTextVNode as f, toDisplayString as y, unref as v, shallowRef as S, watch as _, toValue as $, Fragment as L, mergeProps as C } from "vue";
|
|
2
|
-
import { _ as R } from "./FormMessage.vue.es-
|
|
3
|
-
import { a as O } from "./ContextMenu.vue.es-
|
|
4
|
-
import { a as D, d as A } from "./customElements-
|
|
5
|
-
import { _ as T } from "./Chip.vue.es-
|
|
2
|
+
import { _ as R } from "./FormMessage.vue.es-CwMQpIAW.mjs";
|
|
3
|
+
import { a as O } from "./ContextMenu.vue.es-BJO4U47Q.mjs";
|
|
4
|
+
import { a as D, d as A } from "./customElements-DK4GKNJG.mjs";
|
|
5
|
+
import { _ as T } from "./Chip.vue.es-Dxx_0dte.mjs";
|
|
6
6
|
const E = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.8%2028a2%202%200%200%201-1.3-.6%202%202%200%200%201-.6-1.4V14q0-.8.6-1.4a2%202%200%200%201%201.3-.6h16.4q.8%200%201.3.6t.6%201.4v12q0%20.8-.6%201.4a2%202%200%200%201-1.3.6zm-.3-8.4h17v-3.4h-17z'/%3e%3c/g%3e%3c/svg%3e", V = { class: "shrink-0" }, Y = { class: "flex items-center justify-center overflow-clip rounded" }, z = ["src", "alt", "width", "height"], G = { class: "grow" }, H = { key: 0 }, U = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "pt-3"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as F, ref as v, computed as i, openBlock as m, createBlock as r, unref as a, withCtx as f, createElementVNode as $, normalizeClass as V, createVNode as Z, mergeProps as q, createTextVNode as _, toDisplayString as b, createCommentVNode as w } from "vue";
|
|
2
2
|
import { g as H, a as K } from "./customer.es-DQKl6wFt.mjs";
|
|
3
|
-
import { _ as g } from "./Button.vue.es-
|
|
4
|
-
import { _ as D } from "./Section.vue.es-
|
|
5
|
-
import { a as j } from "./customElements-
|
|
3
|
+
import { _ as g } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
4
|
+
import { _ as D } from "./Section.vue.es-Oqn1wGPZ.mjs";
|
|
5
|
+
import { a as j } from "./customElements-DK4GKNJG.mjs";
|
|
6
6
|
import { _ as z } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
7
|
-
import { _ as Y } from "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as G, _ as J } from "./usePaymentMethodAvailability-
|
|
9
|
-
import { u as Q, s as W } from "./usePaymentFormHold-
|
|
7
|
+
import { _ as Y } from "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs";
|
|
8
|
+
import { u as G, _ as J } from "./usePaymentMethodAvailability-35l4pWdH.mjs";
|
|
9
|
+
import { u as Q, s as W } from "./usePaymentFormHold-Cwdr-vyc.mjs";
|
|
10
10
|
const X = "NL", le = /* @__PURE__ */ F({
|
|
11
11
|
__name: "PaymentMethodForm",
|
|
12
12
|
props: {
|