@solvimon/solvimon-web 0.1.0-alpha.7 → 0.1.0-alpha.8
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/ApiStatus-CyNDp_op.mjs +9 -0
- package/dist/ApiStatus-oqvUEWJx.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C-C0i6i6.js +1 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-CupcH8TZ.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-CT0Tjsnw.mjs} +2 -4
- package/dist/{ContentWithAsideLayout-Ct24RV-2.mjs → ContentWithAsideLayout-BTdixy3L.mjs} +2 -11
- package/dist/ContentWithAsideLayout-oAYVrLvL.js +1 -0
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZJ0xukI.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CK73bYUe.mjs} +2 -5
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CLU7Yiyx.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B_WLgBur.js +1 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DsrBsrtk.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dt_Vb7Wz.mjs} +1 -2
- package/dist/PaymentHistoryBlock-DHM-3fh-.js +1 -0
- package/dist/PaymentHistoryBlock-YzJ6bxKr.mjs +4 -0
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BnKwmJ2s.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D6Cr2Uga.mjs} +1 -5
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DFw8lrDv.js +1 -0
- package/dist/PaymentIntegrationForm-Cl5ua8v8.js +1 -0
- package/dist/PaymentIntegrationForm-ID4QnvA3.mjs +4 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BE1lWOk9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CVWPT3Ni.mjs} +32 -189
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DifRn1ok.js +1 -0
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-CKNMt-JH.js +1 -0
- package/dist/{PricingGroupContent.vue_vue_type_script_setup_true_lang-BbvDXvIS.mjs → PricingGroupContent.vue_vue_type_script_setup_true_lang-CzS32ZUt.mjs} +5 -31
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DVhJy0t8.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BIxGqr9U.mjs} +4 -7
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CpEqDnO3.js +1 -0
- package/dist/adyenLoader-CEH4A2b2.js +1 -0
- package/dist/adyenLoader-gsbzSjYV.mjs +177 -0
- package/dist/component-C2Gc-wsE.js +1 -0
- package/dist/component-CM9g6tbD.mjs +804 -0
- package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +3 -7
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +9 -17
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +3 -7
- package/dist/components/Invoice/Invoice.cjs.js +1 -1
- package/dist/components/Invoice/Invoice.es.js +42 -2659
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +3 -7
- package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +2 -6
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +3 -7
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +7 -33
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +8 -4824
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +4 -8
- package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +3 -7
- package/dist/core/index.cjs.js +1 -1
- package/dist/core/index.es.js +1 -1
- package/dist/core/types.d.ts +2 -0
- package/dist/{customer-CcQR-JIm.js → customer-C_Hz_npf.js} +1 -1
- package/dist/{customer-CJrpbGX4.mjs → customer-TIi7iZFw.mjs} +1 -1
- package/dist/en-US-CBoPxQwX.mjs +199 -0
- package/dist/en-US-DJq-9dD8.js +1 -0
- package/dist/index-CzL1ZcGi.mjs +85 -0
- package/dist/index-DRdBmZ2-.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +4 -1
- package/dist/{invoices-CNK1Ushv.mjs → invoices-BuVOuTOm.mjs} +2 -15
- package/dist/invoices-DbvwXAsm.js +1 -0
- package/dist/nl-NL-BB7KbK-h.mjs +181 -0
- package/dist/nl-NL-CtU1Lg2F.js +1 -0
- package/dist/paymentMethods-B4AYGf0K.js +1 -0
- package/dist/{paymentMethods-C-ApE-G4.mjs → paymentMethods-Di32oJ39.mjs} +2 -2
- package/dist/{payments-CE9U7aKK.mjs → payments-C5fD1PXB.mjs} +1 -1
- package/dist/{payments-CLt0SExf.js → payments-DeutKq9x.js} +1 -1
- package/dist/{registry-B99ZnfEn.mjs → registry-BLwMl1bK.mjs} +6 -4
- package/dist/registry-CMSmkLcy.js +1 -0
- package/dist/screens/Checkout/Checkout.cjs.js +1 -1
- package/dist/screens/Checkout/Checkout.es.js +420 -2388
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +13 -14
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +3 -0
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -0
- package/dist/screens/PayInvoice/PayInvoice.es.js +456 -0
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +79 -61
- package/dist/solvimon-web.css +1 -1
- package/dist/source-DKDKBlUm.mjs +179 -0
- package/dist/source-dkMNFWDc.js +1 -0
- package/dist/{subscriptions-CoeCrY1I.mjs → subscriptions-mOgjjzUi.mjs} +2 -2
- package/dist/subscriptions-wdMADcQZ.js +1 -0
- package/dist/{useActionDispatchProvider-eO2qFPGv.mjs → useActionDispatchProvider-B4gszz0Q.mjs} +1 -1
- package/dist/{useActionDispatchProvider-CWVV_xsi.js → useActionDispatchProvider-DfS2P0bd.js} +1 -1
- package/dist/{useCustomer-PthyTFLl.js → useCustomer-DanZzn-l.js} +1 -1
- package/dist/{useCustomer--jycAz--.mjs → useCustomer-cbhDyWJL.mjs} +2 -2
- package/dist/useIncrementalLoading-DFe5Yh8M.js +1 -0
- package/dist/{useIncrementalLoading-CcnL3flF.mjs → useIncrementalLoading-RRicokf1.mjs} +3 -8
- package/dist/useInvoiceData-CxxHa5R2.js +1 -0
- package/dist/{useInvoiceData-BiMMoVoW.mjs → useInvoiceData-fS6G_244.mjs} +6 -12
- package/dist/{useInvoicesList-DFhF_gp7.mjs → useInvoicesList-BQQxcPdz.mjs} +23 -260
- package/dist/useInvoicesList-CtJqmblZ.js +1 -0
- package/dist/usePaymentMethodOptions-2MloZ9bY.mjs +26 -0
- package/dist/usePaymentMethodOptions-D01YWW3G.js +1 -0
- package/dist/{usePaymentMethods-BRQ7-dUr.js → usePaymentMethods-Cm9WdSW0.js} +1 -1
- package/dist/{usePaymentMethods-BX2RnHZN.mjs → usePaymentMethods-DZvfWSlx.mjs} +2 -2
- package/dist/usePayments-B13S_yai.js +1 -0
- package/dist/usePayments-D4uGKBsV.mjs +36 -0
- package/dist/usePortal-DJDJNLbo.mjs +12 -0
- package/dist/usePortal-DWJEVkTj.js +1 -0
- package/dist/useService-9fCKPTmu.js +1 -0
- package/dist/useService-BuWWE5ND.mjs +68 -0
- package/dist/useViewport-Bu0cyeSi.mjs +38 -0
- package/dist/useViewport-CKRY1CKR.js +1 -0
- package/dist/useWalletBalanceItems-B53Gkjro.mjs +106 -0
- package/dist/useWalletBalanceItems-BMaVT4TW.js +1 -0
- package/dist/useWatchDebounced-2ZLnfgvG.js +1 -0
- package/dist/useWatchDebounced-D1xuIX6_.mjs +12 -0
- package/dist/vendor-ui-BwxuPDg8.mjs +28598 -0
- package/dist/vendor-ui-Ce_Yp7xA.js +1 -0
- package/package.json +17 -10
- package/dist/Alert.vue.es-DMPvSykx.js +0 -1
- package/dist/Alert.vue.es-DsJ1ckRU.mjs +0 -172
- package/dist/Amount.vue.es-C6JE5rL8.mjs +0 -23
- package/dist/Amount.vue.es-h8wulbBG.js +0 -1
- package/dist/Avatar.vue.es-Ba8ZGfm4.mjs +0 -93
- package/dist/Avatar.vue.es-BbyE0AjW.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C4Ndo83E.js +0 -1
- package/dist/Button.vue.es-6sBk5tBL.mjs +0 -408
- package/dist/Button.vue.es-BC4_TItq.js +0 -1
- package/dist/CardContent.vue.es-ChEMrFCc.mjs +0 -115
- package/dist/CardContent.vue.es-i9ivuGKG.js +0 -1
- package/dist/Chip.vue.es-D0fkSe8a.js +0 -1
- package/dist/Chip.vue.es-DcW2CjUA.mjs +0 -1576
- package/dist/Comparators.vue.es-BdxDqU8o.js +0 -1
- package/dist/Comparators.vue.es-DdTKGB80.mjs +0 -406
- package/dist/ContentWithAsideLayout-UHovpjZu.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-9rP7-RzN.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-DBMl01Es.mjs +0 -175
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CYTCcMgP.js +0 -1
- package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
- package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
- package/dist/DividerText.vue.es-B7oa5Xpn.mjs +0 -72
- package/dist/DividerText.vue.es-yiFdPQvo.js +0 -1
- package/dist/ErrorNotification.vue.es-Bgw0MIl8.mjs +0 -30
- package/dist/ErrorNotification.vue.es-FpRyg0De.js +0 -1
- package/dist/FormMessage.vue.es-DFQXxiSC.mjs +0 -46
- package/dist/FormMessage.vue.es-LeWoj774.js +0 -1
- package/dist/IconButton.vue.es-DNCwwH_j.mjs +0 -825
- package/dist/IconButton.vue.es-DiSiGPWO.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BDitcx8B.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-6yi47YWd.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CC3hm3nx.js +0 -1
- package/dist/PaymentMethod.vue.es-DYlnmZh7.js +0 -1
- package/dist/PaymentMethod.vue.es-nXZoQjG3.mjs +0 -1255
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-CmQILA3q.js +0 -1
- package/dist/Section.vue.es-3-H1pUTB.mjs +0 -79
- package/dist/Section.vue.es-BuzTXRLP.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Pq3d7DTb.js +0 -1
- package/dist/TooltipParagraph.vue.es-DVJLF9Kv.mjs +0 -136
- package/dist/TooltipParagraph.vue.es-kTbRGoPF.js +0 -1
- package/dist/TrialChip.vue.es-BHYbW8b6.mjs +0 -759
- package/dist/TrialChip.vue.es-C6Xg_5rR.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/_flatRest.es-BHFPCqZh.mjs +0 -642
- package/dist/_flatRest.es-dFffnTpX.js +0 -1
- package/dist/api.es-B4qAAJKr.js +0 -1
- package/dist/api.es-UkfpLiLL.mjs +0 -83
- package/dist/cloneDeep-Hs8Pp07F.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/cn.es-C7xoIs3C.js +0 -1
- package/dist/cn.es-tfxVlz02.mjs +0 -3191
- package/dist/component-ZRZIt3ZW.js +0 -1
- package/dist/component-dpA83LIN.mjs +0 -6569
- package/dist/countryData.es--zJAd6LA.mjs +0 -252
- package/dist/countryData.es-D3MFzU92.js +0 -1
- package/dist/customer.es-D42Md24r.js +0 -1
- package/dist/customer.es-LIW2YmLL.mjs +0 -30
- package/dist/formatting.es-9hM8aHSg.js +0 -1
- package/dist/formatting.es-D5H_ySFv.mjs +0 -68
- package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CI71bVGE.mjs +0 -2521
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-WLSPwi90.js +0 -1
- package/dist/index.es-BBJF2O2l.js +0 -1
- package/dist/index.es-LCAKs4tH.mjs +0 -438
- package/dist/invoices-3kVHsAXr.js +0 -1
- package/dist/isEmpty.es-Bp1SbWFu.mjs +0 -131
- package/dist/isEmpty.es-Dycf-CD_.js +0 -1
- package/dist/paymentMethods-DZRf0WRl.js +0 -1
- package/dist/pick.es-BgDAfhAl.js +0 -1
- package/dist/pick.es-DdVOyp0Q.mjs +0 -45
- package/dist/registry-ClZ43bQn.js +0 -1
- package/dist/sprite.svg.es-CCc3Mz1x.js +0 -1
- package/dist/sprite.svg.es-DZD704h3.mjs +0 -4
- package/dist/subscriptions-CS8HTxzC.js +0 -1
- package/dist/typeGuards.es-C4nR5FkL.js +0 -1
- package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
- package/dist/useIncrementalLoading-CAdNW-Bf.js +0 -1
- package/dist/useInvoiceData-DvQO_nKz.js +0 -1
- package/dist/useInvoicesList-CHkwSNO9.js +0 -1
- package/dist/useService-B67YWAcN.js +0 -1
- package/dist/useService-DG_zedHV.mjs +0 -282
- package/dist/useWalletBalanceItems-B5FMmoU2.mjs +0 -308
- package/dist/useWalletBalanceItems-BY3gq0fc.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),t=require("./component-ZRZIt3ZW.js"),n=require("./Button.vue.es-BC4_TItq.js"),i={class:"flex gap-1"},a=e.defineComponent({__name:"Kpi",props:{icon:{type:null},kpi:{type:String}},setup:a=>(o,r)=>(e.openBlock(),e.createElementBlock("div",i,[e.createVNode(e.unref(n._sfc_main$1),{icon:a.icon,size:"xs"},null,8,["icon"]),e.createVNode(e.unref(t._sfc_main),{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.kpi),1)]),_:1})]))}),o={class:"flex items-start"},r={class:"flex flex-col grow"},s={class:"flex items-center gap-1"},c={class:"flex items-center ml-4 self-center"},l=e.defineComponent({__name:"PricingGroupContent",props:{name:{type:String},description:{type:String}},setup:n=>(i,a)=>(e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("div",r,[e.createElementVNode("div",s,[e.createVNode(e.unref(t._sfc_main),{tag:"span",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.name),1)]),_:1}),e.renderSlot(i.$slots,"badge")]),e.createVNode(e.unref(t._sfc_main),{tag:"span",variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.description),1)]),_:1})]),e.createElementVNode("div",c,[e.renderSlot(i.$slots,"default")])]))});exports._sfc_main=l,exports._sfc_main$1=a;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, createBlock, unref, withCtx, renderSlot, createCommentVNode, resolveDynamicComponent, createVNode, createSlots, createTextVNode, toDisplayString, createElementVNode, normalizeClass } from "vue";
|
|
2
|
-
import { _ as _sfc_main$2 } from "./component-dpA83LIN.mjs";
|
|
3
|
-
const _hoisted_1 = { class: "flex gap-4 items-center" };
|
|
4
|
-
const _hoisted_2 = { key: 1 };
|
|
5
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "SectionTitle",
|
|
7
|
-
setup(__props) {
|
|
8
|
-
return (_ctx, _cache) => {
|
|
9
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
10
|
-
_ctx.$slots.default ? (openBlock(), createBlock(unref(_sfc_main$2), {
|
|
11
|
-
key: 0,
|
|
12
|
-
tag: "h2",
|
|
13
|
-
variant: "heading-3",
|
|
14
|
-
class: "grow"
|
|
15
|
-
}, {
|
|
16
|
-
default: withCtx(() => [
|
|
17
|
-
renderSlot(_ctx.$slots, "default")
|
|
18
|
-
]),
|
|
19
|
-
_: 3
|
|
20
|
-
})) : createCommentVNode("", true),
|
|
21
|
-
_ctx.$slots.right ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
22
|
-
renderSlot(_ctx.$slots, "right")
|
|
23
|
-
])) : createCommentVNode("", true)
|
|
24
|
-
]);
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
|
-
__name: "Section",
|
|
30
|
-
props: {
|
|
31
|
-
contentClasses: {},
|
|
32
|
-
contentBackground: { default: "gray" },
|
|
33
|
-
title: {},
|
|
34
|
-
noSpacing: { type: Boolean },
|
|
35
|
-
hasError: { type: Boolean },
|
|
36
|
-
noBorder: { type: Boolean, default: false }
|
|
37
|
-
},
|
|
38
|
-
setup(__props) {
|
|
39
|
-
return (_ctx, _cache) => {
|
|
40
|
-
return openBlock(), createBlock(resolveDynamicComponent(__props.title ? "section" : "div"), null, {
|
|
41
|
-
default: withCtx(() => [
|
|
42
|
-
createVNode(_sfc_main$1, null, createSlots({ _: 2 }, [
|
|
43
|
-
__props.title ? {
|
|
44
|
-
name: "default",
|
|
45
|
-
fn: withCtx(() => [
|
|
46
|
-
createTextVNode(toDisplayString(__props.title), 1)
|
|
47
|
-
]),
|
|
48
|
-
key: "0"
|
|
49
|
-
} : void 0,
|
|
50
|
-
_ctx.$slots.right ? {
|
|
51
|
-
name: "right",
|
|
52
|
-
fn: withCtx(() => [
|
|
53
|
-
renderSlot(_ctx.$slots, "right")
|
|
54
|
-
]),
|
|
55
|
-
key: "1"
|
|
56
|
-
} : void 0
|
|
57
|
-
]), 1024),
|
|
58
|
-
createElementVNode("div", {
|
|
59
|
-
class: normalizeClass({
|
|
60
|
-
"rounded border": !__props.noBorder,
|
|
61
|
-
"p-3 py-2": !__props.noSpacing,
|
|
62
|
-
"bg-gray-50/50": __props.contentBackground === "gray",
|
|
63
|
-
"mt-1 md:mt-2": !!__props.title,
|
|
64
|
-
[__props.contentClasses ?? ""]: !!__props.contentClasses,
|
|
65
|
-
"border-red-600": __props.hasError,
|
|
66
|
-
"border-gray-100": !__props.hasError
|
|
67
|
-
})
|
|
68
|
-
}, [
|
|
69
|
-
renderSlot(_ctx.$slots, "default")
|
|
70
|
-
], 2)
|
|
71
|
-
]),
|
|
72
|
-
_: 3
|
|
73
|
-
});
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
export {
|
|
78
|
-
_sfc_main as _
|
|
79
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),t=require("./component-ZRZIt3ZW.js"),o={class:"flex gap-4 items-center"},n={key:1},r=e.defineComponent({__name:"SectionTitle",setup:r=>(r,l)=>(e.openBlock(),e.createElementBlock("div",o,[r.$slots.default?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,tag:"h2",variant:"heading-3",class:"grow"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3})):e.createCommentVNode("",!0),r.$slots.right?(e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(r.$slots,"right")])):e.createCommentVNode("",!0)]))}),l=e.defineComponent({__name:"Section",props:{contentClasses:{},contentBackground:{default:"gray"},title:{},noSpacing:{type:Boolean},hasError:{type:Boolean},noBorder:{type:Boolean,default:!1}},setup:t=>(o,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.title?"section":"div"),null,{default:e.withCtx(()=>[e.createVNode(r,null,e.createSlots({_:2},[t.title?{name:"default",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),key:"0"}:void 0,o.$slots.right?{name:"right",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"right")]),key:"1"}:void 0]),1024),e.createElementVNode("div",{class:e.normalizeClass({"rounded border":!t.noBorder,"p-3 py-2":!t.noSpacing,"bg-gray-50/50":"gray"===t.contentBackground,"mt-1 md:mt-2":!!t.title,[t.contentClasses??""]:!!t.contentClasses,"border-red-600":t.hasError,"border-gray-100":!t.hasError})},[e.renderSlot(o.$slots,"default")],2)]),_:3}))});exports._sfc_main=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./useIncrementalLoading-CAdNW-Bf.js"),t=require("./subscriptions-CS8HTxzC.js"),i=require("vue"),o=require("./Section.vue.es-BuzTXRLP.js"),n=require("./Button.vue.es-BC4_TItq.js"),s=require("./component-ZRZIt3ZW.js"),r=require("./PaymentMethod.vue.es-DYlnmZh7.js"),c=require("./Skeleton.vue_vue_type_script_setup_true_lang-D1Xzfc70.js"),a=require("./useActionDispatchProvider-CWVV_xsi.js");const u={class:"flex flex-col gap-4 md:flex-row"},l={class:"grow"},p={class:"mt-4 flex items-center gap-6"},d={key:1,class:"flex gap-1"},b={class:"flex flex-col items-center gap-2 md:flex-row"},m=i.defineComponent({__name:"SubscriptionsListItem",props:{subscription:{type:Object},paymentMethod:{type:Object},customer:{type:Object},showViewSubscriptionDetailsButton:{type:Boolean,default:!0},showCancelSubscriptionButton:{type:Boolean,default:!0},showRenewSubscriptionButton:{type:Boolean,default:!0}},emits:["view-subscription-details","cancel-subscription","renew-subscription"],setup(e){const t=e,{$t:c}=s.useIntl(),{formatDate:a}=s.useIntl(),m=i.computed(()=>{var e;const i=t.subscription.pricing_plan_schedule_infos;if(0===i.length)return;const o=i[i.length-1];return null==(e=null==o?void 0:o.pricing_plan_version)?void 0:e.pricing_plan}),f=i.computed(()=>{var e;return t.subscription.name||(null==(e=m.value)?void 0:e.name)||c({defaultMessage:"Subscription",description:"The fallback name for when no subscription name can be determined",id:"customer_overview.subscriptions_block.fallback_subscription_name"})}),h=i.computed(()=>{var e;return null==(e=m.value)?void 0:e.description}),w=i.computed(()=>{const e=t.subscription.inactive_periods;return!e||0===e.length}),_=i.computed(()=>{const e=t.subscription.inactive_periods;return Array.isArray(e)&&e.length>0}),v=i.computed(()=>w.value&&t.showCancelSubscriptionButton),g=i.computed(()=>_.value&&t.showRenewSubscriptionButton),y=i.computed(()=>t.showViewSubscriptionDetailsButton);return(t,m)=>(i.openBlock(),i.createBlock(i.unref(o._sfc_main),null,{default:i.withCtx(()=>[i.createElementVNode("div",u,[i.createElementVNode("div",l,[i.createVNode(i.unref(s._sfc_main),{tag:"h3",variant:"heading-2"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(f.value),1)]),_:1}),h.value?(i.openBlock(),i.createBlock(i.unref(s._sfc_main),{key:0,variant:"body-sm",tag:"span",shade:"lighter"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(h.value),1)]),_:1})):i.createCommentVNode("",!0),i.createElementVNode("div",p,[e.paymentMethod?(i.openBlock(),i.createBlock(i.unref(r._sfc_main),{key:0,variant:"condensed","payment-method":e.paymentMethod},null,8,["payment-method"])):i.createCommentVNode("",!0),e.subscription.next_invoice?(i.openBlock(),i.createElementBlock("div",d,[i.createVNode(i.unref(s._sfc_main),{tag:"span",variant:"body-xs",shade:"light",weight:"semibold"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(c)({defaultMessage:"Next billing date",description:"The label for the next billing date",id:"customer.subscriptions_block.next_billing_date"})),1)]),_:1}),i.createVNode(i.unref(s._sfc_main),{tag:"span",variant:"body-xs",shade:"light"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(a)({date:e.subscription.next_invoice.invoice_date,format:"date",offsetType:"offsetted",timezone:e.customer.timezone})),1)]),_:1})])):i.createCommentVNode("",!0)])]),i.createElementVNode("div",b,[y.value?(i.openBlock(),i.createBlock(i.unref(n._sfc_main),{key:0,color:"primary",class:"w-full md:w-auto",type:"button",onClick:m[0]||(m[0]=i=>t.$emit("view-subscription-details",{subscriptionId:e.subscription.id}))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(c)({defaultMessage:"Subscription details",description:"The label for the subscription details button in the subscriptions block",id:"customer.subscriptions_block.show_details_button_label"})),1)]),_:1})):i.createCommentVNode("",!0),v.value?(i.openBlock(),i.createBlock(i.unref(n._sfc_main),{key:1,variant:"outline",color:"gray",class:"w-full md:w-auto",type:"button",onClick:m[1]||(m[1]=i=>t.$emit("cancel-subscription",{subscriptionId:e.subscription.id}))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(c)({defaultMessage:"Cancel subscription",description:"The label for the cancel subscription button in the subscriptions block",id:"customer.subscriptions_block.cancel_button_label"})),1)]),_:1})):g.value?(i.openBlock(),i.createBlock(i.unref(n._sfc_main),{key:2,variant:"outline",color:"gray",class:"w-full md:w-auto",type:"button",onClick:m[2]||(m[2]=i=>t.$emit("renew-subscription",{subscriptionId:e.subscription.id}))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(c)({defaultMessage:"Renew subscription",description:"The label for the renew subscription button in the subscriptions block",id:"customer.subscriptions_block.renew_button_label"})),1)]),_:1})):i.createCommentVNode("",!0)])])]),_:1}))}}),f={key:1,class:"grid grid-cols-1 gap-4"},h=i.defineComponent({__name:"SubscriptionsList",props:{customer:{type:Object},subscriptions:{type:Array},paymentMethods:{default:()=>[],type:Array},isLoading:{type:Boolean},showViewAllButton:{type:Boolean,default:!0},showViewDetailsButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},showRenewButton:{type:Boolean,default:!0}},emits:["view-subscription-details","view-all-subscriptions","cancel-subscription","renew-subscription","load-more"],setup(e){const t=e,{$t:r}=s.useIntl(),c=i.computed(()=>t.subscriptions.length>0),a=e=>{if(e)return t.paymentMethods.find(({id:t})=>t===e)},u=i.computed(()=>t.showViewAllButton);return(t,l)=>(i.openBlock(),i.createBlock(i.unref(o._sfc_main),{"no-spacing":"","no-border":"",title:i.unref(r)({defaultMessage:"{count, plural, one {My subscription} other {My subscriptions}}",description:"Title for the subscriptions block on the customer overview page",id:"customer_overview.subscriptions_block.title"},{count:String(e.subscriptions.length)})},i.createSlots({default:i.withCtx(()=>[c.value?(i.openBlock(),i.createElementBlock("div",f,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(e.subscriptions,o=>(i.openBlock(),i.createBlock(m,{key:o.id,subscription:o,"payment-method":a(o.payment_method_id),customer:e.customer,"show-view-subscription-details-button":e.showViewDetailsButton,"show-cancel-subscription-button":e.showCancelButton,"show-renew-subscription-button":e.showRenewButton,onViewSubscriptionDetails:l[1]||(l[1]=e=>t.$emit("view-subscription-details",e)),onCancelSubscription:l[2]||(l[2]=e=>t.$emit("cancel-subscription",e)),onRenewSubscription:l[3]||(l[3]=e=>t.$emit("renew-subscription",e))},null,8,["subscription","payment-method","customer","show-view-subscription-details-button","show-cancel-subscription-button","show-renew-subscription-button"]))),128))])):(i.openBlock(),i.createBlock(i.unref(o._sfc_main),{key:0},{default:i.withCtx(()=>[i.createVNode(i.unref(s._sfc_main),{tag:"h3",variant:"heading-3"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(r)({defaultMessage:"No subscriptions",description:"Title for the my subscriptions block on the customer overview page",id:"customer_overview.subscriptions_block.no_active_subscription_title"})),1)]),_:1}),i.createVNode(i.unref(s._sfc_main),{variant:"body-xs",shade:"lighter"},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(r)({defaultMessage:"There’s no active subscription to display.",description:"Text that is being displayed when there is no active subscription in the subscriptions block",id:"customer_overview.subscriptions_block.no_active_subscription_content"})),1)]),_:1})]),_:1}))]),_:2},[u.value?{name:"right",fn:i.withCtx(()=>[i.createVNode(i.unref(n._sfc_main),{size:"sm",variant:"ghost",color:"gray","icon-suffix":"arrow_right_alt",type:"button",onClick:l[0]||(l[0]=e=>t.$emit("view-all-subscriptions"))},{default:i.withCtx(()=>[i.createTextVNode(i.toDisplayString(i.unref(r)({defaultMessage:"View all",description:"The text for the view all subscriptions button",id:"customer_overview.subscriptions_block.view_all_button_label"})),1)]),_:1})]),key:"0"}:void 0]),1032,["title"]))}}),w=i.defineComponent({__name:"SubscriptionsList",props:{customer:{type:null},subscriptions:{type:Array},paymentMethods:{type:Array},isLoading:{type:Boolean},configuration:{type:Object}},emits:["load-more"],setup(e){const{dispatchAction:t}=a.useActionDispatchProvider();return(o,n)=>{var s,r,a,u;return e.isLoading?(i.openBlock(),i.createBlock(c._sfc_main,{key:0,variant:"section",class:"min-h-[100px]","data-testid":"subscriptions-list-skeleton"})):e.customer?(i.openBlock(),i.createBlock(h,{key:1,customer:e.customer,subscriptions:e.subscriptions,"payment-methods":e.paymentMethods,"is-loading":e.isLoading,"show-view-all-button":null==(s=e.configuration)?void 0:s.showViewAllButton,"show-view-details-button":null==(r=e.configuration)?void 0:r.showViewDetailsButton,"show-cancel-button":null==(a=e.configuration)?void 0:a.showCancelButton,"show-renew-button":null==(u=e.configuration)?void 0:u.showRenewButton,onViewSubscriptionDetails:n[0]||(n[0]=e=>i.unref(t)({action:"view-subscription-details",data:{subscriptionId:e.subscriptionId}})),onViewAllSubscriptions:n[1]||(n[1]=e=>i.unref(t)({action:"view-all-subscriptions"})),onCancelSubscription:n[2]||(n[2]=e=>i.unref(t)({action:"cancel-subscription",data:{subscriptionId:e.subscriptionId}})),onRenewSubscription:n[3]||(n[3]=e=>i.unref(t)({action:"renew-subscription",data:{subscriptionId:e.subscriptionId}})),onLoadMore:n[4]||(n[4]=e=>o.$emit("load-more"))},null,8,["customer","subscriptions","payment-methods","is-loading","show-view-all-button","show-view-details-button","show-cancel-button","show-renew-button"])):i.createCommentVNode("",!0)}}});exports._sfc_main=w,exports.useSubscriptionsList=function({customerId:i,batchSize:o=15}){const n=t.createSubscriptionsService();return e.useIncrementalLoading({service:async e=>n.getActiveSubscriptions({customerId:i,pagination:{page:e,pageSize:o}})})};
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, inject, provide, openBlock, createElementBlock, Fragment, createElementVNode, mergeProps, normalizeStyle, renderSlot, unref, createBlock, Teleport, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { u as useFloating, o as offset, f as flip, a as autoUpdate, b as _export_sfc } from "./Chip.vue.es-DcW2CjUA.mjs";
|
|
3
|
-
import { T as TOOLTIP_PORTAL_NAME, e as TOOLTIP_DARK_MODE_INJECT_KEY, _ as _sfc_main$3 } from "./component-dpA83LIN.mjs";
|
|
4
|
-
const _hoisted_1$1 = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "px-3 mb-1"
|
|
7
|
-
};
|
|
8
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "Tooltip",
|
|
10
|
-
props: {
|
|
11
|
-
variant: { default: "default" },
|
|
12
|
-
placement: { default: "bottom-end" },
|
|
13
|
-
offset: { default: 4 },
|
|
14
|
-
maxWidth: { default: "xs" },
|
|
15
|
-
rootClass: {},
|
|
16
|
-
title: {},
|
|
17
|
-
isDarkMode: { type: Boolean }
|
|
18
|
-
},
|
|
19
|
-
setup(__props) {
|
|
20
|
-
const props = __props;
|
|
21
|
-
const triggerRef = ref();
|
|
22
|
-
const tooltipRef = ref(null);
|
|
23
|
-
const isVisible = ref(false);
|
|
24
|
-
const tooltipTeleportTarget = inject(TOOLTIP_PORTAL_NAME);
|
|
25
|
-
const { floatingStyles } = useFloating(triggerRef, tooltipRef, {
|
|
26
|
-
whileElementsMounted: autoUpdate,
|
|
27
|
-
placement: props.placement,
|
|
28
|
-
middleware: [offset(props.offset), flip()]
|
|
29
|
-
});
|
|
30
|
-
provide(TOOLTIP_DARK_MODE_INJECT_KEY, props.isDarkMode);
|
|
31
|
-
return (_ctx, _cache) => {
|
|
32
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
33
|
-
createElementVNode("span", mergeProps(_ctx.$attrs, {
|
|
34
|
-
ref_key: "triggerRef",
|
|
35
|
-
ref: triggerRef,
|
|
36
|
-
class: "relative leading-none",
|
|
37
|
-
onMouseenter: _cache[0] || (_cache[0] = ($event) => isVisible.value = true),
|
|
38
|
-
onMouseleave: _cache[1] || (_cache[1] = ($event) => isVisible.value = false)
|
|
39
|
-
}), [
|
|
40
|
-
createElementVNode("span", {
|
|
41
|
-
class: "absolute",
|
|
42
|
-
style: normalizeStyle({
|
|
43
|
-
inset: `-${__props.offset}px`
|
|
44
|
-
})
|
|
45
|
-
}, null, 4),
|
|
46
|
-
renderSlot(_ctx.$slots, "default")
|
|
47
|
-
], 16),
|
|
48
|
-
unref(tooltipTeleportTarget) ? (openBlock(), createBlock(Teleport, {
|
|
49
|
-
key: 0,
|
|
50
|
-
to: unref(tooltipTeleportTarget)
|
|
51
|
-
}, [
|
|
52
|
-
isVisible.value ? (openBlock(), createElementBlock("div", {
|
|
53
|
-
key: 0,
|
|
54
|
-
ref_key: "tooltipRef",
|
|
55
|
-
ref: tooltipRef,
|
|
56
|
-
style: normalizeStyle(unref(floatingStyles)),
|
|
57
|
-
class: normalizeClass(["border z-70 shadow-md", [
|
|
58
|
-
__props.rootClass,
|
|
59
|
-
`max-w-${__props.maxWidth}`,
|
|
60
|
-
{
|
|
61
|
-
"border-gray-200 rounded bg-white": !__props.isDarkMode,
|
|
62
|
-
"border-gray-700 rounded bg-gray-700": __props.isDarkMode
|
|
63
|
-
}
|
|
64
|
-
]]),
|
|
65
|
-
onMouseenter: _cache[2] || (_cache[2] = ($event) => isVisible.value = true),
|
|
66
|
-
onMouseleave: _cache[3] || (_cache[3] = ($event) => isVisible.value = false)
|
|
67
|
-
}, [
|
|
68
|
-
createElementVNode("div", {
|
|
69
|
-
class: normalizeClass(["rounded", {
|
|
70
|
-
"border-gray-50 bg-gray-50": __props.variant === "outline" && !__props.isDarkMode,
|
|
71
|
-
"border-gray-600 bg-gray-600": __props.variant === "outline" && __props.isDarkMode,
|
|
72
|
-
"border-4": __props.variant === "outline" && !__props.title,
|
|
73
|
-
"border-2": __props.variant === "outline" && __props.title,
|
|
74
|
-
"pt-0": !!__props.title
|
|
75
|
-
}])
|
|
76
|
-
}, [
|
|
77
|
-
__props.title ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
78
|
-
createVNode(_sfc_main$3, {
|
|
79
|
-
variant: "caps-heading",
|
|
80
|
-
shade: "lighter",
|
|
81
|
-
class: normalizeClass({ "!text-gray-100": __props.isDarkMode }),
|
|
82
|
-
"no-spacing": ""
|
|
83
|
-
}, {
|
|
84
|
-
default: withCtx(() => [
|
|
85
|
-
createTextVNode(toDisplayString(__props.title), 1)
|
|
86
|
-
]),
|
|
87
|
-
_: 1
|
|
88
|
-
}, 8, ["class"])
|
|
89
|
-
])) : createCommentVNode("", true),
|
|
90
|
-
createElementVNode("div", {
|
|
91
|
-
class: normalizeClass(["py-2 rounded", {
|
|
92
|
-
"bg-white": __props.variant === "outline" && !__props.isDarkMode,
|
|
93
|
-
"bg-gray-700": __props.variant === "outline" && __props.isDarkMode
|
|
94
|
-
}])
|
|
95
|
-
}, [
|
|
96
|
-
renderSlot(_ctx.$slots, "tooltip")
|
|
97
|
-
], 2)
|
|
98
|
-
], 2)
|
|
99
|
-
], 38)) : createCommentVNode("", true)
|
|
100
|
-
], 8, ["to"])) : createCommentVNode("", true)
|
|
101
|
-
], 64);
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
const _sfc_main$1 = {};
|
|
106
|
-
const _hoisted_1 = { class: "px-3" };
|
|
107
|
-
function _sfc_render(_ctx, _cache) {
|
|
108
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
109
|
-
renderSlot(_ctx.$slots, "default")
|
|
110
|
-
]);
|
|
111
|
-
}
|
|
112
|
-
const TooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render]]);
|
|
113
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
114
|
-
__name: "TooltipParagraph",
|
|
115
|
-
setup(__props) {
|
|
116
|
-
const isDarkMode = inject(TOOLTIP_DARK_MODE_INJECT_KEY);
|
|
117
|
-
return (_ctx, _cache) => {
|
|
118
|
-
return openBlock(), createBlock(unref(_sfc_main$3), {
|
|
119
|
-
tag: "p",
|
|
120
|
-
variant: "body-xs",
|
|
121
|
-
shade: "lighter",
|
|
122
|
-
class: normalizeClass({ "!text-gray-200": unref(isDarkMode) })
|
|
123
|
-
}, {
|
|
124
|
-
default: withCtx(() => [
|
|
125
|
-
renderSlot(_ctx.$slots, "default")
|
|
126
|
-
]),
|
|
127
|
-
_: 3
|
|
128
|
-
}, 8, ["class"]);
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
export {
|
|
133
|
-
TooltipContent as T,
|
|
134
|
-
_sfc_main$2 as _,
|
|
135
|
-
_sfc_main as a
|
|
136
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),t=require("./Chip.vue.es-D0fkSe8a.js"),o=require("./component-ZRZIt3ZW.js"),a={key:0,class:"px-3 mb-1"},r=e.defineComponent({__name:"Tooltip",props:{variant:{default:"default"},placement:{default:"bottom-end"},offset:{default:4},maxWidth:{default:"xs"},rootClass:{},title:{},isDarkMode:{type:Boolean}},setup(r){const l=r,n=e.ref(),s=e.ref(null),i=e.ref(!1),d=e.inject(o.TOOLTIP_PORTAL_NAME),{floatingStyles:c}=t.useFloating(n,s,{whileElementsMounted:t.autoUpdate,placement:l.placement,middleware:[t.offset(l.offset),t.flip()]});return e.provide(o.TOOLTIP_DARK_MODE_INJECT_KEY,l.isDarkMode),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("span",e.mergeProps(t.$attrs,{ref_key:"triggerRef",ref:n,class:"relative leading-none",onMouseenter:l[0]||(l[0]=e=>i.value=!0),onMouseleave:l[1]||(l[1]=e=>i.value=!1)}),[e.createElementVNode("span",{class:"absolute",style:e.normalizeStyle({inset:`-${r.offset}px`})},null,4),e.renderSlot(t.$slots,"default")],16),e.unref(d)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(d)},[i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:s,style:e.normalizeStyle(e.unref(c)),class:e.normalizeClass(["border z-70 shadow-md",[r.rootClass,`max-w-${r.maxWidth}`,{"border-gray-200 rounded bg-white":!r.isDarkMode,"border-gray-700 rounded bg-gray-700":r.isDarkMode}]]),onMouseenter:l[2]||(l[2]=e=>i.value=!0),onMouseleave:l[3]||(l[3]=e=>i.value=!1)},[e.createElementVNode("div",{class:e.normalizeClass(["rounded",{"border-gray-50 bg-gray-50":"outline"===r.variant&&!r.isDarkMode,"border-gray-600 bg-gray-600":"outline"===r.variant&&r.isDarkMode,"border-4":"outline"===r.variant&&!r.title,"border-2":"outline"===r.variant&&r.title,"pt-0":!!r.title}])},[r.title?(e.openBlock(),e.createElementBlock("div",a,[e.createVNode(o._sfc_main,{variant:"caps-heading",shade:"lighter",class:e.normalizeClass({"!text-gray-100":r.isDarkMode}),"no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["py-2 rounded",{"bg-white":"outline"===r.variant&&!r.isDarkMode,"bg-gray-700":"outline"===r.variant&&r.isDarkMode}])},[e.renderSlot(t.$slots,"tooltip")],2)],2)],38)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64))}}),l={},n={class:"px-3"};const s=t._export_sfc(l,[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(t.$slots,"default")])}]]),i=e.defineComponent({__name:"TooltipParagraph",setup(t){const a=e.inject(o.TOOLTIP_DARK_MODE_INJECT_KEY);return(t,r)=>(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{tag:"p",variant:"body-xs",shade:"lighter",class:e.normalizeClass({"!text-gray-200":e.unref(a)})},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["class"]))}});exports.TooltipContent=s,exports._sfc_main=r,exports._sfc_main$1=i;
|