@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B9WTpz0k.js +1 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DJCMa2Lz.mjs +223 -0
- package/dist/Amount.vue.es-DExaYBqm.js +1 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/Avatar.vue.es-CJw5z7Uu.js +1 -0
- package/dist/Avatar.vue.es-ChcLSNaN.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-CTQ5RMtx.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DApMAncl.mjs +60 -0
- package/dist/Button.vue.es-BWl37nzm.js +1 -0
- package/dist/Button.vue.es-VQCd3V3C.mjs +368 -0
- package/dist/Checkout.entry.ce-BTVuGyNq.js +1 -0
- package/dist/Checkout.entry.ce-DRHqEFd7.mjs +3674 -0
- package/dist/Chip.vue.es-CXG8o1Qf.mjs +114 -0
- package/dist/Chip.vue.es-DUgjuRWm.js +1 -0
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
- package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
- package/dist/ContextMenu.vue.es-BllxeDTt.js +1 -0
- package/dist/ContextMenu.vue.es-C6TKlSXs.mjs +573 -0
- package/dist/CustomerBillingInformation.vue.es-CKQH_ds0.mjs +153 -0
- package/dist/CustomerBillingInformation.vue.es-CMCZ-lIM.js +1 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BxwllXwU.mjs +140 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-n097Xf1H.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C_yKvYtG.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CtaoLbrM.mjs +2700 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
- package/dist/DividerText.vue.es-BBdydUy_.js +1 -0
- package/dist/DividerText.vue.es-Bomiy4if.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C9elbdbF.mjs +335 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DXO9xpFT.js +1 -0
- package/dist/ErrorNotification.vue.es-0ZC_DozN.js +1 -0
- package/dist/ErrorNotification.vue.es-C6ngWAVU.mjs +31 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
- package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
- package/dist/IconButton.vue.es-DAR7e8NA.mjs +198 -0
- package/dist/IconButton.vue.es-DGLIdHkR.js +1 -0
- package/dist/IconTitle.vue.es-Bbusc4wK.mjs +103 -0
- package/dist/IconTitle.vue.es-D-q6w2E-.js +1 -0
- package/dist/Input.vue.es-AY1c0Rui.mjs +235 -0
- package/dist/Input.vue.es-BN95nPBw.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-1WjSbPEP.mjs +92 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-qiBCPY8l.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-BXTInmf9.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D99nuBRE.mjs +41 -0
- package/dist/InvoiceSummary.vue.es-B0MPR0oI.js +1 -0
- package/dist/InvoiceSummary.vue.es-Bs5c2Ovx.mjs +2598 -0
- package/dist/Modal.vue.es-Chi6_MH_.js +1 -0
- package/dist/Modal.vue.es-DSkC4eMv.mjs +387 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Draz_8Ts.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-vD88j_U7.mjs +144 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DVif_ME8.mjs +51 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Db6jAkqD.js +1 -0
- package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DGJ_PiVq.js} +1 -1
- package/dist/PaymentHistoryBlock-budeR7ep.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C28ofG7N.mjs +93 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dv-3suBX.js +1 -0
- package/dist/PaymentIntegrationForm-Crrhar96.mjs +4 -0
- package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-DqqGcEP1.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C4bk0m8g.mjs +138 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CcEEdHQJ.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-DM-xMcm0.mjs +621 -0
- package/dist/PaymentIntegrationFormAdyen-DronjwO3.js +98 -0
- package/dist/PaymentIntegrationFormStripe-yBm4KnpV.mjs +488 -0
- package/dist/PaymentIntegrationFormStripe-ybM6wirp.js +102 -0
- package/dist/PaymentMethod.vue.es-BdMcKq8_.mjs +623 -0
- package/dist/PaymentMethod.vue.es-Ctw9Es1g.js +1 -0
- package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-BQ5TVHlS.js} +1 -1
- package/dist/PaymentMethodForm-C1bIGX10.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-5KKkuVt5.mjs +167 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-V88bCeDt.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B_207kq5.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CnmZ9dvP.mjs +169 -0
- package/dist/PlanCustomizationEditor-CCOTD6Qu.mjs +769 -0
- package/dist/PlanCustomizationEditor-CiZnVCM6.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-Bnb-ARie.mjs +627 -0
- package/dist/PricingGroupRangeInput.vue.es-D82XvoC_.js +185 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CxMkCmti.js +1 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-skQMgHEL.mjs +131 -0
- package/dist/RadioGroupExtended.vue.es-B1YtLNKG.js +1 -0
- package/dist/RadioGroupExtended.vue.es-WDbo_yj1.mjs +163 -0
- package/dist/Section.vue.es-By1JltGi.mjs +72 -0
- package/dist/Section.vue.es-DuK52y67.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CS3KIkPL.mjs +687 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Ct3ZNq-j.js +1 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
- package/dist/SubscriptionSchedules-DDCjVEbG.mjs +4 -0
- package/dist/SubscriptionSchedules-DEjIERyF.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BlX0W6lw.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-JAedXFzq.mjs +5256 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-D-Fa54M6.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DVMS4gJQ.mjs +91 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BckZJtOc.mjs +284 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DiXmEjUD.js +1 -0
- package/dist/TooltipParagraph.vue.es-DYu2ReL7.mjs +129 -0
- package/dist/TooltipParagraph.vue.es-sTgWAgcd.js +1 -0
- package/dist/TrialChip.vue.es-Cl-9_pdr.js +1 -0
- package/dist/TrialChip.vue.es-DX53r0ku.mjs +35 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/accel.svg.es-DFJXdioD.js +1 -0
- package/dist/ach.svg.es-BYP873jU.js +1 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/adyen-BJfC7N6f.js +1 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyen-CvsH5fok.mjs +117 -0
- package/dist/adyen-Druit6gz.js +1 -0
- package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
- package/dist/adyenSdk-BP2XXzeJ.js +1 -0
- package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
- package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
- package/dist/amex.svg.es-DKhW4Txt.js +1 -0
- package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
- package/dist/api.es-QaC926Xu.mjs +43 -0
- package/dist/api.es-duCDtZD9.js +1 -0
- package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
- package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
- package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
- package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
- package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
- package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
- package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
- package/dist/carnet.svg.es-DY04-F2L.js +1 -0
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
- package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
- package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
- package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
- package/dist/cn.es-CNvIP217.js +1 -0
- package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-DjnGlmqV.mjs} +657 -927
- package/dist/comparators.es-D8WGL-c4.mjs +153 -0
- package/dist/comparators.es-OGt19O9U.js +1 -0
- package/dist/component-5wqcK7yz.mjs +8 -0
- package/dist/component-B7ZDyqBp.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +39 -48
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +256 -307
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +43 -52
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +372 -430
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +55 -65
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +41 -46
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +43 -53
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +58 -68
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +51 -63
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +41 -50
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +49 -60
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +59 -70
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/configuration-akTS7Wiw.js +1 -0
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.mjs +89 -104
- package/dist/{countryData.es--zJAd6LA.mjs → countryData.es-BegoD-cZ.mjs} +2 -2
- package/dist/countryData.es-C4jHBzfo.js +1 -0
- package/dist/customElements-Bt8PbjIn.js +1187 -0
- package/dist/customElements-Com2NiGU.mjs +6531 -0
- package/dist/customer-CKgMJEgv.mjs +31 -0
- package/dist/customer-Q4JGfVfq.js +1 -0
- package/dist/customer.es-B5ppZf0j.mjs +20 -0
- package/dist/customer.es-BButyYo0.js +1 -0
- package/dist/dana.svg.es-BDtZLpwd.js +1 -0
- package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
- package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
- package/dist/dankort.svg.es-CksaipXF.js +1 -0
- package/dist/{de-DE-CI2zQkiP.mjs → de-DE-CVCmzlNH.mjs} +5 -5
- package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DBO5f-Eu.mjs} +38 -56
- package/dist/{de-DE-_40QfLNJ.js → de-DE-DqLD4IX2.js} +1 -1
- package/dist/de-DE-Ds_yJLS3.js +1 -0
- package/dist/diners.svg.es-BP9enCow.mjs +4 -0
- package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
- package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
- package/dist/discover.svg.es-DgqWCMUM.js +1 -0
- package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
- package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
- package/dist/elo.svg.es-C-BzjuRP.js +1 -0
- package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
- package/dist/{en-US-5YWNEi-V.mjs → en-US-3UmnS23B.mjs} +38 -56
- package/dist/en-US-C51ILrVv.js +1 -0
- package/dist/{en-US--NRsi7Hz.js → en-US-CvFmmI_O.js} +1 -1
- package/dist/{en-US-DksUWPIu.mjs → en-US-DVR9O7b_.mjs} +5 -5
- package/dist/eps.svg.es-B_85bP-W.js +1 -0
- package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
- package/dist/error-BHVZJGwD.mjs +13 -0
- package/dist/error-CmduqgVq.js +1 -0
- package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
- package/dist/formatting.es-C72Nsrmh.js +1 -0
- package/dist/formatting.es-RclXHhKo.mjs +61 -0
- package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getComposedString.es-haS4bAj7.js +1 -0
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
- package/dist/girocard.svg.es-HSOEvDif.js +1 -0
- package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
- package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
- package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
- package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
- package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
- package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
- package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
- package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
- package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
- package/dist/ideal.svg.es-Booz1IML.js +1 -0
- package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
- package/dist/index-BPU8tIml.mjs +828 -0
- package/dist/index-BPZPnOQQ.js +7 -0
- package/dist/index-CTwLxoOS.mjs +7250 -0
- package/dist/index-DwueOtPi.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.es-BclokHQX.js +1 -0
- package/dist/index.es-CXkP_k3u.mjs +345 -0
- package/dist/index.mjs +40 -40
- package/dist/invoices-CV9iAUHf.mjs +115 -0
- package/dist/invoices-CvpL4rv5.js +1 -0
- package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-CDMnnFKZ.mjs} +5 -5
- package/dist/{it-IT-aPQY57ht.js → it-IT-CFEfSpPH.js} +1 -1
- package/dist/{it-IT-B6blp8MI.mjs → it-IT-CxBRisRm.mjs} +38 -56
- package/dist/it-IT-Dxw59eR_.js +1 -0
- package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
- package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
- package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
- package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
- package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
- package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
- package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
- package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
- package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
- package/dist/momo.svg.es-C5aLYf_R.js +1 -0
- package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
- package/dist/{nl-NL-CjoW8r_M.mjs → nl-NL-BWGkVweu.mjs} +38 -56
- package/dist/nl-NL-Btbfd9p2.js +1 -0
- package/dist/{nl-NL-zRUAuEHg.js → nl-NL-jtVgF3jx.js} +1 -1
- package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-o3UvtSNg.mjs} +5 -5
- package/dist/nyce.svg.es-ArAivAZW.js +1 -0
- package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
- package/dist/object.es-8aLDIncs.mjs +12 -0
- package/dist/object.es-CdriXMPs.js +1 -0
- package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
- package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
- package/dist/paymentMethods-BuwoJ1y9.mjs +75 -0
- package/dist/paymentMethods-ChWAwDSF.js +1 -0
- package/dist/payments-C_cMXQzE.mjs +45 -0
- package/dist/payments-DGckugN0.js +1 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
- package/dist/pricing-BVAld27Y.js +1 -0
- package/dist/pricing-DLOeiAIB.mjs +16 -0
- package/dist/pricingItemConfigs.es-DMf1e6y7.mjs +76 -0
- package/dist/pricingItemConfigs.es-DlybwIh1.js +1 -0
- package/dist/pricingPlanSchedule-COfmWv_o.js +1 -0
- package/dist/pricingPlanSchedule-J1nb9pCu.mjs +129 -0
- package/dist/pulse.svg.es-Dit33E8S.js +1 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +3 -5237
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +112 -138
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +348 -397
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +153 -170
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +609 -720
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +466 -555
- package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
- package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
- package/dist/slots.es-BA4MyEAa.mjs +5 -0
- package/dist/slots.es-T9ZJRGtG.js +1 -0
- package/dist/sorting.es-DCihKqD2.mjs +77 -0
- package/dist/sorting.es-DQsjKr8A.js +1 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/star.svg.es-D2JncY7b.js +1 -0
- package/dist/subscription-9GORG-Gt.js +1 -0
- package/dist/subscription-CvfAEJeP.mjs +69 -0
- package/dist/subscriptions-B5VqRayX.mjs +55 -0
- package/dist/subscriptions-X0Ciw8z3.js +1 -0
- package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
- package/dist/trustly.svg.es-GJByiFAs.js +1 -0
- package/dist/twint.svg.es-BJ2f48og.js +1 -0
- package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
- package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
- package/dist/typeGuards.es-DS3vZaJn.js +1 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +2 -1
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
- package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
- package/dist/url-BNKStNY9.js +1 -0
- package/dist/url-DwiuKYpu.mjs +20 -0
- package/dist/useActionDispatchProvider-B54GYEY7.js +1 -0
- package/dist/useActionDispatchProvider-e2lQXTid.mjs +11 -0
- package/dist/useCustomer-BJwJ9BkJ.js +1 -0
- package/dist/useCustomer-CC9zxV6c.mjs +20 -0
- package/dist/useCustomerFormLabels-72Pxw8X5.js +1 -0
- package/dist/useCustomerFormLabels-V2YuYMLU.mjs +930 -0
- package/dist/useExperimentalFeature-8Mzpj5wc.js +1 -0
- package/dist/useExperimentalFeature-B0IFn3Uw.mjs +6 -0
- package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
- package/dist/useInvoiceData-6mHUZC9a.mjs +38 -0
- package/dist/useInvoiceData-Bblwdl0f.js +1 -0
- package/dist/useInvoicesList-B5H5JfvY.mjs +500 -0
- package/dist/useInvoicesList-_U1-tn9_.js +1 -0
- package/dist/useLoadInitialData-CezlvhBV.js +1 -0
- package/dist/useLoadInitialData-ux_wpNiR.mjs +15 -0
- package/dist/usePaymentMethodAvailability-CkR4TwoV.mjs +118 -0
- package/dist/usePaymentMethodAvailability-DRwrBdto.js +1 -0
- package/dist/usePaymentMethodOptions-B6GIM9q4.js +1 -0
- package/dist/usePaymentMethodOptions-BfnLBZOo.mjs +37 -0
- package/dist/usePaymentMethods-C3QfLSrP.mjs +15 -0
- package/dist/usePaymentMethods-GFmQRp0X.js +1 -0
- package/dist/usePayments-BkwGyZT0.mjs +318 -0
- package/dist/usePayments-SQF_V7oL.js +1 -0
- package/dist/usePortal-BdM7hDge.js +1 -0
- package/dist/usePortal-DDG9b6FI.mjs +11 -0
- package/dist/useService-Bh47bllz.mjs +50 -0
- package/dist/useService-H7BjLg8P.js +1 -0
- package/dist/useSubscription-BJJYHYgr.mjs +210 -0
- package/dist/useSubscription-Q4C2DPhw.js +1 -0
- package/dist/useTimePeriod.es-9tZvAhyb.mjs +93 -0
- package/dist/useTimePeriod.es-pepm2TpV.js +1 -0
- package/dist/useViewport-BgdA2PPt.mjs +29 -0
- package/dist/useViewport-hPRVDWCm.js +1 -0
- package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
- package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
- package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
- package/dist/visa.svg.es-NY3BHhda.js +1 -0
- package/dist/vpay.svg.es-VViQi42w.js +1 -0
- package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
- package/dist/zip.svg.es-C9S_F31W.js +1 -0
- package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
- package/package.json +3 -3
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +0 -240
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +0 -1
- package/dist/Amount.vue.es-BO5sS1UX.mjs +0 -25
- package/dist/Amount.vue.es-JDVa_3H-.js +0 -1
- package/dist/Avatar.vue.es-BGTZSAqU.js +0 -1
- package/dist/Avatar.vue.es-DJzJiYtv.mjs +0 -91
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs +0 -66
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +0 -1
- package/dist/Button.vue.es-Cm9pLU9i.mjs +0 -421
- package/dist/Button.vue.es-O8mNivLL.js +0 -1
- package/dist/Chip.vue.es-BBmn-qJp.mjs +0 -120
- package/dist/Chip.vue.es-DmCjC1hi.js +0 -1
- package/dist/Comparators.vue.es-CYfxd5H-.mjs +0 -120
- package/dist/Comparators.vue.es-DK8wGjxM.js +0 -1
- package/dist/ContentWithAsideLayout-DHpnJfGA.js +0 -1
- package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +0 -39
- package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +0 -681
- package/dist/ContextMenu.vue.es-DaW0yp4Y.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +0 -175
- package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +0 -4
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs +0 -150
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +0 -3264
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +0 -1
- package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
- package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
- package/dist/DividerText.vue.es-CeAHAe_Y.mjs +0 -72
- package/dist/DividerText.vue.es-DjT4i_YD.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +0 -562
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +0 -1
- package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +0 -38
- package/dist/ErrorNotification.vue.es-CaEFTi2k.js +0 -1
- package/dist/Expand.vue.es-C-lnbA1v.js +0 -1
- package/dist/Expand.vue.es-C4_XmqbR.mjs +0 -50
- package/dist/FormMessage.vue.es-Bd4_NG9H.js +0 -1
- package/dist/FormMessage.vue.es-C3oxwq_8.mjs +0 -46
- package/dist/IconButton.vue.es-BHdQskx0.js +0 -1
- package/dist/IconButton.vue.es-KywqWWvr.mjs +0 -228
- package/dist/IconTitle.vue.es-BmjBdZb_.mjs +0 -107
- package/dist/IconTitle.vue.es-D9Wc3PIq.js +0 -1
- package/dist/Input.vue.es-DqKJhFTr.js +0 -1
- package/dist/Input.vue.es-WZGF8dfr.mjs +0 -251
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs +0 -97
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +0 -49
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +0 -1
- package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +0 -2944
- package/dist/InvoiceSummary.vue.es-BWYIHezU.js +0 -1
- package/dist/Modal.vue.es-B_1aqm_m.js +0 -1
- package/dist/Modal.vue.es-qdUHDOnU.mjs +0 -483
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +0 -154
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +0 -54
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +0 -1
- package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +0 -4
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs +0 -101
- package/dist/PaymentIntegrationForm-CLokpXvK.mjs +0 -4
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +0 -167
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +0 -699
- package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +0 -1
- package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +0 -547
- package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +0 -1
- package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +0 -1
- package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +0 -677
- package/dist/PaymentMethodForm-IEuDxEPN.mjs +0 -4
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +0 -172
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs +0 -189
- package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +0 -632
- package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +0 -1
- package/dist/Section.vue.es-CAJvEDn6.js +0 -1
- package/dist/Section.vue.es-DX_9ueCG.mjs +0 -79
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +0 -1044
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs +0 -78
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +0 -6171
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +0 -101
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs +0 -309
- package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +0 -136
- package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +0 -1
- package/dist/TrialChip.vue.es-B1puKyR-.mjs +0 -56
- package/dist/TrialChip.vue.es-CCs50m02.js +0 -1
- package/dist/accel.svg.es-CE5tIWtm.mjs +0 -4
- package/dist/accel.svg.es-Dt_1wJmV.js +0 -1
- package/dist/ach.svg.es-B4tn0_IV.js +0 -1
- package/dist/ach.svg.es-D4QPcIU-.mjs +0 -4
- package/dist/adyen-51SvcyqV.mjs +0 -4
- package/dist/adyen-BXi_D9TQ.mjs +0 -123
- package/dist/adyen-DZsyEXkw.js +0 -1
- package/dist/adyen-VS2sDW0m.js +0 -1
- package/dist/amazon-pay.svg.es-B428S4f3.js +0 -1
- package/dist/amazon-pay.svg.es-DUScOW15.mjs +0 -4
- package/dist/amex.svg.es-BCXkaVLN.mjs +0 -4
- package/dist/amex.svg.es-Bn9e31C3.js +0 -1
- package/dist/api.es-C5pe8LUl.mjs +0 -62
- package/dist/api.es-Czekkp_X.js +0 -1
- package/dist/apple-pay.svg.es-Cfgn0K28.js +0 -1
- package/dist/apple-pay.svg.es-DlCfkt39.mjs +0 -4
- package/dist/bacs.svg.es-BKsvSeIP.mjs +0 -4
- package/dist/bacs.svg.es-hL7hLPkQ.js +0 -1
- package/dist/bancontact.svg.es-BbRqGgZ9.mjs +0 -4
- package/dist/bancontact.svg.es-DU2ejvNL.js +0 -1
- package/dist/carnet.svg.es-C5SFaOsa.js +0 -1
- package/dist/carnet.svg.es-Db-KEb13.mjs +0 -4
- package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +0 -4
- package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +0 -1
- package/dist/cashapp.svg.es-CnS5r_D8.mjs +0 -4
- package/dist/cashapp.svg.es-DE4vMu_p.js +0 -1
- package/dist/cn.es-DxSeYcoP.js +0 -1
- package/dist/comparators.es-9VsCB-JI.mjs +0 -175
- package/dist/comparators.es-wrKHduVq.js +0 -1
- package/dist/component-BG6DmXcy.mjs +0 -9
- package/dist/component-hDuDTBt5.js +0 -1
- package/dist/configuration-BjYwV4_B.js +0 -1
- package/dist/configuration-CD8cOXAJ.mjs +0 -15
- package/dist/countryData.es-D3MFzU92.js +0 -1
- package/dist/customElements-B-89a5oH.mjs +0 -6810
- package/dist/customElements-DD7bpqkx.js +0 -1
- package/dist/customer-DozNwS_a.js +0 -1
- package/dist/customer-Dzj1g9lV.mjs +0 -32
- package/dist/customer.es-C_vSWcVA.mjs +0 -30
- package/dist/customer.es-D42Md24r.js +0 -1
- package/dist/dana.svg.es-Bbn6_ktN.mjs +0 -4
- package/dist/dana.svg.es-DKZaseoJ.js +0 -1
- package/dist/dankort.svg.es-D8FgSiFf.js +0 -1
- package/dist/dankort.svg.es-DtAdliQq.mjs +0 -4
- package/dist/de-DE-BvHD68Ay.js +0 -1
- package/dist/diners.svg.es-DhchsD1D.mjs +0 -4
- package/dist/diners.svg.es-SydF_H-Z.js +0 -1
- package/dist/discover.svg.es-B8vgzVNG.js +0 -1
- package/dist/discover.svg.es-BnqYPvnV.mjs +0 -4
- package/dist/eftpos.svg.es-DO0YPaY1.js +0 -1
- package/dist/eftpos.svg.es-DRLaafYa.mjs +0 -4
- package/dist/elo.svg.es-CTOm1rvj.js +0 -1
- package/dist/elo.svg.es-CgkEOP_O.mjs +0 -4
- package/dist/en-US-dqfKx3GS.js +0 -1
- package/dist/eps.svg.es-CApyGjyU.js +0 -1
- package/dist/eps.svg.es-D6IHsRYP.mjs +0 -4
- package/dist/error-Cg-i7gGl.js +0 -1
- package/dist/error-DY_I2hPx.mjs +0 -13
- package/dist/floating-ui.vue.es-Bv94BfDm.js +0 -1
- package/dist/floating-ui.vue.es-DWY7pdz8.mjs +0 -1573
- package/dist/formatting.es-DBtYnvI5.js +0 -1
- package/dist/formatting.es-eYgXv_AK.mjs +0 -70
- package/dist/gcash.svg.es-BhJ-eA2z.mjs +0 -4
- package/dist/gcash.svg.es-JaL4fpZr.js +0 -1
- package/dist/getComposedString.es-CELkn0I7.mjs +0 -14
- package/dist/getComposedString.es-DvSNX-_z.js +0 -1
- package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
- package/dist/girocard.svg.es-D_3LML4l.mjs +0 -4
- package/dist/girocard.svg.es-tVgtT23w.js +0 -1
- package/dist/go-pay.svg.es-6UtgwVBA.mjs +0 -4
- package/dist/go-pay.svg.es-fYX6yMzJ.js +0 -1
- package/dist/google-pay.svg.es-BYXX1em8.js +0 -1
- package/dist/google-pay.svg.es-CRxXgFVl.mjs +0 -4
- package/dist/hipercard.svg.es-Ct1-mF9F.mjs +0 -4
- package/dist/hipercard.svg.es-D-nmiFXB.js +0 -1
- package/dist/icon-sprite.svg.es-BpwT0GQ5.js +0 -1
- package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +0 -4
- package/dist/ideal.svg.es-D23EhJJ2.mjs +0 -4
- package/dist/ideal.svg.es-DXtHE0Jb.js +0 -1
- package/dist/index-Cai7laNY.mjs +0 -1069
- package/dist/index-DIFK3mcJ.js +0 -6
- package/dist/index-DyvRdSR7.mjs +0 -9673
- package/dist/index-IZaUTAsE.js +0 -1
- package/dist/index.es-2JWHHSgP.js +0 -1
- package/dist/index.es-D5xOw_SJ.mjs +0 -542
- package/dist/invoices-1oYkdQQV.mjs +0 -121
- package/dist/invoices-BAoh6X2a.js +0 -1
- package/dist/it-IT-CEP3oeWs.js +0 -1
- package/dist/jcb.svg.es-Bz6J-c0s.js +0 -1
- package/dist/jcb.svg.es-CcH08OoO.mjs +0 -4
- package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +0 -4
- package/dist/kakao-pay.svg.es-qVTABboW.js +0 -1
- package/dist/klarna.svg.es-Clu-7zkp.js +0 -1
- package/dist/klarna.svg.es-DfIPX0gr.mjs +0 -4
- package/dist/maestro.svg.es-CVmNVokN.mjs +0 -4
- package/dist/maestro.svg.es-e8E_H2QU.js +0 -1
- package/dist/mastercard.svg.es-B8z0ZySS.mjs +0 -4
- package/dist/mastercard.svg.es-YO3_jGD6.js +0 -1
- package/dist/momo.svg.es-BXTQlQRy.js +0 -1
- package/dist/momo.svg.es-Bm5zCTOT.mjs +0 -4
- package/dist/nl-NL-e_vf6OuT.js +0 -1
- package/dist/nyce.svg.es-CgurqLKH.mjs +0 -4
- package/dist/nyce.svg.es-DM6esO47.js +0 -1
- package/dist/object.es-DFXiU9p3.js +0 -1
- package/dist/object.es-jvvnR8Kr.mjs +0 -12
- package/dist/open-banking.svg.es-DUM360xB.js +0 -1
- package/dist/open-banking.svg.es-DzzLCVp_.mjs +0 -4
- package/dist/paymentMethods-CZ3ydybI.js +0 -1
- package/dist/paymentMethods-DIV78w0O.mjs +0 -78
- package/dist/payments--lkjiwCt.js +0 -1
- package/dist/payments-Cvqdrprv.mjs +0 -47
- package/dist/paypal.svg.es-BdkNTf3c.js +0 -1
- package/dist/paypal.svg.es-DltWzW4V.mjs +0 -4
- package/dist/pricing-3W7XLwL6.js +0 -1
- package/dist/pricing-CJxS2hr2.mjs +0 -17
- package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +0 -107
- package/dist/pricingItemConfigs.es-C73cQlxQ.js +0 -1
- package/dist/pricingPlanSchedule-B9HFiXy-.js +0 -1
- package/dist/pricingPlanSchedule-CXG3CQ61.mjs +0 -146
- package/dist/pulse.svg.es-BdpWAuIN.js +0 -1
- package/dist/pulse.svg.es-BecAwT-p.mjs +0 -4
- package/dist/sepa.svg.es-BF8PYKZg.js +0 -1
- package/dist/sepa.svg.es-cbE9g8gV.mjs +0 -4
- package/dist/slots.es-BpwYO3A3.mjs +0 -18
- package/dist/slots.es-Dq1PTUOv.js +0 -1
- package/dist/sorting.es-CjTrRfSW.mjs +0 -105
- package/dist/sorting.es-RyvcgbSL.js +0 -1
- package/dist/star.svg.es-DsCD-tSp.mjs +0 -4
- package/dist/star.svg.es-Q50IzqXr.js +0 -1
- package/dist/subscription-C41lG-rH.mjs +0 -89
- package/dist/subscription-b0OPx8Du.js +0 -1
- package/dist/subscriptions-300o4ae0.js +0 -1
- package/dist/subscriptions-DcMHBPVJ.mjs +0 -58
- package/dist/trustly.svg.es-C0Ou1HWk.mjs +0 -4
- package/dist/trustly.svg.es-CHojqNqm.js +0 -1
- package/dist/twint.svg.es-CQ-ZDfy8.js +0 -1
- package/dist/twint.svg.es-WrZYquRs.mjs +0 -4
- package/dist/typeGuards.es-C4nR5FkL.js +0 -1
- package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
- package/dist/unionpay.svg.es-DYgo83Hf.mjs +0 -4
- package/dist/unionpay.svg.es-YqJKKFEj.js +0 -1
- package/dist/url-CjULBkjW.js +0 -1
- package/dist/url-CvNDq4wp.mjs +0 -22
- package/dist/useActionDispatchProvider-BVOBO0Jx.mjs +0 -12
- package/dist/useActionDispatchProvider-Cv9amjTf.js +0 -1
- package/dist/useCustomer-DLHOs4BR.js +0 -1
- package/dist/useCustomer-EDhref7T.mjs +0 -25
- package/dist/useCustomerFormLabels-B61-4xQ7.mjs +0 -1168
- package/dist/useCustomerFormLabels-C6wW4n2e.js +0 -1
- package/dist/useExperimentalFeature-0yFoaEzV.js +0 -1
- package/dist/useExperimentalFeature-DvxOrFPU.mjs +0 -9
- package/dist/useIncrementalLoading-BK9pRYAU.mjs +0 -71
- package/dist/useIncrementalLoading-CdtGJm_Y.js +0 -1
- package/dist/useInvoiceData-BSjVeJrI.js +0 -1
- package/dist/useInvoiceData-C0Y5WrbT.mjs +0 -45
- package/dist/useInvoicesList-BRDZqsaB.js +0 -1
- package/dist/useInvoicesList-CYoE7q0u.mjs +0 -580
- package/dist/useLoadInitialData-Cp1OA8y6.mjs +0 -18
- package/dist/useLoadInitialData-u7IyXqb6.js +0 -1
- package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +0 -1
- package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +0 -141
- package/dist/usePaymentMethodOptions--8QpMvNm.js +0 -1
- package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +0 -36
- package/dist/usePaymentMethods-BJzoI8dZ.mjs +0 -16
- package/dist/usePaymentMethods-DvEnJWmB.js +0 -1
- package/dist/usePayments-CANj0QVc.js +0 -1
- package/dist/usePayments-CaT1CBzE.mjs +0 -362
- package/dist/usePortal-BjGoSeLy.js +0 -1
- package/dist/usePortal-CMPQ0M9R.mjs +0 -12
- package/dist/useService-D73FNBjT.js +0 -1
- package/dist/useService-W3Kxems4.mjs +0 -72
- package/dist/useSubscription-D1UKnZAx.mjs +0 -250
- package/dist/useSubscription-DZfRHbL7.js +0 -1
- package/dist/useViewport-Bu0cyeSi.mjs +0 -38
- package/dist/useViewport-CKRY1CKR.js +0 -1
- package/dist/useWatchDebounced-C_YxgoQ6.js +0 -1
- package/dist/useWatchDebounced-Zmxd6InB.mjs +0 -16
- package/dist/visa.svg.es-B6aU_qRs.mjs +0 -4
- package/dist/visa.svg.es-D6sc4YTE.js +0 -1
- package/dist/vpay.svg.es-4qIqS4aX.mjs +0 -4
- package/dist/vpay.svg.es-CLGTyB09.js +0 -1
- package/dist/zip.svg.es-3PzSBe1E.mjs +0 -4
- package/dist/zip.svg.es-BRsgmur-.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue"),t=require("./customElements-Bt8PbjIn.js"),r=()=>e.inject(t.EXPERIMENTAL_FEATURE_INJECTION_KEY);exports.useExperimentalFeature=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./error-CmduqgVq.js"),h=require("./api.es-duCDtZD9.js"),n=require("vue");function c(u){return"data"in u&&"links"in u}function m({initialData:u=[],service:p}){const i=n.shallowRef(u),t=n.ref(e.ApiStatus.Initial),l=n.ref(null),v=n.ref(1),d=n.ref(!1),f=n.computed(()=>t.value===e.ApiStatus.Loading),A=async(o,{replace:r=!1}={})=>{var a;if(!f.value)try{l.value=null,t.value=e.ApiStatus.Loading;const s=await p(o);if(!c(s)){t.value=e.ApiStatus.Done;return}d.value=!!((a=s.links)!=null&&a.next),i.value=r?s.data:[...i.value,...s.data],t.value=e.ApiStatus.Done,v.value=o}catch(s){l.value=e.toError(s),t.value=e.ApiStatus.Failed}},g=async()=>{l.value=null,t.value=e.ApiStatus.Loading;const o=await h.getPaginatedFullList(async r=>{const a=await p(r);if(!c(a))throw t.value=e.ApiStatus.Failed,new Error("message"in a?a.message:"Request failed");return a});i.value=o.data,t.value=e.ApiStatus.Done},S=async()=>await A(v.value+1);return{items:n.computed(()=>[...i.value]),error:l,fetchInitial:async()=>await A(1,{replace:!0}),fetchMore:S,fetchAll:g,isPending:f,hasNextBatch:d}}exports.isApiSuccessCollectionResponse=c;exports.useIncrementalLoading=m;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { A as a, t as y } from "./error-BHVZJGwD.mjs";
|
|
2
|
+
import { g as I } from "./api.es-QaC926Xu.mjs";
|
|
3
|
+
import { shallowRef as L, ref as u, computed as g } from "vue";
|
|
4
|
+
function p(s) {
|
|
5
|
+
return "data" in s && "links" in s;
|
|
6
|
+
}
|
|
7
|
+
function P({
|
|
8
|
+
initialData: s = [],
|
|
9
|
+
service: c
|
|
10
|
+
}) {
|
|
11
|
+
const l = L(s), e = u(a.Initial), o = u(null), v = u(1), f = u(!1), d = g(() => e.value === a.Loading), m = async (i, { replace: r = !1 } = {}) => {
|
|
12
|
+
var t;
|
|
13
|
+
if (!d.value)
|
|
14
|
+
try {
|
|
15
|
+
o.value = null, e.value = a.Loading;
|
|
16
|
+
const n = await c(i);
|
|
17
|
+
if (!p(n)) {
|
|
18
|
+
e.value = a.Done;
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
f.value = !!((t = n.links) != null && t.next), l.value = r ? n.data : [...l.value, ...n.data], e.value = a.Done, v.value = i;
|
|
22
|
+
} catch (n) {
|
|
23
|
+
o.value = y(n), e.value = a.Failed;
|
|
24
|
+
}
|
|
25
|
+
}, h = async () => {
|
|
26
|
+
o.value = null, e.value = a.Loading;
|
|
27
|
+
const i = await I(async (r) => {
|
|
28
|
+
const t = await c(r);
|
|
29
|
+
if (!p(t))
|
|
30
|
+
throw e.value = a.Failed, new Error("message" in t ? t.message : "Request failed");
|
|
31
|
+
return t;
|
|
32
|
+
});
|
|
33
|
+
l.value = i.data, e.value = a.Done;
|
|
34
|
+
}, w = async () => await m(v.value + 1);
|
|
35
|
+
return {
|
|
36
|
+
items: g(() => [...l.value]),
|
|
37
|
+
error: o,
|
|
38
|
+
fetchInitial: async () => await m(1, { replace: !0 }),
|
|
39
|
+
fetchMore: w,
|
|
40
|
+
fetchAll: h,
|
|
41
|
+
isPending: d,
|
|
42
|
+
hasNextBatch: f
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
p as i,
|
|
47
|
+
P as u
|
|
48
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { c as m } from "./invoices-CV9iAUHf.mjs";
|
|
2
|
+
import { c as u } from "./payments-C_cMXQzE.mjs";
|
|
3
|
+
import { ref as o, onMounted as f } from "vue";
|
|
4
|
+
import { u as v } from "./useWatchDebounced-DT5IicPp.mjs";
|
|
5
|
+
const y = ({
|
|
6
|
+
getData: a,
|
|
7
|
+
onError: t,
|
|
8
|
+
watchValue: e,
|
|
9
|
+
debounce: s = 200
|
|
10
|
+
}) => {
|
|
11
|
+
const n = o(), c = o(!0), i = async () => {
|
|
12
|
+
try {
|
|
13
|
+
n.value = await a(e);
|
|
14
|
+
} catch (r) {
|
|
15
|
+
t == null || t(r);
|
|
16
|
+
} finally {
|
|
17
|
+
c.value = !1;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
return e && v(e, () => void i(), { debounce: s }), f(async () => {
|
|
21
|
+
i();
|
|
22
|
+
}), { data: n, isPending: c };
|
|
23
|
+
};
|
|
24
|
+
function g(a) {
|
|
25
|
+
const { getInvoice: t } = m(), { getPayments: e } = u();
|
|
26
|
+
return y({
|
|
27
|
+
getData: async () => {
|
|
28
|
+
const [s, n] = await Promise.all([
|
|
29
|
+
t(a),
|
|
30
|
+
e(a)
|
|
31
|
+
]);
|
|
32
|
+
return { invoice: s, paymentAttempts: n };
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
g as u
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const r=require("./invoices-CvpL4rv5.js"),v=require("./payments-DGckugN0.js"),s=require("vue"),y=require("./useWatchDebounced-CAU1WI1P.js"),d=({getData:n,onError:e,watchValue:t,debounce:c=200})=>{const a=s.ref(),i=s.ref(!0),u=async()=>{try{a.value=await n(t)}catch(o){e==null||e(o)}finally{i.value=!1}};return t&&y.useWatchDebounced(t,()=>void u(),{debounce:c}),s.onMounted(async()=>{u()}),{data:a,isPending:i}};function D(n){const{getInvoice:e}=r.createInvoicesService(),{getPayments:t}=v.createPaymentsService();return d({getData:async()=>{const[c,a]=await Promise.all([e(n),t(n)]);return{invoice:c,paymentAttempts:a}}})}exports.useInvoiceData=D;
|
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
import { defineComponent as w, provide as x, computed as v, openBlock as a, createElementBlock as _, renderSlot as g, inject as k, normalizeClass as $, createBlock as h, resolveDynamicComponent as E, unref as t, createCommentVNode as z, normalizeStyle as j, withCtx as s, createVNode as c, createTextVNode as p, toDisplayString as b, useSlots as H, ref as M, Fragment as K, renderList as O, createSlots as W, createElementVNode as C, withModifiers as F } from "vue";
|
|
2
|
+
import { _ as U } from "./Section.vue.es-By1JltGi.mjs";
|
|
3
|
+
import { u as R, _ as L } from "./customElements-Com2NiGU.mjs";
|
|
4
|
+
import { _ as q } from "./Amount.vue.es-DPqHB8Xd.mjs";
|
|
5
|
+
import { a as I, _ as N } from "./Button.vue.es-VQCd3V3C.mjs";
|
|
6
|
+
import { _ as G } from "./Chip.vue.es-CXG8o1Qf.mjs";
|
|
7
|
+
import { _ as J, T as Q, a as X } from "./TooltipParagraph.vue.es-DYu2ReL7.mjs";
|
|
8
|
+
import { _ as Y } from "./floating-ui.vue.es-CYt0fSY7.mjs";
|
|
9
|
+
import { u as Z } from "./useActionDispatchProvider-e2lQXTid.mjs";
|
|
10
|
+
import { r as ee } from "./configuration-BytDBAWs.mjs";
|
|
11
|
+
import { u as te } from "./useIncrementalLoading-Cgxw2GD7.mjs";
|
|
12
|
+
import { c as oe } from "./invoices-CV9iAUHf.mjs";
|
|
13
|
+
const S = Symbol("tableInset"), D = Symbol("tableSorting"), A = Symbol("tableRowDetail"), P = Symbol("tableHeadEmphasize"), V = Symbol("tableRowLink"), ie = { class: "solvimon-table w-full text-left text-sm" }, se = /* @__PURE__ */ w({
|
|
14
|
+
__name: "Table",
|
|
15
|
+
props: {
|
|
16
|
+
inset: { type: Boolean, default: !1 },
|
|
17
|
+
sorting: {}
|
|
18
|
+
},
|
|
19
|
+
setup(e) {
|
|
20
|
+
const i = e;
|
|
21
|
+
return x(
|
|
22
|
+
S,
|
|
23
|
+
v(() => i.inset)
|
|
24
|
+
), x(
|
|
25
|
+
D,
|
|
26
|
+
v(() => i.sorting)
|
|
27
|
+
), (n, o) => (a(), _("table", ie, [
|
|
28
|
+
g(n.$slots, "default")
|
|
29
|
+
]));
|
|
30
|
+
}
|
|
31
|
+
}), ae = ["colspan"], ne = {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: "solvimon-table__row-link"
|
|
34
|
+
}, B = /* @__PURE__ */ w({
|
|
35
|
+
__name: "TableCell",
|
|
36
|
+
props: {
|
|
37
|
+
primary: { type: Boolean },
|
|
38
|
+
align: { default: "start" },
|
|
39
|
+
verticalAlign: { default: "middle" },
|
|
40
|
+
truncate: { type: Boolean },
|
|
41
|
+
colspan: {}
|
|
42
|
+
},
|
|
43
|
+
setup(e) {
|
|
44
|
+
const i = e, n = k(S, void 0), o = k(A, void 0), l = k(V, void 0), m = (l == null ? void 0 : l.claim()) ?? !1, f = l == null ? void 0 : l.slot, r = v(() => m && (l == null ? void 0 : l.enabled.value)), u = v(() => [
|
|
45
|
+
i.align === "end" ? "text-right" : "text-left",
|
|
46
|
+
i.verticalAlign === "top" ? "align-top" : "align-middle",
|
|
47
|
+
{
|
|
48
|
+
"first:pl-0": !(n != null && n.value),
|
|
49
|
+
"h-12": !(o != null && o.value),
|
|
50
|
+
"max-w-0 truncate": i.truncate,
|
|
51
|
+
"font-semibold": i.primary
|
|
52
|
+
}
|
|
53
|
+
]);
|
|
54
|
+
return (d, y) => (a(), _("td", {
|
|
55
|
+
class: $([u.value, "solvimon-table__cell whitespace-nowrap px-4 py-2 text-sm leading-5 text-default"]),
|
|
56
|
+
colspan: e.colspan
|
|
57
|
+
}, [
|
|
58
|
+
r.value ? (a(), _("span", ne, [
|
|
59
|
+
(a(), h(E(t(f))))
|
|
60
|
+
])) : z("", !0),
|
|
61
|
+
g(d.$slots, "default")
|
|
62
|
+
], 10, ae));
|
|
63
|
+
}
|
|
64
|
+
}), le = /* @__PURE__ */ w({
|
|
65
|
+
__name: "TableHead",
|
|
66
|
+
props: {
|
|
67
|
+
emphasize: { type: Boolean, default: !1 }
|
|
68
|
+
},
|
|
69
|
+
setup(e) {
|
|
70
|
+
const i = e;
|
|
71
|
+
return x(
|
|
72
|
+
P,
|
|
73
|
+
v(() => i.emphasize)
|
|
74
|
+
), (n, o) => (a(), _("thead", null, [
|
|
75
|
+
g(n.$slots, "default")
|
|
76
|
+
]));
|
|
77
|
+
}
|
|
78
|
+
}), ce = ["colspan", "aria-sort"], re = {
|
|
79
|
+
key: 0,
|
|
80
|
+
class: "sr-only"
|
|
81
|
+
}, T = /* @__PURE__ */ w({
|
|
82
|
+
__name: "TableHeadCell",
|
|
83
|
+
props: {
|
|
84
|
+
columnName: {},
|
|
85
|
+
sortable: { type: Boolean },
|
|
86
|
+
align: { default: "start" },
|
|
87
|
+
minWidth: {},
|
|
88
|
+
tooltip: {},
|
|
89
|
+
colspan: {},
|
|
90
|
+
hiddenLabel: { type: Boolean }
|
|
91
|
+
},
|
|
92
|
+
emits: ["sort"],
|
|
93
|
+
setup(e, { emit: i }) {
|
|
94
|
+
const n = i, o = e, l = k(D, void 0), m = k(S, void 0), f = v(() => {
|
|
95
|
+
if (!(!o.sortable || !(l != null && l.value)) && l.value.columnName === o.columnName)
|
|
96
|
+
return l.value.direction;
|
|
97
|
+
}), r = v(() => {
|
|
98
|
+
if (o.sortable)
|
|
99
|
+
return f.value === "asc" ? "ascending" : f.value === "desc" ? "descending" : "none";
|
|
100
|
+
}), u = v(() => [
|
|
101
|
+
o.align === "end" ? "text-right" : "text-left",
|
|
102
|
+
{ "first:pl-0": !(m != null && m.value), "w-px": o.hiddenLabel }
|
|
103
|
+
]), d = () => {
|
|
104
|
+
o.columnName && n("sort", o.columnName);
|
|
105
|
+
};
|
|
106
|
+
return (y, ke) => (a(), _("th", {
|
|
107
|
+
style: j(e.minWidth ? { minWidth: `${e.minWidth}px` } : void 0),
|
|
108
|
+
class: $([u.value, "relative h-10 select-none whitespace-nowrap px-4 py-2 align-middle text-xs font-medium text-secondary"]),
|
|
109
|
+
colspan: e.colspan,
|
|
110
|
+
"aria-sort": r.value,
|
|
111
|
+
scope: "col"
|
|
112
|
+
}, [
|
|
113
|
+
e.hiddenLabel ? (a(), _("span", re, [
|
|
114
|
+
g(y.$slots, "default")
|
|
115
|
+
])) : (a(), _("span", {
|
|
116
|
+
key: 1,
|
|
117
|
+
class: $([
|
|
118
|
+
"inline-flex items-center gap-1 align-middle",
|
|
119
|
+
{ "w-full justify-end": e.align === "end" }
|
|
120
|
+
])
|
|
121
|
+
}, [
|
|
122
|
+
e.sortable ? (a(), _("button", {
|
|
123
|
+
key: 0,
|
|
124
|
+
type: "button",
|
|
125
|
+
class: $(["inline-flex items-center gap-1 rounded-sm hover:text-default focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600", { "text-primary-700": f.value }]),
|
|
126
|
+
onClick: d
|
|
127
|
+
}, [
|
|
128
|
+
g(y.$slots, "default"),
|
|
129
|
+
f.value === "asc" ? (a(), h(I, {
|
|
130
|
+
key: 0,
|
|
131
|
+
icon: "north",
|
|
132
|
+
size: "2xs",
|
|
133
|
+
class: "shrink-0",
|
|
134
|
+
"aria-hidden": "true"
|
|
135
|
+
})) : f.value === "desc" ? (a(), h(I, {
|
|
136
|
+
key: 1,
|
|
137
|
+
icon: "south",
|
|
138
|
+
size: "2xs",
|
|
139
|
+
class: "shrink-0",
|
|
140
|
+
"aria-hidden": "true"
|
|
141
|
+
})) : (a(), h(I, {
|
|
142
|
+
key: 2,
|
|
143
|
+
icon: "unfold_more",
|
|
144
|
+
size: "2xs",
|
|
145
|
+
class: "shrink-0 text-subtle",
|
|
146
|
+
"aria-hidden": "true"
|
|
147
|
+
}))
|
|
148
|
+
], 2)) : g(y.$slots, "default", {}, void 0, void 0, 1),
|
|
149
|
+
e.tooltip ? (a(), h(J, {
|
|
150
|
+
key: 2,
|
|
151
|
+
variant: "outline"
|
|
152
|
+
}, {
|
|
153
|
+
default: s(() => [
|
|
154
|
+
c(I, {
|
|
155
|
+
icon: "help",
|
|
156
|
+
size: "xs",
|
|
157
|
+
class: "rounded drop-shadow-sm hover:cursor-default hover:bg-gray-50"
|
|
158
|
+
})
|
|
159
|
+
]),
|
|
160
|
+
tooltip: s(() => [
|
|
161
|
+
c(Q, null, {
|
|
162
|
+
default: s(() => [
|
|
163
|
+
c(X, null, {
|
|
164
|
+
default: s(() => [
|
|
165
|
+
p(b(e.tooltip), 1)
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
})
|
|
169
|
+
]),
|
|
170
|
+
_: 1
|
|
171
|
+
})
|
|
172
|
+
]),
|
|
173
|
+
_: 1
|
|
174
|
+
})) : z("", !0)
|
|
175
|
+
], 2))
|
|
176
|
+
], 14, ce));
|
|
177
|
+
}
|
|
178
|
+
}), de = ["data-emphasized"], ue = /* @__PURE__ */ w({
|
|
179
|
+
__name: "TableHeadRow",
|
|
180
|
+
setup(e) {
|
|
181
|
+
const i = k(P, void 0), n = v(() => (i == null ? void 0 : i.value) ?? !1);
|
|
182
|
+
return (o, l) => (a(), _("tr", {
|
|
183
|
+
class: "border-b border-gray-200 bg-white",
|
|
184
|
+
"data-emphasized": n.value || void 0
|
|
185
|
+
}, [
|
|
186
|
+
g(o.$slots, "default")
|
|
187
|
+
], 8, de));
|
|
188
|
+
}
|
|
189
|
+
}), ve = ["aria-selected", "data-detail"], me = /* @__PURE__ */ w({
|
|
190
|
+
__name: "TableRow",
|
|
191
|
+
props: {
|
|
192
|
+
selected: { type: Boolean },
|
|
193
|
+
detail: { type: Boolean }
|
|
194
|
+
},
|
|
195
|
+
setup(e) {
|
|
196
|
+
const i = e, n = H(), o = M(), l = M(!1), m = v(() => !!n.link && !i.detail);
|
|
197
|
+
x(
|
|
198
|
+
A,
|
|
199
|
+
v(() => !!i.detail)
|
|
200
|
+
), n.link && x(V, {
|
|
201
|
+
enabled: m,
|
|
202
|
+
slot: n.link,
|
|
203
|
+
claim: () => l.value ? !1 : (l.value = !0, !0)
|
|
204
|
+
});
|
|
205
|
+
const f = (r) => {
|
|
206
|
+
var u, d;
|
|
207
|
+
if (!m.value || r.defaultPrevented) return;
|
|
208
|
+
const y = r.target;
|
|
209
|
+
y instanceof Element && y.closest(
|
|
210
|
+
'a, button, input, select, textarea, [role="button"], [contenteditable="true"]'
|
|
211
|
+
) || (d = (u = o.value) == null ? void 0 : u.querySelector(".solvimon-table__row-link :is(a, button)")) == null || d.click();
|
|
212
|
+
};
|
|
213
|
+
return (r, u) => (a(), _("tr", {
|
|
214
|
+
ref_key: "row",
|
|
215
|
+
ref: o,
|
|
216
|
+
class: $(["group relative border-b border-gray-100 transition-colors", {
|
|
217
|
+
"bg-primary-50": e.selected,
|
|
218
|
+
"bg-gray-50": e.detail && !e.selected,
|
|
219
|
+
"bg-white": !e.selected && !e.detail,
|
|
220
|
+
"cursor-pointer": m.value
|
|
221
|
+
}]),
|
|
222
|
+
"aria-selected": e.selected ? "true" : void 0,
|
|
223
|
+
"data-detail": e.detail ? "true" : void 0,
|
|
224
|
+
onClick: f
|
|
225
|
+
}, [
|
|
226
|
+
g(r.$slots, "default")
|
|
227
|
+
], 10, ve));
|
|
228
|
+
}
|
|
229
|
+
}), fe = {};
|
|
230
|
+
function _e(e, i) {
|
|
231
|
+
return a(), _("tbody", null, [
|
|
232
|
+
g(e.$slots, "default")
|
|
233
|
+
]);
|
|
234
|
+
}
|
|
235
|
+
const pe = /* @__PURE__ */ Y(fe, [["render", _e]]), be = { class: "sv-table sv-invoices-list__table grid-cols-1 gap-4" }, he = ["onClick"], ye = { class: "flex flex-col" }, ge = { class: "sv-invoices-list__load-more mt-2 flex items-center justify-center" }, we = /* @__PURE__ */ w({
|
|
236
|
+
__name: "InvoiceTable",
|
|
237
|
+
props: {
|
|
238
|
+
invoices: { type: Array },
|
|
239
|
+
isLoading: { type: Boolean },
|
|
240
|
+
hasMoreItems: { type: Boolean },
|
|
241
|
+
configuration: { type: Object }
|
|
242
|
+
},
|
|
243
|
+
emits: ["view-invoice", "pay-invoice", "load-more"],
|
|
244
|
+
setup(e) {
|
|
245
|
+
const i = e, { formatDate: n, $t: o } = R(), l = v(() => i.configuration.showPayButton), m = v(() => i.configuration.showViewButton), f = v(() => i.hasMoreItems);
|
|
246
|
+
return (r, u) => (a(), _("div", be, [
|
|
247
|
+
c(t(se), null, {
|
|
248
|
+
default: s(() => [
|
|
249
|
+
c(t(le), null, {
|
|
250
|
+
default: s(() => [
|
|
251
|
+
c(t(ue), { class: "sv-table__head" }, {
|
|
252
|
+
default: s(() => [
|
|
253
|
+
c(t(T), { class: "sv-table__cell sv-invoices-list__cell--invoice" }, {
|
|
254
|
+
default: s(() => [
|
|
255
|
+
p(b(t(o)({
|
|
256
|
+
defaultMessage: "Invoice",
|
|
257
|
+
description: "The title of the invoice number header column of the invoice table",
|
|
258
|
+
id: "invoice_table.header.invoice_number"
|
|
259
|
+
})), 1)
|
|
260
|
+
]),
|
|
261
|
+
_: 1
|
|
262
|
+
}),
|
|
263
|
+
c(t(T), { class: "sv-table__cell sv-invoices-list__cell--date hidden md:table-cell" }, {
|
|
264
|
+
default: s(() => [
|
|
265
|
+
p(b(t(o)({
|
|
266
|
+
defaultMessage: "Date",
|
|
267
|
+
description: "The title of the invoice date header column of the invoice table",
|
|
268
|
+
id: "invoice_table.header.date"
|
|
269
|
+
})), 1)
|
|
270
|
+
]),
|
|
271
|
+
_: 1
|
|
272
|
+
}),
|
|
273
|
+
c(t(T), { class: "sv-table__cell sv-invoices-list__cell--amount" }, {
|
|
274
|
+
default: s(() => [
|
|
275
|
+
p(b(t(o)({
|
|
276
|
+
defaultMessage: "Amount",
|
|
277
|
+
description: "The title of the invoice amount header column of the invoice table",
|
|
278
|
+
id: "invoice_table.header.amount"
|
|
279
|
+
})), 1)
|
|
280
|
+
]),
|
|
281
|
+
_: 1
|
|
282
|
+
}),
|
|
283
|
+
c(t(T), { class: "sv-table__cell sv-invoices-list__cell--status text-right" }, {
|
|
284
|
+
default: s(() => [
|
|
285
|
+
p(b(t(o)({
|
|
286
|
+
defaultMessage: "Status",
|
|
287
|
+
description: "The title of the invoice status header column of the invoice table",
|
|
288
|
+
id: "invoice_table.header.status"
|
|
289
|
+
})), 1)
|
|
290
|
+
]),
|
|
291
|
+
_: 1
|
|
292
|
+
})
|
|
293
|
+
]),
|
|
294
|
+
_: 1
|
|
295
|
+
})
|
|
296
|
+
]),
|
|
297
|
+
_: 1
|
|
298
|
+
}),
|
|
299
|
+
c(t(pe), null, {
|
|
300
|
+
default: s(() => [
|
|
301
|
+
(a(!0), _(K, null, O(e.invoices, (d) => (a(), h(t(me), {
|
|
302
|
+
key: d.id,
|
|
303
|
+
class: "sv-table__row sv-invoices-list__row"
|
|
304
|
+
}, W({
|
|
305
|
+
default: s(() => [
|
|
306
|
+
c(t(B), { class: "sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--invoice h-14" }, {
|
|
307
|
+
default: s(() => [
|
|
308
|
+
C("div", ye, [
|
|
309
|
+
c(t(L), {
|
|
310
|
+
tag: "span",
|
|
311
|
+
variant: "body-sm",
|
|
312
|
+
class: "md:hidden"
|
|
313
|
+
}, {
|
|
314
|
+
default: s(() => [
|
|
315
|
+
p(b(t(n)({
|
|
316
|
+
date: d.invoice_date,
|
|
317
|
+
format: "date",
|
|
318
|
+
offsetType: "offsetted",
|
|
319
|
+
timezone: d.customer.timezone
|
|
320
|
+
})), 1)
|
|
321
|
+
]),
|
|
322
|
+
_: 2
|
|
323
|
+
}, 1024),
|
|
324
|
+
c(t(L), {
|
|
325
|
+
tag: "span",
|
|
326
|
+
variant: "body-xs",
|
|
327
|
+
color: "subtle"
|
|
328
|
+
}, {
|
|
329
|
+
default: s(() => [
|
|
330
|
+
p(b(d.invoice_number), 1)
|
|
331
|
+
]),
|
|
332
|
+
_: 2
|
|
333
|
+
}, 1024)
|
|
334
|
+
])
|
|
335
|
+
]),
|
|
336
|
+
_: 2
|
|
337
|
+
}, 1024),
|
|
338
|
+
c(t(B), { class: "sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--date hidden h-14 md:table-cell" }, {
|
|
339
|
+
default: s(() => [
|
|
340
|
+
p(b(t(n)({
|
|
341
|
+
date: d.invoice_date,
|
|
342
|
+
format: "date",
|
|
343
|
+
offsetType: "offsetted",
|
|
344
|
+
timezone: d.customer.timezone
|
|
345
|
+
})), 1)
|
|
346
|
+
]),
|
|
347
|
+
_: 2
|
|
348
|
+
}, 1024),
|
|
349
|
+
c(t(B), { class: "sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--amount h-14" }, {
|
|
350
|
+
default: s(() => [
|
|
351
|
+
c(t(L), {
|
|
352
|
+
tag: "span",
|
|
353
|
+
weight: "semibold"
|
|
354
|
+
}, {
|
|
355
|
+
default: s(() => [
|
|
356
|
+
c(t(q), {
|
|
357
|
+
value: d.invoice_amount_including_tax
|
|
358
|
+
}, null, 8, ["value"])
|
|
359
|
+
]),
|
|
360
|
+
_: 2
|
|
361
|
+
}, 1024)
|
|
362
|
+
]),
|
|
363
|
+
_: 2
|
|
364
|
+
}, 1024),
|
|
365
|
+
c(t(B), { class: "sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--status h-14 text-right" }, {
|
|
366
|
+
default: s(() => [
|
|
367
|
+
d.paid ? (a(), h(t(G), {
|
|
368
|
+
key: 0,
|
|
369
|
+
intent: "success"
|
|
370
|
+
}, {
|
|
371
|
+
default: s(() => [
|
|
372
|
+
p(b(t(o)({
|
|
373
|
+
defaultMessage: "Paid",
|
|
374
|
+
description: "The label of the chip for paid invoices",
|
|
375
|
+
id: "invoice_table.chip.paid"
|
|
376
|
+
})), 1)
|
|
377
|
+
]),
|
|
378
|
+
_: 1
|
|
379
|
+
})) : l.value ? (a(), h(t(N), {
|
|
380
|
+
key: 1,
|
|
381
|
+
intent: "secondary",
|
|
382
|
+
size: "xs",
|
|
383
|
+
class: "sv-action sv-action--secondary sv-invoices-list__pay",
|
|
384
|
+
type: "button",
|
|
385
|
+
onClick: F((y) => r.$emit("pay-invoice", { invoiceId: d.id }), ["stop"])
|
|
386
|
+
}, {
|
|
387
|
+
default: s(() => [
|
|
388
|
+
p(b(t(o)({
|
|
389
|
+
defaultMessage: "Pay",
|
|
390
|
+
description: "The label for the pay invoice button",
|
|
391
|
+
id: "customer.invoice_table.pay_invoice_button.label"
|
|
392
|
+
})), 1)
|
|
393
|
+
]),
|
|
394
|
+
_: 1
|
|
395
|
+
}, 8, ["onClick"])) : z("", !0)
|
|
396
|
+
]),
|
|
397
|
+
_: 2
|
|
398
|
+
}, 1024)
|
|
399
|
+
]),
|
|
400
|
+
_: 2
|
|
401
|
+
}, [
|
|
402
|
+
m.value ? {
|
|
403
|
+
name: "link",
|
|
404
|
+
fn: s(() => [
|
|
405
|
+
C("button", {
|
|
406
|
+
type: "button",
|
|
407
|
+
class: "sv-invoices-list__row-action absolute inset-0 h-full w-full",
|
|
408
|
+
onClick: (y) => r.$emit("view-invoice", { invoiceId: d.id })
|
|
409
|
+
}, null, 8, he)
|
|
410
|
+
]),
|
|
411
|
+
key: "0"
|
|
412
|
+
} : void 0
|
|
413
|
+
]), 1024))), 128))
|
|
414
|
+
]),
|
|
415
|
+
_: 1
|
|
416
|
+
})
|
|
417
|
+
]),
|
|
418
|
+
_: 1
|
|
419
|
+
}),
|
|
420
|
+
C("div", ge, [
|
|
421
|
+
f.value ? (a(), h(t(N), {
|
|
422
|
+
key: 0,
|
|
423
|
+
intent: "secondary",
|
|
424
|
+
size: "sm",
|
|
425
|
+
class: "sv-action sv-action--secondary sv-action--full-width w-full",
|
|
426
|
+
loading: e.isLoading,
|
|
427
|
+
onClick: u[0] || (u[0] = (d) => r.$emit("load-more"))
|
|
428
|
+
}, {
|
|
429
|
+
default: s(() => [
|
|
430
|
+
p(b(t(o)({
|
|
431
|
+
defaultMessage: "Load more",
|
|
432
|
+
description: "The label for the load more button",
|
|
433
|
+
id: "invoice_table.button.load_more"
|
|
434
|
+
})), 1)
|
|
435
|
+
]),
|
|
436
|
+
_: 1
|
|
437
|
+
}, 8, ["loading"])) : z("", !0)
|
|
438
|
+
])
|
|
439
|
+
]));
|
|
440
|
+
}
|
|
441
|
+
}), De = /* @__PURE__ */ w({
|
|
442
|
+
__name: "InvoicesList",
|
|
443
|
+
props: {
|
|
444
|
+
invoices: { type: Array },
|
|
445
|
+
isLoading: { type: Boolean },
|
|
446
|
+
hasMoreItems: { type: Boolean },
|
|
447
|
+
configuration: { type: Object }
|
|
448
|
+
},
|
|
449
|
+
emits: ["load-more"],
|
|
450
|
+
setup(e) {
|
|
451
|
+
const i = {
|
|
452
|
+
showPayButton: !0,
|
|
453
|
+
showViewButton: !0,
|
|
454
|
+
pagination: {
|
|
455
|
+
enabled: !0
|
|
456
|
+
}
|
|
457
|
+
}, n = e, o = v(
|
|
458
|
+
() => ee(i, n.configuration)
|
|
459
|
+
), { $t: l } = R(), { dispatchAction: m } = Z();
|
|
460
|
+
return (f, r) => (a(), h(t(U), {
|
|
461
|
+
class: "sv-invoices-list sv-root sv-component",
|
|
462
|
+
"no-border": "",
|
|
463
|
+
"no-spacing": "",
|
|
464
|
+
"content-background": "none",
|
|
465
|
+
title: t(l)({
|
|
466
|
+
defaultMessage: "Invoices",
|
|
467
|
+
description: "Invoices list title",
|
|
468
|
+
id: "invoices_list.title"
|
|
469
|
+
})
|
|
470
|
+
}, {
|
|
471
|
+
default: s(() => [
|
|
472
|
+
c(we, {
|
|
473
|
+
class: "sv-invoices-list__table",
|
|
474
|
+
configuration: o.value,
|
|
475
|
+
"has-more-items": o.value.pagination.enabled && e.hasMoreItems,
|
|
476
|
+
invoices: e.invoices,
|
|
477
|
+
"is-loading": e.isLoading,
|
|
478
|
+
onLoadMore: r[0] || (r[0] = (u) => f.$emit("load-more")),
|
|
479
|
+
onViewInvoice: r[1] || (r[1] = (u) => t(m)({ action: "view-invoice", data: { invoiceId: u.invoiceId } })),
|
|
480
|
+
onPayInvoice: r[2] || (r[2] = (u) => t(m)({ action: "pay-invoice", data: { invoiceId: u.invoiceId } }))
|
|
481
|
+
}, null, 8, ["configuration", "has-more-items", "invoices", "is-loading"])
|
|
482
|
+
]),
|
|
483
|
+
_: 1
|
|
484
|
+
}, 8, ["title"]));
|
|
485
|
+
}
|
|
486
|
+
});
|
|
487
|
+
function Ae({
|
|
488
|
+
customerId: e,
|
|
489
|
+
batchSize: i = 15
|
|
490
|
+
}) {
|
|
491
|
+
const n = oe();
|
|
492
|
+
return te({ service: async (l) => n.getInvoices({
|
|
493
|
+
customerId: e,
|
|
494
|
+
pagination: { page: l, pageSize: i }
|
|
495
|
+
}) });
|
|
496
|
+
}
|
|
497
|
+
export {
|
|
498
|
+
De as _,
|
|
499
|
+
Ae as u
|
|
500
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("vue"),w=require("./Section.vue.es-DuK52y67.js"),m=require("./customElements-Bt8PbjIn.js"),x=require("./Amount.vue.es-DExaYBqm.js"),v=require("./Button.vue.es-BWl37nzm.js"),B=require("./Chip.vue.es-DUgjuRWm.js"),_=require("./TooltipParagraph.vue.es-sTgWAgcd.js"),C=require("./floating-ui.vue.es-Bly3DGWm.js"),N=require("./useActionDispatchProvider-B54GYEY7.js"),V=require("./configuration-akTS7Wiw.js"),$=require("./useIncrementalLoading-CaWOE8Xl.js"),S=require("./invoices-CvpL4rv5.js"),h=Symbol("tableInset"),b=Symbol("tableSorting"),y=Symbol("tableRowDetail"),g=Symbol("tableHeadEmphasize"),k=Symbol("tableRowLink"),T={class:"solvimon-table w-full text-left text-sm"},I=e.defineComponent({__name:"Table",props:{inset:{type:Boolean,default:!1},sorting:{}},setup(t){const n=t;return e.provide(h,e.computed(()=>n.inset)),e.provide(b,e.computed(()=>n.sorting)),(i,o)=>(e.openBlock(),e.createElementBlock("table",T,[e.renderSlot(i.$slots,"default")]))}}),z=["colspan"],L={key:0,class:"solvimon-table__row-link"},f=e.defineComponent({__name:"TableCell",props:{primary:{type:Boolean},align:{default:"start"},verticalAlign:{default:"middle"},truncate:{type:Boolean},colspan:{}},setup(t){const n=t,i=e.inject(h,void 0),o=e.inject(y,void 0),l=e.inject(k,void 0),r=(l==null?void 0:l.claim())??!1,d=l==null?void 0:l.slot,a=e.computed(()=>r&&(l==null?void 0:l.enabled.value)),c=e.computed(()=>[n.align==="end"?"text-right":"text-left",n.verticalAlign==="top"?"align-top":"align-middle",{"first:pl-0":!(i!=null&&i.value),"h-12":!(o!=null&&o.value),"max-w-0 truncate":n.truncate,"font-semibold":n.primary}]);return(s,u)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass([c.value,"solvimon-table__cell whitespace-nowrap px-4 py-2 text-sm leading-5 text-default"]),colspan:t.colspan},[a.value?(e.openBlock(),e.createElementBlock("span",L,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(d))))])):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"default")],10,z))}}),E=e.defineComponent({__name:"TableHead",props:{emphasize:{type:Boolean,default:!1}},setup(t){const n=t;return e.provide(g,e.computed(()=>n.emphasize)),(i,o)=>(e.openBlock(),e.createElementBlock("thead",null,[e.renderSlot(i.$slots,"default")]))}}),D=["colspan","aria-sort"],M={key:0,class:"sr-only"},p=e.defineComponent({__name:"TableHeadCell",props:{columnName:{},sortable:{type:Boolean},align:{default:"start"},minWidth:{},tooltip:{},colspan:{},hiddenLabel:{type:Boolean}},emits:["sort"],setup(t,{emit:n}){const i=n,o=t,l=e.inject(b,void 0),r=e.inject(h,void 0),d=e.computed(()=>{if(!(!o.sortable||!(l!=null&&l.value))&&l.value.columnName===o.columnName)return l.value.direction}),a=e.computed(()=>{if(o.sortable)return d.value==="asc"?"ascending":d.value==="desc"?"descending":"none"}),c=e.computed(()=>[o.align==="end"?"text-right":"text-left",{"first:pl-0":!(r!=null&&r.value),"w-px":o.hiddenLabel}]),s=()=>{o.columnName&&i("sort",o.columnName)};return(u,X)=>(e.openBlock(),e.createElementBlock("th",{style:e.normalizeStyle(t.minWidth?{minWidth:`${t.minWidth}px`}:void 0),class:e.normalizeClass([c.value,"relative h-10 select-none whitespace-nowrap px-4 py-2 align-middle text-xs font-medium text-secondary"]),colspan:t.colspan,"aria-sort":a.value,scope:"col"},[t.hiddenLabel?(e.openBlock(),e.createElementBlock("span",M,[e.renderSlot(u.$slots,"default")])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(["inline-flex items-center gap-1 align-middle",{"w-full justify-end":t.align==="end"}])},[t.sortable?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:e.normalizeClass(["inline-flex items-center gap-1 rounded-sm hover:text-default focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600",{"text-primary-700":d.value}]),onClick:s},[e.renderSlot(u.$slots,"default"),d.value==="asc"?(e.openBlock(),e.createBlock(v._sfc_main$1,{key:0,icon:"north",size:"2xs",class:"shrink-0","aria-hidden":"true"})):d.value==="desc"?(e.openBlock(),e.createBlock(v._sfc_main$1,{key:1,icon:"south",size:"2xs",class:"shrink-0","aria-hidden":"true"})):(e.openBlock(),e.createBlock(v._sfc_main$1,{key:2,icon:"unfold_more",size:"2xs",class:"shrink-0 text-subtle","aria-hidden":"true"}))],2)):e.renderSlot(u.$slots,"default",{},void 0,void 0,1),t.tooltip?(e.openBlock(),e.createBlock(_._sfc_main,{key:2,variant:"outline"},{default:e.withCtx(()=>[e.createVNode(v._sfc_main$1,{icon:"help",size:"xs",class:"rounded drop-shadow-sm hover:cursor-default hover:bg-gray-50"})]),tooltip:e.withCtx(()=>[e.createVNode(_.TooltipContent,null,{default:e.withCtx(()=>[e.createVNode(_._sfc_main$1,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.tooltip),1)]),_:1})]),_:1})]),_:1})):e.createCommentVNode("",!0)],2))],14,D))}}),q=["data-emphasized"],A=e.defineComponent({__name:"TableHeadRow",setup(t){const n=e.inject(g,void 0),i=e.computed(()=>(n==null?void 0:n.value)??!1);return(o,l)=>(e.openBlock(),e.createElementBlock("tr",{class:"border-b border-gray-200 bg-white","data-emphasized":i.value||void 0},[e.renderSlot(o.$slots,"default")],8,q))}}),R=["aria-selected","data-detail"],j=e.defineComponent({__name:"TableRow",props:{selected:{type:Boolean},detail:{type:Boolean}},setup(t){const n=t,i=e.useSlots(),o=e.ref(),l=e.ref(!1),r=e.computed(()=>!!i.link&&!n.detail);e.provide(y,e.computed(()=>!!n.detail)),i.link&&e.provide(k,{enabled:r,slot:i.link,claim:()=>l.value?!1:(l.value=!0,!0)});const d=a=>{var c,s;if(!r.value||a.defaultPrevented)return;const u=a.target;u instanceof Element&&u.closest('a, button, input, select, textarea, [role="button"], [contenteditable="true"]')||(s=(c=o.value)==null?void 0:c.querySelector(".solvimon-table__row-link :is(a, button)"))==null||s.click()};return(a,c)=>(e.openBlock(),e.createElementBlock("tr",{ref_key:"row",ref:o,class:e.normalizeClass(["group relative border-b border-gray-100 transition-colors",{"bg-primary-50":t.selected,"bg-gray-50":t.detail&&!t.selected,"bg-white":!t.selected&&!t.detail,"cursor-pointer":r.value}]),"aria-selected":t.selected?"true":void 0,"data-detail":t.detail?"true":void 0,onClick:d},[e.renderSlot(a.$slots,"default")],10,R))}}),P={};function H(t,n){return e.openBlock(),e.createElementBlock("tbody",null,[e.renderSlot(t.$slots,"default")])}const K=C._export_sfc(P,[["render",H]]),O={class:"sv-table sv-invoices-list__table grid-cols-1 gap-4"},W=["onClick"],F={class:"flex flex-col"},U={class:"sv-invoices-list__load-more mt-2 flex items-center justify-center"},G=e.defineComponent({__name:"InvoiceTable",props:{invoices:{type:Array},isLoading:{type:Boolean},hasMoreItems:{type:Boolean},configuration:{type:Object}},emits:["view-invoice","pay-invoice","load-more"],setup(t){const n=t,{formatDate:i,$t:o}=m.useIntl(),l=e.computed(()=>n.configuration.showPayButton),r=e.computed(()=>n.configuration.showViewButton),d=e.computed(()=>n.hasMoreItems);return(a,c)=>(e.openBlock(),e.createElementBlock("div",O,[e.createVNode(e.unref(I),null,{default:e.withCtx(()=>[e.createVNode(e.unref(E),null,{default:e.withCtx(()=>[e.createVNode(e.unref(A),{class:"sv-table__head"},{default:e.withCtx(()=>[e.createVNode(e.unref(p),{class:"sv-table__cell sv-invoices-list__cell--invoice"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Invoice",description:"The title of the invoice number header column of the invoice table",id:"invoice_table.header.invoice_number"})),1)]),_:1}),e.createVNode(e.unref(p),{class:"sv-table__cell sv-invoices-list__cell--date hidden md:table-cell"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Date",description:"The title of the invoice date header column of the invoice table",id:"invoice_table.header.date"})),1)]),_:1}),e.createVNode(e.unref(p),{class:"sv-table__cell sv-invoices-list__cell--amount"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Amount",description:"The title of the invoice amount header column of the invoice table",id:"invoice_table.header.amount"})),1)]),_:1}),e.createVNode(e.unref(p),{class:"sv-table__cell sv-invoices-list__cell--status text-right"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Status",description:"The title of the invoice status header column of the invoice table",id:"invoice_table.header.status"})),1)]),_:1})]),_:1})]),_:1}),e.createVNode(e.unref(K),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.invoices,s=>(e.openBlock(),e.createBlock(e.unref(j),{key:s.id,class:"sv-table__row sv-invoices-list__row"},e.createSlots({default:e.withCtx(()=>[e.createVNode(e.unref(f),{class:"sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--invoice h-14"},{default:e.withCtx(()=>[e.createElementVNode("div",F,[e.createVNode(e.unref(m._sfc_main),{tag:"span",variant:"body-sm",class:"md:hidden"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({date:s.invoice_date,format:"date",offsetType:"offsetted",timezone:s.customer.timezone})),1)]),_:2},1024),e.createVNode(e.unref(m._sfc_main),{tag:"span",variant:"body-xs",color:"subtle"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.invoice_number),1)]),_:2},1024)])]),_:2},1024),e.createVNode(e.unref(f),{class:"sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--date hidden h-14 md:table-cell"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({date:s.invoice_date,format:"date",offsetType:"offsetted",timezone:s.customer.timezone})),1)]),_:2},1024),e.createVNode(e.unref(f),{class:"sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--amount h-14"},{default:e.withCtx(()=>[e.createVNode(e.unref(m._sfc_main),{tag:"span",weight:"semibold"},{default:e.withCtx(()=>[e.createVNode(e.unref(x._sfc_main),{value:s.invoice_amount_including_tax},null,8,["value"])]),_:2},1024)]),_:2},1024),e.createVNode(e.unref(f),{class:"sv-table__cell sv-invoices-list__cell sv-invoices-list__cell--status h-14 text-right"},{default:e.withCtx(()=>[s.paid?(e.openBlock(),e.createBlock(e.unref(B._sfc_main),{key:0,intent:"success"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Paid",description:"The label of the chip for paid invoices",id:"invoice_table.chip.paid"})),1)]),_:1})):l.value?(e.openBlock(),e.createBlock(e.unref(v._sfc_main),{key:1,intent:"secondary",size:"xs",class:"sv-action sv-action--secondary sv-invoices-list__pay",type:"button",onClick:e.withModifiers(u=>a.$emit("pay-invoice",{invoiceId:s.id}),["stop"])},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Pay",description:"The label for the pay invoice button",id:"customer.invoice_table.pay_invoice_button.label"})),1)]),_:1},8,["onClick"])):e.createCommentVNode("",!0)]),_:2},1024)]),_:2},[r.value?{name:"link",fn:e.withCtx(()=>[e.createElementVNode("button",{type:"button",class:"sv-invoices-list__row-action absolute inset-0 h-full w-full",onClick:u=>a.$emit("view-invoice",{invoiceId:s.id})},null,8,W)]),key:"0"}:void 0]),1024))),128))]),_:1})]),_:1}),e.createElementVNode("div",U,[d.value?(e.openBlock(),e.createBlock(e.unref(v._sfc_main),{key:0,intent:"secondary",size:"sm",class:"sv-action sv-action--secondary sv-action--full-width w-full",loading:t.isLoading,onClick:c[0]||(c[0]=s=>a.$emit("load-more"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)({defaultMessage:"Load more",description:"The label for the load more button",id:"invoice_table.button.load_more"})),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)])]))}}),J=e.defineComponent({__name:"InvoicesList",props:{invoices:{type:Array},isLoading:{type:Boolean},hasMoreItems:{type:Boolean},configuration:{type:Object}},emits:["load-more"],setup(t){const n={showPayButton:!0,showViewButton:!0,pagination:{enabled:!0}},i=t,o=e.computed(()=>V.resolveConfiguration(n,i.configuration)),{$t:l}=m.useIntl(),{dispatchAction:r}=N.useActionDispatchProvider();return(d,a)=>(e.openBlock(),e.createBlock(e.unref(w._sfc_main),{class:"sv-invoices-list sv-root sv-component","no-border":"","no-spacing":"","content-background":"none",title:e.unref(l)({defaultMessage:"Invoices",description:"Invoices list title",id:"invoices_list.title"})},{default:e.withCtx(()=>[e.createVNode(G,{class:"sv-invoices-list__table",configuration:o.value,"has-more-items":o.value.pagination.enabled&&t.hasMoreItems,invoices:t.invoices,"is-loading":t.isLoading,onLoadMore:a[0]||(a[0]=c=>d.$emit("load-more")),onViewInvoice:a[1]||(a[1]=c=>e.unref(r)({action:"view-invoice",data:{invoiceId:c.invoiceId}})),onPayInvoice:a[2]||(a[2]=c=>e.unref(r)({action:"pay-invoice",data:{invoiceId:c.invoiceId}}))},null,8,["configuration","has-more-items","invoices","is-loading"])]),_:1},8,["title"]))}});function Q({customerId:t,batchSize:n=15}){const i=S.createInvoicesService(),o=async l=>i.getInvoices({customerId:t,pagination:{page:l,pageSize:n}});return $.useIncrementalLoading({service:o})}exports._sfc_main=J;exports.useInvoicesList=Q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a=require("vue"),i=require("./customElements-Bt8PbjIn.js");function r(...t){const e=a.ref(!0),o=i.useLogger();return a.onMounted(async()=>{await Promise.all(t).then(()=>{e.value=!1}).catch(n=>{e.value=!1,o.error("INITIAL_DATA_LOAD_FAILED","Failed to load initial data",{},n)})}),{isLoading:e}}exports.useLoadInitialData=r;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ref as r, onMounted as i } from "vue";
|
|
2
|
+
import { b as n } from "./customElements-Com2NiGU.mjs";
|
|
3
|
+
function u(...o) {
|
|
4
|
+
const a = r(!0), e = n();
|
|
5
|
+
return i(async () => {
|
|
6
|
+
await Promise.all(o).then(() => {
|
|
7
|
+
a.value = !1;
|
|
8
|
+
}).catch((t) => {
|
|
9
|
+
a.value = !1, e.error("INITIAL_DATA_LOAD_FAILED", "Failed to load initial data", {}, t);
|
|
10
|
+
});
|
|
11
|
+
}), { isLoading: a };
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
u
|
|
15
|
+
};
|