@kiva/kv-components 6.69.0 → 6.69.2

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
- .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-d1df98b6]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-d1df98b6]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -1,14 +1,14 @@
1
- import { mdiClose as w } from "@mdi/js";
2
- import f from "../KvAccordionItem.js";
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";
1
+ import { mdiClose as f } from "@mdi/js";
2
+ import g from "../KvAccordionItem.js";
3
+ import C from "../KvMaterialIcon.js";
4
+ import { resolveComponent as m, resolveDirective as A, openBlock as t, createElementBlock as l, withDirectives as i, createBlock as u, createCommentVNode as K, withCtx as p, createElementVNode as a, Fragment as N, renderList as T, withModifiers as n, toDisplayString as k, createTextVNode as r } from "vue";
5
5
  import "./KvHeaderMobileMenu.css";
6
- import N from "../../_virtual/_plugin-vue_export-helper.js";
6
+ import y from "../../_virtual/_plugin-vue_export-helper.js";
7
7
  const I = {
8
8
  name: "KvHeaderMobileMenu",
9
9
  components: {
10
- KvAccordionItem: f,
11
- KvMaterialIcon: h
10
+ KvAccordionItem: g,
11
+ KvMaterialIcon: C
12
12
  },
13
13
  props: {
14
14
  loggedIn: {
@@ -27,7 +27,7 @@ const I = {
27
27
  emits: ["closing-menu"],
28
28
  data() {
29
29
  return {
30
- mdiClose: w,
30
+ mdiClose: f,
31
31
  menuItems: [
32
32
  {
33
33
  title: "Choose someone to help",
@@ -56,121 +56,144 @@ 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 = {
60
- href: "/about",
61
- class: "mobile-link"
62
- }, B = {
63
- href: "/about/how",
64
- class: "mobile-link"
65
- }, H = {
66
- href: "/about/where-kiva-works",
67
- class: "mobile-link"
68
- }, P = {
69
- href: "/impact",
70
- class: "mobile-link"
71
- }, V = {
72
- href: "/about/leadership",
73
- class: "mobile-link"
74
- }, $ = {
75
- href: "/about/finances",
76
- class: "mobile-link"
77
- }, F = {
78
- href: "/about/press-center",
79
- class: "mobile-link"
80
- }, L = {
81
- href: "/about/due-diligence",
82
- class: "mobile-link"
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, {
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" }, M = { class: "tw-flex tw-flex-col tw-gap-2 tw-pl-1" }, H = ["href"], D = { class: "tw-text-secondary tw-font-book" }, E = { class: "tw-flex tw-flex-col tw-gap-2 tw-pb-2 tw-pl-1" };
60
+ function B(v, o, b, P, d, $) {
61
+ const w = m("KvMaterialIcon"), c = m("KvAccordionItem"), e = A("kv-track-event");
62
+ return t(), l("nav", x, [
63
+ b.isMobile ? i((t(), u(w, {
88
64
  key: 0,
89
- icon: c.mdiClose,
65
+ icon: d.mdiClose,
90
66
  class: "tw-cursor-pointer",
91
- onClick: e[0] || (e[0] = (l) => v.$emit("closing-menu"))
92
- }, null, 8, ["icon"])) : A("", !0),
93
- p(d, {
67
+ onClick: o[0] || (o[0] = (s) => v.$emit("closing-menu"))
68
+ }, null, 8, ["icon"])), [
69
+ [e, ["TopNav", "click-Hamburger-close"]]
70
+ ]) : K("", !0),
71
+ i((t(), u(c, {
94
72
  id: "accordion-take-action-menu",
95
73
  open: "",
96
74
  class: "tw-w-full tw-border-b-0"
97
75
  }, {
98
- header: a(() => e[1] || (e[1] = [
99
- r("h3", { class: "tw-pb-0.5" }, " Take action ", -1)
76
+ header: p(() => o[10] || (o[10] = [
77
+ a("h3", { class: "tw-pb-0.5" }, " Take action ", -1)
100
78
  ])),
101
- default: a(() => [
102
- r("div", T, [
103
- (t(!0), o(K, null, y(c.menuItems, (l) => n((t(), o("div", {
104
- key: l.title
79
+ default: p(() => [
80
+ a("div", M, [
81
+ (t(!0), l(N, null, T(d.menuItems, (s) => i((t(), l("a", {
82
+ key: s.title,
83
+ href: s.url,
84
+ class: "mobile-link",
85
+ onClick: o[1] || (o[1] = n(() => {
86
+ }, ["stop"]))
105
87
  }, [
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}`]]
88
+ a("div", null, k(s.title), 1),
89
+ a("p", D, k(s.description), 1)
90
+ ], 8, H)), [
91
+ [e, ["TopNav", `click-${s.trackEvent}`]]
113
92
  ])), 128))
114
93
  ])
115
94
  ]),
116
95
  _: 1
117
- }),
118
- p(d, {
96
+ })), [
97
+ [e, ["TopNav", "click-Hamburger-Take-action-accordion"]]
98
+ ]),
99
+ i((t(), u(c, {
119
100
  id: "accordion-about-menu",
120
101
  class: "tw-w-full tw-pb-1"
121
102
  }, {
122
- header: a(() => e[2] || (e[2] = [
123
- r("h3", { class: "tw-pb-0.5" }, " About ", -1)
103
+ header: p(() => o[11] || (o[11] = [
104
+ a("h3", { class: "tw-pb-0.5" }, " About ", -1)
124
105
  ])),
125
- default: a(() => [
126
- r("div", D, [
127
- n((t(), o("a", E, e[3] || (e[3] = [
128
- s("About us")
106
+ default: p(() => [
107
+ a("div", E, [
108
+ i((t(), l("a", {
109
+ href: "/about",
110
+ class: "mobile-link",
111
+ onClick: o[2] || (o[2] = n(() => {
112
+ }, ["stop"]))
113
+ }, o[12] || (o[12] = [
114
+ r("About us")
129
115
  ]))), [
130
- [i, ["TopNav", "click-About-About us"]]
116
+ [e, ["TopNav", "click-About-About us"]]
131
117
  ]),
132
- n((t(), o("a", B, e[4] || (e[4] = [
133
- s("How Kiva works")
118
+ i((t(), l("a", {
119
+ href: "/about/how",
120
+ class: "mobile-link",
121
+ onClick: o[3] || (o[3] = n(() => {
122
+ }, ["stop"]))
123
+ }, o[13] || (o[13] = [
124
+ r("How Kiva works")
134
125
  ]))), [
135
- [i, ["TopNav", "click-About-How Kiva works"]]
126
+ [e, ["TopNav", "click-About-How Kiva works"]]
136
127
  ]),
137
- n((t(), o("a", H, e[5] || (e[5] = [
138
- s("Where Kiva works")
128
+ i((t(), l("a", {
129
+ href: "/about/where-kiva-works",
130
+ class: "mobile-link",
131
+ onClick: o[4] || (o[4] = n(() => {
132
+ }, ["stop"]))
133
+ }, o[14] || (o[14] = [
134
+ r("Where Kiva works")
139
135
  ]))), [
140
- [i, ["TopNav", "click-About-Where Kiva works"]]
136
+ [e, ["TopNav", "click-About-Where Kiva works"]]
141
137
  ]),
142
- n((t(), o("a", P, e[6] || (e[6] = [
143
- s("Impact")
138
+ i((t(), l("a", {
139
+ href: "/impact",
140
+ class: "mobile-link",
141
+ onClick: o[5] || (o[5] = n(() => {
142
+ }, ["stop"]))
143
+ }, o[15] || (o[15] = [
144
+ r("Impact")
144
145
  ]))), [
145
- [i, ["TopNav", "click-About-Impact"]]
146
+ [e, ["TopNav", "click-About-Impact"]]
146
147
  ]),
147
- n((t(), o("a", V, e[7] || (e[7] = [
148
- s("Leadership")
148
+ i((t(), l("a", {
149
+ href: "/about/leadership",
150
+ class: "mobile-link",
151
+ onClick: o[6] || (o[6] = n(() => {
152
+ }, ["stop"]))
153
+ }, o[16] || (o[16] = [
154
+ r("Leadership")
149
155
  ]))), [
150
- [i, ["TopNav", "click-About-Leadership"]]
156
+ [e, ["TopNav", "click-About-Leadership"]]
151
157
  ]),
152
- n((t(), o("a", $, e[8] || (e[8] = [
153
- s("Finances")
158
+ i((t(), l("a", {
159
+ href: "/about/finances",
160
+ class: "mobile-link",
161
+ onClick: o[7] || (o[7] = n(() => {
162
+ }, ["stop"]))
163
+ }, o[17] || (o[17] = [
164
+ r("Finances")
154
165
  ]))), [
155
- [i, ["TopNav", "click-About-Finances"]]
166
+ [e, ["TopNav", "click-About-Finances"]]
156
167
  ]),
157
- n((t(), o("a", F, e[9] || (e[9] = [
158
- s("Press")
168
+ i((t(), l("a", {
169
+ href: "/about/press-center",
170
+ class: "mobile-link",
171
+ onClick: o[8] || (o[8] = n(() => {
172
+ }, ["stop"]))
173
+ }, o[18] || (o[18] = [
174
+ r("Press")
159
175
  ]))), [
160
- [i, ["TopNav", "click-About-Press"]]
176
+ [e, ["TopNav", "click-About-Press"]]
161
177
  ]),
162
- n((t(), o("a", L, e[10] || (e[10] = [
163
- s("Due diligence")
178
+ i((t(), l("a", {
179
+ href: "/about/due-diligence",
180
+ class: "mobile-link",
181
+ onClick: o[9] || (o[9] = n(() => {
182
+ }, ["stop"]))
183
+ }, o[19] || (o[19] = [
184
+ r("Due diligence")
164
185
  ]))), [
165
- [i, ["TopNav", "click-About-Due diligence"]]
186
+ [e, ["TopNav", "click-About-Due diligence"]]
166
187
  ])
167
188
  ])
168
189
  ]),
169
190
  _: 1
170
- })
191
+ })), [
192
+ [e, ["TopNav", "click-Hamburger-About-accordion"]]
193
+ ])
171
194
  ]);
172
195
  }
173
- const Q = /* @__PURE__ */ N(I, [["render", S], ["__scopeId", "data-v-2265193a"]]);
196
+ const q = /* @__PURE__ */ y(I, [["render", B], ["__scopeId", "data-v-d1df98b6"]]);
174
197
  export {
175
- Q as default
198
+ q as default
176
199
  };
@@ -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-de8f418f]{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-de8f418f]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -1,5 +1,5 @@
1
1
  import { mdiArrowRight as S } from "@mdi/js";
2
- import { ref as L, computed as I, resolveComponent as u, resolveDirective as B, openBlock as t, createElementBlock as n, withDirectives as _, createElementVNode as o, createTextVNode as d, createVNode as r, createCommentVNode as C, withCtx as a, createBlock as N, Fragment as b, renderList as g, toDisplayString as K } from "vue";
2
+ import { ref as N, computed as I, resolveComponent as v, resolveDirective as B, openBlock as t, createElementBlock as n, withDirectives as i, createElementVNode as o, createTextVNode as d, createVNode as c, createCommentVNode as T, withCtx as r, createBlock as h, Fragment as g, renderList as L, toDisplayString as K } from "vue";
3
3
  import U from "../../KvAccordionItem.js";
4
4
  import V from "../../KvLoadingPlaceholder.js";
5
5
  import D from "./KvLendMenuCountryList.js";
@@ -7,11 +7,11 @@ import E from "./KvLendMenuSearchList.js";
7
7
  import F from "../../KvTab.js";
8
8
  import G from "../../KvTabPanel.js";
9
9
  import P from "../../KvTabs.js";
10
- import j from "../../../utils/paramCase.js";
11
- import q from "../../KvMaterialIcon.js";
10
+ import R from "../../../utils/paramCase.js";
11
+ import j from "../../KvMaterialIcon.js";
12
12
  import "./KvLendListMenu.css";
13
- import z from "../../../_virtual/_plugin-vue_export-helper.js";
14
- const H = {
13
+ import q from "../../../_virtual/_plugin-vue_export-helper.js";
14
+ const z = {
15
15
  components: {
16
16
  KvAccordionItem: U,
17
17
  KvTab: F,
@@ -20,7 +20,7 @@ const H = {
20
20
  KvLendMenuCountryList: D,
21
21
  KvLendMenuSearchList: E,
22
22
  KvLoadingPlaceholder: V,
23
- KvMaterialIcon: q
23
+ KvMaterialIcon: j
24
24
  },
25
25
  props: {
26
26
  categories: {
@@ -60,8 +60,8 @@ const H = {
60
60
  default: "/lend/countries-not-lent"
61
61
  }
62
62
  },
63
- setup(T) {
64
- const e = L(null), l = L([]), k = L(null), x = I(() => T.searches.length > 0);
63
+ setup(C) {
64
+ const e = N(null), l = N([]), k = N(null), x = I(() => C.searches.length > 0);
65
65
  return {
66
66
  mdiArrowRight: S,
67
67
  hasSearches: x,
@@ -69,19 +69,19 @@ const H = {
69
69
  regionAccordions: l,
70
70
  searchesLink: k,
71
71
  onClose: () => {
72
- var h, c, y, m, p, f, w;
73
- (y = (c = (h = e.value) == null ? void 0 : h.tabContext) == null ? void 0 : c.setTab) == null || y.call(c, 0), (p = (m = l.value) == null ? void 0 : m.forEach) == null || p.call(m, (v) => {
74
- var i;
75
- (i = v == null ? void 0 : v.collapse) == null || i.call(v);
76
- }), (w = (f = k.value) == null ? void 0 : f.collapse) == null || w.call(f);
72
+ var w, m, y, u, p, f, b;
73
+ (y = (m = (w = e.value) == null ? void 0 : w.tabContext) == null ? void 0 : m.setTab) == null || y.call(m, 0), (p = (u = l.value) == null ? void 0 : u.forEach) == null || p.call(u, (_) => {
74
+ var s;
75
+ (s = _ == null ? void 0 : _.collapse) == null || s.call(_);
76
+ }), (b = (f = k.value) == null ? void 0 : f.collapse) == null || b.call(f);
77
77
  },
78
- paramCase: j
78
+ paramCase: R
79
79
  };
80
80
  }
81
- }, J = { class: "tw-pb-2" }, O = {
81
+ }, H = { class: "tw-pb-2" }, J = {
82
82
  key: 0,
83
83
  href: "/monthlygood"
84
- }, Q = { class: "tw-inline-flex tw-items-center tw-py-2 tw-mb-2 tw-gap-0.5 tw-border-b tw-border-tertiary tw-font-medium" }, R = { class: "tw-font-medium" }, W = ["href"], X = { class: "tw-border-t tw-border-tertiary" }, Y = {
84
+ }, O = { class: "tw-inline-flex tw-items-center tw-py-2 tw-mb-2 tw-gap-0.5 tw-border-b tw-border-tertiary tw-font-medium" }, Q = { class: "tw-font-medium" }, W = ["href"], X = { class: "tw-border-t tw-border-tertiary" }, Y = {
85
85
  href: "/lend-by-category/recommended-by-lenders",
86
86
  class: "lend-link tw-text-brand"
87
87
  }, Z = {
@@ -94,103 +94,109 @@ const H = {
94
94
  key: 1,
95
95
  class: "tw-block tw-py-1 tw-text-tertiary"
96
96
  }, se = { key: 0 }, ae = { key: 1 }, re = ["href"];
97
- function ie(T, e, l, k, x, M) {
98
- const h = u("kv-material-icon"), c = u("kv-tab"), y = u("kv-loading-placeholder"), m = u("kv-tab-panel"), p = u("kv-accordion-item"), f = u("kv-lend-menu-country-list"), w = u("kv-lend-menu-search-list"), v = u("kv-tabs"), i = B("kv-track-event");
99
- return t(), n("div", J, [
100
- l.showMGUpsellLink ? _((t(), n("a", O, [
101
- o("span", Q, [
97
+ function ie(C, e, l, k, x, M) {
98
+ const w = v("kv-material-icon"), m = v("kv-tab"), y = v("kv-loading-placeholder"), u = v("kv-tab-panel"), p = v("kv-accordion-item"), f = v("kv-lend-menu-country-list"), b = v("kv-lend-menu-search-list"), _ = v("kv-tabs"), s = B("kv-track-event");
99
+ return t(), n("div", H, [
100
+ l.showMGUpsellLink ? i((t(), n("a", J, [
101
+ o("span", O, [
102
102
  e[0] || (e[0] = d(" Lend monthly ")),
103
- r(h, {
103
+ c(w, {
104
104
  icon: k.mdiArrowRight,
105
105
  class: "tw-w-3 tw-h-3"
106
106
  }, null, 8, ["icon"])
107
107
  ])
108
108
  ])), [
109
- [i, ["TopNav", "click-Lend-Menu-Monthly-Good", "Lend-monthly"]]
110
- ]) : C("", !0),
111
- r(v, { ref: "navLendCategories" }, {
112
- tabNav: a(() => [
113
- r(c, { "for-panel": "nav-lend-categories" }, {
114
- default: a(() => e[1] || (e[1] = [
109
+ [s, ["TopNav", "click-Lend-Menu-Monthly-Good", "Lend-monthly"]]
110
+ ]) : T("", !0),
111
+ c(_, { ref: "navLendCategories" }, {
112
+ tabNav: r(() => [
113
+ i((t(), h(m, { "for-panel": "nav-lend-categories" }, {
114
+ default: r(() => e[1] || (e[1] = [
115
115
  d(" Categories ")
116
116
  ])),
117
117
  _: 1
118
- }),
119
- r(c, { "for-panel": "nav-lend-regions" }, {
120
- default: a(() => e[2] || (e[2] = [
118
+ })), [
119
+ [s, ["TopNav", "click-Lend-Tab-Categories"]]
120
+ ]),
121
+ i((t(), h(m, { "for-panel": "nav-lend-regions" }, {
122
+ default: r(() => e[2] || (e[2] = [
121
123
  d(" Regions ")
122
124
  ])),
123
125
  _: 1
124
- }),
125
- l.userId ? (t(), N(c, {
126
+ })), [
127
+ [s, ["TopNav", "click-Lend-Tab-Regions"]]
128
+ ]),
129
+ l.userId ? i((t(), h(m, {
126
130
  key: 0,
127
131
  "for-panel": "nav-my-kiva"
128
132
  }, {
129
- default: a(() => e[3] || (e[3] = [
133
+ default: r(() => e[3] || (e[3] = [
130
134
  d(" My Kiva ")
131
135
  ])),
132
136
  _: 1
133
- })) : C("", !0)
137
+ })), [
138
+ [s, ["TopNav", "click-Lend-Tab-My-Kiva"]]
139
+ ]) : T("", !0)
134
140
  ]),
135
- tabPanels: a(() => [
136
- r(m, { id: "nav-lend-categories" }, {
137
- default: a(() => [
138
- o("ul", R, [
139
- l.isChannelsLoading ? (t(), n(b, { key: 0 }, g(14, (s) => o("li", {
140
- key: s,
141
+ tabPanels: r(() => [
142
+ c(u, { id: "nav-lend-categories" }, {
143
+ default: r(() => [
144
+ o("ul", Q, [
145
+ l.isChannelsLoading ? (t(), n(g, { key: 0 }, L(14, (a) => o("li", {
146
+ key: a,
141
147
  style: { width: "11rem" },
142
148
  class: "tw-py-1 tw-flex"
143
149
  }, [
144
- r(y, {
150
+ c(y, {
145
151
  class: "tw-inline-block tw-align-middle",
146
152
  style: { height: "1rem" }
147
153
  }),
148
154
  e[4] || (e[4] = o("span", { class: "tw-inline-block" }, " ", -1))
149
- ])), 64)) : (t(!0), n(b, { key: 1 }, g(l.categories, (s, A) => (t(), n("li", { key: A }, [
150
- _((t(), n("a", {
151
- href: s.url,
155
+ ])), 64)) : (t(!0), n(g, { key: 1 }, L(l.categories, (a, A) => (t(), n("li", { key: A }, [
156
+ i((t(), n("a", {
157
+ href: a.url,
152
158
  class: "lend-link"
153
159
  }, [
154
- d(K(s.name), 1)
160
+ d(K(a.name), 1)
155
161
  ], 8, W)), [
156
- [i, ["TopNav", "click-Lend-Category", s.name, A + 1]]
162
+ [s, ["TopNav", "click-Lend-Category", a.name, A + 1]]
157
163
  ])
158
164
  ]))), 128)),
159
165
  o("li", X, [
160
- _((t(), n("a", Y, e[5] || (e[5] = [
166
+ i((t(), n("a", Y, e[5] || (e[5] = [
161
167
  d(" Recommended by lenders ")
162
168
  ]))), [
163
- [i, ["TopNav", "click-Lend-Recommended-by-lenders"]]
169
+ [s, ["TopNav", "click-Lend-Recommended-by-lenders"]]
164
170
  ])
165
171
  ]),
166
172
  o("li", null, [
167
- _((t(), n("a", Z, e[6] || (e[6] = [
173
+ i((t(), n("a", Z, e[6] || (e[6] = [
168
174
  d(" All loans ")
169
175
  ]))), [
170
- [i, ["TopNav", "click-Lend-All_Loans"]]
176
+ [s, ["TopNav", "click-Lend-All_Loans"]]
171
177
  ])
172
178
  ]),
173
179
  o("li", null, [
174
- _((t(), n("a", $, e[7] || (e[7] = [
180
+ i((t(), n("a", $, e[7] || (e[7] = [
175
181
  d(" All categories ")
176
182
  ]))), [
177
- [i, ["TopNav", "click-Lend-All_Categories"]]
183
+ [s, ["TopNav", "click-Lend-All_Categories"]]
178
184
  ])
179
185
  ])
180
186
  ])
181
187
  ]),
182
188
  _: 1
183
189
  }),
184
- r(m, { id: "nav-lend-regions" }, {
185
- default: a(() => [
186
- l.isRegionsLoading ? (t(), n(b, { key: 0 }, g(8, (s) => r(p, {
187
- id: `placeholder-${s}-panel`,
188
- key: s,
190
+ c(u, { id: "nav-lend-regions" }, {
191
+ default: r(() => [
192
+ l.isRegionsLoading ? (t(), n(g, { key: 0 }, L(8, (a) => c(p, {
193
+ id: `placeholder-${a}-panel`,
194
+ key: a,
189
195
  disabled: !0
190
196
  }, {
191
- header: a(() => [
197
+ header: r(() => [
192
198
  o("div", ee, [
193
- r(y, {
199
+ c(y, {
194
200
  class: "tw-inline-block tw-align-middle",
195
201
  style: { height: "1rem" }
196
202
  }),
@@ -198,58 +204,54 @@ function ie(T, e, l, k, x, M) {
198
204
  ])
199
205
  ]),
200
206
  _: 2
201
- }, 1032, ["id"])), 64)) : (t(!0), n(b, { key: 1 }, g(l.regions, (s) => (t(), N(p, {
202
- id: `lend-menu-${k.paramCase(s.name)}-panel`,
203
- key: s.name,
207
+ }, 1032, ["id"])), 64)) : (t(!0), n(g, { key: 1 }, L(l.regions, (a) => i((t(), h(p, {
208
+ id: `lend-menu-${k.paramCase(a.name)}-panel`,
209
+ key: a.name,
204
210
  ref_for: !0,
205
211
  ref: "regionAccordions"
206
212
  }, {
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
- ])
213
+ header: r(() => [
214
+ o("h3", te, K(a.name), 1)
215
215
  ]),
216
- default: a(() => [
217
- r(f, {
218
- countries: s.countries
216
+ default: r(() => [
217
+ c(f, {
218
+ countries: a.countries
219
219
  }, null, 8, ["countries"])
220
220
  ]),
221
221
  _: 2
222
- }, 1032, ["id"]))), 128))
222
+ }, 1032, ["id"])), [
223
+ [s, ["TopNav", "click-Lend-Region", a.name]]
224
+ ])), 128))
223
225
  ]),
224
226
  _: 1
225
227
  }),
226
- l.userId ? (t(), N(m, {
228
+ l.userId ? (t(), h(u, {
227
229
  key: 0,
228
230
  id: "nav-my-kiva"
229
231
  }, {
230
- default: a(() => [
232
+ default: r(() => [
231
233
  o("ul", ne, [
232
234
  o("li", null, [
233
- l.favorites > 0 ? _((t(), n("a", {
235
+ l.favorites > 0 ? i((t(), n("a", {
234
236
  key: 0,
235
237
  href: `/lend?lenderFavorite=${l.userId}`,
236
238
  class: "lend-link"
237
239
  }, e[9] || (e[9] = [
238
240
  d(" Saved loans ")
239
241
  ]), 8, oe)), [
240
- [i, ["TopNav", "click-Lend-Favorites"]]
242
+ [s, ["TopNav", "click-Lend-Favorites"]]
241
243
  ]) : (t(), n("span", le, "Saved loans"))
242
244
  ]),
243
245
  k.hasSearches ? (t(), n("li", se, [
244
- r(p, {
246
+ c(p, {
245
247
  id: "lend-menu-saved-searches-panel",
246
248
  ref: "searchesLink"
247
249
  }, {
248
- header: a(() => e[10] || (e[10] = [
250
+ header: r(() => e[10] || (e[10] = [
249
251
  o("p", { class: "tw-font-medium" }, " Saved searches ", -1)
250
252
  ])),
251
- default: a(() => [
252
- r(w, { searches: l.searches }, null, 8, ["searches"])
253
+ default: r(() => [
254
+ c(b, { searches: l.searches }, null, 8, ["searches"])
253
255
  ]),
254
256
  _: 1
255
257
  }, 512)
@@ -257,25 +259,25 @@ function ie(T, e, l, k, x, M) {
257
259
  o("span", { class: "tw-block tw-py-1 tw-text-tertiary" }, "Saved searches", -1)
258
260
  ]))),
259
261
  o("li", null, [
260
- _((t(), n("a", {
262
+ i((t(), n("a", {
261
263
  href: l.countriesNotLentToUrl,
262
264
  class: "lend-link"
263
265
  }, e[12] || (e[12] = [
264
266
  d(" Countries I haven't lent to ")
265
267
  ]), 8, re)), [
266
- [i, ["TopNav", "click-Lend-Countries_Not_Lent"]]
268
+ [s, ["TopNav", "click-Lend-Countries_Not_Lent"]]
267
269
  ])
268
270
  ])
269
271
  ])
270
272
  ]),
271
273
  _: 1
272
- })) : C("", !0)
274
+ })) : T("", !0)
273
275
  ]),
274
276
  _: 1
275
277
  }, 512)
276
278
  ]);
277
279
  }
278
- const ge = /* @__PURE__ */ z(H, [["render", ie], ["__scopeId", "data-v-23bfaeea"]]);
280
+ const ge = /* @__PURE__ */ q(z, [["render", ie], ["__scopeId", "data-v-de8f418f"]]);
279
281
  export {
280
282
  ge as default
281
283
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.69.0",
3
+ "version": "6.69.2",
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": "222472dc213788d44e4f02686c4478ba70ec0b13"
117
+ "gitHead": "3588a7c0b088dec5b4aea3b68f403e65c2bed2bb"
118
118
  }