@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.21
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/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B9WTpz0k.js +1 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DJCMa2Lz.mjs +223 -0
- package/dist/Amount.vue.es-DExaYBqm.js +1 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/Avatar.vue.es-CJw5z7Uu.js +1 -0
- package/dist/Avatar.vue.es-ChcLSNaN.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-CTQ5RMtx.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DApMAncl.mjs +60 -0
- package/dist/Button.vue.es-BWl37nzm.js +1 -0
- package/dist/Button.vue.es-VQCd3V3C.mjs +368 -0
- package/dist/Checkout.entry.ce-BTVuGyNq.js +1 -0
- package/dist/Checkout.entry.ce-DRHqEFd7.mjs +3674 -0
- package/dist/Chip.vue.es-CXG8o1Qf.mjs +114 -0
- package/dist/Chip.vue.es-DUgjuRWm.js +1 -0
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
- package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
- package/dist/ContextMenu.vue.es-BllxeDTt.js +1 -0
- package/dist/ContextMenu.vue.es-C6TKlSXs.mjs +573 -0
- package/dist/CustomerBillingInformation.vue.es-CKQH_ds0.mjs +153 -0
- package/dist/CustomerBillingInformation.vue.es-CMCZ-lIM.js +1 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BxwllXwU.mjs +140 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-n097Xf1H.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C_yKvYtG.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CtaoLbrM.mjs +2700 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
- package/dist/DividerText.vue.es-BBdydUy_.js +1 -0
- package/dist/DividerText.vue.es-Bomiy4if.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C9elbdbF.mjs +335 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DXO9xpFT.js +1 -0
- package/dist/ErrorNotification.vue.es-0ZC_DozN.js +1 -0
- package/dist/ErrorNotification.vue.es-C6ngWAVU.mjs +31 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
- package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
- package/dist/IconButton.vue.es-DAR7e8NA.mjs +198 -0
- package/dist/IconButton.vue.es-DGLIdHkR.js +1 -0
- package/dist/IconTitle.vue.es-Bbusc4wK.mjs +103 -0
- package/dist/IconTitle.vue.es-D-q6w2E-.js +1 -0
- package/dist/Input.vue.es-AY1c0Rui.mjs +235 -0
- package/dist/Input.vue.es-BN95nPBw.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-1WjSbPEP.mjs +92 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-qiBCPY8l.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-BXTInmf9.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D99nuBRE.mjs +41 -0
- package/dist/InvoiceSummary.vue.es-B0MPR0oI.js +1 -0
- package/dist/InvoiceSummary.vue.es-Bs5c2Ovx.mjs +2598 -0
- package/dist/Modal.vue.es-Chi6_MH_.js +1 -0
- package/dist/Modal.vue.es-DSkC4eMv.mjs +387 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Draz_8Ts.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-vD88j_U7.mjs +144 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DVif_ME8.mjs +51 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Db6jAkqD.js +1 -0
- package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DGJ_PiVq.js} +1 -1
- package/dist/PaymentHistoryBlock-budeR7ep.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C28ofG7N.mjs +93 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dv-3suBX.js +1 -0
- package/dist/PaymentIntegrationForm-Crrhar96.mjs +4 -0
- package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-DqqGcEP1.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C4bk0m8g.mjs +138 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CcEEdHQJ.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-DM-xMcm0.mjs +621 -0
- package/dist/PaymentIntegrationFormAdyen-DronjwO3.js +98 -0
- package/dist/PaymentIntegrationFormStripe-yBm4KnpV.mjs +488 -0
- package/dist/PaymentIntegrationFormStripe-ybM6wirp.js +102 -0
- package/dist/PaymentMethod.vue.es-BdMcKq8_.mjs +623 -0
- package/dist/PaymentMethod.vue.es-Ctw9Es1g.js +1 -0
- package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-BQ5TVHlS.js} +1 -1
- package/dist/PaymentMethodForm-C1bIGX10.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-5KKkuVt5.mjs +167 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-V88bCeDt.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B_207kq5.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CnmZ9dvP.mjs +169 -0
- package/dist/PlanCustomizationEditor-CCOTD6Qu.mjs +769 -0
- package/dist/PlanCustomizationEditor-CiZnVCM6.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-Bnb-ARie.mjs +627 -0
- package/dist/PricingGroupRangeInput.vue.es-D82XvoC_.js +185 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CxMkCmti.js +1 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-skQMgHEL.mjs +131 -0
- package/dist/RadioGroupExtended.vue.es-B1YtLNKG.js +1 -0
- package/dist/RadioGroupExtended.vue.es-WDbo_yj1.mjs +163 -0
- package/dist/Section.vue.es-By1JltGi.mjs +72 -0
- package/dist/Section.vue.es-DuK52y67.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CS3KIkPL.mjs +687 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Ct3ZNq-j.js +1 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
- package/dist/SubscriptionSchedules-DDCjVEbG.mjs +4 -0
- package/dist/SubscriptionSchedules-DEjIERyF.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BlX0W6lw.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-JAedXFzq.mjs +5256 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-D-Fa54M6.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DVMS4gJQ.mjs +91 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BckZJtOc.mjs +284 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DiXmEjUD.js +1 -0
- package/dist/TooltipParagraph.vue.es-DYu2ReL7.mjs +129 -0
- package/dist/TooltipParagraph.vue.es-sTgWAgcd.js +1 -0
- package/dist/TrialChip.vue.es-Cl-9_pdr.js +1 -0
- package/dist/TrialChip.vue.es-DX53r0ku.mjs +35 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/accel.svg.es-DFJXdioD.js +1 -0
- package/dist/ach.svg.es-BYP873jU.js +1 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/adyen-BJfC7N6f.js +1 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyen-CvsH5fok.mjs +117 -0
- package/dist/adyen-Druit6gz.js +1 -0
- package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
- package/dist/adyenSdk-BP2XXzeJ.js +1 -0
- package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
- package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
- package/dist/amex.svg.es-DKhW4Txt.js +1 -0
- package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
- package/dist/api.es-QaC926Xu.mjs +43 -0
- package/dist/api.es-duCDtZD9.js +1 -0
- package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
- package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
- package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
- package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
- package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
- package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
- package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
- package/dist/carnet.svg.es-DY04-F2L.js +1 -0
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
- package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
- package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
- package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
- package/dist/cn.es-CNvIP217.js +1 -0
- package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-DjnGlmqV.mjs} +657 -927
- package/dist/comparators.es-D8WGL-c4.mjs +153 -0
- package/dist/comparators.es-OGt19O9U.js +1 -0
- package/dist/component-5wqcK7yz.mjs +8 -0
- package/dist/component-B7ZDyqBp.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +39 -48
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +256 -307
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +43 -52
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +372 -430
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +55 -65
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +41 -46
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +43 -53
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +58 -68
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +51 -63
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +41 -50
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +49 -60
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +59 -70
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/configuration-akTS7Wiw.js +1 -0
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.mjs +89 -104
- package/dist/{countryData.es--zJAd6LA.mjs → countryData.es-BegoD-cZ.mjs} +2 -2
- package/dist/countryData.es-C4jHBzfo.js +1 -0
- package/dist/customElements-Bt8PbjIn.js +1187 -0
- package/dist/customElements-Com2NiGU.mjs +6531 -0
- package/dist/customer-CKgMJEgv.mjs +31 -0
- package/dist/customer-Q4JGfVfq.js +1 -0
- package/dist/customer.es-B5ppZf0j.mjs +20 -0
- package/dist/customer.es-BButyYo0.js +1 -0
- package/dist/dana.svg.es-BDtZLpwd.js +1 -0
- package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
- package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
- package/dist/dankort.svg.es-CksaipXF.js +1 -0
- package/dist/{de-DE-CI2zQkiP.mjs → de-DE-CVCmzlNH.mjs} +5 -5
- package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DBO5f-Eu.mjs} +38 -56
- package/dist/{de-DE-_40QfLNJ.js → de-DE-DqLD4IX2.js} +1 -1
- package/dist/de-DE-Ds_yJLS3.js +1 -0
- package/dist/diners.svg.es-BP9enCow.mjs +4 -0
- package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
- package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
- package/dist/discover.svg.es-DgqWCMUM.js +1 -0
- package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
- package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
- package/dist/elo.svg.es-C-BzjuRP.js +1 -0
- package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
- package/dist/{en-US-5YWNEi-V.mjs → en-US-3UmnS23B.mjs} +38 -56
- package/dist/en-US-C51ILrVv.js +1 -0
- package/dist/{en-US--NRsi7Hz.js → en-US-CvFmmI_O.js} +1 -1
- package/dist/{en-US-DksUWPIu.mjs → en-US-DVR9O7b_.mjs} +5 -5
- package/dist/eps.svg.es-B_85bP-W.js +1 -0
- package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
- package/dist/error-BHVZJGwD.mjs +13 -0
- package/dist/error-CmduqgVq.js +1 -0
- package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
- package/dist/formatting.es-C72Nsrmh.js +1 -0
- package/dist/formatting.es-RclXHhKo.mjs +61 -0
- package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getComposedString.es-haS4bAj7.js +1 -0
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
- package/dist/girocard.svg.es-HSOEvDif.js +1 -0
- package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
- package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
- package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
- package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
- package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
- package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
- package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
- package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
- package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
- package/dist/ideal.svg.es-Booz1IML.js +1 -0
- package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
- package/dist/index-BPU8tIml.mjs +828 -0
- package/dist/index-BPZPnOQQ.js +7 -0
- package/dist/index-CTwLxoOS.mjs +7250 -0
- package/dist/index-DwueOtPi.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.es-BclokHQX.js +1 -0
- package/dist/index.es-CXkP_k3u.mjs +345 -0
- package/dist/index.mjs +40 -40
- package/dist/invoices-CV9iAUHf.mjs +115 -0
- package/dist/invoices-CvpL4rv5.js +1 -0
- package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-CDMnnFKZ.mjs} +5 -5
- package/dist/{it-IT-aPQY57ht.js → it-IT-CFEfSpPH.js} +1 -1
- package/dist/{it-IT-B6blp8MI.mjs → it-IT-CxBRisRm.mjs} +38 -56
- package/dist/it-IT-Dxw59eR_.js +1 -0
- package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
- package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
- package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
- package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
- package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
- package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
- package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
- package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
- package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
- package/dist/momo.svg.es-C5aLYf_R.js +1 -0
- package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
- package/dist/{nl-NL-CjoW8r_M.mjs → nl-NL-BWGkVweu.mjs} +38 -56
- package/dist/nl-NL-Btbfd9p2.js +1 -0
- package/dist/{nl-NL-zRUAuEHg.js → nl-NL-jtVgF3jx.js} +1 -1
- package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-o3UvtSNg.mjs} +5 -5
- package/dist/nyce.svg.es-ArAivAZW.js +1 -0
- package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
- package/dist/object.es-8aLDIncs.mjs +12 -0
- package/dist/object.es-CdriXMPs.js +1 -0
- package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
- package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
- package/dist/paymentMethods-BuwoJ1y9.mjs +75 -0
- package/dist/paymentMethods-ChWAwDSF.js +1 -0
- package/dist/payments-C_cMXQzE.mjs +45 -0
- package/dist/payments-DGckugN0.js +1 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
- package/dist/pricing-BVAld27Y.js +1 -0
- package/dist/pricing-DLOeiAIB.mjs +16 -0
- package/dist/pricingItemConfigs.es-DMf1e6y7.mjs +76 -0
- package/dist/pricingItemConfigs.es-DlybwIh1.js +1 -0
- package/dist/pricingPlanSchedule-COfmWv_o.js +1 -0
- package/dist/pricingPlanSchedule-J1nb9pCu.mjs +129 -0
- package/dist/pulse.svg.es-Dit33E8S.js +1 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +3 -5237
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +112 -138
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +348 -397
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +153 -170
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +609 -720
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +466 -555
- package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
- package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
- package/dist/slots.es-BA4MyEAa.mjs +5 -0
- package/dist/slots.es-T9ZJRGtG.js +1 -0
- package/dist/sorting.es-DCihKqD2.mjs +77 -0
- package/dist/sorting.es-DQsjKr8A.js +1 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/star.svg.es-D2JncY7b.js +1 -0
- package/dist/subscription-9GORG-Gt.js +1 -0
- package/dist/subscription-CvfAEJeP.mjs +69 -0
- package/dist/subscriptions-B5VqRayX.mjs +55 -0
- package/dist/subscriptions-X0Ciw8z3.js +1 -0
- package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
- package/dist/trustly.svg.es-GJByiFAs.js +1 -0
- package/dist/twint.svg.es-BJ2f48og.js +1 -0
- package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
- package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
- package/dist/typeGuards.es-DS3vZaJn.js +1 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +2 -1
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
- package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
- package/dist/url-BNKStNY9.js +1 -0
- package/dist/url-DwiuKYpu.mjs +20 -0
- package/dist/useActionDispatchProvider-B54GYEY7.js +1 -0
- package/dist/useActionDispatchProvider-e2lQXTid.mjs +11 -0
- package/dist/useCustomer-BJwJ9BkJ.js +1 -0
- package/dist/useCustomer-CC9zxV6c.mjs +20 -0
- package/dist/useCustomerFormLabels-72Pxw8X5.js +1 -0
- package/dist/useCustomerFormLabels-V2YuYMLU.mjs +930 -0
- package/dist/useExperimentalFeature-8Mzpj5wc.js +1 -0
- package/dist/useExperimentalFeature-B0IFn3Uw.mjs +6 -0
- package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
- package/dist/useInvoiceData-6mHUZC9a.mjs +38 -0
- package/dist/useInvoiceData-Bblwdl0f.js +1 -0
- package/dist/useInvoicesList-B5H5JfvY.mjs +500 -0
- package/dist/useInvoicesList-_U1-tn9_.js +1 -0
- package/dist/useLoadInitialData-CezlvhBV.js +1 -0
- package/dist/useLoadInitialData-ux_wpNiR.mjs +15 -0
- package/dist/usePaymentMethodAvailability-CkR4TwoV.mjs +118 -0
- package/dist/usePaymentMethodAvailability-DRwrBdto.js +1 -0
- package/dist/usePaymentMethodOptions-B6GIM9q4.js +1 -0
- package/dist/usePaymentMethodOptions-BfnLBZOo.mjs +37 -0
- package/dist/usePaymentMethods-C3QfLSrP.mjs +15 -0
- package/dist/usePaymentMethods-GFmQRp0X.js +1 -0
- package/dist/usePayments-BkwGyZT0.mjs +318 -0
- package/dist/usePayments-SQF_V7oL.js +1 -0
- package/dist/usePortal-BdM7hDge.js +1 -0
- package/dist/usePortal-DDG9b6FI.mjs +11 -0
- package/dist/useService-Bh47bllz.mjs +50 -0
- package/dist/useService-H7BjLg8P.js +1 -0
- package/dist/useSubscription-BJJYHYgr.mjs +210 -0
- package/dist/useSubscription-Q4C2DPhw.js +1 -0
- package/dist/useTimePeriod.es-9tZvAhyb.mjs +93 -0
- package/dist/useTimePeriod.es-pepm2TpV.js +1 -0
- package/dist/useViewport-BgdA2PPt.mjs +29 -0
- package/dist/useViewport-hPRVDWCm.js +1 -0
- package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
- package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
- package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
- package/dist/visa.svg.es-NY3BHhda.js +1 -0
- package/dist/vpay.svg.es-VViQi42w.js +1 -0
- package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
- package/dist/zip.svg.es-C9S_F31W.js +1 -0
- package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
- package/package.json +3 -3
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +0 -240
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +0 -1
- package/dist/Amount.vue.es-BO5sS1UX.mjs +0 -25
- package/dist/Amount.vue.es-JDVa_3H-.js +0 -1
- package/dist/Avatar.vue.es-BGTZSAqU.js +0 -1
- package/dist/Avatar.vue.es-DJzJiYtv.mjs +0 -91
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs +0 -66
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +0 -1
- package/dist/Button.vue.es-Cm9pLU9i.mjs +0 -421
- package/dist/Button.vue.es-O8mNivLL.js +0 -1
- package/dist/Chip.vue.es-BBmn-qJp.mjs +0 -120
- package/dist/Chip.vue.es-DmCjC1hi.js +0 -1
- package/dist/Comparators.vue.es-CYfxd5H-.mjs +0 -120
- package/dist/Comparators.vue.es-DK8wGjxM.js +0 -1
- package/dist/ContentWithAsideLayout-DHpnJfGA.js +0 -1
- package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +0 -39
- package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +0 -681
- package/dist/ContextMenu.vue.es-DaW0yp4Y.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +0 -175
- package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +0 -4
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs +0 -150
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +0 -3264
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.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-CeAHAe_Y.mjs +0 -72
- package/dist/DividerText.vue.es-DjT4i_YD.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +0 -562
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +0 -1
- package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +0 -38
- package/dist/ErrorNotification.vue.es-CaEFTi2k.js +0 -1
- package/dist/Expand.vue.es-C-lnbA1v.js +0 -1
- package/dist/Expand.vue.es-C4_XmqbR.mjs +0 -50
- package/dist/FormMessage.vue.es-Bd4_NG9H.js +0 -1
- package/dist/FormMessage.vue.es-C3oxwq_8.mjs +0 -46
- package/dist/IconButton.vue.es-BHdQskx0.js +0 -1
- package/dist/IconButton.vue.es-KywqWWvr.mjs +0 -228
- package/dist/IconTitle.vue.es-BmjBdZb_.mjs +0 -107
- package/dist/IconTitle.vue.es-D9Wc3PIq.js +0 -1
- package/dist/Input.vue.es-DqKJhFTr.js +0 -1
- package/dist/Input.vue.es-WZGF8dfr.mjs +0 -251
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs +0 -97
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +0 -49
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +0 -1
- package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +0 -2944
- package/dist/InvoiceSummary.vue.es-BWYIHezU.js +0 -1
- package/dist/Modal.vue.es-B_1aqm_m.js +0 -1
- package/dist/Modal.vue.es-qdUHDOnU.mjs +0 -483
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +0 -154
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +0 -54
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +0 -1
- package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +0 -4
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs +0 -101
- package/dist/PaymentIntegrationForm-CLokpXvK.mjs +0 -4
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +0 -167
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +0 -699
- package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +0 -1
- package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +0 -547
- package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +0 -1
- package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +0 -1
- package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +0 -677
- package/dist/PaymentMethodForm-IEuDxEPN.mjs +0 -4
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +0 -172
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs +0 -189
- package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +0 -632
- package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +0 -1
- package/dist/Section.vue.es-CAJvEDn6.js +0 -1
- package/dist/Section.vue.es-DX_9ueCG.mjs +0 -79
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +0 -1044
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs +0 -78
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +0 -6171
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +0 -101
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs +0 -309
- package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +0 -136
- package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +0 -1
- package/dist/TrialChip.vue.es-B1puKyR-.mjs +0 -56
- package/dist/TrialChip.vue.es-CCs50m02.js +0 -1
- package/dist/accel.svg.es-CE5tIWtm.mjs +0 -4
- package/dist/accel.svg.es-Dt_1wJmV.js +0 -1
- package/dist/ach.svg.es-B4tn0_IV.js +0 -1
- package/dist/ach.svg.es-D4QPcIU-.mjs +0 -4
- package/dist/adyen-51SvcyqV.mjs +0 -4
- package/dist/adyen-BXi_D9TQ.mjs +0 -123
- package/dist/adyen-DZsyEXkw.js +0 -1
- package/dist/adyen-VS2sDW0m.js +0 -1
- package/dist/amazon-pay.svg.es-B428S4f3.js +0 -1
- package/dist/amazon-pay.svg.es-DUScOW15.mjs +0 -4
- package/dist/amex.svg.es-BCXkaVLN.mjs +0 -4
- package/dist/amex.svg.es-Bn9e31C3.js +0 -1
- package/dist/api.es-C5pe8LUl.mjs +0 -62
- package/dist/api.es-Czekkp_X.js +0 -1
- package/dist/apple-pay.svg.es-Cfgn0K28.js +0 -1
- package/dist/apple-pay.svg.es-DlCfkt39.mjs +0 -4
- package/dist/bacs.svg.es-BKsvSeIP.mjs +0 -4
- package/dist/bacs.svg.es-hL7hLPkQ.js +0 -1
- package/dist/bancontact.svg.es-BbRqGgZ9.mjs +0 -4
- package/dist/bancontact.svg.es-DU2ejvNL.js +0 -1
- package/dist/carnet.svg.es-C5SFaOsa.js +0 -1
- package/dist/carnet.svg.es-Db-KEb13.mjs +0 -4
- package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +0 -4
- package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +0 -1
- package/dist/cashapp.svg.es-CnS5r_D8.mjs +0 -4
- package/dist/cashapp.svg.es-DE4vMu_p.js +0 -1
- package/dist/cn.es-DxSeYcoP.js +0 -1
- package/dist/comparators.es-9VsCB-JI.mjs +0 -175
- package/dist/comparators.es-wrKHduVq.js +0 -1
- package/dist/component-BG6DmXcy.mjs +0 -9
- package/dist/component-hDuDTBt5.js +0 -1
- package/dist/configuration-BjYwV4_B.js +0 -1
- package/dist/configuration-CD8cOXAJ.mjs +0 -15
- package/dist/countryData.es-D3MFzU92.js +0 -1
- package/dist/customElements-B-89a5oH.mjs +0 -6810
- package/dist/customElements-DD7bpqkx.js +0 -1
- package/dist/customer-DozNwS_a.js +0 -1
- package/dist/customer-Dzj1g9lV.mjs +0 -32
- package/dist/customer.es-C_vSWcVA.mjs +0 -30
- package/dist/customer.es-D42Md24r.js +0 -1
- package/dist/dana.svg.es-Bbn6_ktN.mjs +0 -4
- package/dist/dana.svg.es-DKZaseoJ.js +0 -1
- package/dist/dankort.svg.es-D8FgSiFf.js +0 -1
- package/dist/dankort.svg.es-DtAdliQq.mjs +0 -4
- package/dist/de-DE-BvHD68Ay.js +0 -1
- package/dist/diners.svg.es-DhchsD1D.mjs +0 -4
- package/dist/diners.svg.es-SydF_H-Z.js +0 -1
- package/dist/discover.svg.es-B8vgzVNG.js +0 -1
- package/dist/discover.svg.es-BnqYPvnV.mjs +0 -4
- package/dist/eftpos.svg.es-DO0YPaY1.js +0 -1
- package/dist/eftpos.svg.es-DRLaafYa.mjs +0 -4
- package/dist/elo.svg.es-CTOm1rvj.js +0 -1
- package/dist/elo.svg.es-CgkEOP_O.mjs +0 -4
- package/dist/en-US-dqfKx3GS.js +0 -1
- package/dist/eps.svg.es-CApyGjyU.js +0 -1
- package/dist/eps.svg.es-D6IHsRYP.mjs +0 -4
- package/dist/error-Cg-i7gGl.js +0 -1
- package/dist/error-DY_I2hPx.mjs +0 -13
- package/dist/floating-ui.vue.es-Bv94BfDm.js +0 -1
- package/dist/floating-ui.vue.es-DWY7pdz8.mjs +0 -1573
- package/dist/formatting.es-DBtYnvI5.js +0 -1
- package/dist/formatting.es-eYgXv_AK.mjs +0 -70
- package/dist/gcash.svg.es-BhJ-eA2z.mjs +0 -4
- package/dist/gcash.svg.es-JaL4fpZr.js +0 -1
- package/dist/getComposedString.es-CELkn0I7.mjs +0 -14
- package/dist/getComposedString.es-DvSNX-_z.js +0 -1
- package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
- package/dist/girocard.svg.es-D_3LML4l.mjs +0 -4
- package/dist/girocard.svg.es-tVgtT23w.js +0 -1
- package/dist/go-pay.svg.es-6UtgwVBA.mjs +0 -4
- package/dist/go-pay.svg.es-fYX6yMzJ.js +0 -1
- package/dist/google-pay.svg.es-BYXX1em8.js +0 -1
- package/dist/google-pay.svg.es-CRxXgFVl.mjs +0 -4
- package/dist/hipercard.svg.es-Ct1-mF9F.mjs +0 -4
- package/dist/hipercard.svg.es-D-nmiFXB.js +0 -1
- package/dist/icon-sprite.svg.es-BpwT0GQ5.js +0 -1
- package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +0 -4
- package/dist/ideal.svg.es-D23EhJJ2.mjs +0 -4
- package/dist/ideal.svg.es-DXtHE0Jb.js +0 -1
- package/dist/index-Cai7laNY.mjs +0 -1069
- package/dist/index-DIFK3mcJ.js +0 -6
- package/dist/index-DyvRdSR7.mjs +0 -9673
- package/dist/index-IZaUTAsE.js +0 -1
- package/dist/index.es-2JWHHSgP.js +0 -1
- package/dist/index.es-D5xOw_SJ.mjs +0 -542
- package/dist/invoices-1oYkdQQV.mjs +0 -121
- package/dist/invoices-BAoh6X2a.js +0 -1
- package/dist/it-IT-CEP3oeWs.js +0 -1
- package/dist/jcb.svg.es-Bz6J-c0s.js +0 -1
- package/dist/jcb.svg.es-CcH08OoO.mjs +0 -4
- package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +0 -4
- package/dist/kakao-pay.svg.es-qVTABboW.js +0 -1
- package/dist/klarna.svg.es-Clu-7zkp.js +0 -1
- package/dist/klarna.svg.es-DfIPX0gr.mjs +0 -4
- package/dist/maestro.svg.es-CVmNVokN.mjs +0 -4
- package/dist/maestro.svg.es-e8E_H2QU.js +0 -1
- package/dist/mastercard.svg.es-B8z0ZySS.mjs +0 -4
- package/dist/mastercard.svg.es-YO3_jGD6.js +0 -1
- package/dist/momo.svg.es-BXTQlQRy.js +0 -1
- package/dist/momo.svg.es-Bm5zCTOT.mjs +0 -4
- package/dist/nl-NL-e_vf6OuT.js +0 -1
- package/dist/nyce.svg.es-CgurqLKH.mjs +0 -4
- package/dist/nyce.svg.es-DM6esO47.js +0 -1
- package/dist/object.es-DFXiU9p3.js +0 -1
- package/dist/object.es-jvvnR8Kr.mjs +0 -12
- package/dist/open-banking.svg.es-DUM360xB.js +0 -1
- package/dist/open-banking.svg.es-DzzLCVp_.mjs +0 -4
- package/dist/paymentMethods-CZ3ydybI.js +0 -1
- package/dist/paymentMethods-DIV78w0O.mjs +0 -78
- package/dist/payments--lkjiwCt.js +0 -1
- package/dist/payments-Cvqdrprv.mjs +0 -47
- package/dist/paypal.svg.es-BdkNTf3c.js +0 -1
- package/dist/paypal.svg.es-DltWzW4V.mjs +0 -4
- package/dist/pricing-3W7XLwL6.js +0 -1
- package/dist/pricing-CJxS2hr2.mjs +0 -17
- package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +0 -107
- package/dist/pricingItemConfigs.es-C73cQlxQ.js +0 -1
- package/dist/pricingPlanSchedule-B9HFiXy-.js +0 -1
- package/dist/pricingPlanSchedule-CXG3CQ61.mjs +0 -146
- package/dist/pulse.svg.es-BdpWAuIN.js +0 -1
- package/dist/pulse.svg.es-BecAwT-p.mjs +0 -4
- package/dist/sepa.svg.es-BF8PYKZg.js +0 -1
- package/dist/sepa.svg.es-cbE9g8gV.mjs +0 -4
- package/dist/slots.es-BpwYO3A3.mjs +0 -18
- package/dist/slots.es-Dq1PTUOv.js +0 -1
- package/dist/sorting.es-CjTrRfSW.mjs +0 -105
- package/dist/sorting.es-RyvcgbSL.js +0 -1
- package/dist/star.svg.es-DsCD-tSp.mjs +0 -4
- package/dist/star.svg.es-Q50IzqXr.js +0 -1
- package/dist/subscription-C41lG-rH.mjs +0 -89
- package/dist/subscription-b0OPx8Du.js +0 -1
- package/dist/subscriptions-300o4ae0.js +0 -1
- package/dist/subscriptions-DcMHBPVJ.mjs +0 -58
- package/dist/trustly.svg.es-C0Ou1HWk.mjs +0 -4
- package/dist/trustly.svg.es-CHojqNqm.js +0 -1
- package/dist/twint.svg.es-CQ-ZDfy8.js +0 -1
- package/dist/twint.svg.es-WrZYquRs.mjs +0 -4
- package/dist/typeGuards.es-C4nR5FkL.js +0 -1
- package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
- package/dist/unionpay.svg.es-DYgo83Hf.mjs +0 -4
- package/dist/unionpay.svg.es-YqJKKFEj.js +0 -1
- package/dist/url-CjULBkjW.js +0 -1
- package/dist/url-CvNDq4wp.mjs +0 -22
- package/dist/useActionDispatchProvider-BVOBO0Jx.mjs +0 -12
- package/dist/useActionDispatchProvider-Cv9amjTf.js +0 -1
- package/dist/useCustomer-DLHOs4BR.js +0 -1
- package/dist/useCustomer-EDhref7T.mjs +0 -25
- package/dist/useCustomerFormLabels-B61-4xQ7.mjs +0 -1168
- package/dist/useCustomerFormLabels-C6wW4n2e.js +0 -1
- package/dist/useExperimentalFeature-0yFoaEzV.js +0 -1
- package/dist/useExperimentalFeature-DvxOrFPU.mjs +0 -9
- package/dist/useIncrementalLoading-BK9pRYAU.mjs +0 -71
- package/dist/useIncrementalLoading-CdtGJm_Y.js +0 -1
- package/dist/useInvoiceData-BSjVeJrI.js +0 -1
- package/dist/useInvoiceData-C0Y5WrbT.mjs +0 -45
- package/dist/useInvoicesList-BRDZqsaB.js +0 -1
- package/dist/useInvoicesList-CYoE7q0u.mjs +0 -580
- package/dist/useLoadInitialData-Cp1OA8y6.mjs +0 -18
- package/dist/useLoadInitialData-u7IyXqb6.js +0 -1
- package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +0 -1
- package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +0 -141
- package/dist/usePaymentMethodOptions--8QpMvNm.js +0 -1
- package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +0 -36
- package/dist/usePaymentMethods-BJzoI8dZ.mjs +0 -16
- package/dist/usePaymentMethods-DvEnJWmB.js +0 -1
- package/dist/usePayments-CANj0QVc.js +0 -1
- package/dist/usePayments-CaT1CBzE.mjs +0 -362
- package/dist/usePortal-BjGoSeLy.js +0 -1
- package/dist/usePortal-CMPQ0M9R.mjs +0 -12
- package/dist/useService-D73FNBjT.js +0 -1
- package/dist/useService-W3Kxems4.mjs +0 -72
- package/dist/useSubscription-D1UKnZAx.mjs +0 -250
- package/dist/useSubscription-DZfRHbL7.js +0 -1
- package/dist/useViewport-Bu0cyeSi.mjs +0 -38
- package/dist/useViewport-CKRY1CKR.js +0 -1
- package/dist/useWatchDebounced-C_YxgoQ6.js +0 -1
- package/dist/useWatchDebounced-Zmxd6InB.mjs +0 -16
- package/dist/visa.svg.es-B6aU_qRs.mjs +0 -4
- package/dist/visa.svg.es-D6sc4YTE.js +0 -1
- package/dist/vpay.svg.es-4qIqS4aX.mjs +0 -4
- package/dist/vpay.svg.es-CLGTyB09.js +0 -1
- package/dist/zip.svg.es-3PzSBe1E.mjs +0 -4
- package/dist/zip.svg.es-BRsgmur-.js +0 -1
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createBlock, unref, createCommentVNode, createElementVNode, createVNode, withCtx, createTextVNode, toDisplayString, Fragment } from "vue";
|
|
2
|
-
import { _ as _sfc_main$1 } from "./Avatar.vue.es-DJzJiYtv.mjs";
|
|
3
|
-
import { u as useIntl, _ as _sfc_main$2 } from "./customElements-B-89a5oH.mjs";
|
|
4
|
-
import { g as getMostRecentPricingPlan, a as getSubscriptionName, f as findPricingsByIds } from "./subscription-C41lG-rH.mjs";
|
|
5
|
-
const _hoisted_1 = { class: "grow" };
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "SubscriptionSummary",
|
|
8
|
-
props: {
|
|
9
|
-
subscription: { type: Object },
|
|
10
|
-
invoice: { type: Object },
|
|
11
|
-
loading: { type: Boolean },
|
|
12
|
-
enabledPricingIds: { type: Array },
|
|
13
|
-
avatar: { type: String },
|
|
14
|
-
noSpacing: { type: Boolean },
|
|
15
|
-
trialPeriod: { type: Object }
|
|
16
|
-
},
|
|
17
|
-
setup(__props) {
|
|
18
|
-
const props = __props;
|
|
19
|
-
const { $t } = useIntl();
|
|
20
|
-
const mostRecentPricingPlan = computed(() => getMostRecentPricingPlan(props.subscription));
|
|
21
|
-
const name = computed(
|
|
22
|
-
() => getSubscriptionName({
|
|
23
|
-
subscription: props.subscription,
|
|
24
|
-
fallback: $t({
|
|
25
|
-
defaultMessage: "Subscription",
|
|
26
|
-
description: "The fallback name for when no subscription name can be determined",
|
|
27
|
-
id: "customer_overview.subscriptions_block.fallback_subscription_name"
|
|
28
|
-
})
|
|
29
|
-
})
|
|
30
|
-
);
|
|
31
|
-
const description = computed(
|
|
32
|
-
() => {
|
|
33
|
-
var _a;
|
|
34
|
-
return props.subscription.description || ((_a = mostRecentPricingPlan.value) == null ? void 0 : _a.description);
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
const selectedPricings = computed(() => {
|
|
38
|
-
if (!props.subscription || !props.enabledPricingIds) {
|
|
39
|
-
return void 0;
|
|
40
|
-
}
|
|
41
|
-
const pricings = findPricingsByIds(props.subscription, props.enabledPricingIds);
|
|
42
|
-
const names = pricings == null ? void 0 : pricings.map((pricing) => {
|
|
43
|
-
var _a, _b;
|
|
44
|
-
return pricing.name ?? ((_b = (_a = pricing.products) == null ? void 0 : _a[0]) == null ? void 0 : _b.name);
|
|
45
|
-
}).join(" - ");
|
|
46
|
-
return names;
|
|
47
|
-
});
|
|
48
|
-
return (_ctx, _cache) => {
|
|
49
|
-
return openBlock(), createElementBlock("div", {
|
|
50
|
-
class: normalizeClass(["flex flex-row gap-3", __props.noSpacing ? void 0 : "px-3 py-2"])
|
|
51
|
-
}, [
|
|
52
|
-
__props.avatar ? (openBlock(), createBlock(unref(_sfc_main$1), {
|
|
53
|
-
key: 0,
|
|
54
|
-
"image-src": __props.avatar,
|
|
55
|
-
size: "lg",
|
|
56
|
-
class: "my-1"
|
|
57
|
-
}, null, 8, ["image-src"])) : createCommentVNode("", true),
|
|
58
|
-
createElementVNode("div", _hoisted_1, [
|
|
59
|
-
createVNode(unref(_sfc_main$2), {
|
|
60
|
-
variant: "body",
|
|
61
|
-
weight: "semibold",
|
|
62
|
-
"no-spacing": ""
|
|
63
|
-
}, {
|
|
64
|
-
default: withCtx(() => [
|
|
65
|
-
createTextVNode(toDisplayString(name.value), 1)
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}),
|
|
69
|
-
selectedPricings.value ? (openBlock(), createBlock(unref(_sfc_main$2), {
|
|
70
|
-
key: 0,
|
|
71
|
-
variant: "body-xs",
|
|
72
|
-
color: "subtle",
|
|
73
|
-
"no-spacing": ""
|
|
74
|
-
}, {
|
|
75
|
-
default: withCtx(() => [
|
|
76
|
-
createTextVNode(toDisplayString(selectedPricings.value), 1)
|
|
77
|
-
]),
|
|
78
|
-
_: 1
|
|
79
|
-
})) : createCommentVNode("", true),
|
|
80
|
-
description.value ? (openBlock(), createBlock(unref(_sfc_main$2), {
|
|
81
|
-
key: 1,
|
|
82
|
-
variant: "body-xs",
|
|
83
|
-
color: "subtle",
|
|
84
|
-
"no-spacing": ""
|
|
85
|
-
}, {
|
|
86
|
-
default: withCtx(() => [
|
|
87
|
-
selectedPricings.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
88
|
-
createTextVNode(" • ")
|
|
89
|
-
], 64)) : createCommentVNode("", true),
|
|
90
|
-
createTextVNode(" " + toDisplayString(description.value), 1)
|
|
91
|
-
]),
|
|
92
|
-
_: 1
|
|
93
|
-
})) : createCommentVNode("", true)
|
|
94
|
-
])
|
|
95
|
-
], 2);
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
export {
|
|
100
|
-
_sfc_main as _
|
|
101
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),t=require("./Avatar.vue.es-BGTZSAqU.js"),n=require("./customElements-DD7bpqkx.js"),o=require("./subscription-b0OPx8Du.js"),i={class:"grow"},a=e.defineComponent({__name:"SubscriptionSummary",props:{subscription:{type:Object},invoice:{type:Object},loading:{type:Boolean},enabledPricingIds:{type:Array},avatar:{type:String},noSpacing:{type:Boolean},trialPeriod:{type:Object}},setup(a){const r=a,{$t:c}=n.useIntl(),s=e.computed(()=>o.getMostRecentPricingPlan(r.subscription)),l=e.computed(()=>o.getSubscriptionName({subscription:r.subscription,fallback:c({defaultMessage:"Subscription",description:"The fallback name for when no subscription name can be determined",id:"customer_overview.subscriptions_block.fallback_subscription_name"})})),u=e.computed(()=>{var e;return r.subscription.description||(null==(e=s.value)?void 0:e.description)}),p=e.computed(()=>{if(!r.subscription||!r.enabledPricingIds)return;const e=o.findPricingsByIds(r.subscription,r.enabledPricingIds);return null==e?void 0:e.map(e=>{var t,n;return e.name??(null==(n=null==(t=e.products)?void 0:t[0])?void 0:n.name)}).join(" - ")});return(o,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-row gap-3",a.noSpacing?void 0:"px-3 py-2"])},[a.avatar?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,"image-src":a.avatar,size:"lg",class:"my-1"},null,8,["image-src"])):e.createCommentVNode("",!0),e.createElementVNode("div",i,[e.createVNode(e.unref(n._sfc_main),{variant:"body",weight:"semibold","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value),1)]),_:1}),p.value?(e.openBlock(),e.createBlock(e.unref(n._sfc_main),{key:0,variant:"body-xs",color:"subtle","no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.value),1)]),_:1})):e.createCommentVNode("",!0),u.value?(e.openBlock(),e.createBlock(e.unref(n._sfc_main),{key:1,variant:"body-xs",color:"subtle","no-spacing":""},{default:e.withCtx(()=>[p.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(" • ")],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(u.value),1)]),_:1})):e.createCommentVNode("",!0)])],2))}});exports._sfc_main=a;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./useIncrementalLoading-CdtGJm_Y.js"),t=require("./subscriptions-300o4ae0.js"),s=require("vue"),i=require("./Button.vue.es-O8mNivLL.js"),o=require("./Section.vue.es-CAJvEDn6.js"),n=require("./customElements-DD7bpqkx.js"),r=require("./PaymentMethod.vue.es-CdskNJ3Z.js"),c=require("./subscription-b0OPx8Du.js"),a=require("./Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js"),l=require("./useActionDispatchProvider-Cv9amjTf.js");const u={class:"sv-subscriptions-list__item-body flex flex-col gap-4 md:flex-row"},p={class:"sv-subscriptions-list__item-content grow"},d={class:"sv-subscriptions-list__item-meta mt-4 flex items-center gap-6"},m={key:1,class:"sv-subscriptions-list__item-next-invoice flex gap-1"},b={class:"sv-subscriptions-list__item-actions flex flex-col items-center gap-2 md:flex-row"},_=s.defineComponent({__name:"SubscriptionsListItem",props:{subscription:{type:Object},paymentMethod:{type:Object},customer:{type:Object},showViewSubscriptionDetailsButton:{type:Boolean,default:!0}},emits:["view-subscription-details"],setup(e){const t=e,{$t:a}=n.useIntl(),{formatDate:l}=n.useIntl(),_=s.computed(()=>c.getMostRecentPricingPlan(t.subscription)),v=s.computed(()=>c.getSubscriptionName({subscription:t.subscription,fallback:a({defaultMessage:"Subscription",description:"The fallback name for when no subscription name can be determined",id:"customer_overview.subscriptions_block.fallback_subscription_name"})})),f=s.computed(()=>{var e;return null==(e=_.value)?void 0:e.description}),h=s.computed(()=>t.showViewSubscriptionDetailsButton);return(t,c)=>(s.openBlock(),s.createBlock(s.unref(o._sfc_main),{class:"sv-subscriptions-list__item"},{default:s.withCtx(()=>[s.createElementVNode("div",u,[s.createElementVNode("div",p,[s.createVNode(s.unref(n._sfc_main),{tag:"h3",variant:"heading-2",class:"sv-subscriptions-list__item-title"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(v.value),1)]),_:1}),f.value?(s.openBlock(),s.createBlock(s.unref(n._sfc_main),{key:0,variant:"body-sm",tag:"span",color:"subtle",class:"sv-subscriptions-list__item-description"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(f.value),1)]),_:1})):s.createCommentVNode("",!0),s.createElementVNode("div",d,[e.paymentMethod?(s.openBlock(),s.createBlock(s.unref(r._sfc_main),{key:0,variant:"condensed",class:"sv-payment-methods__item","payment-method":e.paymentMethod},null,8,["payment-method"])):s.createCommentVNode("",!0),e.subscription.next_invoice?(s.openBlock(),s.createElementBlock("div",m,[s.createVNode(s.unref(n._sfc_main),{tag:"span",variant:"body-xs",color:"secondary",weight:"semibold"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(a)({defaultMessage:"Next billing date",description:"The label for the next billing date",id:"customer.subscriptions_block.next_billing_date"})),1)]),_:1}),s.createVNode(s.unref(n._sfc_main),{tag:"span",variant:"body-xs",color:"secondary"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(l)({date:e.subscription.next_invoice.invoice_date,format:"date",offsetType:"offsetted",timezone:e.customer.timezone})),1)]),_:1})])):s.createCommentVNode("",!0)])]),s.createElementVNode("div",b,[h.value?(s.openBlock(),s.createBlock(s.unref(i._sfc_main$1),{key:0,intent:"primary",class:"sv-action sv-action--primary sv-subscriptions-list__item-details w-full md:w-auto",type:"button",onClick:c[0]||(c[0]=s=>t.$emit("view-subscription-details",{subscriptionId:e.subscription.id}))},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(a)({defaultMessage:"Subscription details",description:"The label for the subscription details button in the subscriptions block",id:"customer.subscriptions_block.show_details_button_label"})),1)]),_:1})):s.createCommentVNode("",!0)])])]),_:1}))}}),v={key:1,class:"sv-subscriptions-list__items grid grid-cols-1 gap-4"},f=s.defineComponent({__name:"SubscriptionsList",props:{customer:{type:Object},subscriptions:{type:Array},paymentMethods:{default:()=>[],type:Array},isLoading:{type:Boolean},showViewAllButton:{type:Boolean,default:!0},showViewDetailsButton:{type:Boolean,default:!0}},emits:["view-subscription-details","view-all-subscriptions","load-more"],setup(e){const t=e,{$t:r}=n.useIntl(),c=s.computed(()=>t.subscriptions.length>0),a=e=>{if(e)return t.paymentMethods.find(({id:t})=>t===e)},l=s.computed(()=>t.showViewAllButton);return(t,u)=>(s.openBlock(),s.createBlock(s.unref(o._sfc_main),{class:"sv-subscriptions-list","no-spacing":"","no-border":"",title:s.unref(r)({defaultMessage:"{count, plural, one {My subscription} other {My subscriptions}}",description:"Title for the subscriptions block on the customer overview page",id:"customer_overview.subscriptions_block.title"},{count:String(e.subscriptions.length)})},s.createSlots({default:s.withCtx(()=>[c.value?(s.openBlock(),s.createElementBlock("div",v,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.subscriptions,i=>(s.openBlock(),s.createBlock(_,{key:i.id,subscription:i,"payment-method":a(i.payment_method_id),customer:e.customer,"show-view-subscription-details-button":e.showViewDetailsButton,onViewSubscriptionDetails:u[1]||(u[1]=e=>t.$emit("view-subscription-details",e))},null,8,["subscription","payment-method","customer","show-view-subscription-details-button"]))),128))])):(s.openBlock(),s.createBlock(s.unref(o._sfc_main),{key:0,class:"sv-empty-state sv-subscriptions-list__empty"},{default:s.withCtx(()=>[s.createVNode(s.unref(n._sfc_main),{tag:"h3",variant:"heading-3"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(r)({defaultMessage:"No subscriptions",description:"Title for the my subscriptions block on the customer overview page",id:"customer_overview.subscriptions_block.no_active_subscription_title"})),1)]),_:1}),s.createVNode(s.unref(n._sfc_main),{variant:"body-xs",color:"subtle"},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(r)({defaultMessage:"There’s no active subscription to display.",description:"Text that is being displayed when there is no active subscription in the subscriptions block",id:"customer_overview.subscriptions_block.no_active_subscription_content"})),1)]),_:1})]),_:1}))]),_:2},[l.value?{name:"right",fn:s.withCtx(()=>[s.createVNode(s.unref(i._sfc_main$1),{size:"sm",intent:"subtle","icon-suffix":"arrow_right_alt",class:"sv-action sv-action--ghost sv-subscriptions-list__view-all",type:"button",onClick:u[0]||(u[0]=e=>t.$emit("view-all-subscriptions"))},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(s.unref(r)({defaultMessage:"View all",description:"The text for the view all subscriptions button",id:"customer_overview.subscriptions_block.view_all_button_label"})),1)]),_:1})]),key:"0"}:void 0]),1032,["title"]))}}),h=s.defineComponent({__name:"SubscriptionsList",props:{customer:{type:null},subscriptions:{type:Array},paymentMethods:{type:Array},isLoading:{type:Boolean},configuration:{type:Object}},emits:["load-more"],setup(e){const{dispatchAction:t}=l.useActionDispatchProvider();return(i,o)=>{var n,r;return e.isLoading?(s.openBlock(),s.createBlock(a._sfc_main,{key:0,variant:"section",class:"sv-subscriptions-list sv-root sv-component sv-loading min-h-[100px]","data-testid":"subscriptions-list-skeleton"})):e.customer?(s.openBlock(),s.createBlock(f,{key:1,class:"sv-subscriptions-list sv-root sv-component",customer:e.customer,subscriptions:e.subscriptions,"payment-methods":e.paymentMethods,"is-loading":e.isLoading,"show-view-all-button":null==(n=e.configuration)?void 0:n.showViewAllButton,"show-view-details-button":null==(r=e.configuration)?void 0:r.showViewDetailsButton,onViewSubscriptionDetails:o[0]||(o[0]=e=>s.unref(t)({action:"view-subscription-details",data:{subscriptionId:e.subscriptionId}})),onViewAllSubscriptions:o[1]||(o[1]=e=>s.unref(t)({action:"view-all-subscriptions"})),onLoadMore:o[2]||(o[2]=e=>i.$emit("load-more"))},null,8,["customer","subscriptions","payment-methods","is-loading","show-view-all-button","show-view-details-button"])):s.createCommentVNode("",!0)}}});exports._sfc_main=h,exports.useSubscriptionsList=function({customerId:s,batchSize:i=15}){const o=t.createSubscriptionsService();return e.useIncrementalLoading({service:async e=>o.getActiveSubscriptions({customerId:s,pagination:{page:e,pageSize:i}})})};
|
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
import { u as useIncrementalLoading } from "./useIncrementalLoading-BK9pRYAU.mjs";
|
|
2
|
-
import { c as createSubscriptionsService } from "./subscriptions-DcMHBPVJ.mjs";
|
|
3
|
-
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createCommentVNode, createElementBlock, createSlots, Fragment, renderList } from "vue";
|
|
4
|
-
import { a as _sfc_main$6 } from "./Button.vue.es-Cm9pLU9i.mjs";
|
|
5
|
-
import { _ as _sfc_main$3 } from "./Section.vue.es-DX_9ueCG.mjs";
|
|
6
|
-
import { u as useIntl, _ as _sfc_main$4 } from "./customElements-B-89a5oH.mjs";
|
|
7
|
-
import { _ as _sfc_main$5 } from "./PaymentMethod.vue.es-rv-pu1CC.mjs";
|
|
8
|
-
import { g as getMostRecentPricingPlan, a as getSubscriptionName } from "./subscription-C41lG-rH.mjs";
|
|
9
|
-
import { _ as _sfc_main$7 } from "./Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs";
|
|
10
|
-
import { u as useActionDispatchProvider } from "./useActionDispatchProvider-BVOBO0Jx.mjs";
|
|
11
|
-
function useSubscriptionsList({
|
|
12
|
-
customerId,
|
|
13
|
-
batchSize: pageSize = 15
|
|
14
|
-
}) {
|
|
15
|
-
const subscriptionsService = createSubscriptionsService();
|
|
16
|
-
const service = async (page) => subscriptionsService.getActiveSubscriptions({
|
|
17
|
-
customerId,
|
|
18
|
-
pagination: { page, pageSize }
|
|
19
|
-
});
|
|
20
|
-
return useIncrementalLoading({ service });
|
|
21
|
-
}
|
|
22
|
-
const _hoisted_1$1 = { class: "sv-subscriptions-list__item-body flex flex-col gap-4 md:flex-row" };
|
|
23
|
-
const _hoisted_2 = { class: "sv-subscriptions-list__item-content grow" };
|
|
24
|
-
const _hoisted_3 = { class: "sv-subscriptions-list__item-meta mt-4 flex items-center gap-6" };
|
|
25
|
-
const _hoisted_4 = {
|
|
26
|
-
key: 1,
|
|
27
|
-
class: "sv-subscriptions-list__item-next-invoice flex gap-1"
|
|
28
|
-
};
|
|
29
|
-
const _hoisted_5 = { class: "sv-subscriptions-list__item-actions flex flex-col items-center gap-2 md:flex-row" };
|
|
30
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
31
|
-
__name: "SubscriptionsListItem",
|
|
32
|
-
props: {
|
|
33
|
-
subscription: { type: Object },
|
|
34
|
-
paymentMethod: { type: Object },
|
|
35
|
-
customer: { type: Object },
|
|
36
|
-
showViewSubscriptionDetailsButton: { type: Boolean, default: true }
|
|
37
|
-
},
|
|
38
|
-
emits: ["view-subscription-details"],
|
|
39
|
-
setup(__props) {
|
|
40
|
-
const props = __props;
|
|
41
|
-
const { $t } = useIntl();
|
|
42
|
-
const { formatDate } = useIntl();
|
|
43
|
-
const mostRecentPricingPlan = computed(() => getMostRecentPricingPlan(props.subscription));
|
|
44
|
-
const subscriptionName = computed(
|
|
45
|
-
() => getSubscriptionName({
|
|
46
|
-
subscription: props.subscription,
|
|
47
|
-
fallback: $t({
|
|
48
|
-
defaultMessage: "Subscription",
|
|
49
|
-
description: "The fallback name for when no subscription name can be determined",
|
|
50
|
-
id: "customer_overview.subscriptions_block.fallback_subscription_name"
|
|
51
|
-
})
|
|
52
|
-
})
|
|
53
|
-
);
|
|
54
|
-
const subscriptionDescription = computed(
|
|
55
|
-
() => {
|
|
56
|
-
var _a;
|
|
57
|
-
return (_a = mostRecentPricingPlan.value) == null ? void 0 : _a.description;
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
const isDetailButtonVisible = computed(() => props.showViewSubscriptionDetailsButton);
|
|
61
|
-
return (_ctx, _cache) => {
|
|
62
|
-
return openBlock(), createBlock(unref(_sfc_main$3), { class: "sv-subscriptions-list__item" }, {
|
|
63
|
-
default: withCtx(() => [
|
|
64
|
-
createElementVNode("div", _hoisted_1$1, [
|
|
65
|
-
createElementVNode("div", _hoisted_2, [
|
|
66
|
-
createVNode(unref(_sfc_main$4), {
|
|
67
|
-
tag: "h3",
|
|
68
|
-
variant: "heading-2",
|
|
69
|
-
class: "sv-subscriptions-list__item-title"
|
|
70
|
-
}, {
|
|
71
|
-
default: withCtx(() => [
|
|
72
|
-
createTextVNode(toDisplayString(subscriptionName.value), 1)
|
|
73
|
-
]),
|
|
74
|
-
_: 1
|
|
75
|
-
}),
|
|
76
|
-
subscriptionDescription.value ? (openBlock(), createBlock(unref(_sfc_main$4), {
|
|
77
|
-
key: 0,
|
|
78
|
-
variant: "body-sm",
|
|
79
|
-
tag: "span",
|
|
80
|
-
color: "subtle",
|
|
81
|
-
class: "sv-subscriptions-list__item-description"
|
|
82
|
-
}, {
|
|
83
|
-
default: withCtx(() => [
|
|
84
|
-
createTextVNode(toDisplayString(subscriptionDescription.value), 1)
|
|
85
|
-
]),
|
|
86
|
-
_: 1
|
|
87
|
-
})) : createCommentVNode("", true),
|
|
88
|
-
createElementVNode("div", _hoisted_3, [
|
|
89
|
-
__props.paymentMethod ? (openBlock(), createBlock(unref(_sfc_main$5), {
|
|
90
|
-
key: 0,
|
|
91
|
-
variant: "condensed",
|
|
92
|
-
class: "sv-payment-methods__item",
|
|
93
|
-
"payment-method": __props.paymentMethod
|
|
94
|
-
}, null, 8, ["payment-method"])) : createCommentVNode("", true),
|
|
95
|
-
__props.subscription.next_invoice ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
96
|
-
createVNode(unref(_sfc_main$4), {
|
|
97
|
-
tag: "span",
|
|
98
|
-
variant: "body-xs",
|
|
99
|
-
color: "secondary",
|
|
100
|
-
weight: "semibold"
|
|
101
|
-
}, {
|
|
102
|
-
default: withCtx(() => [
|
|
103
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
104
|
-
defaultMessage: "Next billing date",
|
|
105
|
-
description: "The label for the next billing date",
|
|
106
|
-
id: "customer.subscriptions_block.next_billing_date"
|
|
107
|
-
})), 1)
|
|
108
|
-
]),
|
|
109
|
-
_: 1
|
|
110
|
-
}),
|
|
111
|
-
createVNode(unref(_sfc_main$4), {
|
|
112
|
-
tag: "span",
|
|
113
|
-
variant: "body-xs",
|
|
114
|
-
color: "secondary"
|
|
115
|
-
}, {
|
|
116
|
-
default: withCtx(() => [
|
|
117
|
-
createTextVNode(toDisplayString(unref(formatDate)({
|
|
118
|
-
date: __props.subscription.next_invoice.invoice_date,
|
|
119
|
-
format: "date",
|
|
120
|
-
offsetType: "offsetted",
|
|
121
|
-
timezone: __props.customer.timezone
|
|
122
|
-
})), 1)
|
|
123
|
-
]),
|
|
124
|
-
_: 1
|
|
125
|
-
})
|
|
126
|
-
])) : createCommentVNode("", true)
|
|
127
|
-
])
|
|
128
|
-
]),
|
|
129
|
-
createElementVNode("div", _hoisted_5, [
|
|
130
|
-
isDetailButtonVisible.value ? (openBlock(), createBlock(unref(_sfc_main$6), {
|
|
131
|
-
key: 0,
|
|
132
|
-
intent: "primary",
|
|
133
|
-
class: "sv-action sv-action--primary sv-subscriptions-list__item-details w-full md:w-auto",
|
|
134
|
-
type: "button",
|
|
135
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("view-subscription-details", { subscriptionId: __props.subscription.id }))
|
|
136
|
-
}, {
|
|
137
|
-
default: withCtx(() => [
|
|
138
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
139
|
-
defaultMessage: "Subscription details",
|
|
140
|
-
description: "The label for the subscription details button in the subscriptions block",
|
|
141
|
-
id: "customer.subscriptions_block.show_details_button_label"
|
|
142
|
-
})), 1)
|
|
143
|
-
]),
|
|
144
|
-
_: 1
|
|
145
|
-
})) : createCommentVNode("", true)
|
|
146
|
-
])
|
|
147
|
-
])
|
|
148
|
-
]),
|
|
149
|
-
_: 1
|
|
150
|
-
});
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
const _hoisted_1 = {
|
|
155
|
-
key: 1,
|
|
156
|
-
class: "sv-subscriptions-list__items grid grid-cols-1 gap-4"
|
|
157
|
-
};
|
|
158
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
159
|
-
__name: "SubscriptionsList",
|
|
160
|
-
props: {
|
|
161
|
-
customer: { type: Object },
|
|
162
|
-
subscriptions: { type: Array },
|
|
163
|
-
paymentMethods: { default: () => [], type: Array },
|
|
164
|
-
isLoading: { type: Boolean },
|
|
165
|
-
showViewAllButton: { type: Boolean, default: true },
|
|
166
|
-
showViewDetailsButton: { type: Boolean, default: true }
|
|
167
|
-
},
|
|
168
|
-
emits: ["view-subscription-details", "view-all-subscriptions", "load-more"],
|
|
169
|
-
setup(__props) {
|
|
170
|
-
const props = __props;
|
|
171
|
-
const { $t } = useIntl();
|
|
172
|
-
const hasSubscriptions = computed(() => props.subscriptions.length > 0);
|
|
173
|
-
const getPaymentMethod = (paymentMethodId) => {
|
|
174
|
-
if (!paymentMethodId) return void 0;
|
|
175
|
-
return props.paymentMethods.find(({ id }) => id === paymentMethodId);
|
|
176
|
-
};
|
|
177
|
-
const isViewAllButtonVisible = computed(() => props.showViewAllButton);
|
|
178
|
-
return (_ctx, _cache) => {
|
|
179
|
-
return openBlock(), createBlock(unref(_sfc_main$3), {
|
|
180
|
-
class: "sv-subscriptions-list",
|
|
181
|
-
"no-spacing": "",
|
|
182
|
-
"no-border": "",
|
|
183
|
-
title: unref($t)(
|
|
184
|
-
{
|
|
185
|
-
defaultMessage: "{count, plural, one {My subscription} other {My subscriptions}}",
|
|
186
|
-
description: "Title for the subscriptions block on the customer overview page",
|
|
187
|
-
id: "customer_overview.subscriptions_block.title"
|
|
188
|
-
},
|
|
189
|
-
{ count: String(__props.subscriptions.length) }
|
|
190
|
-
)
|
|
191
|
-
}, createSlots({
|
|
192
|
-
default: withCtx(() => [
|
|
193
|
-
!hasSubscriptions.value ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
194
|
-
key: 0,
|
|
195
|
-
class: "sv-empty-state sv-subscriptions-list__empty"
|
|
196
|
-
}, {
|
|
197
|
-
default: withCtx(() => [
|
|
198
|
-
createVNode(unref(_sfc_main$4), {
|
|
199
|
-
tag: "h3",
|
|
200
|
-
variant: "heading-3"
|
|
201
|
-
}, {
|
|
202
|
-
default: withCtx(() => [
|
|
203
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
204
|
-
defaultMessage: "No subscriptions",
|
|
205
|
-
description: "Title for the my subscriptions block on the customer overview page",
|
|
206
|
-
id: "customer_overview.subscriptions_block.no_active_subscription_title"
|
|
207
|
-
})), 1)
|
|
208
|
-
]),
|
|
209
|
-
_: 1
|
|
210
|
-
}),
|
|
211
|
-
createVNode(unref(_sfc_main$4), {
|
|
212
|
-
variant: "body-xs",
|
|
213
|
-
color: "subtle"
|
|
214
|
-
}, {
|
|
215
|
-
default: withCtx(() => [
|
|
216
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
217
|
-
defaultMessage: "There’s no active subscription to display.",
|
|
218
|
-
description: "Text that is being displayed when there is no active subscription in the subscriptions block",
|
|
219
|
-
id: "customer_overview.subscriptions_block.no_active_subscription_content"
|
|
220
|
-
})), 1)
|
|
221
|
-
]),
|
|
222
|
-
_: 1
|
|
223
|
-
})
|
|
224
|
-
]),
|
|
225
|
-
_: 1
|
|
226
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
227
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.subscriptions, (subscription) => {
|
|
228
|
-
return openBlock(), createBlock(_sfc_main$2, {
|
|
229
|
-
key: subscription.id,
|
|
230
|
-
subscription,
|
|
231
|
-
"payment-method": getPaymentMethod(subscription.payment_method_id),
|
|
232
|
-
customer: __props.customer,
|
|
233
|
-
"show-view-subscription-details-button": __props.showViewDetailsButton,
|
|
234
|
-
onViewSubscriptionDetails: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("view-subscription-details", $event))
|
|
235
|
-
}, null, 8, ["subscription", "payment-method", "customer", "show-view-subscription-details-button"]);
|
|
236
|
-
}), 128))
|
|
237
|
-
]))
|
|
238
|
-
]),
|
|
239
|
-
_: 2
|
|
240
|
-
}, [
|
|
241
|
-
isViewAllButtonVisible.value ? {
|
|
242
|
-
name: "right",
|
|
243
|
-
fn: withCtx(() => [
|
|
244
|
-
createVNode(unref(_sfc_main$6), {
|
|
245
|
-
size: "sm",
|
|
246
|
-
intent: "subtle",
|
|
247
|
-
"icon-suffix": "arrow_right_alt",
|
|
248
|
-
class: "sv-action sv-action--ghost sv-subscriptions-list__view-all",
|
|
249
|
-
type: "button",
|
|
250
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("view-all-subscriptions"))
|
|
251
|
-
}, {
|
|
252
|
-
default: withCtx(() => [
|
|
253
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
254
|
-
defaultMessage: "View all",
|
|
255
|
-
description: "The text for the view all subscriptions button",
|
|
256
|
-
id: "customer_overview.subscriptions_block.view_all_button_label"
|
|
257
|
-
})), 1)
|
|
258
|
-
]),
|
|
259
|
-
_: 1
|
|
260
|
-
})
|
|
261
|
-
]),
|
|
262
|
-
key: "0"
|
|
263
|
-
} : void 0
|
|
264
|
-
]), 1032, ["title"]);
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
});
|
|
268
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
269
|
-
__name: "SubscriptionsList",
|
|
270
|
-
props: {
|
|
271
|
-
customer: { type: null },
|
|
272
|
-
subscriptions: { type: Array },
|
|
273
|
-
paymentMethods: { type: Array },
|
|
274
|
-
isLoading: { type: Boolean },
|
|
275
|
-
configuration: { type: Object }
|
|
276
|
-
},
|
|
277
|
-
emits: ["load-more"],
|
|
278
|
-
setup(__props) {
|
|
279
|
-
const { dispatchAction } = useActionDispatchProvider();
|
|
280
|
-
return (_ctx, _cache) => {
|
|
281
|
-
var _a, _b;
|
|
282
|
-
return __props.isLoading ? (openBlock(), createBlock(_sfc_main$7, {
|
|
283
|
-
key: 0,
|
|
284
|
-
variant: "section",
|
|
285
|
-
class: "sv-subscriptions-list sv-root sv-component sv-loading min-h-[100px]",
|
|
286
|
-
"data-testid": "subscriptions-list-skeleton"
|
|
287
|
-
})) : __props.customer ? (openBlock(), createBlock(_sfc_main$1, {
|
|
288
|
-
key: 1,
|
|
289
|
-
class: "sv-subscriptions-list sv-root sv-component",
|
|
290
|
-
customer: __props.customer,
|
|
291
|
-
subscriptions: __props.subscriptions,
|
|
292
|
-
"payment-methods": __props.paymentMethods,
|
|
293
|
-
"is-loading": __props.isLoading,
|
|
294
|
-
"show-view-all-button": (_a = __props.configuration) == null ? void 0 : _a.showViewAllButton,
|
|
295
|
-
"show-view-details-button": (_b = __props.configuration) == null ? void 0 : _b.showViewDetailsButton,
|
|
296
|
-
onViewSubscriptionDetails: _cache[0] || (_cache[0] = ($event) => unref(dispatchAction)({
|
|
297
|
-
action: "view-subscription-details",
|
|
298
|
-
data: { subscriptionId: $event.subscriptionId }
|
|
299
|
-
})),
|
|
300
|
-
onViewAllSubscriptions: _cache[1] || (_cache[1] = ($event) => unref(dispatchAction)({ action: "view-all-subscriptions" })),
|
|
301
|
-
onLoadMore: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("load-more"))
|
|
302
|
-
}, null, 8, ["customer", "subscriptions", "payment-methods", "is-loading", "show-view-all-button", "show-view-details-button"])) : createCommentVNode("", true);
|
|
303
|
-
};
|
|
304
|
-
}
|
|
305
|
-
});
|
|
306
|
-
export {
|
|
307
|
-
_sfc_main as _,
|
|
308
|
-
useSubscriptionsList as u
|
|
309
|
-
};
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, inject, provide, openBlock, createElementBlock, Fragment, createElementVNode, mergeProps, normalizeStyle, renderSlot, unref, createBlock, Teleport, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { u as useFloating, o as offset, f as flip, a as autoUpdate, _ as _export_sfc } from "./floating-ui.vue.es-DWY7pdz8.mjs";
|
|
3
|
-
import { T as TOOLTIP_PORTAL_NAME, f as TOOLTIP_DARK_MODE_INJECT_KEY, _ as _sfc_main$3 } from "./customElements-B-89a5oH.mjs";
|
|
4
|
-
const _hoisted_1$1 = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "mb-1 px-3"
|
|
7
|
-
};
|
|
8
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "Tooltip",
|
|
10
|
-
props: {
|
|
11
|
-
variant: { default: "default" },
|
|
12
|
-
placement: { default: "bottom-end" },
|
|
13
|
-
offset: { default: 4 },
|
|
14
|
-
maxWidth: { default: "xs" },
|
|
15
|
-
rootClass: {},
|
|
16
|
-
title: {},
|
|
17
|
-
isDarkMode: { type: Boolean }
|
|
18
|
-
},
|
|
19
|
-
setup(__props) {
|
|
20
|
-
const props = __props;
|
|
21
|
-
const triggerRef = ref();
|
|
22
|
-
const tooltipRef = ref(null);
|
|
23
|
-
const isVisible = ref(false);
|
|
24
|
-
const tooltipTeleportTarget = inject(TOOLTIP_PORTAL_NAME);
|
|
25
|
-
const { floatingStyles } = useFloating(triggerRef, tooltipRef, {
|
|
26
|
-
whileElementsMounted: autoUpdate,
|
|
27
|
-
placement: props.placement,
|
|
28
|
-
middleware: [offset(props.offset), flip()]
|
|
29
|
-
});
|
|
30
|
-
provide(TOOLTIP_DARK_MODE_INJECT_KEY, props.isDarkMode);
|
|
31
|
-
return (_ctx, _cache) => {
|
|
32
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
33
|
-
createElementVNode("span", mergeProps(_ctx.$attrs, {
|
|
34
|
-
ref_key: "triggerRef",
|
|
35
|
-
ref: triggerRef,
|
|
36
|
-
class: "relative leading-none",
|
|
37
|
-
onMouseenter: _cache[0] || (_cache[0] = ($event) => isVisible.value = true),
|
|
38
|
-
onMouseleave: _cache[1] || (_cache[1] = ($event) => isVisible.value = false)
|
|
39
|
-
}), [
|
|
40
|
-
createElementVNode("span", {
|
|
41
|
-
class: "absolute",
|
|
42
|
-
style: normalizeStyle({
|
|
43
|
-
inset: `-${__props.offset}px`
|
|
44
|
-
})
|
|
45
|
-
}, null, 4),
|
|
46
|
-
renderSlot(_ctx.$slots, "default")
|
|
47
|
-
], 16),
|
|
48
|
-
unref(tooltipTeleportTarget) ? (openBlock(), createBlock(Teleport, {
|
|
49
|
-
key: 0,
|
|
50
|
-
to: unref(tooltipTeleportTarget)
|
|
51
|
-
}, [
|
|
52
|
-
isVisible.value ? (openBlock(), createElementBlock("div", {
|
|
53
|
-
key: 0,
|
|
54
|
-
ref_key: "tooltipRef",
|
|
55
|
-
ref: tooltipRef,
|
|
56
|
-
style: normalizeStyle(unref(floatingStyles)),
|
|
57
|
-
class: normalizeClass(["z-70 border shadow-md", [
|
|
58
|
-
__props.rootClass,
|
|
59
|
-
`max-w-${__props.maxWidth}`,
|
|
60
|
-
{
|
|
61
|
-
"rounded border-gray-200 bg-white": !__props.isDarkMode,
|
|
62
|
-
"rounded border-gray-700 bg-gray-700": __props.isDarkMode
|
|
63
|
-
}
|
|
64
|
-
]]),
|
|
65
|
-
onMouseenter: _cache[2] || (_cache[2] = ($event) => isVisible.value = true),
|
|
66
|
-
onMouseleave: _cache[3] || (_cache[3] = ($event) => isVisible.value = false)
|
|
67
|
-
}, [
|
|
68
|
-
createElementVNode("div", {
|
|
69
|
-
class: normalizeClass(["rounded", {
|
|
70
|
-
"border-gray-50 bg-gray-50": __props.variant === "outline" && !__props.isDarkMode,
|
|
71
|
-
"border-gray-600 bg-gray-600": __props.variant === "outline" && __props.isDarkMode,
|
|
72
|
-
"border-4": __props.variant === "outline" && !__props.title,
|
|
73
|
-
"border-2": __props.variant === "outline" && __props.title,
|
|
74
|
-
"pt-0": !!__props.title
|
|
75
|
-
}])
|
|
76
|
-
}, [
|
|
77
|
-
__props.title ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
78
|
-
createVNode(_sfc_main$3, {
|
|
79
|
-
variant: "caps-heading",
|
|
80
|
-
color: "secondary",
|
|
81
|
-
class: normalizeClass({ "!text-gray-100": __props.isDarkMode }),
|
|
82
|
-
"no-spacing": ""
|
|
83
|
-
}, {
|
|
84
|
-
default: withCtx(() => [
|
|
85
|
-
createTextVNode(toDisplayString(__props.title), 1)
|
|
86
|
-
]),
|
|
87
|
-
_: 1
|
|
88
|
-
}, 8, ["class"])
|
|
89
|
-
])) : createCommentVNode("", true),
|
|
90
|
-
createElementVNode("div", {
|
|
91
|
-
class: normalizeClass(["rounded py-2", {
|
|
92
|
-
"bg-white": __props.variant === "outline" && !__props.isDarkMode,
|
|
93
|
-
"bg-gray-700": __props.variant === "outline" && __props.isDarkMode
|
|
94
|
-
}])
|
|
95
|
-
}, [
|
|
96
|
-
renderSlot(_ctx.$slots, "tooltip")
|
|
97
|
-
], 2)
|
|
98
|
-
], 2)
|
|
99
|
-
], 38)) : createCommentVNode("", true)
|
|
100
|
-
], 8, ["to"])) : createCommentVNode("", true)
|
|
101
|
-
], 64);
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
const _sfc_main$1 = {};
|
|
106
|
-
const _hoisted_1 = { class: "px-3" };
|
|
107
|
-
function _sfc_render(_ctx, _cache) {
|
|
108
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
109
|
-
renderSlot(_ctx.$slots, "default")
|
|
110
|
-
]);
|
|
111
|
-
}
|
|
112
|
-
const TooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render]]);
|
|
113
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
114
|
-
__name: "TooltipParagraph",
|
|
115
|
-
setup(__props) {
|
|
116
|
-
const isDarkMode = inject(TOOLTIP_DARK_MODE_INJECT_KEY);
|
|
117
|
-
return (_ctx, _cache) => {
|
|
118
|
-
return openBlock(), createBlock(unref(_sfc_main$3), {
|
|
119
|
-
tag: "p",
|
|
120
|
-
variant: "body-xs",
|
|
121
|
-
color: "secondary",
|
|
122
|
-
class: normalizeClass({ "!text-gray-200": unref(isDarkMode) })
|
|
123
|
-
}, {
|
|
124
|
-
default: withCtx(() => [
|
|
125
|
-
renderSlot(_ctx.$slots, "default")
|
|
126
|
-
]),
|
|
127
|
-
_: 3
|
|
128
|
-
}, 8, ["class"]);
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
export {
|
|
133
|
-
TooltipContent as T,
|
|
134
|
-
_sfc_main$2 as _,
|
|
135
|
-
_sfc_main as a
|
|
136
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),t=require("./floating-ui.vue.es-Bv94BfDm.js"),o=require("./customElements-DD7bpqkx.js"),a={key:0,class:"mb-1 px-3"},r=e.defineComponent({__name:"Tooltip",props:{variant:{default:"default"},placement:{default:"bottom-end"},offset:{default:4},maxWidth:{default:"xs"},rootClass:{},title:{},isDarkMode:{type:Boolean}},setup(r){const l=r,n=e.ref(),s=e.ref(null),i=e.ref(!1),d=e.inject(o.TOOLTIP_PORTAL_NAME),{floatingStyles:c}=t.useFloating(n,s,{whileElementsMounted:t.autoUpdate,placement:l.placement,middleware:[t.offset(l.offset),t.flip()]});return e.provide(o.TOOLTIP_DARK_MODE_INJECT_KEY,l.isDarkMode),(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("span",e.mergeProps(t.$attrs,{ref_key:"triggerRef",ref:n,class:"relative leading-none",onMouseenter:l[0]||(l[0]=e=>i.value=!0),onMouseleave:l[1]||(l[1]=e=>i.value=!1)}),[e.createElementVNode("span",{class:"absolute",style:e.normalizeStyle({inset:`-${r.offset}px`})},null,4),e.renderSlot(t.$slots,"default")],16),e.unref(d)?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(d)},[i.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:s,style:e.normalizeStyle(e.unref(c)),class:e.normalizeClass(["z-70 border shadow-md",[r.rootClass,`max-w-${r.maxWidth}`,{"rounded border-gray-200 bg-white":!r.isDarkMode,"rounded border-gray-700 bg-gray-700":r.isDarkMode}]]),onMouseenter:l[2]||(l[2]=e=>i.value=!0),onMouseleave:l[3]||(l[3]=e=>i.value=!1)},[e.createElementVNode("div",{class:e.normalizeClass(["rounded",{"border-gray-50 bg-gray-50":"outline"===r.variant&&!r.isDarkMode,"border-gray-600 bg-gray-600":"outline"===r.variant&&r.isDarkMode,"border-4":"outline"===r.variant&&!r.title,"border-2":"outline"===r.variant&&r.title,"pt-0":!!r.title}])},[r.title?(e.openBlock(),e.createElementBlock("div",a,[e.createVNode(o._sfc_main,{variant:"caps-heading",color:"secondary",class:e.normalizeClass({"!text-gray-100":r.isDarkMode}),"no-spacing":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:1},8,["class"])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["rounded py-2",{"bg-white":"outline"===r.variant&&!r.isDarkMode,"bg-gray-700":"outline"===r.variant&&r.isDarkMode}])},[e.renderSlot(t.$slots,"tooltip")],2)],2)],38)):e.createCommentVNode("",!0)],8,["to"])):e.createCommentVNode("",!0)],64))}}),l={},n={class:"px-3"};const s=t._export_sfc(l,[["render",function(t,o){return e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(t.$slots,"default")])}]]),i=e.defineComponent({__name:"TooltipParagraph",setup(t){const a=e.inject(o.TOOLTIP_DARK_MODE_INJECT_KEY);return(t,r)=>(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{tag:"p",variant:"body-xs",color:"secondary",class:e.normalizeClass({"!text-gray-200":e.unref(a)})},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["class"]))}});exports.TooltipContent=s,exports._sfc_main=r,exports._sfc_main$1=i;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { u as useTimePeriod } from "./PricingGroupRangeInput.vue.es-ButaePib.mjs";
|
|
3
|
-
import { _ as _sfc_main$1 } from "./Chip.vue.es-BBmn-qJp.mjs";
|
|
4
|
-
const convertDateRangeToTimePeriod = (startDate, endDate) => {
|
|
5
|
-
const start = new Date(startDate);
|
|
6
|
-
const end = new Date(endDate);
|
|
7
|
-
const yearDiff = end.getFullYear() - start.getFullYear();
|
|
8
|
-
const testYearDate = new Date(start);
|
|
9
|
-
testYearDate.setFullYear(testYearDate.getFullYear() + yearDiff);
|
|
10
|
-
if (yearDiff > 0 && testYearDate.getTime() === end.getTime()) {
|
|
11
|
-
return { type: "YEAR", value: yearDiff };
|
|
12
|
-
}
|
|
13
|
-
const monthDiff = (end.getFullYear() - start.getFullYear()) * 12 + (end.getMonth() - start.getMonth());
|
|
14
|
-
const testMonthDate = new Date(start);
|
|
15
|
-
testMonthDate.setMonth(testMonthDate.getMonth() + monthDiff);
|
|
16
|
-
if (monthDiff > 0 && testMonthDate.getTime() === end.getTime()) {
|
|
17
|
-
return { type: "MONTH", value: monthDiff };
|
|
18
|
-
}
|
|
19
|
-
const dayDiff = Math.round((end.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24));
|
|
20
|
-
if (dayDiff > 0 && dayDiff % 7 === 0) {
|
|
21
|
-
return { type: "WEEK", value: dayDiff / 7 };
|
|
22
|
-
}
|
|
23
|
-
return { type: "DAY", value: dayDiff };
|
|
24
|
-
};
|
|
25
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
26
|
-
__name: "TrialChip",
|
|
27
|
-
props: {
|
|
28
|
-
trialPeriod: {},
|
|
29
|
-
size: { default: "sm" }
|
|
30
|
-
},
|
|
31
|
-
setup(__props) {
|
|
32
|
-
const props = __props;
|
|
33
|
-
const { formatTimePeriod } = useTimePeriod();
|
|
34
|
-
const label = computed(() => {
|
|
35
|
-
if (typeof props.trialPeriod === "string") {
|
|
36
|
-
return props.trialPeriod;
|
|
37
|
-
}
|
|
38
|
-
return `${formatTimePeriod(props.trialPeriod, { short: true, singular: true })} trial`;
|
|
39
|
-
});
|
|
40
|
-
return (_ctx, _cache) => {
|
|
41
|
-
return openBlock(), createBlock(unref(_sfc_main$1), {
|
|
42
|
-
intent: "info",
|
|
43
|
-
size: __props.size
|
|
44
|
-
}, {
|
|
45
|
-
default: withCtx(() => [
|
|
46
|
-
createTextVNode(toDisplayString(label.value), 1)
|
|
47
|
-
]),
|
|
48
|
-
_: 1
|
|
49
|
-
}, 8, ["size"]);
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
export {
|
|
54
|
-
_sfc_main as _,
|
|
55
|
-
convertDateRangeToTimePeriod as c
|
|
56
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),t=require("./PricingGroupRangeInput.vue.es-Cls2lm80.js"),r=require("./Chip.vue.es-DmCjC1hi.js"),i=e.defineComponent({__name:"TrialChip",props:{trialPeriod:{},size:{default:"sm"}},setup(i){const n=i,{formatTimePeriod:a}=t.useTimePeriod(),o=e.computed(()=>"string"==typeof n.trialPeriod?n.trialPeriod:`${a(n.trialPeriod,{short:!0,singular:!0})} trial`);return(t,n)=>(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{intent:"info",size:i.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["size"]))}});exports._sfc_main=i,exports.convertDateRangeToTimePeriod=(e,t)=>{const r=new Date(e),i=new Date(t),n=i.getFullYear()-r.getFullYear(),a=new Date(r);if(a.setFullYear(a.getFullYear()+n),n>0&&a.getTime()===i.getTime())return{type:"YEAR",value:n};const o=12*(i.getFullYear()-r.getFullYear())+(i.getMonth()-r.getMonth()),u=new Date(r);if(u.setMonth(u.getMonth()+o),o>0&&u.getTime()===i.getTime())return{type:"MONTH",value:o};const l=Math.round((i.getTime()-r.getTime())/864e5);return l>0&&l%7==0?{type:"WEEK",value:l/7}:{type:"DAY",value:l}};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const accel = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23f26b21'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M9.04%2016.6c.71%200%201.21.28%201.57.64.32.36.53.93.46%201.5l-1%206.54q-.05.37-.29.74a2%202%200%200%201-.57.65%203%203%200%200%201-.82.46%203%203%200%200%201-.85.14H6.07a2%202%200%200%201-1.57-.64%201.8%201.8%200%200%201-.47-1.5l.3-2.21c.06-.57.13-1%20.53-1.47.35-.35.85-.6%201.53-.6h2.82l.36-2.22a.6.6%200%200%200-.18-.53c-.1-.11-.21-.18-.5-.18H7.46c-.28%200-.42.1-.57.21-.18.14-.25.32-.32.5%200%200-.14.57-.53.57h-.58c-.39%200-.46-.32-.42-.46q.06-.44.28-.82c.14-.25.36-.54.6-.72q.33-.26.76-.42c.28-.11.68-.18.96-.18zm-2.61%205.53c-.25%200-.36.07-.46.18q-.15.2-.18.6l-.29%202.3c-.04.31.14.7.64.7h1.43c.29%200%20.5-.1.64-.2.29-.26.32-.5.32-.5L9%2022.12z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M16.04%2016.63c.6%200%201.14.18%201.57.65q.55.53.46%201.5c0%20.35-.28.42-.46.42h-.57c-.54%200-.43-.57-.43-.57a.7.7%200%200%200-.15-.53q-.14-.17-.5-.18h-1.42a1%201%200%200%200-.61.21q-.32.28-.32.5l-1%206.6a.5.5%200%200%200%20.14.5.7.7%200%200%200%20.5.22h1.43a1%201%200%200%200%20.6-.21c.15-.14.3-.29.33-.5%200-.01.1-.57.53-.57h.57c.4%200%20.47.28.47.46a2.4%202.4%200%200%201-.89%201.54q-.34.27-.79.43a3%203%200%200%201-.93.17h-1.43q-1.03%200-1.57-.6a1.8%201.8%200%200%201-.5-1.5l.97-6.4c.03-.28.18-.6.28-.82.14-.25.36-.5.57-.67a4%204%200%200%201%20.79-.47c.25-.1.6-.18.93-.18z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M30.25%2016.6c.71%200%201.21.28%201.57.64.32.4.54.86.47%201.46l-.22%201.79c-.07.57-.14%201-.53%201.46a2%202%200%200%201-1.54.61h-2.86l-.39%202.64a.6.6%200%200%200%20.18.54c.1.1.21.18.5.18h1.43c.28%200%20.43-.07.57-.18.18-.14.25-.32.32-.5%200%200%20.14-.57.54-.57h.57c.39%200%20.46.32.43.46a2%202%200%200%201-.29.82c-.14.25-.36.54-.6.72a3%203%200%200%201-.76.43%203%203%200%200%201-.96.17h-1.4a2%202%200%200%201-1.57-.64%202%202%200%200%201-.46-1.5l.4-2.6h-.26c-.28%200-.46.14-.57.2a.9.9%200%200%200-.4.72c0%20.25-.06.36-.5.36h-.5c-.45%200-.5-.36-.46-.46q.04-.35.29-.83.28-.4.6-.67c.26-.22.58-.36.8-.43.28-.07.57-.15.78-.15h.43l.39-2.67q.06-.37.29-.75c.23-.38.35-.47.57-.65.21-.17.53-.35.82-.46a3%203%200%200%201%20.86-.14zm-.1%201.35H28.7c-.28%200-.5.11-.64.22-.28.25-.32.5-.32.5l-.4%202.64h2.54c.25%200%20.36-.07.47-.18q.14-.2.18-.6l.21-1.9c.07-.32-.14-.71-.6-.68'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23fff'%20d='M35.53%2012.06c.22%200%20.5.1.47.47L33.86%2026.8c-.07.4-.36.47-.5.47h-.58c-.39%200-.46-.3-.46-.47l2.14-14.28c.04-.18.15-.47.5-.47zM23.18%2016.6c.6%200%201.14.17%201.57.64q.55.6.46%201.5c-.07.4-.35.46-.5.43h-.57c-.53%200-.43-.56-.43-.57q.04-.37-.14-.54c-.18-.17-.25-.18-.5-.18h-1.43c-.25%200-.43.11-.6.22a1%201%200%200%200-.33.5l-1%206.6a.5.5%200%200%200%20.15.5c.14.18.35.22.5.22h1.42a1%201%200%200%200%20.61-.22%201%201%200%200%200%20.32-.5c0-.01.12-.57.54-.57h.57c.43%200%20.5.32.46.47-.03.35-.17.64-.32.89s-.35.46-.57.64a3%203%200%200%201-.78.43%203%203%200%200%201-.93.18h-1.43q-1.02-.02-1.57-.6a1.8%201.8%200%200%201-.5-1.5l1-6.4a2%202%200%200%201%20.28-.82%202.6%202.6%200%200%201%201.36-1.15c.25-.1.6-.17.93-.17z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
-
export {
|
|
3
|
-
accel as default
|
|
4
|
-
};
|