@kiva/kv-shop 3.7.71 → 3.7.73
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/components/KvPaymentSelect2.js +4 -2
- package/dist/kv-components/dist/data/allCountriesISOMap.js +249 -0
- package/dist/kv-components/dist/data/simpleMapCentroids.js +1265 -0
- package/dist/kv-components/dist/data/simpleMapCountryPaths.js +215 -0
- package/dist/kv-components/dist/data/simpleMapPaths.js +216 -0
- package/dist/kv-components/dist/utils/useMapTourCycle.js +73 -0
- package/dist/kv-components/dist/vue/KvAtbModal.css +1 -1
- package/dist/kv-components/dist/vue/KvCheckoutReceipt.css +1 -1
- package/dist/kv-components/dist/vue/KvIntroductionLoanCard.css +1 -1
- package/dist/kv-components/dist/vue/KvLoanActivities.css +1 -1
- package/dist/kv-components/dist/vue/KvSimpleMap.css +1 -0
- package/dist/kv-components/dist/vue/KvSimpleMap2.js +20 -0
- package/dist/kv-components/dist/vue/KvVotingCard.css +1 -1
- package/dist/kv-components/dist/vue/KvWideLoanCard.css +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ref as r, watch as g, onBeforeUnmount as P } from "vue";
|
|
2
|
+
const T = {
|
|
3
|
+
initialDelay: 1e3,
|
|
4
|
+
panDuration: 1200,
|
|
5
|
+
holdPerStep: 2e3,
|
|
6
|
+
popupHideBefore: 350,
|
|
7
|
+
holdAll: 2e3,
|
|
8
|
+
fadeDuration: 500
|
|
9
|
+
};
|
|
10
|
+
function E(d, D, y, A = {}) {
|
|
11
|
+
const e = { ...T, ...A }, i = r(-1), t = r(/* @__PURE__ */ new Set()), l = r(-1), u = r(!1);
|
|
12
|
+
let f = [];
|
|
13
|
+
function w() {
|
|
14
|
+
f.forEach((a) => clearTimeout(a)), f = [];
|
|
15
|
+
}
|
|
16
|
+
function S() {
|
|
17
|
+
i.value = -1, t.value = /* @__PURE__ */ new Set(), l.value = -1;
|
|
18
|
+
}
|
|
19
|
+
function n(a, o) {
|
|
20
|
+
f.push(setTimeout(a, o));
|
|
21
|
+
}
|
|
22
|
+
function m() {
|
|
23
|
+
const a = d.value;
|
|
24
|
+
if (!a.length) {
|
|
25
|
+
u.value = !1;
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
const o = e.panDuration + e.holdPerStep;
|
|
29
|
+
a.forEach((x, v) => {
|
|
30
|
+
const h = e.initialDelay + v * o;
|
|
31
|
+
n(() => {
|
|
32
|
+
i.value = v, l.value = -1;
|
|
33
|
+
}, h), n(() => {
|
|
34
|
+
t.value = /* @__PURE__ */ new Set([...t.value, x.id]), l.value = v;
|
|
35
|
+
}, h + e.panDuration), n(() => {
|
|
36
|
+
l.value = -1;
|
|
37
|
+
}, h + o - e.popupHideBefore);
|
|
38
|
+
});
|
|
39
|
+
const s = e.initialDelay + a.length * o, B = s + e.holdAll + e.fadeDuration;
|
|
40
|
+
n(() => {
|
|
41
|
+
i.value = -1, l.value = -1;
|
|
42
|
+
}, s), n(() => {
|
|
43
|
+
t.value = /* @__PURE__ */ new Set();
|
|
44
|
+
}, s + e.holdAll), n(() => {
|
|
45
|
+
y.value ? m() : u.value = !1;
|
|
46
|
+
}, B);
|
|
47
|
+
}
|
|
48
|
+
function p() {
|
|
49
|
+
w(), S(), u.value = !0, m();
|
|
50
|
+
}
|
|
51
|
+
function c() {
|
|
52
|
+
w(), S(), u.value = !1;
|
|
53
|
+
}
|
|
54
|
+
return g(
|
|
55
|
+
D,
|
|
56
|
+
(a) => {
|
|
57
|
+
a ? p() : c();
|
|
58
|
+
},
|
|
59
|
+
{ immediate: !0 }
|
|
60
|
+
), g(d, () => {
|
|
61
|
+
D.value && p();
|
|
62
|
+
}), P(c), {
|
|
63
|
+
panIdx: i,
|
|
64
|
+
highlighted: t,
|
|
65
|
+
showPopupIdx: l,
|
|
66
|
+
isRunning: u,
|
|
67
|
+
start: p,
|
|
68
|
+
stop: c
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
E as useMapTourCycle
|
|
73
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@media (min-width: 45.875rem){.cart-modal[data-v-
|
|
1
|
+
@media (min-width: 45.875rem){.cart-modal[data-v-22f7aa1c] div.container{right:var(--modal-right)!important;top:var(--modal-top)!important}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.section[data-v-
|
|
1
|
+
.section[data-v-63dc5a55]{border-bottom-width:.0625rem;border-top-width:0px;--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));padding:.5rem;display:block;overflow:hidden}@media print{.section[data-v-63dc5a55]{page-break-inside:avoid}}.section--lender-info[data-v-63dc5a55]{padding-top:0}.section--print[data-v-63dc5a55]{border-bottom:0}.checkout-receipt__headline[data-v-63dc5a55]{text-align:center;margin-bottom:1.5rem}.checkout-receipt__item-list[data-v-63dc5a55]{list-style:none;margin:0;width:100%}.loan__name[data-v-63dc5a55]{margin-bottom:.5rem}.loan__name--inline[data-v-63dc5a55]{display:inline-block}.loan__amount[data-v-63dc5a55]{text-align:right}.total[data-v-63dc5a55]{display:flex;align-items:baseline}.total__header[data-v-63dc5a55],.total__amount[data-v-63dc5a55]{text-align:right;flex:1}.total__amount[data-v-63dc5a55]{flex-grow:.33}.payments[data-v-63dc5a55]{border-bottom:none}.payments__type[data-v-63dc5a55]{display:flex;text-align:right}.payments__type-title[data-v-63dc5a55],.payments__type-amount[data-v-63dc5a55]{flex:1}.print[data-v-63dc5a55]{margin:0 auto}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.loan-callouts[data-v-
|
|
1
|
+
.loan-callouts[data-v-fa784de7] span{background-color:transparent!important;--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1))}.loan-card-use[data-v-fa784de7]:hover,.loan-card-use[data-v-fa784de7]:focus{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1))}.loan-card-active-hover:hover .loan-card-use[data-v-fa784de7],.loan-card-active-hover:hover .loan-card-name[data-v-fa784de7]{text-decoration-line:underline}.loan-card-progress[data-v-fa784de7],.loan-card-progress[data-v-fa784de7]:hover,.loan-card-progress[data-v-fa784de7]:focus{text-decoration-line:none}.loan-card-name[data-v-fa784de7]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;cursor:pointer;overflow:hidden;text-overflow:ellipsis;padding-left:1.5rem;padding-right:1.5rem;padding-top:.5rem}.loan-bookmark[data-v-fa784de7] button{border-top-left-radius:0!important;border-top-right-radius:0!important}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.loan-activity[data-v-
|
|
1
|
+
.loan-activity[data-v-c2b4aeda] #kvLightboxBody{display:flex;flex-direction:column;padding-left:0;padding-right:0;padding-bottom:0}.loan-activity[data-v-c2b4aeda] div>div>div>div>div:first-child{box-shadow:var(--kiva-box-shadow)}.loan-activity[data-v-c2b4aeda] div>div>div>div>div:first-child>div,.loan-activity[data-v-c2b4aeda] #kvLightboxBody div{box-shadow:none}.loan-activity[data-v-c2b4aeda] #kvLightboxBody>div:first-child{padding-left:2rem;padding-right:2rem}.loan-activity[data-v-c2b4aeda] [role=dialog]{min-width:840px;max-width:840px!important}@media (max-width: calc(840px + 2rem)){.loan-activity[data-v-c2b4aeda] [role=dialog]{min-width:100%;max-width:100%!important}}.loan-activity[data-v-c2b4aeda] #kvLightboxBody>div:nth-child(2){padding-left:2rem;padding-right:2rem;box-shadow:var(--kiva-negative-box-shadow)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.kv-simple-map__pan-layer[data-v-49496ad7]{transform-origin:0 0}.kv-simple-map__control-btn[data-v-49496ad7]{display:flex;height:2rem;width:2rem;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;border-width:.0625rem;--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 1px 4px 0 rgb(0 0 0 / .08);--tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.kv-simple-map__control-btn[data-v-49496ad7]:disabled{cursor:default;opacity:.3}.kv-simple-map__control-btn[data-v-49496ad7]:hover:not(:disabled){--tw-bg-opacity: 1;background-color:rgba(var(--bg-secondary),var(--tw-bg-opacity, 1))}.kv-simple-map__play-btn[data-v-49496ad7]{border-radius:500rem}.kv-simple-map__default-popup[data-v-49496ad7]{white-space:nowrap;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem 1.5rem;text-align:center;--tw-shadow: 0 1px 4px 0 rgb(0 0 0 / .08);--tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);min-width:80px}.kv-simple-map__popup[data-v-49496ad7]{height:0;width:0}.kv-simple-map__popup-content[data-v-49496ad7]{position:absolute;white-space:nowrap}.kv-simple-map__popup--top>.kv-simple-map__popup-content[data-v-49496ad7]{bottom:var(--kv-simple-map-popup-offset, 4px);left:0;transform:translate(-50%)}.kv-simple-map__popup--bottom>.kv-simple-map__popup-content[data-v-49496ad7]{top:var(--kv-simple-map-popup-offset, 4px);left:0;transform:translate(-50%)}.kv-simple-map__popup--bottom-right>.kv-simple-map__popup-content[data-v-49496ad7]{top:var(--kv-simple-map-popup-offset, 4px);left:var(--kv-simple-map-popup-offset, 4px)}.kv-simple-map-popup-enter-active[data-v-49496ad7],.kv-simple-map-popup-leave-active[data-v-49496ad7]{transition:opacity .18s ease-out}.kv-simple-map-popup-enter-from[data-v-49496ad7],.kv-simple-map-popup-leave-to[data-v-49496ad7]{opacity:0}.kv-simple-map-popup-enter-to[data-v-49496ad7],.kv-simple-map-popup-leave-from[data-v-49496ad7]{opacity:1}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as Ve, useSlots as qe, computed as o, ref as m, watch as U, createElementBlock as f, onMounted as Xe, onBeforeUnmount as je, openBlock as d, normalizeStyle as N, createElementVNode as g, createCommentVNode as D, Fragment as Ke, renderList as Ye, unref as k, createVNode as T, Transition as Ge, withCtx as Je, normalizeClass as Qe, renderSlot as We, toDisplayString as oe } from "vue";
|
|
2
|
+
import { mdiPlus as et, mdiMinus as tt, mdiPlay as lt } from "@mdi/js";
|
|
3
|
+
import S from "@kiva/kv-tokens";
|
|
4
|
+
import at from "../data/simpleMapPaths.js";
|
|
5
|
+
import ot from "../data/simpleMapCountryPaths.js";
|
|
6
|
+
import V from "../data/simpleMapCentroids.js";
|
|
7
|
+
import { ALL_COUNTRIES_ISO_MAP as ne } from "../data/allCountriesISOMap.js";
|
|
8
|
+
import { useMapTourCycle as nt } from "../utils/useMapTourCycle.js";
|
|
9
|
+
import q from "./KvMaterialIcon.js";
|
|
10
|
+
const ut = ["viewBox"], rt = ["d", "fill", "onPointerenter", "onPointerleave"], it = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "kv-simple-map__zoom-controls tw-absolute tw-top-2 tw-right-2 tw-flex tw-flex-col tw-gap-1"
|
|
13
|
+
}, st = ["disabled"], ct = ["disabled"], pt = { class: "kv-simple-map__popup-layer tw-absolute tw-inset-0 tw-pointer-events-none" }, vt = { class: "kv-simple-map__popup-content" }, mt = { class: "kv-simple-map__default-popup" }, ft = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "tw-text-label"
|
|
16
|
+
}, dt = {
|
|
17
|
+
key: 1,
|
|
18
|
+
class: "tw-text-caption"
|
|
19
|
+
}, P = 1300.02, B = 571.784, yt = "cubic-bezier(0.76, 0, 0.24, 1)", xt = 60;
|
|
20
|
+
P / B, S.colors["eco-green"].DEFAULT, S.colors.gray[200];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.kv-voting-card[data-v-
|
|
1
|
+
.kv-voting-card[data-v-482992ab]{max-width:300px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.loan-card-use[data-v-
|
|
1
|
+
.loan-card-use[data-v-addb15e1]:hover,.loan-card-use[data-v-addb15e1]:focus{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1))}.loan-card-active-hover:hover .loan-card-use[data-v-addb15e1]{text-decoration-line:underline}.loan-card-progress[data-v-addb15e1],.loan-card-progress[data-v-addb15e1]:hover,.loan-card-progress[data-v-addb15e1]:focus{text-decoration-line:none}.loan-callouts[data-v-addb15e1] div{height:auto;flex-wrap:wrap}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-shop",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.73",
|
|
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.12.0",
|
|
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": "395f5add0d2149a52dd1e07d7df2da2a321ab11a"
|
|
67
67
|
}
|