@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 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../Section.vue.es-BuzTXRLP.js"),n=require("../../Button.vue.es-BC4_TItq.js"),a=require("../../Divider.vue.es-ClFG8QtG.js"),i=require("../../ErrorNotification.vue.es-FpRyg0De.js"),r=require("../../component-ZRZIt3ZW.js"),o=require("../../formatting.es-9hM8aHSg.js"),l=require("../../PricingGroupContent.vue_vue_type_script_setup_true_lang-CmQILA3q.js"),c=require("../../PaymentMethod.vue.es-DYlnmZh7.js"),s=require("../../paymentMethods-DZRf0WRl.js"),d=require("../../ContentWithAsideLayout-UHovpjZu.js"),u=require("../../useActionDispatchProvider-CWVV_xsi.js"),p={id:"ppsu_hwDeeN0vhvcVCsAIdp1G",pricing_plan_schedule_infos:[{id:"ppsc_IwDeeN0vhvcVCIAQdq1a",pricing_plan_version_id:"ppve_MwDeeN0vhvcEuaADdd1f",start_at:"2026-04-05T22:00:00Z",pricing_plan_version:{pricing_categories:[{product_category:{id:"proc_iwDeeN0vhphn6VAtBD1w",name:"Add ons"},display_order:1,pricings:[{id:"pric_ywDeeN0vhvcPguAadr1V",name:"Integration setup",products:[{name:"Integration setup"}],items:[{id:"prii_NwDeeN0vhvcPguAxds12",product_items:[{name:"Rillet integration setup",model_type:"ONE_OFF"}],configs:[{on_demand:!0,bands:[{fixed_amount:{quantity:"5000.00",currency:"EUR"}}]}]},{id:"prii_IwDeeN0vhvcPgvAsdS1Q",product_items:[{name:"Attio integration setup",model_type:"ONE_OFF"}],configs:[{on_demand:!0,bands:[{amount:{quantity:"50000.00",currency:"EUR"}}]}]}]}],pricing_groups:[]}]}}]},m=e=>{var t,n;return((null==(t=e.configs)?void 0:t.some(e=>e.on_demand))??!1)&&((null==(n=e.product_items)?void 0:n.some(e=>"ONE_OFF"===e.model_type))??!1)},g=e=>{var t,n;return{id:e.id,name:null==(n=null==(t=e.product_items)?void 0:t[0])?void 0:n.name,items:[{id:e.id,configs:(e.configs??[]).map(e=>({bands:(e.bands??[]).map(e=>({fixed_amount:e.fixed_amount??e.amount}))}))}]}},_=e=>(e.items??[]).filter(m).map(g),f=e=>({display_order:e.display_order,product_category:e.product_category,pricings:(e.pricings??[]).flatMap(_),pricing_groups:(e.pricing_groups??[]).map(e=>({id:e.id,name:e.name,pricings:(e.pricings??[]).flatMap(_)})).filter(e=>e.pricings.length>0)}),y=Object.fromEntries(p.pricing_plan_schedule_infos.flatMap(e=>e.pricing_plan_version.pricing_categories).flatMap(e=>e.pricings).flatMap(e=>e.items).filter(m).map(e=>{var t,n,a,i,r;const o=null==(a=null==(n=null==(t=e.configs)?void 0:t[0])?void 0:n.bands)?void 0:a[0],l=(null==(i=null==o?void 0:o.fixed_amount)?void 0:i.quantity)??(null==(r=null==o?void 0:o.amount)?void 0:r.quantity)??"0";return[e.id,parseFloat(l)]})),v=e=>({quantity:e.toFixed(2),currency:"EUR"}),h={id:"paya_NwDeeN0vgXgeP1AyNx14",object_type:"PAYMENT_ACCEPTOR",status:"ACTIVE",reference:"mock-payment-acceptor",name:"Mock payment acceptor",type:"PAYMENT_GATEWAY"},b={id:"intg_zwDeeN0vgXgeM6APNW1g",object_type:"INTEGRATION",reference:"mock-payment-integration",name:"Mock payment integration",description:"Mock payment integration",status:"ACTIVE",type:"PAYMENT_GATEWAY"},k={class:"mb-3 flex flex-col gap-2"},x={class:"flex flex-col gap-1 border-t pt-3"},N={class:"flex items-center justify-between"},w={class:"flex items-center justify-between"},B={class:"flex items-center justify-between border-t pt-3"},V=e.defineComponent({__name:"UpgradeOrderSummary",props:{selectedPricings:{type:Array},invoice:{type:Object},isPending:{type:Boolean}},setup(n){const a=n,{$t:i}=r.useIntl(),l=e.computed(()=>0===a.selectedPricings.length),c=e=>{var t,n,a,i,r,o;return null==(o=null==(r=null==(i=null==(a=null==(n=null==(t=e.items)?void 0:t[0])?void 0:n.configs)?void 0:a[0])?void 0:i.bands)?void 0:r[0])?void 0:o.fixed_amount};return(a,s)=>(e.openBlock(),e.createBlock(e.unref(t._sfc_main),null,{default:e.withCtx(()=>{var t;return[e.createVNode(e.unref(r._sfc_main),{variant:"heading-3",tag:"h2",class:"mb-3"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Order summary",id:"upgrade_subscription.order_summary.title",description:"Title for the order summary section on the upgrade subscription page"})),1)]),_:1}),l.value?(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{key:0,variant:"body-sm",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Select add-ons to see pricing.",id:"upgrade_subscription.order_summary.empty_state",description:"Placeholder shown when no add-ons are selected in the order summary"})),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",k,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.selectedPricings,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id,class:"flex items-center justify-between"},[e.createElementVNode("div",null,[e.createVNode(e.unref(r._sfc_main),{variant:"body-sm"},{default:e.withCtx(()=>{var n,a;return[e.createTextVNode(e.toDisplayString(t.name??(null==(a=null==(n=t.products)?void 0:n[0])?void 0:a.name)),1)]}),_:2},1024),e.createVNode(e.unref(r._sfc_main),{variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"one-off",id:"upgrade_subscription.order_summary.one_off_label",description:"One-off payment label next to a line item in order summary"})),1)]),_:1})]),c(t)?(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{key:0,variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o.formatAmount)(c(t))),1)]),_:2},1024)):e.createCommentVNode("",!0)]))),128))]),(null==(t=n.invoice)?void 0:t.tax_summary)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",x,[e.createElementVNode("div",N,[e.createVNode(e.unref(r._sfc_main),{variant:"body-sm",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Total excluding taxes",id:"upgrade_subscription.order_summary.subtotal_label",description:"Subtotal before tax label in order summary"})),1)]),_:1}),e.createVNode(e.unref(r._sfc_main),{variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o.formatAmount)(n.invoice.tax_summary.base_amount)),1)]),_:1})]),e.createElementVNode("div",w,[e.createVNode(e.unref(r._sfc_main),{variant:"body-sm",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Taxes",id:"upgrade_subscription.order_summary.taxes_label",description:"Tax amount label in order summary"})),1)]),_:1}),e.createVNode(e.unref(r._sfc_main),{variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o.formatAmount)(n.invoice.tax_summary.tax_amount)),1)]),_:1})])]),e.createElementVNode("div",B,[e.createVNode(e.unref(r._sfc_main),{variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Total due today",id:"upgrade_subscription.order_summary.total_label",description:"Total amount due today label in order summary"})),1)]),_:1}),e.createVNode(e.unref(r._sfc_main),{variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o.formatAmount)(n.invoice.tax_summary.total_amount)),1)]),_:1})])],64)):e.createCommentVNode("",!0)],64))]}),_:1}))}}),C=e.defineComponent({__name:"OnDemandPricingRow",props:{pricing:{type:Object},selected:{type:Boolean}},emits:["toggle"],setup(a,{emit:i}){const c=a,s=i,{$t:d}=r.useIntl(),u=e.computed(()=>{var e,t;return c.pricing.name??(null==(t=null==(e=c.pricing.products)?void 0:e[0])?void 0:t.name)??"—"}),p=e.computed(()=>{var e,t,n,a,i,r;return null==(r=null==(i=null==(a=null==(n=null==(t=null==(e=c.pricing.items)?void 0:e[0])?void 0:t.configs)?void 0:n[0])?void 0:a.bands)?void 0:i[0])?void 0:r.fixed_amount}),m=e.computed(()=>p.value?`${o.formatAmount(p.value)} ${d({defaultMessage:"one-off",id:"on_demand_pricing_row.one_off_label",description:"One-off label shown next to the price in an on-demand pricing row"})}`:"");return(i,r)=>(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{"content-background":a.selected?"none":"gray",class:e.normalizeClass({"!bg-white":a.selected})},{default:e.withCtx(()=>[e.createVNode(l._sfc_main,{name:u.value,description:m.value},{default:e.withCtx(()=>[a.selected?(e.openBlock(),e.createBlock(e.unref(n._sfc_main),{key:0,color:"gray",variant:"outline",size:"sm","icon-prefix":"remove_shopping_cart",onClick:r[0]||(r[0]=e=>s("toggle",a.pricing.id))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({defaultMessage:"Remove",id:"on_demand_pricing_row.remove_button_label",description:"Label for the remove button in an on-demand pricing row"})),1)]),_:1})):(e.openBlock(),e.createBlock(e.unref(n._sfc_main),{key:1,color:"primary",size:"sm","icon-prefix":"add",onClick:r[1]||(r[1]=e=>s("toggle",a.pricing.id))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({defaultMessage:"Add to cart",id:"on_demand_pricing_row.add_to_cart_button_label",description:"Label for the add to cart button in an on-demand pricing row"})),1)]),_:1}))]),_:1},8,["name","description"])]),_:1},8,["content-background","class"]))}}),E={class:"grid grid-cols-1 gap-1"},S=e.defineComponent({__name:"OnDemandPricingList",props:{categories:{type:Array},selectedPricingIds:{type:Array}},emits:["toggle"],setup(t,{emit:n}){const a=t,i=n,o=e.computed(()=>[...a.categories].sort((e,t)=>(e.display_order??0)-(t.display_order??0)));return(n,a)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,n=>(e.openBlock(),e.createElementBlock("div",{key:n.id??n.display_order,class:"flex flex-col gap-2"},[e.createVNode(e.unref(r._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((null==(t=n.product_category)?void 0:t.name)??n.name),1)]}),_:2},1024),e.createElementVNode("div",E,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.pricings,n=>(e.openBlock(),e.createBlock(C,{key:n.id,pricing:n,selected:t.selectedPricingIds.includes(n.id),onToggle:a[0]||(a[0]=e=>i("toggle",e))},null,8,["pricing","selected"]))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.pricing_groups,n=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n.id},[e.createVNode(e.unref(r._sfc_main),{variant:"body-sm",weight:"semibold",class:"mt-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.name),1)]),_:2},1024),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.pricings,n=>(e.openBlock(),e.createBlock(C,{key:n.id,pricing:n,selected:t.selectedPricingIds.includes(n.id),onToggle:a[1]||(a[1]=e=>i("toggle",e))},null,8,["pricing","selected"]))),128))],64))),128))])]))),128))}}),T={class:"flex flex-col gap-4"},A={key:0,class:"flex flex-col gap-2"},D={class:"flex flex-col gap-1"},I={key:1,class:"flex flex-col gap-2"},M={class:"flex flex-col gap-1"},P={class:"flex items-center gap-3"},j={key:0,class:"flex h-9 w-9 shrink-0 items-center gap-0.5"},O=["src","alt"],L={key:1,class:"flex h-9 w-9 shrink-0 items-center justify-center overflow-clip rounded"},F=["src","alt"],q={key:2,class:"flex flex-col gap-1"},$=e.defineComponent({__name:"PaymentMethodPicker",props:{customerId:{type:String},subscriptionId:{type:String},selectedId:{type:String}},emits:["select"],setup(n,{emit:a}){const i=n,o=a,{$t:l}=r.useIntl(),{getPaymentMethods:d}=s.createPaymentMethodsService(),u=e.ref([]),p=e.ref([]),m=e.ref(!1),g=e.computed(()=>p.value.flatMap(e=>e.options??[])),_=e=>`https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/small/${e}.svg`,f=["visa","mc","amex","maestro"],y=e=>{if(!e)return[];return[...f.filter(t=>e.includes(t)),...e.filter(e=>!f.includes(e))].slice(0,4)};return e.onMounted(async()=>{m.value=!0;try{const e=await d({customerId:i.customerId,pagination:{page:1,pageSize:50}});u.value=e.data,p.value=[{payment_acceptor:h,integration:b,options:[{name:"iDeal",payment_method_variant:"ONLINE_BANKING",payment_gateway_variant:"ADYEN",adyen:{name:"iDEAL | Wero",type:"ideal"}},{name:"Cards",payment_method_variant:"CARD",payment_gateway_variant:"ADYEN",adyen:{name:"Cards",type:"scheme",brands:["maestro","accel","amex","cup","diners","hipercard","jcb","mc","nyce","pulse","star","visa"]}},{name:"PayPal",payment_method_variant:"DIGITAL_WALLET",payment_gateway_variant:"ADYEN",adyen:{name:"PayPal",type:"paypal",configuration:{intent:"capture"}}},{name:"Trustly",payment_method_variant:"ONLINE_BANKING",payment_gateway_variant:"ADYEN",adyen:{name:"Trustly - Instant Bank Payment",type:"trustly"}}]}]}finally{m.value=!1}}),(a,i)=>(e.openBlock(),e.createElementBlock("div",T,[u.value.length>0?(e.openBlock(),e.createElementBlock("div",A,[e.createVNode(e.unref(r._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Saved payment methods",id:"upgrade_subscription.payment_picker.saved_title",description:"Heading for the saved payment methods section in the upgrade subscription payment picker"})),1)]),_:1}),e.createElementVNode("div",D,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,a=>(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:a.id,"content-background":n.selectedId===a.id?"none":"gray",class:e.normalizeClass([{"!bg-white":n.selectedId===a.id},"cursor-pointer"]),onClick:e=>o("select",a.id)},{default:e.withCtx(()=>[e.createVNode(e.unref(c._sfc_main),{"payment-method":a},null,8,["payment-method"])]),_:2},1032,["content-background","class","onClick"]))),128))])])):e.createCommentVNode("",!0),g.value.length>0?(e.openBlock(),e.createElementBlock("div",I,[e.createVNode(e.unref(r._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"All payment methods",id:"upgrade_subscription.payment_picker.all_title",description:"Heading for the all payment methods section in the upgrade subscription payment picker"})),1)]),_:1}),e.createElementVNode("div",M,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,a=>(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:a.adyen.type,"content-background":n.selectedId===a.adyen.type?"none":"gray",class:e.normalizeClass([{"!bg-white":n.selectedId===a.adyen.type},"cursor-pointer"]),onClick:e=>o("select",a.adyen.type)},{default:e.withCtx(()=>{return[e.createElementVNode("div",P,["scheme"===a.adyen.type?(e.openBlock(),e.createElementBlock("div",j,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y(a.adyen.brands),t=>(e.openBlock(),e.createElementBlock("img",{key:t,src:_(t),alt:t,class:"h-5 w-auto rounded"},null,8,O))),128))])):(e.openBlock(),e.createElementBlock("div",L,[e.createElementVNode("img",{src:(t=a.adyen.type,`https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/${t}.svg`),alt:a.name,class:"h-9 w-9 object-contain"},null,8,F)])),e.createVNode(e.unref(r._sfc_main),{variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.name),1)]),_:2},1024)])];var t}),_:2},1032,["content-background","class","onClick"]))),128))])])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("div",q,[...i[0]||(i[0]=[e.createElementVNode("div",{class:"h-[52px] animate-pulse rounded-md bg-gray-100"},null,-1),e.createElementVNode("div",{class:"h-[52px] animate-pulse rounded-md bg-gray-100"},null,-1),e.createElementVNode("div",{class:"h-[52px] animate-pulse rounded-md bg-gray-100"},null,-1)])])):e.createCommentVNode("",!0)]))}});const z={key:0,class:"flex h-full items-center justify-center p-8"},R={class:"flex flex-col items-center py-10"},U=e.defineComponent({__name:"UpgradeSubscription",props:{configuration:{type:Object}},setup(o){const c=o,{$t:s}=r.useIntl(),{dispatchAction:m}=u.useActionDispatchProvider(),{chargeOnDemandPricingItems:g}=function(){const e=r.createRequestService(),t=r.useConfig();return{chargeOnDemandPricingItems:function({scheduleId:n,pricingPlanVersionId:a,pricingItemIds:i,startAt:r,finalizeImmediately:o=!0,paymentMethodId:l}){return e({url:`${t.apiUrls.config}/portal/pricing-plan-schedules/${n}/charge-on-demand-pricing-items`,options:{method:"POST"},data:{...a?{pricing_plan_version_id:a}:{},pricing_item_ids:i,...r?{start_at:r}:{},finalize_immediately:o,...l?{payment_method_id:l}:{}}})}}}(),_=d.usePortal(),h=e.computed(()=>_.value.customer_id),b=e.ref([]),k=e.ref(void 0),x=e.ref(!1),N=e.ref(!1),w=e.ref(void 0),B=e.ref(!1),C=e.computed(()=>(e=>{var t;const n=Date.now(),a=p.pricing_plan_schedule_infos,i=a.find(e=>{const t=Date.parse(e.start_at);return Number.isFinite(t)&&t<=n})??a[0],r=((null==(t=null==i?void 0:i.pricing_plan_version)?void 0:t.pricing_categories)??[]).map(f).filter(e=>{var t,n;return((null==(t=e.pricings)?void 0:t.length)??0)>0||((null==(n=e.pricing_groups)?void 0:n.length)??0)>0});return{pricing_plan_subscription_id:e||p.id,pricing_plan_schedule_id:(null==i?void 0:i.id)??"",pricing_plan_version_id:(null==i?void 0:i.pricing_plan_version_id)??"",billing_period:{type:"MONTH",value:1},billing_currency:"EUR",pricing_categories:r}})(c.configuration.subscriptionId)),E=e.computed(()=>C.value.pricing_categories),T=e.computed(()=>E.value.flatMap(e=>[...e.pricings??[],...(e.pricing_groups??[]).flatMap(e=>e.pricings??[])])),A=e.computed(()=>T.value.filter(e=>b.value.includes(e.id)));let D;e.watch(b,e=>{if(clearTimeout(D),0===e.length)return w.value=void 0,void(B.value=!1);B.value=!0,D=setTimeout(()=>{w.value=(e=>{const t=e.reduce((e,t)=>e+(y[t]??0),0),n=Math.round(.21*t*100)/100,a=t+n;return{invoice:{tax_summary:{base_amount:v(t),tax_amount:v(n),total_amount:v(a),country_code:"NL"}},first_invoice:{},invoice_infos:[]}})(e).invoice,B.value=!1},400)});const I=e=>{b.value.includes(e)?b.value=b.value.filter(t=>t!==e):b.value=[...b.value,e]},M=e.computed(()=>b.value.length>0&&!!k.value),P=e.ref(void 0),j=async()=>{if(M.value){x.value=!0,P.value=void 0;try{const e=A.value.map(e=>{var t,n;return null==(n=null==(t=e.items)?void 0:t[0])?void 0:n.id}).filter(e=>!!e),t=k.value&&k.value.startsWith("pmet_")?k.value:void 0,n=await g({scheduleId:C.value.pricing_plan_schedule_id,pricingPlanVersionId:C.value.pricing_plan_version_id,pricingItemIds:e,finalizeImmediately:!0,paymentMethodId:t});t?N.value=!0:m({action:"pay-invoice",data:{invoiceId:n.id}})}catch{P.value=s({defaultMessage:"Something went wrong. Please try again.",id:"upgrade_subscription.purchase_error",description:"Error message shown when the purchase call fails on the upgrade subscription page"})}finally{x.value=!1}}};return(c,u)=>N.value?(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(e.unref(t._sfc_main),null,{default:e.withCtx(()=>[e.createElementVNode("div",R,[e.createVNode(e.unref(n._sfc_main$1),{icon:"check_circle",class:"text-green-400",size:"lg"}),e.createVNode(e.unref(r._sfc_main),{variant:"heading-3",tag:"span",class:"mt-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Payment successful",id:"upgrade_subscription.success.title",description:"Title shown after a successful add-on purchase"})),1)]),_:1}),e.createVNode(e.unref(r._sfc_main),{variant:"body-sm",shade:"lighter",tag:"span",class:"mt-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Your add-ons have been activated.",id:"upgrade_subscription.success.subtitle",description:"Subtitle shown after a successful add-on purchase"})),1)]),_:1})])]),_:1})])):(e.openBlock(),e.createBlock(e.unref(d.ContentWithAsideLayout),{key:1},{content:e.withCtx(()=>[E.value.length>0?(e.openBlock(),e.createBlock(S,{key:0,categories:E.value,"selected-pricing-ids":b.value,onToggle:I},null,8,["categories","selected-pricing-ids"])):(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{key:1,variant:"body-sm",shade:"lighter",class:"p-4"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"No on-demand add-ons are available for this subscription.",id:"upgrade_subscription.empty_state",description:"Shown when there are no on-demand add-ons available for the subscription"})),1)]),_:1})),e.createVNode(e.unref(a._sfc_main),{spacing:"sm"}),e.createVNode($,{"customer-id":h.value,"subscription-id":o.configuration.subscriptionId,"selected-id":k.value,onSelect:u[0]||(u[0]=e=>k.value=e)},null,8,["customer-id","subscription-id","selected-id"])]),aside:e.withCtx(()=>[e.createVNode(V,{"selected-pricings":A.value,invoice:w.value,"is-pending":B.value},null,8,["selected-pricings","invoice","is-pending"]),P.value?(e.openBlock(),e.createBlock(e.unref(i._sfc_main),{key:0,title:P.value},null,8,["title"])):e.createCommentVNode("",!0),e.createVNode(e.unref(n._sfc_main),{size:"lg",class:"full-width",type:"button",disabled:!M.value||x.value,loading:x.value,onClick:j},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Purchase",id:"upgrade_subscription.purchase_button.label",description:"Label for the purchase button on the upgrade subscription page"})),1)]),_:1},8,["disabled","loading"]),e.createVNode(e.unref(r._sfc_main),{tag:"div",variant:"body-sm",shade:"lighter",class:"flex grow justify-center"},{default:e.withCtx(()=>[e.createVNode(l._sfc_main$1,{icon:"lock",kpi:e.unref(s)({defaultMessage:"Secure and encrypted payments",id:"upgrade_subscription.kpi.encrypted_payments.label",description:"The encrypted payments KPI shown on the upgrade subscription page"})},null,8,["kpi"])]),_:1})]),_:1}))}}),Y=e.defineComponent({__name:"UpgradeSubscription.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup:t=>(n,a)=>{var i,o,l,c;return e.openBlock(),e.createBlock(r._sfc_main$1,{"custom-element-name":e.unref(W),environment:t.environment,locale:t.locale,"portal-object":t.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(o=null==(i=t.branding)?void 0:i.colors)?void 0:o.primary,"secondary-color":null==(c=null==(l=t.branding)?void 0:l.colors)?void 0:c.secondary,"experimental-features":t.experimentalFeatures,"log-level":t.logLevel,"on-log":t.onLog,onError:a[0]||(a[0]=e=>n.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(U,{configuration:t.configuration},null,8,["configuration"])]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}),G=r.defineCustomElement(Y),W=r.getComponentName("upgrade-subscription");exports.COMPONENT_NAME=W,exports.SolvimonUpgradeSubscription=G,exports.defineSolvimonUpgradeSubscription=()=>{customElements.get(W)||customElements.define(W,G)};
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../vendor-ui-Ce_Yp7xA.js"),n=require("../../PricingGroupContent.vue_vue_type_script_setup_true_lang-CKNMt-JH.js"),a=require("../../paymentMethods-B4AYGf0K.js"),i=require("../../ContentWithAsideLayout-oAYVrLvL.js"),r=require("../../useActionDispatchProvider-DfS2P0bd.js"),o=require("../../usePortal-DWJEVkTj.js"),l=require("../../component-C2Gc-wsE.js"),c={id:"ppsu_hwDeeN0vhvcVCsAIdp1G",pricing_plan_schedule_infos:[{id:"ppsc_IwDeeN0vhvcVCIAQdq1a",pricing_plan_version_id:"ppve_MwDeeN0vhvcEuaADdd1f",start_at:"2026-04-05T22:00:00Z",pricing_plan_version:{pricing_categories:[{product_category:{id:"proc_iwDeeN0vhphn6VAtBD1w",name:"Add ons"},display_order:1,pricings:[{id:"pric_ywDeeN0vhvcPguAadr1V",name:"Integration setup",products:[{name:"Integration setup"}],items:[{id:"prii_NwDeeN0vhvcPguAxds12",product_items:[{name:"Rillet integration setup",model_type:"ONE_OFF"}],configs:[{on_demand:!0,bands:[{fixed_amount:{quantity:"5000.00",currency:"EUR"}}]}]},{id:"prii_IwDeeN0vhvcPgvAsdS1Q",product_items:[{name:"Attio integration setup",model_type:"ONE_OFF"}],configs:[{on_demand:!0,bands:[{amount:{quantity:"50000.00",currency:"EUR"}}]}]}]}],pricing_groups:[]}]}}]},s=e=>{var t,n;return((null==(t=e.configs)?void 0:t.some(e=>e.on_demand))??!1)&&((null==(n=e.product_items)?void 0:n.some(e=>"ONE_OFF"===e.model_type))??!1)},d=e=>{var t,n;return{id:e.id,name:null==(n=null==(t=e.product_items)?void 0:t[0])?void 0:n.name,items:[{id:e.id,configs:(e.configs??[]).map(e=>({bands:(e.bands??[]).map(e=>({fixed_amount:e.fixed_amount??e.amount}))}))}]}},u=e=>(e.items??[]).filter(s).map(d),p=e=>({display_order:e.display_order,product_category:e.product_category,pricings:(e.pricings??[]).flatMap(u),pricing_groups:(e.pricing_groups??[]).map(e=>({id:e.id,name:e.name,pricings:(e.pricings??[]).flatMap(u)})).filter(e=>e.pricings.length>0)}),m=Object.fromEntries(c.pricing_plan_schedule_infos.flatMap(e=>e.pricing_plan_version.pricing_categories).flatMap(e=>e.pricings).flatMap(e=>e.items).filter(s).map(e=>{var t,n,a,i,r;const o=null==(a=null==(n=null==(t=e.configs)?void 0:t[0])?void 0:n.bands)?void 0:a[0],l=(null==(i=null==o?void 0:o.fixed_amount)?void 0:i.quantity)??(null==(r=null==o?void 0:o.amount)?void 0:r.quantity)??"0";return[e.id,parseFloat(l)]})),g=e=>({quantity:e.toFixed(2),currency:"EUR"}),_={id:"paya_NwDeeN0vgXgeP1AyNx14",object_type:"PAYMENT_ACCEPTOR",status:"ACTIVE",reference:"mock-payment-acceptor",name:"Mock payment acceptor",type:"PAYMENT_GATEWAY"},f={id:"intg_zwDeeN0vgXgeM6APNW1g",object_type:"INTEGRATION",reference:"mock-payment-integration",name:"Mock payment integration",description:"Mock payment integration",status:"ACTIVE",type:"PAYMENT_GATEWAY"},y={class:"mb-3 flex flex-col gap-2"},v={class:"flex flex-col gap-1 border-t pt-3"},h={class:"flex items-center justify-between"},b={class:"flex items-center justify-between"},k={class:"flex items-center justify-between border-t pt-3"},x=e.defineComponent({__name:"UpgradeOrderSummary",props:{selectedPricings:{type:Array},invoice:{type:Object},isPending:{type:Boolean}},setup(n){const a=n,{$t:i}=t.useIntl(),r=e.computed(()=>0===a.selectedPricings.length),o=e=>{var t,n,a,i,r,o;return null==(o=null==(r=null==(i=null==(a=null==(n=null==(t=e.items)?void 0:t[0])?void 0:n.configs)?void 0:a[0])?void 0:i.bands)?void 0:r[0])?void 0:o.fixed_amount};return(a,l)=>(e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),null,{default:e.withCtx(()=>{var a;return[e.createVNode(e.unref(t._sfc_main),{variant:"heading-3",tag:"h2",class:"mb-3"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Order summary",id:"upgrade_subscription.order_summary.title",description:"Title for the order summary section on the upgrade subscription page"})),1)]),_:1}),r.value?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,variant:"body-sm",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Select add-ons to see pricing.",id:"upgrade_subscription.order_summary.empty_state",description:"Placeholder shown when no add-ons are selected in the order summary"})),1)]),_:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.selectedPricings,n=>(e.openBlock(),e.createElementBlock("div",{key:n.id,class:"flex items-center justify-between"},[e.createElementVNode("div",null,[e.createVNode(e.unref(t._sfc_main),{variant:"body-sm"},{default:e.withCtx(()=>{var t,a;return[e.createTextVNode(e.toDisplayString(n.name??(null==(a=null==(t=n.products)?void 0:t[0])?void 0:a.name)),1)]}),_:2},1024),e.createVNode(e.unref(t._sfc_main),{variant:"body-xs",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"one-off",id:"upgrade_subscription.order_summary.one_off_label",description:"One-off payment label next to a line item in order summary"})),1)]),_:1})]),o(n)?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t.formatAmount)(o(n))),1)]),_:2},1024)):e.createCommentVNode("",!0)]))),128))]),(null==(a=n.invoice)?void 0:a.tax_summary)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",v,[e.createElementVNode("div",h,[e.createVNode(e.unref(t._sfc_main),{variant:"body-sm",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Total excluding taxes",id:"upgrade_subscription.order_summary.subtotal_label",description:"Subtotal before tax label in order summary"})),1)]),_:1}),e.createVNode(e.unref(t._sfc_main),{variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t.formatAmount)(n.invoice.tax_summary.base_amount)),1)]),_:1})]),e.createElementVNode("div",b,[e.createVNode(e.unref(t._sfc_main),{variant:"body-sm",shade:"lighter"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Taxes",id:"upgrade_subscription.order_summary.taxes_label",description:"Tax amount label in order summary"})),1)]),_:1}),e.createVNode(e.unref(t._sfc_main),{variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t.formatAmount)(n.invoice.tax_summary.tax_amount)),1)]),_:1})])]),e.createElementVNode("div",k,[e.createVNode(e.unref(t._sfc_main),{variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Total due today",id:"upgrade_subscription.order_summary.total_label",description:"Total amount due today label in order summary"})),1)]),_:1}),e.createVNode(e.unref(t._sfc_main),{variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t.formatAmount)(n.invoice.tax_summary.total_amount)),1)]),_:1})])],64)):e.createCommentVNode("",!0)],64))]}),_:1}))}}),N=e.defineComponent({__name:"OnDemandPricingRow",props:{pricing:{type:Object},selected:{type:Boolean}},emits:["toggle"],setup(a,{emit:i}){const r=a,o=i,{$t:l}=t.useIntl(),c=e.computed(()=>{var e,t;return r.pricing.name??(null==(t=null==(e=r.pricing.products)?void 0:e[0])?void 0:t.name)??"—"}),s=e.computed(()=>{var e,t,n,a,i,o;return null==(o=null==(i=null==(a=null==(n=null==(t=null==(e=r.pricing.items)?void 0:e[0])?void 0:t.configs)?void 0:n[0])?void 0:a.bands)?void 0:i[0])?void 0:o.fixed_amount}),d=e.computed(()=>s.value?`${t.formatAmount(s.value)} ${l({defaultMessage:"one-off",id:"on_demand_pricing_row.one_off_label",description:"One-off label shown next to the price in an on-demand pricing row"})}`:"");return(i,r)=>(e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{"content-background":a.selected?"none":"gray",class:e.normalizeClass({"!bg-white":a.selected})},{default:e.withCtx(()=>[e.createVNode(n._sfc_main,{name:c.value,description:d.value},{default:e.withCtx(()=>[a.selected?(e.openBlock(),e.createBlock(e.unref(t._sfc_main$3),{key:0,color:"gray",variant:"outline",size:"sm","icon-prefix":"remove_shopping_cart",onClick:r[0]||(r[0]=e=>o("toggle",a.pricing.id))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Remove",id:"on_demand_pricing_row.remove_button_label",description:"Label for the remove button in an on-demand pricing row"})),1)]),_:1})):(e.openBlock(),e.createBlock(e.unref(t._sfc_main$3),{key:1,color:"primary",size:"sm","icon-prefix":"add",onClick:r[1]||(r[1]=e=>o("toggle",a.pricing.id))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Add to cart",id:"on_demand_pricing_row.add_to_cart_button_label",description:"Label for the add to cart button in an on-demand pricing row"})),1)]),_:1}))]),_:1},8,["name","description"])]),_:1},8,["content-background","class"]))}}),w={class:"grid grid-cols-1 gap-1"},B=e.defineComponent({__name:"OnDemandPricingList",props:{categories:{type:Array},selectedPricingIds:{type:Array}},emits:["toggle"],setup(n,{emit:a}){const i=n,r=a,o=e.computed(()=>[...i.categories].sort((e,t)=>(e.display_order??0)-(t.display_order??0)));return(a,i)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,a=>(e.openBlock(),e.createElementBlock("div",{key:a.id??a.display_order,class:"flex flex-col gap-2"},[e.createVNode(e.unref(t._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((null==(t=a.product_category)?void 0:t.name)??a.name),1)]}),_:2},1024),e.createElementVNode("div",w,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.pricings,t=>(e.openBlock(),e.createBlock(N,{key:t.id,pricing:t,selected:n.selectedPricingIds.includes(t.id),onToggle:i[0]||(i[0]=e=>r("toggle",e))},null,8,["pricing","selected"]))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.pricing_groups,a=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a.id},[e.createVNode(e.unref(t._sfc_main),{variant:"body-sm",weight:"semibold",class:"mt-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.name),1)]),_:2},1024),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.pricings,t=>(e.openBlock(),e.createBlock(N,{key:t.id,pricing:t,selected:n.selectedPricingIds.includes(t.id),onToggle:i[1]||(i[1]=e=>r("toggle",e))},null,8,["pricing","selected"]))),128))],64))),128))])]))),128))}}),V={class:"flex flex-col gap-4"},C={key:0,class:"flex flex-col gap-2"},E={class:"flex flex-col gap-1"},S={key:1,class:"flex flex-col gap-2"},T={class:"flex flex-col gap-1"},A={class:"flex items-center gap-3"},I={key:0,class:"flex h-9 w-9 shrink-0 items-center gap-0.5"},D=["src","alt"],M={key:1,class:"flex h-9 w-9 shrink-0 items-center justify-center overflow-clip rounded"},P=["src","alt"],O={key:2,class:"flex flex-col gap-1"},j=e.defineComponent({__name:"PaymentMethodPicker",props:{customerId:{type:String},subscriptionId:{type:String},selectedId:{type:String}},emits:["select"],setup(n,{emit:i}){const r=n,o=i,{$t:l}=t.useIntl(),{getPaymentMethods:c}=a.createPaymentMethodsService(),s=e.ref([]),d=e.ref([]),u=e.ref(!1),p=e.computed(()=>d.value.flatMap(e=>e.options??[])),m=e=>`https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/small/${e}.svg`,g=["visa","mc","amex","maestro"],y=e=>{if(!e)return[];return[...g.filter(t=>e.includes(t)),...e.filter(e=>!g.includes(e))].slice(0,4)};return e.onMounted(async()=>{u.value=!0;try{const e=await c({customerId:r.customerId,pagination:{page:1,pageSize:50}});s.value=e.data,d.value=[{payment_acceptor:_,integration:f,options:[{name:"iDeal",payment_method_variant:"ONLINE_BANKING",payment_gateway_variant:"ADYEN",adyen:{name:"iDEAL | Wero",type:"ideal"}},{name:"Cards",payment_method_variant:"CARD",payment_gateway_variant:"ADYEN",adyen:{name:"Cards",type:"scheme",brands:["maestro","accel","amex","cup","diners","hipercard","jcb","mc","nyce","pulse","star","visa"]}},{name:"PayPal",payment_method_variant:"DIGITAL_WALLET",payment_gateway_variant:"ADYEN",adyen:{name:"PayPal",type:"paypal",configuration:{intent:"capture"}}},{name:"Trustly",payment_method_variant:"ONLINE_BANKING",payment_gateway_variant:"ADYEN",adyen:{name:"Trustly - Instant Bank Payment",type:"trustly"}}]}]}finally{u.value=!1}}),(a,i)=>(e.openBlock(),e.createElementBlock("div",V,[s.value.length>0?(e.openBlock(),e.createElementBlock("div",C,[e.createVNode(e.unref(t._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"Saved payment methods",id:"upgrade_subscription.payment_picker.saved_title",description:"Heading for the saved payment methods section in the upgrade subscription payment picker"})),1)]),_:1}),e.createElementVNode("div",E,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,a=>(e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{key:a.id,"content-background":n.selectedId===a.id?"none":"gray",class:e.normalizeClass([{"!bg-white":n.selectedId===a.id},"cursor-pointer"]),onClick:e=>o("select",a.id)},{default:e.withCtx(()=>[e.createVNode(e.unref(t._sfc_main$5),{"payment-method":a},null,8,["payment-method"])]),_:2},1032,["content-background","class","onClick"]))),128))])])):e.createCommentVNode("",!0),p.value.length>0?(e.openBlock(),e.createElementBlock("div",S,[e.createVNode(e.unref(t._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)({defaultMessage:"All payment methods",id:"upgrade_subscription.payment_picker.all_title",description:"Heading for the all payment methods section in the upgrade subscription payment picker"})),1)]),_:1}),e.createElementVNode("div",T,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,a=>(e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{key:a.adyen.type,"content-background":n.selectedId===a.adyen.type?"none":"gray",class:e.normalizeClass([{"!bg-white":n.selectedId===a.adyen.type},"cursor-pointer"]),onClick:e=>o("select",a.adyen.type)},{default:e.withCtx(()=>{return[e.createElementVNode("div",A,["scheme"===a.adyen.type?(e.openBlock(),e.createElementBlock("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y(a.adyen.brands),t=>(e.openBlock(),e.createElementBlock("img",{key:t,src:m(t),alt:t,class:"h-5 w-auto rounded"},null,8,D))),128))])):(e.openBlock(),e.createElementBlock("div",M,[e.createElementVNode("img",{src:(n=a.adyen.type,`https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/${n}.svg`),alt:a.name,class:"h-9 w-9 object-contain"},null,8,P)])),e.createVNode(e.unref(t._sfc_main),{variant:"body-sm"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.name),1)]),_:2},1024)])];var n}),_:2},1032,["content-background","class","onClick"]))),128))])])):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createElementBlock("div",O,[...i[0]||(i[0]=[e.createElementVNode("div",{class:"h-[52px] animate-pulse rounded-md bg-gray-100"},null,-1),e.createElementVNode("div",{class:"h-[52px] animate-pulse rounded-md bg-gray-100"},null,-1),e.createElementVNode("div",{class:"h-[52px] animate-pulse rounded-md bg-gray-100"},null,-1)])])):e.createCommentVNode("",!0)]))}}),L={class:"flex gap-1"},$=e.defineComponent({__name:"Kpi",props:{icon:{type:null},kpi:{type:String}},setup:n=>(a,i)=>(e.openBlock(),e.createElementBlock("div",L,[e.createVNode(e.unref(t._sfc_main$11),{icon:n.icon,size:"xs"},null,8,["icon"]),e.createVNode(e.unref(t._sfc_main),{variant:"body-xs"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.kpi),1)]),_:1})]))});const F={key:0,class:"flex h-full items-center justify-center p-8"},q={class:"flex flex-col items-center py-10"},z=e.defineComponent({__name:"UpgradeSubscription",props:{configuration:{type:Object}},setup(n){const a=n,{$t:s}=t.useIntl(),{dispatchAction:d}=r.useActionDispatchProvider(),{chargeOnDemandPricingItems:u}=function(){const e=l.createRequestService(),t=l.useConfig();return{chargeOnDemandPricingItems:function({scheduleId:n,pricingPlanVersionId:a,pricingItemIds:i,startAt:r,finalizeImmediately:o=!0,paymentMethodId:l}){return e({url:`${t.apiUrls.config}/portal/pricing-plan-schedules/${n}/charge-on-demand-pricing-items`,options:{method:"POST"},data:{...a?{pricing_plan_version_id:a}:{},pricing_item_ids:i,...r?{start_at:r}:{},finalize_immediately:o,...l?{payment_method_id:l}:{}}})}}}(),_=o.usePortal(),f=e.computed(()=>_.value.customer_id),y=e.ref([]),v=e.ref(void 0),h=e.ref(!1),b=e.ref(!1),k=e.ref(void 0),N=e.ref(!1),w=e.computed(()=>(e=>{var t;const n=Date.now(),a=c.pricing_plan_schedule_infos,i=a.find(e=>{const t=Date.parse(e.start_at);return Number.isFinite(t)&&t<=n})??a[0],r=((null==(t=null==i?void 0:i.pricing_plan_version)?void 0:t.pricing_categories)??[]).map(p).filter(e=>{var t,n;return((null==(t=e.pricings)?void 0:t.length)??0)>0||((null==(n=e.pricing_groups)?void 0:n.length)??0)>0});return{pricing_plan_subscription_id:e||c.id,pricing_plan_schedule_id:(null==i?void 0:i.id)??"",pricing_plan_version_id:(null==i?void 0:i.pricing_plan_version_id)??"",billing_period:{type:"MONTH",value:1},billing_currency:"EUR",pricing_categories:r}})(a.configuration.subscriptionId)),V=e.computed(()=>w.value.pricing_categories),C=e.computed(()=>V.value.flatMap(e=>[...e.pricings??[],...(e.pricing_groups??[]).flatMap(e=>e.pricings??[])])),E=e.computed(()=>C.value.filter(e=>y.value.includes(e.id)));let S;e.watch(y,e=>{if(clearTimeout(S),0===e.length)return k.value=void 0,void(N.value=!1);N.value=!0,S=setTimeout(()=>{k.value=(e=>{const t=e.reduce((e,t)=>e+(m[t]??0),0),n=Math.round(.21*t*100)/100,a=t+n;return{invoice:{tax_summary:{base_amount:g(t),tax_amount:g(n),total_amount:g(a),country_code:"NL"}},first_invoice:{},invoice_infos:[]}})(e).invoice,N.value=!1},400)});const T=e=>{y.value.includes(e)?y.value=y.value.filter(t=>t!==e):y.value=[...y.value,e]},A=e.computed(()=>y.value.length>0&&!!v.value),I=e.ref(void 0),D=async()=>{if(A.value){h.value=!0,I.value=void 0;try{const e=E.value.map(e=>{var t,n;return null==(n=null==(t=e.items)?void 0:t[0])?void 0:n.id}).filter(e=>!!e),t=v.value&&v.value.startsWith("pmet_")?v.value:void 0,n=await u({scheduleId:w.value.pricing_plan_schedule_id,pricingPlanVersionId:w.value.pricing_plan_version_id,pricingItemIds:e,finalizeImmediately:!0,paymentMethodId:t});t?b.value=!0:d({action:"pay-invoice",data:{invoiceId:n.id}})}catch{I.value=s({defaultMessage:"Something went wrong. Please try again.",id:"upgrade_subscription.purchase_error",description:"Error message shown when the purchase call fails on the upgrade subscription page"})}finally{h.value=!1}}};return(a,r)=>b.value?(e.openBlock(),e.createElementBlock("div",F,[e.createVNode(e.unref(t._sfc_main$1),null,{default:e.withCtx(()=>[e.createElementVNode("div",q,[e.createVNode(e.unref(t._sfc_main$11),{icon:"check_circle",class:"text-green-400",size:"lg"}),e.createVNode(e.unref(t._sfc_main),{variant:"heading-3",tag:"span",class:"mt-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Payment successful",id:"upgrade_subscription.success.title",description:"Title shown after a successful add-on purchase"})),1)]),_:1}),e.createVNode(e.unref(t._sfc_main),{variant:"body-sm",shade:"lighter",tag:"span",class:"mt-1"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Your add-ons have been activated.",id:"upgrade_subscription.success.subtitle",description:"Subtitle shown after a successful add-on purchase"})),1)]),_:1})])]),_:1})])):(e.openBlock(),e.createBlock(e.unref(i.ContentWithAsideLayout),{key:1},{content:e.withCtx(()=>[V.value.length>0?(e.openBlock(),e.createBlock(B,{key:0,categories:V.value,"selected-pricing-ids":y.value,onToggle:T},null,8,["categories","selected-pricing-ids"])):(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:1,variant:"body-sm",shade:"lighter",class:"p-4"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"No on-demand add-ons are available for this subscription.",id:"upgrade_subscription.empty_state",description:"Shown when there are no on-demand add-ons available for the subscription"})),1)]),_:1})),e.createVNode(e.unref(t._sfc_main$25),{spacing:"sm"}),e.createVNode(j,{"customer-id":f.value,"subscription-id":n.configuration.subscriptionId,"selected-id":v.value,onSelect:r[0]||(r[0]=e=>v.value=e)},null,8,["customer-id","subscription-id","selected-id"])]),aside:e.withCtx(()=>[e.createVNode(x,{"selected-pricings":E.value,invoice:k.value,"is-pending":N.value},null,8,["selected-pricings","invoice","is-pending"]),I.value?(e.openBlock(),e.createBlock(e.unref(t._sfc_main$15),{key:0,title:I.value},null,8,["title"])):e.createCommentVNode("",!0),e.createVNode(e.unref(t._sfc_main$3),{size:"lg",class:"full-width",type:"button",disabled:!A.value||h.value,loading:h.value,onClick:D},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Purchase",id:"upgrade_subscription.purchase_button.label",description:"Label for the purchase button on the upgrade subscription page"})),1)]),_:1},8,["disabled","loading"]),e.createVNode(e.unref(t._sfc_main),{tag:"div",variant:"body-sm",shade:"lighter",class:"flex grow justify-center"},{default:e.withCtx(()=>[e.createVNode($,{icon:"lock",kpi:e.unref(s)({defaultMessage:"Secure and encrypted payments",id:"upgrade_subscription.kpi.encrypted_payments.label",description:"The encrypted payments KPI shown on the upgrade subscription page"})},null,8,["kpi"])]),_:1})]),_:1}))}}),R=e.defineComponent({__name:"UpgradeSubscription.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},branding:{type:Object},configuration:{type:Object}},setup:t=>(n,a)=>{var i,r,o,c;return e.openBlock(),e.createBlock(l._sfc_main,{"custom-element-name":e.unref(Y),environment:t.environment,locale:t.locale,"portal-object":t.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(r=null==(i=t.branding)?void 0:i.colors)?void 0:r.primary,"secondary-color":null==(c=null==(o=t.branding)?void 0:o.colors)?void 0:c.secondary,"experimental-features":t.experimentalFeatures,"log-level":t.logLevel,"on-log":t.onLog,onError:a[0]||(a[0]=e=>n.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(z,{configuration:t.configuration},null,8,["configuration"])]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}),U=l.defineCustomElement(R),Y=l.getComponentName("upgrade-subscription");exports.COMPONENT_NAME=Y,exports.SolvimonUpgradeSubscription=U,exports.defineSolvimonUpgradeSubscription=()=>{customElements.get(Y)||customElements.define(Y,U)};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, createTextVNode, toDisplayString, createElementBlock, Fragment, createElementVNode, renderList, createCommentVNode, normalizeClass, ref, onMounted, watch } from "vue";
|
|
2
|
-
import { _ as _sfc_main$
|
|
3
|
-
import { _ as _sfc_main$9
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { _ as _sfc_main$a } from "../../PaymentMethod.vue.es-nXZoQjG3.mjs";
|
|
10
|
-
import { c as createPaymentMethodsService } from "../../paymentMethods-C-ApE-G4.mjs";
|
|
11
|
-
import { u as usePortal, C as ContentWithAsideLayout } from "../../ContentWithAsideLayout-Ct24RV-2.mjs";
|
|
12
|
-
import { u as useActionDispatchProvider } from "../../useActionDispatchProvider-eO2qFPGv.mjs";
|
|
2
|
+
import { u as useIntl, b as _sfc_main$7, _ as _sfc_main$8, v as formatAmount, e as _sfc_main$a, j as _sfc_main$b, t as _sfc_main$c, A as _sfc_main$d, R as _sfc_main$e } from "../../vendor-ui-BwxuPDg8.mjs";
|
|
3
|
+
import { _ as _sfc_main$9 } from "../../PricingGroupContent.vue_vue_type_script_setup_true_lang-CzS32ZUt.mjs";
|
|
4
|
+
import { c as createPaymentMethodsService } from "../../paymentMethods-Di32oJ39.mjs";
|
|
5
|
+
import { C as ContentWithAsideLayout } from "../../ContentWithAsideLayout-BTdixy3L.mjs";
|
|
6
|
+
import { u as useActionDispatchProvider } from "../../useActionDispatchProvider-B4gszz0Q.mjs";
|
|
7
|
+
import { u as usePortal } from "../../usePortal-DJDJNLbo.mjs";
|
|
8
|
+
import { c as createRequestService, u as useConfig, _ as _sfc_main$f, d as defineCustomElement, g as getComponentName } from "../../component-CM9g6tbD.mjs";
|
|
13
9
|
const mockSubscriptionGetResponse = {
|
|
14
10
|
id: "ppsu_hwDeeN0vhvcVCsAIdp1G",
|
|
15
11
|
pricing_plan_schedule_infos: [
|
|
@@ -234,12 +230,12 @@ const getMockPaymentMethodOptionsResponse = () => [
|
|
|
234
230
|
]
|
|
235
231
|
}
|
|
236
232
|
];
|
|
237
|
-
const _hoisted_1$
|
|
233
|
+
const _hoisted_1$4 = { class: "mb-3 flex flex-col gap-2" };
|
|
238
234
|
const _hoisted_2$2 = { class: "flex flex-col gap-1 border-t pt-3" };
|
|
239
235
|
const _hoisted_3$1 = { class: "flex items-center justify-between" };
|
|
240
236
|
const _hoisted_4$1 = { class: "flex items-center justify-between" };
|
|
241
237
|
const _hoisted_5$1 = { class: "flex items-center justify-between border-t pt-3" };
|
|
242
|
-
const _sfc_main$
|
|
238
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
243
239
|
__name: "UpgradeOrderSummary",
|
|
244
240
|
props: {
|
|
245
241
|
selectedPricings: { type: Array },
|
|
@@ -255,11 +251,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
255
251
|
return (_f = (_e = (_d = (_c = (_b = (_a = pricing.items) == null ? void 0 : _a[0]) == null ? void 0 : _b.configs) == null ? void 0 : _c[0]) == null ? void 0 : _d.bands) == null ? void 0 : _e[0]) == null ? void 0 : _f.fixed_amount;
|
|
256
252
|
};
|
|
257
253
|
return (_ctx, _cache) => {
|
|
258
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
254
|
+
return openBlock(), createBlock(unref(_sfc_main$7), null, {
|
|
259
255
|
default: withCtx(() => {
|
|
260
256
|
var _a;
|
|
261
257
|
return [
|
|
262
|
-
createVNode(unref(_sfc_main$
|
|
258
|
+
createVNode(unref(_sfc_main$8), {
|
|
263
259
|
variant: "heading-3",
|
|
264
260
|
tag: "h2",
|
|
265
261
|
class: "mb-3"
|
|
@@ -273,7 +269,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
273
269
|
]),
|
|
274
270
|
_: 1
|
|
275
271
|
}),
|
|
276
|
-
isEmpty.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
272
|
+
isEmpty.value ? (openBlock(), createBlock(unref(_sfc_main$8), {
|
|
277
273
|
key: 0,
|
|
278
274
|
variant: "body-sm",
|
|
279
275
|
shade: "lighter"
|
|
@@ -287,14 +283,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
287
283
|
]),
|
|
288
284
|
_: 1
|
|
289
285
|
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
290
|
-
createElementVNode("div", _hoisted_1$
|
|
286
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
291
287
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.selectedPricings, (pricing) => {
|
|
292
288
|
return openBlock(), createElementBlock("div", {
|
|
293
289
|
key: pricing.id,
|
|
294
290
|
class: "flex items-center justify-between"
|
|
295
291
|
}, [
|
|
296
292
|
createElementVNode("div", null, [
|
|
297
|
-
createVNode(unref(_sfc_main$
|
|
293
|
+
createVNode(unref(_sfc_main$8), { variant: "body-sm" }, {
|
|
298
294
|
default: withCtx(() => {
|
|
299
295
|
var _a2, _b;
|
|
300
296
|
return [
|
|
@@ -303,7 +299,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
303
299
|
}),
|
|
304
300
|
_: 2
|
|
305
301
|
}, 1024),
|
|
306
|
-
createVNode(unref(_sfc_main$
|
|
302
|
+
createVNode(unref(_sfc_main$8), {
|
|
307
303
|
variant: "body-xs",
|
|
308
304
|
shade: "lighter"
|
|
309
305
|
}, {
|
|
@@ -317,7 +313,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
317
313
|
_: 1
|
|
318
314
|
})
|
|
319
315
|
]),
|
|
320
|
-
getPrice(pricing) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
316
|
+
getPrice(pricing) ? (openBlock(), createBlock(unref(_sfc_main$8), {
|
|
321
317
|
key: 0,
|
|
322
318
|
variant: "body-sm"
|
|
323
319
|
}, {
|
|
@@ -332,7 +328,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
332
328
|
((_a = __props.invoice) == null ? void 0 : _a.tax_summary) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
333
329
|
createElementVNode("div", _hoisted_2$2, [
|
|
334
330
|
createElementVNode("div", _hoisted_3$1, [
|
|
335
|
-
createVNode(unref(_sfc_main$
|
|
331
|
+
createVNode(unref(_sfc_main$8), {
|
|
336
332
|
variant: "body-sm",
|
|
337
333
|
shade: "lighter"
|
|
338
334
|
}, {
|
|
@@ -345,7 +341,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
345
341
|
]),
|
|
346
342
|
_: 1
|
|
347
343
|
}),
|
|
348
|
-
createVNode(unref(_sfc_main$
|
|
344
|
+
createVNode(unref(_sfc_main$8), { variant: "body-sm" }, {
|
|
349
345
|
default: withCtx(() => [
|
|
350
346
|
createTextVNode(toDisplayString(unref(formatAmount)(__props.invoice.tax_summary.base_amount)), 1)
|
|
351
347
|
]),
|
|
@@ -353,7 +349,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
353
349
|
})
|
|
354
350
|
]),
|
|
355
351
|
createElementVNode("div", _hoisted_4$1, [
|
|
356
|
-
createVNode(unref(_sfc_main$
|
|
352
|
+
createVNode(unref(_sfc_main$8), {
|
|
357
353
|
variant: "body-sm",
|
|
358
354
|
shade: "lighter"
|
|
359
355
|
}, {
|
|
@@ -366,7 +362,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
366
362
|
]),
|
|
367
363
|
_: 1
|
|
368
364
|
}),
|
|
369
|
-
createVNode(unref(_sfc_main$
|
|
365
|
+
createVNode(unref(_sfc_main$8), { variant: "body-sm" }, {
|
|
370
366
|
default: withCtx(() => [
|
|
371
367
|
createTextVNode(toDisplayString(unref(formatAmount)(__props.invoice.tax_summary.tax_amount)), 1)
|
|
372
368
|
]),
|
|
@@ -375,7 +371,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
375
371
|
])
|
|
376
372
|
]),
|
|
377
373
|
createElementVNode("div", _hoisted_5$1, [
|
|
378
|
-
createVNode(unref(_sfc_main$
|
|
374
|
+
createVNode(unref(_sfc_main$8), {
|
|
379
375
|
variant: "body-sm",
|
|
380
376
|
weight: "semibold"
|
|
381
377
|
}, {
|
|
@@ -388,7 +384,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
388
384
|
]),
|
|
389
385
|
_: 1
|
|
390
386
|
}),
|
|
391
|
-
createVNode(unref(_sfc_main$
|
|
387
|
+
createVNode(unref(_sfc_main$8), {
|
|
392
388
|
variant: "body-sm",
|
|
393
389
|
weight: "semibold"
|
|
394
390
|
}, {
|
|
@@ -407,7 +403,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
407
403
|
};
|
|
408
404
|
}
|
|
409
405
|
});
|
|
410
|
-
const _sfc_main$
|
|
406
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
411
407
|
__name: "OnDemandPricingRow",
|
|
412
408
|
props: {
|
|
413
409
|
pricing: { type: Object },
|
|
@@ -434,17 +430,17 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
434
430
|
})}` : ""
|
|
435
431
|
);
|
|
436
432
|
return (_ctx, _cache) => {
|
|
437
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
433
|
+
return openBlock(), createBlock(unref(_sfc_main$7), {
|
|
438
434
|
"content-background": __props.selected ? "none" : "gray",
|
|
439
435
|
class: normalizeClass({ "!bg-white": __props.selected })
|
|
440
436
|
}, {
|
|
441
437
|
default: withCtx(() => [
|
|
442
|
-
createVNode(_sfc_main$
|
|
438
|
+
createVNode(_sfc_main$9, {
|
|
443
439
|
name: title.value,
|
|
444
440
|
description: description.value
|
|
445
441
|
}, {
|
|
446
442
|
default: withCtx(() => [
|
|
447
|
-
__props.selected ? (openBlock(), createBlock(unref(_sfc_main$
|
|
443
|
+
__props.selected ? (openBlock(), createBlock(unref(_sfc_main$a), {
|
|
448
444
|
key: 0,
|
|
449
445
|
color: "gray",
|
|
450
446
|
variant: "outline",
|
|
@@ -460,7 +456,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
460
456
|
})), 1)
|
|
461
457
|
]),
|
|
462
458
|
_: 1
|
|
463
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$
|
|
459
|
+
})) : (openBlock(), createBlock(unref(_sfc_main$a), {
|
|
464
460
|
key: 1,
|
|
465
461
|
color: "primary",
|
|
466
462
|
size: "sm",
|
|
@@ -485,8 +481,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
485
481
|
};
|
|
486
482
|
}
|
|
487
483
|
});
|
|
488
|
-
const _hoisted_1$
|
|
489
|
-
const _sfc_main$
|
|
484
|
+
const _hoisted_1$3 = { class: "grid grid-cols-1 gap-1" };
|
|
485
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
490
486
|
__name: "OnDemandPricingList",
|
|
491
487
|
props: {
|
|
492
488
|
categories: { type: Array },
|
|
@@ -505,7 +501,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
505
501
|
key: category.id ?? category.display_order,
|
|
506
502
|
class: "flex flex-col gap-2"
|
|
507
503
|
}, [
|
|
508
|
-
createVNode(unref(_sfc_main$
|
|
504
|
+
createVNode(unref(_sfc_main$8), {
|
|
509
505
|
variant: "heading-3",
|
|
510
506
|
tag: "h2"
|
|
511
507
|
}, {
|
|
@@ -517,9 +513,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
517
513
|
}),
|
|
518
514
|
_: 2
|
|
519
515
|
}, 1024),
|
|
520
|
-
createElementVNode("div", _hoisted_1$
|
|
516
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
521
517
|
(openBlock(true), createElementBlock(Fragment, null, renderList(category.pricings, (pricing) => {
|
|
522
|
-
return openBlock(), createBlock(_sfc_main$
|
|
518
|
+
return openBlock(), createBlock(_sfc_main$5, {
|
|
523
519
|
key: pricing.id,
|
|
524
520
|
pricing,
|
|
525
521
|
selected: __props.selectedPricingIds.includes(pricing.id),
|
|
@@ -530,7 +526,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
530
526
|
return openBlock(), createElementBlock(Fragment, {
|
|
531
527
|
key: group.id
|
|
532
528
|
}, [
|
|
533
|
-
createVNode(unref(_sfc_main$
|
|
529
|
+
createVNode(unref(_sfc_main$8), {
|
|
534
530
|
variant: "body-sm",
|
|
535
531
|
weight: "semibold",
|
|
536
532
|
class: "mt-2"
|
|
@@ -541,7 +537,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
541
537
|
_: 2
|
|
542
538
|
}, 1024),
|
|
543
539
|
(openBlock(true), createElementBlock(Fragment, null, renderList(group.pricings, (pricing) => {
|
|
544
|
-
return openBlock(), createBlock(_sfc_main$
|
|
540
|
+
return openBlock(), createBlock(_sfc_main$5, {
|
|
545
541
|
key: pricing.id,
|
|
546
542
|
pricing,
|
|
547
543
|
selected: __props.selectedPricingIds.includes(pricing.id),
|
|
@@ -556,7 +552,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
556
552
|
};
|
|
557
553
|
}
|
|
558
554
|
});
|
|
559
|
-
const _hoisted_1$
|
|
555
|
+
const _hoisted_1$2 = { class: "flex flex-col gap-4" };
|
|
560
556
|
const _hoisted_2$1 = {
|
|
561
557
|
key: 0,
|
|
562
558
|
class: "flex flex-col gap-2"
|
|
@@ -582,7 +578,7 @@ const _hoisted_11 = {
|
|
|
582
578
|
key: 2,
|
|
583
579
|
class: "flex flex-col gap-1"
|
|
584
580
|
};
|
|
585
|
-
const _sfc_main$
|
|
581
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
586
582
|
__name: "PaymentMethodPicker",
|
|
587
583
|
props: {
|
|
588
584
|
customerId: { type: String },
|
|
@@ -624,9 +620,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
624
620
|
}
|
|
625
621
|
});
|
|
626
622
|
return (_ctx, _cache) => {
|
|
627
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
623
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
628
624
|
savedMethods.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
629
|
-
createVNode(unref(_sfc_main$
|
|
625
|
+
createVNode(unref(_sfc_main$8), {
|
|
630
626
|
variant: "heading-3",
|
|
631
627
|
tag: "h2"
|
|
632
628
|
}, {
|
|
@@ -641,14 +637,14 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
641
637
|
}),
|
|
642
638
|
createElementVNode("div", _hoisted_3, [
|
|
643
639
|
(openBlock(true), createElementBlock(Fragment, null, renderList(savedMethods.value, (method) => {
|
|
644
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
640
|
+
return openBlock(), createBlock(unref(_sfc_main$7), {
|
|
645
641
|
key: method.id,
|
|
646
642
|
"content-background": __props.selectedId === method.id ? "none" : "gray",
|
|
647
643
|
class: normalizeClass([{ "!bg-white": __props.selectedId === method.id }, "cursor-pointer"]),
|
|
648
644
|
onClick: ($event) => emit("select", method.id)
|
|
649
645
|
}, {
|
|
650
646
|
default: withCtx(() => [
|
|
651
|
-
createVNode(unref(_sfc_main$
|
|
647
|
+
createVNode(unref(_sfc_main$b), { "payment-method": method }, null, 8, ["payment-method"])
|
|
652
648
|
]),
|
|
653
649
|
_: 2
|
|
654
650
|
}, 1032, ["content-background", "class", "onClick"]);
|
|
@@ -656,7 +652,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
656
652
|
])
|
|
657
653
|
])) : createCommentVNode("", true),
|
|
658
654
|
newOptions.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
659
|
-
createVNode(unref(_sfc_main$
|
|
655
|
+
createVNode(unref(_sfc_main$8), {
|
|
660
656
|
variant: "heading-3",
|
|
661
657
|
tag: "h2"
|
|
662
658
|
}, {
|
|
@@ -671,7 +667,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
671
667
|
}),
|
|
672
668
|
createElementVNode("div", _hoisted_5, [
|
|
673
669
|
(openBlock(true), createElementBlock(Fragment, null, renderList(newOptions.value, (option) => {
|
|
674
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
670
|
+
return openBlock(), createBlock(unref(_sfc_main$7), {
|
|
675
671
|
key: option.adyen.type,
|
|
676
672
|
"content-background": __props.selectedId === option.adyen.type ? "none" : "gray",
|
|
677
673
|
class: normalizeClass([{ "!bg-white": __props.selectedId === option.adyen.type }, "cursor-pointer"]),
|
|
@@ -695,7 +691,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
695
691
|
class: "h-9 w-9 object-contain"
|
|
696
692
|
}, null, 8, _hoisted_10)
|
|
697
693
|
])),
|
|
698
|
-
createVNode(unref(_sfc_main$
|
|
694
|
+
createVNode(unref(_sfc_main$8), { variant: "body-sm" }, {
|
|
699
695
|
default: withCtx(() => [
|
|
700
696
|
createTextVNode(toDisplayString(option.name), 1)
|
|
701
697
|
]),
|
|
@@ -717,6 +713,30 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
717
713
|
};
|
|
718
714
|
}
|
|
719
715
|
});
|
|
716
|
+
const _hoisted_1$1 = { class: "flex gap-1" };
|
|
717
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
718
|
+
__name: "Kpi",
|
|
719
|
+
props: {
|
|
720
|
+
icon: { type: null },
|
|
721
|
+
kpi: { type: String }
|
|
722
|
+
},
|
|
723
|
+
setup(__props) {
|
|
724
|
+
return (_ctx, _cache) => {
|
|
725
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
726
|
+
createVNode(unref(_sfc_main$c), {
|
|
727
|
+
icon: __props.icon,
|
|
728
|
+
size: "xs"
|
|
729
|
+
}, null, 8, ["icon"]),
|
|
730
|
+
createVNode(unref(_sfc_main$8), { variant: "body-xs" }, {
|
|
731
|
+
default: withCtx(() => [
|
|
732
|
+
createTextVNode(toDisplayString(__props.kpi), 1)
|
|
733
|
+
]),
|
|
734
|
+
_: 1
|
|
735
|
+
})
|
|
736
|
+
]);
|
|
737
|
+
};
|
|
738
|
+
}
|
|
739
|
+
});
|
|
720
740
|
function createPricingPlanSchedulesService() {
|
|
721
741
|
const request = createRequestService();
|
|
722
742
|
const config = useConfig();
|
|
@@ -838,15 +858,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
838
858
|
};
|
|
839
859
|
return (_ctx, _cache) => {
|
|
840
860
|
return isPurchased.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
841
|
-
createVNode(unref(_sfc_main$
|
|
861
|
+
createVNode(unref(_sfc_main$7), null, {
|
|
842
862
|
default: withCtx(() => [
|
|
843
863
|
createElementVNode("div", _hoisted_2, [
|
|
844
|
-
createVNode(unref(_sfc_main$
|
|
864
|
+
createVNode(unref(_sfc_main$c), {
|
|
845
865
|
icon: "check_circle",
|
|
846
866
|
class: "text-green-400",
|
|
847
867
|
size: "lg"
|
|
848
868
|
}),
|
|
849
|
-
createVNode(unref(_sfc_main$
|
|
869
|
+
createVNode(unref(_sfc_main$8), {
|
|
850
870
|
variant: "heading-3",
|
|
851
871
|
tag: "span",
|
|
852
872
|
class: "mt-2"
|
|
@@ -860,7 +880,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
860
880
|
]),
|
|
861
881
|
_: 1
|
|
862
882
|
}),
|
|
863
|
-
createVNode(unref(_sfc_main$
|
|
883
|
+
createVNode(unref(_sfc_main$8), {
|
|
864
884
|
variant: "body-sm",
|
|
865
885
|
shade: "lighter",
|
|
866
886
|
tag: "span",
|
|
@@ -881,12 +901,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
881
901
|
})
|
|
882
902
|
])) : (openBlock(), createBlock(unref(ContentWithAsideLayout), { key: 1 }, {
|
|
883
903
|
content: withCtx(() => [
|
|
884
|
-
categories.value.length > 0 ? (openBlock(), createBlock(_sfc_main$
|
|
904
|
+
categories.value.length > 0 ? (openBlock(), createBlock(_sfc_main$4, {
|
|
885
905
|
key: 0,
|
|
886
906
|
categories: categories.value,
|
|
887
907
|
"selected-pricing-ids": selectedPricingIds.value,
|
|
888
908
|
onToggle: handleToggle
|
|
889
|
-
}, null, 8, ["categories", "selected-pricing-ids"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
909
|
+
}, null, 8, ["categories", "selected-pricing-ids"])) : (openBlock(), createBlock(unref(_sfc_main$8), {
|
|
890
910
|
key: 1,
|
|
891
911
|
variant: "body-sm",
|
|
892
912
|
shade: "lighter",
|
|
@@ -902,7 +922,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
902
922
|
_: 1
|
|
903
923
|
})),
|
|
904
924
|
createVNode(unref(_sfc_main$e), { spacing: "sm" }),
|
|
905
|
-
createVNode(_sfc_main$
|
|
925
|
+
createVNode(_sfc_main$3, {
|
|
906
926
|
"customer-id": customerId.value,
|
|
907
927
|
"subscription-id": __props.configuration.subscriptionId,
|
|
908
928
|
"selected-id": selectedPaymentMethodId.value,
|
|
@@ -910,16 +930,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
910
930
|
}, null, 8, ["customer-id", "subscription-id", "selected-id"])
|
|
911
931
|
]),
|
|
912
932
|
aside: withCtx(() => [
|
|
913
|
-
createVNode(_sfc_main$
|
|
933
|
+
createVNode(_sfc_main$6, {
|
|
914
934
|
"selected-pricings": selectedPricings.value,
|
|
915
935
|
invoice: previewInvoice.value,
|
|
916
936
|
"is-pending": isPreviewPending.value
|
|
917
937
|
}, null, 8, ["selected-pricings", "invoice", "is-pending"]),
|
|
918
|
-
purchaseError.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
938
|
+
purchaseError.value ? (openBlock(), createBlock(unref(_sfc_main$d), {
|
|
919
939
|
key: 0,
|
|
920
940
|
title: purchaseError.value
|
|
921
941
|
}, null, 8, ["title"])) : createCommentVNode("", true),
|
|
922
|
-
createVNode(unref(_sfc_main$
|
|
942
|
+
createVNode(unref(_sfc_main$a), {
|
|
923
943
|
size: "lg",
|
|
924
944
|
class: "full-width",
|
|
925
945
|
type: "button",
|
|
@@ -936,14 +956,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
936
956
|
]),
|
|
937
957
|
_: 1
|
|
938
958
|
}, 8, ["disabled", "loading"]),
|
|
939
|
-
createVNode(unref(_sfc_main$
|
|
959
|
+
createVNode(unref(_sfc_main$8), {
|
|
940
960
|
tag: "div",
|
|
941
961
|
variant: "body-sm",
|
|
942
962
|
shade: "lighter",
|
|
943
963
|
class: "flex grow justify-center"
|
|
944
964
|
}, {
|
|
945
965
|
default: withCtx(() => [
|
|
946
|
-
createVNode(_sfc_main$
|
|
966
|
+
createVNode(_sfc_main$2, {
|
|
947
967
|
icon: "lock",
|
|
948
968
|
kpi: unref($t)({
|
|
949
969
|
defaultMessage: "Secure and encrypted payments",
|
|
@@ -967,7 +987,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
967
987
|
locale: { type: String },
|
|
968
988
|
dateLocale: { type: String },
|
|
969
989
|
messages: { type: Object },
|
|
970
|
-
showTimezones: { type: Boolean },
|
|
971
990
|
primaryColor: { type: String },
|
|
972
991
|
secondaryColor: { type: String },
|
|
973
992
|
isShadowRoot: { type: Boolean },
|
|
@@ -976,7 +995,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
976
995
|
onLog: { type: Function },
|
|
977
996
|
allowedPortalTypes: { type: Array },
|
|
978
997
|
portalObject: { type: Object },
|
|
979
|
-
customElementName: { type: String },
|
|
980
998
|
branding: { type: Object },
|
|
981
999
|
configuration: { type: Object }
|
|
982
1000
|
},
|
package/dist/solvimon-web.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ".expand-enter-active,.expand-leave-active{transition: height 300ms ease-in-out;overflow: hidden;}.expand-enter,.expand-leave-to{height: 0;}";export default "thead th:first-of-type,tr td:first-of-type{position: sticky;left: 0;background: inherit;z-index: 2;}thead th:last-of-type,tr td:last-of-type{position: sticky;right: 0;background: inherit;z-index: 2;}";export default "input[type='range']{-webkit-appearance: none;-moz-appearance: none;appearance: none;width: 100%;background: transparent;margin: 0.5rem 0;}input[type='range']::-webkit-slider-thumb{-webkit-appearance: none;appearance: none;width: 1rem;height: 1rem;border: 2px solid rgb(229 231 235);border-radius: 50%;background: #ffffff;box-shadow: 0 1px 3px 0 rgba(0,0,0,0.3);cursor: pointer;-webkit-transition: all 0.1s ease-in-out;transition: all 0.1s ease-in-out;}input[type='range']:disabled::-webkit-slider-thumb{cursor: not-allowed;}input[type='range']::-moz-range-thumb{-moz-appearance: none;appearance: none;width: 1rem;height: 1rem;border: 2px solid rgb(229 231 235);border-radius: 50%;background: #ffffff;box-shadow: 0 1px 3px 0 rgba(0,0,0,0.3);cursor: pointer;-moz-transition: all 0.1s ease-in-out;transition: all 0.1s ease-in-out;}input[type='range']:disabled::-moz-range-thumb{cursor: not-allowed;}input[type='range']:not(:disabled):hover::-webkit-slider-thumb{box-shadow: 0 0 0 6px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']:not(:disabled):hover::-moz-range-thumb{box-shadow: 0 0 0 6px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']:not(:disabled):active::-webkit-slider-thumb{box-shadow: 0 0 0 8px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']:not(:disabled):active::-moz-range-thumb{box-shadow: 0 0 0 8px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']::-webkit-slider-runnable-track{width: 100%;height: 0.5rem;cursor: pointer;background: linear-gradient(to right,var(--color-primary-600)var(--range-percentage,0%),n#e0e5eb var(--range-percentage, 0%)n);border-radius: 0.25rem;}input[type='range']:disabled::-webkit-slider-runnable-track{background: #e0e5eb;cursor: not-allowed;}input[type='range']::-moz-range-track{width: 100%;height: 0.5rem;cursor: pointer;background: linear-gradient(to right,var(--color-primary-600)var(--range-percentage,0%),n#e0e5eb var(--range-percentage, 0%)n);border-radius: 0.25rem;}input[type='range']:disabled::-moz-range-track{background: #e0e5eb;cursor: not-allowed;}input[type='range'].range-sm::-webkit-slider-thumb{width: 0.8rem;height: 0.8rem;margin-top:-0.2rem;}input[type='range'].range-sm::-moz-range-thumb{width: 0.8rem;height: 0.8rem;}input[type='range'].range-sm::-webkit-slider-runnable-track{height: 0.4rem;border-radius: 0.2rem;}input[type='range'].range-sm::-moz-range-track{height: 0.4rem;border-radius: 0.2rem;}input[type='range'].range-md::-webkit-slider-thumb{width: 1rem;height: 1rem;margin-top:-0.25rem;}input[type='range'].range-md::-moz-range-thumb{width: 1rem;height: 1rem;}input[type='range'].range-md::-webkit-slider-runnable-track{height: 0.5rem;border-radius: 0.25rem;}input[type='range'].range-md::-moz-range-track{height: 0.5rem;border-radius: 0.25rem;}input[type='range'].range-lg::-webkit-slider-thumb{width: 1.4rem;height: 1.4rem;margin-top:-0.35rem;}input[type='range'].range-lg::-moz-range-thumb{width: 1.4rem;height: 1.4rem;}input[type='range'].range-lg::-webkit-slider-runnable-track{height: 0.7rem;border-radius: 0.35rem;}input[type='range'].range-lg::-moz-range-track{height: 0.7rem;border-radius: 0.35rem;}input[type='range'].range-xl::-webkit-slider-thumb{width: 1.8rem;height: 1.8rem;margin-top:-0.5rem;}input[type='range'].range-xl::-moz-range-thumb{width: 1.8rem;height: 1.8rem;}input[type='range'].range-xl::-webkit-slider-runnable-track{height: 0.9rem;border-radius: 0.45rem;}input[type='range'].range-xl::-moz-range-track{height: 0.9rem;border-radius: 0.45rem;}";export default ".to-right-enter-active[data-v-ce4df87e],.to-right-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateX(-10px);}.to-right-leave[data-v-ce4df87e],.to-right-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateX(0);}.to-right-enter-active[data-v-ce4df87e],.to-right-leave-active[data-v-ce4df87e]{transition: all 250ms;}.to-left-enter-active[data-v-ce4df87e],.to-left-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateX(10px);}.to-left-leave[data-v-ce4df87e],.to-left-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateX(0);}.to-left-enter-active[data-v-ce4df87e],.to-left-leave-active[data-v-ce4df87e]{transition: all 250ms;}.to-top-enter-active[data-v-ce4df87e],.to-top-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateY(10px);}.to-top-leave[data-v-ce4df87e],.to-top-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateY(0);}.to-top-enter-active[data-v-ce4df87e],.to-top-leave-active[data-v-ce4df87e]{transition: all 250ms;}.to-bottom-enter-active[data-v-ce4df87e],.to-bottom-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateY(-10px);}.to-bottom-leave[data-v-ce4df87e],.to-bottom-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateY(0);}.to-bottom-enter-active[data-v-ce4df87e],.to-bottom-leave-active[data-v-ce4df87e]{transition: all 250ms;}";export default ".conditions-root:focus-within>.conditions-with-context-menu[data-v-6310fe1d],.conditions-root:hover>.conditions-with-context-menu[data-v-6310fe1d]{padding-right: 3rem;}.conditions-root:focus-within>.conditions-with-context-menu+.context-menu-wrapper[data-v-6310fe1d],.conditions-root:hover>.conditions-with-context-menu+.context-menu-wrapper[data-v-6310fe1d]{opacity: 1;}";export default ".nested-conditions-border::before{background-image: url(\"data:image/svg+xml,%3Csvg width='4' height='5' fill='none' xmlns='http:}";{}
|
|
1
|
+
export default ".to-right-enter-active[data-v-ce4df87e],.to-right-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateX(-10px);}.to-right-leave[data-v-ce4df87e],.to-right-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateX(0);}.to-right-enter-active[data-v-ce4df87e],.to-right-leave-active[data-v-ce4df87e]{transition: all 250ms;}.to-left-enter-active[data-v-ce4df87e],.to-left-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateX(10px);}.to-left-leave[data-v-ce4df87e],.to-left-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateX(0);}.to-left-enter-active[data-v-ce4df87e],.to-left-leave-active[data-v-ce4df87e]{transition: all 250ms;}.to-top-enter-active[data-v-ce4df87e],.to-top-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateY(10px);}.to-top-leave[data-v-ce4df87e],.to-top-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateY(0);}.to-top-enter-active[data-v-ce4df87e],.to-top-leave-active[data-v-ce4df87e]{transition: all 250ms;}.to-bottom-enter-active[data-v-ce4df87e],.to-bottom-leave-to[data-v-ce4df87e]{opacity: 0;transform: translateY(-10px);}.to-bottom-leave[data-v-ce4df87e],.to-bottom-enter-to[data-v-ce4df87e]{opacity: 1;transform: translateY(0);}.to-bottom-enter-active[data-v-ce4df87e],.to-bottom-leave-active[data-v-ce4df87e]{transition: all 250ms;}";export default ".expand-enter-active,.expand-leave-active{transition: height 300ms ease-in-out;overflow: hidden;}.expand-enter,.expand-leave-to{height: 0;}";export default "thead th:first-of-type,tr td:first-of-type{position: sticky;left: 0;background: inherit;z-index: 2;}thead th:last-of-type,tr td:last-of-type{position: sticky;right: 0;background: inherit;z-index: 2;}";export default "input[type='range']{-webkit-appearance: none;-moz-appearance: none;appearance: none;width: 100%;background: transparent;margin: 0.5rem 0;}input[type='range']::-webkit-slider-thumb{-webkit-appearance: none;appearance: none;width: 1rem;height: 1rem;border: 2px solid rgb(229 231 235);border-radius: 50%;background: #ffffff;box-shadow: 0 1px 3px 0 rgba(0,0,0,0.3);cursor: pointer;-webkit-transition: all 0.1s ease-in-out;transition: all 0.1s ease-in-out;}input[type='range']:disabled::-webkit-slider-thumb{cursor: not-allowed;}input[type='range']::-moz-range-thumb{-moz-appearance: none;appearance: none;width: 1rem;height: 1rem;border: 2px solid rgb(229 231 235);border-radius: 50%;background: #ffffff;box-shadow: 0 1px 3px 0 rgba(0,0,0,0.3);cursor: pointer;-moz-transition: all 0.1s ease-in-out;transition: all 0.1s ease-in-out;}input[type='range']:disabled::-moz-range-thumb{cursor: not-allowed;}input[type='range']:not(:disabled):hover::-webkit-slider-thumb{box-shadow: 0 0 0 6px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']:not(:disabled):hover::-moz-range-thumb{box-shadow: 0 0 0 6px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']:not(:disabled):active::-webkit-slider-thumb{box-shadow: 0 0 0 8px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']:not(:disabled):active::-moz-range-thumb{box-shadow: 0 0 0 8px color-mix(in srgb,var(--color-primary-200)50%,transparent);}input[type='range']::-webkit-slider-runnable-track{width: 100%;height: 0.5rem;cursor: pointer;background: linear-gradient(to right,var(--color-primary-600)var(--range-percentage,0%),n#e0e5eb var(--range-percentage, 0%)n);border-radius: 0.25rem;}input[type='range']:disabled::-webkit-slider-runnable-track{background: #e0e5eb;cursor: not-allowed;}input[type='range']::-moz-range-track{width: 100%;height: 0.5rem;cursor: pointer;background: linear-gradient(to right,var(--color-primary-600)var(--range-percentage,0%),n#e0e5eb var(--range-percentage, 0%)n);border-radius: 0.25rem;}input[type='range']:disabled::-moz-range-track{background: #e0e5eb;cursor: not-allowed;}input[type='range'].range-sm::-webkit-slider-thumb{width: 0.8rem;height: 0.8rem;margin-top:-0.2rem;}input[type='range'].range-sm::-moz-range-thumb{width: 0.8rem;height: 0.8rem;}input[type='range'].range-sm::-webkit-slider-runnable-track{height: 0.4rem;border-radius: 0.2rem;}input[type='range'].range-sm::-moz-range-track{height: 0.4rem;border-radius: 0.2rem;}input[type='range'].range-md::-webkit-slider-thumb{width: 1rem;height: 1rem;margin-top:-0.25rem;}input[type='range'].range-md::-moz-range-thumb{width: 1rem;height: 1rem;}input[type='range'].range-md::-webkit-slider-runnable-track{height: 0.5rem;border-radius: 0.25rem;}input[type='range'].range-md::-moz-range-track{height: 0.5rem;border-radius: 0.25rem;}input[type='range'].range-lg::-webkit-slider-thumb{width: 1.4rem;height: 1.4rem;margin-top:-0.35rem;}input[type='range'].range-lg::-moz-range-thumb{width: 1.4rem;height: 1.4rem;}input[type='range'].range-lg::-webkit-slider-runnable-track{height: 0.7rem;border-radius: 0.35rem;}input[type='range'].range-lg::-moz-range-track{height: 0.7rem;border-radius: 0.35rem;}input[type='range'].range-xl::-webkit-slider-thumb{width: 1.8rem;height: 1.8rem;margin-top:-0.5rem;}input[type='range'].range-xl::-moz-range-thumb{width: 1.8rem;height: 1.8rem;}input[type='range'].range-xl::-webkit-slider-runnable-track{height: 0.9rem;border-radius: 0.45rem;}input[type='range'].range-xl::-moz-range-track{height: 0.9rem;border-radius: 0.45rem;}";export default ".conditions-root:focus-within>.conditions-with-context-menu[data-v-6310fe1d],.conditions-root:hover>.conditions-with-context-menu[data-v-6310fe1d]{padding-right: 3rem;}.conditions-root:focus-within>.conditions-with-context-menu+.context-menu-wrapper[data-v-6310fe1d],.conditions-root:hover>.conditions-with-context-menu+.context-menu-wrapper[data-v-6310fe1d]{opacity: 1;}";export default ".nested-conditions-border::before{background-image: url(\"data:image/svg+xml,%3Csvg width='4' height='5' fill='none' xmlns='http:}";export default '[data-v-1e3637a9].tiptap h1,.editor-content-typography[data-v-1e3637a9]h1{margin-top: 0px;font-size: 2.1428571em;font-weight: 700;line-height: 1.2;}[data-v-1e3637a9].tiptap h2,.editor-content-typography[data-v-1e3637a9]h2{margin-top: 0px;font-size: 1.5em;font-weight: 700;line-height: 1.3333333;}[data-v-1e3637a9].tiptap h3,.editor-content-typography[data-v-1e3637a9]h3{margin-top: 0px;font-size: 1.2857143em;font-weight: 600;line-height: 1.4444444;}[data-v-1e3637a9].tiptap h4,.editor-content-typography[data-v-1e3637a9]h4{margin-top: 0px;font-size: 1.1em;font-weight: 600;line-height: 1.4444444;}[data-v-1e3637a9].tiptap p,.editor-content-typography[data-v-1e3637a9]p{margin-top: 0px;line-height: 1.45;--tw-text-opacity: 1;color: rgb(71 85 105/var(--tw-text-opacity,1));}[data-v-1e3637a9].tiptap ul,[data-v-1e3637a9].tiptap ol,.editor-content-typography[data-v-1e3637a9]ul,.editor-content-typography[data-v-1e3637a9]ol{margin-top: 0px;padding-left: 1.625em;}[data-v-1e3637a9].tiptap ul,.editor-content-typography[data-v-1e3637a9]ul{list-style-type: disc;}[data-v-1e3637a9].tiptap ol,.editor-content-typography[data-v-1e3637a9]ol{list-style-type: decimal;}[data-v-1e3637a9].tiptap li,.editor-content-typography[data-v-1e3637a9]li{margin-top: 0.2em;line-height: 1.45;--tw-text-opacity: 1;color: rgb(71 85 105/var(--tw-text-opacity,1));}[data-v-1e3637a9].tiptap blockquote,.editor-content-typography[data-v-1e3637a9]blockquote{margin-top: 0px;margin-bottom: 1rem;border-left-width: 3px;--tw-border-opacity: 1;border-color: rgb(203 213 225/var(--tw-border-opacity,1));padding-left: 0.875rem;font-style: italic;line-height: 1.45;--tw-text-opacity: 1;color: rgb(100 116 139/var(--tw-text-opacity,1));}[data-v-1e3637a9].tiptap blockquote p,.editor-content-typography[data-v-1e3637a9]blockquote p{margin-bottom: 0px;color: inherit;}[data-v-1e3637a9].tiptap pre,.editor-content-typography[data-v-1e3637a9]pre{margin-top: 0px;margin-bottom: 1rem;white-space: pre-wrap;border-radius: 0.375rem;border-width: 1px;--tw-border-opacity: 1;border-color: rgb(226 232 240/var(--tw-border-opacity,1));--tw-bg-opacity: 1;background-color: rgb(248 250 252/var(--tw-bg-opacity,1));padding-left: 0.75rem;padding-right: 0.75rem;padding-top: 0.5rem;padding-bottom: 0.5rem;font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size: 0.875em;line-height: 1.5;--tw-text-opacity: 1;color: rgb(51 65 85/var(--tw-text-opacity,1));}[data-v-1e3637a9].tiptap pre code,.editor-content-typography[data-v-1e3637a9]pre code{background-color: transparent;padding: 0px;color: inherit;}[data-v-1e3637a9].tiptap code:not(pre code),.editor-content-typography[data-v-1e3637a9]code:not(pre code){border-radius: 0.25rem;--tw-bg-opacity: 1;background-color: rgb(241 245 249/var(--tw-bg-opacity,1));padding-left: 0.25rem;padding-right: 0.25rem;padding-top: 0.125rem;padding-bottom: 0.125rem;font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size: 0.875em;--tw-text-opacity: 1;color: rgb(51 65 85/var(--tw-text-opacity,1));}[data-v-1e3637a9].tiptap a,.editor-content-typography[data-v-1e3637a9]a{--tw-text-opacity: 1;color: rgb(37 99 235/var(--tw-text-opacity,1));text-decoration-line: none;}[data-v-1e3637a9].tiptap a:hover,.editor-content-typography[data-v-1e3637a9]a:hover{text-decoration-line: underline;}[data-v-1e3637a9].tiptap>*:last-child,.editor-content-typography[data-v-1e3637a9]*:last-child{margin-bottom: 0px;}[data-v-1e3637a9].tiptap .is-empty::before{content: attr(data-placeholder);float: left;height: 0;pointer-events: none;font-weight: 400;font-style: italic;--tw-text-opacity: 1;color: rgb(148 163 184/var(--tw-text-opacity,1));}';export default ".animated-gradient[data-v-f1f0dadf]{background: repeating-linear-gradient(to right,rgba(255,255,255,0)0%,rgba(255,255,255,0.75)50%,rgba(255,255,255,0)100%);width: 100%;background-size: 200% auto;background-position: 0 100%;animation: gradient-f1f0dadf 2s infinite;animation-fill-mode: forwards;animation-timing-function: linear;}@keyframes gradient-f1f0dadf{0%{background-position: 0 0;}100%{background-position:-200% 0;}}";export default ".slide-left-enter-active[data-v-1a3d5742],.slide-left-leave-active[data-v-1a3d5742]{transition: all 0.5s ease;}.slide-left-enter-from[data-v-1a3d5742],.slide-left-leave-to[data-v-1a3d5742]{opacity: 0;transform: translateX(30px);}.slide-right-enter-active[data-v-1a3d5742],.slide-right-leave-active[data-v-1a3d5742]{transition: all 0.5s ease;}.slide-right-enter-from[data-v-1a3d5742],.slide-right-leave-to[data-v-1a3d5742]{opacity: 0;transform: translateX(-30px);}.slide-top-enter-active[data-v-1a3d5742],.slide-top-leave-active[data-v-1a3d5742]{transition: all 0.5s ease;}.slide-top-enter-from[data-v-1a3d5742],.slide-top-leave-to[data-v-1a3d5742]{opacity: 0;transform: translateY(30px);}.slide-bottom-enter-active[data-v-1a3d5742],.slide-bottom-leave-active[data-v-1a3d5742]{transition: all 0.5s ease;}.slide-bottom-enter-from[data-v-1a3d5742],.slide-bottom-leave-to[data-v-1a3d5742]{opacity: 0;transform: translateY(-30px);}.fade-enter-active[data-v-1a3d5742],.fade-leave-active[data-v-1a3d5742]{transition: all 0.5s ease;}.fade-enter-from[data-v-1a3d5742],.fade-leave-to[data-v-1a3d5742]{opacity: 0;}";{}
|