@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 @@
|
|
|
1
|
+
const e=require("vue"),M=require("./index.es-BclokHQX.js"),L=require("./ContextMenu.vue.es-BllxeDTt.js"),k=require("./Button.vue.es-BWl37nzm.js"),C=require("./slots.es-T9ZJRGtG.js"),X=require("./Avatar.vue.es-CJw5z7Uu.js"),q=require("./customElements-Bt8PbjIn.js"),Y=require("./IconButton.vue.es-DGLIdHkR.js"),J=require("./floating-ui.vue.es-Bly3DGWm.js"),w=60,B="z-index-tracker",Q=()=>({defaultZIndex:w,getZIndex:()=>{const o=document.querySelectorAll(`.${B}`);let i=w;return(o??[]).forEach(s=>{const r=window.getComputedStyle(s).getPropertyValue("z-index");r&&+r>=i&&(i=+r+1)}),i},getTopZIndex:()=>{const o=document.querySelectorAll(`.${B}`);let i=w;return(o??[]).forEach(s=>{const r=window.getComputedStyle(s).getPropertyValue("z-index");r&&+r>i&&(i=+r)}),i},trackingClass:B}),W=e.defineComponent({__name:"Backdrop",props:{blurred:{type:Boolean,default:!1},color:{default:"gray"},zIndex:{}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["fixed inset-0",{"bg-white/90 backdrop-blur":t.blurred&&t.color==="white","bg-white/80":!t.blurred&&t.color==="white","bg-gray-200/90 backdrop-blur":t.blurred&&t.color==="gray","bg-gray-200/80":!t.blurred&&t.color==="gray"}]),style:e.normalizeStyle({zIndex:t.zIndex})},[e.renderSlot(n.$slots,"default")],6))}}),_={class:"grow overflow-hidden text-ellipsis"},ee=e.defineComponent({__name:"Title",props:{title:{},subTitle:{},variant:{default:"default"},suffix:{},size:{default:"md"},avatar:{type:Boolean,default:!1},uppercase:{type:Boolean,default:!0},resourceId:{}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex text-left",{"gap-4":["md","lg"].includes(t.size),"gap-3":t.size==="sm","gap-2":t.size==="xs"&&t.variant!=="transparent","gap-1":t.size==="xs"&&t.variant==="transparent"}])},[t.avatar&&t.title?(e.openBlock(),e.createBlock(e.unref(X._sfc_main),{key:0,initials:t.title.slice(0,1),"color-hash":t.title,size:["sm","xs"].includes(t.size)?"lg":"xl"},null,8,["initials","color-hash","size"])):e.createCommentVNode("",!0),e.createElementVNode("div",_,[t.title||n.$slots.default?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([{"text-3xl":t.size==="lg","text-2xl":t.size==="md","text-base":t.size==="sm","text-xs text-subtle":t.size==="xs","text-default":t.size!=="xs",uppercase:t.size==="xs"&&t.uppercase,"font-general-sans":["md","lg"].includes(t.size)},"flex items-center font-semibold"])},[e.renderSlot(n.$slots,"prefix"),e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),e.renderSlot(n.$slots,"suffix",{},()=>[e.createTextVNode(e.toDisplayString(t.suffix),1)])],2)):e.createCommentVNode("",!0),t.subTitle||n.$slots.subTitle&&!e.unref(C.isVnodeEmpty)(n.$slots.subTitle({}))?(e.openBlock(),e.createBlock(e.unref(q._sfc_main),{key:1,variant:"body-sm",color:"secondary","no-spacing":"",class:"mt-1"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"subTitle",{},()=>[e.createTextVNode(e.toDisplayString(t.subTitle),1)])]),_:3})):e.createCommentVNode("",!0)])],2))}}),te=["aria-label","aria-labelledby","aria-busy"],le={key:0,role:"status",class:"absolute bottom-0 left-0 right-0 top-0 z-10 flex items-center justify-center bg-white/80"},oe={class:"sr-only"},ae={key:1,"data-testid":"modal-top-bar",class:"flex justify-end border-b border-gray-200 py-2 pr-2"},ne={"aria-hidden":"true",class:"sticky top-0 z-10 -mx-6 h-0"},se={"data-testid":"modal-body-content",class:"py-6"},re=["id"],ie={"aria-hidden":"true",class:"sticky bottom-0 z-10 -mx-6 h-0"},de={key:0},ce={key:3,"data-testid":"modal-footer",class:"border-t border-gray-200 px-6 py-3 [&_button]:w-full"},ue={class:"flex flex-col gap-2"},fe=e.defineComponent({__name:"Modal",props:{children:{default:()=>[]},size:{default:"2xl"},noCloseButton:{type:Boolean,default:!1},noClickAway:{type:Boolean,default:!1},noBackdropClose:{type:Boolean,default:!1},showModal:{type:Boolean,default:!1},blurred:{type:Boolean,default:!1},title:{},subTitle:{},confirmButtonText:{},cancelButtonText:{},overflowVisible:{type:Boolean},isLoading:{type:Boolean,default:!1},isEmbedded:{type:Boolean,default:!1},ariaLabel:{},ariaLabelledby:{}},emits:["confirm","close"],setup(t,{emit:n}){const o=t,i=n,s=e.useSlots(),{$t:r}=q.useIntl(),z=e.computed(()=>{var l,a;return!!((l=s.body)!=null&&l.call(s))&&!C.isVnodeEmpty((a=s.body)==null?void 0:a.call(s,{}))}),u=e.computed(()=>{var l,a;return!!o.title||!!((l=s.header)!=null&&l.call(s))&&!C.isVnodeEmpty((a=s.header)==null?void 0:a.call(s,{}))}),D=e.computed(()=>z.value||u.value),{getZIndex:A,getTopZIndex:Z,trackingClass:R,defaultZIndex:E}=Q(),m=e.ref(),c=e.ref(),f=e.ref(E),p=e.useId(),V=e.computed(()=>{if(o.ariaLabelledby)return o.ariaLabelledby;if(!o.ariaLabel&&!o.title&&u.value)return p}),F=e.computed(()=>{if(!V.value)return o.ariaLabel||o.title||void 0}),S=e.ref(!1),N=e.ref(!1),K=e.computed(()=>o.blurred||o.isEmbedded),O={xs:"max-w-xs",sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl","2xl":"max-w-2xl","3xl":"max-w-3xl","4xl":"max-w-4xl","5xl":"max-w-5xl","6xl":"max-w-6xl","7xl":"max-w-7xl"},U=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])",'[contenteditable="true"]','[tabindex]:not([tabindex^="-"])'].join(","),y=e.ref(null),T=()=>c.value?Array.from(c.value.querySelectorAll(U)).filter(l=>!l.closest('[aria-hidden="true"]')):[],j=()=>{const l=c.value;if(!l)return;(l.querySelector("[autofocus]")??T()[0]??l).focus()},$=()=>o.showModal&&f.value>=Z(),b=()=>i("close"),H=()=>{o.noBackdropClose||b()},G=()=>{if(!m.value)return;const{scrollTop:l,scrollHeight:a,clientHeight:d}=m.value;S.value=l>0,N.value=l+d<a-1};M.onKeyStroke("Escape",()=>{o.noClickAway||!$()||b()}),M.onKeyStroke("Tab",l=>{const a=c.value;if(!a||!$())return;const d=T();if(!d.length){l.preventDefault(),a.focus();return}const v=d[0],h=d[d.length-1],g=document.activeElement;if(!a.contains(g)){l.preventDefault(),(l.shiftKey?h:v).focus();return}l.shiftKey&&g===v?(l.preventDefault(),h.focus()):!l.shiftKey&&g===h&&(l.preventDefault(),v.focus())});const x=l=>{const a=document.querySelector("body");a&&(a.style.overflowY=l)},I=async()=>{f.value=A(),x("hidden"),y.value=document.activeElement,await e.nextTick(),j()},P=()=>{var l;f.value=E,x("unset"),(l=y.value)==null||l.focus(),y.value=null};return e.watch(()=>o.showModal,l=>l?I():P()),e.onMounted(()=>{o.showModal&&I()}),e.onBeforeUnmount(()=>{x("unset")}),(l,a)=>(e.openBlock(),e.createBlock(e.unref(L._sfc_main),{to:"modal"},{default:e.withCtx(()=>[e.createVNode(e.Transition,{name:"modal",appear:""},{default:e.withCtx(()=>[t.showModal?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["h-modal z-60 fixed left-0 right-0 top-0 flex w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0 md:h-full",e.unref(R)]),style:e.normalizeStyle({zIndex:f.value})},[e.createVNode(e.unref(W),{"aria-hidden":"true",blurred:K.value,color:o.isEmbedded?"white":void 0,onMousedown:e.withModifiers(H,["self"])},null,8,["blurred","color"]),e.createElementVNode("div",{class:e.normalizeClass(["modal-panel relative h-full w-full p-4 md:h-auto",`${O[t.size]}`])},[e.createElementVNode("div",{ref_key:"dialogElementRef",ref:c,role:"dialog","aria-modal":"true",tabindex:"-1","aria-label":F.value,"aria-labelledby":V.value,"aria-busy":t.isLoading,class:"relative flex max-h-[min(95vh,920px)] flex-col rounded-xl bg-white shadow-lg focus:outline-none"},[t.isLoading?(e.openBlock(),e.createElementBlock("div",le,[e.createVNode(k._sfc_main$2,{size:"6","aria-hidden":"true"}),e.createElementVNode("span",oe,e.toDisplayString(e.unref(r)({defaultMessage:"Loading",id:"h+GlcT",description:"Modal loading state"})),1)])):e.createCommentVNode("",!0),t.noCloseButton?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",ae,[e.createVNode(e.unref(Y._sfc_main$1),{icon:"close",size:"xs",intent:"secondary","data-testid":"close-button","aria-label":e.unref(r)({defaultMessage:"Close",id:"U+ONwt",description:"Modal close button"}),onClick:b},null,8,["aria-label"])])),D.value?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"contentElementRef",ref:m,class:e.normalizeClass(["overflow-auto px-6",{"overflow-visible":t.overflowVisible}]),onScroll:G},[e.createElementVNode("div",ne,[e.createElementVNode("div",{class:e.normalizeClass(["transition-duration-700 pointer-events-none h-6 w-full bg-gradient-to-b from-black/[.06] to-transparent transition-opacity",S.value?"opacity-100":"opacity-0"])},null,2)]),e.createElementVNode("div",se,[u.value?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref(p)},[e.renderSlot(l.$slots,"header",{},()=>[t.title?(e.openBlock(),e.createBlock(ee,{key:0,title:t.title,"sub-title":t.subTitle,size:"md"},null,8,["title","sub-title"])):e.createCommentVNode("",!0)],!0)],8,re)):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass({"mt-4":u.value})},[e.renderSlot(l.$slots,"body",{},void 0,!0)],2)):e.createCommentVNode("",!0)]),e.createElementVNode("div",ie,[e.createElementVNode("div",{class:e.normalizeClass(["transition-duration-700 pointer-events-none h-6 w-full -translate-y-6 bg-gradient-to-t from-black/[.06] to-transparent transition-opacity",N.value?"opacity-100":"opacity-0"])},null,2)])],34)):e.createCommentVNode("",!0),e.createVNode(L.Fade,null,{default:e.withCtx(()=>[l.$slots.error?(e.openBlock(),e.createElementBlock("div",de,[e.renderSlot(l.$slots,"error",{},void 0,!0)])):e.createCommentVNode("",!0)]),_:3}),l.$slots.footer||t.confirmButtonText||t.cancelButtonText?(e.openBlock(),e.createElementBlock("div",ce,[e.renderSlot(l.$slots,"footer",{},()=>[e.createElementVNode("div",ue,[e.createVNode(e.unref(k._sfc_main),{size:"md",autofocus:"",loading:t.isLoading,onClick:a[0]||(a[0]=d=>l.$emit("confirm"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.confirmButtonText||e.unref(r)({defaultMessage:"Confirm",id:"N2IrpM",description:"Modal comfirm button"})),1)]),_:1},8,["loading"]),e.createVNode(e.unref(k._sfc_main),{size:"md",intent:"secondary",onClick:a[1]||(a[1]=d=>l.$emit("close"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.cancelButtonText||e.unref(r)({defaultMessage:"Cancel",id:"47FYwb",description:"Modal cancel button"})),1)]),_:1})])],!0)])):e.createCommentVNode("",!0)],8,te)],2)],6)):e.createCommentVNode("",!0)]),_:3})]),_:3}))}}),me=J._export_sfc(fe,[["__scopeId","data-v-f0b441a8"]]);exports.Modal=me;
|
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
import { defineComponent as V, openBlock as a, createElementBlock as u, normalizeStyle as X, normalizeClass as m, renderSlot as b, createBlock as T, unref as s, createCommentVNode as r, createElementVNode as c, createTextVNode as k, toDisplayString as w, withCtx as g, useSlots as ie, computed as v, ref as h, useId as de, watch as re, onMounted as ue, onBeforeUnmount as ce, createVNode as x, Transition as fe, withModifiers as me, nextTick as be } from "vue";
|
|
2
|
+
import { o as G } from "./index.es-CXkP_k3u.mjs";
|
|
3
|
+
import { _ as ye, F as xe } from "./ContextMenu.vue.es-C6TKlSXs.mjs";
|
|
4
|
+
import { b as ve, _ as P } from "./Button.vue.es-VQCd3V3C.mjs";
|
|
5
|
+
import { i as N } from "./slots.es-BA4MyEAa.mjs";
|
|
6
|
+
import { _ as he } from "./Avatar.vue.es-ChcLSNaN.mjs";
|
|
7
|
+
import { _ as ge, u as we } from "./customElements-Com2NiGU.mjs";
|
|
8
|
+
import { a as ze } from "./IconButton.vue.es-DAR7e8NA.mjs";
|
|
9
|
+
import { _ as ke } from "./floating-ui.vue.es-CYt0fSY7.mjs";
|
|
10
|
+
const A = 60, Z = "z-index-tracker", Be = () => ({
|
|
11
|
+
defaultZIndex: A,
|
|
12
|
+
getZIndex: () => {
|
|
13
|
+
const l = document.querySelectorAll(`.${Z}`);
|
|
14
|
+
let f = A;
|
|
15
|
+
return (l ?? []).forEach((i) => {
|
|
16
|
+
const d = window.getComputedStyle(i).getPropertyValue("z-index");
|
|
17
|
+
d && +d >= f && (f = +d + 1);
|
|
18
|
+
}), f;
|
|
19
|
+
},
|
|
20
|
+
getTopZIndex: () => {
|
|
21
|
+
const l = document.querySelectorAll(`.${Z}`);
|
|
22
|
+
let f = A;
|
|
23
|
+
return (l ?? []).forEach((i) => {
|
|
24
|
+
const d = window.getComputedStyle(i).getPropertyValue("z-index");
|
|
25
|
+
d && +d > f && (f = +d);
|
|
26
|
+
}), f;
|
|
27
|
+
},
|
|
28
|
+
trackingClass: Z
|
|
29
|
+
}), $e = /* @__PURE__ */ V({
|
|
30
|
+
__name: "Backdrop",
|
|
31
|
+
props: {
|
|
32
|
+
blurred: { type: Boolean, default: !1 },
|
|
33
|
+
color: { default: "gray" },
|
|
34
|
+
zIndex: {}
|
|
35
|
+
},
|
|
36
|
+
setup(e) {
|
|
37
|
+
return (n, l) => (a(), u("div", {
|
|
38
|
+
class: m(["fixed inset-0", {
|
|
39
|
+
"bg-white/90 backdrop-blur": e.blurred && e.color === "white",
|
|
40
|
+
"bg-white/80": !e.blurred && e.color === "white",
|
|
41
|
+
"bg-gray-200/90 backdrop-blur": e.blurred && e.color === "gray",
|
|
42
|
+
"bg-gray-200/80": !e.blurred && e.color === "gray"
|
|
43
|
+
}]),
|
|
44
|
+
style: X({ zIndex: e.zIndex })
|
|
45
|
+
}, [
|
|
46
|
+
b(n.$slots, "default")
|
|
47
|
+
], 6));
|
|
48
|
+
}
|
|
49
|
+
}), Te = { class: "grow overflow-hidden text-ellipsis" }, pe = /* @__PURE__ */ V({
|
|
50
|
+
__name: "Title",
|
|
51
|
+
props: {
|
|
52
|
+
title: {},
|
|
53
|
+
subTitle: {},
|
|
54
|
+
variant: { default: "default" },
|
|
55
|
+
suffix: {},
|
|
56
|
+
size: { default: "md" },
|
|
57
|
+
avatar: { type: Boolean, default: !1 },
|
|
58
|
+
uppercase: { type: Boolean, default: !0 },
|
|
59
|
+
resourceId: {}
|
|
60
|
+
},
|
|
61
|
+
setup(e) {
|
|
62
|
+
return (n, l) => (a(), u("div", {
|
|
63
|
+
class: m(["flex text-left", {
|
|
64
|
+
"gap-4": ["md", "lg"].includes(e.size),
|
|
65
|
+
"gap-3": e.size === "sm",
|
|
66
|
+
"gap-2": e.size === "xs" && e.variant !== "transparent",
|
|
67
|
+
"gap-1": e.size === "xs" && e.variant === "transparent"
|
|
68
|
+
}])
|
|
69
|
+
}, [
|
|
70
|
+
e.avatar && e.title ? (a(), T(s(he), {
|
|
71
|
+
key: 0,
|
|
72
|
+
initials: e.title.slice(0, 1),
|
|
73
|
+
"color-hash": e.title,
|
|
74
|
+
size: ["sm", "xs"].includes(e.size) ? "lg" : "xl"
|
|
75
|
+
}, null, 8, ["initials", "color-hash", "size"])) : r("", !0),
|
|
76
|
+
c("div", Te, [
|
|
77
|
+
e.title || n.$slots.default ? (a(), u("div", {
|
|
78
|
+
key: 0,
|
|
79
|
+
class: m([{
|
|
80
|
+
"text-3xl": e.size === "lg",
|
|
81
|
+
"text-2xl": e.size === "md",
|
|
82
|
+
"text-base": e.size === "sm",
|
|
83
|
+
"text-xs text-subtle": e.size === "xs",
|
|
84
|
+
"text-default": e.size !== "xs",
|
|
85
|
+
uppercase: e.size === "xs" && e.uppercase,
|
|
86
|
+
"font-general-sans": ["md", "lg"].includes(e.size)
|
|
87
|
+
}, "flex items-center font-semibold"])
|
|
88
|
+
}, [
|
|
89
|
+
b(n.$slots, "prefix"),
|
|
90
|
+
b(n.$slots, "default", {}, () => [
|
|
91
|
+
k(w(e.title), 1)
|
|
92
|
+
]),
|
|
93
|
+
b(n.$slots, "suffix", {}, () => [
|
|
94
|
+
k(w(e.suffix), 1)
|
|
95
|
+
])
|
|
96
|
+
], 2)) : r("", !0),
|
|
97
|
+
e.subTitle || n.$slots.subTitle && !s(N)(n.$slots.subTitle({})) ? (a(), T(s(ge), {
|
|
98
|
+
key: 1,
|
|
99
|
+
variant: "body-sm",
|
|
100
|
+
color: "secondary",
|
|
101
|
+
"no-spacing": "",
|
|
102
|
+
class: "mt-1"
|
|
103
|
+
}, {
|
|
104
|
+
default: g(() => [
|
|
105
|
+
b(n.$slots, "subTitle", {}, () => [
|
|
106
|
+
k(w(e.subTitle), 1)
|
|
107
|
+
])
|
|
108
|
+
]),
|
|
109
|
+
_: 3
|
|
110
|
+
})) : r("", !0)
|
|
111
|
+
])
|
|
112
|
+
], 2));
|
|
113
|
+
}
|
|
114
|
+
}), Ce = ["aria-label", "aria-labelledby", "aria-busy"], Ee = {
|
|
115
|
+
key: 0,
|
|
116
|
+
role: "status",
|
|
117
|
+
class: "absolute bottom-0 left-0 right-0 top-0 z-10 flex items-center justify-center bg-white/80"
|
|
118
|
+
}, Ie = { class: "sr-only" }, Se = {
|
|
119
|
+
key: 1,
|
|
120
|
+
"data-testid": "modal-top-bar",
|
|
121
|
+
class: "flex justify-end border-b border-gray-200 py-2 pr-2"
|
|
122
|
+
}, Me = {
|
|
123
|
+
"aria-hidden": "true",
|
|
124
|
+
class: "sticky top-0 z-10 -mx-6 h-0"
|
|
125
|
+
}, Le = {
|
|
126
|
+
"data-testid": "modal-body-content",
|
|
127
|
+
class: "py-6"
|
|
128
|
+
}, Ae = ["id"], Ze = {
|
|
129
|
+
"aria-hidden": "true",
|
|
130
|
+
class: "sticky bottom-0 z-10 -mx-6 h-0"
|
|
131
|
+
}, Ne = { key: 0 }, Ve = {
|
|
132
|
+
key: 3,
|
|
133
|
+
"data-testid": "modal-footer",
|
|
134
|
+
class: "border-t border-gray-200 px-6 py-3 [&_button]:w-full"
|
|
135
|
+
}, De = { class: "flex flex-col gap-2" }, Fe = /* @__PURE__ */ V({
|
|
136
|
+
__name: "Modal",
|
|
137
|
+
props: {
|
|
138
|
+
children: { default: () => [] },
|
|
139
|
+
size: { default: "2xl" },
|
|
140
|
+
noCloseButton: { type: Boolean, default: !1 },
|
|
141
|
+
noClickAway: { type: Boolean, default: !1 },
|
|
142
|
+
noBackdropClose: { type: Boolean, default: !1 },
|
|
143
|
+
showModal: { type: Boolean, default: !1 },
|
|
144
|
+
blurred: { type: Boolean, default: !1 },
|
|
145
|
+
title: {},
|
|
146
|
+
subTitle: {},
|
|
147
|
+
confirmButtonText: {},
|
|
148
|
+
cancelButtonText: {},
|
|
149
|
+
overflowVisible: { type: Boolean },
|
|
150
|
+
isLoading: { type: Boolean, default: !1 },
|
|
151
|
+
isEmbedded: { type: Boolean, default: !1 },
|
|
152
|
+
ariaLabel: {},
|
|
153
|
+
ariaLabelledby: {}
|
|
154
|
+
},
|
|
155
|
+
emits: ["confirm", "close"],
|
|
156
|
+
setup(e, { emit: n }) {
|
|
157
|
+
const l = e, f = n, i = ie(), { $t: d } = we(), D = v(() => {
|
|
158
|
+
var t, o;
|
|
159
|
+
return !!((t = i.body) != null && t.call(i)) && !N((o = i.body) == null ? void 0 : o.call(i, {}));
|
|
160
|
+
}), B = v(() => {
|
|
161
|
+
var t, o;
|
|
162
|
+
return !!l.title || !!((t = i.header) != null && t.call(i)) && !N((o = i.header) == null ? void 0 : o.call(i, {}));
|
|
163
|
+
}), Y = v(() => D.value || B.value), { getZIndex: J, getTopZIndex: Q, trackingClass: W, defaultZIndex: F } = Be(), p = h(), z = h(), $ = h(F), R = de(), O = v(() => {
|
|
164
|
+
if (l.ariaLabelledby) return l.ariaLabelledby;
|
|
165
|
+
if (!l.ariaLabel && !l.title && B.value) return R;
|
|
166
|
+
}), _ = v(() => {
|
|
167
|
+
if (!O.value)
|
|
168
|
+
return l.ariaLabel || l.title || void 0;
|
|
169
|
+
}), q = h(!1), K = h(!1), ee = v(() => l.blurred || l.isEmbedded), te = {
|
|
170
|
+
xs: "max-w-xs",
|
|
171
|
+
sm: "max-w-sm",
|
|
172
|
+
md: "max-w-md",
|
|
173
|
+
lg: "max-w-lg",
|
|
174
|
+
xl: "max-w-xl",
|
|
175
|
+
"2xl": "max-w-2xl",
|
|
176
|
+
"3xl": "max-w-3xl",
|
|
177
|
+
"4xl": "max-w-4xl",
|
|
178
|
+
"5xl": "max-w-5xl",
|
|
179
|
+
"6xl": "max-w-6xl",
|
|
180
|
+
"7xl": "max-w-7xl"
|
|
181
|
+
}, le = [
|
|
182
|
+
"a[href]",
|
|
183
|
+
"button:not([disabled])",
|
|
184
|
+
'input:not([disabled]):not([type="hidden"])',
|
|
185
|
+
"select:not([disabled])",
|
|
186
|
+
"textarea:not([disabled])",
|
|
187
|
+
'[contenteditable="true"]',
|
|
188
|
+
'[tabindex]:not([tabindex^="-"])'
|
|
189
|
+
].join(","), C = h(null), j = () => z.value ? Array.from(
|
|
190
|
+
z.value.querySelectorAll(le)
|
|
191
|
+
).filter((t) => !t.closest('[aria-hidden="true"]')) : [], oe = () => {
|
|
192
|
+
const t = z.value;
|
|
193
|
+
if (!t) return;
|
|
194
|
+
(t.querySelector("[autofocus]") ?? j()[0] ?? t).focus();
|
|
195
|
+
}, U = () => l.showModal && $.value >= Q(), E = () => f("close"), ae = () => {
|
|
196
|
+
l.noBackdropClose || E();
|
|
197
|
+
}, se = () => {
|
|
198
|
+
if (!p.value) return;
|
|
199
|
+
const { scrollTop: t, scrollHeight: o, clientHeight: y } = p.value;
|
|
200
|
+
q.value = t > 0, K.value = t + y < o - 1;
|
|
201
|
+
};
|
|
202
|
+
G("Escape", () => {
|
|
203
|
+
l.noClickAway || !U() || E();
|
|
204
|
+
}), G("Tab", (t) => {
|
|
205
|
+
const o = z.value;
|
|
206
|
+
if (!o || !U()) return;
|
|
207
|
+
const y = j();
|
|
208
|
+
if (!y.length) {
|
|
209
|
+
t.preventDefault(), o.focus();
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
const S = y[0], M = y[y.length - 1], L = document.activeElement;
|
|
213
|
+
if (!o.contains(L)) {
|
|
214
|
+
t.preventDefault(), (t.shiftKey ? M : S).focus();
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
t.shiftKey && L === S ? (t.preventDefault(), M.focus()) : !t.shiftKey && L === M && (t.preventDefault(), S.focus());
|
|
218
|
+
});
|
|
219
|
+
const I = (t) => {
|
|
220
|
+
const o = document.querySelector("body");
|
|
221
|
+
o && (o.style.overflowY = t);
|
|
222
|
+
}, H = async () => {
|
|
223
|
+
$.value = J(), I("hidden"), C.value = document.activeElement, await be(), oe();
|
|
224
|
+
}, ne = () => {
|
|
225
|
+
var t;
|
|
226
|
+
$.value = F, I("unset"), (t = C.value) == null || t.focus(), C.value = null;
|
|
227
|
+
};
|
|
228
|
+
return re(
|
|
229
|
+
() => l.showModal,
|
|
230
|
+
(t) => t ? H() : ne()
|
|
231
|
+
), ue(() => {
|
|
232
|
+
l.showModal && H();
|
|
233
|
+
}), ce(() => {
|
|
234
|
+
I("unset");
|
|
235
|
+
}), (t, o) => (a(), T(s(ye), { to: "modal" }, {
|
|
236
|
+
default: g(() => [
|
|
237
|
+
x(fe, {
|
|
238
|
+
name: "modal",
|
|
239
|
+
appear: ""
|
|
240
|
+
}, {
|
|
241
|
+
default: g(() => [
|
|
242
|
+
e.showModal ? (a(), u("div", {
|
|
243
|
+
key: 0,
|
|
244
|
+
class: m(["h-modal z-60 fixed left-0 right-0 top-0 flex w-full items-center justify-center overflow-y-auto overflow-x-hidden md:inset-0 md:h-full", s(W)]),
|
|
245
|
+
style: X({ zIndex: $.value })
|
|
246
|
+
}, [
|
|
247
|
+
x(s($e), {
|
|
248
|
+
"aria-hidden": "true",
|
|
249
|
+
blurred: ee.value,
|
|
250
|
+
color: l.isEmbedded ? "white" : void 0,
|
|
251
|
+
onMousedown: me(ae, ["self"])
|
|
252
|
+
}, null, 8, ["blurred", "color"]),
|
|
253
|
+
c("div", {
|
|
254
|
+
class: m(["modal-panel relative h-full w-full p-4 md:h-auto", `${te[e.size]}`])
|
|
255
|
+
}, [
|
|
256
|
+
c("div", {
|
|
257
|
+
ref_key: "dialogElementRef",
|
|
258
|
+
ref: z,
|
|
259
|
+
role: "dialog",
|
|
260
|
+
"aria-modal": "true",
|
|
261
|
+
tabindex: "-1",
|
|
262
|
+
"aria-label": _.value,
|
|
263
|
+
"aria-labelledby": O.value,
|
|
264
|
+
"aria-busy": e.isLoading,
|
|
265
|
+
class: "relative flex max-h-[min(95vh,920px)] flex-col rounded-xl bg-white shadow-lg focus:outline-none"
|
|
266
|
+
}, [
|
|
267
|
+
e.isLoading ? (a(), u("div", Ee, [
|
|
268
|
+
x(ve, {
|
|
269
|
+
size: "6",
|
|
270
|
+
"aria-hidden": "true"
|
|
271
|
+
}),
|
|
272
|
+
c("span", Ie, w(s(d)({
|
|
273
|
+
defaultMessage: "Loading",
|
|
274
|
+
id: "h+GlcT",
|
|
275
|
+
description: "Modal loading state"
|
|
276
|
+
})), 1)
|
|
277
|
+
])) : r("", !0),
|
|
278
|
+
e.noCloseButton ? r("", !0) : (a(), u("div", Se, [
|
|
279
|
+
x(s(ze), {
|
|
280
|
+
icon: "close",
|
|
281
|
+
size: "xs",
|
|
282
|
+
intent: "secondary",
|
|
283
|
+
"data-testid": "close-button",
|
|
284
|
+
"aria-label": s(d)({
|
|
285
|
+
defaultMessage: "Close",
|
|
286
|
+
id: "U+ONwt",
|
|
287
|
+
description: "Modal close button"
|
|
288
|
+
}),
|
|
289
|
+
onClick: E
|
|
290
|
+
}, null, 8, ["aria-label"])
|
|
291
|
+
])),
|
|
292
|
+
Y.value ? (a(), u("div", {
|
|
293
|
+
key: 2,
|
|
294
|
+
ref_key: "contentElementRef",
|
|
295
|
+
ref: p,
|
|
296
|
+
class: m(["overflow-auto px-6", { "overflow-visible": e.overflowVisible }]),
|
|
297
|
+
onScroll: se
|
|
298
|
+
}, [
|
|
299
|
+
c("div", Me, [
|
|
300
|
+
c("div", {
|
|
301
|
+
class: m(["transition-duration-700 pointer-events-none h-6 w-full bg-gradient-to-b from-black/[.06] to-transparent transition-opacity", q.value ? "opacity-100" : "opacity-0"])
|
|
302
|
+
}, null, 2)
|
|
303
|
+
]),
|
|
304
|
+
c("div", Le, [
|
|
305
|
+
B.value ? (a(), u("div", {
|
|
306
|
+
key: 0,
|
|
307
|
+
id: s(R)
|
|
308
|
+
}, [
|
|
309
|
+
b(t.$slots, "header", {}, () => [
|
|
310
|
+
e.title ? (a(), T(pe, {
|
|
311
|
+
key: 0,
|
|
312
|
+
title: e.title,
|
|
313
|
+
"sub-title": e.subTitle,
|
|
314
|
+
size: "md"
|
|
315
|
+
}, null, 8, ["title", "sub-title"])) : r("", !0)
|
|
316
|
+
], !0)
|
|
317
|
+
], 8, Ae)) : r("", !0),
|
|
318
|
+
D.value ? (a(), u("div", {
|
|
319
|
+
key: 1,
|
|
320
|
+
class: m({ "mt-4": B.value })
|
|
321
|
+
}, [
|
|
322
|
+
b(t.$slots, "body", {}, void 0, !0)
|
|
323
|
+
], 2)) : r("", !0)
|
|
324
|
+
]),
|
|
325
|
+
c("div", Ze, [
|
|
326
|
+
c("div", {
|
|
327
|
+
class: m(["transition-duration-700 pointer-events-none h-6 w-full -translate-y-6 bg-gradient-to-t from-black/[.06] to-transparent transition-opacity", K.value ? "opacity-100" : "opacity-0"])
|
|
328
|
+
}, null, 2)
|
|
329
|
+
])
|
|
330
|
+
], 34)) : r("", !0),
|
|
331
|
+
x(xe, null, {
|
|
332
|
+
default: g(() => [
|
|
333
|
+
t.$slots.error ? (a(), u("div", Ne, [
|
|
334
|
+
b(t.$slots, "error", {}, void 0, !0)
|
|
335
|
+
])) : r("", !0)
|
|
336
|
+
]),
|
|
337
|
+
_: 3
|
|
338
|
+
}),
|
|
339
|
+
t.$slots.footer || e.confirmButtonText || e.cancelButtonText ? (a(), u("div", Ve, [
|
|
340
|
+
b(t.$slots, "footer", {}, () => [
|
|
341
|
+
c("div", De, [
|
|
342
|
+
x(s(P), {
|
|
343
|
+
size: "md",
|
|
344
|
+
autofocus: "",
|
|
345
|
+
loading: e.isLoading,
|
|
346
|
+
onClick: o[0] || (o[0] = (y) => t.$emit("confirm"))
|
|
347
|
+
}, {
|
|
348
|
+
default: g(() => [
|
|
349
|
+
k(w(e.confirmButtonText || s(d)({
|
|
350
|
+
defaultMessage: "Confirm",
|
|
351
|
+
id: "N2IrpM",
|
|
352
|
+
description: "Modal comfirm button"
|
|
353
|
+
})), 1)
|
|
354
|
+
]),
|
|
355
|
+
_: 1
|
|
356
|
+
}, 8, ["loading"]),
|
|
357
|
+
x(s(P), {
|
|
358
|
+
size: "md",
|
|
359
|
+
intent: "secondary",
|
|
360
|
+
onClick: o[1] || (o[1] = (y) => t.$emit("close"))
|
|
361
|
+
}, {
|
|
362
|
+
default: g(() => [
|
|
363
|
+
k(w(e.cancelButtonText || s(d)({
|
|
364
|
+
defaultMessage: "Cancel",
|
|
365
|
+
id: "47FYwb",
|
|
366
|
+
description: "Modal cancel button"
|
|
367
|
+
})), 1)
|
|
368
|
+
]),
|
|
369
|
+
_: 1
|
|
370
|
+
})
|
|
371
|
+
])
|
|
372
|
+
], !0)
|
|
373
|
+
])) : r("", !0)
|
|
374
|
+
], 8, Ce)
|
|
375
|
+
], 2)
|
|
376
|
+
], 6)) : r("", !0)
|
|
377
|
+
]),
|
|
378
|
+
_: 3
|
|
379
|
+
})
|
|
380
|
+
]),
|
|
381
|
+
_: 3
|
|
382
|
+
}));
|
|
383
|
+
}
|
|
384
|
+
}), Xe = /* @__PURE__ */ ke(Fe, [["__scopeId", "data-v-f0b441a8"]]);
|
|
385
|
+
export {
|
|
386
|
+
Xe as M
|
|
387
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue"),d=require("./formatting.es-C72Nsrmh.js"),i=require("./Button.vue.es-BWl37nzm.js"),o=require("./customElements-Bt8PbjIn.js"),c=require("./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Db6jAkqD.js"),u=e.defineComponent({__name:"PaymentCompletedCard",props:{amount:{type:Object},variant:{type:String},redirecting:{type:Boolean}},setup(t){const r=t,{$t:a}=o.useIntl(),n=e.computed(()=>r.variant==="AUTHORIZE"?a({defaultMessage:"Payment successful",description:"The title for when a payment has been successful",id:"payment_completed_card.title.authorize"}):a({defaultMessage:"Your payment method is added",description:"The title for when a payment method was successfully added",id:"payment_completed_card.title.tokenize"}));return(s,l)=>(e.openBlock(),e.createBlock(c._sfc_main,{status:"success",title:n.value},{default:e.withCtx(()=>[t.amount?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:0,variant:"body-sm",class:"mt-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(i._sfc_main$1),{icon:"check"}),e.createTextVNode(e.toDisplayString(e.unref(d.formatAmount)(t.amount)),1)]),_:1})):e.createCommentVNode("",!0),t.redirecting?(e.openBlock(),e.createBlock(e.unref(o._sfc_main),{key:1,variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"You are being redirected...",description:"The text shown after a successful message before a redirect",id:"payment_completed_card.redirect_message"})),1)]),_:1})):e.createCommentVNode("",!0)]),_:1},8,["title"]))}}),m={UNKNOWN_ERROR:{title:"Something went wrong",message:"An unknown error has occurred",isReloadButtonVisible:!0},AUTHORIZATION_FAILED:{title:"Payment failed",message:"The payment failed"},PAYMENT_DETAILS_CALL_FAILED:{title:"Payment details call failed",message:"There was a problem getting the payment details"},PAYMENT_METHOD_STORAGE_FAILED:{title:"Failed storing payment method",message:"Something went wrong with storing the payment method"},REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING:{title:"Missing payment acceptor",message:"A redirect result is set, but a payment acceptor is missing in the url"},TOKENIZE_FAILED:{title:"Tokenization failed",message:"The tokenization of the payment method has failed"},PAYMENT_INTEGRATION_INITIALIZATION_FAILED:{title:"Failed loading payment methods",message:"Failed loading payment integration",isReloadButtonVisible:!0},RESOURCE_REVOKED:{title:"Resource revoked",message:"The resource has been revoked",isReloadButtonVisible:!0}},_={class:"flex flex-col items-center gap-6"},p=e.defineComponent({__name:"PaymentErrorCard",props:{error:{type:Object}},setup(t){const r=t,{$t:a}=o.useIntl(),n=e.computed(()=>m[r.error.code]),s=()=>{window.location.reload()};return(l,f)=>(e.openBlock(),e.createBlock(c._sfc_main,{status:"error",title:n.value.title},{default:e.withCtx(()=>[e.createElementVNode("div",_,[e.createVNode(e.unref(o._sfc_main),{variant:"body-xs",color:"subtle",class:"mt-3"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.value.message),1)]),_:1}),n.value.isReloadButtonVisible?(e.openBlock(),e.createBlock(e.unref(i._sfc_main),{key:0,type:"button",intent:"secondary",onClick:s},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({defaultMessage:"Try again",description:"Retry button text when an error has happened during a payment",id:"payments.retry_button.label"})),1)]),_:1})):e.createCommentVNode("",!0)])]),_:1},8,["title"]))}});exports._sfc_main=u;exports._sfc_main$1=p;
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { defineComponent as p, computed as _, openBlock as n, createBlock as r, withCtx as a, unref as e, createVNode as f, createTextVNode as i, toDisplayString as l, createCommentVNode as c, createElementVNode as E } from "vue";
|
|
2
|
+
import { f as T } from "./formatting.es-RclXHhKo.mjs";
|
|
3
|
+
import { a as A, _ as b } from "./Button.vue.es-VQCd3V3C.mjs";
|
|
4
|
+
import { u as y, _ as m } from "./customElements-Com2NiGU.mjs";
|
|
5
|
+
import { _ as g } from "./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DVif_ME8.mjs";
|
|
6
|
+
const M = /* @__PURE__ */ p({
|
|
7
|
+
__name: "PaymentCompletedCard",
|
|
8
|
+
props: {
|
|
9
|
+
amount: { type: Object },
|
|
10
|
+
variant: { type: String },
|
|
11
|
+
redirecting: { type: Boolean }
|
|
12
|
+
},
|
|
13
|
+
setup(t) {
|
|
14
|
+
const d = t, { $t: s } = y(), o = _(
|
|
15
|
+
() => d.variant === "AUTHORIZE" ? s({
|
|
16
|
+
defaultMessage: "Payment successful",
|
|
17
|
+
description: "The title for when a payment has been successful",
|
|
18
|
+
id: "payment_completed_card.title.authorize"
|
|
19
|
+
}) : s({
|
|
20
|
+
defaultMessage: "Your payment method is added",
|
|
21
|
+
description: "The title for when a payment method was successfully added",
|
|
22
|
+
id: "payment_completed_card.title.tokenize"
|
|
23
|
+
})
|
|
24
|
+
);
|
|
25
|
+
return (u, h) => (n(), r(g, {
|
|
26
|
+
status: "success",
|
|
27
|
+
title: o.value
|
|
28
|
+
}, {
|
|
29
|
+
default: a(() => [
|
|
30
|
+
t.amount ? (n(), r(e(m), {
|
|
31
|
+
key: 0,
|
|
32
|
+
variant: "body-sm",
|
|
33
|
+
class: "mt-1"
|
|
34
|
+
}, {
|
|
35
|
+
default: a(() => [
|
|
36
|
+
f(e(A), { icon: "check" }),
|
|
37
|
+
i(l(e(T)(t.amount)), 1)
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
})) : c("", !0),
|
|
41
|
+
t.redirecting ? (n(), r(e(m), {
|
|
42
|
+
key: 1,
|
|
43
|
+
variant: "body-xs",
|
|
44
|
+
color: "subtle"
|
|
45
|
+
}, {
|
|
46
|
+
default: a(() => [
|
|
47
|
+
i(l(e(s)({
|
|
48
|
+
defaultMessage: "You are being redirected...",
|
|
49
|
+
description: "The text shown after a successful message before a redirect",
|
|
50
|
+
id: "payment_completed_card.redirect_message"
|
|
51
|
+
})), 1)
|
|
52
|
+
]),
|
|
53
|
+
_: 1
|
|
54
|
+
})) : c("", !0)
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["title"]));
|
|
58
|
+
}
|
|
59
|
+
}), I = {
|
|
60
|
+
UNKNOWN_ERROR: {
|
|
61
|
+
title: "Something went wrong",
|
|
62
|
+
message: "An unknown error has occurred",
|
|
63
|
+
isReloadButtonVisible: !0
|
|
64
|
+
},
|
|
65
|
+
AUTHORIZATION_FAILED: {
|
|
66
|
+
title: "Payment failed",
|
|
67
|
+
message: "The payment failed"
|
|
68
|
+
},
|
|
69
|
+
PAYMENT_DETAILS_CALL_FAILED: {
|
|
70
|
+
title: "Payment details call failed",
|
|
71
|
+
message: "There was a problem getting the payment details"
|
|
72
|
+
},
|
|
73
|
+
PAYMENT_METHOD_STORAGE_FAILED: {
|
|
74
|
+
title: "Failed storing payment method",
|
|
75
|
+
message: "Something went wrong with storing the payment method"
|
|
76
|
+
},
|
|
77
|
+
REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING: {
|
|
78
|
+
title: "Missing payment acceptor",
|
|
79
|
+
message: "A redirect result is set, but a payment acceptor is missing in the url"
|
|
80
|
+
},
|
|
81
|
+
TOKENIZE_FAILED: {
|
|
82
|
+
title: "Tokenization failed",
|
|
83
|
+
message: "The tokenization of the payment method has failed"
|
|
84
|
+
},
|
|
85
|
+
PAYMENT_INTEGRATION_INITIALIZATION_FAILED: {
|
|
86
|
+
title: "Failed loading payment methods",
|
|
87
|
+
message: "Failed loading payment integration",
|
|
88
|
+
isReloadButtonVisible: !0
|
|
89
|
+
},
|
|
90
|
+
RESOURCE_REVOKED: {
|
|
91
|
+
title: "Resource revoked",
|
|
92
|
+
message: "The resource has been revoked",
|
|
93
|
+
isReloadButtonVisible: !0
|
|
94
|
+
}
|
|
95
|
+
}, R = { class: "flex flex-col items-center gap-6" }, x = /* @__PURE__ */ p({
|
|
96
|
+
__name: "PaymentErrorCard",
|
|
97
|
+
props: {
|
|
98
|
+
error: { type: Object }
|
|
99
|
+
},
|
|
100
|
+
setup(t) {
|
|
101
|
+
const d = t, { $t: s } = y(), o = _(() => I[d.error.code]), u = () => {
|
|
102
|
+
window.location.reload();
|
|
103
|
+
};
|
|
104
|
+
return (h, N) => (n(), r(g, {
|
|
105
|
+
status: "error",
|
|
106
|
+
title: o.value.title
|
|
107
|
+
}, {
|
|
108
|
+
default: a(() => [
|
|
109
|
+
E("div", R, [
|
|
110
|
+
f(e(m), {
|
|
111
|
+
variant: "body-xs",
|
|
112
|
+
color: "subtle",
|
|
113
|
+
class: "mt-3"
|
|
114
|
+
}, {
|
|
115
|
+
default: a(() => [
|
|
116
|
+
i(l(o.value.message), 1)
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}),
|
|
120
|
+
o.value.isReloadButtonVisible ? (n(), r(e(b), {
|
|
121
|
+
key: 0,
|
|
122
|
+
type: "button",
|
|
123
|
+
intent: "secondary",
|
|
124
|
+
onClick: u
|
|
125
|
+
}, {
|
|
126
|
+
default: a(() => [
|
|
127
|
+
i(l(e(s)({
|
|
128
|
+
defaultMessage: "Try again",
|
|
129
|
+
description: "Retry button text when an error has happened during a payment",
|
|
130
|
+
id: "payments.retry_button.label"
|
|
131
|
+
})), 1)
|
|
132
|
+
]),
|
|
133
|
+
_: 1
|
|
134
|
+
})) : c("", !0)
|
|
135
|
+
])
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
}, 8, ["title"]));
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
export {
|
|
142
|
+
M as _,
|
|
143
|
+
x as a
|
|
144
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { defineComponent as l, openBlock as r, createBlock as c, unref as t, withCtx as s, createElementVNode as i, createVNode as n, normalizeClass as m, createTextVNode as d, toDisplayString as u, renderSlot as f, createCommentVNode as _ } from "vue";
|
|
2
|
+
import { a as p } from "./Button.vue.es-VQCd3V3C.mjs";
|
|
3
|
+
import { _ as g } from "./Section.vue.es-By1JltGi.mjs";
|
|
4
|
+
import { _ as o } from "./customElements-Com2NiGU.mjs";
|
|
5
|
+
const y = { class: "flex flex-col items-center py-10" }, v = /* @__PURE__ */ l({
|
|
6
|
+
__name: "PaymentFeedbackCard",
|
|
7
|
+
props: {
|
|
8
|
+
status: { default: "success", type: String },
|
|
9
|
+
title: { type: String }
|
|
10
|
+
},
|
|
11
|
+
setup(e) {
|
|
12
|
+
return (a, x) => (r(), c(t(g), null, {
|
|
13
|
+
default: s(() => [
|
|
14
|
+
i("div", y, [
|
|
15
|
+
n(t(p), {
|
|
16
|
+
icon: e.status === "success" ? "check_circle" : "error",
|
|
17
|
+
class: m({
|
|
18
|
+
"text-green-400": e.status === "success",
|
|
19
|
+
"text-red-600": e.status === "error"
|
|
20
|
+
}),
|
|
21
|
+
size: "lg"
|
|
22
|
+
}, null, 8, ["icon", "class"]),
|
|
23
|
+
n(t(o), {
|
|
24
|
+
variant: "heading-3",
|
|
25
|
+
tag: "span",
|
|
26
|
+
class: "mt-2"
|
|
27
|
+
}, {
|
|
28
|
+
default: s(() => [
|
|
29
|
+
d(u(e.title), 1)
|
|
30
|
+
]),
|
|
31
|
+
_: 1
|
|
32
|
+
}),
|
|
33
|
+
a.$slots.default ? (r(), c(t(o), {
|
|
34
|
+
key: 0,
|
|
35
|
+
tag: "div",
|
|
36
|
+
variant: "body-sm"
|
|
37
|
+
}, {
|
|
38
|
+
default: s(() => [
|
|
39
|
+
f(a.$slots, "default")
|
|
40
|
+
]),
|
|
41
|
+
_: 3
|
|
42
|
+
})) : _("", !0)
|
|
43
|
+
])
|
|
44
|
+
]),
|
|
45
|
+
_: 3
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
v as _
|
|
51
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue"),n=require("./Button.vue.es-BWl37nzm.js"),a=require("./Section.vue.es-DuK52y67.js"),c=require("./customElements-Bt8PbjIn.js"),r={class:"flex flex-col items-center py-10"},i=e.defineComponent({__name:"PaymentFeedbackCard",props:{status:{default:"success",type:String},title:{type:String}},setup(t){return(s,l)=>(e.openBlock(),e.createBlock(e.unref(a._sfc_main),null,{default:e.withCtx(()=>[e.createElementVNode("div",r,[e.createVNode(e.unref(n._sfc_main$1),{icon:t.status==="success"?"check_circle":"error",class:e.normalizeClass({"text-green-400":t.status==="success","text-red-600":t.status==="error"}),size:"lg"},null,8,["icon","class"]),e.createVNode(e.unref(c._sfc_main),{variant:"heading-3",tag:"span",class:"mt-2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.title),1)]),_:1}),s.$slots.default?(e.openBlock(),e.createBlock(e.unref(c._sfc_main),{key:0,tag:"div",variant:"body-sm"},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})):e.createCommentVNode("",!0)])]),_:3}))}});exports._sfc_main=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dv-3suBX.js");exports.default=e._sfc_main;
|