@kiva/kv-components 6.68.0 → 6.69.1

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.
@@ -1 +1 @@
1
- @media (min-width: 45.875rem){.cart-modal[data-v-85b67e19] div.container{right:var(--modal-right)!important;top:var(--modal-top)!important}}
1
+ @media (min-width: 45.875rem){.cart-modal[data-v-5233d12c] div.container{right:var(--modal-right)!important;top:var(--modal-top)!important}}
@@ -1,13 +1,13 @@
1
- import { toRefs as N, ref as E, computed as C, watch as F, onMounted as O, onUnmounted as z, resolveComponent as B, openBlock as d, createBlock as D, normalizeStyle as R, withCtx as S, createElementBlock as h, createVNode as T, createElementVNode as e, normalizeClass as I, toDisplayString as U, createCommentVNode as y } from "vue";
2
- import { throttle as G } from "../utils/throttle.js";
3
- import W from "./KvCartModal.js";
4
- import Y from "./KvCartPill.js";
1
+ import { toRefs as N, ref as B, computed as C, watch as F, onMounted as O, onUnmounted as z, resolveComponent as E, openBlock as u, createBlock as D, normalizeStyle as G, withCtx as S, createElementBlock as m, createVNode as R, createElementVNode as e, normalizeClass as T, toDisplayString as I, createCommentVNode as b } from "vue";
2
+ import { throttle as U } from "../utils/throttle.js";
3
+ import Y from "./KvCartModal.js";
4
+ import W from "./KvCartPill.js";
5
5
  import "./KvAtbModal.css";
6
6
  import J from "../_virtual/_plugin-vue_export-helper.js";
7
7
  const Q = {
8
8
  components: {
9
- KvCartModal: W,
10
- KvCartPill: Y
9
+ KvCartModal: Y,
10
+ KvCartPill: W
11
11
  },
12
12
  props: {
13
13
  /**
@@ -93,6 +93,20 @@ const Q = {
93
93
  milestonesProgress: {
94
94
  type: Object,
95
95
  default: () => ({})
96
+ },
97
+ /**
98
+ * is loan goal modal
99
+ * */
100
+ isLoanGoal: {
101
+ type: Boolean,
102
+ default: !1
103
+ },
104
+ /**
105
+ * is completing goal modal
106
+ * */
107
+ isCompletingGoal: {
108
+ type: Boolean,
109
+ default: !1
96
110
  }
97
111
  },
98
112
  emits: [
@@ -101,41 +115,45 @@ const Q = {
101
115
  "close-redirect"
102
116
  // close and redirect to another page on parent component
103
117
  ],
104
- setup(b, { emit: i }) {
118
+ setup(c, { emit: i }) {
105
119
  const {
106
120
  modalVisible: r,
107
121
  addedLoan: l,
108
- userData: m,
122
+ userData: p,
109
123
  hasEverLoggedIn: A,
110
- myKivaExperimentEnabled: p,
111
- oneLoanAwayCategory: w,
124
+ myKivaExperimentEnabled: w,
125
+ oneLoanAwayCategory: f,
112
126
  oneLoanAwayFilteredUrl: v,
113
127
  milestonesProgress: P
114
- } = N(b), f = E(0), k = E(0), Z = C(() => {
128
+ } = N(c), g = B(0), k = B(0), Z = C(() => {
115
129
  var t;
116
130
  return ((t = l.value) == null ? void 0 : t.basketSize) ?? 0;
117
131
  }), q = C(() => {
118
- const t = window.innerWidth - k.value - 200, o = `${t > 0 ? t : 0}`, n = `${f.value}`;
132
+ const t = window.innerWidth - k.value - 200, o = `${t > 0 ? t : 0}`, n = `${g.value}`;
119
133
  return { right: o, top: n };
120
- }), u = C(() => {
134
+ }), d = C(() => {
121
135
  var t;
122
136
  return (t = l.value) == null ? void 0 : t.name;
123
137
  }), _ = C(() => {
124
138
  var t;
125
- return !((t = m.value) != null && t.my);
126
- }), g = C(() => {
139
+ return !((t = p.value) != null && t.my);
140
+ }), y = C(() => {
127
141
  var t, o, n;
128
- return p.value && (_.value && !A.value || !_.value && !((n = (o = (t = m.value) == null ? void 0 : t.my) == null ? void 0 : o.loans) != null && n.totalCount)) && Z.value === 1;
129
- }), x = C(() => w.value && v.value && !g.value), j = C(() => Object.values(P.value).reduce((t, o) => t + (o > 0 ? o : 0), 0)), H = C(() => {
142
+ return w.value && (_.value && !A.value || !_.value && !((n = (o = (t = p.value) == null ? void 0 : t.my) == null ? void 0 : o.loans) != null && n.totalCount)) && Z.value === 1;
143
+ }), x = C(() => f.value && v.value && !y.value), j = C(() => Object.values(P.value).reduce((t, o) => t + (o > 0 ? o : 0), 0)), H = C(() => {
130
144
  var o, n, s;
131
- if (g.value) {
132
- const a = `Supporting ${u.value} helps`;
145
+ if (c.isCompletingGoal)
146
+ return `Supporting ${d.value} meets your annual goal!`;
147
+ if (c.isLoanGoal)
148
+ return "You’re closer to reaching your annual goal!";
149
+ if (y.value) {
150
+ const a = `Supporting ${d.value} helps`;
133
151
  return ((o = l.value) == null ? void 0 : o.borrowerCount) > 1 || (n = l.value) != null && n.themes.includes("Social Enterprise") ? `${a} them invest in themselves.` : ((s = l.value) == null ? void 0 : s.gender) === "male" ? `${a} him invest in himself.` : `${a} her invest in herself.`;
134
152
  }
135
153
  if (x.value)
136
154
  return "You’re close to your next achievement!";
137
155
  const t = j.value > 1 ? `${j.value} achievements` : "your next achievement";
138
- return u.value ? `Supporting ${u.value} will reach ${t}!` : "Supporting this loan reaches an achievement!";
156
+ return d.value ? `Supporting ${d.value} will reach ${t}!` : "Supporting this loan reaches an achievement!";
139
157
  }), V = (t) => {
140
158
  t === "view-basket" ? i("close-redirect", { type: t, path: "/basket" }) : t === "support-another" && v.value && i("close-redirect", { type: t, path: v.value });
141
159
  }, K = (t) => {
@@ -146,19 +164,19 @@ const Q = {
146
164
  let n = [...document.querySelectorAll('[data-testid="header-basket"]')], s = n.find((L) => L == null ? void 0 : L.clientHeight);
147
165
  s || (n = [...document.querySelectorAll('[data-testid="header-about"]')], s = n.find((L) => L == null ? void 0 : L.clientHeight));
148
166
  const a = (s == null ? void 0 : s.getBoundingClientRect()) ?? null;
149
- a && (a == null ? void 0 : a.right) !== k.value && (k.value = a == null ? void 0 : a.right), o && (o == null ? void 0 : o.bottom) !== f.value && (f.value = o == null ? void 0 : o.bottom);
150
- }, c = G(M, 50);
167
+ a && (a == null ? void 0 : a.right) !== k.value && (k.value = a == null ? void 0 : a.right), o && (o == null ? void 0 : o.bottom) !== g.value && (g.value = o == null ? void 0 : o.bottom);
168
+ }, h = U(M, 50);
151
169
  return F(r, () => {
152
170
  r.value && M();
153
171
  }, { immediate: !0 }), O(() => {
154
- M(), window.addEventListener("scroll", c), window.addEventListener("resize", c);
172
+ M(), window.addEventListener("scroll", h), window.addEventListener("resize", h);
155
173
  }), z(() => {
156
- window.removeEventListener("scroll", c), window.removeEventListener("resize", c);
174
+ window.removeEventListener("scroll", h), window.removeEventListener("resize", h);
157
175
  }), {
158
176
  modalPosition: q,
159
177
  basketCount: Z,
160
- isFirstLoan: g,
161
- borrowerName: u,
178
+ isFirstLoan: y,
179
+ borrowerName: d,
162
180
  showOneAway: x,
163
181
  pillMsg: H,
164
182
  closeCartModal: K
@@ -187,11 +205,11 @@ const Q = {
187
205
  key: 2,
188
206
  class: "tw-text-h5"
189
207
  };
190
- function o1(b, i, r, l, m, A) {
191
- const p = B("KvCartPill"), w = B("KvCartModal");
192
- return r.modalVisible ? (d(), D(w, {
208
+ function o1(c, i, r, l, p, A) {
209
+ const w = E("KvCartPill"), f = E("KvCartModal");
210
+ return r.modalVisible ? (u(), D(f, {
193
211
  key: 0,
194
- style: R({
212
+ style: G({
195
213
  "--modal-right": `${l.modalPosition.right}px`,
196
214
  "--modal-top": `${l.modalPosition.top}px`
197
215
  }),
@@ -203,8 +221,8 @@ function o1(b, i, r, l, m, A) {
203
221
  onCartModalClosed: l.closeCartModal
204
222
  }, {
205
223
  content: S(() => [
206
- r.showModalContent || l.isFirstLoan ? (d(), h("div", X, [
207
- T(p, {
224
+ r.showModalContent || l.isFirstLoan ? (u(), m("div", X, [
225
+ R(w, {
208
226
  class: "!tw-w-full tw-justify-center",
209
227
  "borrower-name": l.borrowerName,
210
228
  "milestones-number": r.milestonesNumber,
@@ -213,12 +231,12 @@ function o1(b, i, r, l, m, A) {
213
231
  }, {
214
232
  icon: S(() => [
215
233
  e("div", {
216
- class: I({
234
+ class: T({
217
235
  // eslint-disable-next-line max-len
218
236
  "tw-flex tw-items-center tw-justify-center tw-bg-gray-100 tw-p-0.5 tw-rounded tw-whitespace-nowrap": l.showOneAway
219
237
  })
220
238
  }, [
221
- l.isFirstLoan ? (d(), h("svg", $, i[0] || (i[0] = [
239
+ l.isFirstLoan ? (u(), m("svg", $, i[0] || (i[0] = [
222
240
  e("path", {
223
241
  d: "M36.2676 17.5025C34.6519 30.5945 24.9878 35.8229 20.1847 38.0889C20.1496 38.1055 20.1099 38.1043 20.075 38.0873C8.60201 32.516 4.24979 22.9018 3.62911 17.5025C3.34064 14.6558 3.18678 8.5719 3.14406 5.7867C3.14315 5.72754 3.1847 5.67723 3.24194 5.66227C11.6312 3.46948 14.2758 3.52186 20.0937 1.86776C20.1175 1.86099 20.1437 1.86113 20.1673 1.86833C26.6496 3.83905 31.8224 4.23356 36.8613 5.66108C36.9176 5.67702 36.9559 5.72959 36.9546 5.78805C36.8227 11.47 36.4423 15.9605 36.2676 17.5025Z",
224
242
  fill: "#2AA967",
@@ -374,23 +392,23 @@ function o1(b, i, r, l, m, A) {
374
392
  })
375
393
  ])
376
394
  ], -1)
377
- ]))) : (d(), h("svg", e1, i[1] || (i[1] = [
395
+ ]))) : (u(), m("svg", e1, i[1] || (i[1] = [
378
396
  e("path", {
379
397
  d: "M9.0001 19L5.6251 20.125C5.50843 20.1583 5.4001 20.1833 5.3001 20.2C5.2001 20.2167 5.1001 20.225 5.0001 20.225C4.46676 20.225 4.0001 20.0375 3.6001 19.6625C3.2001 19.2875 3.0001 18.8083 3.0001 18.225V12.775L0.400098 8.55C0.300098 8.38333 0.225098 8.2125 0.175098 8.0375C0.125098 7.8625 0.100098 7.68333 0.100098 7.5C0.100098 7.31667 0.125098 7.1375 0.175098 6.9625C0.225098 6.7875 0.300098 6.61667 0.400098 6.45L3.8001 0.95C3.98343 0.65 4.2251 0.416667 4.5251 0.25C4.8251 0.0833333 5.1501 0 5.5001 0H12.5001C12.8501 0 13.1751 0.0833333 13.4751 0.25C13.7751 0.416667 14.0168 0.65 14.2001 0.95L17.6001 6.45C17.7001 6.61667 17.7751 6.7875 17.8251 6.9625C17.8751 7.1375 17.9001 7.31667 17.9001 7.5C17.9001 7.68333 17.8751 7.8625 17.8251 8.0375C17.7751 8.2125 17.7001 8.38333 17.6001 8.55L15.0001 12.775V18.225C15.0001 18.8083 14.8001 19.2875 14.4001 19.6625C14.0001 20.0375 13.5334 20.225 13.0001 20.225C12.9001 20.225 12.8001 20.2167 12.7001 20.2C12.6001 20.1833 12.4918 20.1583 12.3751 20.125L9.0001 19ZM5.5001 13H12.5001L15.9001 7.5L12.5001 2H5.5001L2.1001 7.5L5.5001 13ZM7.9501 8.75L11.4751 5.2C11.6584 5 11.8876 4.90417 12.1626 4.9125C12.4376 4.92083 12.6751 5.01667 12.8751 5.2C13.0751 5.4 13.1793 5.6375 13.1876 5.9125C13.1959 6.1875 13.1001 6.425 12.9001 6.625L8.6501 10.875C8.4501 11.075 8.21677 11.175 7.9501 11.175C7.68343 11.175 7.4501 11.075 7.2501 10.875L5.1251 8.75C4.9251 8.55 4.8251 8.3125 4.8251 8.0375C4.8251 7.7625 4.9251 7.525 5.1251 7.325C5.3251 7.125 5.5626 7.025 5.8376 7.025C6.1126 7.025 6.3501 7.125 6.5501 7.325L7.9501 8.75Z",
380
398
  fill: "#757575"
381
399
  }, null, -1)
382
400
  ]))),
383
- l.showOneAway ? (d(), h("div", t1, U(r.oneAwayText), 1)) : y("", !0)
401
+ l.showOneAway ? (u(), m("div", t1, I(r.oneAwayText), 1)) : b("", !0)
384
402
  ], 2)
385
403
  ]),
386
404
  _: 1
387
405
  }, 8, ["borrower-name", "milestones-number", "is-close-next-milestone", "custom-message"])
388
- ])) : y("", !0)
406
+ ])) : b("", !0)
389
407
  ]),
390
408
  _: 1
391
- }, 8, ["style", "visible", "photo-path", "basket-count", "category-name", "onCartModalClosed"])) : y("", !0);
409
+ }, 8, ["style", "visible", "photo-path", "basket-count", "category-name", "onCartModalClosed"])) : b("", !0);
392
410
  }
393
- const C1 = /* @__PURE__ */ J(Q, [["render", o1], ["__scopeId", "data-v-85b67e19"]]);
411
+ const C1 = /* @__PURE__ */ J(Q, [["render", o1], ["__scopeId", "data-v-5233d12c"]]);
394
412
  export {
395
413
  C1 as default
396
414
  };
@@ -1 +1 @@
1
- .header-link[data-v-11e40cc0]{cursor:pointer;padding-top:1rem;padding-bottom:1rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.header-link[data-v-11e40cc0]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}[data-v-11e40cc0] .avatar div:first-child{display:flex}
1
+ .header-link[data-v-d30fd983]{cursor:pointer;padding-top:1rem;padding-bottom:1rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.header-link[data-v-d30fd983]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}[data-v-d30fd983] .avatar div:first-child{display:flex}
@@ -1,4 +1,4 @@
1
- import { defineAsyncComponent as h, ref as l, inject as Z, computed as H, watch as _, onMounted as $, onUnmounted as ee, resolveComponent as p, resolveDirective as ne, openBlock as r, createElementBlock as w, withDirectives as v, normalizeClass as y, withModifiers as U, createVNode as B, createBlock as T, withCtx as x, createTextVNode as f, createElementVNode as M, createCommentVNode as P, vShow as V, toDisplayString as te } from "vue";
1
+ import { defineAsyncComponent as h, ref as l, inject as Z, computed as L, watch as P, onMounted as $, onUnmounted as ee, resolveComponent as p, resolveDirective as ne, openBlock as i, createElementBlock as M, withDirectives as c, normalizeClass as A, withModifiers as B, createVNode as E, createBlock as y, withCtx as N, createTextVNode as k, createElementVNode as b, createCommentVNode as V, vShow as R, toDisplayString as te } from "vue";
2
2
  import { mdiAccountCircle as oe, mdiChevronDown as ae, mdiMagnify as le, mdiMenu as re } from "@mdi/js";
3
3
  import ie from "numeral";
4
4
  import de from "@kiva/kv-tokens";
@@ -10,7 +10,7 @@ import { throttle as ce } from "../../utils/throttle.js";
10
10
  import { isLegacyPlaceholderAvatar as we } from "../../utils/imageUtils.js";
11
11
  import "./KvHeaderLinkBar.css";
12
12
  import fe from "../../_virtual/_plugin-vue_export-helper.js";
13
- const Me = h(() => import("./KvHeaderMobileMenu.js")), R = h(() => import("./KvHeaderMyKivaMenu.js")), ke = h(() => import("./LendMenu/KvLendMenu.js")), he = h(() => import("./KvHeaderTakeActionMenu.js")), ge = h(() => import("./KvHeaderAboutMenu.js")), F = 150, k = "avatar-menu", K = "menuButton", W = { top: "-3.75rem", width: "100%" }, A = "lendButton", be = {
13
+ const Me = h(() => import("./KvHeaderMobileMenu.js")), F = h(() => import("./KvHeaderMyKivaMenu.js")), ke = h(() => import("./LendMenu/KvLendMenu.js")), be = h(() => import("./KvHeaderTakeActionMenu.js")), he = h(() => import("./KvHeaderAboutMenu.js")), W = 150, w = "avatar-menu", I = "menuButton", z = { top: "-3.75rem", width: "100%" }, ge = "lendButton", Te = "takeActionButton", pe = "aboutUsLink", Ae = {
14
14
  components: {
15
15
  KvMaterialIcon: ue,
16
16
  KvIconBag: me,
@@ -58,118 +58,134 @@ const Me = h(() => import("./KvHeaderMobileMenu.js")), R = h(() => import("./KvH
58
58
  emits: [
59
59
  "item-hover"
60
60
  ],
61
- setup(i, { emit: n }) {
62
- const a = l(null), e = l(null), N = l(null), E = l(null), g = l(null), c = l(null), I = l(null), L = l(null), d = l(null), t = l(null), O = Z("$kvTrackEvent"), u = (o, m, s = null) => {
63
- n("item-hover", o, m, s);
64
- }, z = (o, m, s = null) => {
65
- navigator.maxTouchPoints || (o === A && t.value !== A && O(
66
- "TopNav",
67
- "hover-Lend-menu",
68
- "Lend"
69
- ), t.value = o, u(
70
- o,
71
- m,
72
- o === K && i.isMobile ? W : s
73
- ));
74
- }, j = (o) => {
75
- !navigator.maxTouchPoints && t.value === o && (t.value = null, u());
76
- }, D = () => {
77
- var C;
78
- const o = (C = a.value) == null ? void 0 : C.getBoundingClientRect();
79
- if (!o) return null;
80
- const s = o.left + o.width / 2 - F / 2, Y = `${window.innerWidth - s - F}px`;
61
+ setup(d, { emit: n }) {
62
+ const a = l(null), e = l(null), K = l(null), x = l(null), g = l(null), f = l(null), U = l(null), H = l(null), u = l(null), o = l(null), O = Z("$kvTrackEvent"), _ = {
63
+ [ge]: { action: "hover-Lend-menu", label: "Lend" },
64
+ [Te]: { action: "hover-Take-action-menu", label: "Take action" },
65
+ [pe]: { action: "hover-About-menu", label: "About" },
66
+ [I]: { action: "hover-Hamburger-menu", label: "Hamburger" },
67
+ [w]: { action: "hover-Avatar-menu", label: "Avatar" }
68
+ }, m = (t, s, v = null) => {
69
+ n("item-hover", t, s, v);
70
+ }, j = (t, s, v = null) => {
71
+ if (!navigator.maxTouchPoints) {
72
+ if (t && o.value !== t) {
73
+ const r = _[t];
74
+ r && O(
75
+ "TopNav",
76
+ r.action,
77
+ r.label
78
+ );
79
+ }
80
+ o.value = t, m(
81
+ t,
82
+ s,
83
+ t === I && d.isMobile ? z : v
84
+ );
85
+ }
86
+ }, q = (t) => {
87
+ !navigator.maxTouchPoints && o.value === t && (o.value = null, m());
88
+ }, C = () => {
89
+ var S;
90
+ const t = (S = a.value) == null ? void 0 : S.getBoundingClientRect();
91
+ if (!t) return null;
92
+ const v = t.left + t.width / 2 - W / 2, r = `${window.innerWidth - v - W}px`;
81
93
  return {
82
- right: (window == null ? void 0 : window.innerWidth) < de.breakpoints.md ? 0 : Y
94
+ right: (window == null ? void 0 : window.innerWidth) < de.breakpoints.md ? 0 : r
83
95
  };
84
- }, b = () => {
85
- t.value = k, u(a.value, R, D());
86
- }, q = (o, m, s) => {
87
- o === A && t.value !== A && O(
88
- "TopNav",
89
- "hover-Lend-menu",
90
- "Lend"
91
- ), t.value === K && (t.value = null), !t.value || t.value !== o ? (t.value = o, o === k ? b() : o === K && i.isMobile ? u(o, m, W) : u(o, m, s)) : (t.value = null, u());
92
- }, S = ce(() => {
93
- t.value === k && b();
94
- }, 100), G = H(() => i.isMobile ? void 0 : "/lend-by-category"), J = H(() => {
95
- var o;
96
- return ((o = i.lenderImageUrl) == null ? void 0 : o.split("/").pop()) ?? "";
97
- }), Q = H(() => Math.floor(i.balance)), X = (o) => {
98
- o.target === o.currentTarget && u();
96
+ }, T = () => {
97
+ o.value = w, m(a.value, F, C());
98
+ }, G = (t, s, v) => {
99
+ if (t && o.value !== t) {
100
+ const r = _[t];
101
+ r && O(
102
+ "TopNav",
103
+ r.action,
104
+ r.label
105
+ );
106
+ }
107
+ o.value === I && (o.value = null), !o.value || o.value !== t ? (o.value = t, t === w ? T() : t === I && d.isMobile ? m(t, s, z) : m(t, s, v)) : (o.value = null, m());
108
+ }, D = ce(() => {
109
+ o.value === w && T();
110
+ }, 100), J = L(() => d.isMobile ? void 0 : "/lend-by-category"), Q = L(() => {
111
+ var t;
112
+ return ((t = d.lenderImageUrl) == null ? void 0 : t.split("/").pop()) ?? "";
113
+ }), X = L(() => Math.floor(d.balance)), Y = (t) => {
114
+ t.target === t.currentTarget && m();
99
115
  };
100
- return _(
101
- () => i.isMobile,
116
+ return P(
117
+ () => d.isMobile,
102
118
  () => {
103
- t.value === k && b();
119
+ o.value === w && T();
104
120
  }
105
- ), _(
106
- () => i.openMenuItem,
107
- (o) => {
108
- o || (t.value = null);
121
+ ), P(
122
+ () => d.openMenuItem,
123
+ (t) => {
124
+ t || (o.value = null);
109
125
  }
110
126
  ), $(() => {
111
- import("./KvHeaderMobileMenu.js"), import("./KvHeaderMyKivaMenu.js"), import("./LendMenu/KvLendMenu.js"), import("./KvHeaderTakeActionMenu.js"), import("./KvHeaderAboutMenu.js"), window.addEventListener("resize", S);
127
+ import("./KvHeaderMobileMenu.js"), import("./KvHeaderMyKivaMenu.js"), import("./LendMenu/KvLendMenu.js"), import("./KvHeaderTakeActionMenu.js"), import("./KvHeaderAboutMenu.js"), window.addEventListener("resize", D);
112
128
  }), ee(() => {
113
- window.removeEventListener("resize", S);
129
+ window.removeEventListener("resize", D);
114
130
  }), {
115
- AVATAR_MENU_ID: k,
116
- openMenuId: t,
131
+ AVATAR_MENU_ID: w,
132
+ openMenuId: o,
117
133
  numeral: ie,
118
134
  mdiAccountCircle: oe,
119
135
  mdiChevronDown: ae,
120
136
  mdiMagnify: le,
121
137
  mdiMenu: re,
122
- onHover: u,
138
+ onHover: m,
123
139
  avatar: a,
124
140
  lendButton: e,
125
- aboutUsLink: N,
126
- partnerWithUsLink: E,
141
+ aboutUsLink: K,
142
+ partnerWithUsLink: x,
127
143
  borrowLink: g,
128
- supportKivaLink: c,
129
- basketLink: I,
130
- signInLink: L,
131
- menuButton: d,
132
- lendUrl: G,
133
- avatarFilename: J,
134
- handleOnHover: z,
135
- handleTouchStart: q,
136
- handleMouseOut: j,
137
- handleAvatarMenuPosition: b,
144
+ supportKivaLink: f,
145
+ basketLink: U,
146
+ signInLink: H,
147
+ menuButton: u,
148
+ lendUrl: J,
149
+ avatarFilename: Q,
150
+ handleOnHover: j,
151
+ handleTouchStart: G,
152
+ handleMouseOut: q,
153
+ handleAvatarMenuPosition: T,
138
154
  KvHeaderMobileMenu: Me,
139
- KvHeaderMyKivaMenu: R,
155
+ KvHeaderMyKivaMenu: F,
140
156
  KvLendMenu: ke,
141
- KvHeaderTakeActionMenu: he,
142
- KvHeaderAboutMenu: ge,
157
+ KvHeaderTakeActionMenu: be,
158
+ KvHeaderAboutMenu: he,
143
159
  isLegacyPlaceholderAvatar: we,
144
- getAvatarMenuPosition: D,
145
- handleEmptySpaceClick: X,
146
- roundedBalance: Q
160
+ getAvatarMenuPosition: C,
161
+ handleEmptySpaceClick: Y,
162
+ roundedBalance: X
147
163
  };
148
164
  }
149
- }, pe = ["href"], ye = {
165
+ }, ye = ["href"], Ie = {
150
166
  ref: "avatar",
151
167
  class: "tw-cursor-pointer tw-flex tw-items-center tw-gap-1 tw-bg-eco-green-1 tw-rounded-md tw-py-0.5 md:tw-py-1 tw-px-1 md:tw-px-2"
152
- }, Te = { class: "tw-text-eco-green-4" }, Ae = ["href"];
153
- function Ie(i, n, a, e, N, E) {
154
- const g = p("kv-material-icon"), c = p("KvHeaderDropdownLink"), I = p("kv-icon-bag"), L = p("KvUserAvatar"), d = ne("kv-track-event");
155
- return r(), w("div", {
168
+ }, Ue = { class: "tw-text-eco-green-4" }, He = ["href"];
169
+ function Le(d, n, a, e, K, x) {
170
+ const g = p("kv-material-icon"), f = p("KvHeaderDropdownLink"), U = p("kv-icon-bag"), H = p("KvUserAvatar"), u = ne("kv-track-event");
171
+ return i(), M("div", {
156
172
  class: "tw-h-full tw-flex tw-items-center tw-gap-0.5 md:tw-gap-2 lg:tw-gap-2.5",
157
- onTouchstart: n[10] || (n[10] = (...t) => e.handleEmptySpaceClick && e.handleEmptySpaceClick(...t))
173
+ onTouchstart: n[10] || (n[10] = (...o) => e.handleEmptySpaceClick && e.handleEmptySpaceClick(...o))
158
174
  }, [
159
- v((r(), w("button", {
175
+ c((i(), M("button", {
160
176
  ref: "menuButton",
161
- class: y(["header-link tw-inline-flex md:tw-hidden", {
177
+ class: A(["header-link tw-inline-flex md:tw-hidden", {
162
178
  "tw-text-tertiary": a.openMenuItem && a.openMenuItem !== e.KvHeaderMobileMenu
163
179
  }]),
164
- onMouseover: n[0] || (n[0] = (t) => e.handleOnHover("menuButton", e.KvHeaderMobileMenu)),
165
- onMouseout: n[1] || (n[1] = (t) => e.handleMouseOut("menuButton")),
166
- onTouchstart: n[2] || (n[2] = U((t) => e.handleTouchStart("menuButton", e.KvHeaderMobileMenu), ["stop"]))
180
+ onMouseover: n[0] || (n[0] = (o) => e.handleOnHover("menuButton", e.KvHeaderMobileMenu)),
181
+ onMouseout: n[1] || (n[1] = (o) => e.handleMouseOut("menuButton")),
182
+ onTouchstart: n[2] || (n[2] = B((o) => e.handleTouchStart("menuButton", e.KvHeaderMobileMenu), ["stop"]))
167
183
  }, [
168
- B(g, { icon: e.mdiMenu }, null, 8, ["icon"])
184
+ E(g, { icon: e.mdiMenu }, null, 8, ["icon"])
169
185
  ], 34)), [
170
- [d, a.openMenuItem === e.KvHeaderMobileMenu ? ["TopNav", "click-Hamburger-menu"] : null]
186
+ [u, a.openMenuItem === e.KvHeaderMobileMenu ? ["TopNav", "click-Hamburger-menu"] : null]
171
187
  ]),
172
- v((r(), T(c, {
188
+ c((i(), y(f, {
173
189
  class: "tw-py-1",
174
190
  "ref-name": "lendButton",
175
191
  href: e.lendUrl,
@@ -178,17 +194,17 @@ function Ie(i, n, a, e, N, E) {
178
194
  "dropdown-icon": e.mdiChevronDown,
179
195
  "base-class": "tw-inline-flex md:tw-border md:tw-rounded-md tw-px-1.5 tw-py-0.5",
180
196
  onOnHover: e.handleOnHover,
181
- onMouseleave: n[3] || (n[3] = (t) => e.handleMouseOut("lendButton")),
182
- onTouchstart: n[4] || (n[4] = U((t) => e.handleTouchStart("lendButton", e.KvLendMenu), ["stop"]))
197
+ onMouseleave: n[3] || (n[3] = (o) => e.handleMouseOut("lendButton")),
198
+ onTouchstart: n[4] || (n[4] = B((o) => e.handleTouchStart("lendButton", e.KvLendMenu), ["stop"]))
183
199
  }, {
184
- default: x(() => n[11] || (n[11] = [
185
- f(" Lend ")
200
+ default: N(() => n[11] || (n[11] = [
201
+ k(" Lend ")
186
202
  ])),
187
203
  _: 1
188
204
  }, 8, ["href", "menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
189
- [d, ["TopNav", "click-Lend"]]
205
+ [u, ["TopNav", "click-Lend"]]
190
206
  ]),
191
- v((r(), T(c, {
207
+ c((i(), y(f, {
192
208
  "ref-name": "takeActionButton",
193
209
  "base-class": "tw-hidden md:tw-inline-flex tw-py-1",
194
210
  "menu-component": e.KvHeaderTakeActionMenu,
@@ -196,17 +212,17 @@ function Ie(i, n, a, e, N, E) {
196
212
  "dropdown-icon": e.mdiChevronDown,
197
213
  "send-link-position": "",
198
214
  onOnHover: e.handleOnHover,
199
- onMouseleave: n[5] || (n[5] = (t) => e.handleMouseOut("takeActionButton")),
215
+ onMouseleave: n[5] || (n[5] = (o) => e.handleMouseOut("takeActionButton")),
200
216
  onUserTap: e.handleTouchStart
201
217
  }, {
202
- default: x(() => n[12] || (n[12] = [
203
- f(" Take action ")
218
+ default: N(() => n[12] || (n[12] = [
219
+ k(" Take action ")
204
220
  ])),
205
221
  _: 1
206
222
  }, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover", "onUserTap"])), [
207
- [d, ["TopNav", "click-take-action"]]
223
+ [u, ["TopNav", "click-take-action"]]
208
224
  ]),
209
- B(c, {
225
+ E(f, {
210
226
  "ref-name": "aboutUsLink",
211
227
  "data-testid": "header-about",
212
228
  "base-class": "tw-hidden md:tw-inline-flex tw-py-1",
@@ -215,77 +231,77 @@ function Ie(i, n, a, e, N, E) {
215
231
  "dropdown-icon": e.mdiChevronDown,
216
232
  "send-link-position": "",
217
233
  onOnHover: e.handleOnHover,
218
- onMouseleave: n[6] || (n[6] = (t) => e.handleMouseOut("aboutUsLink")),
234
+ onMouseleave: n[6] || (n[6] = (o) => e.handleMouseOut("aboutUsLink")),
219
235
  onUserTap: e.handleTouchStart
220
236
  }, {
221
- default: x(() => n[13] || (n[13] = [
222
- f(" About ")
237
+ default: N(() => n[13] || (n[13] = [
238
+ k(" About ")
223
239
  ])),
224
240
  _: 1
225
241
  }, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover", "onUserTap"]),
226
- n[17] || (n[17] = M("div", { class: "tw-flex-1 tw-h-full" }, null, -1)),
227
- a.loggedIn ? v((r(), w("a", {
242
+ n[17] || (n[17] = b("div", { class: "tw-flex-1 tw-h-full" }, null, -1)),
243
+ a.loggedIn ? c((i(), M("a", {
228
244
  key: 0,
229
245
  ref: "dashboardLink",
230
246
  href: a.myDashboardUrl,
231
- class: y(["header-link tw-hidden md:tw-block", { "tw-text-tertiary": !!a.openMenuItem }])
247
+ class: A(["header-link tw-hidden md:tw-block", { "tw-text-tertiary": !!a.openMenuItem }])
232
248
  }, n[14] || (n[14] = [
233
- f(" My dashboard ")
234
- ]), 10, pe)), [
235
- [d, ["TopNav", "click-Dashboard"]]
236
- ]) : P("", !0),
237
- v((r(), w("a", {
249
+ k(" My dashboard ")
250
+ ]), 10, ye)), [
251
+ [u, ["TopNav", "click-Dashboard"]]
252
+ ]) : V("", !0),
253
+ c((i(), M("a", {
238
254
  ref: "basketLink",
239
255
  href: "/basket",
240
- class: y(["header-link tw-relative md:!tw-mr-0 tw-flex tw-items-center tw-gap-0.5", { "tw-text-tertiary": !!a.openMenuItem }]),
256
+ class: A(["header-link tw-relative md:!tw-mr-0 tw-flex tw-items-center tw-gap-0.5", { "tw-text-tertiary": !!a.openMenuItem }]),
241
257
  style: { "margin-right": "2px" },
242
258
  "data-testid": "header-basket"
243
259
  }, [
244
- B(I, {
260
+ E(U, {
245
261
  class: "tw-w-3 tw-h-3 md:tw-w-3.5 md:tw-h-3.5 tw-pointer-events-none tw-text-action",
246
262
  count: a.basketCount
247
263
  }, null, 8, ["count"]),
248
- n[15] || (n[15] = M("span", { class: "tw-hidden md:tw-block" }, "Basket", -1))
264
+ n[15] || (n[15] = b("span", { class: "tw-hidden md:tw-block" }, "Basket", -1))
249
265
  ], 2)), [
250
- [V, a.basketCount > 0],
251
- [d, ["TopNav", "click-Basket"]]
266
+ [R, a.basketCount > 0],
267
+ [u, ["TopNav", "click-Basket"]]
252
268
  ]),
253
- M("div", {
269
+ b("div", {
254
270
  class: "md:tw-py-1",
255
- onMouseenter: n[7] || (n[7] = (t) => e.handleOnHover(e.AVATAR_MENU_ID, e.KvHeaderMyKivaMenu, e.getAvatarMenuPosition())),
256
- onMouseleave: n[8] || (n[8] = (t) => e.handleMouseOut(e.AVATAR_MENU_ID)),
257
- onTouchstart: n[9] || (n[9] = U((t) => e.handleTouchStart(e.AVATAR_MENU_ID), ["stop"]))
271
+ onMouseenter: n[7] || (n[7] = (o) => e.handleOnHover(e.AVATAR_MENU_ID, e.KvHeaderMyKivaMenu, e.getAvatarMenuPosition())),
272
+ onMouseleave: n[8] || (n[8] = (o) => e.handleMouseOut(e.AVATAR_MENU_ID)),
273
+ onTouchstart: n[9] || (n[9] = B((o) => e.handleTouchStart(e.AVATAR_MENU_ID), ["stop"]))
258
274
  }, [
259
- v(M("div", ye, [
260
- e.isLegacyPlaceholderAvatar(e.avatarFilename) || !e.avatarFilename ? (r(), T(g, {
275
+ c(b("div", Ie, [
276
+ e.isLegacyPlaceholderAvatar(e.avatarFilename) || !e.avatarFilename ? (i(), y(g, {
261
277
  key: 0,
262
278
  icon: e.mdiAccountCircle,
263
279
  class: "tw-w-3"
264
- }, null, 8, ["icon"])) : (r(), T(L, {
280
+ }, null, 8, ["icon"])) : (i(), y(H, {
265
281
  key: 1,
266
282
  class: "avatar",
267
283
  "lender-name": a.lenderName,
268
284
  "lender-image-url": a.lenderImageUrl,
269
285
  "is-small": ""
270
286
  }, null, 8, ["lender-name", "lender-image-url"])),
271
- M("span", Te, te(e.numeral(e.roundedBalance).format("$0")), 1)
287
+ b("span", Ue, te(e.numeral(e.roundedBalance).format("$0")), 1)
272
288
  ], 512), [
273
- [V, a.loggedIn]
289
+ [R, a.loggedIn]
274
290
  ])
275
291
  ], 32),
276
- a.loggedIn ? P("", !0) : v((r(), w("a", {
292
+ a.loggedIn ? V("", !0) : c((i(), M("a", {
277
293
  key: 1,
278
294
  ref: "signInLink",
279
295
  href: a.loginUrl,
280
- class: y(["header-link", { "tw-text-tertiary": !!a.openMenuItem }])
296
+ class: A(["header-link", { "tw-text-tertiary": !!a.openMenuItem }])
281
297
  }, n[16] || (n[16] = [
282
- f(" Sign in ")
283
- ]), 10, Ae)), [
284
- [d, ["TopNav", "click-Sign-in"]]
298
+ k(" Sign in ")
299
+ ]), 10, He)), [
300
+ [u, ["TopNav", "click-Sign-in"]]
285
301
  ])
286
302
  ], 32);
287
303
  }
288
- const Pe = /* @__PURE__ */ fe(be, [["render", Ie], ["__scopeId", "data-v-11e40cc0"]]);
304
+ const Fe = /* @__PURE__ */ fe(Ae, [["render", Le], ["__scopeId", "data-v-d30fd983"]]);
289
305
  export {
290
- Pe as default
306
+ Fe as default
291
307
  };
@@ -1 +1 @@
1
- .mobile-link[data-v-2265193a]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-2265193a]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
1
+ .mobile-link[data-v-4bba67dd]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-4bba67dd]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -1,10 +1,10 @@
1
1
  import { mdiClose as w } from "@mdi/js";
2
2
  import f from "../KvAccordionItem.js";
3
3
  import h from "../KvMaterialIcon.js";
4
- import { resolveComponent as u, resolveDirective as g, openBlock as t, createElementBlock as o, createBlock as _, createCommentVNode as A, createVNode as p, withCtx as a, createElementVNode as r, Fragment as K, renderList as y, withDirectives as n, toDisplayString as m, createTextVNode as s } from "vue";
4
+ import { resolveComponent as p, resolveDirective as g, openBlock as t, createElementBlock as n, withDirectives as i, createBlock as c, createCommentVNode as _, withCtx as a, createElementVNode as r, Fragment as A, renderList as K, toDisplayString as m, createTextVNode as s } from "vue";
5
5
  import "./KvHeaderMobileMenu.css";
6
6
  import N from "../../_virtual/_plugin-vue_export-helper.js";
7
- const I = {
7
+ const T = {
8
8
  name: "KvHeaderMobileMenu",
9
9
  components: {
10
10
  KvAccordionItem: f,
@@ -56,19 +56,19 @@ const I = {
56
56
  ]
57
57
  };
58
58
  }
59
- }, x = { class: "tw--mt-0.5 tw-pb-0.5 tw-gap-2 tw-flex tw-flex-col tw-items-end md:tw-hidden tw-font-medium tw-p-2.5" }, T = { class: "tw-flex tw-flex-col tw-gap-2 tw-pl-1" }, M = ["href"], C = { class: "tw-text-secondary tw-font-book" }, D = { class: "tw-flex tw-flex-col tw-gap-2 tw-pb-2 tw-pl-1" }, E = {
59
+ }, y = { class: "tw--mt-0.5 tw-pb-0.5 tw-gap-2 tw-flex tw-flex-col tw-items-end md:tw-hidden tw-font-medium tw-p-2.5" }, I = { class: "tw-flex tw-flex-col tw-gap-2 tw-pl-1" }, x = ["href"], M = { class: "tw-text-secondary tw-font-book" }, C = { class: "tw-flex tw-flex-col tw-gap-2 tw-pb-2 tw-pl-1" }, H = {
60
60
  href: "/about",
61
61
  class: "mobile-link"
62
- }, B = {
62
+ }, D = {
63
63
  href: "/about/how",
64
64
  class: "mobile-link"
65
- }, H = {
65
+ }, E = {
66
66
  href: "/about/where-kiva-works",
67
67
  class: "mobile-link"
68
- }, P = {
68
+ }, B = {
69
69
  href: "/impact",
70
70
  class: "mobile-link"
71
- }, V = {
71
+ }, P = {
72
72
  href: "/about/leadership",
73
73
  class: "mobile-link"
74
74
  }, $ = {
@@ -81,16 +81,18 @@ const I = {
81
81
  href: "/about/due-diligence",
82
82
  class: "mobile-link"
83
83
  };
84
- function S(v, e, k, W, c, q) {
85
- const b = u("KvMaterialIcon"), d = u("KvAccordionItem"), i = g("kv-track-event");
86
- return t(), o("nav", x, [
87
- k.isMobile ? (t(), _(b, {
84
+ function S(v, e, b, V, d, W) {
85
+ const k = p("KvMaterialIcon"), u = p("KvAccordionItem"), o = g("kv-track-event");
86
+ return t(), n("nav", y, [
87
+ b.isMobile ? i((t(), c(k, {
88
88
  key: 0,
89
- icon: c.mdiClose,
89
+ icon: d.mdiClose,
90
90
  class: "tw-cursor-pointer",
91
91
  onClick: e[0] || (e[0] = (l) => v.$emit("closing-menu"))
92
- }, null, 8, ["icon"])) : A("", !0),
93
- p(d, {
92
+ }, null, 8, ["icon"])), [
93
+ [o, ["TopNav", "click-Hamburger-close"]]
94
+ ]) : _("", !0),
95
+ i((t(), c(u, {
94
96
  id: "accordion-take-action-menu",
95
97
  open: "",
96
98
  class: "tw-w-full tw-border-b-0"
@@ -99,23 +101,24 @@ function S(v, e, k, W, c, q) {
99
101
  r("h3", { class: "tw-pb-0.5" }, " Take action ", -1)
100
102
  ])),
101
103
  default: a(() => [
102
- r("div", T, [
103
- (t(!0), o(K, null, y(c.menuItems, (l) => n((t(), o("div", {
104
- key: l.title
104
+ r("div", I, [
105
+ (t(!0), n(A, null, K(d.menuItems, (l) => i((t(), n("a", {
106
+ key: l.title,
107
+ href: l.url,
108
+ class: "mobile-link"
105
109
  }, [
106
- r("a", {
107
- href: l.url,
108
- class: "mobile-link"
109
- }, m(l.title), 9, M),
110
- r("p", C, m(l.description), 1)
111
- ])), [
112
- [i, ["TopNav", `click-${l.trackEvent}`]]
110
+ r("div", null, m(l.title), 1),
111
+ r("p", M, m(l.description), 1)
112
+ ], 8, x)), [
113
+ [o, ["TopNav", `click-${l.trackEvent}`]]
113
114
  ])), 128))
114
115
  ])
115
116
  ]),
116
117
  _: 1
117
- }),
118
- p(d, {
118
+ })), [
119
+ [o, ["TopNav", "click-Hamburger-Take-action-accordion"]]
120
+ ]),
121
+ i((t(), c(u, {
119
122
  id: "accordion-about-menu",
120
123
  class: "tw-w-full tw-pb-1"
121
124
  }, {
@@ -123,54 +126,56 @@ function S(v, e, k, W, c, q) {
123
126
  r("h3", { class: "tw-pb-0.5" }, " About ", -1)
124
127
  ])),
125
128
  default: a(() => [
126
- r("div", D, [
127
- n((t(), o("a", E, e[3] || (e[3] = [
129
+ r("div", C, [
130
+ i((t(), n("a", H, e[3] || (e[3] = [
128
131
  s("About us")
129
132
  ]))), [
130
- [i, ["TopNav", "click-About-About us"]]
133
+ [o, ["TopNav", "click-About-About us"]]
131
134
  ]),
132
- n((t(), o("a", B, e[4] || (e[4] = [
135
+ i((t(), n("a", D, e[4] || (e[4] = [
133
136
  s("How Kiva works")
134
137
  ]))), [
135
- [i, ["TopNav", "click-About-How Kiva works"]]
138
+ [o, ["TopNav", "click-About-How Kiva works"]]
136
139
  ]),
137
- n((t(), o("a", H, e[5] || (e[5] = [
140
+ i((t(), n("a", E, e[5] || (e[5] = [
138
141
  s("Where Kiva works")
139
142
  ]))), [
140
- [i, ["TopNav", "click-About-Where Kiva works"]]
143
+ [o, ["TopNav", "click-About-Where Kiva works"]]
141
144
  ]),
142
- n((t(), o("a", P, e[6] || (e[6] = [
145
+ i((t(), n("a", B, e[6] || (e[6] = [
143
146
  s("Impact")
144
147
  ]))), [
145
- [i, ["TopNav", "click-About-Impact"]]
148
+ [o, ["TopNav", "click-About-Impact"]]
146
149
  ]),
147
- n((t(), o("a", V, e[7] || (e[7] = [
150
+ i((t(), n("a", P, e[7] || (e[7] = [
148
151
  s("Leadership")
149
152
  ]))), [
150
- [i, ["TopNav", "click-About-Leadership"]]
153
+ [o, ["TopNav", "click-About-Leadership"]]
151
154
  ]),
152
- n((t(), o("a", $, e[8] || (e[8] = [
155
+ i((t(), n("a", $, e[8] || (e[8] = [
153
156
  s("Finances")
154
157
  ]))), [
155
- [i, ["TopNav", "click-About-Finances"]]
158
+ [o, ["TopNav", "click-About-Finances"]]
156
159
  ]),
157
- n((t(), o("a", F, e[9] || (e[9] = [
160
+ i((t(), n("a", F, e[9] || (e[9] = [
158
161
  s("Press")
159
162
  ]))), [
160
- [i, ["TopNav", "click-About-Press"]]
163
+ [o, ["TopNav", "click-About-Press"]]
161
164
  ]),
162
- n((t(), o("a", L, e[10] || (e[10] = [
165
+ i((t(), n("a", L, e[10] || (e[10] = [
163
166
  s("Due diligence")
164
167
  ]))), [
165
- [i, ["TopNav", "click-About-Due diligence"]]
168
+ [o, ["TopNav", "click-About-Due diligence"]]
166
169
  ])
167
170
  ])
168
171
  ]),
169
172
  _: 1
170
- })
173
+ })), [
174
+ [o, ["TopNav", "click-Hamburger-About-accordion"]]
175
+ ])
171
176
  ]);
172
177
  }
173
- const Q = /* @__PURE__ */ N(I, [["render", S], ["__scopeId", "data-v-2265193a"]]);
178
+ const O = /* @__PURE__ */ N(T, [["render", S], ["__scopeId", "data-v-4bba67dd"]]);
174
179
  export {
175
- Q as default
180
+ O as default
176
181
  };
@@ -1 +1 @@
1
- .lend-link[data-v-23bfaeea]{display:block;width:100%;padding-top:.5rem;padding-bottom:.5rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.lend-link[data-v-23bfaeea]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
1
+ .lend-link[data-v-5b7745cc]{display:block;width:100%;padding-top:.5rem;padding-bottom:.5rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.lend-link[data-v-5b7745cc]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -198,20 +198,14 @@ function ie(T, e, l, k, x, M) {
198
198
  ])
199
199
  ]),
200
200
  _: 2
201
- }, 1032, ["id"])), 64)) : (t(!0), n(b, { key: 1 }, g(l.regions, (s) => (t(), N(p, {
201
+ }, 1032, ["id"])), 64)) : (t(!0), n(b, { key: 1 }, g(l.regions, (s) => _((t(), N(p, {
202
202
  id: `lend-menu-${k.paramCase(s.name)}-panel`,
203
203
  key: s.name,
204
204
  ref_for: !0,
205
205
  ref: "regionAccordions"
206
206
  }, {
207
207
  header: a(() => [
208
- o("h3", te, [
209
- _((t(), n("span", null, [
210
- d(K(s.name), 1)
211
- ])), [
212
- [i, ["TopNav", "click-Lend-Region", s.name]]
213
- ])
214
- ])
208
+ o("h3", te, K(s.name), 1)
215
209
  ]),
216
210
  default: a(() => [
217
211
  r(f, {
@@ -219,7 +213,9 @@ function ie(T, e, l, k, x, M) {
219
213
  }, null, 8, ["countries"])
220
214
  ]),
221
215
  _: 2
222
- }, 1032, ["id"]))), 128))
216
+ }, 1032, ["id"])), [
217
+ [i, ["TopNav", "click-Lend-Region", s.name]]
218
+ ])), 128))
223
219
  ]),
224
220
  _: 1
225
221
  }),
@@ -275,7 +271,7 @@ function ie(T, e, l, k, x, M) {
275
271
  }, 512)
276
272
  ]);
277
273
  }
278
- const ge = /* @__PURE__ */ z(H, [["render", ie], ["__scopeId", "data-v-23bfaeea"]]);
274
+ const ge = /* @__PURE__ */ z(H, [["render", ie], ["__scopeId", "data-v-5b7745cc"]]);
279
275
  export {
280
276
  ge as default
281
277
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.68.0",
3
+ "version": "6.69.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -114,5 +114,5 @@
114
114
  "embla-carousel-fade",
115
115
  "popper.js"
116
116
  ],
117
- "gitHead": "97959b8f544b02ef01dbf1a9b7b6d909da2d5cd1"
117
+ "gitHead": "d022a741fc1f690033335ee6f38a7ab5e3bbddf8"
118
118
  }