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

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 (202) hide show
  1. package/dist/ApiStatus-CyNDp_op.mjs +9 -0
  2. package/dist/ApiStatus-oqvUEWJx.js +1 -0
  3. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C-C0i6i6.js +1 -0
  4. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-CupcH8TZ.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-CT0Tjsnw.mjs} +2 -4
  5. package/dist/{ContentWithAsideLayout-Ct24RV-2.mjs → ContentWithAsideLayout-BTdixy3L.mjs} +2 -11
  6. package/dist/ContentWithAsideLayout-oAYVrLvL.js +1 -0
  7. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZJ0xukI.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CK73bYUe.mjs} +2 -5
  8. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CLU7Yiyx.js +1 -0
  9. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B_WLgBur.js +1 -0
  10. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DsrBsrtk.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dt_Vb7Wz.mjs} +1 -2
  11. package/dist/PaymentHistoryBlock-DHM-3fh-.js +1 -0
  12. package/dist/PaymentHistoryBlock-YzJ6bxKr.mjs +4 -0
  13. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BnKwmJ2s.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D6Cr2Uga.mjs} +1 -5
  14. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DFw8lrDv.js +1 -0
  15. package/dist/PaymentIntegrationForm-Cl5ua8v8.js +1 -0
  16. package/dist/PaymentIntegrationForm-ID4QnvA3.mjs +4 -0
  17. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BE1lWOk9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CVWPT3Ni.mjs} +32 -189
  18. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DifRn1ok.js +1 -0
  19. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-CKNMt-JH.js +1 -0
  20. package/dist/{PricingGroupContent.vue_vue_type_script_setup_true_lang-BbvDXvIS.mjs → PricingGroupContent.vue_vue_type_script_setup_true_lang-CzS32ZUt.mjs} +5 -31
  21. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DVhJy0t8.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BIxGqr9U.mjs} +4 -7
  22. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CpEqDnO3.js +1 -0
  23. package/dist/adyenLoader-CEH4A2b2.js +1 -0
  24. package/dist/adyenLoader-gsbzSjYV.mjs +177 -0
  25. package/dist/component-C2Gc-wsE.js +1 -0
  26. package/dist/component-CM9g6tbD.mjs +804 -0
  27. package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
  28. package/dist/components/BillingInformation/BillingInformation.es.js +3 -7
  29. package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
  30. package/dist/components/BillingInformationForm/BillingInformationForm.es.js +9 -17
  31. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
  32. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +3 -7
  33. package/dist/components/Invoice/Invoice.cjs.js +1 -1
  34. package/dist/components/Invoice/Invoice.es.js +42 -2659
  35. package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
  36. package/dist/components/InvoiceDetails/InvoiceDetails.es.js +3 -7
  37. package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
  38. package/dist/components/InvoicesList/InvoicesList.es.js +2 -6
  39. package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
  40. package/dist/components/PaymentHistory/PaymentHistory.es.js +3 -7
  41. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
  42. package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +7 -33
  43. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
  44. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +8 -4824
  45. package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
  46. package/dist/components/SubscriptionsList/SubscriptionsList.es.js +4 -8
  47. package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
  48. package/dist/components/WalletBalances/WalletBalances.es.js +3 -7
  49. package/dist/core/index.cjs.js +1 -1
  50. package/dist/core/index.es.js +1 -1
  51. package/dist/core/types.d.ts +2 -0
  52. package/dist/{customer-CcQR-JIm.js → customer-C_Hz_npf.js} +1 -1
  53. package/dist/{customer-CJrpbGX4.mjs → customer-TIi7iZFw.mjs} +1 -1
  54. package/dist/en-US-CBoPxQwX.mjs +199 -0
  55. package/dist/en-US-DJq-9dD8.js +1 -0
  56. package/dist/index-CzL1ZcGi.mjs +85 -0
  57. package/dist/index-DRdBmZ2-.js +1 -0
  58. package/dist/index.cjs.js +1 -1
  59. package/dist/index.d.ts +1 -0
  60. package/dist/index.es.js +4 -1
  61. package/dist/{invoices-CNK1Ushv.mjs → invoices-BuVOuTOm.mjs} +2 -15
  62. package/dist/invoices-DbvwXAsm.js +1 -0
  63. package/dist/nl-NL-BB7KbK-h.mjs +181 -0
  64. package/dist/nl-NL-CtU1Lg2F.js +1 -0
  65. package/dist/paymentMethods-B4AYGf0K.js +1 -0
  66. package/dist/{paymentMethods-C-ApE-G4.mjs → paymentMethods-Di32oJ39.mjs} +2 -2
  67. package/dist/{payments-CE9U7aKK.mjs → payments-C5fD1PXB.mjs} +1 -1
  68. package/dist/{payments-CLt0SExf.js → payments-DeutKq9x.js} +1 -1
  69. package/dist/{registry-B99ZnfEn.mjs → registry-BLwMl1bK.mjs} +6 -4
  70. package/dist/registry-CMSmkLcy.js +1 -0
  71. package/dist/screens/Checkout/Checkout.cjs.js +1 -1
  72. package/dist/screens/Checkout/Checkout.es.js +420 -2388
  73. package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
  74. package/dist/screens/CustomerOverview/CustomerOverview.es.js +13 -14
  75. package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +3 -0
  76. package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -0
  77. package/dist/screens/PayInvoice/PayInvoice.es.js +456 -0
  78. package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -1
  79. package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +79 -61
  80. package/dist/solvimon-web.css +1 -1
  81. package/dist/source-DKDKBlUm.mjs +179 -0
  82. package/dist/source-dkMNFWDc.js +1 -0
  83. package/dist/{subscriptions-CoeCrY1I.mjs → subscriptions-mOgjjzUi.mjs} +2 -2
  84. package/dist/subscriptions-wdMADcQZ.js +1 -0
  85. package/dist/{useActionDispatchProvider-eO2qFPGv.mjs → useActionDispatchProvider-B4gszz0Q.mjs} +1 -1
  86. package/dist/{useActionDispatchProvider-CWVV_xsi.js → useActionDispatchProvider-DfS2P0bd.js} +1 -1
  87. package/dist/{useCustomer-PthyTFLl.js → useCustomer-DanZzn-l.js} +1 -1
  88. package/dist/{useCustomer--jycAz--.mjs → useCustomer-cbhDyWJL.mjs} +2 -2
  89. package/dist/useIncrementalLoading-DFe5Yh8M.js +1 -0
  90. package/dist/{useIncrementalLoading-CcnL3flF.mjs → useIncrementalLoading-RRicokf1.mjs} +3 -8
  91. package/dist/useInvoiceData-CxxHa5R2.js +1 -0
  92. package/dist/{useInvoiceData-BiMMoVoW.mjs → useInvoiceData-fS6G_244.mjs} +6 -12
  93. package/dist/{useInvoicesList-DFhF_gp7.mjs → useInvoicesList-BQQxcPdz.mjs} +23 -260
  94. package/dist/useInvoicesList-CtJqmblZ.js +1 -0
  95. package/dist/usePaymentMethodOptions-2MloZ9bY.mjs +26 -0
  96. package/dist/usePaymentMethodOptions-D01YWW3G.js +1 -0
  97. package/dist/{usePaymentMethods-BRQ7-dUr.js → usePaymentMethods-Cm9WdSW0.js} +1 -1
  98. package/dist/{usePaymentMethods-BX2RnHZN.mjs → usePaymentMethods-DZvfWSlx.mjs} +2 -2
  99. package/dist/usePayments-B13S_yai.js +1 -0
  100. package/dist/usePayments-D4uGKBsV.mjs +36 -0
  101. package/dist/usePortal-DJDJNLbo.mjs +12 -0
  102. package/dist/usePortal-DWJEVkTj.js +1 -0
  103. package/dist/useService-9fCKPTmu.js +1 -0
  104. package/dist/useService-BuWWE5ND.mjs +68 -0
  105. package/dist/useViewport-Bu0cyeSi.mjs +38 -0
  106. package/dist/useViewport-CKRY1CKR.js +1 -0
  107. package/dist/useWalletBalanceItems-B53Gkjro.mjs +106 -0
  108. package/dist/useWalletBalanceItems-BMaVT4TW.js +1 -0
  109. package/dist/useWatchDebounced-2ZLnfgvG.js +1 -0
  110. package/dist/useWatchDebounced-D1xuIX6_.mjs +12 -0
  111. package/dist/vendor-ui-BwxuPDg8.mjs +28598 -0
  112. package/dist/vendor-ui-Ce_Yp7xA.js +1 -0
  113. package/package.json +17 -10
  114. package/dist/Alert.vue.es-DMPvSykx.js +0 -1
  115. package/dist/Alert.vue.es-DsJ1ckRU.mjs +0 -172
  116. package/dist/Amount.vue.es-C6JE5rL8.mjs +0 -23
  117. package/dist/Amount.vue.es-h8wulbBG.js +0 -1
  118. package/dist/Avatar.vue.es-Ba8ZGfm4.mjs +0 -93
  119. package/dist/Avatar.vue.es-BbyE0AjW.js +0 -1
  120. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C4Ndo83E.js +0 -1
  121. package/dist/Button.vue.es-6sBk5tBL.mjs +0 -408
  122. package/dist/Button.vue.es-BC4_TItq.js +0 -1
  123. package/dist/CardContent.vue.es-ChEMrFCc.mjs +0 -115
  124. package/dist/CardContent.vue.es-i9ivuGKG.js +0 -1
  125. package/dist/Chip.vue.es-D0fkSe8a.js +0 -1
  126. package/dist/Chip.vue.es-DcW2CjUA.mjs +0 -1576
  127. package/dist/Comparators.vue.es-BdxDqU8o.js +0 -1
  128. package/dist/Comparators.vue.es-DdTKGB80.mjs +0 -406
  129. package/dist/ContentWithAsideLayout-UHovpjZu.js +0 -1
  130. package/dist/CustomerBillingInformation.vue.es-9rP7-RzN.js +0 -1
  131. package/dist/CustomerBillingInformation.vue.es-DBMl01Es.mjs +0 -175
  132. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CYTCcMgP.js +0 -1
  133. package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
  134. package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
  135. package/dist/DividerText.vue.es-B7oa5Xpn.mjs +0 -72
  136. package/dist/DividerText.vue.es-yiFdPQvo.js +0 -1
  137. package/dist/ErrorNotification.vue.es-Bgw0MIl8.mjs +0 -30
  138. package/dist/ErrorNotification.vue.es-FpRyg0De.js +0 -1
  139. package/dist/FormMessage.vue.es-DFQXxiSC.mjs +0 -46
  140. package/dist/FormMessage.vue.es-LeWoj774.js +0 -1
  141. package/dist/IconButton.vue.es-DNCwwH_j.mjs +0 -825
  142. package/dist/IconButton.vue.es-DiSiGPWO.js +0 -1
  143. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BDitcx8B.js +0 -1
  144. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-6yi47YWd.js +0 -1
  145. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CC3hm3nx.js +0 -1
  146. package/dist/PaymentMethod.vue.es-DYlnmZh7.js +0 -1
  147. package/dist/PaymentMethod.vue.es-nXZoQjG3.mjs +0 -1255
  148. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-CmQILA3q.js +0 -1
  149. package/dist/Section.vue.es-3-H1pUTB.mjs +0 -79
  150. package/dist/Section.vue.es-BuzTXRLP.js +0 -1
  151. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Pq3d7DTb.js +0 -1
  152. package/dist/TooltipParagraph.vue.es-DVJLF9Kv.mjs +0 -136
  153. package/dist/TooltipParagraph.vue.es-kTbRGoPF.js +0 -1
  154. package/dist/TrialChip.vue.es-BHYbW8b6.mjs +0 -759
  155. package/dist/TrialChip.vue.es-C6Xg_5rR.js +0 -1
  156. package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
  157. package/dist/_Uint8Array-DxISR7XF.js +0 -1
  158. package/dist/_flatRest.es-BHFPCqZh.mjs +0 -642
  159. package/dist/_flatRest.es-dFffnTpX.js +0 -1
  160. package/dist/api.es-B4qAAJKr.js +0 -1
  161. package/dist/api.es-UkfpLiLL.mjs +0 -83
  162. package/dist/cloneDeep-Hs8Pp07F.js +0 -1
  163. package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
  164. package/dist/cn.es-C7xoIs3C.js +0 -1
  165. package/dist/cn.es-tfxVlz02.mjs +0 -3191
  166. package/dist/component-ZRZIt3ZW.js +0 -1
  167. package/dist/component-dpA83LIN.mjs +0 -6569
  168. package/dist/countryData.es--zJAd6LA.mjs +0 -252
  169. package/dist/countryData.es-D3MFzU92.js +0 -1
  170. package/dist/customer.es-D42Md24r.js +0 -1
  171. package/dist/customer.es-LIW2YmLL.mjs +0 -30
  172. package/dist/formatting.es-9hM8aHSg.js +0 -1
  173. package/dist/formatting.es-D5H_ySFv.mjs +0 -68
  174. package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
  175. package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
  176. package/dist/index-2jo9BSPM.js +0 -1
  177. package/dist/index-BFZ0dPh9.mjs +0 -179
  178. package/dist/index-CI71bVGE.mjs +0 -2521
  179. package/dist/index-CWSXne1Q.js +0 -1
  180. package/dist/index-D3v7hAtc.mjs +0 -253
  181. package/dist/index-WLSPwi90.js +0 -1
  182. package/dist/index.es-BBJF2O2l.js +0 -1
  183. package/dist/index.es-LCAKs4tH.mjs +0 -438
  184. package/dist/invoices-3kVHsAXr.js +0 -1
  185. package/dist/isEmpty.es-Bp1SbWFu.mjs +0 -131
  186. package/dist/isEmpty.es-Dycf-CD_.js +0 -1
  187. package/dist/paymentMethods-DZRf0WRl.js +0 -1
  188. package/dist/pick.es-BgDAfhAl.js +0 -1
  189. package/dist/pick.es-DdVOyp0Q.mjs +0 -45
  190. package/dist/registry-ClZ43bQn.js +0 -1
  191. package/dist/sprite.svg.es-CCc3Mz1x.js +0 -1
  192. package/dist/sprite.svg.es-DZD704h3.mjs +0 -4
  193. package/dist/subscriptions-CS8HTxzC.js +0 -1
  194. package/dist/typeGuards.es-C4nR5FkL.js +0 -1
  195. package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
  196. package/dist/useIncrementalLoading-CAdNW-Bf.js +0 -1
  197. package/dist/useInvoiceData-DvQO_nKz.js +0 -1
  198. package/dist/useInvoicesList-CHkwSNO9.js +0 -1
  199. package/dist/useService-B67YWAcN.js +0 -1
  200. package/dist/useService-DG_zedHV.mjs +0 -282
  201. package/dist/useWalletBalanceItems-B5FMmoU2.mjs +0 -308
  202. 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-CpEqDnO3.js"),t=require("../../component-C2Gc-wsE.js"),r=require("../../useCustomer-DanZzn-l.js"),n=require("../../useLoadInitialData-BRg7IWqW.js"),l=require("../../usePaymentMethods-Cm9WdSW0.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},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,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==(l=null==(n=i.branding)?void 0:n.colors)?void 0:l.primary,"secondary-color":null==(d=null==(a=i.branding)?void 0:a.colors)?void 0:d.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},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},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),{"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,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";
2
+ import { u as useSubscriptionsList, _ as _sfc_main$3 } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-BIxGqr9U.mjs";
3
+ import { _ as _sfc_main$2, d as defineCustomElement, g as getComponentName } from "../../component-CM9g6tbD.mjs";
4
+ import { u as useCustomer } from "../../useCustomer-cbhDyWJL.mjs";
5
5
  import { u as useLoadInitialData } from "../../useLoadInitialData-Dm48tlSO.mjs";
6
- import { u as usePaymentMethods } from "../../usePaymentMethods-BX2RnHZN.mjs";
6
+ import { u as usePaymentMethods } from "../../usePaymentMethods-DZvfWSlx.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,6 @@ 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 },
24
22
  branding: { type: Object },
25
23
  configuration: { type: Object }
26
24
  },
@@ -71,7 +69,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
71
69
  locale: { type: String },
72
70
  dateLocale: { type: String },
73
71
  messages: { type: Object },
74
- showTimezones: { type: Boolean },
75
72
  primaryColor: { type: String },
76
73
  secondaryColor: { type: String },
77
74
  isShadowRoot: { type: Boolean },
@@ -80,7 +77,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
77
  onLog: { type: Function },
81
78
  allowedPortalTypes: { type: Array },
82
79
  portalObject: { type: Object },
83
- customElementName: { type: String },
84
80
  branding: { type: Object },
85
81
  configuration: { type: Object }
86
82
  },
@@ -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-BMaVT4TW.js"),l=require("../../useLoadInitialData-BRg7IWqW.js"),o=require("../../component-C2Gc-wsE.js"),r=e.defineComponent({__name:"WalletBalances",props:{hasError:{type:Boolean},isLoading:{type:Boolean},walletBalances:{type:Array}},setup:t=>(l,o)=>(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"]))}),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},branding:{type:Object}},setup(t){const o=t.portalObject.customer_id,r=a.useCustomerWalletBalances({customerId:o}),n=a.useWalletBalanceItems(r.walletBalances),{isLoading:s}=l.useLoadInitialData(r.fetch());return(t,a)=>e.renderSlot(t.$slots,"default",{customerWalletBalances:e.unref(r),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},branding:{type:Object}},setup:a=>(l,s)=>{var i,c,u,m;return e.openBlock(),e.createBlock(e.unref(o._sfc_main),{"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==(m=null==(u=a.branding)?void 0:u.colors)?void 0:m.secondary,"experimental-features":a.experimentalFeatures,"log-level":a.logLevel,"on-log":a.onLog,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:o})=>[e.createVNode(r,{"has-error":a.apiStatus.value===e.unref(t.ApiStatus).Failed,"is-loading":o,"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"])}}),i=o.defineCustomElement(s),p=o.getComponentName("wallet-balances");exports.COMPONENT_NAME=p,exports.SolvimonWalletBalances=i,exports.defineSolvimonWalletBalances=()=>{customElements.get(p)||customElements.define(p,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";
2
+ import { A as ApiStatus } from "../../ApiStatus-CyNDp_op.mjs";
3
+ import { _ as _sfc_main$3, u as useCustomerWalletBalances, a as useWalletBalanceItems } from "../../useWalletBalanceItems-B53Gkjro.mjs";
4
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";
5
+ import { _ as _sfc_main$4, d as defineCustomElement, g as getComponentName } from "../../component-CM9g6tbD.mjs";
6
6
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7
7
  __name: "WalletBalances",
8
8
  props: {
@@ -28,7 +28,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
28
28
  locale: { type: String },
29
29
  dateLocale: { type: String },
30
30
  messages: { type: Object },
31
- showTimezones: { type: Boolean },
32
31
  primaryColor: { type: String },
33
32
  secondaryColor: { type: String },
34
33
  isShadowRoot: { type: Boolean },
@@ -36,7 +35,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
36
35
  logLevel: { type: String },
37
36
  onLog: { type: Function },
38
37
  allowedPortalTypes: { type: Array },
39
- customElementName: { type: String },
40
38
  branding: { type: Object }
41
39
  },
42
40
  setup(__props) {
@@ -62,7 +60,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
62
60
  locale: { type: String },
63
61
  dateLocale: { type: String },
64
62
  messages: { type: Object },
65
- showTimezones: { type: Boolean },
66
63
  primaryColor: { type: String },
67
64
  secondaryColor: { type: String },
68
65
  isShadowRoot: { type: Boolean },
@@ -70,7 +67,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
67
  logLevel: { type: String },
71
68
  onLog: { type: Function },
72
69
  allowedPortalTypes: { type: Array },
73
- customElementName: { type: String },
74
70
  branding: { type: Object }
75
71
  },
76
72
  setup(__props) {
@@ -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-CMSmkLcy.js");exports.createSolvimonCore=e.createSolvimonCore,exports.getRegisteredComponentIds=e.getRegisteredComponentIds,exports.getRegisteredScreenIds=e.getRegisteredScreenIds;
@@ -1,4 +1,4 @@
1
- import { c, g, a } from "../registry-B99ZnfEn.mjs";
1
+ import { c, g, a } from "../registry-BLwMl1bK.mjs";
2
2
  export {
3
3
  c as createSolvimonCore,
4
4
  g as getRegisteredComponentIds,
@@ -14,6 +14,7 @@ import { SolvimonWalletBalancesEntryProps } from '../components/WalletBalances/W
14
14
  import { SolvimonCheckoutEntryProps } from '../screens/Checkout/Checkout.entry.types';
15
15
  import { SolvimonCustomerOverviewEntryProps } from '../screens/CustomerOverview/CustomerOverview.entry.types';
16
16
  import { SolvimonUpgradeSubscriptionEntryProps } from '../screens/UpgradeSubscription/UpgradeSubscription.entry.types';
17
+ import { SolvimonPayInvoiceEntryProps } from '../screens/PayInvoice/PayInvoice.entry.types';
17
18
  /**
18
19
  * Shared configuration passed to all mounted Solvimon components and screens.
19
20
  * Extends the base entry props (environment, locale, branding, etc.).
@@ -53,6 +54,7 @@ interface RegisteredScreenEntryPropsById {
53
54
  checkout: SolvimonCheckoutEntryProps;
54
55
  'customer-overview': SolvimonCustomerOverviewEntryProps;
55
56
  'upgrade-subscription': SolvimonUpgradeSubscriptionEntryProps;
57
+ 'pay-invoice': SolvimonPayInvoiceEntryProps;
56
58
  }
57
59
  /**
58
60
  * Registered screen ids that can be used with createScreen.
@@ -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-C2Gc-wsE.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,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-CM9g6tbD.mjs";
2
2
  function createCustomerService() {
3
3
  const request = createRequestService();
4
4
  const config = useConfig();
@@ -0,0 +1,199 @@
1
+ const empty_value_placeholder = "-";
2
+ const pricing_item_pricing = "{pricing} per {billing_period}";
3
+ const enUS = {
4
+ "123456": "Select one product",
5
+ "addon_multiple_editor.add_to_subscription_button": "Add to subscription",
6
+ "addon_multiple_editor.description": "Select any number of products",
7
+ "addon_multiple_editor.unsupported_pricing_error": "Unsupported pricing",
8
+ "addon_single_editor.description.at_least_one": "Select at least one product",
9
+ "addon_single_editor.description.at_most_one": "Select up to one product",
10
+ "addon_single_editor.description.exactly_one": "Select one product",
11
+ "billing_information_form.submit_button.label": "Save changes",
12
+ "checkout.address.city.placeholder": "City...",
13
+ "checkout.address.line1.placeholder": "Address line 1...",
14
+ "checkout.address.line2.placeholder": "Address line 2...",
15
+ "checkout.address.portal_code.placeholder": "Postal code...",
16
+ "checkout.address.state.placeholder": "State...",
17
+ "checkout.address.title": "Billing address",
18
+ "checkout.agreement.subscription": "{subscription_amount}/{billing_period} until canceled, starting {start_date, date, long}.",
19
+ "checkout.agreement.trial": "{discounted_amount} for {trial_period}, then {subscription_amount}/{billing_period} until canceled, starting {start_date, date, ::MMMMd}.",
20
+ "checkout.agreement.trial.free": "Free",
21
+ "checkout.billing_details.add_billing_details_button.label": "More billing details",
22
+ "checkout.billing_details.remove_billing_details_button.label": "Remove billing details",
23
+ "checkout.billing_information_block.title": "Billing details",
24
+ "checkout.company_purchase_toggle.sub_title": "I am purchasing on behalf of a company",
25
+ "checkout.company_purchase_toggle.title": "Company purchase",
26
+ "checkout.contact_information_block.title": "Customer information",
27
+ "checkout.country.label": "Billing country",
28
+ "checkout.customize_plan_block.title": "Customize plan",
29
+ "checkout.email_address.label": "Email address",
30
+ "checkout.email_address.placeholder": "Email address...",
31
+ "checkout.express_payment_methods.divider_text": "Or",
32
+ "checkout.express_payment_methods.title": "Subscribe instantly with",
33
+ "checkout.first_name.label": "First name",
34
+ "checkout.first_name.placeholder": "First name...",
35
+ "checkout.invoice_preview.no_country_selected_message": "Please select a country first",
36
+ "checkout.invoice_preview.usage_based_message": "+ Usage",
37
+ "checkout.kpi.encrypted_payments.label": "Secure and encrypted payments",
38
+ "checkout.last_name.label": "Last name",
39
+ "checkout.last_name.placeholder": "Last name...",
40
+ "checkout.legal_name.label": "Legal entity name",
41
+ "checkout.legal_name.placeholder": "Legal entity name...",
42
+ "checkout.not_available.contact_support_message": "this page to try again, or contact customer support.",
43
+ "checkout.not_available.description": "The checkout is currently not available.",
44
+ "checkout.not_available.reload_button": "Reload",
45
+ "checkout.not_available.title": "Checkout not available",
46
+ "checkout.optional_suffix.label": "(optional)",
47
+ "checkout.order_summary_block.billing_period.label": "Billed {period}",
48
+ "checkout.order_summary_block.billing_period.per_label": "/{period}",
49
+ "checkout.order_summary_block.billing_period.per_quarter": "/quarter",
50
+ "checkout.order_summary_block.billing_period.quarterly": "Billed quarterly",
51
+ "checkout.order_summary_block.billing_period.save_badge.prefix": "Save {amount}",
52
+ "checkout.order_summary_block.billing_period.save_badge.suffix": "/year",
53
+ "checkout.order_summary_block.billing_period.sub_label": "{amount}{period}",
54
+ "checkout.order_summary_block.title": "Order summary",
55
+ "checkout.page_title": "Pay and subscribe",
56
+ "checkout.pay_and_subscribe_button.label": "Pay and subscribe",
57
+ "checkout.pay_and_subscribe_button_trial.label": "Start trial",
58
+ "checkout.payment_method_block.no_country_selected_message": "Payment methods will be shown after you select the billing country.",
59
+ "checkout.payment_method_block.no_country_selected_title": "Select your billing country",
60
+ "checkout.payment_method_block.no_payment_methods_available_message": "There are no available payment methods. Please contact support for more information.",
61
+ "checkout.payment_method_block.no_payment_methods_available_title": "No payment methods available",
62
+ "checkout.payment_method_block.title": "Payment method",
63
+ "checkout.payment_methods.no_country_selected_message": "Select a country to see the available payment methods",
64
+ "checkout.promotion_code.add_label": "Add promotion code",
65
+ "checkout.promotion_code.applied_label": "Promotion applied",
66
+ "checkout.promotion_code.applied_status": "Promotion code applied",
67
+ "checkout.promotion_code.apply_aria_label": "Apply promotion code",
68
+ "checkout.promotion_code.apply_button": "Apply",
69
+ "checkout.promotion_code.apply_failed": "Promotion code could not be applied. Please try again.",
70
+ "checkout.promotion_code.input_aria_label": "Promotion code",
71
+ "checkout.promotion_code.placeholder": "Promotion code",
72
+ "checkout.promotion_code.remove_aria_label": "Remove promotion code",
73
+ "checkout.promotion_code.remove_failed": "Promotion code could not be removed. Please try again.",
74
+ "checkout.promotion_code.removed_status": "Promotion code removed",
75
+ "checkout.subscription_description": "You will be billed <strong>{price}</strong> per {period_name}, starting today.",
76
+ "checkout.trial.label": "Trial",
77
+ "checkout.trial_period_description": "You will be billed <strong>{price}</strong> per {period_name}, starting {startDate, date, long}.",
78
+ "checkout.vat_number.check_button.label": "Check",
79
+ "checkout.vat_number.label": "VAT number",
80
+ "checkout.vat_number.placeholder": "VAT number...",
81
+ "components.payment_method_form.section_title": "Available payment methods",
82
+ "customer.invoice_table.pay_invoice_button.label": "Pay",
83
+ "customer.subscriptions_block.cancel_button_label": "Cancel subscription",
84
+ "customer.subscriptions_block.next_billing_date": "Next billing date",
85
+ "customer.subscriptions_block.renew_button_label": "Renew subscription",
86
+ "customer.subscriptions_block.show_details_button_label": "Subscription details",
87
+ "customer_invoices.load_failed.subtitle": "Please refresh or contact support.",
88
+ "customer_invoices.load_failed.title": "We can’t load your invoices",
89
+ "customer_overview.billing_information_block.load_failed.subtitle": "Please refresh or contact support.",
90
+ "customer_overview.billing_information_block.load_failed.title": "We can’t load your billing information",
91
+ "customer_overview.billing_information_block.title": "Billing information",
92
+ "customer_overview.billing_information_block.view_all_payment_methods_link_label": "Edit",
93
+ "customer_overview.invoices_block.no_active_subscription_content": "You haven’t received an invoice yet. It’ll appear here once it’s generated.",
94
+ "customer_overview.invoices_block.no_invoices_title": "No invoices to display",
95
+ "customer_overview.invoices_block.title": "Invoices",
96
+ "customer_overview.invoices_block.view_all_invoices_link_label": "View all",
97
+ "customer_overview.payment_methods.title": "Payment methods",
98
+ "customer_overview.payment_methods_block.add_payment_method_button_label": "Add payment method",
99
+ "customer_overview.payment_methods_block.add_payment_method_helper_text": "Add a payment method for recurring invoice payments.",
100
+ "customer_overview.payment_methods_block.load_failed.subtitle": "Please refresh or contact support.",
101
+ "customer_overview.payment_methods_block.load_failed.title": "We can’t load your payment methods",
102
+ "customer_overview.payment_methods_block.view_all_payment_methods_link_label": "View all",
103
+ "customer_overview.subscriptions_block.fallback_subscription_name": "Subscription",
104
+ "customer_overview.subscriptions_block.load_failed.subtitle": "Please refresh or contact support.",
105
+ "customer_overview.subscriptions_block.load_failed.title": "We can’t load your subscriptions",
106
+ "customer_overview.subscriptions_block.no_active_subscription_content": "There’s no active subscription to display.",
107
+ "customer_overview.subscriptions_block.no_active_subscription_title": "No subscriptions",
108
+ "customer_overview.subscriptions_block.title": "My subscriptions",
109
+ "customer_overview.subscriptions_block.view_all_button_label": "View all",
110
+ "customer_overview.wallet_balances_block.title": "{count,plural,one{Wallet} other{Wallets}}",
111
+ "empty_state.retry.button": "Refresh",
112
+ empty_value_placeholder,
113
+ "invoice_credits.balance.table_header": "Balance",
114
+ "invoice_credits.credit_breakdown.table_header": "Credit breakdown",
115
+ "invoice_credits.remaining.table_header": "Remaining",
116
+ "invoice_credits.used.table_header": "Used",
117
+ "invoice_preview.taxes_not_determined_by_billing_information_tooltip": "Will be determined by billing information",
118
+ "invoice_table.button.load_more": "Load more",
119
+ "invoice_table.chip.paid": "Paid",
120
+ "invoice_table.header.amount": "Amount",
121
+ "invoice_table.header.date": "Date",
122
+ "invoice_table.header.invoice_number": "Invoice",
123
+ "invoice_table.header.status": "Status",
124
+ "invoices_list.title": "Schedules",
125
+ "on_demand_pricing_row.add_to_cart_button_label": "Add to cart",
126
+ "on_demand_pricing_row.one_off_label": "one-off",
127
+ "on_demand_pricing_row.remove_button_label": "Remove",
128
+ "pay_invoice.error.description": "Please try again or contact support.",
129
+ "pay_invoice.error.title": "Something went wrong",
130
+ "pay_invoice.paid.title": "Thank you for your payment!",
131
+ "pay_invoice.payment_methods.title": "Payment methods",
132
+ "pay_button.label.amount_and_payment_method": "Pay {amount} with {type}",
133
+ "pay_button.label.amount_only": "Pay {amount}",
134
+ "pay_button.label.default": "Pay",
135
+ "payment_completed_card.redirect_message": "You are being redirected...",
136
+ "payment_completed_card.title.authorize": "Payment successful",
137
+ "payment_completed_card.title.tokenize": "Your payment method is added",
138
+ "payment_integration_form.select_payment_method_error": "Select a payment method",
139
+ "payments.retry_button.label": "Try again",
140
+ "pricing_group_multiple_editor.at_least_one_description": "Select at least one product",
141
+ pricing_item_pricing,
142
+ "pricing_item_pricing.flat_top_up": "Flat top up pricing",
143
+ "pricing_item_pricing.none": "Not billed",
144
+ "pricing_item_pricing.pass_through": "Pass through pricing",
145
+ "pricing_item_pricing.per_seat": "Per seat",
146
+ "pricing_item_pricing.stair_step": "Stair step pricing",
147
+ "pricing_item_pricing.tiered": "Tiered pricing",
148
+ "pricing_item_pricing.tiered_top_up": "Tiered top up pricing",
149
+ "pricing_item_pricing.top_tiered": "Top tiered pricing",
150
+ "pricing_item_pricing.unsupported_pricing_error": "Unsupported pricing",
151
+ "sdk.invoice_details.customer_billing_information.title": "Your billing information",
152
+ "sdk.invoice_details.invoice.download_pdf": "Download the PDF for a full breakdown",
153
+ "sdk.invoice_details.invoice.title": "Invoice",
154
+ "sdk.invoice_details.invoice_details_block.due_date": "Due date",
155
+ "sdk.invoice_details.invoice_details_block.invoice_date": "Invoice date",
156
+ "sdk.invoice_details.invoice_details_block.title": "Invoice details",
157
+ "sdk.invoice_details.payment_history.payment_attempt": "Payment attempt",
158
+ "sdk.invoice_details.payment_history.title": "Payment history",
159
+ "seats.label": "Seats",
160
+ "seats.price_per_seat_period": "{amount} per seat/{period}",
161
+ "seats.tiered_price_per_seat_period": "{amount} per seat/{period}",
162
+ "seats.tiered_pricing_label": "Tiered pricing",
163
+ "seats.tiered_range_label": "{lower_bound} - {upper_bound} seats",
164
+ "seats.tiered_unbounded_range_label": "> {lower_bound} seats",
165
+ "secure_payments_kpi.generic": "Secure and encrypted payments",
166
+ "secure_payments_kpi.specific_vendor": "Secure and encrypted payments by",
167
+ "subscription_payment_completed_card.continue": "Continue to merchant",
168
+ "subscription_payment_completed_card.thank_you_for_subscribing": "Thank you for subscribing.",
169
+ "subscription_payment_completed_card.title": "Payment successful",
170
+ "tax_check.invalid_vat_number": "VAT number is invalid.",
171
+ "tax_check.valid_vat_number": "VAT number is valid.",
172
+ "upgrade_subscription.empty_state": "No on-demand add-ons are available for this subscription.",
173
+ "upgrade_subscription.kpi.encrypted_payments.label": "Secure and encrypted payments",
174
+ "upgrade_subscription.order_summary.empty_state": "Select add-ons to see pricing.",
175
+ "upgrade_subscription.order_summary.one_off_label": "one-off",
176
+ "upgrade_subscription.order_summary.subtotal_label": "Total excluding taxes",
177
+ "upgrade_subscription.order_summary.taxes_label": "Taxes",
178
+ "upgrade_subscription.order_summary.title": "Order summary",
179
+ "upgrade_subscription.order_summary.total_label": "Total due today",
180
+ "upgrade_subscription.payment_picker.all_title": "All payment methods",
181
+ "upgrade_subscription.payment_picker.saved_title": "Saved payment methods",
182
+ "upgrade_subscription.pricing_row.add_button_label": "Add to cart",
183
+ "upgrade_subscription.pricing_row.one_off_label": "one-off",
184
+ "upgrade_subscription.pricing_row.remove_button_label": "Remove",
185
+ "upgrade_subscription.purchase_button.label": "Purchase",
186
+ "upgrade_subscription.purchase_error": "Something went wrong. Please try again.",
187
+ "upgrade_subscription.success.subtitle": "Your add-ons have been activated.",
188
+ "upgrade_subscription.success.title": "Payment successful",
189
+ "wallet_balance.credit_type_fallback_label": "Credits",
190
+ "wallet_balance.details.header": "Wallet balance",
191
+ "wallet_balance.load_failed": "Could not load wallet balances",
192
+ "wallet_balance.service_period_heading": "Service period - {startAt} - {endAt}",
193
+ "wallet_balance.wallet_ballance_title": "Balance"
194
+ };
195
+ export {
196
+ enUS as default,
197
+ empty_value_placeholder,
198
+ pricing_item_pricing
199
+ };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="{pricing} per {billing_period}",t={123456:"Select one product","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.kpi.encrypted_payments.label":"Secure and encrypted payments","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_invoices.load_failed.subtitle":"Please refresh or contact support.","customer_invoices.load_failed.title":"We can’t load your invoices","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.invoices_block.no_active_subscription_content":"You haven’t received an invoice yet. It’ll appear here once it’s generated.","customer_overview.invoices_block.no_invoices_title":"No invoices to display","customer_overview.invoices_block.title":"Invoices","customer_overview.invoices_block.view_all_invoices_link_label":"View all","customer_overview.payment_methods.title":"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.load_failed.subtitle":"Please refresh or contact support.","customer_overview.payment_methods_block.load_failed.title":"We can’t load your payment methods","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.load_failed.subtitle":"Please refresh or contact support.","customer_overview.subscriptions_block.load_failed.title":"We can’t load your subscriptions","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":"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_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","pay_button.label.amount_and_payment_method":"Pay {amount} with {type}","pay_button.label.amount_only":"Pay {amount}","pay_button.label.default":"Pay","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.flat_top_up":"Flat top up pricing","pricing_item_pricing.none":"Not billed","pricing_item_pricing.pass_through":"Pass through pricing","pricing_item_pricing.per_seat":"Per seat","pricing_item_pricing.stair_step":"Stair step pricing","pricing_item_pricing.tiered":"Tiered pricing","pricing_item_pricing.tiered_top_up":"Tiered top up pricing","pricing_item_pricing.top_tiered":"Top tiered pricing","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,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
+ };
@@ -0,0 +1 @@
1
+ const e=require("vue"),r=r=>{if(r=e.unref(r),Array.isArray(r))return!!r.length;if(null==r)return!1;if(!1===r)return!0;if(r instanceof Date)return!isNaN(r.getTime());if("object"==typeof r){for(let e in r)return!0;return!1}return!!String(r).length};function a(){for(var a=arguments.length,t=new Array(a),f=0;f<a;f++)t[f]=arguments[f];return a=>(a=e.unref(a),!r(a)||t.every(e=>(e.lastIndex=0,e.test(a))))}a(/^[a-zA-Z]*$/),a(/^[a-zA-Z0-9]*$/),a(/^\d*(\.\d+)?$/);var t={$validator:a(/^(?:[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),$message:"Value is not a valid email address",$params:{type:"email"}};var f={$validator:function(e){return"string"==typeof e&&(e=e.trim()),r(e)},$message:"Value is required",$params:{type:"required"}};const i=(e,a)=>!e||r("string"==typeof a?a.trim():a);a(/^(?:(?:(?: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),a(/(^[0-9]*$)|(^-[0-9]+$)/),a(/^[-]?\d*(\.\d+)?$/),exports.email=t,exports.required=f,exports.requiredIf=function(r){return{$validator:(a=r,function(r,t){if("function"!=typeof a)return i(e.unref(a),r);const f=a.call(this,r,t);return i(f,r)}),$message:"The value is required",$params:{type:"requiredIf",prop:r}};var a};
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./registry-ClZ43bQn.js"),e=require("./screens/Checkout/Checkout.cjs.js"),i=require("./screens/CustomerOverview/CustomerOverview.cjs.js"),n=require("./screens/UpgradeSubscription/UpgradeSubscription.cjs.js"),s=require("./components/BillingInformation/BillingInformation.cjs.js"),t=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),r=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),m=require("./components/WalletBalances/WalletBalances.cjs.js"),l=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),S=require("./components/InvoicesList/InvoicesList.cjs.js"),c=require("./components/PaymentHistory/PaymentHistory.cjs.js"),v=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),p=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),a=require("./components/PaymentMethodForm/PaymentMethodForm.cjs.js");exports.createSolvimonCore=o.createSolvimonCore,exports.getRegisteredComponentIds=o.getRegisteredComponentIds,exports.getRegisteredScreenIds=o.getRegisteredScreenIds,exports.SolvimonCheckout=e.SolvimonCheckout,exports.defineSolvimonCheckout=e.defineSolvimonCheckout,exports.SolvimonCustomerOverview=i.SolvimonCustomerOverview,exports.defineSolvimonCustomerOverview=i.defineSolvimonCustomerOverview,exports.SolvimonUpgradeSubscription=n.SolvimonUpgradeSubscription,exports.defineSolvimonUpgradeSubscription=n.defineSolvimonUpgradeSubscription,exports.SolvimonBillingInformation=s.SolvimonBillingInformation,exports.defineSolvimonBillingInformation=s.defineSolvimonBillingInformation,exports.SolvimonBillingInformationForm=t.SolvimonBillingInformationForm,exports.defineSolvimonBillingInformationForm=t.defineSolvimonBillingInformationForm,exports.SolvimonCustomerPaymentMethods=r.SolvimonCustomerPaymentMethods,exports.defineSolvimonCustomerPaymentMethods=r.defineSolvimonCustomerPaymentMethods,exports.SolvimonWalletBalances=m.SolvimonWalletBalances,exports.defineSolvimonWalletBalances=m.defineSolvimonWalletBalances,exports.SolvimonInvoiceDetails=l.SolvimonInvoiceDetails,exports.defineSolvimonInvoiceDetails=l.defineSolvimonInvoiceDetails,exports.SolvimonInvoicesList=S.SolvimonInvoicesList,exports.defineSolvimonInvoicesList=S.defineSolvimonInvoicesList,exports.SolvimonPaymentHistory=c.SolvimonPaymentHistory,exports.defineSolvimonPaymentHistory=c.defineSolvimonPaymentHistory,exports.SolvimonSubscriptionSchedules=v.SolvimonSubscriptionSchedules,exports.defineSolvimonSubscriptionSchedules=v.defineSolvimonSubscriptionSchedules,exports.SolvimonSubscriptionsList=p.SolvimonSubscriptionsList,exports.defineSolvimonSubscriptionsList=p.defineSolvimonSubscriptionsList,exports.SolvimonPaymentMethodForm=a.SolvimonPaymentMethodForm,exports.defineSolvimonPaymentMethodForm=a.defineSolvimonPaymentMethodForm;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./registry-CMSmkLcy.js"),e=require("./screens/Checkout/Checkout.cjs.js"),i=require("./screens/CustomerOverview/CustomerOverview.cjs.js"),n=require("./screens/UpgradeSubscription/UpgradeSubscription.cjs.js"),s=require("./screens/PayInvoice/PayInvoice.cjs.js"),t=require("./components/BillingInformation/BillingInformation.cjs.js"),r=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),m=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),l=require("./components/WalletBalances/WalletBalances.cjs.js"),v=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),c=require("./components/InvoicesList/InvoicesList.cjs.js"),S=require("./components/PaymentHistory/PaymentHistory.cjs.js"),a=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),p=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),d=require("./components/PaymentMethodForm/PaymentMethodForm.cjs.js");exports.createSolvimonCore=o.createSolvimonCore,exports.getRegisteredComponentIds=o.getRegisteredComponentIds,exports.getRegisteredScreenIds=o.getRegisteredScreenIds,exports.SolvimonCheckout=e.SolvimonCheckout,exports.defineSolvimonCheckout=e.defineSolvimonCheckout,exports.SolvimonCustomerOverview=i.SolvimonCustomerOverview,exports.defineSolvimonCustomerOverview=i.defineSolvimonCustomerOverview,exports.SolvimonUpgradeSubscription=n.SolvimonUpgradeSubscription,exports.defineSolvimonUpgradeSubscription=n.defineSolvimonUpgradeSubscription,exports.SolvimonPayInvoice=s.SolvimonPayInvoice,exports.defineSolvimonPayInvoice=s.defineSolvimonPayInvoice,exports.SolvimonBillingInformation=t.SolvimonBillingInformation,exports.defineSolvimonBillingInformation=t.defineSolvimonBillingInformation,exports.SolvimonBillingInformationForm=r.SolvimonBillingInformationForm,exports.defineSolvimonBillingInformationForm=r.defineSolvimonBillingInformationForm,exports.SolvimonCustomerPaymentMethods=m.SolvimonCustomerPaymentMethods,exports.defineSolvimonCustomerPaymentMethods=m.defineSolvimonCustomerPaymentMethods,exports.SolvimonWalletBalances=l.SolvimonWalletBalances,exports.defineSolvimonWalletBalances=l.defineSolvimonWalletBalances,exports.SolvimonInvoiceDetails=v.SolvimonInvoiceDetails,exports.defineSolvimonInvoiceDetails=v.defineSolvimonInvoiceDetails,exports.SolvimonInvoicesList=c.SolvimonInvoicesList,exports.defineSolvimonInvoicesList=c.defineSolvimonInvoicesList,exports.SolvimonPaymentHistory=S.SolvimonPaymentHistory,exports.defineSolvimonPaymentHistory=S.defineSolvimonPaymentHistory,exports.SolvimonSubscriptionSchedules=a.SolvimonSubscriptionSchedules,exports.defineSolvimonSubscriptionSchedules=a.defineSolvimonSubscriptionSchedules,exports.SolvimonSubscriptionsList=p.SolvimonSubscriptionsList,exports.defineSolvimonSubscriptionsList=p.defineSolvimonSubscriptionsList,exports.SolvimonPaymentMethodForm=d.SolvimonPaymentMethodForm,exports.defineSolvimonPaymentMethodForm=d.defineSolvimonPaymentMethodForm;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export type { SolvimonMountConfig, CoreConfiguration, ComponentConfigurationById
3
3
  export { SolvimonCheckout, defineSolvimonCheckout, } from './public/screens/Checkout/Checkout.entry.ce';
4
4
  export { SolvimonCustomerOverview, defineSolvimonCustomerOverview, } from './public/screens/CustomerOverview/CustomerOverview.entry.ce';
5
5
  export { SolvimonUpgradeSubscription, defineSolvimonUpgradeSubscription, } from './public/screens/UpgradeSubscription/UpgradeSubscription.entry.ce';
6
+ export { SolvimonPayInvoice, defineSolvimonPayInvoice, } from './public/screens/PayInvoice/PayInvoice.entry.ce';
6
7
  export { SolvimonBillingInformation, defineSolvimonBillingInformation, } from './public/components/BillingInformation/BillingInformation.entry.ce';
7
8
  export { SolvimonBillingInformationForm, defineSolvimonBillingInformationForm, } from './public/components/BillingInformationForm/BillingInformationForm.entry.ce';
8
9
  export { SolvimonCustomerPaymentMethods, defineSolvimonCustomerPaymentMethods, } from './public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce';
package/dist/index.es.js CHANGED
@@ -1,7 +1,8 @@
1
- import { c, g, a } from "./registry-B99ZnfEn.mjs";
1
+ import { c, g, a } from "./registry-BLwMl1bK.mjs";
2
2
  import { SolvimonCheckout, defineSolvimonCheckout } from "./screens/Checkout/Checkout.es.js";
3
3
  import { SolvimonCustomerOverview, defineSolvimonCustomerOverview } from "./screens/CustomerOverview/CustomerOverview.es.js";
4
4
  import { SolvimonUpgradeSubscription, defineSolvimonUpgradeSubscription } from "./screens/UpgradeSubscription/UpgradeSubscription.es.js";
5
+ import { SolvimonPayInvoice, defineSolvimonPayInvoice } from "./screens/PayInvoice/PayInvoice.es.js";
5
6
  import { SolvimonBillingInformation, defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.es.js";
6
7
  import { SolvimonBillingInformationForm, defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.es.js";
7
8
  import { SolvimonCustomerPaymentMethods, defineSolvimonCustomerPaymentMethods } from "./components/CustomerPaymentMethods/CustomerPaymentMethods.es.js";
@@ -20,6 +21,7 @@ export {
20
21
  SolvimonCustomerPaymentMethods,
21
22
  SolvimonInvoiceDetails,
22
23
  SolvimonInvoicesList,
24
+ SolvimonPayInvoice,
23
25
  SolvimonPaymentHistory,
24
26
  SolvimonPaymentMethodForm,
25
27
  SolvimonSubscriptionSchedules,
@@ -34,6 +36,7 @@ export {
34
36
  defineSolvimonCustomerPaymentMethods,
35
37
  defineSolvimonInvoiceDetails,
36
38
  defineSolvimonInvoicesList,
39
+ defineSolvimonPayInvoice,
37
40
  defineSolvimonPaymentHistory,
38
41
  defineSolvimonPaymentMethodForm,
39
42
  defineSolvimonSubscriptionSchedules,
@@ -1,18 +1,5 @@
1
- import { a as withPagination } from "./api.es-UkfpLiLL.mjs";
2
- import { c as createRequestService, u as useConfig } from "./component-dpA83LIN.mjs";
3
- const downloadFile = (blob, fileName) => {
4
- const objUrl = window.URL.createObjectURL(blob);
5
- downloadFileFromUrl(objUrl, fileName);
6
- };
7
- const downloadFileFromUrl = (fileUrl, fileName) => {
8
- const link = document.createElement("a");
9
- link.href = fileUrl;
10
- link.download = fileName;
11
- link.click();
12
- setTimeout(() => {
13
- window.URL.revokeObjectURL(fileUrl);
14
- }, 250);
15
- };
1
+ import { d as downloadFile, a as withPagination } from "./vendor-ui-BwxuPDg8.mjs";
2
+ import { c as createRequestService, u as useConfig } from "./component-CM9g6tbD.mjs";
16
3
  function createInvoicesService() {
17
4
  const request = createRequestService();
18
5
  const config = useConfig();
@@ -0,0 +1 @@
1
+ const e=require("./vendor-ui-Ce_Yp7xA.js"),i=require("./component-C2Gc-wsE.js");exports.createInvoicesService=function(){const n=i.createRequestService(),t=i.useConfig();return{getInvoice:function(e){return n({url:`${t.apiUrls.transaction}/portal/invoices/${e}`})},getInvoices:function({customerId:i,pagination:r,query:o}){const a=e.withPagination({customer_id:i,...o??{}},r),c=new URL(`${t.apiUrls.transaction}/portal/invoices`);return Object.entries(a).forEach(([e,i])=>{null!=i&&(Array.isArray(i)?i.forEach(i=>{c.searchParams.append(`${e}[]`,`${i}`)}):c.searchParams.append(e,`${i}`))}),n({url:c.toString(),isCollection:!0})},getInvoicePdf:async function(i){return n({url:`${t.apiUrls.transaction}/portal/invoices/${i}/pdf`,options:{headers:{"Content-Type":"application/pdf"}}}).then(n=>{const t=new Blob([n],{type:"application/pdf"});e.downloadFile(t,`invoice-${i}.pdf`)})},getInvoicePreview:function({customer:e,pricingPlanSubscriptionId:i,startAt:r,customizations:o,pricing_plan_schedule_customizations:a}){return n({url:`${t.apiUrls.transaction}/portal/invoices/preview`,options:{method:"POST"},data:{template_pricing_plan_subscription_id:i,...r&&{start_at:r},...o&&{pricing_plan_schedule_customizations:o},...a&&{pricing_plan_schedule_customizations:a},customer_details:{...e,reference:"preview"}}})}}};