@solvimon/solvimon-web 0.1.0-alpha.2 → 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/README.md +244 -49
- 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-BKgQTCtc.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-DGJ_PiVq.js +1 -0
- 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-DqqGcEP1.js +1 -0
- 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-BQ5TVHlS.js +1 -0
- 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-DjnGlmqV.mjs +3028 -0
- 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.ce.d.ts +1 -3
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -0
- package/dist/components/BillingInformation/BillingInformation.mjs +81 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +447 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +86 -0
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
- package/dist/components/Invoice/Invoice.cjs +1 -0
- package/dist/components/Invoice/Invoice.mjs +477 -0
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -0
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +107 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +68 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -0
- package/dist/components/InvoicesList/InvoicesList.mjs +86 -0
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -0
- package/dist/components/PaymentHistory/PaymentHistory.mjs +111 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +96 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +84 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +92 -0
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -0
- package/dist/components/WalletBalances/WalletBalances.mjs +113 -0
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/configuration-akTS7Wiw.js +1 -0
- package/dist/core/action-request.types.d.ts +1 -58
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/index.cjs +1 -0
- package/dist/core/index.d.ts +1 -10
- package/dist/core/index.mjs +182 -0
- package/dist/core/registry.ce.d.ts +1 -2
- package/dist/core/registry.d.ts +1 -6
- package/dist/core/types.d.ts +1 -111
- package/dist/countryData.es-BegoD-cZ.mjs +252 -0
- 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-CVCmzlNH.mjs +266 -0
- package/dist/de-DE-DBO5f-Eu.mjs +281 -0
- package/dist/de-DE-DqLD4IX2.js +1 -0
- 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-3UmnS23B.mjs +281 -0
- package/dist/en-US-C51ILrVv.js +1 -0
- package/dist/en-US-CvFmmI_O.js +1 -0
- package/dist/en-US-DVR9O7b_.mjs +266 -0
- 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 -0
- package/dist/index.d.ts +1 -15
- package/dist/index.es-BclokHQX.js +1 -0
- package/dist/index.es-CXkP_k3u.mjs +345 -0
- package/dist/index.mjs +42 -0
- package/dist/invoices-CV9iAUHf.mjs +115 -0
- package/dist/invoices-CvpL4rv5.js +1 -0
- package/dist/it-IT-CDMnnFKZ.mjs +266 -0
- package/dist/it-IT-CFEfSpPH.js +1 -0
- package/dist/it-IT-CxBRisRm.mjs +281 -0
- 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-BWGkVweu.mjs +296 -0
- package/dist/nl-NL-Btbfd9p2.js +1 -0
- package/dist/nl-NL-jtVgF3jx.js +1 -0
- package/dist/nl-NL-o3UvtSNg.mjs +266 -0
- 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.ce.d.ts +1 -3
- package/dist/screens/Checkout/Checkout.cjs +1 -0
- package/dist/screens/Checkout/Checkout.mjs +5 -0
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -0
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +149 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +533 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +210 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +771 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +618 -0
- 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/InvoiceTable/InvoiceTable.types.d.ts +19 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +8 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +32 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +12 -0
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +14 -0
- package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +74 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +9 -0
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +21 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +10 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +11 -0
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +81 -0
- package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +62 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +53 -0
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
- package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +8 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +10 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +22 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +12 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +32 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +70 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +21 -0
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +18 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +9 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/index.d.ts +9 -0
- package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
- package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
- package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
- package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +7 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +65 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +12 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +47 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +28 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +33 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -0
- package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +56 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
- package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
- package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +23 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +11 -0
- package/dist/types/components/wallets/WalletModalShell.types.d.ts +24 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +9 -0
- package/dist/types/config/config.beta.d.ts +2 -0
- package/dist/types/config/config.dev.d.ts +2 -0
- package/dist/types/config/config.live.d.ts +2 -0
- package/dist/types/config/internalEnvironments.d.ts +11 -0
- package/dist/types/config/internalEnvironments.published.d.ts +7 -0
- package/dist/types/config/lib.d.ts +6 -0
- package/dist/types/config/types.d.ts +13 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +12 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +22 -0
- package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +26 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +9 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +16 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +37 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +10 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +45 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +9 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +5 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
- package/dist/types/public/core/action-request.types.d.ts +55 -0
- package/dist/types/public/core/configuration.d.ts +3 -0
- package/dist/types/public/core/index.d.ts +14 -0
- package/dist/types/public/core/registry.ce.d.ts +8 -0
- package/dist/types/public/core/registry.d.ts +6 -0
- package/dist/types/public/core/types.d.ts +120 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +18 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +23 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
- package/dist/types/public/screens/types.d.ts +4 -0
- package/dist/types/public/types/index.d.ts +23 -0
- package/dist/types/services/invoices.types.d.ts +26 -0
- package/dist/types/services/paymentMethods.types.d.ts +31 -0
- package/dist/types/services/portals.types.d.ts +68 -0
- package/dist/types/services/requests.types.d.ts +24 -0
- package/dist/types/translations/supported.d.ts +1 -0
- package/dist/types/types/EntryBaseProps.d.ts +10 -0
- package/dist/types/types/errors.d.ts +7 -0
- package/dist/types/types/subscription.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +111 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +77 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +39 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +367 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +349 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +120 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +118 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +58 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +130 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +103 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +80 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +60 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +43 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +93 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +65 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +95 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -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 +112 -61
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs +0 -56
- package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
- package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs +0 -85
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs +0 -90
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs +0 -63
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs +0 -373
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/auto-DzZuCneB.mjs +0 -14387
- package/dist/auto-PpnAChnH.js +0 -6
- package/dist/cloneDeep-DranHQkY.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/component-DEo_ndpK.mjs +0 -58668
- package/dist/component-XHQYFLA_.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +0 -98
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +0 -584
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/Invoice/Invoice.es.js +0 -582
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +0 -129
- package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +0 -104
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +0 -133
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +0 -120
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -45
- package/dist/invoices-BW1notiX.js +0 -1
- package/dist/invoices-M5oYVch6.mjs +0 -84
- package/dist/paymentMethods-BX80t2zk.js +0 -1
- package/dist/paymentMethods-CqKUfc3w.mjs +0 -65
- package/dist/payments-BHv4hCeJ.js +0 -1
- package/dist/payments-CosaPZwo.mjs +0 -47
- package/dist/registry-BwKEYOf7.js +0 -1
- package/dist/registry-Cag1Jj7P.mjs +0 -143
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/Checkout/Checkout.es.js +0 -5142
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
- package/dist/solvimon-web.css +0 -1
- package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
- package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
- package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
- package/dist/subscriptions-CnxvsBXd.js +0 -1
- package/dist/useActionDispatchProvider-CgRcOqv3.mjs +0 -12
- package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
- package/dist/useCustomer-B0NK96dA.js +0 -1
- package/dist/useCustomer-DlcjY3fP.mjs +0 -45
- package/dist/useCustomerPaymentMethodOptions-BzEquyUV.mjs +0 -169
- package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
- package/dist/useIncrementalLoading-C7ToTmZK.mjs +0 -71
- package/dist/useIncrementalLoading-D60Vttil.js +0 -1
- package/dist/useInvoiceData-CcueV3We.mjs +0 -51
- package/dist/useInvoiceData-DstXfI7t.js +0 -1
- package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
- package/dist/useInvoicesList-DmzjgMlW.js +0 -1
- package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
- package/dist/useLoadInitialData-Dm48tlSO.mjs +0 -13
- package/dist/usePaymentMethods-DCGVRXA4.js +0 -1
- package/dist/usePaymentMethods-Db-1R6rI.mjs +0 -16
- package/dist/useService-B4qv5N2D.mjs +0 -281
- package/dist/useService-D-CUtlp3.js +0 -1
- package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
- package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
|
@@ -0,0 +1,769 @@
|
|
|
1
|
+
import { defineComponent as $, createPropsRestProxy as J, computed as _, openBlock as r, createBlock as f, unref as l, mergeProps as Q, withCtx as p, createTextVNode as x, toDisplayString as V, useModel as M, ref as q, onMounted as W, watch as Z, createSlots as G, createVNode as y, normalizeClass as T, createElementVNode as P, createCommentVNode as k, renderSlot as ee, mergeModels as E, createElementBlock as h, Fragment as A, renderList as C, toRef as D } from "vue";
|
|
2
|
+
import { _ as N } from "./Section.vue.es-By1JltGi.mjs";
|
|
3
|
+
import { _ as z, u as B } from "./customElements-Com2NiGU.mjs";
|
|
4
|
+
import { u as I } from "./useTimePeriod.es-9tZvAhyb.mjs";
|
|
5
|
+
import { f as L } from "./formatting.es-RclXHhKo.mjs";
|
|
6
|
+
import { _ as te } from "./Expand.vue.es-BleuAfDz.mjs";
|
|
7
|
+
import { a as ne, _ as F } from "./Button.vue.es-VQCd3V3C.mjs";
|
|
8
|
+
import { a as j } from "./IconButton.vue.es-DAR7e8NA.mjs";
|
|
9
|
+
import { _ as ie } from "./Input.vue.es-AY1c0Rui.mjs";
|
|
10
|
+
import { _ as ae } from "./Chip.vue.es-CXG8o1Qf.mjs";
|
|
11
|
+
import { F as le, _ as Y } from "./Checkout.entry.ce-DRHqEFd7.mjs";
|
|
12
|
+
import { _ as oe } from "./index-BPU8tIml.mjs";
|
|
13
|
+
import { u as X, a as H, _ as se } from "./PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-skQMgHEL.mjs";
|
|
14
|
+
import { g as K } from "./pricing-DLOeiAIB.mjs";
|
|
15
|
+
import { g as re } from "./pricingPlanSchedule-J1nb9pCu.mjs";
|
|
16
|
+
import { c as de } from "./subscription-CvfAEJeP.mjs";
|
|
17
|
+
const ue = /* @__PURE__ */ $({
|
|
18
|
+
__name: "DeltaChip",
|
|
19
|
+
props: {
|
|
20
|
+
oldValue: {},
|
|
21
|
+
newValue: {},
|
|
22
|
+
intent: { default: "neutral" },
|
|
23
|
+
content: {},
|
|
24
|
+
removable: { type: Boolean },
|
|
25
|
+
size: {},
|
|
26
|
+
variant: {},
|
|
27
|
+
textClass: {},
|
|
28
|
+
tag: {},
|
|
29
|
+
hasChipBefore: { type: Boolean },
|
|
30
|
+
hasChipAfter: { type: Boolean }
|
|
31
|
+
},
|
|
32
|
+
setup(e) {
|
|
33
|
+
const n = J(e, ["oldValue", "newValue", "intent"]), t = _(() => {
|
|
34
|
+
const i = e.newValue - e.oldValue;
|
|
35
|
+
return `${i >= 0 ? "+" : ""}${i}`;
|
|
36
|
+
});
|
|
37
|
+
return (i, u) => (r(), f(l(ae), Q(n, {
|
|
38
|
+
intent: e.intent,
|
|
39
|
+
class: "pointer-events-none select-none"
|
|
40
|
+
}), {
|
|
41
|
+
default: p(() => [
|
|
42
|
+
x(V(t.value), 1)
|
|
43
|
+
]),
|
|
44
|
+
_: 1
|
|
45
|
+
}, 16, ["intent"]));
|
|
46
|
+
}
|
|
47
|
+
}), ce = { class: "flex items-center gap-1.5" }, me = /* @__PURE__ */ $({
|
|
48
|
+
__name: "StepInput",
|
|
49
|
+
props: /* @__PURE__ */ E({
|
|
50
|
+
step: { default: 1 },
|
|
51
|
+
min: { default: 0 },
|
|
52
|
+
max: {},
|
|
53
|
+
initialValue: { default: 1 },
|
|
54
|
+
unitName: {},
|
|
55
|
+
showDelta: { type: Boolean, default: !1 },
|
|
56
|
+
size: { default: "md" },
|
|
57
|
+
name: {},
|
|
58
|
+
required: { type: Boolean },
|
|
59
|
+
label: {},
|
|
60
|
+
error: {},
|
|
61
|
+
disabled: { type: Boolean, default: !1 }
|
|
62
|
+
}, {
|
|
63
|
+
modelValue: { required: !0 },
|
|
64
|
+
modelModifiers: {}
|
|
65
|
+
}),
|
|
66
|
+
emits: ["update:modelValue"],
|
|
67
|
+
setup(e) {
|
|
68
|
+
const n = e, t = M(e, "modelValue"), i = q(null), u = _(() => {
|
|
69
|
+
if (n.unitName)
|
|
70
|
+
return n.unitName[t.value === 1 ? "singular" : "plural"];
|
|
71
|
+
}), d = () => {
|
|
72
|
+
n.max && t.value + n.step > n.max || (t.value += n.step);
|
|
73
|
+
}, c = () => {
|
|
74
|
+
t.value - n.step < n.min || (t.value -= n.step);
|
|
75
|
+
};
|
|
76
|
+
function o(b) {
|
|
77
|
+
var v;
|
|
78
|
+
const w = (v = i.value) == null ? void 0 : v.el;
|
|
79
|
+
if (!w) return;
|
|
80
|
+
const S = parseInt(`${b}`);
|
|
81
|
+
t.value = S, w.innerText = `${S}`, w.focus();
|
|
82
|
+
const U = document.createRange();
|
|
83
|
+
U.selectNodeContents(w), U.collapse(!1);
|
|
84
|
+
const O = window.getSelection();
|
|
85
|
+
O == null || O.removeAllRanges(), O == null || O.addRange(U);
|
|
86
|
+
}
|
|
87
|
+
const m = (b) => {
|
|
88
|
+
const v = b.target;
|
|
89
|
+
v instanceof HTMLElement && o(v.innerText);
|
|
90
|
+
}, a = _(() => n.disabled ? !1 : n.max ? t.value + n.step < n.max : !0), s = _(() => n.disabled ? !1 : t.value - n.step >= n.min);
|
|
91
|
+
function g() {
|
|
92
|
+
var b;
|
|
93
|
+
const v = (b = i.value) == null ? void 0 : b.el;
|
|
94
|
+
if (!v) return;
|
|
95
|
+
v.focus();
|
|
96
|
+
const w = document.createRange();
|
|
97
|
+
w.selectNodeContents(v);
|
|
98
|
+
const S = window.getSelection();
|
|
99
|
+
S == null || S.removeAllRanges(), S == null || S.addRange(w);
|
|
100
|
+
}
|
|
101
|
+
return W(() => {
|
|
102
|
+
var b;
|
|
103
|
+
const v = (b = i.value) == null ? void 0 : b.el;
|
|
104
|
+
v && (v.innerText = `${t.value}`);
|
|
105
|
+
}), Z(
|
|
106
|
+
() => t.value,
|
|
107
|
+
(b) => {
|
|
108
|
+
o(b);
|
|
109
|
+
}
|
|
110
|
+
), (b, v) => (r(), f(ie, {
|
|
111
|
+
modelValue: t.value,
|
|
112
|
+
"onUpdate:modelValue": v[0] || (v[0] = (w) => t.value = w),
|
|
113
|
+
type: "number",
|
|
114
|
+
class: "text-transparent [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
|
|
115
|
+
"prefix-class": {
|
|
116
|
+
"!px-0 w-5": e.size === "sm",
|
|
117
|
+
"!px-0 w-6": e.size === "md",
|
|
118
|
+
"!px-0 w-7": e.size === "lg"
|
|
119
|
+
},
|
|
120
|
+
"suffix-class": {
|
|
121
|
+
"!px-0 w-5": e.size === "sm",
|
|
122
|
+
"!px-0 w-6": e.size === "md",
|
|
123
|
+
"!px-0 w-7": e.size === "lg"
|
|
124
|
+
},
|
|
125
|
+
size: e.size,
|
|
126
|
+
label: e.label,
|
|
127
|
+
disabled: e.disabled,
|
|
128
|
+
name: e.name,
|
|
129
|
+
required: e.required
|
|
130
|
+
}, G({
|
|
131
|
+
prefix: p(() => [
|
|
132
|
+
P("div", {
|
|
133
|
+
class: "absolute inset-0 flex items-center justify-center",
|
|
134
|
+
onMousedown: g
|
|
135
|
+
}, [
|
|
136
|
+
P("div", ce, [
|
|
137
|
+
y(z, {
|
|
138
|
+
ref_key: "contentEditableRef",
|
|
139
|
+
ref: i,
|
|
140
|
+
tag: "span",
|
|
141
|
+
variant: e.size === "sm" ? "body" : "body-lg",
|
|
142
|
+
contenteditable: !e.disabled,
|
|
143
|
+
class: T(["outline-none", { "pointer-events-none select-none": e.disabled }]),
|
|
144
|
+
weight: "semibold",
|
|
145
|
+
onInput: m
|
|
146
|
+
}, null, 8, ["variant", "contenteditable", "class"]),
|
|
147
|
+
u.value ? (r(), f(z, {
|
|
148
|
+
key: 0,
|
|
149
|
+
tag: "span",
|
|
150
|
+
color: "subtle",
|
|
151
|
+
class: "pointer-events-none select-none"
|
|
152
|
+
}, {
|
|
153
|
+
default: p(() => [
|
|
154
|
+
x(V(" ") + V(u.value), 1)
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
})) : k("", !0),
|
|
158
|
+
e.showDelta ? (r(), f(ue, {
|
|
159
|
+
key: 1,
|
|
160
|
+
"old-value": n.initialValue,
|
|
161
|
+
"new-value": t.value,
|
|
162
|
+
class: "pointer-events-none ml-0.5 select-none"
|
|
163
|
+
}, null, 8, ["old-value", "new-value"])) : k("", !0)
|
|
164
|
+
])
|
|
165
|
+
], 32),
|
|
166
|
+
y(j, {
|
|
167
|
+
disabled: !s.value,
|
|
168
|
+
type: "button",
|
|
169
|
+
intent: "subtle",
|
|
170
|
+
size: "sm",
|
|
171
|
+
class: T(["!h-full select-none rounded-br-none rounded-tr-none", { "!w-7": e.size === "lg", "!w-5": e.size === "sm", "!w-6": e.size === "md" }]),
|
|
172
|
+
icon: "remove",
|
|
173
|
+
onMousedown: c
|
|
174
|
+
}, null, 8, ["disabled", "class"])
|
|
175
|
+
]),
|
|
176
|
+
suffix: p(() => [
|
|
177
|
+
y(j, {
|
|
178
|
+
disabled: !a.value,
|
|
179
|
+
type: "button",
|
|
180
|
+
intent: "subtle",
|
|
181
|
+
size: "sm",
|
|
182
|
+
class: T(["!h-full select-none rounded-bl-none rounded-tl-none", { "!w-7": e.size === "lg", "!w-5": e.size === "sm", "!w-6": e.size === "md" }]),
|
|
183
|
+
icon: "add",
|
|
184
|
+
onMousedown: d
|
|
185
|
+
}, null, 8, ["disabled", "class"])
|
|
186
|
+
]),
|
|
187
|
+
_: 2
|
|
188
|
+
}, [
|
|
189
|
+
b.$slots.helper ? {
|
|
190
|
+
name: "helper",
|
|
191
|
+
fn: p(() => [
|
|
192
|
+
ee(b.$slots, "helper")
|
|
193
|
+
]),
|
|
194
|
+
key: "0"
|
|
195
|
+
} : void 0
|
|
196
|
+
]), 1032, ["modelValue", "prefix-class", "suffix-class", "size", "label", "disabled", "name", "required"]));
|
|
197
|
+
}
|
|
198
|
+
}), pe = { class: "grid grid-cols-2 gap-2" }, ge = /* @__PURE__ */ $({
|
|
199
|
+
__name: "TieredTableRow",
|
|
200
|
+
props: {
|
|
201
|
+
band: { type: Object },
|
|
202
|
+
previousBand: { type: Object },
|
|
203
|
+
isFirst: { type: Boolean },
|
|
204
|
+
period: { type: Object }
|
|
205
|
+
},
|
|
206
|
+
setup(e) {
|
|
207
|
+
const n = e, { $t: t } = B(), { formatTimePeriod: i } = I(), u = _(() => {
|
|
208
|
+
var c;
|
|
209
|
+
if (n.isFirst)
|
|
210
|
+
return "0";
|
|
211
|
+
if ((c = n.previousBand) != null && c.tier_top_bound && "number" in n.previousBand.tier_top_bound)
|
|
212
|
+
return n.previousBand.tier_top_bound.number;
|
|
213
|
+
}), d = _(() => {
|
|
214
|
+
if (!(!n.band.tier_top_bound || !("number" in n.band.tier_top_bound)))
|
|
215
|
+
return n.band.tier_top_bound.number;
|
|
216
|
+
});
|
|
217
|
+
return (c, o) => (r(), h("div", pe, [
|
|
218
|
+
y(l(z), {
|
|
219
|
+
variant: "body-xs",
|
|
220
|
+
color: "subtle",
|
|
221
|
+
tag: "div"
|
|
222
|
+
}, {
|
|
223
|
+
default: p(() => [
|
|
224
|
+
d.value ? (r(), h(A, { key: 0 }, [
|
|
225
|
+
x(V(l(t)(
|
|
226
|
+
{
|
|
227
|
+
defaultMessage: "{lower_bound} - {upper_bound} seats",
|
|
228
|
+
id: "seats.tiered_range_label",
|
|
229
|
+
description: "The label showing the seat count range for a tiered pricing tier"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
lower_bound: u.value ?? "0",
|
|
233
|
+
upper_bound: d.value
|
|
234
|
+
}
|
|
235
|
+
)), 1)
|
|
236
|
+
], 64)) : (r(), h(A, { key: 1 }, [
|
|
237
|
+
x(V(l(t)(
|
|
238
|
+
{
|
|
239
|
+
defaultMessage: "> {lower_bound} seats",
|
|
240
|
+
id: "seats.tiered_unbounded_range_label",
|
|
241
|
+
description: "The label showing the unbounded seat count range (greater than) for a tiered pricing tier"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
lower_bound: u.value ?? "0"
|
|
245
|
+
}
|
|
246
|
+
)), 1)
|
|
247
|
+
], 64))
|
|
248
|
+
]),
|
|
249
|
+
_: 1
|
|
250
|
+
}),
|
|
251
|
+
y(l(z), {
|
|
252
|
+
variant: "body-xs",
|
|
253
|
+
color: "subtle",
|
|
254
|
+
tag: "div",
|
|
255
|
+
class: "text-right"
|
|
256
|
+
}, {
|
|
257
|
+
default: p(() => [
|
|
258
|
+
x(V(e.band.amount && l(t)(
|
|
259
|
+
{
|
|
260
|
+
defaultMessage: "{amount} per seat/{period}",
|
|
261
|
+
id: "seats.tiered_price_per_seat_period",
|
|
262
|
+
description: "The price per seat and billing period label for a tiered pricing tier"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
amount: l(L)(e.band.amount),
|
|
266
|
+
period: e.period ? l(i)(e.period, {
|
|
267
|
+
short: !0,
|
|
268
|
+
hideValueForExactPeriods: !0
|
|
269
|
+
}) : ""
|
|
270
|
+
}
|
|
271
|
+
)), 1)
|
|
272
|
+
]),
|
|
273
|
+
_: 1
|
|
274
|
+
})
|
|
275
|
+
]));
|
|
276
|
+
}
|
|
277
|
+
}), fe = { class: "grid grid-cols-1 gap-0.5 pt-1.5" }, be = /* @__PURE__ */ $({
|
|
278
|
+
__name: "TieredTable",
|
|
279
|
+
props: {
|
|
280
|
+
bands: { type: Array },
|
|
281
|
+
period: { type: Object }
|
|
282
|
+
},
|
|
283
|
+
setup(e) {
|
|
284
|
+
return (n, t) => (r(), h("div", fe, [
|
|
285
|
+
(r(!0), h(A, null, C(e.bands, (i, u) => (r(), f(ge, {
|
|
286
|
+
key: u,
|
|
287
|
+
band: i,
|
|
288
|
+
"is-first": u === 0,
|
|
289
|
+
"previous-band": u > 0 ? e.bands[u - 1] : void 0,
|
|
290
|
+
period: e.period
|
|
291
|
+
}, null, 8, ["band", "is-first", "previous-band", "period"]))), 128))
|
|
292
|
+
]));
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
function ve({
|
|
296
|
+
pricings: e,
|
|
297
|
+
pricingItemConfigId: n
|
|
298
|
+
}) {
|
|
299
|
+
var d, c;
|
|
300
|
+
const t = e.flatMap((o) => o.items ?? []).find((o) => {
|
|
301
|
+
var m;
|
|
302
|
+
return (m = o.configs) == null ? void 0 : m.some((a) => a.id === n);
|
|
303
|
+
}), i = (d = t == null ? void 0 : t.configs) == null ? void 0 : d.find((o) => o.id === n), u = (c = t == null ? void 0 : t.product_items) == null ? void 0 : c[0];
|
|
304
|
+
return {
|
|
305
|
+
config: i,
|
|
306
|
+
productItem: u
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
function ye({
|
|
310
|
+
pricings: e,
|
|
311
|
+
pricingItemConfigId: n
|
|
312
|
+
}) {
|
|
313
|
+
return _(() => {
|
|
314
|
+
var u, d, c, o, m, a, s, g;
|
|
315
|
+
const { config: t, productItem: i } = ve({
|
|
316
|
+
pricings: e,
|
|
317
|
+
pricingItemConfigId: n
|
|
318
|
+
});
|
|
319
|
+
return {
|
|
320
|
+
billing: {
|
|
321
|
+
period: (d = (u = t == null ? void 0 : t.billing_period_configs) == null ? void 0 : u[0]) == null ? void 0 : d.billing_period,
|
|
322
|
+
billedInAdvance: t == null ? void 0 : t.billing_in_advance
|
|
323
|
+
},
|
|
324
|
+
product: {
|
|
325
|
+
name: i == null ? void 0 : i.name,
|
|
326
|
+
description: i == null ? void 0 : i.description
|
|
327
|
+
},
|
|
328
|
+
pricing: {
|
|
329
|
+
...((c = t == null ? void 0 : t.details) == null ? void 0 : c.pricing_type) === "FLAT" && {
|
|
330
|
+
amount: (a = (m = (o = t.details) == null ? void 0 : o.bands) == null ? void 0 : m[0]) == null ? void 0 : a.amount
|
|
331
|
+
},
|
|
332
|
+
...((s = t == null ? void 0 : t.details) == null ? void 0 : s.pricing_type) === "TIERED" && {
|
|
333
|
+
tiered: { bands: (g = t.details) == null ? void 0 : g.bands }
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
const _e = { class: "flex flex-row-reverse gap-4 md:flex-row" }, Ve = { class: "w-24 shrink-0 justify-start md:w-32" }, he = ["tabindex"], xe = { key: 0 }, we = { key: 0 }, Pe = /* @__PURE__ */ $({
|
|
340
|
+
__name: "SeatsEditorItem",
|
|
341
|
+
props: /* @__PURE__ */ E({
|
|
342
|
+
modelValue: { type: Object },
|
|
343
|
+
defaultValue: { type: Object },
|
|
344
|
+
pricings: { type: Array }
|
|
345
|
+
}, {
|
|
346
|
+
modelValue: { required: !0 },
|
|
347
|
+
modelModifiers: {}
|
|
348
|
+
}),
|
|
349
|
+
emits: ["update:modelValue"],
|
|
350
|
+
setup(e) {
|
|
351
|
+
const n = e, t = M(e, "modelValue"), { $t: i } = B(), { formatTimePeriod: u } = I(), d = q(!1), c = _({
|
|
352
|
+
get: () => +(t.value.number || le),
|
|
353
|
+
set(a) {
|
|
354
|
+
t.value = {
|
|
355
|
+
...t.value,
|
|
356
|
+
number: a !== void 0 ? a.toString() : void 0
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
}), o = ye({
|
|
360
|
+
pricings: n.pricings,
|
|
361
|
+
pricingItemConfigId: t.value.pricing_item_config_id
|
|
362
|
+
}), m = _(() => {
|
|
363
|
+
var a, s;
|
|
364
|
+
return !!((s = (a = o.value.pricing) == null ? void 0 : a.tiered) != null && s.bands);
|
|
365
|
+
});
|
|
366
|
+
return (a, s) => {
|
|
367
|
+
var g, b, v;
|
|
368
|
+
return r(), h("div", null, [
|
|
369
|
+
P("div", _e, [
|
|
370
|
+
P("div", Ve, [
|
|
371
|
+
y(l(me), {
|
|
372
|
+
modelValue: c.value,
|
|
373
|
+
"onUpdate:modelValue": s[0] || (s[0] = (w) => c.value = w),
|
|
374
|
+
size: "sm",
|
|
375
|
+
min: (g = e.defaultValue) != null && g.number ? +e.defaultValue.number : void 0
|
|
376
|
+
}, null, 8, ["modelValue", "min"])
|
|
377
|
+
]),
|
|
378
|
+
P("div", {
|
|
379
|
+
class: T(["flex grow flex-col", { "hover:cursor-pointer": m.value }]),
|
|
380
|
+
tabindex: m.value ? 0 : void 0,
|
|
381
|
+
onClick: s[1] || (s[1] = (w) => m.value ? d.value = !d.value : void 0)
|
|
382
|
+
}, [
|
|
383
|
+
y(l(z), {
|
|
384
|
+
tag: "span",
|
|
385
|
+
variant: "body-sm",
|
|
386
|
+
weight: "semibold"
|
|
387
|
+
}, {
|
|
388
|
+
default: p(() => [
|
|
389
|
+
x(V(l(o).product.name || l(i)({
|
|
390
|
+
defaultMessage: "Seats",
|
|
391
|
+
id: "seats.label",
|
|
392
|
+
description: "The label for the seats input field"
|
|
393
|
+
})), 1)
|
|
394
|
+
]),
|
|
395
|
+
_: 1
|
|
396
|
+
}),
|
|
397
|
+
l(o).pricing.amount ? (r(), f(l(z), {
|
|
398
|
+
key: 0,
|
|
399
|
+
tag: "span",
|
|
400
|
+
variant: "body-xs",
|
|
401
|
+
color: "subtle"
|
|
402
|
+
}, {
|
|
403
|
+
default: p(() => [
|
|
404
|
+
x(V(l(i)(
|
|
405
|
+
{
|
|
406
|
+
defaultMessage: "{amount} per seat/{period}",
|
|
407
|
+
id: "seats.price_per_seat_period",
|
|
408
|
+
description: "The price per seat and billing period label for seat-based pricing"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
amount: l(L)(l(o).pricing.amount),
|
|
412
|
+
period: l(o).billing.period ? l(u)(l(o).billing.period, {
|
|
413
|
+
short: !0,
|
|
414
|
+
hideValueForExactPeriods: !0
|
|
415
|
+
}) : ""
|
|
416
|
+
}
|
|
417
|
+
)), 1)
|
|
418
|
+
]),
|
|
419
|
+
_: 1
|
|
420
|
+
})) : l(o).pricing.tiered ? (r(), f(l(z), {
|
|
421
|
+
key: 1,
|
|
422
|
+
tag: "span",
|
|
423
|
+
variant: "body-xs",
|
|
424
|
+
color: "subtle"
|
|
425
|
+
}, {
|
|
426
|
+
default: p(() => [
|
|
427
|
+
x(V(l(i)({
|
|
428
|
+
defaultMessage: "Tiered pricing",
|
|
429
|
+
id: "seats.tiered_pricing_label",
|
|
430
|
+
description: "The label indicating tiered pricing structure for seats"
|
|
431
|
+
})) + " ", 1),
|
|
432
|
+
y(l(ne), {
|
|
433
|
+
icon: "keyboard_arrow_down",
|
|
434
|
+
size: "xs",
|
|
435
|
+
class: T(["absolute text-gray-400 transition ease-in-out", { "rotate-0": !d.value, "rotate-180": d.value }])
|
|
436
|
+
}, null, 8, ["class"])
|
|
437
|
+
]),
|
|
438
|
+
_: 1
|
|
439
|
+
})) : k("", !0)
|
|
440
|
+
], 10, he)
|
|
441
|
+
]),
|
|
442
|
+
(v = (b = l(o).pricing) == null ? void 0 : b.tiered) != null && v.bands ? (r(), h("div", xe, [
|
|
443
|
+
y(l(te), { "is-open": d.value }, {
|
|
444
|
+
default: p(() => [
|
|
445
|
+
d.value ? (r(), h("div", we, [
|
|
446
|
+
y(be, {
|
|
447
|
+
bands: l(o).pricing.tiered.bands,
|
|
448
|
+
period: l(o).billing.period
|
|
449
|
+
}, null, 8, ["bands", "period"])
|
|
450
|
+
])) : k("", !0)
|
|
451
|
+
]),
|
|
452
|
+
_: 1
|
|
453
|
+
}, 8, ["is-open"])
|
|
454
|
+
])) : k("", !0)
|
|
455
|
+
]);
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
}), ke = {
|
|
459
|
+
key: 0,
|
|
460
|
+
class: "grid grid-cols-1 gap-1"
|
|
461
|
+
}, $e = /* @__PURE__ */ $({
|
|
462
|
+
__name: "SeatsEditor",
|
|
463
|
+
props: /* @__PURE__ */ E({
|
|
464
|
+
modelValue: { type: Array },
|
|
465
|
+
initialSeatsValues: { type: Array },
|
|
466
|
+
pricings: { type: Array }
|
|
467
|
+
}, {
|
|
468
|
+
modelValue: { required: !0 },
|
|
469
|
+
modelModifiers: {}
|
|
470
|
+
}),
|
|
471
|
+
emits: ["update:modelValue"],
|
|
472
|
+
setup(e) {
|
|
473
|
+
const n = M(e, "modelValue"), t = (i) => _({
|
|
474
|
+
get: () => n.value[i],
|
|
475
|
+
set: (u) => {
|
|
476
|
+
const d = n.value.slice();
|
|
477
|
+
d[i] = u, n.value = d;
|
|
478
|
+
}
|
|
479
|
+
});
|
|
480
|
+
return (i, u) => e.modelValue.length > 0 ? (r(), h("div", ke, [
|
|
481
|
+
(r(!0), h(A, null, C(e.modelValue, (d, c) => (r(), f(l(N), { key: c }, {
|
|
482
|
+
default: p(() => {
|
|
483
|
+
var o;
|
|
484
|
+
return [
|
|
485
|
+
d.pricing_item_config_id ? (r(), f(Pe, {
|
|
486
|
+
key: d.pricing_item_config_id,
|
|
487
|
+
modelValue: t(c).value,
|
|
488
|
+
"onUpdate:modelValue": (m) => t(c).value = m,
|
|
489
|
+
"default-value": (o = e.initialSeatsValues) == null ? void 0 : o[c],
|
|
490
|
+
pricings: e.pricings
|
|
491
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "default-value", "pricings"])) : k("", !0)
|
|
492
|
+
];
|
|
493
|
+
}),
|
|
494
|
+
_: 2
|
|
495
|
+
}, 1024))), 128))
|
|
496
|
+
])) : k("", !0);
|
|
497
|
+
}
|
|
498
|
+
}), Te = { class: "p-1" }, Ae = { class: "grid grid-cols-1 gap-1 pt-1" }, Se = /* @__PURE__ */ $({
|
|
499
|
+
__name: "AddonSingleEditor",
|
|
500
|
+
props: /* @__PURE__ */ E({
|
|
501
|
+
constraint: { type: String },
|
|
502
|
+
modelValue: { type: Array },
|
|
503
|
+
pricings: { type: Array },
|
|
504
|
+
billingPeriod: { type: Object },
|
|
505
|
+
currency: { type: String },
|
|
506
|
+
groupName: { type: String }
|
|
507
|
+
}, {
|
|
508
|
+
modelValue: { required: !0 },
|
|
509
|
+
modelModifiers: {}
|
|
510
|
+
}),
|
|
511
|
+
emits: ["update:modelValue"],
|
|
512
|
+
setup(e) {
|
|
513
|
+
const n = e, t = M(e, "modelValue"), { $t: i } = B(), { describePricing: u } = X({
|
|
514
|
+
currency: D(n, "currency"),
|
|
515
|
+
billingPeriod: D(n, "billingPeriod")
|
|
516
|
+
}), d = n.pricings.map((a) => a.id), c = _(() => n.constraint === "AT_MOST_ONE" ? i({
|
|
517
|
+
defaultMessage: "Select up to one product",
|
|
518
|
+
id: "addon_single_editor.description.at_most_one",
|
|
519
|
+
description: "The description of the addon single editor for at most one product"
|
|
520
|
+
}) : n.constraint === "EXACTLY_ONE" ? i({
|
|
521
|
+
defaultMessage: "Select one product",
|
|
522
|
+
id: "addon_single_editor.description.exactly_one",
|
|
523
|
+
description: "The description of the addon single editor for exactly one product"
|
|
524
|
+
}) : n.constraint === "AT_LEAST_ONE" ? i({
|
|
525
|
+
defaultMessage: "Select at least one product",
|
|
526
|
+
id: "addon_single_editor.description.at_least_one",
|
|
527
|
+
description: "The description of the addon single editor for at least one product"
|
|
528
|
+
}) : ""), o = (a) => n.modelValue.includes(a), m = (a) => {
|
|
529
|
+
if (o(a))
|
|
530
|
+
t.value = t.value.filter((s) => s !== a);
|
|
531
|
+
else {
|
|
532
|
+
const s = t.value.filter((g) => !d.includes(g));
|
|
533
|
+
t.value = [...s, a];
|
|
534
|
+
}
|
|
535
|
+
};
|
|
536
|
+
return (a, s) => (r(), f(l(N), { "no-spacing": "" }, {
|
|
537
|
+
default: p(() => [
|
|
538
|
+
P("div", Te, [
|
|
539
|
+
y(H, null, {
|
|
540
|
+
title: p(() => [
|
|
541
|
+
x(V(e.groupName), 1)
|
|
542
|
+
]),
|
|
543
|
+
description: p(() => [
|
|
544
|
+
x(V(c.value), 1)
|
|
545
|
+
]),
|
|
546
|
+
_: 1
|
|
547
|
+
}),
|
|
548
|
+
P("div", Ae, [
|
|
549
|
+
(r(!0), h(A, null, C(e.pricings, (g) => (r(), f(l(N), {
|
|
550
|
+
key: g.id,
|
|
551
|
+
"content-background": "none",
|
|
552
|
+
class: T({ "!bg-white": o(g.id) })
|
|
553
|
+
}, {
|
|
554
|
+
default: p(() => [
|
|
555
|
+
y(Y, {
|
|
556
|
+
name: l(K)(g) ?? "",
|
|
557
|
+
description: l(u)(g)
|
|
558
|
+
}, {
|
|
559
|
+
default: p(() => [
|
|
560
|
+
y(l(oe), {
|
|
561
|
+
"model-value": o(g.id),
|
|
562
|
+
"onUpdate:modelValue": (b) => m(g.id)
|
|
563
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
564
|
+
]),
|
|
565
|
+
_: 2
|
|
566
|
+
}, 1032, ["name", "description"])
|
|
567
|
+
]),
|
|
568
|
+
_: 2
|
|
569
|
+
}, 1032, ["class"]))), 128))
|
|
570
|
+
])
|
|
571
|
+
])
|
|
572
|
+
]),
|
|
573
|
+
_: 1
|
|
574
|
+
}));
|
|
575
|
+
}
|
|
576
|
+
}), ze = { class: "grid grid-cols-1 gap-1" }, R = /* @__PURE__ */ $({
|
|
577
|
+
__name: "AddonMultipleEditor",
|
|
578
|
+
props: /* @__PURE__ */ E({
|
|
579
|
+
modelValue: { type: Array },
|
|
580
|
+
pricings: { type: Array },
|
|
581
|
+
billingPeriod: { type: Object },
|
|
582
|
+
currency: { type: String },
|
|
583
|
+
groupName: { type: String }
|
|
584
|
+
}, {
|
|
585
|
+
modelValue: { required: !0 },
|
|
586
|
+
modelModifiers: {}
|
|
587
|
+
}),
|
|
588
|
+
emits: ["update:modelValue"],
|
|
589
|
+
setup(e) {
|
|
590
|
+
const n = e, t = M(e, "modelValue"), { $t: i } = B(), { describePricing: u } = X({
|
|
591
|
+
currency: D(n, "currency"),
|
|
592
|
+
billingPeriod: D(n, "billingPeriod")
|
|
593
|
+
}), d = (o) => t.value.includes(o), c = (o) => {
|
|
594
|
+
d(o) ? t.value = t.value.filter((m) => m !== o) : t.value = [...t.value, o];
|
|
595
|
+
};
|
|
596
|
+
return (o, m) => (r(), f(l(N), {
|
|
597
|
+
"no-spacing": "",
|
|
598
|
+
"no-border": !e.groupName,
|
|
599
|
+
"content-background": e.groupName ? "gray" : "none"
|
|
600
|
+
}, {
|
|
601
|
+
default: p(() => [
|
|
602
|
+
P("div", {
|
|
603
|
+
class: T(["grid grid-cols-1 gap-1", { "p-1": e.groupName }])
|
|
604
|
+
}, [
|
|
605
|
+
e.groupName ? (r(), f(H, { key: 0 }, {
|
|
606
|
+
title: p(() => [
|
|
607
|
+
x(V(e.groupName), 1)
|
|
608
|
+
]),
|
|
609
|
+
description: p(() => [
|
|
610
|
+
x(V(l(i)({
|
|
611
|
+
defaultMessage: "Select any number of products",
|
|
612
|
+
id: "addon_multiple_editor.description",
|
|
613
|
+
description: "The description of the addon multiple editor"
|
|
614
|
+
})), 1)
|
|
615
|
+
]),
|
|
616
|
+
_: 1
|
|
617
|
+
})) : k("", !0),
|
|
618
|
+
P("div", ze, [
|
|
619
|
+
(r(!0), h(A, null, C(e.pricings, (a) => (r(), f(l(N), {
|
|
620
|
+
key: a.id,
|
|
621
|
+
"content-background": e.groupName || d(a.id) ? "none" : "gray",
|
|
622
|
+
class: T({ "!bg-white": d(a.id) })
|
|
623
|
+
}, {
|
|
624
|
+
default: p(() => [
|
|
625
|
+
y(Y, {
|
|
626
|
+
name: l(K)(a) ?? "",
|
|
627
|
+
description: l(u)(a)
|
|
628
|
+
}, {
|
|
629
|
+
default: p(() => [
|
|
630
|
+
d(a.id) ? (r(), f(l(F), {
|
|
631
|
+
key: 0,
|
|
632
|
+
intent: "secondary",
|
|
633
|
+
square: "",
|
|
634
|
+
size: "sm",
|
|
635
|
+
"icon-prefix": "remove_shopping_cart",
|
|
636
|
+
onClick: (s) => c(a.id)
|
|
637
|
+
}, null, 8, ["onClick"])) : (r(), f(l(F), {
|
|
638
|
+
key: 1,
|
|
639
|
+
intent: "primary",
|
|
640
|
+
"icon-prefix": "add",
|
|
641
|
+
size: "sm",
|
|
642
|
+
onClick: (s) => c(a.id)
|
|
643
|
+
}, {
|
|
644
|
+
default: p(() => [
|
|
645
|
+
x(V(l(i)({
|
|
646
|
+
defaultMessage: "Add to subscription ",
|
|
647
|
+
id: "addon_multiple_editor.add_to_subscription_button",
|
|
648
|
+
description: "The button to add a pricing to the subscription"
|
|
649
|
+
})), 1)
|
|
650
|
+
]),
|
|
651
|
+
_: 1
|
|
652
|
+
}, 8, ["onClick"]))
|
|
653
|
+
]),
|
|
654
|
+
_: 2
|
|
655
|
+
}, 1032, ["name", "description"])
|
|
656
|
+
]),
|
|
657
|
+
_: 2
|
|
658
|
+
}, 1032, ["content-background", "class"]))), 128))
|
|
659
|
+
])
|
|
660
|
+
], 2)
|
|
661
|
+
]),
|
|
662
|
+
_: 1
|
|
663
|
+
}, 8, ["no-border", "content-background"]));
|
|
664
|
+
}
|
|
665
|
+
});
|
|
666
|
+
function Me(e) {
|
|
667
|
+
var t;
|
|
668
|
+
return (((t = e.pricing_categories) == null ? void 0 : t.flatMap((i) => i.pricings ?? [])) ?? []).filter((i) => i !== null);
|
|
669
|
+
}
|
|
670
|
+
const Ne = { class: "sv-plan-customization__body grid grid-cols-1 gap-1" }, Je = /* @__PURE__ */ $({
|
|
671
|
+
__name: "PlanCustomizationEditor",
|
|
672
|
+
props: /* @__PURE__ */ E({
|
|
673
|
+
subscription: { type: Object },
|
|
674
|
+
enabledPricingIds: { type: Array },
|
|
675
|
+
initialSeatsValues: { type: Array },
|
|
676
|
+
billingPeriod: { type: Object },
|
|
677
|
+
currency: { type: String }
|
|
678
|
+
}, {
|
|
679
|
+
seatsValues: { required: !0 },
|
|
680
|
+
seatsValuesModifiers: {},
|
|
681
|
+
enabledPricingIds: {
|
|
682
|
+
required: !0
|
|
683
|
+
},
|
|
684
|
+
enabledPricingIdsModifiers: {}
|
|
685
|
+
}),
|
|
686
|
+
emits: ["update:seatsValues", "update:enabledPricingIds"],
|
|
687
|
+
setup(e) {
|
|
688
|
+
const n = e, t = M(e, "seatsValues"), i = M(e, "enabledPricingIds"), { $t: u } = B(), d = _(() => {
|
|
689
|
+
var a;
|
|
690
|
+
const m = (a = re({
|
|
691
|
+
pricingPlanScheduleInfos: n.subscription.pricing_plan_schedule_infos,
|
|
692
|
+
type: "DEFAULT"
|
|
693
|
+
})) == null ? void 0 : a.pricing_plan_version;
|
|
694
|
+
return m ? Me(m) : [];
|
|
695
|
+
}), c = _(
|
|
696
|
+
() => d.value.filter((m) => m.product_type === "ADDON")
|
|
697
|
+
), o = _(
|
|
698
|
+
() => de(n.subscription)
|
|
699
|
+
);
|
|
700
|
+
return (m, a) => (r(), f(l(N), {
|
|
701
|
+
class: "sv-plan-customization",
|
|
702
|
+
title: l(u)({
|
|
703
|
+
defaultMessage: "Customize plan",
|
|
704
|
+
id: "checkout.customize_plan_block.title",
|
|
705
|
+
description: "The title of the customize plan block in the checkout form"
|
|
706
|
+
}),
|
|
707
|
+
"no-spacing": "",
|
|
708
|
+
"no-border": "",
|
|
709
|
+
"content-background": "none"
|
|
710
|
+
}, {
|
|
711
|
+
default: p(() => [
|
|
712
|
+
P("div", Ne, [
|
|
713
|
+
y($e, {
|
|
714
|
+
modelValue: t.value,
|
|
715
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => t.value = s),
|
|
716
|
+
class: "sv-plan-customization__seats",
|
|
717
|
+
"initial-seats-values": e.initialSeatsValues,
|
|
718
|
+
pricings: d.value
|
|
719
|
+
}, null, 8, ["modelValue", "initial-seats-values", "pricings"]),
|
|
720
|
+
(r(!0), h(A, null, C(o.value, (s) => (r(), h(A, {
|
|
721
|
+
key: s.id
|
|
722
|
+
}, [
|
|
723
|
+
s.product_type === "DEFAULT" && s.selection_constraint === "EXACTLY_ONE" ? (r(), f(se, {
|
|
724
|
+
key: 0,
|
|
725
|
+
modelValue: i.value,
|
|
726
|
+
"onUpdate:modelValue": a[1] || (a[1] = (g) => i.value = g),
|
|
727
|
+
class: "sv-plan-customization__group",
|
|
728
|
+
"group-name": s.name,
|
|
729
|
+
pricings: s.pricings,
|
|
730
|
+
"billing-period": e.billingPeriod,
|
|
731
|
+
currency: e.currency
|
|
732
|
+
}, null, 8, ["modelValue", "group-name", "pricings", "billing-period", "currency"])) : s.product_type === "ADDON" && s.selection_constraint === "AT_MOST_ONE" ? (r(), f(Se, {
|
|
733
|
+
key: 1,
|
|
734
|
+
modelValue: i.value,
|
|
735
|
+
"onUpdate:modelValue": a[2] || (a[2] = (g) => i.value = g),
|
|
736
|
+
class: "sv-plan-customization__group",
|
|
737
|
+
"group-name": s.name,
|
|
738
|
+
pricings: s.pricings,
|
|
739
|
+
constraint: s.selection_constraint,
|
|
740
|
+
"billing-period": e.billingPeriod,
|
|
741
|
+
currency: e.currency
|
|
742
|
+
}, null, 8, ["modelValue", "group-name", "pricings", "constraint", "billing-period", "currency"])) : s.product_type === "ADDON" && s.selection_constraint === "ANY" ? (r(), f(R, {
|
|
743
|
+
key: 2,
|
|
744
|
+
modelValue: i.value,
|
|
745
|
+
"onUpdate:modelValue": a[3] || (a[3] = (g) => i.value = g),
|
|
746
|
+
class: "sv-plan-customization__group",
|
|
747
|
+
pricings: s.pricings,
|
|
748
|
+
"group-name": s.name,
|
|
749
|
+
"billing-period": e.billingPeriod,
|
|
750
|
+
currency: e.currency
|
|
751
|
+
}, null, 8, ["modelValue", "pricings", "group-name", "billing-period", "currency"])) : k("", !0)
|
|
752
|
+
], 64))), 128)),
|
|
753
|
+
y(R, {
|
|
754
|
+
modelValue: i.value,
|
|
755
|
+
"onUpdate:modelValue": a[4] || (a[4] = (s) => i.value = s),
|
|
756
|
+
class: "sv-plan-customization__group",
|
|
757
|
+
pricings: c.value,
|
|
758
|
+
"billing-period": e.billingPeriod,
|
|
759
|
+
currency: e.currency
|
|
760
|
+
}, null, 8, ["modelValue", "pricings", "billing-period", "currency"])
|
|
761
|
+
])
|
|
762
|
+
]),
|
|
763
|
+
_: 1
|
|
764
|
+
}, 8, ["title"]));
|
|
765
|
+
}
|
|
766
|
+
});
|
|
767
|
+
export {
|
|
768
|
+
Je as default
|
|
769
|
+
};
|