@kiva/kv-shop 3.7.46 → 3.7.48
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.
|
@@ -41,6 +41,7 @@ import "../kv-components/dist/vue/KvLoanUse2.js";
|
|
|
41
41
|
import "../kv-components/dist/utils/mapUtils.js";
|
|
42
42
|
/* empty css */
|
|
43
43
|
/* empty css */
|
|
44
|
+
/* empty css */
|
|
44
45
|
/* empty css */
|
|
45
46
|
/* empty css */
|
|
46
47
|
import "../kv-components/dist/vue/KvTreeMapChart2.js";
|
|
@@ -56,7 +57,7 @@ import "../kv-components/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js";
|
|
|
56
57
|
/* empty css */
|
|
57
58
|
import "../kv-components/dist/utils/loanCard.js";
|
|
58
59
|
import T, { defaultPaymentTypes as I } from "../useBraintreeDropIn.js";
|
|
59
|
-
const
|
|
60
|
+
const At = {
|
|
60
61
|
components: {
|
|
61
62
|
KvLoadingSpinner: P
|
|
62
63
|
},
|
|
@@ -115,31 +116,31 @@ const qt = {
|
|
|
115
116
|
}
|
|
116
117
|
},
|
|
117
118
|
emits: ["transactions-enabled", "error"],
|
|
118
|
-
setup(
|
|
119
|
+
setup(i, { emit: e }) {
|
|
119
120
|
const {
|
|
120
|
-
amount:
|
|
121
|
+
amount: a,
|
|
121
122
|
authToken: u,
|
|
122
123
|
flow: l,
|
|
123
124
|
googlePayMerchantId: s,
|
|
124
125
|
paymentTypes: d,
|
|
125
126
|
preselectVaultedPaymentMethod: y
|
|
126
|
-
} = v(
|
|
127
|
+
} = v(i), o = m(null), p = m(!1), {
|
|
127
128
|
initDropIn: c,
|
|
128
129
|
paymentMethodRequestable: f,
|
|
129
130
|
requestPaymentMethod: h,
|
|
130
131
|
updateAmount: g
|
|
131
|
-
} = T(
|
|
132
|
-
return n(
|
|
132
|
+
} = T(i.dropInName);
|
|
133
|
+
return n(a, (t) => {
|
|
133
134
|
g(t);
|
|
134
135
|
}), n(f, (t) => {
|
|
135
|
-
|
|
136
|
+
e("transactions-enabled", t);
|
|
136
137
|
}, { immediate: !0 }), M(async () => {
|
|
137
138
|
var t;
|
|
138
139
|
if (((t = o.value) == null ? void 0 : t.innerHTML) === "") {
|
|
139
140
|
p.value = !0;
|
|
140
141
|
try {
|
|
141
142
|
await c({
|
|
142
|
-
amount:
|
|
143
|
+
amount: a.value,
|
|
143
144
|
authToken: u.value,
|
|
144
145
|
container: o.value,
|
|
145
146
|
googlePayMerchantId: s.value,
|
|
@@ -147,8 +148,8 @@ const qt = {
|
|
|
147
148
|
preselectVaultedPaymentMethod: y.value,
|
|
148
149
|
paypalFlow: l.value
|
|
149
150
|
});
|
|
150
|
-
} catch (
|
|
151
|
-
|
|
151
|
+
} catch (r) {
|
|
152
|
+
r instanceof Error ? e("error", r == null ? void 0 : r.message) : e("error", "An error has occured. Please refresh the page and try again.");
|
|
152
153
|
} finally {
|
|
153
154
|
p.value = !1;
|
|
154
155
|
}
|
|
@@ -161,5 +162,5 @@ const qt = {
|
|
|
161
162
|
}
|
|
162
163
|
};
|
|
163
164
|
export {
|
|
164
|
-
|
|
165
|
+
At as default
|
|
165
166
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@supports (-moz-appearance:none){.kv-progress-circle__ring-text[data-v-a03fc07d],.kv-progress-circle__ring-text-backdrop[data-v-a03fc07d]{display:none}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-shop",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.48",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@apollo/client": "^3.13.1",
|
|
36
36
|
"@kiva/kv-analytics": "^1.3.1",
|
|
37
|
-
"@kiva/kv-components": "^8.
|
|
37
|
+
"@kiva/kv-components": "^8.5.1",
|
|
38
38
|
"@kiva/vite-plugin-vue-lib-css": "^2.0.0",
|
|
39
39
|
"@types/braintree-web-drop-in": "^1.39.3",
|
|
40
40
|
"@types/jest": "^29.5.14",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"numeral": "2.x",
|
|
64
64
|
"vue": "3.x"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "cce0dee2a4fcf24363d4c1a6321452f471443fcd"
|
|
67
67
|
}
|