@solvimon/solvimon-web 0.1.0-alpha.28 → 0.1.0-alpha.29
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 +26 -1
- package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
- package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
- package/dist/{Avatar.vue.es-Beg7umjO.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +8 -8
- package/dist/{Button.vue.es-rh6mITmN.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
- package/dist/{ChargeOnDemandModal-CPjPa_uq.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +35 -34
- package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
- package/dist/{Chip.vue.es-Cn2R_0mE.mjs → Chip.vue.es-D3UDSyXC.mjs} +3 -3
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/{ContextMenu.vue.es-DRxsa7bZ.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
- package/dist/{CustomerBillingInformation.vue.es-DQfL5RMR.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +21 -20
- package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs} +798 -792
- package/dist/{DividerText.vue.es-M0XqSz55.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
- package/dist/{ErrorNotification.vue.es-CKlt4hr2.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
- package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
- package/dist/{IconButton.vue.es-oe4MVBK1.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
- package/dist/{IconTitle.vue.es-BO6KBS4v.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
- package/dist/{Input.vue.es-DAlPmtE_.mjs → Input.vue.es-D8Oj8MWv.mjs} +23 -22
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs} +4 -4
- package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
- package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
- package/dist/{Modal.vue.es-CTNACAst.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +46 -88
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-BmA8jbMb.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-D1Xw-xIt.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs} +68 -69
- package/dist/{PaymentIntegrationFormAdyen-CfT5aD4L.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +126 -117
- package/dist/{PaymentIntegrationFormStripe-DKXJ-mjd.mjs → PaymentIntegrationFormStripe-BYdAkvLt.mjs} +193 -179
- package/dist/{PaymentMethod.vue.es-Cauxx4Xr.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
- package/dist/{PaymentMethodForm-CypZOYUZ.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +7 -7
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs} +36 -35
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +7 -7
- package/dist/{PlanCustomizationEditor-Xtww2r9K.mjs → PlanCustomizationEditor-D29N4HUM.mjs} +9 -9
- package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
- package/dist/{PortalNotAvailable-B_59GUwN.mjs → PortalNotAvailable-DPE9y37H.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-C9LJW3b8.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +32 -32
- package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
- package/dist/{Section.vue.es-iS8hVGWA.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
- package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
- package/dist/{StepInput.vue.es-Dpan1RQd.mjs → StepInput.vue.es-DweyzpkL.mjs} +4 -4
- package/dist/{SubscriptionDetails.entry.ce-DufQX3uI.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +230 -225
- package/dist/{SubscriptionSchedules-DAahcNoI.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs} +3 -3
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +23 -22
- package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
- package/dist/{TrialChip.vue.es-B-XBSHWE.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
- package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
- package/dist/{cn.es-2bVdkiFV.mjs → cn.es-B8acFrov.mjs} +380 -476
- package/dist/components/BillingInformation/BillingInformation.mjs +9 -7
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +57 -54
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -18
- package/dist/components/Invoice/Invoice.mjs +2660 -193
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +6 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +18 -17
- package/dist/components/InvoicesList/InvoicesList.mjs +13 -11
- package/dist/components/PaymentHistory/PaymentHistory.mjs +8 -6
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +19 -17
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +19 -17
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +20 -18
- package/dist/components/WalletBalances/WalletBalances.mjs +17 -15
- package/dist/customElements-BTj4ii4f.mjs +5072 -0
- package/dist/{customer-CqddTiOr.mjs → customer-BIjC0CWJ.mjs} +1 -1
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/{de-DE-BW8dMvhW.mjs → de-DE-DBbERiFr.mjs} +38 -0
- package/dist/{de-DE-BNMj3boy.mjs → de-DE-UJ6X6jXu.mjs} +1 -1
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/{formControl-CsITfsBk.mjs → formControl-BZQLHnOO.mjs} +5 -5
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/fr-FR-IWJE-urI.mjs +431 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.es-CpmQmvOg.mjs +633 -0
- package/dist/index.mjs +2 -2
- package/dist/{invoices-Cf1qDAv4.mjs → invoices-e1sKLgxg.mjs} +3 -3
- package/dist/{it-IT-Byg06KWc.mjs → it-IT-B7ui2oxO.mjs} +38 -0
- package/dist/{it-IT-DRvuxM1F.mjs → it-IT-DnJP5URH.mjs} +1 -1
- package/dist/{nl-NL-x3zQqzZ7.mjs → nl-NL-Bafh2xoT.mjs} +38 -0
- package/dist/{nl-NL-DLUwWbMG.mjs → nl-NL-q9xfTZF0.mjs} +1 -1
- package/dist/{paymentMethods-BUuOmDq9.mjs → paymentMethods-B_82JGk_.mjs} +2 -2
- package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
- package/dist/{paymentOutcome-D17VD4MV.mjs → paymentOutcome-BXEU5-84.mjs} +5 -5
- package/dist/payments-BnxbzQUC.mjs +68 -0
- package/dist/pricing-BOhvWWMj.mjs +29 -0
- package/dist/{pricingPlanScheduleOverrides-COr9F8DO.mjs → pricingPlanScheduleOverrides-Dxv5FOBd.mjs} +2 -2
- package/dist/{pricingPlanSchedules-BK_o9p6h.mjs → pricingPlanSchedules-Dv7ZCgNp.mjs} +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +128 -83
- package/dist/screens/PayInvoice/PayInvoice.mjs +572 -218
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +21 -19
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +261 -266
- package/dist/{sorting.es-qtEN8J8T.mjs → sorting.es-CVyKw23D.mjs} +1 -1
- package/dist/subscriptions-BWXZGK0E.mjs +66 -0
- package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -0
- package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
- package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +11 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +4 -1
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +23 -1
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -1
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +2 -0
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/core/types.d.ts +5 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +3 -1
- package/dist/types/translations/supported.d.ts +1 -1
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/{useActionDispatchProvider-DC_fUykI.mjs → useActionDispatchProvider-3W2vEyIg.mjs} +1 -1
- package/dist/{useCustomer-C3kTh7wn.mjs → useCustomer-cObBvDOu.mjs} +2 -2
- package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
- package/dist/{useIncrementalLoading-C_sHmW7d.mjs → useIncrementalLoading-CATuO36d.mjs} +2 -2
- package/dist/{useInvoiceData-BIh8-h8b.mjs → useInvoiceData-DD44HTl7.mjs} +2 -2
- package/dist/{useInvoicesList-Y6p0Pqpy.mjs → useInvoicesList-CpB-41MQ.mjs} +10 -10
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
- package/dist/{usePaymentFormHold-FfNc578l.mjs → usePaymentFormHold-ByUZi3A-.mjs} +28 -36
- package/dist/{usePaymentMethodAvailability-CnYTvG15.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +4 -4
- package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
- package/dist/{usePayments-CykCZPG2.mjs → usePayments-BXABv-lF.mjs} +9 -9
- package/dist/{usePortal-CxzKGhbK.mjs → usePortal-CwR_FxTb.mjs} +1 -1
- package/dist/{useService-B0OQJmif.mjs → useService-BZcbUZHI.mjs} +3 -3
- package/dist/{useTimePeriod.es-JkXdHNWr.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
- package/package.json +7 -7
- package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +0 -50
- package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +0 -5279
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +0 -362
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
- package/dist/InvoiceSummary.vue.es-DbNoGfYN.mjs +0 -2596
- package/dist/RadioGroupExtended.vue.es-UtKsdmiv.mjs +0 -163
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs +0 -688
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs +0 -5221
- package/dist/TooltipParagraph.vue.es-BjCn2BF6.mjs +0 -129
- package/dist/customElements-Di3zwlEU.mjs +0 -6447
- package/dist/customer.es-B5ppZf0j.mjs +0 -20
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
- package/dist/payments-Ci8bF4C6.mjs +0 -45
- package/dist/subscriptions-CwogJODR.mjs +0 -54
- package/dist/useCustomerFormLabels-CK7K50nB.mjs +0 -1369
- package/dist/useLoadInitialData-4k_Cyqef.mjs +0 -15
- package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +0 -40
- package/dist/usePaymentMethods-gvr-rmwE.mjs +0 -15
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as e, renderSlot as t, createCommentVNode as l, createElementVNode as a } from "vue";
|
|
2
|
-
const i = (s, r) => {
|
|
3
|
-
const d = s.__vccOpts || s;
|
|
4
|
-
for (const [n, c] of r)
|
|
5
|
-
d[n] = c;
|
|
6
|
-
return d;
|
|
7
|
-
}, _ = {}, u = { class: "sv-layout grid w-full grid-cols-1 gap-4" }, f = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "sv-layout__header"
|
|
10
|
-
}, v = { class: "sv-layout__body flex flex-col items-start gap-6 md:flex-row" }, g = { class: "sv-layout__content grid w-full grow grid-cols-1 gap-4 md:w-auto" }, h = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "sv-layout__aside grid w-full grid-cols-1 gap-4 md:w-80 md:shrink-0"
|
|
13
|
-
}, m = {
|
|
14
|
-
key: 1,
|
|
15
|
-
class: "sv-layout__footer"
|
|
16
|
-
};
|
|
17
|
-
function y(s, r) {
|
|
18
|
-
return o(), e("div", u, [
|
|
19
|
-
s.$slots.header ? (o(), e("div", f, [
|
|
20
|
-
t(s.$slots, "header")
|
|
21
|
-
])) : l("", !0),
|
|
22
|
-
a("div", v, [
|
|
23
|
-
a("div", g, [
|
|
24
|
-
t(s.$slots, "content")
|
|
25
|
-
]),
|
|
26
|
-
s.$slots.aside ? (o(), e("aside", h, [
|
|
27
|
-
t(s.$slots, "aside")
|
|
28
|
-
])) : l("", !0)
|
|
29
|
-
]),
|
|
30
|
-
s.$slots.footer ? (o(), e("div", m, [
|
|
31
|
-
t(s.$slots, "footer")
|
|
32
|
-
])) : l("", !0)
|
|
33
|
-
]);
|
|
34
|
-
}
|
|
35
|
-
const k = /* @__PURE__ */ i(_, [["render", y]]);
|
|
36
|
-
export {
|
|
37
|
-
k as C
|
|
38
|
-
};
|
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, openBlock as n, createElementBlock as m, normalizeClass as T, createVNode as o, withCtx as i, renderSlot as x, createBlock as c, createTextVNode as f, toDisplayString as _, unref as v, Fragment as p, renderList as $, resolveDynamicComponent as N, ref as z, computed as P, createElementVNode as S, createCommentVNode as k } from "vue";
|
|
2
|
-
import { _ as b, a as I } from "./customElements-Di3zwlEU.mjs";
|
|
3
|
-
import { _ as D, T as E, a as O } from "./TooltipParagraph.vue.es-BjCn2BF6.mjs";
|
|
4
|
-
import { a as F } from "./useService-B0OQJmif.mjs";
|
|
5
|
-
import { g as V } from "./getComposedString.es-C__uhJpd.mjs";
|
|
6
|
-
import { _ as y } from "./Amount.vue.es-DPqHB8Xd.mjs";
|
|
7
|
-
import { _ as B } from "./Divider.vue.es-DnP_HqLz.mjs";
|
|
8
|
-
import { _ as j } from "./Expand.vue.es-BleuAfDz.mjs";
|
|
9
|
-
import { a as A } from "./Button.vue.es-rh6mITmN.mjs";
|
|
10
|
-
import { _ as q } from "./Section.vue.es-iS8hVGWA.mjs";
|
|
11
|
-
const w = /* @__PURE__ */ g({
|
|
12
|
-
__name: "invoicePreviewRow",
|
|
13
|
-
props: {
|
|
14
|
-
weight: { default: "normal" },
|
|
15
|
-
variant: { default: "body-xs" },
|
|
16
|
-
noSpacing: { type: Boolean, default: !1 }
|
|
17
|
-
},
|
|
18
|
-
setup(e) {
|
|
19
|
-
return (a, s) => (n(), m("div", {
|
|
20
|
-
class: T(["flex flex-row gap-2", { "py-1.5": !e.noSpacing }])
|
|
21
|
-
}, [
|
|
22
|
-
o(b, {
|
|
23
|
-
tag: "span",
|
|
24
|
-
variant: e.variant,
|
|
25
|
-
class: "grow",
|
|
26
|
-
weight: e.weight
|
|
27
|
-
}, {
|
|
28
|
-
default: i(() => [
|
|
29
|
-
x(a.$slots, "label")
|
|
30
|
-
]),
|
|
31
|
-
_: 3
|
|
32
|
-
}, 8, ["variant", "weight"]),
|
|
33
|
-
o(b, {
|
|
34
|
-
tag: "span",
|
|
35
|
-
variant: e.variant,
|
|
36
|
-
weight: e.weight
|
|
37
|
-
}, {
|
|
38
|
-
default: i(() => [
|
|
39
|
-
x(a.$slots, "value")
|
|
40
|
-
]),
|
|
41
|
-
_: 3
|
|
42
|
-
}, 8, ["variant", "weight"])
|
|
43
|
-
], 2));
|
|
44
|
-
}
|
|
45
|
-
}), L = /* @__PURE__ */ g({
|
|
46
|
-
__name: "Skeleton",
|
|
47
|
-
props: {
|
|
48
|
-
widthClass: { default: "w-10" },
|
|
49
|
-
heightClass: { default: "h-3" },
|
|
50
|
-
shade: { default: "default" }
|
|
51
|
-
},
|
|
52
|
-
setup(e) {
|
|
53
|
-
return (a, s) => (n(), m("div", {
|
|
54
|
-
class: T(["rounded", [
|
|
55
|
-
e.widthClass,
|
|
56
|
-
e.heightClass,
|
|
57
|
-
{
|
|
58
|
-
"bg-gray-50/50": e.shade === "default",
|
|
59
|
-
"bg-gray-100/50": e.shade === "dark",
|
|
60
|
-
"bg-gray-200/50": e.shade === "darker",
|
|
61
|
-
"bg-gray-400/50": e.shade === "darkest"
|
|
62
|
-
}
|
|
63
|
-
]])
|
|
64
|
-
}, null, 2));
|
|
65
|
-
}
|
|
66
|
-
}), M = /* @__PURE__ */ g({
|
|
67
|
-
__name: "InvoicePreviewNoTaxesSkeleton",
|
|
68
|
-
props: {
|
|
69
|
-
widthClass: { default: "w-12" },
|
|
70
|
-
heightClass: { default: "h-5" }
|
|
71
|
-
},
|
|
72
|
-
setup(e) {
|
|
73
|
-
const { $t: a } = I();
|
|
74
|
-
return (s, r) => (n(), c(D, { "is-dark-mode": "" }, {
|
|
75
|
-
tooltip: i(() => [
|
|
76
|
-
o(E, null, {
|
|
77
|
-
default: i(() => [
|
|
78
|
-
o(O, null, {
|
|
79
|
-
default: i(() => [
|
|
80
|
-
f(_(v(a)({
|
|
81
|
-
defaultMessage: "Will be determined by billing information",
|
|
82
|
-
description: "Tooltip content for the invoice preview when taxes are not determined by billing information",
|
|
83
|
-
id: "invoice_preview.taxes_not_determined_by_billing_information_tooltip"
|
|
84
|
-
})), 1)
|
|
85
|
-
]),
|
|
86
|
-
_: 1
|
|
87
|
-
})
|
|
88
|
-
]),
|
|
89
|
-
_: 1
|
|
90
|
-
})
|
|
91
|
-
]),
|
|
92
|
-
default: i(() => [
|
|
93
|
-
o(L, {
|
|
94
|
-
"width-class": e.widthClass,
|
|
95
|
-
"height-class": e.heightClass,
|
|
96
|
-
shade: "darker"
|
|
97
|
-
}, null, 8, ["width-class", "height-class"])
|
|
98
|
-
]),
|
|
99
|
-
_: 1
|
|
100
|
-
}));
|
|
101
|
-
}
|
|
102
|
-
}), R = /* @__PURE__ */ g({
|
|
103
|
-
__name: "InvoicePreviewGroups",
|
|
104
|
-
props: {
|
|
105
|
-
invoice: {},
|
|
106
|
-
wrapperComponent: {}
|
|
107
|
-
},
|
|
108
|
-
setup(e) {
|
|
109
|
-
const a = (r) => r.groups.reduce(
|
|
110
|
-
(u, l) => l.type in u ? {
|
|
111
|
-
...u,
|
|
112
|
-
[l.type]: [...u[l.type], l]
|
|
113
|
-
} : { ...u, [l.type]: [l] },
|
|
114
|
-
{}
|
|
115
|
-
), s = (r) => {
|
|
116
|
-
var u, l, t;
|
|
117
|
-
return (u = r.pricing) != null && u.name && !F((l = r.pricing) == null ? void 0 : l.name) ? r.pricing.name : V(((t = r.products) == null ? void 0 : t.map((d) => d.name)) ?? []);
|
|
118
|
-
};
|
|
119
|
-
return (r, u) => (n(!0), m(p, null, $(e.invoice.periods, (l, t) => (n(), m(p, { key: t }, [
|
|
120
|
-
(n(!0), m(p, null, $(Object.entries(a(l)), ([d, h]) => (n(), m(p, { key: d }, [
|
|
121
|
-
(n(!0), m(p, null, $(h, (C, W) => (n(), c(N(e.wrapperComponent ?? "div"), { key: W }, {
|
|
122
|
-
default: i(() => [
|
|
123
|
-
o(w, {
|
|
124
|
-
"no-spacing": e.wrapperComponent !== void 0
|
|
125
|
-
}, {
|
|
126
|
-
label: i(() => [
|
|
127
|
-
f(_(s(C)), 1)
|
|
128
|
-
]),
|
|
129
|
-
value: i(() => [
|
|
130
|
-
o(y, {
|
|
131
|
-
value: C.amount_excluding_tax
|
|
132
|
-
}, null, 8, ["value"])
|
|
133
|
-
]),
|
|
134
|
-
_: 2
|
|
135
|
-
}, 1032, ["no-spacing"])
|
|
136
|
-
]),
|
|
137
|
-
_: 2
|
|
138
|
-
}, 1024))), 128))
|
|
139
|
-
], 64))), 128))
|
|
140
|
-
], 64))), 128));
|
|
141
|
-
}
|
|
142
|
-
}), H = { class: "flex flex-col" }, le = /* @__PURE__ */ g({
|
|
143
|
-
__name: "InvoicePreview",
|
|
144
|
-
props: {
|
|
145
|
-
invoice: {},
|
|
146
|
-
trialInvoice: {},
|
|
147
|
-
isCustomerFacing: { type: Boolean, default: !1 },
|
|
148
|
-
variant: { default: "default" },
|
|
149
|
-
isPaid: { type: Boolean, default: !1 },
|
|
150
|
-
collapsible: { default: void 0 },
|
|
151
|
-
isPreviewWithoutTaxes: { type: Boolean }
|
|
152
|
-
},
|
|
153
|
-
setup(e) {
|
|
154
|
-
const a = e, { $t: s } = I(), r = z(a.collapsible !== void 0 ? a.collapsible !== "expanded" : !1), u = P(() => a.collapsible !== void 0), l = P(() => !!a.trialInvoice), t = P(
|
|
155
|
-
() => a.trialInvoice ? a.trialInvoice.tax_summary.total_amount : a.invoice.tax_summary.total_amount
|
|
156
|
-
), d = () => {
|
|
157
|
-
u.value && (r.value = !r.value);
|
|
158
|
-
};
|
|
159
|
-
return (h, C) => (n(), m("div", H, [
|
|
160
|
-
o(j, {
|
|
161
|
-
"is-open": !r.value,
|
|
162
|
-
lazy: ""
|
|
163
|
-
}, {
|
|
164
|
-
default: i(() => [
|
|
165
|
-
S("div", null, [
|
|
166
|
-
l.value ? (n(), c(b, {
|
|
167
|
-
key: 0,
|
|
168
|
-
variant: "caps-heading"
|
|
169
|
-
}, {
|
|
170
|
-
default: i(() => [
|
|
171
|
-
f(_(v(s)({
|
|
172
|
-
id: "invoice_preview.after_trial_heading",
|
|
173
|
-
defaultMessage: "After trial",
|
|
174
|
-
description: "After trial heading for the invoice preview"
|
|
175
|
-
})), 1)
|
|
176
|
-
]),
|
|
177
|
-
_: 1
|
|
178
|
-
})) : k("", !0),
|
|
179
|
-
e.variant !== "without-products" ? (n(), m(p, { key: 1 }, [
|
|
180
|
-
o(R, { invoice: e.invoice }, null, 8, ["invoice"]),
|
|
181
|
-
o(B, { spacing: "xxs" })
|
|
182
|
-
], 64)) : k("", !0),
|
|
183
|
-
o(w, null, {
|
|
184
|
-
label: i(() => [
|
|
185
|
-
f(_(v(s)({
|
|
186
|
-
id: "invoice_preview.total_excluding_taxes_heading",
|
|
187
|
-
defaultMessage: "Total excluding taxes",
|
|
188
|
-
description: "Total excluding taxes heading for the invoice preview"
|
|
189
|
-
})), 1)
|
|
190
|
-
]),
|
|
191
|
-
value: i(() => [
|
|
192
|
-
o(y, {
|
|
193
|
-
value: e.invoice.tax_summary.base_amount
|
|
194
|
-
}, null, 8, ["value"])
|
|
195
|
-
]),
|
|
196
|
-
_: 1
|
|
197
|
-
}),
|
|
198
|
-
o(w, null, {
|
|
199
|
-
label: i(() => [
|
|
200
|
-
f(_(v(s)({
|
|
201
|
-
id: "invoice_preview.taxes_heading",
|
|
202
|
-
defaultMessage: "Taxes",
|
|
203
|
-
description: "Taxes heading for the invoice preview"
|
|
204
|
-
})), 1)
|
|
205
|
-
]),
|
|
206
|
-
value: i(() => [
|
|
207
|
-
e.isPreviewWithoutTaxes ? (n(), c(M, {
|
|
208
|
-
key: 0,
|
|
209
|
-
"width-class": "w-10",
|
|
210
|
-
"height-class": "h-4"
|
|
211
|
-
})) : (n(), c(y, {
|
|
212
|
-
key: 1,
|
|
213
|
-
value: e.invoice.tax_summary.tax_amount
|
|
214
|
-
}, null, 8, ["value"]))
|
|
215
|
-
]),
|
|
216
|
-
_: 1
|
|
217
|
-
}),
|
|
218
|
-
l.value ? (n(), c(w, { key: 2 }, {
|
|
219
|
-
label: i(() => [
|
|
220
|
-
f(_(v(s)({
|
|
221
|
-
id: "invoice_preview.total_including_taxes_heading",
|
|
222
|
-
defaultMessage: "Total including taxes",
|
|
223
|
-
description: "Total including taxes heading for the invoice preview"
|
|
224
|
-
})), 1)
|
|
225
|
-
]),
|
|
226
|
-
value: i(() => [
|
|
227
|
-
e.isPreviewWithoutTaxes ? (n(), c(M, {
|
|
228
|
-
key: 0,
|
|
229
|
-
"width-class": "w-10",
|
|
230
|
-
"height-class": "h-4"
|
|
231
|
-
})) : (n(), c(y, {
|
|
232
|
-
key: 1,
|
|
233
|
-
value: e.invoice.tax_summary.total_amount
|
|
234
|
-
}, null, 8, ["value"]))
|
|
235
|
-
]),
|
|
236
|
-
_: 1
|
|
237
|
-
})) : k("", !0),
|
|
238
|
-
o(B, { spacing: "xxs" })
|
|
239
|
-
])
|
|
240
|
-
]),
|
|
241
|
-
_: 1
|
|
242
|
-
}, 8, ["is-open"]),
|
|
243
|
-
(n(), c(N(u.value ? "button" : "div"), {
|
|
244
|
-
class: T({ "text-left hover:cursor-pointer": u.value }),
|
|
245
|
-
onClick: d
|
|
246
|
-
}, {
|
|
247
|
-
default: i(() => [
|
|
248
|
-
o(w, {
|
|
249
|
-
weight: "semibold",
|
|
250
|
-
variant: "body-sm"
|
|
251
|
-
}, {
|
|
252
|
-
label: i(() => [
|
|
253
|
-
f(_(e.isPaid ? v(s)({
|
|
254
|
-
id: "invoice_preview.total_paid_heading",
|
|
255
|
-
defaultMessage: "Total paid",
|
|
256
|
-
description: "Total paid heading for the invoice preview"
|
|
257
|
-
}) : v(s)({
|
|
258
|
-
id: "invoice_preview.total_due_today_heading",
|
|
259
|
-
defaultMessage: "Total due today",
|
|
260
|
-
description: "Total due today heading for the invoice preview"
|
|
261
|
-
})) + " ", 1),
|
|
262
|
-
u.value ? (n(), c(A, {
|
|
263
|
-
key: 0,
|
|
264
|
-
size: "xs",
|
|
265
|
-
icon: "keyboard_arrow_down",
|
|
266
|
-
class: T(["text-gray-400 transition ease-in-out", { "rotate-0": r.value, "rotate-180": !r.value }])
|
|
267
|
-
}, null, 8, ["class"])) : k("", !0)
|
|
268
|
-
]),
|
|
269
|
-
value: i(() => [
|
|
270
|
-
e.isPreviewWithoutTaxes && (!l.value || l.value && t.value.quantity !== "0.00") ? (n(), c(M, { key: 0 })) : (n(), c(y, {
|
|
271
|
-
key: 1,
|
|
272
|
-
value: t.value
|
|
273
|
-
}, null, 8, ["value"]))
|
|
274
|
-
]),
|
|
275
|
-
_: 1
|
|
276
|
-
})
|
|
277
|
-
]),
|
|
278
|
-
_: 1
|
|
279
|
-
}, 8, ["class"]))
|
|
280
|
-
]));
|
|
281
|
-
}
|
|
282
|
-
});
|
|
283
|
-
function J(e) {
|
|
284
|
-
return (e.pricing_plan_version.pricing_categories ?? []).flatMap((s) => s.pricings ?? []);
|
|
285
|
-
}
|
|
286
|
-
function se(e) {
|
|
287
|
-
return e.flatMap(J);
|
|
288
|
-
}
|
|
289
|
-
function oe(e) {
|
|
290
|
-
var a, s;
|
|
291
|
-
return F(e.name) ? (s = (a = e.products) == null ? void 0 : a[0]) == null ? void 0 : s.name : e.name;
|
|
292
|
-
}
|
|
293
|
-
function re(e, { enabledPricingIds: a } = {}) {
|
|
294
|
-
var l;
|
|
295
|
-
const r = (((l = e == null ? void 0 : e.pricing_plan_version) == null ? void 0 : l.pricing_categories) ?? []).flatMap((t) => [
|
|
296
|
-
...(t.pricings ?? []).map((d) => ({ pricing: d, inGroup: !1 })),
|
|
297
|
-
...(t.pricing_groups ?? []).flatMap(
|
|
298
|
-
(d) => (d.pricings ?? []).map((h) => ({ pricing: h, inGroup: !0 }))
|
|
299
|
-
)
|
|
300
|
-
]), u = ({ pricing: t, inGroup: d }) => !(d || !!(t != null && t.pricing_group_id) || (t == null ? void 0 : t.product_type) === "ADDON") || !a || a.includes(t == null ? void 0 : t.id);
|
|
301
|
-
return new Set(
|
|
302
|
-
r.filter(u).flatMap(({ pricing: t }) => (t == null ? void 0 : t.items) ?? []).flatMap((t) => t.product_items ?? []).map(({ model_type: t }) => t)
|
|
303
|
-
);
|
|
304
|
-
}
|
|
305
|
-
const K = { class: "sv-empty-state__body flex flex-col items-center justify-center py-2" }, Q = { class: "sv-empty-state__action mt-3 empty:hidden" }, ue = /* @__PURE__ */ g({
|
|
306
|
-
__name: "EmptyStatePlaceholder",
|
|
307
|
-
props: {
|
|
308
|
-
icon: { type: null }
|
|
309
|
-
},
|
|
310
|
-
setup(e) {
|
|
311
|
-
return (a, s) => (n(), c(v(q), { class: "sv-empty-state" }, {
|
|
312
|
-
default: i(() => [
|
|
313
|
-
S("div", K, [
|
|
314
|
-
o(v(A), {
|
|
315
|
-
icon: e.icon,
|
|
316
|
-
size: "md",
|
|
317
|
-
class: "sv-empty-state__icon text-gray-500"
|
|
318
|
-
}, null, 8, ["icon"]),
|
|
319
|
-
o(v(b), {
|
|
320
|
-
center: "",
|
|
321
|
-
tag: "span",
|
|
322
|
-
variant: "body-xs",
|
|
323
|
-
weight: "semibold",
|
|
324
|
-
color: "subtle",
|
|
325
|
-
class: "sv-empty-state__title mt-1"
|
|
326
|
-
}, {
|
|
327
|
-
default: i(() => [
|
|
328
|
-
x(a.$slots, "title")
|
|
329
|
-
]),
|
|
330
|
-
_: 3
|
|
331
|
-
}),
|
|
332
|
-
o(v(b), {
|
|
333
|
-
center: "",
|
|
334
|
-
tag: "span",
|
|
335
|
-
variant: "body-xs",
|
|
336
|
-
color: "subtle",
|
|
337
|
-
class: "sv-empty-state__message mt-1"
|
|
338
|
-
}, {
|
|
339
|
-
default: i(() => [
|
|
340
|
-
x(a.$slots, "message")
|
|
341
|
-
]),
|
|
342
|
-
_: 3
|
|
343
|
-
}),
|
|
344
|
-
S("div", Q, [
|
|
345
|
-
x(a.$slots, "action")
|
|
346
|
-
])
|
|
347
|
-
])
|
|
348
|
-
]),
|
|
349
|
-
_: 3
|
|
350
|
-
}));
|
|
351
|
-
}
|
|
352
|
-
});
|
|
353
|
-
export {
|
|
354
|
-
ue as _,
|
|
355
|
-
le as a,
|
|
356
|
-
J as b,
|
|
357
|
-
se as c,
|
|
358
|
-
L as d,
|
|
359
|
-
R as e,
|
|
360
|
-
re as f,
|
|
361
|
-
oe as g
|
|
362
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, computed as u, openBlock as r, createElementBlock as s, Fragment as f, renderList as d, normalizeClass as i, toDisplayString as l, renderSlot as g, createTextVNode as p, createCommentVNode as k } from "vue";
|
|
2
|
-
const x = /* @__PURE__ */ m({
|
|
3
|
-
__name: "FormMessage",
|
|
4
|
-
props: {
|
|
5
|
-
message: {},
|
|
6
|
-
variant: { default: "error" },
|
|
7
|
-
capitalizeFirstLetter: { type: Boolean, default: !0 }
|
|
8
|
-
},
|
|
9
|
-
setup(t) {
|
|
10
|
-
const a = t, n = u(() => {
|
|
11
|
-
let e = "text-xs";
|
|
12
|
-
return a.variant === "default" && (e += " text-secondary"), a.variant === "error" && (e += " text-feedback-danger"), a.variant === "warning" && (e += " text-feedback-warning"), a.capitalizeFirstLetter && (e += " first-letter:capitalize"), e;
|
|
13
|
-
});
|
|
14
|
-
return (e, v) => typeof t.message == "object" && !("value" in t.message) ? (r(!0), s(f, { key: 0 }, d(t.message, ({ $uid: o, $message: c }) => (r(), s("p", {
|
|
15
|
-
key: o,
|
|
16
|
-
class: i(n.value)
|
|
17
|
-
}, l(c), 3))), 128)) : t.message || e.$slots.default ? (r(), s("p", {
|
|
18
|
-
key: 1,
|
|
19
|
-
class: i(n.value)
|
|
20
|
-
}, [
|
|
21
|
-
g(e.$slots, "default", {}, () => [
|
|
22
|
-
p(l(t.message), 1)
|
|
23
|
-
])
|
|
24
|
-
], 2)) : k("", !0);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
export {
|
|
28
|
-
x as _
|
|
29
|
-
};
|