@solvimon/solvimon-web 0.1.0-alpha.6 → 0.1.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Alert.vue.es-DMPvSykx.js +1 -0
- package/dist/Alert.vue.es-DsJ1ckRU.mjs +172 -0
- package/dist/Amount.vue.es-C6JE5rL8.mjs +23 -0
- package/dist/Amount.vue.es-h8wulbBG.js +1 -0
- package/dist/Avatar.vue.es-Ba8ZGfm4.mjs +93 -0
- package/dist/Avatar.vue.es-BbyE0AjW.js +1 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C4Ndo83E.js +1 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DZ1XkSJ3.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-CupcH8TZ.mjs} +6 -4
- package/dist/Button.vue.es-6sBk5tBL.mjs +408 -0
- package/dist/Button.vue.es-BC4_TItq.js +1 -0
- package/dist/CardContent.vue.es-ChEMrFCc.mjs +115 -0
- package/dist/CardContent.vue.es-i9ivuGKG.js +1 -0
- package/dist/Chip.vue.es-D0fkSe8a.js +1 -0
- package/dist/Chip.vue.es-DcW2CjUA.mjs +1576 -0
- package/dist/Comparators.vue.es-BdxDqU8o.js +1 -0
- package/dist/Comparators.vue.es-DdTKGB80.mjs +406 -0
- package/dist/{ContentWithAsideLayout-D_T137tN.mjs → ContentWithAsideLayout-Ct24RV-2.mjs} +1 -1
- package/dist/{ContentWithAsideLayout-BZJPhvLh.js → ContentWithAsideLayout-UHovpjZu.js} +1 -1
- package/dist/CustomerBillingInformation.vue.es-9rP7-RzN.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-DBMl01Es.mjs +175 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CYTCcMgP.js +1 -0
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DK6tiecN.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZJ0xukI.mjs} +14 -11
- package/dist/Divider.vue.es-ClFG8QtG.js +1 -0
- package/dist/Divider.vue.es-wKkIVBgb.mjs +24 -0
- package/dist/DividerText.vue.es-B7oa5Xpn.mjs +72 -0
- package/dist/DividerText.vue.es-yiFdPQvo.js +1 -0
- package/dist/ErrorNotification.vue.es-Bgw0MIl8.mjs +30 -0
- package/dist/ErrorNotification.vue.es-FpRyg0De.js +1 -0
- package/dist/FormMessage.vue.es-DFQXxiSC.mjs +46 -0
- package/dist/FormMessage.vue.es-LeWoj774.js +1 -0
- package/dist/IconButton.vue.es-DNCwwH_j.mjs +825 -0
- package/dist/IconButton.vue.es-DiSiGPWO.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BDitcx8B.js +1 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BWXmZmGZ.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DsrBsrtk.mjs} +3 -2
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-6yi47YWd.js +1 -0
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BSn_Zy0Y.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BnKwmJ2s.mjs} +9 -5
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BE1lWOk9.mjs +1067 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CC3hm3nx.js +1 -0
- package/dist/PaymentMethod.vue.es-DYlnmZh7.js +1 -0
- package/dist/PaymentMethod.vue.es-nXZoQjG3.mjs +1255 -0
- package/dist/{PricingGroupContent.vue_vue_type_script_setup_true_lang-X7-dfeZP.mjs → PricingGroupContent.vue_vue_type_script_setup_true_lang-BbvDXvIS.mjs} +6 -5
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-CmQILA3q.js +1 -0
- package/dist/Section.vue.es-3-H1pUTB.mjs +79 -0
- package/dist/Section.vue.es-BuzTXRLP.js +1 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-AxYjVFUM.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DVhJy0t8.mjs} +23 -20
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Pq3d7DTb.js +1 -0
- package/dist/TooltipParagraph.vue.es-DVJLF9Kv.mjs +136 -0
- package/dist/TooltipParagraph.vue.es-kTbRGoPF.js +1 -0
- package/dist/TrialChip.vue.es-BHYbW8b6.mjs +759 -0
- package/dist/TrialChip.vue.es-C6Xg_5rR.js +1 -0
- package/dist/_flatRest.es-BHFPCqZh.mjs +642 -0
- package/dist/_flatRest.es-dFffnTpX.js +1 -0
- package/dist/adyen-51SvcyqV.mjs +4 -0
- package/dist/adyen-DZsyEXkw.js +1 -0
- package/dist/api.es-B4qAAJKr.js +1 -0
- package/dist/api.es-UkfpLiLL.mjs +83 -0
- package/dist/{cloneDeep-DranHQkY.js → cloneDeep-Hs8Pp07F.js} +1 -1
- package/dist/cn.es-C7xoIs3C.js +1 -0
- package/dist/cn.es-tfxVlz02.mjs +3191 -0
- package/dist/component-ZRZIt3ZW.js +1 -0
- package/dist/component-dpA83LIN.mjs +6569 -0
- package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +14 -10
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +27 -23
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +3 -3
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -1
- package/dist/components/Invoice/Invoice.cjs.js +1 -1
- package/dist/components/Invoice/Invoice.es.js +2612 -28
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +3 -3
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -1
- package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +2 -2
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +3 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +10 -8
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +4820 -7
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +4 -4
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -1
- package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +2 -2
- package/dist/core/index.cjs.js +1 -1
- package/dist/core/index.es.js +1 -1
- package/dist/countryData.es--zJAd6LA.mjs +252 -0
- package/dist/countryData.es-D3MFzU92.js +1 -0
- package/dist/customer-CJrpbGX4.mjs +32 -0
- package/dist/customer-CcQR-JIm.js +1 -0
- package/dist/customer.es-D42Md24r.js +1 -0
- package/dist/customer.es-LIW2YmLL.mjs +30 -0
- package/dist/formatting.es-9hM8aHSg.js +1 -0
- package/dist/formatting.es-D5H_ySFv.mjs +68 -0
- package/dist/getCountryNameByCode.es-fP52nO_7.js +1 -0
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +8 -0
- package/dist/index-CI71bVGE.mjs +2521 -0
- package/dist/index-WLSPwi90.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es-BBJF2O2l.js +1 -0
- package/dist/index.es-LCAKs4tH.mjs +438 -0
- package/dist/index.es.js +1 -1
- package/dist/invoices-3kVHsAXr.js +1 -0
- package/dist/{invoices-C7BHqB0g.mjs → invoices-CNK1Ushv.mjs} +15 -1
- package/dist/isEmpty.es-Bp1SbWFu.mjs +131 -0
- package/dist/isEmpty.es-Dycf-CD_.js +1 -0
- package/dist/{paymentMethods-BA7Kt8ti.mjs → paymentMethods-C-ApE-G4.mjs} +2 -1
- package/dist/paymentMethods-DZRf0WRl.js +1 -0
- package/dist/{payments-NTHUh5je.mjs → payments-CE9U7aKK.mjs} +1 -1
- package/dist/{payments-B8W0W6wZ.js → payments-CLt0SExf.js} +1 -1
- package/dist/pick.es-BgDAfhAl.js +1 -0
- package/dist/pick.es-DdVOyp0Q.mjs +45 -0
- package/dist/{registry-DgRnFEVF.mjs → registry-B99ZnfEn.mjs} +1 -2
- package/dist/registry-ClZ43bQn.js +1 -0
- package/dist/screens/Checkout/Checkout.ce.d.ts +1 -1
- package/dist/screens/Checkout/Checkout.cjs.js +1 -1
- package/dist/screens/Checkout/Checkout.es.js +1862 -162
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +11 -11
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +1 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +46 -40
- package/dist/solvimon-web.css +1 -1
- package/dist/subscriptions-CS8HTxzC.js +1 -0
- package/dist/{subscriptions-BEoXaAHw.mjs → subscriptions-CoeCrY1I.mjs} +2 -1
- package/dist/typeGuards.es-C4nR5FkL.js +1 -0
- package/dist/typeGuards.es-fwUoeMCe.mjs +12 -0
- package/dist/{useActionDispatchProvider-DmTJ_bqE.js → useActionDispatchProvider-CWVV_xsi.js} +1 -1
- package/dist/{useActionDispatchProvider-zSXRlc2S.mjs → useActionDispatchProvider-eO2qFPGv.mjs} +1 -1
- package/dist/useCustomer--jycAz--.mjs +25 -0
- package/dist/useCustomer-PthyTFLl.js +1 -0
- package/dist/useIncrementalLoading-CAdNW-Bf.js +1 -0
- package/dist/{useIncrementalLoading-Bgs0mqyb.mjs → useIncrementalLoading-CcnL3flF.mjs} +5 -1
- package/dist/{useInvoiceData-B6P2VShe.mjs → useInvoiceData-BiMMoVoW.mjs} +2 -2
- package/dist/{useInvoiceData-CS7hLTea.js → useInvoiceData-DvQO_nKz.js} +1 -1
- package/dist/useInvoicesList-CHkwSNO9.js +1 -0
- package/dist/{useInvoicesList-23Ra-23Z.mjs → useInvoicesList-DFhF_gp7.mjs} +260 -23
- package/dist/{usePaymentMethods-BK4unvj2.js → usePaymentMethods-BRQ7-dUr.js} +1 -1
- package/dist/{usePaymentMethods-B8Nft16c.mjs → usePaymentMethods-BX2RnHZN.mjs} +2 -2
- package/dist/{useService-D-CUtlp3.js → useService-B67YWAcN.js} +1 -1
- package/dist/{useService-B4qv5N2D.mjs → useService-DG_zedHV.mjs} +1 -0
- package/dist/useWalletBalanceItems-B5FMmoU2.mjs +308 -0
- package/dist/useWalletBalanceItems-BY3gq0fc.js +1 -0
- package/package.json +14 -8
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-eRGZRjmq.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BvmKLc2H.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DNWspHtC.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Cx4c8E4i.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Ct26TY0a.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-WRXecMCj.mjs +0 -6568
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-KnhKv07X.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D9_G7CyE.js +0 -1
- package/dist/component-DI3AxwdD.mjs +0 -58733
- package/dist/component-yWF07boR.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/invoices-CjBHfDXp.js +0 -1
- package/dist/paymentMethods-A-5SBmy1.js +0 -1
- package/dist/registry-SwmYGFn7.js +0 -1
- package/dist/subscriptions-DSi93KpN.js +0 -1
- package/dist/useCustomer-DkrBNt5f.mjs +0 -45
- package/dist/useCustomer-fK-w7ifj.js +0 -1
- package/dist/useIncrementalLoading-BK6N8sYW.js +0 -1
- package/dist/useInvoicesList-CIFGVsDj.js +0 -1
- package/dist/useWalletBalanceItems-DreHuOra.mjs +0 -105
- package/dist/useWalletBalanceItems-NlFk6jPD.js +0 -1
- /package/dist/{sprite-DZD704h3-CCc3Mz1x.js → sprite.svg.es-CCc3Mz1x.js} +0 -0
- /package/dist/{sprite-DZD704h3-DZD704h3.mjs → sprite.svg.es-DZD704h3.mjs} +0 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { u as getNative, v as root, w as baseGetTag, x as toSource, M as Map, y as isLength, z as isFunction, A as isObjectLike, B as freeGlobal, C as isArray, D as isArguments } from "./_flatRest.es-BHFPCqZh.mjs";
|
|
2
|
+
var objectProto$2 = Object.prototype;
|
|
3
|
+
function isPrototype(value) {
|
|
4
|
+
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$2;
|
|
5
|
+
return value === proto;
|
|
6
|
+
}
|
|
7
|
+
function overArg(func, transform) {
|
|
8
|
+
return function(arg) {
|
|
9
|
+
return func(transform(arg));
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
var nativeKeys = overArg(Object.keys, Object);
|
|
13
|
+
var objectProto$1 = Object.prototype;
|
|
14
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
15
|
+
function baseKeys(object) {
|
|
16
|
+
if (!isPrototype(object)) {
|
|
17
|
+
return nativeKeys(object);
|
|
18
|
+
}
|
|
19
|
+
var result = [];
|
|
20
|
+
for (var key in Object(object)) {
|
|
21
|
+
if (hasOwnProperty$1.call(object, key) && key != "constructor") {
|
|
22
|
+
result.push(key);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return result;
|
|
26
|
+
}
|
|
27
|
+
var DataView = getNative(root, "DataView");
|
|
28
|
+
var Promise$1 = getNative(root, "Promise");
|
|
29
|
+
var Set = getNative(root, "Set");
|
|
30
|
+
var WeakMap = getNative(root, "WeakMap");
|
|
31
|
+
var mapTag$2 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$2 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
|
|
32
|
+
var dataViewTag$1 = "[object DataView]";
|
|
33
|
+
var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
|
|
34
|
+
var getTag = baseGetTag;
|
|
35
|
+
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$1 || Map && getTag(new Map()) != mapTag$2 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$2 || WeakMap && getTag(new WeakMap()) != weakMapTag$1) {
|
|
36
|
+
getTag = function(value) {
|
|
37
|
+
var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
|
|
38
|
+
if (ctorString) {
|
|
39
|
+
switch (ctorString) {
|
|
40
|
+
case dataViewCtorString:
|
|
41
|
+
return dataViewTag$1;
|
|
42
|
+
case mapCtorString:
|
|
43
|
+
return mapTag$2;
|
|
44
|
+
case promiseCtorString:
|
|
45
|
+
return promiseTag;
|
|
46
|
+
case setCtorString:
|
|
47
|
+
return setTag$2;
|
|
48
|
+
case weakMapCtorString:
|
|
49
|
+
return weakMapTag$1;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return result;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function isArrayLike(value) {
|
|
56
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
57
|
+
}
|
|
58
|
+
function stubFalse() {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
62
|
+
var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
|
|
63
|
+
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
64
|
+
var Buffer = moduleExports$1 ? root.Buffer : void 0;
|
|
65
|
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
|
|
66
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
|
67
|
+
var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", mapTag$1 = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag$1 = "[object Set]", stringTag = "[object String]", weakMapTag = "[object WeakMap]";
|
|
68
|
+
var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
|
|
69
|
+
var typedArrayTags = {};
|
|
70
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
|
71
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag$1] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag$1] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
|
72
|
+
function baseIsTypedArray(value) {
|
|
73
|
+
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
74
|
+
}
|
|
75
|
+
function baseUnary(func) {
|
|
76
|
+
return function(value) {
|
|
77
|
+
return func(value);
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
|
81
|
+
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
82
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
83
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
|
84
|
+
var nodeUtil = (function() {
|
|
85
|
+
try {
|
|
86
|
+
var types = freeModule && freeModule.require && freeModule.require("util").types;
|
|
87
|
+
if (types) {
|
|
88
|
+
return types;
|
|
89
|
+
}
|
|
90
|
+
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
91
|
+
} catch (e) {
|
|
92
|
+
}
|
|
93
|
+
})();
|
|
94
|
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
95
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
96
|
+
var mapTag = "[object Map]", setTag = "[object Set]";
|
|
97
|
+
var objectProto = Object.prototype;
|
|
98
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
99
|
+
function isEmpty(value) {
|
|
100
|
+
if (value == null) {
|
|
101
|
+
return true;
|
|
102
|
+
}
|
|
103
|
+
if (isArrayLike(value) && (isArray(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer(value) || isTypedArray(value) || isArguments(value))) {
|
|
104
|
+
return !value.length;
|
|
105
|
+
}
|
|
106
|
+
var tag = getTag(value);
|
|
107
|
+
if (tag == mapTag || tag == setTag) {
|
|
108
|
+
return !value.size;
|
|
109
|
+
}
|
|
110
|
+
if (isPrototype(value)) {
|
|
111
|
+
return !baseKeys(value).length;
|
|
112
|
+
}
|
|
113
|
+
for (var key in value) {
|
|
114
|
+
if (hasOwnProperty.call(value, key)) {
|
|
115
|
+
return false;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return true;
|
|
119
|
+
}
|
|
120
|
+
export {
|
|
121
|
+
isArrayLike as a,
|
|
122
|
+
baseUnary as b,
|
|
123
|
+
isBuffer as c,
|
|
124
|
+
isTypedArray as d,
|
|
125
|
+
baseKeys as e,
|
|
126
|
+
isPrototype as f,
|
|
127
|
+
getTag as g,
|
|
128
|
+
isEmpty as i,
|
|
129
|
+
nodeUtil as n,
|
|
130
|
+
overArg as o
|
|
131
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./_flatRest.es-dFffnTpX.js");var t=Object.prototype;function r(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}function o(e,t){return function(r){return e(t(r))}}var n=o(Object.keys,Object),c=Object.prototype.hasOwnProperty;function a(e){if(!r(e))return n(e);var t=[];for(var o in Object(e))c.call(e,o)&&"constructor"!=o&&t.push(o);return t}var s=e.getNative(e.root,"DataView"),u=e.getNative(e.root,"Promise"),i=e.getNative(e.root,"Set"),p=e.getNative(e.root,"WeakMap"),b="[object Map]",j="[object Promise]",f="[object Set]",y="[object WeakMap]",g="[object DataView]",l=e.toSource(s),x=e.toSource(e.Map),d=e.toSource(u),v=e.toSource(i),A=e.toSource(p);function T(t){return null!=t&&e.isLength(t.length)&&!e.isFunction$1(t)}exports.getTag=e.baseGetTag,(s&&exports.getTag(new s(new ArrayBuffer(1)))!=g||e.Map&&exports.getTag(new e.Map)!=b||u&&exports.getTag(u.resolve())!=j||i&&exports.getTag(new i)!=f||p&&exports.getTag(new p)!=y)&&(exports.getTag=function(t){var r=e.baseGetTag(t),o="[object Object]"==r?t.constructor:void 0,n=o?e.toSource(o):"";if(n)switch(n){case l:return g;case x:return b;case d:return j;case v:return f;case A:return y}return r});var m="object"==typeof exports&&exports&&!exports.nodeType&&exports,h=m&&"object"==typeof module&&module&&!module.nodeType&&module,w=h&&h.exports===m?e.root.Buffer:void 0,O=(w?w.isBuffer:void 0)||function(){return!1},S={};function M(e){return function(t){return e(t)}}S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Arguments]"]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object Boolean]"]=S["[object DataView]"]=S["[object Date]"]=S["[object Error]"]=S["[object Function]"]=S["[object Map]"]=S["[object Number]"]=S["[object Object]"]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object WeakMap]"]=!1;var k="object"==typeof exports&&exports&&!exports.nodeType&&exports,B=k&&"object"==typeof module&&module&&!module.nodeType&&module,U=B&&B.exports===k&&e.freeGlobal.process,N=function(){try{var e=B&&B.require&&B.require("util").types;return e||U&&U.binding&&U.binding("util")}catch(t){}}(),P=N&&N.isTypedArray,D=P?M(P):function(t){return e.isObjectLike(t)&&e.isLength(t.length)&&!!S[e.baseGetTag(t)]},F=Object.prototype.hasOwnProperty;exports.baseKeys=a,exports.baseUnary=M,exports.isArrayLike=T,exports.isBuffer=O,exports.isEmpty=function(t){if(null==t)return!0;if(T(t)&&(e.isArray(t)||"string"==typeof t||"function"==typeof t.splice||O(t)||D(t)||e.isArguments(t)))return!t.length;var o=exports.getTag(t);if("[object Map]"==o||"[object Set]"==o)return!t.size;if(r(t))return!a(t).length;for(var n in t)if(F.call(t,n))return!1;return!0},exports.isPrototype=r,exports.isTypedArray=D,exports.nodeUtil=N,exports.overArg=o;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as withPagination } from "./api.es-UkfpLiLL.mjs";
|
|
2
|
+
import { c as createRequestService, u as useConfig } from "./component-dpA83LIN.mjs";
|
|
2
3
|
function createPaymentMethodsService() {
|
|
3
4
|
const request = createRequestService();
|
|
4
5
|
const config = useConfig();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=require("./api.es-B4qAAJKr.js"),e=require("./component-ZRZIt3ZW.js");exports.createPaymentMethodsService=function(){const n=e.createRequestService(),o=e.useConfig();return{getPaymentMethods:function({customerId:e,pagination:r,query:i}){const a=t.withPagination({customer_id:e,...i??{}},r),s=new URL(`${o.apiUrls.config}/portal/payment-methods`);return Object.entries(a).forEach(([t,e])=>{null!=e&&(Array.isArray(e)?e.forEach(e=>{s.searchParams.append(`${t}[]`,`${e}`)}):s.searchParams.append(t,`${e}`))}),n({url:s.toString(),isCollection:!0})},getPaymentMethodOptions:function({customerId:t,country:e,subscriptionId:r,amount:i}){return n({url:`${o.apiUrls.config}/portal/payment-method-options`,options:{method:"POST"},data:{...t&&{customer_id:t},...e&&{country:e},...r&&{pricing_plan_subscription_id:r},amount:i}})},tokenizePaymentMethod:function(t){return n({url:`${o.apiUrls.config}/portal/payment-methods/tokenize`,options:{method:"POST"},data:t})}}};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createRequestService, u as useConfig } from "./component-
|
|
1
|
+
import { c as createRequestService, u as useConfig } from "./component-dpA83LIN.mjs";
|
|
2
2
|
const BASE_URL = "/portal/payments";
|
|
3
3
|
const createPaymentsService = () => {
|
|
4
4
|
const request = createRequestService();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=require("./component-
|
|
1
|
+
const t=require("./component-ZRZIt3ZW.js"),e="/portal/payments";exports.createPaymentsService=()=>{const a=t.createRequestService(),n=t.useConfig();return{getPayments:function(t){return a({url:`${n.apiUrls.transaction}${e}`,query:{invoice_id:t},isCollection:!0})},getPaymentDetails:function({paymentAcceptorId:t,paymentGatewayVariant:r,adyen:i}){return a({url:`${n.apiUrls.transaction}${e}/verify-details`,options:{method:"POST"},data:{payment_acceptor_id:t,payment_gateway_variant:r,adyen:i}})},authorizePayment:function(t){return a({url:`${n.apiUrls.transaction}${e}/authorize`,options:{method:"POST"},data:t})}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=require("./_flatRest.es-dFffnTpX.js");function r(r,n,e,o){if(!t.isObject(r))return r;for(var u=-1,a=(n=t.castPath(n,r)).length,i=a-1,s=r;null!=s&&++u<a;){var c=t.toKey(n[u]),f=e;if("__proto__"===c||"constructor"===c||"prototype"===c)return r;if(u!=i){var l=s[c];void 0===(f=void 0)&&(f=t.isObject(l)?l:t.isIndex(n[u+1])?[]:{})}t.assignValue(s,c,f),s=s[c]}return r}function n(n,e){return function(n,e,o){for(var u=-1,a=e.length,i={};++u<a;){var s=e[u],c=t.baseGet(n,s);o(c,s)&&r(i,t.castPath(s,n),c)}return i}(n,e,function(r,e){return t.hasIn(n,e)})}var e=t.flatRest(function(t,r){return null==t?{}:n(t,r)});exports.pick=e;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { j as isObject, k as castPath, l as toKey, m as isIndex, o as assignValue, p as baseGet, q as hasIn, s as flatRest } from "./_flatRest.es-BHFPCqZh.mjs";
|
|
2
|
+
function baseSet(object, path, value, customizer) {
|
|
3
|
+
if (!isObject(object)) {
|
|
4
|
+
return object;
|
|
5
|
+
}
|
|
6
|
+
path = castPath(path, object);
|
|
7
|
+
var index = -1, length = path.length, lastIndex = length - 1, nested = object;
|
|
8
|
+
while (nested != null && ++index < length) {
|
|
9
|
+
var key = toKey(path[index]), newValue = value;
|
|
10
|
+
if (key === "__proto__" || key === "constructor" || key === "prototype") {
|
|
11
|
+
return object;
|
|
12
|
+
}
|
|
13
|
+
if (index != lastIndex) {
|
|
14
|
+
var objValue = nested[key];
|
|
15
|
+
newValue = void 0;
|
|
16
|
+
if (newValue === void 0) {
|
|
17
|
+
newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
assignValue(nested, key, newValue);
|
|
21
|
+
nested = nested[key];
|
|
22
|
+
}
|
|
23
|
+
return object;
|
|
24
|
+
}
|
|
25
|
+
function basePickBy(object, paths, predicate) {
|
|
26
|
+
var index = -1, length = paths.length, result = {};
|
|
27
|
+
while (++index < length) {
|
|
28
|
+
var path = paths[index], value = baseGet(object, path);
|
|
29
|
+
if (predicate(value, path)) {
|
|
30
|
+
baseSet(result, castPath(path, object), value);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return result;
|
|
34
|
+
}
|
|
35
|
+
function basePick(object, paths) {
|
|
36
|
+
return basePickBy(object, paths, function(value, path) {
|
|
37
|
+
return hasIn(object, path);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
var pick = flatRest(function(object, paths) {
|
|
41
|
+
return object == null ? {} : basePick(object, paths);
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
pick as p
|
|
45
|
+
};
|
|
@@ -12,9 +12,8 @@ import { defineSolvimonCustomerPaymentMethods } from "./components/CustomerPayme
|
|
|
12
12
|
import { defineSolvimonWalletBalances } from "./components/WalletBalances/WalletBalances.es.js";
|
|
13
13
|
import { defineSolvimonBillingInformation } from "./components/BillingInformation/BillingInformation.es.js";
|
|
14
14
|
import { defineSolvimonBillingInformationForm } from "./components/BillingInformationForm/BillingInformationForm.es.js";
|
|
15
|
-
import {
|
|
15
|
+
import { g as getComponentName } from "./component-dpA83LIN.mjs";
|
|
16
16
|
import "vue";
|
|
17
|
-
import "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-WRXecMCj.mjs";
|
|
18
17
|
const SCREEN_DEFINERS = {
|
|
19
18
|
"customer-overview": defineSolvimonCustomerOverview,
|
|
20
19
|
checkout: defineSolvimonCheckout,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./components/PaymentMethodForm/PaymentMethodForm.cjs.js"),n=require("./screens/CustomerOverview/CustomerOverview.cjs.js"),o=require("./screens/Checkout/Checkout.cjs.js"),i=require("./screens/UpgradeSubscription/UpgradeSubscription.cjs.js"),t=require("./components/Invoice/Invoice.cjs.js"),r=require("./components/InvoiceDetails/InvoiceDetails.cjs.js"),s=require("./components/InvoicesList/InvoicesList.cjs.js"),c=require("./components/PaymentHistory/PaymentHistory.cjs.js"),m=require("./components/SubscriptionsList/SubscriptionsList.cjs.js"),u=require("./components/SubscriptionSchedules/SubscriptionSchedules.cjs.js"),l=require("./components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js"),a=require("./components/WalletBalances/WalletBalances.cjs.js"),p=require("./components/BillingInformation/BillingInformation.cjs.js"),d=require("./components/BillingInformationForm/BillingInformationForm.cjs.js"),f=require("./component-ZRZIt3ZW.js");require("vue");const v={"customer-overview":n.defineSolvimonCustomerOverview,checkout:o.defineSolvimonCheckout,"upgrade-subscription":i.defineSolvimonUpgradeSubscription},j={invoice:t.defineSolvimonInvoice,"invoice-details":r.defineSolvimonInvoiceDetails,"invoices-list":s.defineSolvimonInvoicesList,"payment-history":c.defineSolvimonPaymentHistory,"subscriptions-list":m.defineSolvimonSubscriptionsList,"subscription-schedules":u.defineSolvimonSubscriptionSchedules,"customer-payment-methods":l.defineSolvimonCustomerPaymentMethods,"wallet-balances":a.defineSolvimonWalletBalances,"billing-information":p.defineSolvimonBillingInformation,"billing-information-form":d.defineSolvimonBillingInformationForm,"payment-method-form":e.defineSolvimonPaymentMethodForm};function S(e,n){const o="screen"===n?(i=e,Object.hasOwn(v,i)&&v[e]):function(e){return Object.hasOwn(j,e)}(e)&&j[e];var i;if(!o)throw new Error(`Solvimon: unknown ${n} id "${e}". Registered ${n}s: ${Object.keys("screen"===n?v:j).join(", ")}.`);o()}function b(e,n,o,i){const t=function(e){if("string"==typeof e){const n=document.querySelector(e);if(!n)throw new Error(`Solvimon: container not found for selector "${e}"`);return n}return e}(e);S(n,o);const r=(s=n,f.getComponentName(s));var s;const c=document.createElement(r);return function(e,n){const o={};for(const[i,t]of Object.entries(n))void 0!==t&&(o[i]=t);Object.assign(e,o)}(c,i),t.appendChild(c),{unmount(){c.remove()}}}function h(e){const{container:n,...o}=e;return{container:n,props:Object.fromEntries(Object.entries(o))}}function g(e,n){return{...e,...n}}const y=["customer-overview","checkout","upgrade-subscription"],q=["invoice","invoice-details","invoices-list","payment-history","subscriptions-list","subscription-schedules","customer-payment-methods","wallet-balances","billing-information","billing-information-form","payment-method-form"];exports.createSolvimonCore=function(e={}){return{config:e,createComponent(n,o){const{container:i,props:t}=h(o);return b(i,n,"component",g(e,t)).unmount},createScreen(n,o){const{container:i,props:t}=h(o);return b(i,n,"screen",g(e,t)).unmount}}},exports.getRegisteredComponentIds=function(){return[...q]},exports.getRegisteredScreenIds=function(){return[...y]};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const SolvimonCheckout: import('
|
|
1
|
+
export declare const SolvimonCheckout: import('../../../../node_modules/vue/dist/vue.d.ts').VueElementConstructor<unknown>;
|
|
2
2
|
export declare const COMPONENT_NAME: string;
|
|
3
3
|
export declare const defineSolvimonCheckout: () => void;
|