@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.22
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-Co3XAxaY.js +1 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.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-D42J_izE.js +1 -0
- package/dist/Avatar.vue.es-DNJ-jexx.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs +60 -0
- package/dist/Button.vue.es-Dz-2L8dJ.mjs +368 -0
- package/dist/Button.vue.es-M_jXZda4.js +1 -0
- package/dist/Checkout.entry.ce-B5-0AM67.mjs +3747 -0
- package/dist/Checkout.entry.ce-C52gkrNZ.js +1 -0
- package/dist/Chip.vue.es-DMK9C78d.mjs +114 -0
- package/dist/Chip.vue.es-G8doKsZb.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-B3Rz6Ojk.js +1 -0
- package/dist/ContextMenu.vue.es-CzkkNoJG.mjs +573 -0
- package/dist/CustomerBillingInformation.vue.es-BmtU9Pk0.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-Db6bN2RZ.mjs +153 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js +1 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs +140 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs +2684 -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-D-QxT2OD.js +1 -0
- package/dist/DividerText.vue.es-IK2fns6f.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs +335 -0
- package/dist/ErrorNotification.vue.es-BGckEwHf.mjs +31 -0
- package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +1 -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-BTAkuFsm.js +1 -0
- package/dist/IconButton.vue.es-C4dQEQAc.mjs +198 -0
- package/dist/IconTitle.vue.es-BmX68uJx.mjs +103 -0
- package/dist/IconTitle.vue.es-CmR2xoeu.js +1 -0
- package/dist/Input.vue.es-BGPELaZU.mjs +235 -0
- package/dist/Input.vue.es-CTOrmrcB.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs +92 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs +41 -0
- package/dist/InvoiceSummary.vue.es-BWLiwlNs.mjs +2585 -0
- package/dist/InvoiceSummary.vue.es-hpG8Tq1D.js +1 -0
- package/dist/Modal.vue.es-BD4vUaOQ.js +1 -0
- package/dist/Modal.vue.es-B_G8NQS2.mjs +387 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +144 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +1 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js +1 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs +51 -0
- package/dist/PaymentHistoryBlock-ComJzB3H.mjs +4 -0
- package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DSHW_eW1.js} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js +1 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs +93 -0
- package/dist/PaymentIntegrationForm-CH5B6BY5.mjs +4 -0
- package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-CwfCLnKt.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs +138 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-DfN7cPYZ.mjs +621 -0
- package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +98 -0
- package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +102 -0
- package/dist/PaymentIntegrationFormStripe-CBsXDuhy.mjs +488 -0
- package/dist/PaymentMethod.vue.es-D18g-QB4.js +1 -0
- package/dist/PaymentMethod.vue.es-DkQdPXfk.mjs +623 -0
- package/dist/PaymentMethodForm-CpIZKfPH.mjs +4 -0
- package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-DK8ntFA0.js} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs +167 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs +169 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js +1 -0
- package/dist/PlanCustomizationEditor-0zCXN-cv.mjs +877 -0
- package/dist/PlanCustomizationEditor-XpofGULc.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-8_5nfZDI.mjs +627 -0
- package/dist/PricingGroupRangeInput.vue.es-QnpfHxaY.js +185 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js +1 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs +131 -0
- package/dist/RadioGroupExtended.vue.es-C92xlCFQ.mjs +163 -0
- package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +1 -0
- package/dist/Section.vue.es-Btff-cLY.js +1 -0
- package/dist/Section.vue.es-DQ5H7mqW.mjs +72 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs +687 -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-Dc0rUnnf.mjs +4 -0
- package/dist/SubscriptionSchedules-pzNsego6.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs +5291 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +1 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs +91 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs +284 -0
- package/dist/TooltipParagraph.vue.es-BaqCDjl8.js +1 -0
- package/dist/TooltipParagraph.vue.es-CIedcXGT.mjs +129 -0
- package/dist/TrialChip.vue.es-BzNI94k0.js +1 -0
- package/dist/TrialChip.vue.es-DkBuMNr_.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-BEU5D0Wz.mjs → cn.es-BGqYNPM3.mjs} +657 -927
- package/dist/cn.es-CvmLj7KH.js +1 -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.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-CSE7dwUr.mjs +6561 -0
- package/dist/customElements-Vox1PB6G.js +1211 -0
- package/dist/customer-5krPxZ8i.mjs +31 -0
- package/dist/customer-Dsq-Moea.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-_40QfLNJ.js → de-DE-BSlbAnPE.js} +1 -1
- package/dist/de-DE-C3DzP1nj.js +1 -0
- package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DXsG-vXA.mjs} +46 -59
- package/dist/{de-DE-CI2zQkiP.mjs → de-DE-DsFtpLsx.mjs} +7 -5
- 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--NRsi7Hz.js → en-US-9xdcz3T5.js} +1 -1
- package/dist/{en-US-5YWNEi-V.mjs → en-US-C939IZ5i.mjs} +50 -63
- package/dist/{en-US-DksUWPIu.mjs → en-US-DvkvbV0p.mjs} +7 -5
- package/dist/en-US-X_pSFsNm.js +1 -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 -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-DRgfpkJ6.mjs +118 -0
- package/dist/invoices-xOV2YaEV.js +1 -0
- package/dist/{it-IT-B6blp8MI.mjs → it-IT-BxpwB3oJ.mjs} +46 -59
- package/dist/it-IT-DT3rfjOY.js +1 -0
- package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-TE7oqvXa.mjs} +7 -5
- package/dist/it-IT-YBtHAao1.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-C8wnyKju.js +1 -0
- package/dist/nl-NL-DfkhOJKc.js +1 -0
- package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-Di3-JArV.mjs} +7 -5
- package/dist/{nl-NL-CjoW8r_M.mjs → nl-NL-na2I4aiP.mjs} +46 -59
- 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-CRDIw9lz.js +1 -0
- package/dist/paymentMethods-PmkHYomw.mjs +75 -0
- package/dist/payments-Dvqh6CGW.mjs +45 -0
- package/dist/payments-jAgXhdp_.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-D4aYkYcf.js +1 -0
- package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +77 -0
- package/dist/pricingPlanSchedule-BM8vsKkV.js +1 -0
- package/dist/pricingPlanSchedule-BPrS2WRd.mjs +132 -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-CrVOr5MF.mjs +69 -0
- package/dist/subscription-ZA62t4E9.js +1 -0
- package/dist/subscriptions-XDyI2Cqm.mjs +55 -0
- package/dist/subscriptions-fJcj88X9.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/customer/CheckoutForm/CheckoutForm.types.d.ts +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/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +1 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +1 -1
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +1 -1
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +1 -1
- 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-B8-oycQk.mjs +11 -0
- package/dist/useActionDispatchProvider-CNAuaHdm.js +1 -0
- package/dist/useCustomer-CP8eWUZV.mjs +20 -0
- package/dist/useCustomer-DSx-wN-6.js +1 -0
- package/dist/useCustomerFormLabels-DW6jnDYH.mjs +968 -0
- package/dist/useCustomerFormLabels-TVTgy0MT.js +1 -0
- package/dist/useExperimentalFeature-BvE_EOX-.mjs +6 -0
- package/dist/useExperimentalFeature-CC-DrIcL.js +1 -0
- package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
- package/dist/useInvoiceData-CRRPdXc6.js +1 -0
- package/dist/useInvoiceData-D8ds05CX.mjs +38 -0
- package/dist/useInvoicesList-DIfQcvER.js +1 -0
- package/dist/useInvoicesList-SJU5YWBQ.mjs +500 -0
- package/dist/useLoadInitialData-DsabgMLZ.js +1 -0
- package/dist/useLoadInitialData-MUljS38K.mjs +15 -0
- package/dist/usePaymentMethodAvailability-Bt7P9InI.js +1 -0
- package/dist/usePaymentMethodAvailability-D0NUanyF.mjs +118 -0
- package/dist/usePaymentMethodOptions-B7JYkGsw.mjs +37 -0
- package/dist/usePaymentMethodOptions-cT1o-BA1.js +1 -0
- package/dist/usePaymentMethods-CpzqXQUT.mjs +15 -0
- package/dist/usePaymentMethods-DNVw2eVg.js +1 -0
- package/dist/usePayments-D9Eo-uBk.js +1 -0
- package/dist/usePayments-Gx9kBvNB.mjs +318 -0
- package/dist/usePortal-3VCZwSUE.mjs +11 -0
- package/dist/usePortal-DsebXdhx.js +1 -0
- package/dist/useService-Bh47bllz.mjs +50 -0
- package/dist/useService-H7BjLg8P.js +1 -0
- package/dist/useSubscription-DnL1wVh1.mjs +210 -0
- package/dist/useSubscription-K_gP9TeX.js +1 -0
- package/dist/useTimePeriod.es-CmltiTE-.js +1 -0
- package/dist/useTimePeriod.es-DMtKzcoB.mjs +93 -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/wallets.es-CNIMW5ay.js +1 -0
- package/dist/wallets.es-eH2C2ygn.mjs +102 -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/it-IT-aPQY57ht.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/nl-NL-zRUAuEHg.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 u=require("vue"),Oe=require("./Button.vue.es-M_jXZda4.js"),Ee=require("./TooltipParagraph.vue.es-BaqCDjl8.js");function Ve(e=""){return`${e}${crypto.randomUUID()}`}const je={key:0,class:"text-xs font-normal text-subtle"},ge=u.defineComponent({__name:"LabelContent",props:{tag:{default:"label"},required:{type:Boolean},name:{},screenReaderOnly:{type:Boolean},i18n:{},optionalLabel:{}},setup(e){return(r,t)=>(u.openBlock(),u.createBlock(u.resolveDynamicComponent(e.tag),u.mergeProps(r.$attrs,{class:["block text-sm font-medium text-default",{"sr-only":e.screenReaderOnly}]}),{default:u.withCtx(()=>{var o;return[u.renderSlot(r.$slots,"default"),e.required?u.createCommentVNode("",!0):(u.openBlock(),u.createElementBlock("span",je," ("+u.toDisplayString(((o=e.i18n)==null?void 0:o.optionalLabel)??"optional")+") ",1))]}),_:3},16,["class"]))}}),Fe={class:"mb-1 flex items-center justify-between"},We={class:"flex items-center gap-1"},qe={key:0,class:"leading-none"},De={inheritAttrs:!1},Ue=u.defineComponent({...De,__name:"Label",props:{tag:{default:"label"},required:{type:Boolean},name:{},screenReaderOnly:{type:Boolean},i18n:{}},setup(e){return(r,t)=>(u.openBlock(),u.createElementBlock("div",Fe,[u.createElementVNode("div",We,[r.$slots.tooltip?(u.openBlock(),u.createBlock(Ee._sfc_main,{key:0,variant:"outline",class:"flex items-center"},{default:u.withCtx(()=>{var o;return[u.createVNode(ge,u.mergeProps({...r.$props,...r.$attrs},{i18n:{optionalLabel:(o=e.i18n)==null?void 0:o.optionalLabel}}),{default:u.withCtx(()=>[u.renderSlot(r.$slots,"default")]),_:3},16,["i18n"]),u.createVNode(Oe._sfc_main$1,{icon:"help",size:"2xs",class:"ml-1 rounded drop-shadow-sm hover:cursor-default hover:bg-gray-50"})]}),tooltip:u.withCtx(()=>[u.renderSlot(r.$slots,"tooltip")]),_:3})):(u.openBlock(),u.createBlock(ge,u.normalizeProps(u.mergeProps({key:1},{...r.$props,...r.$attrs})),{default:u.withCtx(()=>[u.renderSlot(r.$slots,"default")]),_:3},16))]),r.$slots.suffix?(u.openBlock(),u.createElementBlock("div",qe,[u.renderSlot(r.$slots,"suffix")])):u.createCommentVNode("",!0)]))}}),Ye=e=>`input-${e}`;function ze(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(r=0;r<l;r++)e[r]&&(t=ze(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function Xe(){for(var e,r,t=0,o="",l=arguments.length;t<l;t++)(e=arguments[t])&&(r=ze(e))&&(o&&(o+=" "),o+=r);return o}const Je=(e,r)=>{const t=new Array(e.length+r.length);for(let o=0;o<e.length;o++)t[o]=e[o];for(let o=0;o<r.length;o++)t[e.length+o]=r[o];return t},He=(e,r)=>({classGroupId:e,validator:r}),Ce=(e=new Map,r=null,t)=>({nextPart:e,validators:r,classGroupId:t}),Q="-",he=[],Ke="arbitrary..",Qe=e=>{const r=eo(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return Ze(a);const b=a.split(Q),d=b[0]===""&&b.length>1?1:0;return Se(b,d,r)},getConflictingClassGroupIds:(a,b)=>{if(b){const d=o[a],f=t[a];return d?f?Je(f,d):d:f||he}return t[a]||he}}},Se=(e,r,t)=>{if(e.length-r===0)return t.classGroupId;const l=e[r],m=t.nextPart.get(l);if(m){const f=Se(e,r+1,m);if(f)return f}const a=t.validators;if(a===null)return;const b=r===0?e.join(Q):e.slice(r).join(Q),d=a.length;for(let f=0;f<d;f++){const k=a[f];if(k.validator(b))return k.classGroupId}},Ze=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),t=r.indexOf(":"),o=r.slice(0,t);return o?Ke+o:void 0})(),eo=e=>{const{theme:r,classGroups:t}=e;return oo(t,r)},oo=(e,r)=>{const t=Ce();for(const o in e){const l=e[o];ae(l,t,o,r)}return t},ae=(e,r,t,o)=>{const l=e.length;for(let m=0;m<l;m++){const a=e[m];ro(a,r,t,o)}},ro=(e,r,t,o)=>{if(typeof e=="string"){to(e,r,t);return}if(typeof e=="function"){so(e,r,t,o);return}no(e,r,t,o)},to=(e,r,t)=>{const o=e===""?r:Ae(r,e);o.classGroupId=t},so=(e,r,t,o)=>{if(ao(e)){ae(e(o),r,t,o);return}r.validators===null&&(r.validators=[]),r.validators.push(He(t,e))},no=(e,r,t,o)=>{const l=Object.entries(e),m=l.length;for(let a=0;a<m;a++){const[b,d]=l[a];ae(d,Ae(r,b),t,o)}},Ae=(e,r)=>{let t=e;const o=r.split(Q),l=o.length;for(let m=0;m<l;m++){const a=o[m];let b=t.nextPart.get(a);b||(b=Ce(),t.nextPart.set(a,b)),t=b}return t},ao=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,lo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=Object.create(null),o=Object.create(null);const l=(m,a)=>{t[m]=a,r++,r>e&&(r=0,o=t,t=Object.create(null))};return{get(m){let a=t[m];if(a!==void 0)return a;if((a=o[m])!==void 0)return l(m,a),a},set(m,a){m in t?t[m]=a:l(m,a)}}},ne="!",ke=":",io=[],we=(e,r,t,o,l)=>({modifiers:e,hasImportantModifier:r,baseClassName:t,maybePostfixModifierPosition:o,isExternal:l}),co=e=>{const{prefix:r,experimentalParseClassName:t}=e;let o=l=>{const m=[];let a=0,b=0,d=0,f;const k=l.length;for(let C=0;C<k;C++){const y=l[C];if(a===0&&b===0){if(y===ke){m.push(l.slice(d,C)),d=C+1;continue}if(y==="/"){f=C;continue}}y==="["?a++:y==="]"?a--:y==="("?b++:y===")"&&b--}const z=m.length===0?l:l.slice(d);let A=z,M=!1;z.endsWith(ne)?(A=z.slice(0,-1),M=!0):z.startsWith(ne)&&(A=z.slice(1),M=!0);const T=f&&f>d?f-d:void 0;return we(m,M,A,T)};if(r){const l=r+ke,m=o;o=a=>a.startsWith(l)?m(a.slice(l.length)):we(io,!1,a,void 0,!0)}if(t){const l=o;o=m=>t({className:m,parseClassName:l})}return o},mo=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((t,o)=>{r.set(t,1e6+o)}),t=>{const o=[];let l=[];for(let m=0;m<t.length;m++){const a=t[m],b=a[0]==="[",d=r.has(a);b||d?(l.length>0&&(l.sort(),o.push(...l),l=[]),o.push(a)):l.push(a)}return l.length>0&&(l.sort(),o.push(...l)),o}},po=e=>({cache:lo(e.cacheSize),parseClassName:co(e),sortModifiers:mo(e),...Qe(e)}),uo=/\s+/,bo=(e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:m}=r,a=[],b=e.trim().split(uo);let d="";for(let f=b.length-1;f>=0;f-=1){const k=b[f],{isExternal:z,modifiers:A,hasImportantModifier:M,baseClassName:T,maybePostfixModifierPosition:C}=t(k);if(z){d=k+(d.length>0?" "+d:d);continue}let y=!!C,B=o(y?T.substring(0,C):T);if(!B){if(!y){d=k+(d.length>0?" "+d:d);continue}if(B=o(T),!B){d=k+(d.length>0?" "+d:d);continue}y=!1}const q=A.length===0?"":A.length===1?A[0]:m(A).join(":"),j=M?q+ne:q,O=j+B;if(a.indexOf(O)>-1)continue;a.push(O);const E=l(B,y);for(let G=0;G<E.length;++G){const F=E[G];a.push(j+F)}d=k+(d.length>0?" "+d:d)}return d},fo=(...e)=>{let r=0,t,o,l="";for(;r<e.length;)(t=e[r++])&&(o=Re(t))&&(l&&(l+=" "),l+=o);return l},Re=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=Re(e[o]))&&(t&&(t+=" "),t+=r);return t},go=(e,...r)=>{let t,o,l,m;const a=d=>{const f=r.reduce((k,z)=>z(k),e());return t=po(f),o=t.cache.get,l=t.cache.set,m=b,b(d)},b=d=>{const f=o(d);if(f)return f;const k=bo(d,t);return l(d,k),k};return m=a,(...d)=>m(fo(...d))},ho=[],g=e=>{const r=t=>t[e]||ho;return r.isThemeGetter=!0,r},Ie=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Pe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ko=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,wo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,yo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,vo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>ko.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),P=e=>!!e&&Number.isInteger(Number(e)),se=e=>e.endsWith("%")&&p(e.slice(0,-1)),R=e=>wo.test(e),_e=()=>!0,Co=e=>xo.test(e)&&!yo.test(e),le=()=>!1,So=e=>vo.test(e),Ao=e=>zo.test(e),Ro=e=>!s(e)&&!n(e),Io=e=>_(e,Be,le),s=e=>Ie.test(e),$=e=>_(e,Ge,Co),xe=e=>_(e,$o,p),Po=e=>_(e,$e,_e),_o=e=>_(e,Le,le),ye=e=>_(e,Me,le),Mo=e=>_(e,Te,Ao),H=e=>_(e,Ne,So),n=e=>Pe.test(e),W=e=>N(e,Ge),To=e=>N(e,Le),ve=e=>N(e,Me),Bo=e=>N(e,Be),Go=e=>N(e,Te),K=e=>N(e,Ne,!0),Lo=e=>N(e,$e,!0),_=(e,r,t)=>{const o=Ie.exec(e);return o?o[1]?r(o[1]):t(o[2]):!1},N=(e,r,t=!1)=>{const o=Pe.exec(e);return o?o[1]?r(o[1]):t:!1},Me=e=>e==="position"||e==="percentage",Te=e=>e==="image"||e==="url",Be=e=>e==="length"||e==="size"||e==="bg-size",Ge=e=>e==="length",$o=e=>e==="number",Le=e=>e==="family-name",$e=e=>e==="number"||e==="weight",Ne=e=>e==="shadow",No=()=>{const e=g("color"),r=g("font"),t=g("text"),o=g("font-weight"),l=g("tracking"),m=g("leading"),a=g("breakpoint"),b=g("container"),d=g("spacing"),f=g("radius"),k=g("shadow"),z=g("inset-shadow"),A=g("text-shadow"),M=g("drop-shadow"),T=g("blur"),C=g("perspective"),y=g("aspect"),B=g("ease"),q=g("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...O(),n,s],G=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],i=()=>[n,s,d],v=()=>[I,"full","auto",...i()],ie=()=>[P,"none","subgrid",n,s],ce=()=>["auto",{span:["full",P,n,s]},P,n,s],D=()=>[P,"auto",n,s],de=()=>["auto","min","max","fr",n,s],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],V=()=>["start","end","center","stretch","center-safe","end-safe"],S=()=>["auto",...i()],L=()=>[I,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...i()],ee=()=>[I,"screen","full","dvw","lvw","svw","min","max","fit",...i()],oe=()=>[I,"screen","full","lh","dvh","lvh","svh","min","max","fit",...i()],c=()=>[e,n,s],me=()=>[...O(),ve,ye,{position:[n,s]}],pe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ue=()=>["auto","cover","contain",Bo,Io,{size:[n,s]}],re=()=>[se,W,$],w=()=>["","none","full",f,n,s],x=()=>["",p,W,$],U=()=>["solid","dashed","dotted","double"],be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],h=()=>[p,se,ve,ye],fe=()=>["","none",T,n,s],Y=()=>["none",p,n,s],X=()=>["none",p,n,s],te=()=>[p,n,s],J=()=>[I,"full",...i()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[R],breakpoint:[R],color:[_e],container:[R],"drop-shadow":[R],ease:["in","out","in-out"],font:[Ro],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[R],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[R],shadow:[R],spacing:["px",p],text:[R],"text-shadow":[R],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",I,s,n,y]}],container:["container"],columns:[{columns:[p,s,n,b]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:v()}],"inset-x":[{"inset-x":v()}],"inset-y":[{"inset-y":v()}],start:[{"inset-s":v(),start:v()}],end:[{"inset-e":v(),end:v()}],"inset-bs":[{"inset-bs":v()}],"inset-be":[{"inset-be":v()}],top:[{top:v()}],right:[{right:v()}],bottom:[{bottom:v()}],left:[{left:v()}],visibility:["visible","invisible","collapse"],z:[{z:[P,"auto",n,s]}],basis:[{basis:[I,"full","auto",b,...i()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,I,"auto","initial","none",s]}],grow:[{grow:["",p,n,s]}],shrink:[{shrink:["",p,n,s]}],order:[{order:[P,"first","last","none",n,s]}],"grid-cols":[{"grid-cols":ie()}],"col-start-end":[{col:ce()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":ie()}],"row-start-end":[{row:ce()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":de()}],"auto-rows":[{"auto-rows":de()}],gap:[{gap:i()}],"gap-x":[{"gap-x":i()}],"gap-y":[{"gap-y":i()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...V(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...V(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:i()}],px:[{px:i()}],py:[{py:i()}],ps:[{ps:i()}],pe:[{pe:i()}],pbs:[{pbs:i()}],pbe:[{pbe:i()}],pt:[{pt:i()}],pr:[{pr:i()}],pb:[{pb:i()}],pl:[{pl:i()}],m:[{m:S()}],mx:[{mx:S()}],my:[{my:S()}],ms:[{ms:S()}],me:[{me:S()}],mbs:[{mbs:S()}],mbe:[{mbe:S()}],mt:[{mt:S()}],mr:[{mr:S()}],mb:[{mb:S()}],ml:[{ml:S()}],"space-x":[{"space-x":i()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":i()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],"inline-size":[{inline:["auto",...ee()]}],"min-inline-size":[{"min-inline":["auto",...ee()]}],"max-inline-size":[{"max-inline":["none",...ee()]}],"block-size":[{block:["auto",...oe()]}],"min-block-size":[{"min-block":["auto",...oe()]}],"max-block-size":[{"max-block":["none",...oe()]}],w:[{w:[b,"screen",...L()]}],"min-w":[{"min-w":[b,"screen","none",...L()]}],"max-w":[{"max-w":[b,"screen","none","prose",{screen:[a]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",t,W,$]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Lo,Po]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",se,s]}],"font-family":[{font:[To,_o,r]}],"font-features":[{"font-features":[s]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,n,s]}],"line-clamp":[{"line-clamp":[p,"none",n,xe]}],leading:[{leading:[m,...i()]}],"list-image":[{"list-image":["none",n,s]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",n,s]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:c()}],"text-color":[{text:c()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",n,$]}],"text-decoration-color":[{decoration:c()}],"underline-offset":[{"underline-offset":[p,"auto",n,s]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:i()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",n,s]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",n,s]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:me()}],"bg-repeat":[{bg:pe()}],"bg-size":[{bg:ue()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},P,n,s],radial:["",n,s],conic:[P,n,s]},Go,Mo]}],"bg-color":[{bg:c()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:c()}],"gradient-via":[{via:c()}],"gradient-to":[{to:c()}],rounded:[{rounded:w()}],"rounded-s":[{"rounded-s":w()}],"rounded-e":[{"rounded-e":w()}],"rounded-t":[{"rounded-t":w()}],"rounded-r":[{"rounded-r":w()}],"rounded-b":[{"rounded-b":w()}],"rounded-l":[{"rounded-l":w()}],"rounded-ss":[{"rounded-ss":w()}],"rounded-se":[{"rounded-se":w()}],"rounded-ee":[{"rounded-ee":w()}],"rounded-es":[{"rounded-es":w()}],"rounded-tl":[{"rounded-tl":w()}],"rounded-tr":[{"rounded-tr":w()}],"rounded-br":[{"rounded-br":w()}],"rounded-bl":[{"rounded-bl":w()}],"border-w":[{border:x()}],"border-w-x":[{"border-x":x()}],"border-w-y":[{"border-y":x()}],"border-w-s":[{"border-s":x()}],"border-w-e":[{"border-e":x()}],"border-w-bs":[{"border-bs":x()}],"border-w-be":[{"border-be":x()}],"border-w-t":[{"border-t":x()}],"border-w-r":[{"border-r":x()}],"border-w-b":[{"border-b":x()}],"border-w-l":[{"border-l":x()}],"divide-x":[{"divide-x":x()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":x()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...U(),"hidden","none"]}],"divide-style":[{divide:[...U(),"hidden","none"]}],"border-color":[{border:c()}],"border-color-x":[{"border-x":c()}],"border-color-y":[{"border-y":c()}],"border-color-s":[{"border-s":c()}],"border-color-e":[{"border-e":c()}],"border-color-bs":[{"border-bs":c()}],"border-color-be":[{"border-be":c()}],"border-color-t":[{"border-t":c()}],"border-color-r":[{"border-r":c()}],"border-color-b":[{"border-b":c()}],"border-color-l":[{"border-l":c()}],"divide-color":[{divide:c()}],"outline-style":[{outline:[...U(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,n,s]}],"outline-w":[{outline:["",p,W,$]}],"outline-color":[{outline:c()}],shadow:[{shadow:["","none",k,K,H]}],"shadow-color":[{shadow:c()}],"inset-shadow":[{"inset-shadow":["none",z,K,H]}],"inset-shadow-color":[{"inset-shadow":c()}],"ring-w":[{ring:x()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:c()}],"ring-offset-w":[{"ring-offset":[p,$]}],"ring-offset-color":[{"ring-offset":c()}],"inset-ring-w":[{"inset-ring":x()}],"inset-ring-color":[{"inset-ring":c()}],"text-shadow":[{"text-shadow":["none",A,K,H]}],"text-shadow-color":[{"text-shadow":c()}],opacity:[{opacity:[p,n,s]}],"mix-blend":[{"mix-blend":[...be(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":be()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":h()}],"mask-image-linear-to-pos":[{"mask-linear-to":h()}],"mask-image-linear-from-color":[{"mask-linear-from":c()}],"mask-image-linear-to-color":[{"mask-linear-to":c()}],"mask-image-t-from-pos":[{"mask-t-from":h()}],"mask-image-t-to-pos":[{"mask-t-to":h()}],"mask-image-t-from-color":[{"mask-t-from":c()}],"mask-image-t-to-color":[{"mask-t-to":c()}],"mask-image-r-from-pos":[{"mask-r-from":h()}],"mask-image-r-to-pos":[{"mask-r-to":h()}],"mask-image-r-from-color":[{"mask-r-from":c()}],"mask-image-r-to-color":[{"mask-r-to":c()}],"mask-image-b-from-pos":[{"mask-b-from":h()}],"mask-image-b-to-pos":[{"mask-b-to":h()}],"mask-image-b-from-color":[{"mask-b-from":c()}],"mask-image-b-to-color":[{"mask-b-to":c()}],"mask-image-l-from-pos":[{"mask-l-from":h()}],"mask-image-l-to-pos":[{"mask-l-to":h()}],"mask-image-l-from-color":[{"mask-l-from":c()}],"mask-image-l-to-color":[{"mask-l-to":c()}],"mask-image-x-from-pos":[{"mask-x-from":h()}],"mask-image-x-to-pos":[{"mask-x-to":h()}],"mask-image-x-from-color":[{"mask-x-from":c()}],"mask-image-x-to-color":[{"mask-x-to":c()}],"mask-image-y-from-pos":[{"mask-y-from":h()}],"mask-image-y-to-pos":[{"mask-y-to":h()}],"mask-image-y-from-color":[{"mask-y-from":c()}],"mask-image-y-to-color":[{"mask-y-to":c()}],"mask-image-radial":[{"mask-radial":[n,s]}],"mask-image-radial-from-pos":[{"mask-radial-from":h()}],"mask-image-radial-to-pos":[{"mask-radial-to":h()}],"mask-image-radial-from-color":[{"mask-radial-from":c()}],"mask-image-radial-to-color":[{"mask-radial-to":c()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":h()}],"mask-image-conic-to-pos":[{"mask-conic-to":h()}],"mask-image-conic-from-color":[{"mask-conic-from":c()}],"mask-image-conic-to-color":[{"mask-conic-to":c()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:me()}],"mask-repeat":[{mask:pe()}],"mask-size":[{mask:ue()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",n,s]}],filter:[{filter:["","none",n,s]}],blur:[{blur:fe()}],brightness:[{brightness:[p,n,s]}],contrast:[{contrast:[p,n,s]}],"drop-shadow":[{"drop-shadow":["","none",M,K,H]}],"drop-shadow-color":[{"drop-shadow":c()}],grayscale:[{grayscale:["",p,n,s]}],"hue-rotate":[{"hue-rotate":[p,n,s]}],invert:[{invert:["",p,n,s]}],saturate:[{saturate:[p,n,s]}],sepia:[{sepia:["",p,n,s]}],"backdrop-filter":[{"backdrop-filter":["","none",n,s]}],"backdrop-blur":[{"backdrop-blur":fe()}],"backdrop-brightness":[{"backdrop-brightness":[p,n,s]}],"backdrop-contrast":[{"backdrop-contrast":[p,n,s]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,n,s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,n,s]}],"backdrop-invert":[{"backdrop-invert":["",p,n,s]}],"backdrop-opacity":[{"backdrop-opacity":[p,n,s]}],"backdrop-saturate":[{"backdrop-saturate":[p,n,s]}],"backdrop-sepia":[{"backdrop-sepia":["",p,n,s]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":i()}],"border-spacing-x":[{"border-spacing-x":i()}],"border-spacing-y":[{"border-spacing-y":i()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",n,s]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",n,s]}],ease:[{ease:["linear","initial",B,n,s]}],delay:[{delay:[p,n,s]}],animate:[{animate:["none",q,n,s]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,n,s]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:te()}],"skew-x":[{"skew-x":te()}],"skew-y":[{"skew-y":te()}],transform:[{transform:[n,s,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:J()}],"translate-x":[{"translate-x":J()}],"translate-y":[{"translate-y":J()}],"translate-z":[{"translate-z":J()}],"translate-none":["translate-none"],accent:[{accent:c()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:c()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",n,s]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":i()}],"scroll-mx":[{"scroll-mx":i()}],"scroll-my":[{"scroll-my":i()}],"scroll-ms":[{"scroll-ms":i()}],"scroll-me":[{"scroll-me":i()}],"scroll-mbs":[{"scroll-mbs":i()}],"scroll-mbe":[{"scroll-mbe":i()}],"scroll-mt":[{"scroll-mt":i()}],"scroll-mr":[{"scroll-mr":i()}],"scroll-mb":[{"scroll-mb":i()}],"scroll-ml":[{"scroll-ml":i()}],"scroll-p":[{"scroll-p":i()}],"scroll-px":[{"scroll-px":i()}],"scroll-py":[{"scroll-py":i()}],"scroll-ps":[{"scroll-ps":i()}],"scroll-pe":[{"scroll-pe":i()}],"scroll-pbs":[{"scroll-pbs":i()}],"scroll-pbe":[{"scroll-pbe":i()}],"scroll-pt":[{"scroll-pt":i()}],"scroll-pr":[{"scroll-pr":i()}],"scroll-pb":[{"scroll-pb":i()}],"scroll-pl":[{"scroll-pl":i()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",n,s]}],fill:[{fill:["none",...c()]}],"stroke-w":[{stroke:[p,W,$,xe]}],stroke:[{stroke:["none",...c()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Oo=go(No);function Eo(...e){return Oo(Xe(e))}exports._sfc_main=Ue;exports.cn=Eo;exports.getRootTestId=Ye;exports.uniqueId=Ve;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
const l = {
|
|
2
|
+
equals: "equals",
|
|
3
|
+
notEquals: "does not equal",
|
|
4
|
+
in: "equals one of",
|
|
5
|
+
inOutput: "equals",
|
|
6
|
+
notIn: "does not equal one of",
|
|
7
|
+
notInOutput: "does not equal",
|
|
8
|
+
greaterThan: "greater than",
|
|
9
|
+
greaterThanOrEquals: "greater than or equal to",
|
|
10
|
+
lessThan: "less than",
|
|
11
|
+
lessThanOrEquals: "less than or equal to",
|
|
12
|
+
empty: "is empty",
|
|
13
|
+
notEmpty: "is not empty",
|
|
14
|
+
contains: "contains",
|
|
15
|
+
notContains: "does not contain",
|
|
16
|
+
or: "or",
|
|
17
|
+
unsupported: "unsupported",
|
|
18
|
+
unknown: "Unknown"
|
|
19
|
+
}, I = (t = l) => [
|
|
20
|
+
{
|
|
21
|
+
comparator: "CONTAINS",
|
|
22
|
+
forType: ["STRING"],
|
|
23
|
+
requiresInput: !0,
|
|
24
|
+
symbol: "CONTAINS",
|
|
25
|
+
label: {
|
|
26
|
+
input: t.contains,
|
|
27
|
+
output: t.contains
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
comparator: "NOT_CONTAINS",
|
|
32
|
+
forType: ["STRING"],
|
|
33
|
+
requiresInput: !0,
|
|
34
|
+
symbol: "NOT CONTAINS",
|
|
35
|
+
label: {
|
|
36
|
+
input: t.notContains,
|
|
37
|
+
output: t.notContains
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
comparator: "EMPTY",
|
|
42
|
+
forType: ["STRING"],
|
|
43
|
+
requiresInput: !1,
|
|
44
|
+
symbol: "EMPTY",
|
|
45
|
+
label: {
|
|
46
|
+
input: t.empty,
|
|
47
|
+
output: t.empty
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
comparator: "NOT_EMPTY",
|
|
52
|
+
forType: ["STRING"],
|
|
53
|
+
requiresInput: !1,
|
|
54
|
+
symbol: "NOT EMPTY",
|
|
55
|
+
label: {
|
|
56
|
+
input: t.notEmpty,
|
|
57
|
+
output: t.notEmpty
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
comparator: "EQUALS",
|
|
62
|
+
forType: ["NUMBER", "STRING", "ENUM"],
|
|
63
|
+
requiresInput: !0,
|
|
64
|
+
symbol: "=",
|
|
65
|
+
label: {
|
|
66
|
+
input: t.equals,
|
|
67
|
+
output: t.equals
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
comparator: "NOT_EQUALS",
|
|
72
|
+
forType: ["NUMBER", "STRING", "ENUM"],
|
|
73
|
+
requiresInput: !0,
|
|
74
|
+
symbol: "!=",
|
|
75
|
+
label: {
|
|
76
|
+
input: t.notEquals,
|
|
77
|
+
output: t.notEquals
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
comparator: "IN",
|
|
82
|
+
forType: ["NUMBER", "STRING", "ENUM"],
|
|
83
|
+
requiresInput: !0,
|
|
84
|
+
symbol: "IN ()",
|
|
85
|
+
label: {
|
|
86
|
+
input: t.in,
|
|
87
|
+
output: t.inOutput
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
comparator: "NOT_IN",
|
|
92
|
+
forType: ["NUMBER", "STRING", "ENUM"],
|
|
93
|
+
requiresInput: !0,
|
|
94
|
+
symbol: "NOT IN()",
|
|
95
|
+
label: {
|
|
96
|
+
input: t.notIn,
|
|
97
|
+
output: t.notInOutput
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
comparator: "GREATER_THAN",
|
|
102
|
+
forType: ["NUMBER"],
|
|
103
|
+
requiresInput: !0,
|
|
104
|
+
symbol: ">",
|
|
105
|
+
label: {
|
|
106
|
+
input: t.greaterThan,
|
|
107
|
+
output: t.greaterThan
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
comparator: "GREATER_THAN_OR_EQUALS",
|
|
112
|
+
forType: ["NUMBER"],
|
|
113
|
+
requiresInput: !0,
|
|
114
|
+
symbol: ">=",
|
|
115
|
+
label: {
|
|
116
|
+
input: t.greaterThanOrEquals,
|
|
117
|
+
output: t.greaterThanOrEquals
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
comparator: "LESS_THAN",
|
|
122
|
+
forType: ["NUMBER"],
|
|
123
|
+
requiresInput: !0,
|
|
124
|
+
symbol: "<",
|
|
125
|
+
label: {
|
|
126
|
+
input: t.lessThan,
|
|
127
|
+
output: t.lessThan
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
comparator: "LESS_THAN_OR_EQUALS",
|
|
132
|
+
forType: ["NUMBER"],
|
|
133
|
+
requiresInput: !0,
|
|
134
|
+
symbol: "<=",
|
|
135
|
+
label: {
|
|
136
|
+
input: t.lessThanOrEquals,
|
|
137
|
+
output: t.lessThanOrEquals
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
], c = (t = l) => ({ propertyName: o, comparator: a, value: e, values: n }, { hasFormatting: s } = {}) => {
|
|
141
|
+
const r = I(t).find(
|
|
142
|
+
(u) => u.comparator === a
|
|
143
|
+
), T = n == null ? void 0 : n.reduce((u, m, N, E) => {
|
|
144
|
+
const p = s ? `<strong class="font-semibold">${m}</strong>` : m;
|
|
145
|
+
return N === E.length - 1 ? `${u} ${(t == null ? void 0 : t.or) ?? "or"} ${p}` : N === 0 ? p : [u, p].join(", ");
|
|
146
|
+
}, "");
|
|
147
|
+
return r ? ["IN", "NOT_IN"].includes(r.comparator) && n ? s ? `<strong>${o}</strong> ${r.label.output} <strong>${T}</strong>` : `${o} ${r.label.output} ${T}` : s ? `<strong class="font-semibold">${o}</strong> ${r.label.output} <strong class="font-semibold">${e}</strong>` : `${o} ${r.label.output} ${e}` : (t == null ? void 0 : t.unsupported) ?? "Unsupported comparator";
|
|
148
|
+
}, q = (t = l) => (o, a) => o.map((e) => c(t)(e, a)).join(" and ");
|
|
149
|
+
export {
|
|
150
|
+
c as a,
|
|
151
|
+
l as c,
|
|
152
|
+
q as g
|
|
153
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a={equals:"equals",notEquals:"does not equal",in:"equals one of",inOutput:"equals",notIn:"does not equal one of",notInOutput:"does not equal",greaterThan:"greater than",greaterThanOrEquals:"greater than or equal to",lessThan:"less than",lessThanOrEquals:"less than or equal to",empty:"is empty",notEmpty:"is not empty",contains:"contains",notContains:"does not contain",or:"or",unsupported:"unsupported",unknown:"Unknown"},c=(t=a)=>[{comparator:"CONTAINS",forType:["STRING"],requiresInput:!0,symbol:"CONTAINS",label:{input:t.contains,output:t.contains}},{comparator:"NOT_CONTAINS",forType:["STRING"],requiresInput:!0,symbol:"NOT CONTAINS",label:{input:t.notContains,output:t.notContains}},{comparator:"EMPTY",forType:["STRING"],requiresInput:!1,symbol:"EMPTY",label:{input:t.empty,output:t.empty}},{comparator:"NOT_EMPTY",forType:["STRING"],requiresInput:!1,symbol:"NOT EMPTY",label:{input:t.notEmpty,output:t.notEmpty}},{comparator:"EQUALS",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"=",label:{input:t.equals,output:t.equals}},{comparator:"NOT_EQUALS",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"!=",label:{input:t.notEquals,output:t.notEquals}},{comparator:"IN",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"IN ()",label:{input:t.in,output:t.inOutput}},{comparator:"NOT_IN",forType:["NUMBER","STRING","ENUM"],requiresInput:!0,symbol:"NOT IN()",label:{input:t.notIn,output:t.notInOutput}},{comparator:"GREATER_THAN",forType:["NUMBER"],requiresInput:!0,symbol:">",label:{input:t.greaterThan,output:t.greaterThan}},{comparator:"GREATER_THAN_OR_EQUALS",forType:["NUMBER"],requiresInput:!0,symbol:">=",label:{input:t.greaterThanOrEquals,output:t.greaterThanOrEquals}},{comparator:"LESS_THAN",forType:["NUMBER"],requiresInput:!0,symbol:"<",label:{input:t.lessThan,output:t.lessThan}},{comparator:"LESS_THAN_OR_EQUALS",forType:["NUMBER"],requiresInput:!0,symbol:"<=",label:{input:t.lessThanOrEquals,output:t.lessThanOrEquals}}],E=(t=a)=>({propertyName:o,comparator:n,value:e,values:s},{hasFormatting:p}={})=>{const r=c(t).find(u=>u.comparator===n),T=s==null?void 0:s.reduce((u,m,N,I)=>{const l=p?`<strong class="font-semibold">${m}</strong>`:m;return N===I.length-1?`${u} ${(t==null?void 0:t.or)??"or"} ${l}`:N===0?l:[u,l].join(", ")},"");return r?["IN","NOT_IN"].includes(r.comparator)&&s?p?`<strong>${o}</strong> ${r.label.output} <strong>${T}</strong>`:`${o} ${r.label.output} ${T}`:p?`<strong class="font-semibold">${o}</strong> ${r.label.output} <strong class="font-semibold">${e}</strong>`:`${o} ${r.label.output} ${e}`:(t==null?void 0:t.unsupported)??"Unsupported comparator"},q=(t=a)=>(o,n)=>o.map(e=>E(t)(e,n)).join(" and ");exports.comparatorI18nDefaults=a;exports.getFormattedComparator=E;exports.getFormattedComparatorList=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o="solvimon-",t=["ALL"];function e(n){return`${o}${n}`}exports.EXPAND_ALL=t;exports.getComponentName=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("../../BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js"),l=require("../../useCustomer-DSx-wN-6.js"),c=require("../../useLoadInitialData-DsabgMLZ.js"),s=require("../../customElements-Vox1PB6G.js"),u=require("../../component-B7ZDyqBp.js"),m=e.defineComponent({__name:"BillingInformation.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(r){const t=r.portalObject.customer_id,o=l.useCustomer({customerId:t}),{isLoading:n}=c.useLoadInitialData(o.get.execute());return(i,d)=>e.renderSlot(i.$slots,"default",{customer:e.unref(o),isLoading:e.unref(n)})}}),y=e.defineComponent({__name:"BillingInformation.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object},configuration:{type:Object}},setup(r){const a=u.getComponentName("billing-information");return(t,o)=>(e.openBlock(),e.createBlock(e.unref(s._sfc_main$1),{entry:t.$props,"component-name":e.unref(a),"allowed-portal-types":["CUSTOMER"],onError:o[0]||(o[0]=n=>t.$emit("error",n))},{default:e.withCtx(()=>[e.createVNode(m,e.normalizeProps(e.guardReactiveProps(t.$props)),{default:e.withCtx(({customer:n,isLoading:i})=>[e.createVNode(p._sfc_main,{configuration:r.configuration,"is-loading":i,customer:n.customer.value},null,8,["configuration","is-loading","customer"])]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:g}=s.createSolvimonElement(y,"billing-information");exports.defineSolvimonBillingInformation=g;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent, renderSlot, unref, openBlock, createBlock, withCtx, createVNode, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import { _ as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { d as
|
|
6
|
-
import { g as
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as l, renderSlot as c, unref as r, openBlock as m, createBlock as y, withCtx as p, createVNode as s, normalizeProps as g, guardReactiveProps as u } from "vue";
|
|
2
|
+
import { _ as d } from "../../BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs";
|
|
3
|
+
import { u as f } from "../../useCustomer-CP8eWUZV.mjs";
|
|
4
|
+
import { u as S } from "../../useLoadInitialData-MUljS38K.mjs";
|
|
5
|
+
import { d as b, e as O } from "../../customElements-CSE7dwUr.mjs";
|
|
6
|
+
import { g as _ } from "../../component-5wqcK7yz.mjs";
|
|
7
|
+
const j = /* @__PURE__ */ l({
|
|
8
8
|
__name: "BillingInformation.entry.view",
|
|
9
9
|
props: {
|
|
10
10
|
environment: { type: String },
|
|
@@ -23,20 +23,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
branding: { type: Object },
|
|
24
24
|
configuration: { type: Object }
|
|
25
25
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
return renderSlot(_ctx.$slots, "default", {
|
|
33
|
-
customer: unref(customer),
|
|
34
|
-
isLoading: unref(isLoading)
|
|
35
|
-
});
|
|
36
|
-
};
|
|
26
|
+
setup(n) {
|
|
27
|
+
const e = n.portalObject.customer_id, t = f({ customerId: e }), { isLoading: o } = S(t.get.execute());
|
|
28
|
+
return (i, C) => c(i.$slots, "default", {
|
|
29
|
+
customer: r(t),
|
|
30
|
+
isLoading: r(o)
|
|
31
|
+
});
|
|
37
32
|
}
|
|
38
|
-
})
|
|
39
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
33
|
+
}), v = /* @__PURE__ */ l({
|
|
40
34
|
__name: "BillingInformation.entry",
|
|
41
35
|
props: {
|
|
42
36
|
environment: { type: String },
|
|
@@ -55,36 +49,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
49
|
branding: { type: Object },
|
|
56
50
|
configuration: { type: Object }
|
|
57
51
|
},
|
|
58
|
-
setup(
|
|
59
|
-
const
|
|
60
|
-
return (
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}, 8, ["entry", "component-name"]);
|
|
81
|
-
};
|
|
52
|
+
setup(n) {
|
|
53
|
+
const a = _("billing-information");
|
|
54
|
+
return (e, t) => (m(), y(r(b), {
|
|
55
|
+
entry: e.$props,
|
|
56
|
+
"component-name": r(a),
|
|
57
|
+
"allowed-portal-types": ["CUSTOMER"],
|
|
58
|
+
onError: t[0] || (t[0] = (o) => e.$emit("error", o))
|
|
59
|
+
}, {
|
|
60
|
+
default: p(() => [
|
|
61
|
+
s(j, g(u(e.$props)), {
|
|
62
|
+
default: p(({ customer: o, isLoading: i }) => [
|
|
63
|
+
s(d, {
|
|
64
|
+
configuration: n.configuration,
|
|
65
|
+
"is-loading": i,
|
|
66
|
+
customer: o.customer.value
|
|
67
|
+
}, null, 8, ["configuration", "is-loading", "customer"])
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 16)
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
}, 8, ["entry", "component-name"]));
|
|
82
74
|
}
|
|
83
|
-
})
|
|
84
|
-
|
|
85
|
-
_sfc_main,
|
|
75
|
+
}), { define: F } = O(
|
|
76
|
+
v,
|
|
86
77
|
"billing-information"
|
|
87
78
|
);
|
|
88
79
|
export {
|
|
89
|
-
defineSolvimonBillingInformation
|
|
80
|
+
F as defineSolvimonBillingInformation
|
|
90
81
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("../../Button.vue.es-O8mNivLL.js"),r=require("../../useCustomerFormLabels-C6wW4n2e.js"),t=require("../../ErrorNotification.vue.es-CaEFTi2k.js"),l=require("../../Input.vue.es-DqKJhFTr.js"),o=require("../../customElements-DD7bpqkx.js"),n=require("../../typeGuards.es-C4nR5FkL.js"),i=require("../../index-IZaUTAsE.js"),d=require("../../api.es-Czekkp_X.js"),u=require("../../useCustomer-DLHOs4BR.js"),s=require("../../component-hDuDTBt5.js"),m={type:"INDIVIDUAL",email:"",country:"",addressLine1:"",postalCode:"",city:"",state:""};function c({initialState:a={},onSubmit:t}){const{form:l,validation:o,changes:d,hasChanges:u,updateInitialState:s,initialState:c}=(({initialState:a,validationRules:t,nullifyEmptyValues:l=!1,mode:o="shallow"})=>{const n=e.shallowRef(structuredClone(a)),d=e.shallowRef(structuredClone(a)),u=i.useValidation(t??{},d),s=e.computed(()=>r.objectDiff({from:n.value,to:d.value,mode:o,nullifyEmptyValues:l})),m=e.computed(()=>Object.entries(s.value).length>0);return{form:d,validation:u,changes:s,hasChanges:m,reset:()=>{d.value=structuredClone(a),u.value.$reset()},updateInitialState:e=>{d.value=structuredClone(e),n.value=structuredClone(e)},initialState:n}})({initialState:{...m,...a},validationRules:{email:{required:i.required,email:i.email}},nullifyEmptyValues:!0,mode:"deep"});return{form:l,isOrganization:n.isOrganization,validation:o,changes:d,hasChanges:u,updateInitialState:e=>{s(p(e))},submit:(e,a=l.value)=>t({customerId:e,payload:f(a)}),initialState:c}}const p=e=>{var a,r,t,l;if(n.isIndividual(e)){const t=e.individual.residential_address;return{type:"INDIVIDUAL",email:e.email??"",country:(null==t?void 0:t.country)??"",addressLine1:(null==t?void 0:t.line1)??"",addressLine2:(null==t?void 0:t.line2)??"",postalCode:(null==t?void 0:t.postal_code)??"",city:(null==t?void 0:t.city)??"",state:(null==t?void 0:t.state)??"",firstName:(null==(a=e.individual.name)?void 0:a.first_name)??"",lastName:(null==(r=e.individual.name)?void 0:r.last_name)??""}}const o=e.organization.registered_address;return{type:"ORGANIZATION",email:e.email??"",country:(null==o?void 0:o.country)??"",addressLine1:(null==o?void 0:o.line1)??"",addressLine2:(null==o?void 0:o.line2)??"",postalCode:(null==o?void 0:o.postal_code)??"",city:(null==o?void 0:o.city)??"",state:(null==o?void 0:o.state)??"",companyLegalName:e.organization.legal_name??"",companyVatNumber:(null==(l=null==(t=e.organization.tax_ids)?void 0:t[0])?void 0:l.id)??""}},f=e=>"ORGANIZATION"===e.type?{type:"ORGANIZATION",email:e.email,organization:{legal_name:e.companyLegalName??"",tax_ids:e.companyVatNumber?[{id:e.companyVatNumber,type:"GENERIC_TAX_ID"}]:void 0,registered_address:{line1:e.addressLine1,line2:e.addressLine2??"",postal_code:e.postalCode,city:e.city,country:e.country,state:e.state??""}}}:{type:"INDIVIDUAL",email:e.email,individual:{name:{first_name:e.firstName??"",last_name:e.lastName??""},residential_address:{line1:e.addressLine1,line2:e.addressLine2??"",postal_code:e.postalCode,city:e.city,country:e.country,state:e.state??""}}},y={class:"grid grid-cols-1 gap-4"},g={class:"mt-6 flex items-center justify-between gap-4"},v={class:"flex flex-col gap-2"},h={key:0,class:"grid grid-cols-2 gap-2"},_={class:"grid grid-cols-3 gap-2"},V=e.defineComponent({__name:"BillingInformationForm",props:{customer:{type:Object},isLoading:{type:Boolean},apiError:{type:null},updateCustomer:{type:Function}},setup(n){const i=n,{$t:d}=o.useIntl(),u=r.useCustomerFormLabels(),{validation:s,form:m,updateInitialState:p,submit:f,hasChanges:V}=c({onSubmit:({customerId:e,payload:a})=>i.updateCustomer({customerId:e,payload:a})}),b=e.ref(!1),N=e.computed(()=>"ORGANIZATION"===m.value.type),C=e.computed(()=>!b.value),I=e.computed({get:()=>N.value,set:e=>m.value.type=e?"ORGANIZATION":"INDIVIDUAL"}),L=async()=>{var e;await s.value.$validate();!s.value.$invalid&&(null==(e=i.customer)?void 0:e.id)&&await f(i.customer.id)};return e.watch(()=>i.customer,e=>{e&&!b.value&&(p(e),b.value=!0)},{immediate:!0}),(i,c)=>{var p,f,b,S,k,E,O,B,A,j,T,w,x;return e.openBlock(),e.createElementBlock("form",{onSubmit:e.withModifiers(L,["prevent"])},[e.createVNode(e.unref(o._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(u).contactInformationTitle),1)]),_:1}),e.createElementVNode("div",y,[e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).email,"onUpdate:modelValue":c[0]||(c[0]=a=>e.unref(m).email=a),required:"",type:"email",label:e.unref(u).emailLabel,placeholder:e.unref(u).emailPlaceholder,error:(null==(p=e.unref(s).email)?void 0:p.$errors)||(null==(f=n.apiError)?void 0:f.email)},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(r._sfc_main),{"single-model-value":e.unref(m).country,"onUpdate:singleModelValue":c[1]||(c[1]=a=>e.unref(m).country=a),label:e.unref(u).countryLabel,error:null==(b=n.apiError)?void 0:b.country},null,8,["single-model-value","label","error"]),C.value?(e.openBlock(),e.createBlock(r._sfc_main$1,{key:0,modelValue:I.value,"onUpdate:modelValue":c[2]||(c[2]=e=>I.value=e)},null,8,["modelValue"])):e.createCommentVNode("",!0),N.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).companyVatNumber,"onUpdate:modelValue":c[3]||(c[3]=a=>e.unref(m).companyVatNumber=a),name:"vat_number",label:e.unref(u).vatNumberLabel,placeholder:e.unref(u).vatNumberPlaceholder,error:null==(S=n.apiError)?void 0:S.vat_number},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).companyLegalName,"onUpdate:modelValue":c[4]||(c[4]=a=>e.unref(m).companyLegalName=a),required:"",name:"legal_name",label:e.unref(u).legalNameLabel,placeholder:e.unref(u).legalNamePlaceholder,error:null==(k=n.apiError)?void 0:k.legal_name},null,8,["modelValue","label","placeholder","error"])],64)):e.createCommentVNode("",!0)]),e.createElementVNode("div",g,[e.createVNode(e.unref(o._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({defaultMessage:"Billing details",id:"checkout.billing_information_block.title",description:"The title of the billing information block in the checkout form"})),1)]),_:1})]),e.createElementVNode("div",v,[N.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).firstName,"onUpdate:modelValue":c[5]||(c[5]=a=>e.unref(m).firstName=a),name:"first_name",label:e.unref(d)({defaultMessage:"First name",id:"checkout.first_name.label",description:"The first name of the customer in the checkout form"}),placeholder:e.unref(d)({defaultMessage:"First name...",id:"checkout.first_name.placeholder",description:"The first name of the customer in the checkout form"}),error:null==(E=n.apiError)?void 0:E.first_name},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).lastName,"onUpdate:modelValue":c[6]||(c[6]=a=>e.unref(m).lastName=a),name:"last_name",label:e.unref(d)({defaultMessage:"Last name",id:"checkout.last_name.label",description:"The last name of the customer in the checkout form"}),placeholder:e.unref(d)({defaultMessage:"Last name...",id:"checkout.last_name.placeholder",description:"The last name of the customer in the checkout form"}),error:null==(O=n.apiError)?void 0:O.last_name},null,8,["modelValue","label","placeholder","error"])])),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).addressLine1,"onUpdate:modelValue":c[7]||(c[7]=a=>e.unref(m).addressLine1=a),name:"address_line_1",label:e.unref(u).addressTitle,placeholder:e.unref(d)({defaultMessage:"Address line 1...",id:"checkout.address.line1.placeholder",description:"Address line 1 of the customer address in the checkout form"}),error:null==(B=n.apiError)?void 0:B.address_line_1},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).addressLine2,"onUpdate:modelValue":c[8]||(c[8]=a=>e.unref(m).addressLine2=a),name:"address_line_2",placeholder:e.unref(d)({defaultMessage:"Address line 2...",id:"checkout.address.line2.placeholder",description:"Address line 2 of the customer address in the checkout form"}),error:null==(A=n.apiError)?void 0:A.address_line_2},null,8,["modelValue","placeholder","error"]),e.createElementVNode("div",_,[e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).postalCode,"onUpdate:modelValue":c[9]||(c[9]=a=>e.unref(m).postalCode=a),name:"postal_code",placeholder:e.unref(u).postalCodePlaceholder,error:null==(j=n.apiError)?void 0:j.postal_code},null,8,["modelValue","placeholder","error"]),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).city,"onUpdate:modelValue":c[10]||(c[10]=a=>e.unref(m).city=a),name:"city",placeholder:e.unref(u).cityPlaceholder,error:null==(T=n.apiError)?void 0:T.city},null,8,["modelValue","placeholder","error"]),e.createVNode(e.unref(l._sfc_main),{modelValue:e.unref(m).state,"onUpdate:modelValue":c[11]||(c[11]=a=>e.unref(m).state=a),name:"state",placeholder:e.unref(u).statePlaceholder,error:null==(w=n.apiError)?void 0:w.state},null,8,["modelValue","placeholder","error"])])]),(null==(x=n.apiError)?void 0:x._generic)?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:0,class:"mt-4",title:n.apiError._generic},null,8,["title"])):e.createCommentVNode("",!0),e.createVNode(e.unref(a._sfc_main$1),{type:"submit",intent:"primary",disabled:!e.unref(V),loading:n.isLoading,class:"mt-4"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)({defaultMessage:"Save changes",id:"billing_information_form.submit_button.label",description:"The label for the submit button of the billing information form"})),1)]),_:1},8,["disabled","loading"])],32)}}}),b=e.defineComponent({__name:"BillingInformationForm",props:{customer:{type:Object},apiError:{type:null},updateCustomer:{type:Function},isLoading:{type:Boolean}},setup:a=>(r,t)=>(e.openBlock(),e.createBlock(V,{class:"sv-billing-form sv-root sv-component",customer:a.customer,"update-customer":a.updateCustomer,"is-loading":a.isLoading,"api-error":a.apiError},null,8,["customer","update-customer","is-loading","api-error"]))}),N=e.defineComponent({__name:"BillingInformationForm.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(a){const r=a.portalObject.customer_id,{customer:t,get:l,update:o}=u.useCustomer({customerId:r});return e.onMounted(async()=>{await l.execute()}),(a,r)=>e.renderSlot(a.$slots,"default",{customer:e.unref(t),isLoading:e.unref(l).isPending.value||e.unref(o).isPending.value,updateCustomer:e.unref(o),apiError:e.unref(d.getApiError)(e.unref(o).error)})}}),C=e.defineComponent({__name:"BillingInformationForm.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object}},emits:["error"],setup(a){const r=s.getComponentName("billing-information-form");return(a,t)=>(e.openBlock(),e.createBlock(e.unref(o._sfc_main$1),{entry:a.$props,"component-name":e.unref(r),"allowed-portal-types":["CUSTOMER"],onError:t[0]||(t[0]=e=>a.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(N,e.normalizeProps(e.guardReactiveProps(a.$props)),{default:e.withCtx(({customer:a,updateCustomer:r,isLoading:t,apiError:l})=>[a?(e.openBlock(),e.createBlock(b,{key:0,customer:a,"is-loading":t,"update-customer":({payload:e})=>r.execute(e),"api-error":l},null,8,["customer","is-loading","update-customer","api-error"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:I}=o.createSolvimonElement(C,"billing-information-form");exports.defineSolvimonBillingInformationForm=I;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),x=require("../../Button.vue.es-M_jXZda4.js"),V=require("../../useCustomerFormLabels-TVTgy0MT.js"),P=require("../../ErrorNotification.vue.es-Cd2UKPAz.js"),m=require("../../Input.vue.es-CTOrmrcB.js"),h=require("../../customElements-Vox1PB6G.js"),w=require("../../typeGuards.es-DS3vZaJn.js"),b=require("../../index-DwueOtPi.js"),D=require("../../api.es-duCDtZD9.js"),j=require("../../useCustomer-DSx-wN-6.js"),q=require("../../component-B7ZDyqBp.js"),M=({initialState:t,validationRules:o,nullifyEmptyValues:i=!1,mode:l="shallow"})=>{const s=e.shallowRef(structuredClone(t)),r=e.shallowRef(structuredClone(t)),n=b.useValidation(o??{},r),d=e.computed(()=>V.objectDiff({from:s.value,to:r.value,mode:l,nullifyEmptyValues:i})),f=e.computed(()=>Object.entries(d.value).length>0);return{form:r,validation:n,changes:d,hasChanges:f,reset:()=>{r.value=structuredClone(t),n.value.$reset()},updateInitialState:g=>{r.value=structuredClone(g),s.value=structuredClone(g)},initialState:s}},R="GENERIC_TAX_ID",$={type:"INDIVIDUAL",email:"",country:"",addressLine1:"",postalCode:"",city:"",state:""};function z({initialState:t={},onSubmit:o}){const{form:i,validation:l,changes:s,hasChanges:r,updateInitialState:n,initialState:d}=M({initialState:{...$,...t},validationRules:{email:{required:b.required,email:b.email}},nullifyEmptyValues:!0,mode:"deep"}),f=c=>{n(G(c))},y=(c,g=i.value)=>o({customerId:c,payload:Z(g)});return{form:i,isOrganization:w.isOrganization,validation:l,changes:s,hasChanges:r,updateInitialState:f,submit:y,initialState:d}}const G=t=>{var i,l,s,r;if(w.isIndividual(t)){const n=t.individual.residential_address;return{type:"INDIVIDUAL",email:t.email??"",country:(n==null?void 0:n.country)??"",addressLine1:(n==null?void 0:n.line1)??"",addressLine2:(n==null?void 0:n.line2)??"",postalCode:(n==null?void 0:n.postal_code)??"",city:(n==null?void 0:n.city)??"",state:(n==null?void 0:n.state)??"",firstName:((i=t.individual.name)==null?void 0:i.first_name)??"",lastName:((l=t.individual.name)==null?void 0:l.last_name)??""}}const o=t.organization.registered_address;return{type:"ORGANIZATION",email:t.email??"",country:(o==null?void 0:o.country)??"",addressLine1:(o==null?void 0:o.line1)??"",addressLine2:(o==null?void 0:o.line2)??"",postalCode:(o==null?void 0:o.postal_code)??"",city:(o==null?void 0:o.city)??"",state:(o==null?void 0:o.state)??"",companyLegalName:t.organization.legal_name??"",companyVatNumber:((r=(s=t.organization.tax_ids)==null?void 0:s[0])==null?void 0:r.id)??""}},Z=t=>t.type==="ORGANIZATION"?{type:"ORGANIZATION",email:t.email,organization:{legal_name:t.companyLegalName??"",tax_ids:t.companyVatNumber?[{id:t.companyVatNumber,type:R}]:void 0,registered_address:{line1:t.addressLine1,line2:t.addressLine2??"",postal_code:t.postalCode,city:t.city,country:t.country,state:t.state??""}}}:{type:"INDIVIDUAL",email:t.email,individual:{name:{first_name:t.firstName??"",last_name:t.lastName??""},residential_address:{line1:t.addressLine1,line2:t.addressLine2??"",postal_code:t.postalCode,city:t.city,country:t.country,state:t.state??""}}},X={class:"grid grid-cols-1 gap-4"},H={class:"mt-6 flex items-center justify-between gap-4"},Y={class:"flex flex-col gap-2"},J={key:0,class:"grid grid-cols-2 gap-2"},K={class:"grid grid-cols-3 gap-2"},Q=e.defineComponent({__name:"BillingInformationForm",props:{customer:{type:Object},isLoading:{type:Boolean},apiError:{type:null},updateCustomer:{type:Function}},setup(t){const o=t,{$t:i}=h.useIntl(),l=V.useCustomerFormLabels(),{validation:s,form:r,updateInitialState:n,submit:d,hasChanges:f}=z({onSubmit:({customerId:p,payload:a})=>o.updateCustomer({customerId:p,payload:a})}),y=e.ref(!1),c=e.computed(()=>r.value.type==="ORGANIZATION"),g=e.computed(()=>!y.value),_=e.computed({get:()=>c.value,set:p=>r.value.type=p?"ORGANIZATION":"INDIVIDUAL"}),U=async()=>{var a;await s.value.$validate(),!s.value.$invalid&&(a=o.customer)!=null&&a.id&&await d(o.customer.id)};return e.watch(()=>o.customer,p=>{!p||y.value||(n(p),y.value=!0)},{immediate:!0}),(p,a)=>{var v,N,C,I,S,L,E,k,T,A,B,O,F;return e.openBlock(),e.createElementBlock("form",{onSubmit:e.withModifiers(U,["prevent"])},[e.createVNode(e.unref(h._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l).contactInformationTitle),1)]),_:1}),e.createElementVNode("div",X,[e.createVNode(e.unref(m._sfc_main),{modelValue:e.unref(r).email,"onUpdate:modelValue":a[0]||(a[0]=u=>e.unref(r).email=u),required:"",type:"email",label:e.unref(l).emailLabel,placeholder:e.unref(l).emailPlaceholder,error:((v=e.unref(s).email)==null?void 0:v.$errors)||((N=t.apiError)==null?void 0:N.email)},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(V._sfc_main),{"single-model-value":e.unref(r).country,"onUpdate:singleModelValue":a[1]||(a[1]=u=>e.unref(r).country=u),label:e.unref(l).countryLabel,error:(C=t.apiError)==null?void 0:C.country},null,8,["single-model-value","label","error"]),g.value?(e.openBlock(),e.createBlock(V._sfc_main$1,{key:0,modelValue:_.value,"onUpdate:modelValue":a[2]||(a[2]=u=>_.value=u)},null,8,["modelValue"])):e.createCommentVNode("",!0),c.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(e.unref(m._sfc_main),{modelValue:e.unref(r).companyVatNumber,"onUpdate:modelValue":a[3]||(a[3]=u=>e.unref(r).companyVatNumber=u),name:"vat_number",label:e.unref(l).vatNumberLabel,placeholder:e.unref(l).vatNumberPlaceholder,error:(I=t.apiError)==null?void 0:I.vat_number},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(m._sfc_main),{modelValue:e.unref(r).companyLegalName,"onUpdate:modelValue":a[4]||(a[4]=u=>e.unref(r).companyLegalName=u),required:"",name:"legal_name",label:e.unref(l).legalNameLabel,placeholder:e.unref(l).legalNamePlaceholder,error:(S=t.apiError)==null?void 0:S.legal_name},null,8,["modelValue","label","placeholder","error"])],64)):e.createCommentVNode("",!0)]),e.createElementVNode("div",H,[e.createVNode(e.unref(h._sfc_main),{variant:"heading-3",tag:"h2"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Billing details",id:"checkout.billing_information_block.title",description:"The title of the billing information block in the checkout form"})),1)]),_:1})]),e.createElementVNode("div",Y,[c.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",J,[e.createVNode(e.unref(m._sfc_main),{modelValue:e.unref(r).firstName,"onUpdate:modelValue":a[5]||(a[5]=u=>e.unref(r).firstName=u),name:"first_name",label:e.unref(i)({defaultMessage:"First name",id:"checkout.first_name.label",description:"The first name of the customer in the checkout form"}),placeholder:e.unref(i)({defaultMessage:"First name...",id:"checkout.first_name.placeholder",description:"The first name of the customer in the checkout form"}),error:(L=t.apiError)==null?void 0:L.first_name},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(m._sfc_main),{modelValue:e.unref(r).lastName,"onUpdate:modelValue":a[6]||(a[6]=u=>e.unref(r).lastName=u),name:"last_name",label:e.unref(i)({defaultMessage:"Last name",id:"checkout.last_name.label",description:"The last name of the customer in the checkout form"}),placeholder:e.unref(i)({defaultMessage:"Last name...",id:"checkout.last_name.placeholder",description:"The last name of the customer in the checkout form"}),error:(E=t.apiError)==null?void 0:E.last_name},null,8,["modelValue","label","placeholder","error"])])),e.createVNode(e.unref(m._sfc_main),{modelValue:e.unref(r).addressLine1,"onUpdate:modelValue":a[7]||(a[7]=u=>e.unref(r).addressLine1=u),name:"address_line_1",label:e.unref(l).addressTitle,placeholder:e.unref(i)({defaultMessage:"Address line 1...",id:"checkout.address.line1.placeholder",description:"Address line 1 of the customer address in the checkout form"}),error:(k=t.apiError)==null?void 0:k.address_line_1},null,8,["modelValue","label","placeholder","error"]),e.createVNode(e.unref(m._sfc_main),{modelValue:e.unref(r).addressLine2,"onUpdate:modelValue":a[8]||(a[8]=u=>e.unref(r).addressLine2=u),name:"address_line_2",placeholder:e.unref(i)({defaultMessage:"Address line 2...",id:"checkout.address.line2.placeholder",description:"Address line 2 of the customer address in the checkout form"}),error:(T=t.apiError)==null?void 0:T.address_line_2},null,8,["modelValue","placeholder","error"]),e.createElementVNode("div",K,[e.createVNode(e.unref(m._sfc_main),{modelValue:e.unref(r).postalCode,"onUpdate:modelValue":a[9]||(a[9]=u=>e.unref(r).postalCode=u),name:"postal_code",placeholder:e.unref(l).postalCodePlaceholder,error:(A=t.apiError)==null?void 0:A.postal_code},null,8,["modelValue","placeholder","error"]),e.createVNode(e.unref(m._sfc_main),{modelValue:e.unref(r).city,"onUpdate:modelValue":a[10]||(a[10]=u=>e.unref(r).city=u),name:"city",placeholder:e.unref(l).cityPlaceholder,error:(B=t.apiError)==null?void 0:B.city},null,8,["modelValue","placeholder","error"]),e.createVNode(e.unref(m._sfc_main),{modelValue:e.unref(r).state,"onUpdate:modelValue":a[11]||(a[11]=u=>e.unref(r).state=u),name:"state",placeholder:e.unref(l).statePlaceholder,error:(O=t.apiError)==null?void 0:O.state},null,8,["modelValue","placeholder","error"])])]),(F=t.apiError)!=null&&F._generic?(e.openBlock(),e.createBlock(e.unref(P._sfc_main),{key:0,class:"mt-4",title:t.apiError._generic},null,8,["title"])):e.createCommentVNode("",!0),e.createVNode(e.unref(x._sfc_main),{type:"submit",intent:"primary",disabled:!e.unref(f),loading:t.isLoading,class:"mt-4"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)({defaultMessage:"Save changes",id:"billing_information_form.submit_button.label",description:"The label for the submit button of the billing information form"})),1)]),_:1},8,["disabled","loading"])],32)}}}),W=e.defineComponent({__name:"BillingInformationForm",props:{customer:{type:Object},apiError:{type:null},updateCustomer:{type:Function},isLoading:{type:Boolean}},setup(t){return(o,i)=>(e.openBlock(),e.createBlock(Q,{class:"sv-billing-form sv-root sv-component",customer:t.customer,"update-customer":t.updateCustomer,"is-loading":t.isLoading,"api-error":t.apiError},null,8,["customer","update-customer","is-loading","api-error"]))}}),ee=e.defineComponent({__name:"BillingInformationForm.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(t){const i=t.portalObject.customer_id,{customer:l,get:s,update:r}=j.useCustomer({customerId:i});return e.onMounted(async()=>{await s.execute()}),(n,d)=>e.renderSlot(n.$slots,"default",{customer:e.unref(l),isLoading:e.unref(s).isPending.value||e.unref(r).isPending.value,updateCustomer:e.unref(r),apiError:e.unref(D.getApiError)(e.unref(r).error)})}}),te=e.defineComponent({__name:"BillingInformationForm.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},cssOverrides:{type:[String,Array]},branding:{type:Object}},emits:["error"],setup(t){const o=q.getComponentName("billing-information-form");return(i,l)=>(e.openBlock(),e.createBlock(e.unref(h._sfc_main$1),{entry:i.$props,"component-name":e.unref(o),"allowed-portal-types":["CUSTOMER"],onError:l[0]||(l[0]=s=>i.$emit("error",s))},{default:e.withCtx(()=>[e.createVNode(ee,e.normalizeProps(e.guardReactiveProps(i.$props)),{default:e.withCtx(({customer:s,updateCustomer:r,isLoading:n,apiError:d})=>[s?(e.openBlock(),e.createBlock(W,{key:0,customer:s,"is-loading":n,"update-customer":({payload:f})=>r.execute(f),"api-error":d},null,8,["customer","is-loading","update-customer","api-error"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["entry","component-name"]))}}),{define:re}=h.createSolvimonElement(te,"billing-information-form");exports.defineSolvimonBillingInformationForm=re;
|