@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,185 @@
|
|
|
1
|
+
const W=require("./useTimePeriod.es-pepm2TpV.js"),U=require("./customElements-Bt8PbjIn.js"),x=require("./useService-H7BjLg8P.js"),y=require("./formatting.es-C72Nsrmh.js"),e=require("vue"),k=require("./cn.es-CNvIP217.js"),H=require("./FormMessage.vue.es-dqATjC2N.js"),O=require("./IconButton.vue.es-DGLIdHkR.js");function j({pricingItem:n,currency:i,billingPeriod:r}){var o,l,a,t,s,g;if((o=n.pricing_currency_configs)!=null&&o.length){const d=G(n.pricing_currency_configs,i);if((l=d==null?void 0:d.billing_period_configs)!=null&&l.length&&r){const c=D(d.billing_period_configs,r);if(c)return c}if(d){const c=d.fallback_currency;if(c){const f=L(n.pricing_currency_configs,c);if(f)return f}if((a=d.configs)!=null&&a.length)return d.configs[0]}}if((t=n.billing_period_configs)!=null&&t.length){const d=D(n.billing_period_configs,r);if(d)return d}if((s=n.configs)!=null&&s.length)return(g=n.configs)==null?void 0:g[0]}const G=(n,i)=>n.find(r=>r.currency===i),L=(n,i)=>{var r,o;return(o=(r=n.find(l=>l.currency===i))==null?void 0:r.configs)==null?void 0:o[0]},D=(n,i)=>{var r,o;return(o=(r=n.find(l=>x.isEqual(l.billing_period,i)))==null?void 0:r.configs)==null?void 0:o[0]};function K({currency:n,billingPeriod:i}={}){const{$t:r}=U.useIntl(),{formatTimePeriod:o}=W.useTimePeriod();return{renderPricingForPricingItem:({pricingItem:a})=>{var t,s,g,d,c,f,h,p,m,v,b,w,C,z,T,B,V,P,M,S,E,q,$,N,R,I,F,A;const _=(t=a.product_items)==null?void 0:t[0],u=j({pricingItem:a,currency:n==null?void 0:n.value,billingPeriod:i==null?void 0:i.value});return u?(_==null?void 0:_.model_type)==="PER_SEAT"?r({defaultMessage:"Per seat",id:"pricing_item_pricing.per_seat",description:"The pricing item pricing for a per seat pricing item"}):(_==null?void 0:_.model_type)==="ONE_OFF"&&((d=(g=(s=u.details)==null?void 0:s.bands)==null?void 0:g[0])!=null&&d.fixed_amount)?y.formatAmount((h=(f=(c=u.details)==null?void 0:c.bands)==null?void 0:f[0])==null?void 0:h.fixed_amount):((p=u.details)==null?void 0:p.pricing_type)==="FLAT"&&((b=(v=(m=u.details)==null?void 0:m.bands)==null?void 0:v[0])!=null&&b.amount)?r({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:y.formatAmount((w=u.details)==null?void 0:w.bands[0].amount),billing_period:o(((C=u==null?void 0:u.details)==null?void 0:C.pricing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):((z=u.details)==null?void 0:z.pricing_type)==="FIXED"&&((V=(B=(T=u.details)==null?void 0:T.bands)==null?void 0:B[0])!=null&&V.fixed_amount)?r({defaultMessage:"{pricing} per {billing_period}",id:"pricing_item_pricing",description:"The pricing item pricing"},{pricing:y.formatAmount((S=(M=(P=u.details)==null?void 0:P.bands)==null?void 0:M[0])==null?void 0:S.fixed_amount),billing_period:o(((E=u==null?void 0:u.details)==null?void 0:E.pricing_period)??{type:"MONTH",value:1},{short:!0,hideValueForExactPeriods:!0})}):((q=u.details)==null?void 0:q.pricing_type)==="TIERED"?r({defaultMessage:"Tiered pricing",id:"pricing_item_pricing.tiered",description:"The pricing item pricing for a tiered pricing item"}):(($=u.details)==null?void 0:$.pricing_type)==="TOP_TIERED"?r({defaultMessage:"Top tiered pricing",id:"pricing_item_pricing.top_tiered",description:"The pricing item pricing for a top tiered pricing item"}):((N=u.details)==null?void 0:N.pricing_type)==="STAIR_STEP"?r({defaultMessage:"Stair step pricing",id:"pricing_item_pricing.stair_step",description:"The pricing item pricing for a stair step pricing item"}):((R=u.details)==null?void 0:R.pricing_type)==="PASS_THROUGH"?r({defaultMessage:"Pass through pricing",id:"pricing_item_pricing.pass_through",description:"The pricing item pricing for a pass through pricing item"}):((I=u.details)==null?void 0:I.pricing_type)==="NONE"?r({defaultMessage:"Not billed",id:"pricing_item_pricing.none",description:"The pricing item pricing for a not billed pricing item"}):((F=u.details)==null?void 0:F.pricing_type)==="FLAT_TOP_UP"?r({defaultMessage:"Flat top up pricing",id:"pricing_item_pricing.flat_top_up",description:"The pricing item pricing for a flat top up pricing item"}):((A=u.details)==null?void 0:A.pricing_type)==="TIERED_TOP_UP"?r({defaultMessage:"Tiered top up pricing",id:"pricing_item_pricing.tiered_top_up",description:"The pricing item pricing for a tiered top up pricing item"}):r({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"}):r({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"})}}}const X="w-full appearance-none cursor-pointer",J={xs:"range-sm",sm:"range-sm",md:"range-md",lg:"range-lg",xl:"range-xl"};function Q(n){return{rangeClasses:e.computed(()=>`${X} ${J[n.size.value]}`)}}const Y=`/* Base - transparent background so track styles show through */
|
|
2
|
+
input[type='range'] {
|
|
3
|
+
-webkit-appearance: none;
|
|
4
|
+
-moz-appearance: none;
|
|
5
|
+
appearance: none;
|
|
6
|
+
width: 100%;
|
|
7
|
+
background: transparent;
|
|
8
|
+
margin: 0.5rem 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* Thumb - white with explicit border (required for Firefox) */
|
|
12
|
+
input[type='range']::-webkit-slider-thumb {
|
|
13
|
+
-webkit-appearance: none;
|
|
14
|
+
appearance: none;
|
|
15
|
+
width: 1rem;
|
|
16
|
+
height: 1rem;
|
|
17
|
+
border: 2px solid rgb(229 231 235);
|
|
18
|
+
border-radius: 50%;
|
|
19
|
+
background: #ffffff;
|
|
20
|
+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
transition: all 0.1s ease-in-out;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
input[type='range']:disabled::-webkit-slider-thumb {
|
|
26
|
+
cursor: not-allowed;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
input[type='range']::-moz-range-thumb {
|
|
30
|
+
-moz-appearance: none;
|
|
31
|
+
appearance: none;
|
|
32
|
+
width: 1rem;
|
|
33
|
+
height: 1rem;
|
|
34
|
+
border: 2px solid rgb(229 231 235);
|
|
35
|
+
border-radius: 50%;
|
|
36
|
+
background: #ffffff;
|
|
37
|
+
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
transition: all 0.1s ease-in-out;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
input[type='range']:disabled::-moz-range-thumb {
|
|
43
|
+
cursor: not-allowed;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
input[type='range']:not(:disabled):hover::-webkit-slider-thumb {
|
|
47
|
+
box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
input[type='range']:not(:disabled):hover::-moz-range-thumb {
|
|
51
|
+
box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary-200) 50%, transparent);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
input[type='range']:not(:disabled):active::-webkit-slider-thumb {
|
|
55
|
+
box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
input[type='range']:not(:disabled):active::-moz-range-thumb {
|
|
59
|
+
box-shadow: 0 0 0 8px color-mix(in srgb, var(--color-primary-200) 50%, transparent);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Track - WebKit */
|
|
63
|
+
input[type='range']::-webkit-slider-runnable-track {
|
|
64
|
+
width: 100%;
|
|
65
|
+
height: 0.5rem;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
background: linear-gradient(
|
|
68
|
+
to right,
|
|
69
|
+
var(--color-primary-600) var(--range-percentage, 0%),
|
|
70
|
+
#e0e5eb var(--range-percentage, 0%)
|
|
71
|
+
);
|
|
72
|
+
border-radius: 0.25rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
input[type='range']:disabled::-webkit-slider-runnable-track {
|
|
76
|
+
background: #e0e5eb;
|
|
77
|
+
cursor: not-allowed;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Track - Mozilla */
|
|
81
|
+
input[type='range']::-moz-range-track {
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 0.5rem;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
background: linear-gradient(
|
|
86
|
+
to right,
|
|
87
|
+
var(--color-primary-600) var(--range-percentage, 0%),
|
|
88
|
+
#e0e5eb var(--range-percentage, 0%)
|
|
89
|
+
);
|
|
90
|
+
border-radius: 0.25rem;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
input[type='range']:disabled::-moz-range-track {
|
|
94
|
+
background: #e0e5eb;
|
|
95
|
+
cursor: not-allowed;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Size: sm */
|
|
99
|
+
input[type='range'].range-sm::-webkit-slider-thumb {
|
|
100
|
+
width: 0.8rem;
|
|
101
|
+
height: 0.8rem;
|
|
102
|
+
margin-top: -0.2rem;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
input[type='range'].range-sm::-moz-range-thumb {
|
|
106
|
+
width: 0.8rem;
|
|
107
|
+
height: 0.8rem;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
input[type='range'].range-sm::-webkit-slider-runnable-track {
|
|
111
|
+
height: 0.4rem;
|
|
112
|
+
border-radius: 0.2rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
input[type='range'].range-sm::-moz-range-track {
|
|
116
|
+
height: 0.4rem;
|
|
117
|
+
border-radius: 0.2rem;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Size: md */
|
|
121
|
+
input[type='range'].range-md::-webkit-slider-thumb {
|
|
122
|
+
width: 1rem;
|
|
123
|
+
height: 1rem;
|
|
124
|
+
margin-top: -0.25rem;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
input[type='range'].range-md::-moz-range-thumb {
|
|
128
|
+
width: 1rem;
|
|
129
|
+
height: 1rem;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
input[type='range'].range-md::-webkit-slider-runnable-track {
|
|
133
|
+
height: 0.5rem;
|
|
134
|
+
border-radius: 0.25rem;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
input[type='range'].range-md::-moz-range-track {
|
|
138
|
+
height: 0.5rem;
|
|
139
|
+
border-radius: 0.25rem;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* Size: lg */
|
|
143
|
+
input[type='range'].range-lg::-webkit-slider-thumb {
|
|
144
|
+
width: 1.4rem;
|
|
145
|
+
height: 1.4rem;
|
|
146
|
+
margin-top: -0.35rem;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
input[type='range'].range-lg::-moz-range-thumb {
|
|
150
|
+
width: 1.4rem;
|
|
151
|
+
height: 1.4rem;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
input[type='range'].range-lg::-webkit-slider-runnable-track {
|
|
155
|
+
height: 0.7rem;
|
|
156
|
+
border-radius: 0.35rem;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
input[type='range'].range-lg::-moz-range-track {
|
|
160
|
+
height: 0.7rem;
|
|
161
|
+
border-radius: 0.35rem;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* Size: xl */
|
|
165
|
+
input[type='range'].range-xl::-webkit-slider-thumb {
|
|
166
|
+
width: 1.8rem;
|
|
167
|
+
height: 1.8rem;
|
|
168
|
+
margin-top: -0.5rem;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
input[type='range'].range-xl::-moz-range-thumb {
|
|
172
|
+
width: 1.8rem;
|
|
173
|
+
height: 1.8rem;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
input[type='range'].range-xl::-webkit-slider-runnable-track {
|
|
177
|
+
height: 0.9rem;
|
|
178
|
+
border-radius: 0.45rem;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
input[type='range'].range-xl::-moz-range-track {
|
|
182
|
+
height: 0.9rem;
|
|
183
|
+
border-radius: 0.45rem;
|
|
184
|
+
}
|
|
185
|
+
`,Z=e.defineComponent({__name:"CustomStyles",props:{css:{},marker:{}},setup(n){const i=n,r=e.ref();function o(l){if(!l||!r.value)return;const a=r.value.getRootNode();if(!(a instanceof ShadowRoot)||a.querySelector(`style[${i.marker}]`))return;const s=document.createElement("style");s.setAttribute(i.marker,"true"),s.textContent=l,a.appendChild(s)}return e.onMounted(()=>{i.css&&o(i.css)}),e.watch(()=>i.css,l=>{if(!l||!r.value)return;const a=r.value.getRootNode();if(!(a instanceof ShadowRoot))return;const t=a.querySelector(`style[${i.marker}]`);t?t.textContent=l:o(l)}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"containerRef",ref:r},[e.renderSlot(l.$slots,"default")],512))}}),ee=["data-testid"],ne=["step","min","max","name","disabled"],re={key:0,class:"mt-2 text-sm text-secondary"},ie=e.defineComponent({__name:"RangeInput",props:e.mergeModels({disabled:{type:Boolean,default:!1},label:{default:void 0},labelAfter:{type:Boolean,default:!1},max:{default:100},min:{default:0},name:{},required:{type:Boolean,default:!1},rootClass:{default:""},size:{default:"md"},steps:{default:1},variant:{default:"default"},error:{},inputWrapperClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const i=n,r=e.useModel(n,"modelValue"),o=e.useTemplateRef("inputRef");function l(){const p=o.value;if(!p)return;const m=r.value??i.min,v=(Number(m)-i.min)/(i.max-i.min)*100;p.style.setProperty("--range-percentage",`${v}%`)}const{rangeClasses:a}=Q(e.toRefs(i)),t=e.computed(()=>{switch(i.size){case"xl":return"lg";case"lg":return"md";case"md":return"sm";default:return i.size}}),s=i.name??k.uniqueId("range-input-"),g=e.computed(()=>r.value!=null&&r.value>i.min?()=>{r.value=(r.value??0)-i.steps}:void 0),d=e.computed(()=>r.value!=null&&r.value<i.max?()=>{r.value=(r.value??0)+i.steps}:void 0),c=e.computed(()=>["stepped","stepped-contained","stepped-ghost"].includes(i.variant)),f=e.computed(()=>i.variant==="stepped-contained"),h=e.computed(()=>f.value||i.variant==="stepped-ghost"?"subtle":"secondary");return e.watch([r,o],()=>e.nextTick(l),{immediate:!0}),(p,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps(p.$attrs,{class:["flex flex-col gap-2",{rootClass:n.rootClass,"flex-col-reverse":n.labelAfter}],"data-testid":e.unref(k.getRootTestId)(e.unref(s))}),[n.label?(e.openBlock(),e.createBlock(k._sfc_main,{key:0,for:e.unref(s),required:n.required},e.createSlots({suffix:e.withCtx(()=>[e.renderSlot(p.$slots,"label-suffix")]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.label)+" ",1)]),_:2},[p.$slots.tooltip?{name:"tooltip",fn:e.withCtx(()=>[e.renderSlot(p.$slots,"tooltip")]),key:"0"}:void 0]),1032,["for","required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass({flex:c.value,"rounded border bg-white":f.value})},[c.value?(e.openBlock(),e.createBlock(e.unref(O._sfc_main$1),{key:0,size:t.value,intent:h.value,icon:"remove",disabled:!g.value||n.disabled,onMousedown:m[0]||(m[0]=v=>{var b;return(b=g.value)==null?void 0:b.call(g)})},null,8,["size","intent","disabled"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"flex grow items-center px-3":c.value,"border-x":f.value},n.inputWrapperClass])},[e.withDirectives(e.createElementVNode("input",{ref_key:"inputRef",ref:o,"onUpdate:modelValue":m[1]||(m[1]=v=>r.value=v),step:n.steps,min:n.min,max:n.max,name:e.unref(s),disabled:n.disabled,type:"range",class:e.normalizeClass(e.unref(a)),onInput:l},null,42,ne),[[e.vModelText,r.value]])],2),c.value?(e.openBlock(),e.createBlock(e.unref(O._sfc_main$1),{key:1,size:t.value,intent:h.value,icon:"add",disabled:!d.value||n.disabled,onMousedown:m[2]||(m[2]=v=>{var b;return(b=d.value)==null?void 0:b.call(d)})},null,8,["size","intent","disabled"])):e.createCommentVNode("",!0)],2)],16,ee),e.createVNode(Z,{marker:"range-input-styles",css:e.unref(Y)},null,8,["css"]),!e.unref(x.isEmpty)(n.error)||p.$slots.helper?(e.openBlock(),e.createElementBlock("div",re,[e.unref(x.isEmpty)(n.error)?p.$slots.helper?e.renderSlot(p.$slots,"helper",{},void 0,void 0,1):e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(H._sfc_main,{key:0,message:n.error},null,8,["message"]))])):e.createCommentVNode("",!0)],64))}}),te=e.defineComponent({__name:"RangeInputExtended",props:e.mergeModels({options:{default:()=>[]},label:{},name:{},required:{type:Boolean,default:!1},rootClass:{},size:{default:"md"},variant:{},error:{},disabled:{type:Boolean},labelAfter:{type:Boolean},inputWrapperClass:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const i=n,r=e.useModel(n,"modelValue"),o=e.computed({get:()=>{const a=r.value?i.options.findIndex(t=>t===r.value):0;return a>=0?a:0},set:a=>(r.value=i.options[a],i.options.findIndex(t=>t===r.value))}),l=e.computed(()=>i.options.length??1);return(a,t)=>(e.openBlock(),e.createBlock(ie,e.mergeProps({modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=s=>o.value=s)},a.$attrs,{variant:n.variant,"label-after":n.labelAfter,min:0,max:l.value-1,steps:1,label:n.label,name:n.name,required:n.required,"root-class":n.rootClass,size:n.size,"input-wrapper-class":n.inputWrapperClass}),{"label-suffix":e.withCtx(()=>[e.renderSlot(a.$slots,"label-suffix")]),_:3},16,["modelValue","variant","label-after","max","label","name","required","root-class","size","input-wrapper-class"]))}}),ae=e.defineComponent({__name:"PricingGroupRangeInput",props:e.mergeModels({modelValue:{},options:{},name:{},variant:{default:"stepped-contained"},size:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const i=n,r=e.useModel(n,"modelValue"),o=e.computed(()=>{var t;return(t=i.options.find(s=>s.value===r.value))==null?void 0:t.label}),l=e.computed(()=>i.options.map(t=>t.value)),a=e.computed(()=>{var t;return(t=i.options.find(s=>s.value===r.value))==null?void 0:t.description});return(t,s)=>(e.openBlock(),e.createBlock(e.unref(te),e.mergeProps({modelValue:r.value,"onUpdate:modelValue":s[0]||(s[0]=g=>r.value=g)},t.$attrs,{label:o.value,"label-after":"",variant:n.variant,name:n.name,options:l.value,size:n.size,"input-wrapper-class":"border-l border-r",required:""}),{"label-suffix":e.withCtx(()=>[e.createVNode(e.unref(U._sfc_main),{tag:"span",variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.value),1)]),_:1})]),_:1},16,["modelValue","label","variant","name","options","size"]))}});exports._sfc_main=ae;exports.usePricingItem=K;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue"),g=require("./PricingGroupRangeInput.vue.es-D82XvoC_.js"),P=require("./RadioGroupExtended.vue.es-B1YtLNKG.js"),y=require("./Section.vue.es-DuK52y67.js"),b=require("./SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Ct3ZNq-j.js"),d=require("./customElements-Bt8PbjIn.js"),N=require("./pricing-BVAld27Y.js"),S=require("./useViewport-hPRVDWCm.js"),k={class:"flex gap-4 border-l-2 border-primary-600 px-2"},w={class:"grow"},_=e.defineComponent({__name:"PricingGroupTitle",setup(l){return(i,c)=>(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("div",w,[e.createVNode(e.unref(d._sfc_main),{tag:"span",variant:"body-sm",weight:"semibold"},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"title")]),_:3})]),e.createElementVNode("div",null,[e.createVNode(e.unref(d._sfc_main),{tag:"span",variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"description")]),_:3})])]))}});function f({currency:l,billingPeriod:i}){const{$t:c}=d.useIntl(),{renderPricingForPricingItem:u}=g.usePricingItem({currency:l,billingPeriod:i});return{describePricing:a=>{var s;const o=(s=a.items)==null?void 0:s[0];return o?u({pricingItem:o}):c({defaultMessage:"Unsupported pricing",id:"pricing_item_pricing.unsupported_pricing_error",description:"Text displayed when the pricing item pricing is unsupported"})},renderPricingForPricingItem:u}}const h={class:"p-1"},x={class:"pt-1"},m=3,I=6,O=e.defineComponent({__name:"PricingGroupSingleEditor",props:e.mergeModels({modelValue:{type:Array},pricings:{type:Array},billingPeriod:{type:Object},currency:{type:String},groupName:{type:String}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(l){const i=l,c=e.useModel(l,"modelValue"),{describePricing:u}=f({currency:e.toRef(i,"currency"),billingPeriod:e.toRef(i,"billingPeriod")}),{isMobileViewport:p}=S.useViewport(),a=e.computed(()=>i.pricings.map(n=>n.id)),o=e.computed({get:()=>c.value.find(n=>a.value.includes(n))??void 0,set:n=>{const t=c.value.filter(r=>!a.value.includes(r));c.value=n?[...t,n]:t}}),s=e.computed(()=>i.pricings.map(n=>({label:N.getNameFromPricing(n)??"",value:n.id,description:u(n)}))),v=()=>s.value.slice(0,m),V=()=>s.value.map(({value:n,label:t,description:r})=>({label:t,subLabel:r,value:n}));return(n,t)=>(e.openBlock(),e.createBlock(e.unref(y._sfc_main),{"no-spacing":""},{default:e.withCtx(()=>[e.createElementVNode("div",h,[e.createVNode(_,null,{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.groupName),1)]),_:1}),e.createElementVNode("div",x,[s.value.length<=m?(e.openBlock(),e.createBlock(e.unref(P._sfc_main),{key:0,modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=r=>o.value=r),options:v(),direction:e.unref(p)?"column":"row","show-radio":!1},null,8,["modelValue","options","direction"])):s.value.length<=I?(e.openBlock(),e.createBlock(e.unref(b._sfc_main),{key:1,"single-model-value":o.value,"onUpdate:singleModelValue":t[1]||(t[1]=r=>o.value=r),options:V(),size:"xl","show-sub-label-in-input":""},null,8,["single-model-value","options"])):(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:2,modelValue:o.value,"onUpdate:modelValue":t[2]||(t[2]=r=>o.value=r),options:s.value,name:`pricing-group-range-input-${l.groupName}`},null,8,["modelValue","options","name"]))])])]),_:1}))}});exports._sfc_main=O;exports._sfc_main$1=_;exports.usePricingDescription=f;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { defineComponent as $, openBlock as u, createElementBlock as w, createElementVNode as m, createVNode as f, unref as l, withCtx as g, renderSlot as y, useModel as I, toRef as P, computed as _, createBlock as p, createTextVNode as M, toDisplayString as N, mergeModels as h } from "vue";
|
|
2
|
+
import { u as x, _ as k } from "./PricingGroupRangeInput.vue.es-Bnb-ARie.mjs";
|
|
3
|
+
import { _ as T } from "./RadioGroupExtended.vue.es-WDbo_yj1.mjs";
|
|
4
|
+
import { _ as A } from "./Section.vue.es-By1JltGi.mjs";
|
|
5
|
+
import { _ as E } from "./SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CS3KIkPL.mjs";
|
|
6
|
+
import { _ as b, u as U } from "./customElements-Com2NiGU.mjs";
|
|
7
|
+
import { g as G } from "./pricing-DLOeiAIB.mjs";
|
|
8
|
+
import { u as R } from "./useViewport-BgdA2PPt.mjs";
|
|
9
|
+
const B = { class: "flex gap-4 border-l-2 border-primary-600 px-2" }, C = { class: "grow" }, D = /* @__PURE__ */ $({
|
|
10
|
+
__name: "PricingGroupTitle",
|
|
11
|
+
setup(s) {
|
|
12
|
+
return (o, a) => (u(), w("div", B, [
|
|
13
|
+
m("div", C, [
|
|
14
|
+
f(l(b), {
|
|
15
|
+
tag: "span",
|
|
16
|
+
variant: "body-sm",
|
|
17
|
+
weight: "semibold"
|
|
18
|
+
}, {
|
|
19
|
+
default: g(() => [
|
|
20
|
+
y(o.$slots, "title")
|
|
21
|
+
]),
|
|
22
|
+
_: 3
|
|
23
|
+
})
|
|
24
|
+
]),
|
|
25
|
+
m("div", null, [
|
|
26
|
+
f(l(b), {
|
|
27
|
+
tag: "span",
|
|
28
|
+
variant: "body-xs",
|
|
29
|
+
color: "subtle"
|
|
30
|
+
}, {
|
|
31
|
+
default: g(() => [
|
|
32
|
+
y(o.$slots, "description")
|
|
33
|
+
]),
|
|
34
|
+
_: 3
|
|
35
|
+
})
|
|
36
|
+
])
|
|
37
|
+
]));
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
function F({
|
|
41
|
+
currency: s,
|
|
42
|
+
billingPeriod: o
|
|
43
|
+
}) {
|
|
44
|
+
const { $t: a } = U(), { renderPricingForPricingItem: c } = x({ currency: s, billingPeriod: o });
|
|
45
|
+
return { describePricing: (d) => {
|
|
46
|
+
var r;
|
|
47
|
+
const t = (r = d.items) == null ? void 0 : r[0];
|
|
48
|
+
return t ? c({ pricingItem: t }) : a({
|
|
49
|
+
defaultMessage: "Unsupported pricing",
|
|
50
|
+
id: "pricing_item_pricing.unsupported_pricing_error",
|
|
51
|
+
description: "Text displayed when the pricing item pricing is unsupported"
|
|
52
|
+
});
|
|
53
|
+
}, renderPricingForPricingItem: c };
|
|
54
|
+
}
|
|
55
|
+
const H = { class: "p-1" }, W = { class: "pt-1" }, V = 3, X = 6, Z = /* @__PURE__ */ $({
|
|
56
|
+
__name: "PricingGroupSingleEditor",
|
|
57
|
+
props: /* @__PURE__ */ h({
|
|
58
|
+
modelValue: { type: Array },
|
|
59
|
+
pricings: { type: Array },
|
|
60
|
+
billingPeriod: { type: Object },
|
|
61
|
+
currency: { type: String },
|
|
62
|
+
groupName: { type: String }
|
|
63
|
+
}, {
|
|
64
|
+
modelValue: {
|
|
65
|
+
required: !0
|
|
66
|
+
},
|
|
67
|
+
modelModifiers: {}
|
|
68
|
+
}),
|
|
69
|
+
emits: ["update:modelValue"],
|
|
70
|
+
setup(s) {
|
|
71
|
+
const o = s, a = I(s, "modelValue"), { describePricing: c } = F({
|
|
72
|
+
currency: P(o, "currency"),
|
|
73
|
+
billingPeriod: P(o, "billingPeriod")
|
|
74
|
+
}), { isMobileViewport: v } = R(), d = _(() => o.pricings.map((e) => e.id)), t = _({
|
|
75
|
+
get: () => a.value.find((e) => d.value.includes(e)) ?? void 0,
|
|
76
|
+
set: (e) => {
|
|
77
|
+
const i = a.value.filter((n) => !d.value.includes(n));
|
|
78
|
+
a.value = e ? [...i, e] : i;
|
|
79
|
+
}
|
|
80
|
+
}), r = _(() => o.pricings.map((e) => ({
|
|
81
|
+
label: G(e) ?? "",
|
|
82
|
+
value: e.id,
|
|
83
|
+
description: c(e)
|
|
84
|
+
}))), O = () => r.value.slice(0, V), S = () => r.value.map(({ value: e, label: i, description: n }) => ({
|
|
85
|
+
label: i,
|
|
86
|
+
subLabel: n,
|
|
87
|
+
value: e
|
|
88
|
+
}));
|
|
89
|
+
return (e, i) => (u(), p(l(A), { "no-spacing": "" }, {
|
|
90
|
+
default: g(() => [
|
|
91
|
+
m("div", H, [
|
|
92
|
+
f(D, null, {
|
|
93
|
+
title: g(() => [
|
|
94
|
+
M(N(s.groupName), 1)
|
|
95
|
+
]),
|
|
96
|
+
_: 1
|
|
97
|
+
}),
|
|
98
|
+
m("div", W, [
|
|
99
|
+
r.value.length <= V ? (u(), p(l(T), {
|
|
100
|
+
key: 0,
|
|
101
|
+
modelValue: t.value,
|
|
102
|
+
"onUpdate:modelValue": i[0] || (i[0] = (n) => t.value = n),
|
|
103
|
+
options: O(),
|
|
104
|
+
direction: l(v) ? "column" : "row",
|
|
105
|
+
"show-radio": !1
|
|
106
|
+
}, null, 8, ["modelValue", "options", "direction"])) : r.value.length <= X ? (u(), p(l(E), {
|
|
107
|
+
key: 1,
|
|
108
|
+
"single-model-value": t.value,
|
|
109
|
+
"onUpdate:singleModelValue": i[1] || (i[1] = (n) => t.value = n),
|
|
110
|
+
options: S(),
|
|
111
|
+
size: "xl",
|
|
112
|
+
"show-sub-label-in-input": ""
|
|
113
|
+
}, null, 8, ["single-model-value", "options"])) : (u(), p(l(k), {
|
|
114
|
+
key: 2,
|
|
115
|
+
modelValue: t.value,
|
|
116
|
+
"onUpdate:modelValue": i[2] || (i[2] = (n) => t.value = n),
|
|
117
|
+
options: r.value,
|
|
118
|
+
name: `pricing-group-range-input-${s.groupName}`
|
|
119
|
+
}, null, 8, ["modelValue", "options", "name"]))
|
|
120
|
+
])
|
|
121
|
+
])
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
}));
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
export {
|
|
128
|
+
Z as _,
|
|
129
|
+
D as a,
|
|
130
|
+
F as u
|
|
131
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue"),v=require("./index.es-BclokHQX.js"),d=require("./cn.es-CNvIP217.js"),u=require("./customElements-Bt8PbjIn.js"),g=require("./IconButton.vue.es-DGLIdHkR.js"),k=require("./FormMessage.vue.es-dqATjC2N.js"),x=["disabled"],w=["aria-label"],V=["id","disabled","value","aria-checked","aria-describedby"],B=["tabindex","data-testid","for","aria-label","onKeydown"],h={class:"text-xs"},$={key:1,class:"mt-2 text-sm text-secondary"},C=e.defineComponent({__name:"RadioGroupExtended",props:{options:{},direction:{default:"row"},showRadio:{type:Boolean,default:!0},columns:{},disabled:{type:Boolean},label:{},modelValue:{type:[String,Boolean]},name:{},required:{type:Boolean},rootClass:{},error:{},variant:{}},emits:["update:modelValue"],setup(l,{emit:c}){const n=l,m=c,t=v.useVModel(n,"modelValue",m),f=e.computed(()=>n.columns?"grid":["flex",n.direction==="column"?"flex-col":"flex-row"]),b=e.computed(()=>n.columns?{gridTemplateColumns:`repeat(${n.columns}, minmax(0, 1fr))`}:void 0),o=d.uniqueId(n.name?`radio_${n.name}_`:"radio_"),y=(r,i)=>{n.disabled||(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),r.stopPropagation(),t.value=i)};return(r,i)=>(e.openBlock(),e.createElementBlock("fieldset",{class:e.normalizeClass(l.rootClass),disabled:l.disabled},[l.label?(e.openBlock(),e.createBlock(e.unref(d._sfc_main),{key:0,tag:"legend",required:l.required},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.label),1)]),_:1},8,["required"])):e.createCommentVNode("",!0),e.createElementVNode("div",{role:"group","aria-label":l.label,class:e.normalizeClass([f.value,"gap-1 rounded"]),style:e.normalizeStyle(b.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,a=>(e.openBlock(),e.createElementBlock("div",{key:a.value.toString(),class:"flex min-w-0 flex-1 flex-col"},[e.withDirectives(e.createElementVNode("input",e.mergeProps({ref_for:!0},r.$attrs,{id:`${e.unref(o)}${a.value}`,"onUpdate:modelValue":i[0]||(i[0]=s=>e.isRef(t)?t.value=s:null),disabled:l.disabled,value:a.value,type:"radio","aria-checked":e.unref(t)===a.value,"aria-describedby":a.warning?`${e.unref(o)}${a.value}-warning`:void 0,tabindex:"-1",class:"sr-only"}),null,16,V),[[e.vModelRadio,e.unref(t)]]),e.createElementVNode("label",{tabindex:l.disabled?void 0:0,"data-testid":`radio-group-item-${a.value}`,for:`${e.unref(o)}${a.value}`,"aria-label":a.label+(a.description?`: ${a.description}`:""),class:e.normalizeClass(["label hover:bg-primary-50/50 relative flex flex-1 gap-3 rounded border border-gray-100 bg-gray-50/50 px-4 py-3 outline-none focus:bg-primary-50 focus-visible:border-primary-600 focus-visible:bg-primary-50 focus-visible:ring-1 focus-visible:ring-primary-600",{"cursor-pointer":!l.disabled,"cursor-not-allowed":l.disabled,"border-transparent bg-white ring-1 ring-primary-600":e.unref(t)===a.value&&!l.disabled,"opacity-60":l.disabled}]),onKeydown:s=>y(s,a.value)},[l.showRadio?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["material-symbols-outlined mt-px inline-block h-4 w-4 min-w-4 rounded-full leading-4",{"border-4 border-primary-800":e.unref(t)===a.value,"border border-gray-300":e.unref(t)!==a.value}])},null,2)):r.$slots.prefix?e.renderSlot(r.$slots,"prefix",{option:a,optionValue:a.value},void 0,void 0,1):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["flex min-w-0 grow flex-col",{"opacity-50":l.disabled}])},[e.createVNode(e.unref(u._sfc_main),{tag:"span",weight:"semibold","no-spacing":"",variant:"body-sm",class:"align-center flex justify-between"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"label",{option:a,optionValue:a.value},()=>[e.createTextVNode(e.toDisplayString(a.label),1)])]),_:2},1024),e.renderSlot(r.$slots,"description",{option:a,optionValue:a.value},()=>[a.description?(e.openBlock(),e.createBlock(e.unref(u._sfc_main),{key:0,tag:"span",variant:"body-xs","no-spacing":"",color:"secondary"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.description),1)]),_:2},1024)):e.createCommentVNode("",!0)])],2),e.renderSlot(r.$slots,"suffix",{option:a,optionValue:a.value})],42,B),a.warning?(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:0,id:`${e.unref(o)}${a.value}-warning`,class:"mt-1",type:e.unref(t)===a.value?"danger":"neutral",role:"alert"},{default:e.withCtx(()=>[e.createElementVNode("span",h,e.toDisplayString(a.warning),1)]),_:2},1032,["id","type"])):e.createCommentVNode("",!0)]))),128))],14,w),l.error||r.$slots.helper?(e.openBlock(),e.createElementBlock("div",$,[l.error?(e.openBlock(),e.createBlock(e.unref(k._sfc_main),{key:0,message:l.error},null,8,["message"])):r.$slots.helper?e.renderSlot(r.$slots,"helper",{},void 0,void 0,1):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,x))}});exports._sfc_main=C;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { defineComponent as p, computed as w, openBlock as d, createElementBlock as o, normalizeClass as n, createBlock as f, unref as l, withCtx as y, createTextVNode as $, toDisplayString as v, createCommentVNode as t, createElementVNode as u, normalizeStyle as B, Fragment as S, renderList as q, withDirectives as R, mergeProps as D, isRef as E, vModelRadio as N, renderSlot as c, createVNode as K } from "vue";
|
|
2
|
+
import { u as P } from "./index.es-CXkP_k3u.mjs";
|
|
3
|
+
import { u as z, _ as M } from "./cn.es-DjnGlmqV.mjs";
|
|
4
|
+
import { _ as x } from "./customElements-Com2NiGU.mjs";
|
|
5
|
+
import { _ as T } from "./IconButton.vue.es-DAR7e8NA.mjs";
|
|
6
|
+
import { _ as j } from "./FormMessage.vue.es-jG3fQZms.mjs";
|
|
7
|
+
const F = ["disabled"], G = ["aria-label"], I = ["id", "disabled", "value", "aria-checked", "aria-describedby"], L = ["tabindex", "data-testid", "for", "aria-label", "onKeydown"], U = { class: "text-xs" }, A = {
|
|
8
|
+
key: 1,
|
|
9
|
+
class: "mt-2 text-sm text-secondary"
|
|
10
|
+
}, Z = /* @__PURE__ */ p({
|
|
11
|
+
__name: "RadioGroupExtended",
|
|
12
|
+
props: {
|
|
13
|
+
options: {},
|
|
14
|
+
direction: { default: "row" },
|
|
15
|
+
showRadio: { type: Boolean, default: !0 },
|
|
16
|
+
columns: {},
|
|
17
|
+
disabled: { type: Boolean },
|
|
18
|
+
label: {},
|
|
19
|
+
modelValue: { type: [String, Boolean] },
|
|
20
|
+
name: {},
|
|
21
|
+
required: { type: Boolean },
|
|
22
|
+
rootClass: {},
|
|
23
|
+
error: {},
|
|
24
|
+
variant: {}
|
|
25
|
+
},
|
|
26
|
+
emits: ["update:modelValue"],
|
|
27
|
+
setup(a, { emit: h }) {
|
|
28
|
+
const s = a, i = P(s, "modelValue", h), k = w(
|
|
29
|
+
() => s.columns ? "grid" : ["flex", s.direction === "column" ? "flex-col" : "flex-row"]
|
|
30
|
+
), V = w(
|
|
31
|
+
() => s.columns ? { gridTemplateColumns: `repeat(${s.columns}, minmax(0, 1fr))` } : void 0
|
|
32
|
+
), m = z(s.name ? `radio_${s.name}_` : "radio_"), C = (r, b) => {
|
|
33
|
+
s.disabled || (r.key === "Enter" || r.key === " ") && (r.preventDefault(), r.stopPropagation(), i.value = b);
|
|
34
|
+
};
|
|
35
|
+
return (r, b) => (d(), o("fieldset", {
|
|
36
|
+
class: n(a.rootClass),
|
|
37
|
+
disabled: a.disabled
|
|
38
|
+
}, [
|
|
39
|
+
a.label ? (d(), f(l(M), {
|
|
40
|
+
key: 0,
|
|
41
|
+
tag: "legend",
|
|
42
|
+
required: a.required
|
|
43
|
+
}, {
|
|
44
|
+
default: y(() => [
|
|
45
|
+
$(v(a.label), 1)
|
|
46
|
+
]),
|
|
47
|
+
_: 1
|
|
48
|
+
}, 8, ["required"])) : t("", !0),
|
|
49
|
+
u("div", {
|
|
50
|
+
role: "group",
|
|
51
|
+
"aria-label": a.label,
|
|
52
|
+
class: n([k.value, "gap-1 rounded"]),
|
|
53
|
+
style: B(V.value)
|
|
54
|
+
}, [
|
|
55
|
+
(d(!0), o(S, null, q(a.options, (e) => (d(), o("div", {
|
|
56
|
+
key: e.value.toString(),
|
|
57
|
+
class: "flex min-w-0 flex-1 flex-col"
|
|
58
|
+
}, [
|
|
59
|
+
R(u("input", D({ ref_for: !0 }, r.$attrs, {
|
|
60
|
+
id: `${l(m)}${e.value}`,
|
|
61
|
+
"onUpdate:modelValue": b[0] || (b[0] = (g) => E(i) ? i.value = g : null),
|
|
62
|
+
disabled: a.disabled,
|
|
63
|
+
value: e.value,
|
|
64
|
+
type: "radio",
|
|
65
|
+
"aria-checked": l(i) === e.value,
|
|
66
|
+
"aria-describedby": e.warning ? `${l(m)}${e.value}-warning` : void 0,
|
|
67
|
+
tabindex: "-1",
|
|
68
|
+
class: "sr-only"
|
|
69
|
+
}), null, 16, I), [
|
|
70
|
+
[N, l(i)]
|
|
71
|
+
]),
|
|
72
|
+
u("label", {
|
|
73
|
+
tabindex: a.disabled ? void 0 : 0,
|
|
74
|
+
"data-testid": `radio-group-item-${e.value}`,
|
|
75
|
+
for: `${l(m)}${e.value}`,
|
|
76
|
+
"aria-label": e.label + (e.description ? `: ${e.description}` : ""),
|
|
77
|
+
class: n(["label hover:bg-primary-50/50 relative flex flex-1 gap-3 rounded border border-gray-100 bg-gray-50/50 px-4 py-3 outline-none focus:bg-primary-50 focus-visible:border-primary-600 focus-visible:bg-primary-50 focus-visible:ring-1 focus-visible:ring-primary-600", {
|
|
78
|
+
"cursor-pointer": !a.disabled,
|
|
79
|
+
"cursor-not-allowed": a.disabled,
|
|
80
|
+
"border-transparent bg-white ring-1 ring-primary-600": l(i) === e.value && !a.disabled,
|
|
81
|
+
"opacity-60": a.disabled
|
|
82
|
+
}]),
|
|
83
|
+
onKeydown: (g) => C(g, e.value)
|
|
84
|
+
}, [
|
|
85
|
+
a.showRadio ? (d(), o("div", {
|
|
86
|
+
key: 0,
|
|
87
|
+
class: n(["material-symbols-outlined mt-px inline-block h-4 w-4 min-w-4 rounded-full leading-4", {
|
|
88
|
+
"border-4 border-primary-800": l(i) === e.value,
|
|
89
|
+
"border border-gray-300": l(i) !== e.value
|
|
90
|
+
}])
|
|
91
|
+
}, null, 2)) : r.$slots.prefix ? c(r.$slots, "prefix", {
|
|
92
|
+
option: e,
|
|
93
|
+
optionValue: e.value
|
|
94
|
+
}, void 0, void 0, 1) : t("", !0),
|
|
95
|
+
u("div", {
|
|
96
|
+
class: n(["flex min-w-0 grow flex-col", { "opacity-50": a.disabled }])
|
|
97
|
+
}, [
|
|
98
|
+
K(l(x), {
|
|
99
|
+
tag: "span",
|
|
100
|
+
weight: "semibold",
|
|
101
|
+
"no-spacing": "",
|
|
102
|
+
variant: "body-sm",
|
|
103
|
+
class: "align-center flex justify-between"
|
|
104
|
+
}, {
|
|
105
|
+
default: y(() => [
|
|
106
|
+
c(r.$slots, "label", {
|
|
107
|
+
option: e,
|
|
108
|
+
optionValue: e.value
|
|
109
|
+
}, () => [
|
|
110
|
+
$(v(e.label), 1)
|
|
111
|
+
])
|
|
112
|
+
]),
|
|
113
|
+
_: 2
|
|
114
|
+
}, 1024),
|
|
115
|
+
c(r.$slots, "description", {
|
|
116
|
+
option: e,
|
|
117
|
+
optionValue: e.value
|
|
118
|
+
}, () => [
|
|
119
|
+
e.description ? (d(), f(l(x), {
|
|
120
|
+
key: 0,
|
|
121
|
+
tag: "span",
|
|
122
|
+
variant: "body-xs",
|
|
123
|
+
"no-spacing": "",
|
|
124
|
+
color: "secondary"
|
|
125
|
+
}, {
|
|
126
|
+
default: y(() => [
|
|
127
|
+
$(v(e.description), 1)
|
|
128
|
+
]),
|
|
129
|
+
_: 2
|
|
130
|
+
}, 1024)) : t("", !0)
|
|
131
|
+
])
|
|
132
|
+
], 2),
|
|
133
|
+
c(r.$slots, "suffix", {
|
|
134
|
+
option: e,
|
|
135
|
+
optionValue: e.value
|
|
136
|
+
})
|
|
137
|
+
], 42, L),
|
|
138
|
+
e.warning ? (d(), f(l(T), {
|
|
139
|
+
key: 0,
|
|
140
|
+
id: `${l(m)}${e.value}-warning`,
|
|
141
|
+
class: "mt-1",
|
|
142
|
+
type: l(i) === e.value ? "danger" : "neutral",
|
|
143
|
+
role: "alert"
|
|
144
|
+
}, {
|
|
145
|
+
default: y(() => [
|
|
146
|
+
u("span", U, v(e.warning), 1)
|
|
147
|
+
]),
|
|
148
|
+
_: 2
|
|
149
|
+
}, 1032, ["id", "type"])) : t("", !0)
|
|
150
|
+
]))), 128))
|
|
151
|
+
], 14, G),
|
|
152
|
+
a.error || r.$slots.helper ? (d(), o("div", A, [
|
|
153
|
+
a.error ? (d(), f(l(j), {
|
|
154
|
+
key: 0,
|
|
155
|
+
message: a.error
|
|
156
|
+
}, null, 8, ["message"])) : r.$slots.helper ? c(r.$slots, "helper", {}, void 0, void 0, 1) : t("", !0)
|
|
157
|
+
])) : t("", !0)
|
|
158
|
+
], 10, F));
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
export {
|
|
162
|
+
Z as _
|
|
163
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { defineComponent as s, openBlock as n, createElementBlock as r, createBlock as i, unref as c, withCtx as o, renderSlot as a, createCommentVNode as l, resolveDynamicComponent as m, createVNode as u, createSlots as f, createTextVNode as g, toDisplayString as h, createElementVNode as y, normalizeClass as B } from "vue";
|
|
2
|
+
import { _ as k } from "./customElements-Com2NiGU.mjs";
|
|
3
|
+
const $ = { class: "flex items-center gap-4" }, v = { key: 1 }, C = /* @__PURE__ */ s({
|
|
4
|
+
__name: "SectionTitle",
|
|
5
|
+
setup(e) {
|
|
6
|
+
return (t, d) => (n(), r("div", $, [
|
|
7
|
+
t.$slots.default ? (n(), i(c(k), {
|
|
8
|
+
key: 0,
|
|
9
|
+
tag: "h2",
|
|
10
|
+
variant: "heading-3",
|
|
11
|
+
class: "grow"
|
|
12
|
+
}, {
|
|
13
|
+
default: o(() => [
|
|
14
|
+
a(t.$slots, "default")
|
|
15
|
+
]),
|
|
16
|
+
_: 3
|
|
17
|
+
})) : l("", !0),
|
|
18
|
+
t.$slots.right ? (n(), r("div", v, [
|
|
19
|
+
a(t.$slots, "right")
|
|
20
|
+
])) : l("", !0)
|
|
21
|
+
]));
|
|
22
|
+
}
|
|
23
|
+
}), b = /* @__PURE__ */ s({
|
|
24
|
+
__name: "Section",
|
|
25
|
+
props: {
|
|
26
|
+
contentClasses: {},
|
|
27
|
+
contentBackground: { default: "gray" },
|
|
28
|
+
title: {},
|
|
29
|
+
noSpacing: { type: Boolean },
|
|
30
|
+
hasError: { type: Boolean },
|
|
31
|
+
noBorder: { type: Boolean, default: !1 }
|
|
32
|
+
},
|
|
33
|
+
setup(e) {
|
|
34
|
+
return (t, d) => (n(), i(m(e.title ? "section" : "div"), null, {
|
|
35
|
+
default: o(() => [
|
|
36
|
+
u(C, null, f({ _: 2 }, [
|
|
37
|
+
e.title ? {
|
|
38
|
+
name: "default",
|
|
39
|
+
fn: o(() => [
|
|
40
|
+
g(h(e.title), 1)
|
|
41
|
+
]),
|
|
42
|
+
key: "0"
|
|
43
|
+
} : void 0,
|
|
44
|
+
t.$slots.right ? {
|
|
45
|
+
name: "right",
|
|
46
|
+
fn: o(() => [
|
|
47
|
+
a(t.$slots, "right")
|
|
48
|
+
]),
|
|
49
|
+
key: "1"
|
|
50
|
+
} : void 0
|
|
51
|
+
]), 1024),
|
|
52
|
+
y("div", {
|
|
53
|
+
class: B({
|
|
54
|
+
"rounded border": !e.noBorder,
|
|
55
|
+
"p-3 py-2": !e.noSpacing,
|
|
56
|
+
"bg-gray-50/50": e.contentBackground === "gray",
|
|
57
|
+
"mt-1 md:mt-2": !!e.title,
|
|
58
|
+
[e.contentClasses ?? ""]: !!e.contentClasses,
|
|
59
|
+
"border-red-600": e.hasError,
|
|
60
|
+
"border-gray-100": !e.hasError
|
|
61
|
+
})
|
|
62
|
+
}, [
|
|
63
|
+
a(t.$slots, "default")
|
|
64
|
+
], 2)
|
|
65
|
+
]),
|
|
66
|
+
_: 3
|
|
67
|
+
}));
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
b as _
|
|
72
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue"),r=require("./customElements-Bt8PbjIn.js"),a={class:"flex items-center gap-4"},l={key:1},s=e.defineComponent({__name:"SectionTitle",setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",a,[n.$slots.default?(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{key:0,tag:"h2",variant:"heading-3",class:"grow"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3})):e.createCommentVNode("",!0),n.$slots.right?(e.openBlock(),e.createElementBlock("div",l,[e.renderSlot(n.$slots,"right")])):e.createCommentVNode("",!0)]))}}),c=e.defineComponent({__name:"Section",props:{contentClasses:{},contentBackground:{default:"gray"},title:{},noSpacing:{type:Boolean},hasError:{type:Boolean},noBorder:{type:Boolean,default:!1}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.title?"section":"div"),null,{default:e.withCtx(()=>[e.createVNode(s,null,e.createSlots({_:2},[t.title?{name:"default",fn:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),key:"0"}:void 0,n.$slots.right?{name:"right",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"right")]),key:"1"}:void 0]),1024),e.createElementVNode("div",{class:e.normalizeClass({"rounded border":!t.noBorder,"p-3 py-2":!t.noSpacing,"bg-gray-50/50":t.contentBackground==="gray","mt-1 md:mt-2":!!t.title,[t.contentClasses??""]:!!t.contentClasses,"border-red-600":t.hasError,"border-gray-100":!t.hasError})},[e.renderSlot(n.$slots,"default")],2)]),_:3}))}});exports._sfc_main=c;
|