@solvimon/solvimon-web 0.1.0-alpha.7 → 0.1.0-alpha.9

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.
Files changed (217) hide show
  1. package/README.md +124 -0
  2. package/dist/ApiStatus-CyNDp_op.mjs +9 -0
  3. package/dist/ApiStatus-oqvUEWJx.js +1 -0
  4. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-CupcH8TZ.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-CX8vlY2Z.mjs} +6 -6
  5. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DGisvmez.js +1 -0
  6. package/dist/ContentWithAsideLayout-B5B8Kwaw.js +1 -0
  7. package/dist/{ContentWithAsideLayout-Ct24RV-2.mjs → ContentWithAsideLayout-DhfUkZZg.mjs} +10 -16
  8. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZJ0xukI.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bus-5gC3.mjs} +21 -13
  9. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CkRsyMlJ.js +1 -0
  10. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DsrBsrtk.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Bc2hkpTb.mjs} +19 -9
  11. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0vVUHuY.js +1 -0
  12. package/dist/PaymentHistoryBlock-BiiFJkpT.js +1 -0
  13. package/dist/PaymentHistoryBlock-D_B099M7.mjs +4 -0
  14. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BnKwmJ2s.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CaMDtHrL.mjs} +16 -13
  15. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DWTEfLrE.js +1 -0
  16. package/dist/PaymentIntegrationForm-D1oJA9mC.js +1 -0
  17. package/dist/PaymentIntegrationForm-DNkjhqMF.mjs +4 -0
  18. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BE1lWOk9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D37gDtY7.mjs} +95 -199
  19. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D5bxFJ-p.js +1 -0
  20. package/dist/{PricingGroupContent.vue_vue_type_script_setup_true_lang-BbvDXvIS.mjs → PricingGroupContent.vue_vue_type_script_setup_true_lang-BChVMzCj.mjs} +5 -31
  21. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Br3bEUlP.js +1 -0
  22. package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-DXJcL7x6.mjs → Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs} +9 -6
  23. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +1 -0
  24. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-AHw3iTfi.js +1 -0
  25. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DVhJy0t8.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BkzLj8n2.mjs} +28 -22
  26. package/dist/adyen-B_QrYdaC.mjs +4 -0
  27. package/dist/adyen-Bwewy3HC.mjs +172 -0
  28. package/dist/adyen-R6aSZ0Yf.js +1 -0
  29. package/dist/adyen-mQEEOjgl.js +1 -0
  30. package/dist/adyen.css +1 -0
  31. package/dist/component-BOqPDAVk.js +1 -0
  32. package/dist/component-Djrf1L-Z.mjs +889 -0
  33. package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
  34. package/dist/components/BillingInformation/BillingInformation.es.js +8 -9
  35. package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
  36. package/dist/components/BillingInformationForm/BillingInformationForm.es.js +14 -18
  37. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
  38. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +10 -10
  39. package/dist/components/Invoice/Invoice.cjs.js +1 -1
  40. package/dist/components/Invoice/Invoice.es.js +70 -2673
  41. package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
  42. package/dist/components/InvoiceDetails/InvoiceDetails.es.js +10 -10
  43. package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
  44. package/dist/components/InvoicesList/InvoicesList.es.js +7 -8
  45. package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
  46. package/dist/components/PaymentHistory/PaymentHistory.es.js +10 -10
  47. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
  48. package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +16 -38
  49. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
  50. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +17 -4826
  51. package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
  52. package/dist/components/SubscriptionsList/SubscriptionsList.es.js +11 -11
  53. package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
  54. package/dist/components/WalletBalances/WalletBalances.es.js +9 -9
  55. package/dist/core/index.cjs.js +1 -1
  56. package/dist/core/index.d.ts +1 -0
  57. package/dist/core/index.es.js +1 -1
  58. package/dist/core/types.d.ts +6 -2
  59. package/dist/{customer-CJrpbGX4.mjs → customer-B31QzznT.mjs} +1 -1
  60. package/dist/{customer-CcQR-JIm.js → customer-hDxW1Dbp.js} +1 -1
  61. package/dist/en-US-CgPY97Vq.js +1 -0
  62. package/dist/en-US-N3CUCsVy.mjs +179 -0
  63. package/dist/index-CzL1ZcGi.mjs +85 -0
  64. package/dist/index-DIFK3mcJ.js +6 -0
  65. package/dist/index-DRdBmZ2-.js +1 -0
  66. package/dist/index-DyvRdSR7.mjs +9673 -0
  67. package/dist/index.cjs.js +1 -1
  68. package/dist/index.d.ts +1 -0
  69. package/dist/index.es.js +4 -1
  70. package/dist/{invoices-CNK1Ushv.mjs → invoices-DIYPN2j_.mjs} +2 -15
  71. package/dist/invoices-DzkA1jDc.js +1 -0
  72. package/dist/nl-NL-B8U9b85I.mjs +197 -0
  73. package/dist/nl-NL-qMRaTRrM.js +1 -0
  74. package/dist/{paymentMethods-C-ApE-G4.mjs → paymentMethods-67b3UlTZ.mjs} +2 -2
  75. package/dist/paymentMethods-C_sdTkSF.js +1 -0
  76. package/dist/{payments-CLt0SExf.js → payments-DkHhTHto.js} +1 -1
  77. package/dist/{payments-CE9U7aKK.mjs → payments-Dq6R37Fz.mjs} +1 -1
  78. package/dist/registry-BkViv4tv.js +1 -0
  79. package/dist/{registry-B99ZnfEn.mjs → registry-Df_26rJy.mjs} +6 -4
  80. package/dist/screens/Checkout/Checkout.cjs.js +1 -1
  81. package/dist/screens/Checkout/Checkout.es.js +632 -2538
  82. package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
  83. package/dist/screens/CustomerOverview/CustomerOverview.es.js +23 -17
  84. package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +3 -0
  85. package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -0
  86. package/dist/screens/PayInvoice/PayInvoice.es.js +458 -0
  87. package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -1
  88. package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +147 -99
  89. package/dist/solvimon-web.css +1 -1
  90. package/dist/{subscriptions-CoeCrY1I.mjs → subscriptions-ClGIr_aS.mjs} +2 -2
  91. package/dist/subscriptions-jelITJcX.js +1 -0
  92. package/dist/{useActionDispatchProvider-eO2qFPGv.mjs → useActionDispatchProvider-BC57-Ufn.mjs} +1 -1
  93. package/dist/{useActionDispatchProvider-CWVV_xsi.js → useActionDispatchProvider-rw9kWeE0.js} +1 -1
  94. package/dist/{useCustomer--jycAz--.mjs → useCustomer-Ba9WRtuT.mjs} +2 -2
  95. package/dist/{useCustomer-PthyTFLl.js → useCustomer-CUcaeQn_.js} +1 -1
  96. package/dist/{useIncrementalLoading-CcnL3flF.mjs → useIncrementalLoading-Cnzh2mAz.mjs} +3 -8
  97. package/dist/useIncrementalLoading-DoTTXM2Y.js +1 -0
  98. package/dist/{useInvoiceData-BiMMoVoW.mjs → useInvoiceData-BJwwDur7.mjs} +6 -12
  99. package/dist/useInvoiceData-D2jkdmlA.js +1 -0
  100. package/dist/{useInvoicesList-DFhF_gp7.mjs → useInvoicesList-CFzAxyae.mjs} +34 -267
  101. package/dist/useInvoicesList-CaBCGs4h.js +1 -0
  102. package/dist/{useLoadInitialData-Dm48tlSO.mjs → useLoadInitialData-5sgImpzc.mjs} +5 -0
  103. package/dist/useLoadInitialData-DjwRHcAH.js +1 -0
  104. package/dist/usePaymentMethodOptions-C2k4npCQ.mjs +26 -0
  105. package/dist/usePaymentMethodOptions-DYO6xr3-.js +1 -0
  106. package/dist/{usePaymentMethods-BX2RnHZN.mjs → usePaymentMethods-CRWbH48K.mjs} +2 -2
  107. package/dist/{usePaymentMethods-BRQ7-dUr.js → usePaymentMethods-ryN_YohI.js} +1 -1
  108. package/dist/usePayments-Cw5PPEJa.mjs +36 -0
  109. package/dist/usePayments-DWXPGFvp.js +1 -0
  110. package/dist/usePortal-CxX4nrE4.js +1 -0
  111. package/dist/usePortal-cmE08vYs.mjs +12 -0
  112. package/dist/useService-Bb9r_sOQ.js +1 -0
  113. package/dist/useService-BsSEI8DZ.mjs +53 -0
  114. package/dist/useViewport-Bu0cyeSi.mjs +38 -0
  115. package/dist/useViewport-CKRY1CKR.js +1 -0
  116. package/dist/useWalletBalanceItems-CkDqmk36.mjs +109 -0
  117. package/dist/useWalletBalanceItems-CpZ1NWPr.js +1 -0
  118. package/dist/useWatchDebounced-2ZLnfgvG.js +1 -0
  119. package/dist/useWatchDebounced-D1xuIX6_.mjs +12 -0
  120. package/dist/vendor-ui-5pJF5KBP.js +1 -0
  121. package/dist/vendor-ui-C0K3osvz.mjs +27645 -0
  122. package/package.json +20 -12
  123. package/dist/Alert.vue.es-DMPvSykx.js +0 -1
  124. package/dist/Alert.vue.es-DsJ1ckRU.mjs +0 -172
  125. package/dist/Amount.vue.es-C6JE5rL8.mjs +0 -23
  126. package/dist/Amount.vue.es-h8wulbBG.js +0 -1
  127. package/dist/Avatar.vue.es-Ba8ZGfm4.mjs +0 -93
  128. package/dist/Avatar.vue.es-BbyE0AjW.js +0 -1
  129. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C4Ndo83E.js +0 -1
  130. package/dist/Button.vue.es-6sBk5tBL.mjs +0 -408
  131. package/dist/Button.vue.es-BC4_TItq.js +0 -1
  132. package/dist/CardContent.vue.es-ChEMrFCc.mjs +0 -115
  133. package/dist/CardContent.vue.es-i9ivuGKG.js +0 -1
  134. package/dist/Chip.vue.es-D0fkSe8a.js +0 -1
  135. package/dist/Chip.vue.es-DcW2CjUA.mjs +0 -1576
  136. package/dist/Comparators.vue.es-BdxDqU8o.js +0 -1
  137. package/dist/Comparators.vue.es-DdTKGB80.mjs +0 -406
  138. package/dist/ContentWithAsideLayout-UHovpjZu.js +0 -1
  139. package/dist/CustomerBillingInformation.vue.es-9rP7-RzN.js +0 -1
  140. package/dist/CustomerBillingInformation.vue.es-DBMl01Es.mjs +0 -175
  141. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CYTCcMgP.js +0 -1
  142. package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
  143. package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
  144. package/dist/DividerText.vue.es-B7oa5Xpn.mjs +0 -72
  145. package/dist/DividerText.vue.es-yiFdPQvo.js +0 -1
  146. package/dist/ErrorNotification.vue.es-Bgw0MIl8.mjs +0 -30
  147. package/dist/ErrorNotification.vue.es-FpRyg0De.js +0 -1
  148. package/dist/FormMessage.vue.es-DFQXxiSC.mjs +0 -46
  149. package/dist/FormMessage.vue.es-LeWoj774.js +0 -1
  150. package/dist/IconButton.vue.es-DNCwwH_j.mjs +0 -825
  151. package/dist/IconButton.vue.es-DiSiGPWO.js +0 -1
  152. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BDitcx8B.js +0 -1
  153. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-6yi47YWd.js +0 -1
  154. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CC3hm3nx.js +0 -1
  155. package/dist/PaymentMethod.vue.es-DYlnmZh7.js +0 -1
  156. package/dist/PaymentMethod.vue.es-nXZoQjG3.mjs +0 -1255
  157. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-CmQILA3q.js +0 -1
  158. package/dist/Section.vue.es-3-H1pUTB.mjs +0 -79
  159. package/dist/Section.vue.es-BuzTXRLP.js +0 -1
  160. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D1Xzfc70.js +0 -1
  161. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Pq3d7DTb.js +0 -1
  162. package/dist/TooltipParagraph.vue.es-DVJLF9Kv.mjs +0 -136
  163. package/dist/TooltipParagraph.vue.es-kTbRGoPF.js +0 -1
  164. package/dist/TrialChip.vue.es-BHYbW8b6.mjs +0 -759
  165. package/dist/TrialChip.vue.es-C6Xg_5rR.js +0 -1
  166. package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
  167. package/dist/_Uint8Array-DxISR7XF.js +0 -1
  168. package/dist/_flatRest.es-BHFPCqZh.mjs +0 -642
  169. package/dist/_flatRest.es-dFffnTpX.js +0 -1
  170. package/dist/adyen-51SvcyqV.mjs +0 -4
  171. package/dist/adyen-DZsyEXkw.js +0 -1
  172. package/dist/api.es-B4qAAJKr.js +0 -1
  173. package/dist/api.es-UkfpLiLL.mjs +0 -83
  174. package/dist/auto-DzZuCneB.mjs +0 -14387
  175. package/dist/auto-PpnAChnH.js +0 -6
  176. package/dist/cloneDeep-Hs8Pp07F.js +0 -1
  177. package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
  178. package/dist/cn.es-C7xoIs3C.js +0 -1
  179. package/dist/cn.es-tfxVlz02.mjs +0 -3191
  180. package/dist/component-ZRZIt3ZW.js +0 -1
  181. package/dist/component-dpA83LIN.mjs +0 -6569
  182. package/dist/countryData.es--zJAd6LA.mjs +0 -252
  183. package/dist/countryData.es-D3MFzU92.js +0 -1
  184. package/dist/customer.es-D42Md24r.js +0 -1
  185. package/dist/customer.es-LIW2YmLL.mjs +0 -30
  186. package/dist/formatting.es-9hM8aHSg.js +0 -1
  187. package/dist/formatting.es-D5H_ySFv.mjs +0 -68
  188. package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
  189. package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
  190. package/dist/index-2jo9BSPM.js +0 -1
  191. package/dist/index-BFZ0dPh9.mjs +0 -179
  192. package/dist/index-CI71bVGE.mjs +0 -2521
  193. package/dist/index-CWSXne1Q.js +0 -1
  194. package/dist/index-D3v7hAtc.mjs +0 -253
  195. package/dist/index-WLSPwi90.js +0 -1
  196. package/dist/index.es-BBJF2O2l.js +0 -1
  197. package/dist/index.es-LCAKs4tH.mjs +0 -438
  198. package/dist/invoices-3kVHsAXr.js +0 -1
  199. package/dist/isEmpty.es-Bp1SbWFu.mjs +0 -131
  200. package/dist/isEmpty.es-Dycf-CD_.js +0 -1
  201. package/dist/paymentMethods-DZRf0WRl.js +0 -1
  202. package/dist/pick.es-BgDAfhAl.js +0 -1
  203. package/dist/pick.es-DdVOyp0Q.mjs +0 -45
  204. package/dist/registry-ClZ43bQn.js +0 -1
  205. package/dist/sprite.svg.es-CCc3Mz1x.js +0 -1
  206. package/dist/sprite.svg.es-DZD704h3.mjs +0 -4
  207. package/dist/subscriptions-CS8HTxzC.js +0 -1
  208. package/dist/typeGuards.es-C4nR5FkL.js +0 -1
  209. package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
  210. package/dist/useIncrementalLoading-CAdNW-Bf.js +0 -1
  211. package/dist/useInvoiceData-DvQO_nKz.js +0 -1
  212. package/dist/useInvoicesList-CHkwSNO9.js +0 -1
  213. package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
  214. package/dist/useService-B67YWAcN.js +0 -1
  215. package/dist/useService-DG_zedHV.mjs +0 -282
  216. package/dist/useWalletBalanceItems-B5FMmoU2.mjs +0 -308
  217. package/dist/useWalletBalanceItems-BY3gq0fc.js +0 -1
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("../../SubscriptionsList.vue_vue_type_script_setup_true_lang-Pq3d7DTb.js"),t=require("../../component-ZRZIt3ZW.js"),r=require("../../useCustomer-PthyTFLl.js"),n=require("../../useLoadInitialData-BRg7IWqW.js"),l=require("../../usePaymentMethods-BRQ7-dUr.js"),i=e.defineComponent({__name:"SubscriptionsList.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup(i){const a=i.portalObject.customer_id,s=r.useCustomer({customerId:a}),p=o.useSubscriptionsList({customerId:a}),u=l.usePaymentMethods({customerId:a}),{isLoading:m}=n.useLoadInitialData(s.get.execute(),p.fetchInitial(),u.fetchAll());return(o,r)=>{var n,l,a,y;return e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{"custom-element-name":e.unref(c),environment:i.environment,locale:i.locale,"portal-object":i.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(l=null==(n=i.branding)?void 0:n.colors)?void 0:l.primary,"secondary-color":null==(y=null==(a=i.branding)?void 0:a.colors)?void 0:y.secondary,"experimental-features":i.experimentalFeatures,"log-level":i.logLevel,"on-log":i.onLog,onError:r[0]||(r[0]=e=>o.$emit("error",e))},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{customer:e.unref(s),subscriptions:e.unref(p).items,paymentMethods:e.unref(u).items,isLoading:e.unref(m),loadMore:e.unref(p).fetchMore})]),_:3},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}}),a=e.defineComponent({__name:"SubscriptionsList.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup:r=>(n,l)=>{var a,s,p,u;return e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{"custom-element-name":e.unref(c),environment:r.environment,locale:r.locale,"portal-object":r.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(s=null==(a=r.branding)?void 0:a.colors)?void 0:s.primary,"secondary-color":null==(u=null==(p=r.branding)?void 0:p.colors)?void 0:u.secondary,"experimental-features":r.experimentalFeatures,"log-level":r.logLevel,"on-log":r.onLog,onError:l[0]||(l[0]=e=>n.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(i,e.normalizeProps(e.guardReactiveProps(n.$props)),{default:e.withCtx(({customer:t,subscriptions:n,paymentMethods:l,isLoading:i,loadMore:a})=>[e.createVNode(o._sfc_main,{configuration:r.configuration,customer:t.customer.value,subscriptions:n.value,"payment-methods":l.value,"is-loading":i,onLoadMore:a},null,8,["configuration","customer","subscriptions","payment-methods","is-loading","onLoadMore"])]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}),s=t.defineCustomElement(a),c=t.getComponentName("subscriptions-list");exports.COMPONENT_NAME=c,exports.SolvimonSubscriptionsList=s,exports.defineSolvimonSubscriptionsList=()=>{customElements.get(c)||customElements.define(c,s)};
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("../../SubscriptionsList.vue_vue_type_script_setup_true_lang-AHw3iTfi.js"),t=require("../../component-BOqPDAVk.js"),r=require("../../useCustomer-CUcaeQn_.js"),n=require("../../useLoadInitialData-DjwRHcAH.js"),s=require("../../usePaymentMethods-ryN_YohI.js"),i=e.defineComponent({__name:"SubscriptionsList.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(i){const l=i.portalObject.customer_id,a=r.useCustomer({customerId:l}),p=o.useSubscriptionsList({customerId:l}),u=s.usePaymentMethods({customerId:l}),{isLoading:m}=n.useLoadInitialData(a.get.execute(),p.fetchInitial(),u.fetchAll());return(o,r)=>{var n,s,l,d;return e.openBlock(),e.createBlock(e.unref(t._sfc_main),{"custom-element-name":e.unref(c),environment:i.environment,locale:i.locale,"portal-object":i.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(s=null==(n=i.branding)?void 0:n.colors)?void 0:s.primary,"secondary-color":null==(d=null==(l=i.branding)?void 0:l.colors)?void 0:d.secondary,"experimental-features":i.experimentalFeatures,"log-level":i.logLevel,"on-log":i.onLog,"css-overrides":i.cssOverrides,onError:r[0]||(r[0]=e=>o.$emit("error",e))},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{customer:e.unref(a),subscriptions:e.unref(p).items,paymentMethods:e.unref(u).items,isLoading:e.unref(m),loadMore:e.unref(p).fetchMore})]),_:3},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log","css-overrides"])}}}),l=e.defineComponent({__name:"SubscriptionsList.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=>(n,s)=>{var l,a,p,u;return e.openBlock(),e.createBlock(e.unref(t._sfc_main),{"custom-element-name":e.unref(c),environment:r.environment,locale:r.locale,"portal-object":r.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(a=null==(l=r.branding)?void 0:l.colors)?void 0:a.primary,"secondary-color":null==(u=null==(p=r.branding)?void 0:p.colors)?void 0:u.secondary,"experimental-features":r.experimentalFeatures,"log-level":r.logLevel,"on-log":r.onLog,"css-overrides":r.cssOverrides,onError:s[0]||(s[0]=e=>n.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(i,e.normalizeProps(e.guardReactiveProps(n.$props)),{default:e.withCtx(({customer:t,subscriptions:n,paymentMethods:s,isLoading:i,loadMore:l})=>[e.createVNode(o._sfc_main,{configuration:r.configuration,customer:t.customer.value,subscriptions:n.value,"payment-methods":s.value,"is-loading":i,onLoadMore:l},null,8,["configuration","customer","subscriptions","payment-methods","is-loading","onLoadMore"])]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log","css-overrides"])}}),a=t.defineCustomElement(l),c=t.getComponentName("subscriptions-list");exports.COMPONENT_NAME=c,exports.SolvimonSubscriptionsList=a,exports.defineSolvimonSubscriptionsList=()=>{customElements.get(c)||customElements.define(c,a)};
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot, createVNode, normalizeProps, guardReactiveProps } from "vue";
2
- import { u as useSubscriptionsList, _ as _sfc_main$3 } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-DVhJy0t8.mjs";
3
- import { b as _sfc_main$2, d as defineCustomElement, g as getComponentName } from "../../component-dpA83LIN.mjs";
4
- import { u as useCustomer } from "../../useCustomer--jycAz--.mjs";
5
- import { u as useLoadInitialData } from "../../useLoadInitialData-Dm48tlSO.mjs";
6
- import { u as usePaymentMethods } from "../../usePaymentMethods-BX2RnHZN.mjs";
2
+ import { u as useSubscriptionsList, _ as _sfc_main$3 } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-BkzLj8n2.mjs";
3
+ import { _ as _sfc_main$2, d as defineCustomElement, g as getComponentName } from "../../component-Djrf1L-Z.mjs";
4
+ import { u as useCustomer } from "../../useCustomer-Ba9WRtuT.mjs";
5
+ import { u as useLoadInitialData } from "../../useLoadInitialData-5sgImpzc.mjs";
6
+ import { u as usePaymentMethods } from "../../usePaymentMethods-CRWbH48K.mjs";
7
7
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8
8
  __name: "SubscriptionsList.entry.view",
9
9
  props: {
@@ -11,7 +11,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
11
11
  locale: { type: String },
12
12
  dateLocale: { type: String },
13
13
  messages: { type: Object },
14
- showTimezones: { type: Boolean },
15
14
  primaryColor: { type: String },
16
15
  secondaryColor: { type: String },
17
16
  isShadowRoot: { type: Boolean },
@@ -20,7 +19,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
20
19
  onLog: { type: Function },
21
20
  allowedPortalTypes: { type: Array },
22
21
  portalObject: { type: Object },
23
- customElementName: { type: String },
22
+ cssOverrides: { type: [String, Array] },
24
23
  branding: { type: Object },
25
24
  configuration: { type: Object }
26
25
  },
@@ -48,6 +47,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
48
47
  "experimental-features": __props.experimentalFeatures,
49
48
  "log-level": __props.logLevel,
50
49
  "on-log": __props.onLog,
50
+ "css-overrides": __props.cssOverrides,
51
51
  onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
52
52
  }, {
53
53
  default: withCtx(() => [
@@ -60,7 +60,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
60
60
  })
61
61
  ]),
62
62
  _: 3
63
- }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log"]);
63
+ }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log", "css-overrides"]);
64
64
  };
65
65
  }
66
66
  });
@@ -71,7 +71,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
71
71
  locale: { type: String },
72
72
  dateLocale: { type: String },
73
73
  messages: { type: Object },
74
- showTimezones: { type: Boolean },
75
74
  primaryColor: { type: String },
76
75
  secondaryColor: { type: String },
77
76
  isShadowRoot: { type: Boolean },
@@ -80,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
79
  onLog: { type: Function },
81
80
  allowedPortalTypes: { type: Array },
82
81
  portalObject: { type: Object },
83
- customElementName: { type: String },
82
+ cssOverrides: { type: [String, Array] },
84
83
  branding: { type: Object },
85
84
  configuration: { type: Object }
86
85
  },
@@ -98,6 +97,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
98
97
  "experimental-features": __props.experimentalFeatures,
99
98
  "log-level": __props.logLevel,
100
99
  "on-log": __props.onLog,
100
+ "css-overrides": __props.cssOverrides,
101
101
  onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
102
102
  }, {
103
103
  default: withCtx(() => [
@@ -116,7 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
116
116
  }, 16)
117
117
  ]),
118
118
  _: 1
119
- }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log"]);
119
+ }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log", "css-overrides"]);
120
120
  };
121
121
  }
122
122
  });
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../_Uint8Array-DxISR7XF.js"),a=require("../../useWalletBalanceItems-BY3gq0fc.js"),o=require("../../useLoadInitialData-BRg7IWqW.js"),l=require("../../component-ZRZIt3ZW.js"),n=e.defineComponent({__name:"WalletBalances",props:{hasError:{type:Boolean},isLoading:{type:Boolean},walletBalances:{type:Array}},setup:t=>(o,l)=>(e.openBlock(),e.createBlock(a._sfc_main,{"has-error":t.hasError,"is-loading":t.isLoading,"wallet-balances":t.walletBalances},null,8,["has-error","is-loading","wallet-balances"]))}),r=e.defineComponent({__name:"WalletBalances.entry.view",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},customElementName:{type:String},branding:{type:Object}},setup(t){const l=t.portalObject.customer_id,n=a.useCustomerWalletBalances({customerId:l}),r=a.useWalletBalanceItems(n.walletBalances),{isLoading:s}=o.useLoadInitialData(n.fetch());return(t,a)=>e.renderSlot(t.$slots,"default",{customerWalletBalances:e.unref(n),walletBalanceItems:e.unref(r),isLoading:e.unref(s)})}}),s=e.defineComponent({__name:"WalletBalances.entry",props:{portalObject:{type:Object},environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},customElementName:{type:String},branding:{type:Object}},setup:a=>(o,s)=>{var i,c,m,u;return e.openBlock(),e.createBlock(e.unref(l._sfc_main$1),{"custom-element-name":e.unref(p),environment:a.environment,locale:a.locale,"portal-object":a.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(c=null==(i=a.branding)?void 0:i.colors)?void 0:c.primary,"secondary-color":null==(u=null==(m=a.branding)?void 0:m.colors)?void 0:u.secondary,"experimental-features":a.experimentalFeatures,"log-level":a.logLevel,"on-log":a.onLog,onError:s[0]||(s[0]=e=>o.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(r,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({customerWalletBalances:a,walletBalanceItems:o,isLoading:l})=>[e.createVNode(n,{"has-error":a.apiStatus.value===e.unref(t.ApiStatus).Failed,"is-loading":l,"wallet-balances":o},null,8,["has-error","is-loading","wallet-balances"])]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}),i=l.defineCustomElement(s),p=l.getComponentName("wallet-balances");exports.COMPONENT_NAME=p,exports.SolvimonWalletBalances=i,exports.defineSolvimonWalletBalances=()=>{customElements.get(p)||customElements.define(p,i)};
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../ApiStatus-oqvUEWJx.js"),a=require("../../useWalletBalanceItems-CpZ1NWPr.js"),l=require("../../useLoadInitialData-DjwRHcAH.js"),r=require("../../component-BOqPDAVk.js"),o=e.defineComponent({__name:"WalletBalances",props:{hasError:{type:Boolean},isLoading:{type:Boolean},walletBalances:{type:Array}},setup:t=>(l,r)=>(e.openBlock(),e.createBlock(a._sfc_main,{class:"sv-wallet-balances sv-root sv-component","has-error":t.hasError,"is-loading":t.isLoading,"wallet-balances":t.walletBalances},null,8,["has-error","is-loading","wallet-balances"]))}),n=e.defineComponent({__name:"WalletBalances.entry.view",props:{portalObject:{type:Object},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},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup(t){const r=t.portalObject.customer_id,o=a.useCustomerWalletBalances({customerId:r}),n=a.useWalletBalanceItems(o.walletBalances),{isLoading:s}=l.useLoadInitialData(o.fetch());return(t,a)=>e.renderSlot(t.$slots,"default",{customerWalletBalances:e.unref(o),walletBalanceItems:e.unref(n),isLoading:e.unref(s)})}}),s=e.defineComponent({__name:"WalletBalances.entry",props:{portalObject:{type:Object},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},cssOverrides:{type:[String,Array]},branding:{type:Object}},setup:a=>(l,s)=>{var i,p,m,u;return e.openBlock(),e.createBlock(e.unref(r._sfc_main),{"custom-element-name":e.unref(c),environment:a.environment,locale:a.locale,"portal-object":a.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(p=null==(i=a.branding)?void 0:i.colors)?void 0:p.primary,"secondary-color":null==(u=null==(m=a.branding)?void 0:m.colors)?void 0:u.secondary,"experimental-features":a.experimentalFeatures,"log-level":a.logLevel,"on-log":a.onLog,"css-overrides":a.cssOverrides,onError:s[0]||(s[0]=e=>l.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(n,e.normalizeProps(e.guardReactiveProps(l.$props)),{default:e.withCtx(({customerWalletBalances:a,walletBalanceItems:l,isLoading:r})=>[e.createVNode(o,{"has-error":a.apiStatus.value===e.unref(t.ApiStatus).Failed,"is-loading":r,"wallet-balances":l},null,8,["has-error","is-loading","wallet-balances"])]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log","css-overrides"])}}),i=r.defineCustomElement(s),c=r.getComponentName("wallet-balances");exports.COMPONENT_NAME=c,exports.SolvimonWalletBalances=i,exports.defineSolvimonWalletBalances=()=>{customElements.get(c)||customElements.define(c,i)};
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, openBlock, createBlock, renderSlot, unref, withCtx, createVNode, normalizeProps, guardReactiveProps } from "vue";
2
- import { A as ApiStatus } from "../../_Uint8Array-DHE03FZr.mjs";
3
- import { _ as _sfc_main$3, u as useCustomerWalletBalances, a as useWalletBalanceItems } from "../../useWalletBalanceItems-B5FMmoU2.mjs";
4
- import { u as useLoadInitialData } from "../../useLoadInitialData-Dm48tlSO.mjs";
5
- import { b as _sfc_main$4, d as defineCustomElement, g as getComponentName } from "../../component-dpA83LIN.mjs";
2
+ import { A as ApiStatus } from "../../ApiStatus-CyNDp_op.mjs";
3
+ import { _ as _sfc_main$3, u as useCustomerWalletBalances, a as useWalletBalanceItems } from "../../useWalletBalanceItems-CkDqmk36.mjs";
4
+ import { u as useLoadInitialData } from "../../useLoadInitialData-5sgImpzc.mjs";
5
+ import { _ as _sfc_main$4, d as defineCustomElement, g as getComponentName } from "../../component-Djrf1L-Z.mjs";
6
6
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7
7
  __name: "WalletBalances",
8
8
  props: {
@@ -13,6 +13,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
13
13
  setup(__props) {
14
14
  return (_ctx, _cache) => {
15
15
  return openBlock(), createBlock(_sfc_main$3, {
16
+ class: "sv-wallet-balances sv-root sv-component",
16
17
  "has-error": __props.hasError,
17
18
  "is-loading": __props.isLoading,
18
19
  "wallet-balances": __props.walletBalances
@@ -28,7 +29,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
28
29
  locale: { type: String },
29
30
  dateLocale: { type: String },
30
31
  messages: { type: Object },
31
- showTimezones: { type: Boolean },
32
32
  primaryColor: { type: String },
33
33
  secondaryColor: { type: String },
34
34
  isShadowRoot: { type: Boolean },
@@ -36,7 +36,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
36
36
  logLevel: { type: String },
37
37
  onLog: { type: Function },
38
38
  allowedPortalTypes: { type: Array },
39
- customElementName: { type: String },
39
+ cssOverrides: { type: [String, Array] },
40
40
  branding: { type: Object }
41
41
  },
42
42
  setup(__props) {
@@ -62,7 +62,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
62
62
  locale: { type: String },
63
63
  dateLocale: { type: String },
64
64
  messages: { type: Object },
65
- showTimezones: { type: Boolean },
66
65
  primaryColor: { type: String },
67
66
  secondaryColor: { type: String },
68
67
  isShadowRoot: { type: Boolean },
@@ -70,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
69
  logLevel: { type: String },
71
70
  onLog: { type: Function },
72
71
  allowedPortalTypes: { type: Array },
73
- customElementName: { type: String },
72
+ cssOverrides: { type: [String, Array] },
74
73
  branding: { type: Object }
75
74
  },
76
75
  setup(__props) {
@@ -87,6 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
87
86
  "experimental-features": __props.experimentalFeatures,
88
87
  "log-level": __props.logLevel,
89
88
  "on-log": __props.onLog,
89
+ "css-overrides": __props.cssOverrides,
90
90
  onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
91
91
  }, {
92
92
  default: withCtx(() => [
@@ -102,7 +102,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
102
102
  }, 16)
103
103
  ]),
104
104
  _: 1
105
- }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log"]);
105
+ }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log", "css-overrides"]);
106
106
  };
107
107
  }
108
108
  });
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../registry-ClZ43bQn.js");exports.createSolvimonCore=e.createSolvimonCore,exports.getRegisteredComponentIds=e.getRegisteredComponentIds,exports.getRegisteredScreenIds=e.getRegisteredScreenIds;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../registry-BkViv4tv.js");exports.createSolvimonCore=e.createSolvimonCore,exports.getRegisteredComponentIds=e.getRegisteredComponentIds,exports.getRegisteredScreenIds=e.getRegisteredScreenIds;
@@ -8,3 +8,4 @@ export { createSolvimonCore } from './configuration';
8
8
  export { getRegisteredScreenIds, getRegisteredComponentIds } from './registry';
9
9
  export type { CoreConfiguration, ComponentConfigurationById, ScreenConfigurationById, ComponentMountConfiguration, ScreenMountConfiguration, SolvimonMountConfig, SolvimonMountInstance, RegisteredScreenId, RegisteredComponentId, } from './types';
10
10
  export type { ActionRequestDetail, RequestActionEvent } from './action-request.types';
11
+ export type { LogEntry, LogLevel, LogSink, ErrorCode, WarnCode, } from '../../components/providers/LoggerProvider/LoggerProvider.types';
@@ -1,4 +1,4 @@
1
- import { c, g, a } from "../registry-B99ZnfEn.mjs";
1
+ import { c, g, a } from "../registry-Df_26rJy.mjs";
2
2
  export {
3
3
  c as createSolvimonCore,
4
4
  g as getRegisteredComponentIds,
@@ -1,5 +1,6 @@
1
1
  import { Environment, PlatformBranding } from '@solvimon/solvimon-types';
2
2
  import { IntlMessages } from '@solvimon/solvimon-ui';
3
+ import { LogLevel, LogSink } from '../../components/providers/LoggerProvider/LoggerProvider.types';
3
4
  import { SolvimonBillingInformationEntryProps } from '../components/BillingInformation/BillingInformation.entry.types';
4
5
  import { SolvimonBillingInformationFormEntryProps } from '../components/BillingInformationForm/BillingInformationForm.entry.types';
5
6
  import { SolvimonCustomerPaymentMethodsEntryProps } from '../components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types';
@@ -14,6 +15,7 @@ import { SolvimonWalletBalancesEntryProps } from '../components/WalletBalances/W
14
15
  import { SolvimonCheckoutEntryProps } from '../screens/Checkout/Checkout.entry.types';
15
16
  import { SolvimonCustomerOverviewEntryProps } from '../screens/CustomerOverview/CustomerOverview.entry.types';
16
17
  import { SolvimonUpgradeSubscriptionEntryProps } from '../screens/UpgradeSubscription/UpgradeSubscription.entry.types';
18
+ import { SolvimonPayInvoiceEntryProps } from '../screens/PayInvoice/PayInvoice.entry.types';
17
19
  /**
18
20
  * Shared configuration passed to all mounted Solvimon components and screens.
19
21
  * Extends the base entry props (environment, locale, branding, etc.).
@@ -24,9 +26,10 @@ export interface SharedSolvimonMountConfig {
24
26
  dateLocale?: string;
25
27
  messages?: IntlMessages;
26
28
  experimentalFeatures?: unknown[];
27
- logLevel?: 'debug' | 'info' | 'warn' | 'error';
28
- onLog?: (entry: unknown) => void;
29
+ logLevel?: LogLevel;
30
+ onLog?: LogSink;
29
31
  branding?: PlatformBranding;
32
+ cssOverrides?: string | string[];
30
33
  }
31
34
  export type SolvimonMountConfig = SharedSolvimonMountConfig;
32
35
  /**
@@ -53,6 +56,7 @@ interface RegisteredScreenEntryPropsById {
53
56
  checkout: SolvimonCheckoutEntryProps;
54
57
  'customer-overview': SolvimonCustomerOverviewEntryProps;
55
58
  'upgrade-subscription': SolvimonUpgradeSubscriptionEntryProps;
59
+ 'pay-invoice': SolvimonPayInvoiceEntryProps;
56
60
  }
57
61
  /**
58
62
  * Registered screen ids that can be used with createScreen.
@@ -1,4 +1,4 @@
1
- import { c as createRequestService, u as useConfig } from "./component-dpA83LIN.mjs";
1
+ import { c as createRequestService, u as useConfig } from "./component-Djrf1L-Z.mjs";
2
2
  function createCustomerService() {
3
3
  const request = createRequestService();
4
4
  const config = useConfig();
@@ -1 +1 @@
1
- const t=require("./component-ZRZIt3ZW.js");exports.createCustomerService=function(){const e=t.createRequestService(),r=t.useConfig();return{getCustomer:function(t){return e({url:`${r.apiUrls.config}/portal/customers/${t}`})},updateCustomer:function(t,o){return e({url:`${r.apiUrls.config}/portal/customers/${t}`,options:{method:"PATCH"},data:o})},checkTaxID:function(t){return e({url:`${r.apiUrls.config}/portal/customers/validate-tax-id`,options:{method:"POST"},data:t})}}};
1
+ const t=require("./component-BOqPDAVk.js");exports.createCustomerService=function(){const e=t.createRequestService(),r=t.useConfig();return{getCustomer:function(t){return e({url:`${r.apiUrls.config}/portal/customers/${t}`})},updateCustomer:function(t,o){return e({url:`${r.apiUrls.config}/portal/customers/${t}`,options:{method:"PATCH"},data:o})},checkTaxID:function(t){return e({url:`${r.apiUrls.config}/portal/customers/validate-tax-id`,options:{method:"POST"},data:t})}}};
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="{pricing} per {billing_period}",t={"addon_multiple_editor.add_to_subscription_button":"Add to subscription","addon_multiple_editor.description":"Select any number of products","addon_multiple_editor.unsupported_pricing_error":"Unsupported pricing","addon_single_editor.description.at_least_one":"Select at least one product","addon_single_editor.description.at_most_one":"Select up to one product","addon_single_editor.description.exactly_one":"Select one product","billing_information_form.submit_button.label":"Save changes","checkout.address.city.placeholder":"City...","checkout.address.line1.placeholder":"Address line 1...","checkout.address.line2.placeholder":"Address line 2...","checkout.address.portal_code.placeholder":"Postal code...","checkout.address.state.placeholder":"State...","checkout.address.title":"Billing address","checkout.agreement.subscription":"{subscription_amount}/{billing_period} until canceled, starting {start_date, date, long}.","checkout.agreement.trial":"{discounted_amount} for {trial_period}, then {subscription_amount}/{billing_period} until canceled, starting {start_date, date, ::MMMMd}.","checkout.agreement.trial.free":"Free","checkout.billing_details.add_billing_details_button.label":"More billing details","checkout.billing_details.remove_billing_details_button.label":"Remove billing details","checkout.billing_information_block.title":"Billing details","checkout.company_purchase_toggle.sub_title":"I am purchasing on behalf of a company","checkout.company_purchase_toggle.title":"Company purchase","checkout.contact_information_block.title":"Customer information","checkout.country.label":"Billing country","checkout.customize_plan_block.title":"Customize plan","checkout.email_address.label":"Email address","checkout.email_address.placeholder":"Email address...","checkout.express_payment_methods.divider_text":"Or","checkout.express_payment_methods.title":"Subscribe instantly with","checkout.first_name.label":"First name","checkout.first_name.placeholder":"First name...","checkout.invoice_preview.no_country_selected_message":"Please select a country first","checkout.invoice_preview.usage_based_message":"+ Usage","checkout.last_name.label":"Last name","checkout.last_name.placeholder":"Last name...","checkout.legal_name.label":"Legal entity name","checkout.legal_name.placeholder":"Legal entity name...","checkout.not_available.contact_support_message":"this page to try again, or contact customer support.","checkout.not_available.description":"The checkout is currently not available.","checkout.not_available.reload_button":"Reload","checkout.not_available.title":"Checkout not available","checkout.optional_suffix.label":"(optional)","checkout.order_summary_block.billing_period.label":"Billed {period}","checkout.order_summary_block.billing_period.per_label":"/{period}","checkout.order_summary_block.billing_period.per_quarter":"/quarter","checkout.order_summary_block.billing_period.quarterly":"Billed quarterly","checkout.order_summary_block.billing_period.save_badge.prefix":"Save {amount}","checkout.order_summary_block.billing_period.save_badge.suffix":"/year","checkout.order_summary_block.billing_period.sub_label":"{amount}{period}","checkout.order_summary_block.title":"Order summary","checkout.page_title":"Pay and subscribe","checkout.pay_and_subscribe_button.label":"Pay and subscribe","checkout.pay_and_subscribe_button_trial.label":"Start trial","checkout.payment_method_block.no_country_selected_message":"Payment methods will be shown after you select the billing country.","checkout.payment_method_block.no_country_selected_title":"Select your billing country","checkout.payment_method_block.no_payment_methods_available_message":"There are no available payment methods. Please contact support for more information.","checkout.payment_method_block.no_payment_methods_available_title":"No payment methods available","checkout.payment_method_block.title":"Payment method","checkout.payment_methods.no_country_selected_message":"Select a country to see the available payment methods","checkout.promotion_code.add_label":"Add promotion code","checkout.promotion_code.applied_label":"Promotion applied","checkout.promotion_code.applied_status":"Promotion code applied","checkout.promotion_code.apply_aria_label":"Apply promotion code","checkout.promotion_code.apply_button":"Apply","checkout.promotion_code.apply_failed":"Promotion code could not be applied. Please try again.","checkout.promotion_code.input_aria_label":"Promotion code","checkout.promotion_code.placeholder":"Promotion code","checkout.promotion_code.remove_aria_label":"Remove promotion code","checkout.promotion_code.remove_failed":"Promotion code could not be removed. Please try again.","checkout.promotion_code.removed_status":"Promotion code removed","checkout.subscription_description":"You will be billed <strong>{price}</strong> per {period_name}, starting today.","checkout.trial.label":"Trial","checkout.trial_period_description":"You will be billed <strong>{price}</strong> per {period_name}, starting {startDate, date, long}.","checkout.vat_number.check_button.label":"Check","checkout.vat_number.label":"VAT number","checkout.vat_number.placeholder":"VAT number...","components.payment_method_form.section_title":"Available payment methods","customer.invoice_table.pay_invoice_button.label":"Pay","customer.subscriptions_block.cancel_button_label":"Cancel subscription","customer.subscriptions_block.next_billing_date":"Next billing date","customer.subscriptions_block.renew_button_label":"Renew subscription","customer.subscriptions_block.show_details_button_label":"Subscription details","customer_overview.billing_information_block.load_failed.subtitle":"Please refresh or contact support.","customer_overview.billing_information_block.load_failed.title":"We can’t load your billing information","customer_overview.billing_information_block.title":"Billing information","customer_overview.billing_information_block.view_all_payment_methods_link_label":"Edit","customer_overview.payment_methods.title":"{count,plural,one{Payment method} other{Payment methods}}","customer_overview.payment_methods_block.add_payment_method_button_label":"Add payment method","customer_overview.payment_methods_block.add_payment_method_helper_text":"Add a payment method for recurring invoice payments.","customer_overview.payment_methods_block.view_all_payment_methods_link_label":"View all","customer_overview.subscriptions_block.fallback_subscription_name":"Subscription","customer_overview.subscriptions_block.no_active_subscription_content":"There’s no active subscription to display.","customer_overview.subscriptions_block.no_active_subscription_title":"No subscriptions","customer_overview.subscriptions_block.title":"{count,plural,one{My subscription} other{My subscriptions}}","customer_overview.subscriptions_block.view_all_button_label":"View all","customer_overview.wallet_balances_block.title":"{count,plural,one{Wallet} other{Wallets}}","empty_state.retry.button":"Refresh",empty_value_placeholder:"-","invoice_credits.balance.table_header":"Balance","invoice_credits.credit_breakdown.table_header":"Credit breakdown","invoice_credits.remaining.table_header":"Remaining","invoice_credits.used.table_header":"Used","invoice_preview.taxes_not_determined_by_billing_information_tooltip":"Will be determined by billing information","invoice_table.button.load_more":"Load more","invoice_table.chip.paid":"Paid","invoice_table.header.amount":"Amount","invoice_table.header.date":"Date","invoice_table.header.invoice_number":"Invoice","invoice_table.header.status":"Status","invoices_list.title":"Schedules","on_demand_pricing_row.add_to_cart_button_label":"Add to cart","on_demand_pricing_row.one_off_label":"one-off","on_demand_pricing_row.remove_button_label":"Remove","pay_button.label.amount_and_payment_method":"Pay {amount} with {type}","pay_button.label.amount_only":"Pay {amount}","pay_button.label.default":"Pay","pay_invoice.error.description":"Please try again or contact support.","pay_invoice.error.title":"Something went wrong","pay_invoice.paid.title":"Thank you for your payment!","pay_invoice.payment_methods.title":"Payment methods","payment_completed_card.redirect_message":"You are being redirected...","payment_completed_card.title.authorize":"Payment successful","payment_completed_card.title.tokenize":"Your payment method is added","payment_integration_form.select_payment_method_error":"Select a payment method","payments.retry_button.label":"Try again","pricing_group_multiple_editor.at_least_one_description":"Select at least one product",pricing_item_pricing:e,"pricing_item_pricing.unsupported_pricing_error":"Unsupported pricing","sdk.invoice_details.customer_billing_information.title":"Your billing information","sdk.invoice_details.invoice.download_pdf":"Download the PDF for a full breakdown","sdk.invoice_details.invoice.title":"Invoice","sdk.invoice_details.invoice_details_block.due_date":"Due date","sdk.invoice_details.invoice_details_block.invoice_date":"Invoice date","sdk.invoice_details.invoice_details_block.title":"Invoice details","sdk.invoice_details.payment_history.payment_attempt":"Payment attempt","sdk.invoice_details.payment_history.title":"Payment history","seats.label":"Seats","seats.price_per_seat_period":"{amount} per seat/{period}","seats.tiered_price_per_seat_period":"{amount} per seat/{period}","seats.tiered_pricing_label":"Tiered pricing","seats.tiered_range_label":"{lower_bound} - {upper_bound} seats","seats.tiered_unbounded_range_label":"> {lower_bound} seats","secure_payments_kpi.generic":"Secure and encrypted payments","secure_payments_kpi.specific_vendor":"Secure and encrypted payments by","subscription_payment_completed_card.continue":"Continue to merchant","subscription_payment_completed_card.thank_you_for_subscribing":"Thank you for subscribing.","subscription_payment_completed_card.title":"Payment successful","tax_check.invalid_vat_number":"VAT number is invalid.","tax_check.valid_vat_number":"VAT number is valid.","upgrade_subscription.empty_state":"No on-demand add-ons are available for this subscription.","upgrade_subscription.kpi.encrypted_payments.label":"Secure and encrypted payments","upgrade_subscription.order_summary.empty_state":"Select add-ons to see pricing.","upgrade_subscription.order_summary.one_off_label":"one-off","upgrade_subscription.order_summary.subtotal_label":"Total excluding taxes","upgrade_subscription.order_summary.taxes_label":"Taxes","upgrade_subscription.order_summary.title":"Order summary","upgrade_subscription.order_summary.total_label":"Total due today","upgrade_subscription.payment_picker.all_title":"All payment methods","upgrade_subscription.payment_picker.saved_title":"Saved payment methods","upgrade_subscription.pricing_row.add_button_label":"Add to cart","upgrade_subscription.pricing_row.one_off_label":"one-off","upgrade_subscription.pricing_row.remove_button_label":"Remove","upgrade_subscription.purchase_button.label":"Purchase","upgrade_subscription.purchase_error":"Something went wrong. Please try again.","upgrade_subscription.success.subtitle":"Your add-ons have been activated.","upgrade_subscription.success.title":"Payment successful","wallet_balance.credit_type_fallback_label":"Credits","wallet_balance.details.header":"Wallet balance","wallet_balance.load_failed":"Could not load wallet balances","wallet_balance.service_period_heading":"Service period - {startAt} - {endAt}","wallet_balance.wallet_ballance_title":"Balance"};exports.default=t,exports.empty_value_placeholder="-",exports.pricing_item_pricing=e;
@@ -0,0 +1,179 @@
1
+ const empty_value_placeholder = "-";
2
+ const pricing_item_pricing = "{pricing} per {billing_period}";
3
+ const enUS = {
4
+ "addon_multiple_editor.add_to_subscription_button": "Add to subscription",
5
+ "addon_multiple_editor.description": "Select any number of products",
6
+ "addon_multiple_editor.unsupported_pricing_error": "Unsupported pricing",
7
+ "addon_single_editor.description.at_least_one": "Select at least one product",
8
+ "addon_single_editor.description.at_most_one": "Select up to one product",
9
+ "addon_single_editor.description.exactly_one": "Select one product",
10
+ "billing_information_form.submit_button.label": "Save changes",
11
+ "checkout.address.city.placeholder": "City...",
12
+ "checkout.address.line1.placeholder": "Address line 1...",
13
+ "checkout.address.line2.placeholder": "Address line 2...",
14
+ "checkout.address.portal_code.placeholder": "Postal code...",
15
+ "checkout.address.state.placeholder": "State...",
16
+ "checkout.address.title": "Billing address",
17
+ "checkout.agreement.subscription": "{subscription_amount}/{billing_period} until canceled, starting {start_date, date, long}.",
18
+ "checkout.agreement.trial": "{discounted_amount} for {trial_period}, then {subscription_amount}/{billing_period} until canceled, starting {start_date, date, ::MMMMd}.",
19
+ "checkout.agreement.trial.free": "Free",
20
+ "checkout.billing_details.add_billing_details_button.label": "More billing details",
21
+ "checkout.billing_details.remove_billing_details_button.label": "Remove billing details",
22
+ "checkout.billing_information_block.title": "Billing details",
23
+ "checkout.company_purchase_toggle.sub_title": "I am purchasing on behalf of a company",
24
+ "checkout.company_purchase_toggle.title": "Company purchase",
25
+ "checkout.contact_information_block.title": "Customer information",
26
+ "checkout.country.label": "Billing country",
27
+ "checkout.customize_plan_block.title": "Customize plan",
28
+ "checkout.email_address.label": "Email address",
29
+ "checkout.email_address.placeholder": "Email address...",
30
+ "checkout.express_payment_methods.divider_text": "Or",
31
+ "checkout.express_payment_methods.title": "Subscribe instantly with",
32
+ "checkout.first_name.label": "First name",
33
+ "checkout.first_name.placeholder": "First name...",
34
+ "checkout.invoice_preview.no_country_selected_message": "Please select a country first",
35
+ "checkout.invoice_preview.usage_based_message": "+ Usage",
36
+ "checkout.last_name.label": "Last name",
37
+ "checkout.last_name.placeholder": "Last name...",
38
+ "checkout.legal_name.label": "Legal entity name",
39
+ "checkout.legal_name.placeholder": "Legal entity name...",
40
+ "checkout.not_available.contact_support_message": "this page to try again, or contact customer support.",
41
+ "checkout.not_available.description": "The checkout is currently not available.",
42
+ "checkout.not_available.reload_button": "Reload",
43
+ "checkout.not_available.title": "Checkout not available",
44
+ "checkout.optional_suffix.label": "(optional)",
45
+ "checkout.order_summary_block.billing_period.label": "Billed {period}",
46
+ "checkout.order_summary_block.billing_period.per_label": "/{period}",
47
+ "checkout.order_summary_block.billing_period.per_quarter": "/quarter",
48
+ "checkout.order_summary_block.billing_period.quarterly": "Billed quarterly",
49
+ "checkout.order_summary_block.billing_period.save_badge.prefix": "Save {amount}",
50
+ "checkout.order_summary_block.billing_period.save_badge.suffix": "/year",
51
+ "checkout.order_summary_block.billing_period.sub_label": "{amount}{period}",
52
+ "checkout.order_summary_block.title": "Order summary",
53
+ "checkout.page_title": "Pay and subscribe",
54
+ "checkout.pay_and_subscribe_button.label": "Pay and subscribe",
55
+ "checkout.pay_and_subscribe_button_trial.label": "Start trial",
56
+ "checkout.payment_method_block.no_country_selected_message": "Payment methods will be shown after you select the billing country.",
57
+ "checkout.payment_method_block.no_country_selected_title": "Select your billing country",
58
+ "checkout.payment_method_block.no_payment_methods_available_message": "There are no available payment methods. Please contact support for more information.",
59
+ "checkout.payment_method_block.no_payment_methods_available_title": "No payment methods available",
60
+ "checkout.payment_method_block.title": "Payment method",
61
+ "checkout.payment_methods.no_country_selected_message": "Select a country to see the available payment methods",
62
+ "checkout.promotion_code.add_label": "Add promotion code",
63
+ "checkout.promotion_code.applied_label": "Promotion applied",
64
+ "checkout.promotion_code.applied_status": "Promotion code applied",
65
+ "checkout.promotion_code.apply_aria_label": "Apply promotion code",
66
+ "checkout.promotion_code.apply_button": "Apply",
67
+ "checkout.promotion_code.apply_failed": "Promotion code could not be applied. Please try again.",
68
+ "checkout.promotion_code.input_aria_label": "Promotion code",
69
+ "checkout.promotion_code.placeholder": "Promotion code",
70
+ "checkout.promotion_code.remove_aria_label": "Remove promotion code",
71
+ "checkout.promotion_code.remove_failed": "Promotion code could not be removed. Please try again.",
72
+ "checkout.promotion_code.removed_status": "Promotion code removed",
73
+ "checkout.subscription_description": "You will be billed <strong>{price}</strong> per {period_name}, starting today.",
74
+ "checkout.trial.label": "Trial",
75
+ "checkout.trial_period_description": "You will be billed <strong>{price}</strong> per {period_name}, starting {startDate, date, long}.",
76
+ "checkout.vat_number.check_button.label": "Check",
77
+ "checkout.vat_number.label": "VAT number",
78
+ "checkout.vat_number.placeholder": "VAT number...",
79
+ "components.payment_method_form.section_title": "Available payment methods",
80
+ "customer.invoice_table.pay_invoice_button.label": "Pay",
81
+ "customer.subscriptions_block.cancel_button_label": "Cancel subscription",
82
+ "customer.subscriptions_block.next_billing_date": "Next billing date",
83
+ "customer.subscriptions_block.renew_button_label": "Renew subscription",
84
+ "customer.subscriptions_block.show_details_button_label": "Subscription details",
85
+ "customer_overview.billing_information_block.load_failed.subtitle": "Please refresh or contact support.",
86
+ "customer_overview.billing_information_block.load_failed.title": "We can’t load your billing information",
87
+ "customer_overview.billing_information_block.title": "Billing information",
88
+ "customer_overview.billing_information_block.view_all_payment_methods_link_label": "Edit",
89
+ "customer_overview.payment_methods.title": "{count,plural,one{Payment method} other{Payment methods}}",
90
+ "customer_overview.payment_methods_block.add_payment_method_button_label": "Add payment method",
91
+ "customer_overview.payment_methods_block.add_payment_method_helper_text": "Add a payment method for recurring invoice payments.",
92
+ "customer_overview.payment_methods_block.view_all_payment_methods_link_label": "View all",
93
+ "customer_overview.subscriptions_block.fallback_subscription_name": "Subscription",
94
+ "customer_overview.subscriptions_block.no_active_subscription_content": "There’s no active subscription to display.",
95
+ "customer_overview.subscriptions_block.no_active_subscription_title": "No subscriptions",
96
+ "customer_overview.subscriptions_block.title": "{count,plural,one{My subscription} other{My subscriptions}}",
97
+ "customer_overview.subscriptions_block.view_all_button_label": "View all",
98
+ "customer_overview.wallet_balances_block.title": "{count,plural,one{Wallet} other{Wallets}}",
99
+ "empty_state.retry.button": "Refresh",
100
+ empty_value_placeholder,
101
+ "invoice_credits.balance.table_header": "Balance",
102
+ "invoice_credits.credit_breakdown.table_header": "Credit breakdown",
103
+ "invoice_credits.remaining.table_header": "Remaining",
104
+ "invoice_credits.used.table_header": "Used",
105
+ "invoice_preview.taxes_not_determined_by_billing_information_tooltip": "Will be determined by billing information",
106
+ "invoice_table.button.load_more": "Load more",
107
+ "invoice_table.chip.paid": "Paid",
108
+ "invoice_table.header.amount": "Amount",
109
+ "invoice_table.header.date": "Date",
110
+ "invoice_table.header.invoice_number": "Invoice",
111
+ "invoice_table.header.status": "Status",
112
+ "invoices_list.title": "Schedules",
113
+ "on_demand_pricing_row.add_to_cart_button_label": "Add to cart",
114
+ "on_demand_pricing_row.one_off_label": "one-off",
115
+ "on_demand_pricing_row.remove_button_label": "Remove",
116
+ "pay_button.label.amount_and_payment_method": "Pay {amount} with {type}",
117
+ "pay_button.label.amount_only": "Pay {amount}",
118
+ "pay_button.label.default": "Pay",
119
+ "pay_invoice.error.description": "Please try again or contact support.",
120
+ "pay_invoice.error.title": "Something went wrong",
121
+ "pay_invoice.paid.title": "Thank you for your payment!",
122
+ "pay_invoice.payment_methods.title": "Payment methods",
123
+ "payment_completed_card.redirect_message": "You are being redirected...",
124
+ "payment_completed_card.title.authorize": "Payment successful",
125
+ "payment_completed_card.title.tokenize": "Your payment method is added",
126
+ "payment_integration_form.select_payment_method_error": "Select a payment method",
127
+ "payments.retry_button.label": "Try again",
128
+ "pricing_group_multiple_editor.at_least_one_description": "Select at least one product",
129
+ pricing_item_pricing,
130
+ "pricing_item_pricing.unsupported_pricing_error": "Unsupported pricing",
131
+ "sdk.invoice_details.customer_billing_information.title": "Your billing information",
132
+ "sdk.invoice_details.invoice.download_pdf": "Download the PDF for a full breakdown",
133
+ "sdk.invoice_details.invoice.title": "Invoice",
134
+ "sdk.invoice_details.invoice_details_block.due_date": "Due date",
135
+ "sdk.invoice_details.invoice_details_block.invoice_date": "Invoice date",
136
+ "sdk.invoice_details.invoice_details_block.title": "Invoice details",
137
+ "sdk.invoice_details.payment_history.payment_attempt": "Payment attempt",
138
+ "sdk.invoice_details.payment_history.title": "Payment history",
139
+ "seats.label": "Seats",
140
+ "seats.price_per_seat_period": "{amount} per seat/{period}",
141
+ "seats.tiered_price_per_seat_period": "{amount} per seat/{period}",
142
+ "seats.tiered_pricing_label": "Tiered pricing",
143
+ "seats.tiered_range_label": "{lower_bound} - {upper_bound} seats",
144
+ "seats.tiered_unbounded_range_label": "> {lower_bound} seats",
145
+ "secure_payments_kpi.generic": "Secure and encrypted payments",
146
+ "secure_payments_kpi.specific_vendor": "Secure and encrypted payments by",
147
+ "subscription_payment_completed_card.continue": "Continue to merchant",
148
+ "subscription_payment_completed_card.thank_you_for_subscribing": "Thank you for subscribing.",
149
+ "subscription_payment_completed_card.title": "Payment successful",
150
+ "tax_check.invalid_vat_number": "VAT number is invalid.",
151
+ "tax_check.valid_vat_number": "VAT number is valid.",
152
+ "upgrade_subscription.empty_state": "No on-demand add-ons are available for this subscription.",
153
+ "upgrade_subscription.kpi.encrypted_payments.label": "Secure and encrypted payments",
154
+ "upgrade_subscription.order_summary.empty_state": "Select add-ons to see pricing.",
155
+ "upgrade_subscription.order_summary.one_off_label": "one-off",
156
+ "upgrade_subscription.order_summary.subtotal_label": "Total excluding taxes",
157
+ "upgrade_subscription.order_summary.taxes_label": "Taxes",
158
+ "upgrade_subscription.order_summary.title": "Order summary",
159
+ "upgrade_subscription.order_summary.total_label": "Total due today",
160
+ "upgrade_subscription.payment_picker.all_title": "All payment methods",
161
+ "upgrade_subscription.payment_picker.saved_title": "Saved payment methods",
162
+ "upgrade_subscription.pricing_row.add_button_label": "Add to cart",
163
+ "upgrade_subscription.pricing_row.one_off_label": "one-off",
164
+ "upgrade_subscription.pricing_row.remove_button_label": "Remove",
165
+ "upgrade_subscription.purchase_button.label": "Purchase",
166
+ "upgrade_subscription.purchase_error": "Something went wrong. Please try again.",
167
+ "upgrade_subscription.success.subtitle": "Your add-ons have been activated.",
168
+ "upgrade_subscription.success.title": "Payment successful",
169
+ "wallet_balance.credit_type_fallback_label": "Credits",
170
+ "wallet_balance.details.header": "Wallet balance",
171
+ "wallet_balance.load_failed": "Could not load wallet balances",
172
+ "wallet_balance.service_period_heading": "Service period - {startAt} - {endAt}",
173
+ "wallet_balance.wallet_ballance_title": "Balance"
174
+ };
175
+ export {
176
+ enUS as default,
177
+ empty_value_placeholder,
178
+ pricing_item_pricing
179
+ };
@@ -0,0 +1,85 @@
1
+ import { unref } from "vue";
2
+ const req = (value) => {
3
+ value = unref(value);
4
+ if (Array.isArray(value)) return !!value.length;
5
+ if (value === void 0 || value === null) {
6
+ return false;
7
+ }
8
+ if (value === false) {
9
+ return true;
10
+ }
11
+ if (value instanceof Date) {
12
+ return !isNaN(value.getTime());
13
+ }
14
+ if (typeof value === "object") {
15
+ for (let _ in value) return true;
16
+ return false;
17
+ }
18
+ return !!String(value).length;
19
+ };
20
+ function regex() {
21
+ for (var _len = arguments.length, expr = new Array(_len), _key = 0; _key < _len; _key++) {
22
+ expr[_key] = arguments[_key];
23
+ }
24
+ return (value) => {
25
+ value = unref(value);
26
+ return !req(value) || expr.every((reg) => {
27
+ reg.lastIndex = 0;
28
+ return reg.test(value);
29
+ });
30
+ };
31
+ }
32
+ regex(/^[a-zA-Z]*$/);
33
+ regex(/^[a-zA-Z0-9]*$/);
34
+ regex(/^\d*(\.\d+)?$/);
35
+ const emailRegex = /^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;
36
+ var email$1 = regex(emailRegex);
37
+ var email = {
38
+ $validator: email$1,
39
+ $message: "Value is not a valid email address",
40
+ $params: {
41
+ type: "email"
42
+ }
43
+ };
44
+ function required$1(value) {
45
+ if (typeof value === "string") {
46
+ value = value.trim();
47
+ }
48
+ return req(value);
49
+ }
50
+ var required = {
51
+ $validator: required$1,
52
+ $message: "Value is required",
53
+ $params: {
54
+ type: "required"
55
+ }
56
+ };
57
+ const validate$1 = (prop, val) => prop ? req(typeof val === "string" ? val.trim() : val) : true;
58
+ function requiredIf$1(propOrFunction) {
59
+ return function(value, parentVM) {
60
+ if (typeof propOrFunction !== "function") {
61
+ return validate$1(unref(propOrFunction), value);
62
+ }
63
+ const result = propOrFunction.call(this, value, parentVM);
64
+ return validate$1(result, value);
65
+ };
66
+ }
67
+ function requiredIf(prop) {
68
+ return {
69
+ $validator: requiredIf$1(prop),
70
+ $message: "The value is required",
71
+ $params: {
72
+ type: "requiredIf",
73
+ prop
74
+ }
75
+ };
76
+ }
77
+ const urlRegex = /^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;
78
+ regex(urlRegex);
79
+ regex(/(^[0-9]*$)|(^-[0-9]+$)/);
80
+ regex(/^[-]?\d*(\.\d+)?$/);
81
+ export {
82
+ requiredIf as a,
83
+ email as e,
84
+ required as r
85
+ };