@kiva/kv-components 6.52.5 → 6.52.6
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/vue/KvWwwHeader/KvHeaderLinkBar.css +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +100 -101
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.css +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +12 -12
- package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +27 -27
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
.header-link[data-v-
|
|
1
|
+
.header-link[data-v-c12cfb72]{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-c12cfb72]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineAsyncComponent as M, ref as
|
|
2
|
-
import { mdiAccountCircle as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import { defineAsyncComponent as M, ref as r, computed as F, onMounted as q, onUnmounted as G, resolveComponent as g, resolveDirective as J, openBlock as i, createElementBlock as c, withDirectives as m, normalizeClass as b, createVNode as D, createBlock as h, withCtx as L, createTextVNode as w, createElementVNode as C, createCommentVNode as p, vShow as Q, toDisplayString as X } from "vue";
|
|
2
|
+
import { mdiAccountCircle as Y, mdiChevronDown as Z, mdiMagnify as $, mdiMenu as ee } from "@mdi/js";
|
|
3
|
+
import ne from "numeral";
|
|
4
|
+
import te from "../KvMaterialIcon.js";
|
|
5
|
+
import oe from "../KvIconBag.js";
|
|
6
|
+
import le from "./KvHeaderDropdownLink.js";
|
|
7
|
+
import re from "../KvUserAvatar.js";
|
|
8
8
|
import { throttle as ie } from "../../utils/throttle.js";
|
|
9
9
|
import "./KvHeaderLinkBar.css";
|
|
10
|
-
import
|
|
11
|
-
const
|
|
10
|
+
import ae from "../../_virtual/_plugin-vue_export-helper.js";
|
|
11
|
+
const ue = M(() => import("./KvHeaderMobileMenu.js")), E = M(() => import("./KvHeaderMyKivaMenu.js")), de = M(() => import("./LendMenu/KvLendMenu.js")), me = M(() => import("./KvHeaderTakeActionMenu.js")), se = M(() => import("./KvHeaderAboutMenu.js")), S = 146, y = "avatar-menu", B = "menuButton", V = { top: "-3.75rem", width: "100%" }, ve = {
|
|
12
12
|
components: {
|
|
13
|
-
KvMaterialIcon:
|
|
14
|
-
KvIconBag:
|
|
15
|
-
KvHeaderDropdownLink:
|
|
16
|
-
KvUserAvatar:
|
|
13
|
+
KvMaterialIcon: te,
|
|
14
|
+
KvIconBag: oe,
|
|
15
|
+
KvHeaderDropdownLink: le,
|
|
16
|
+
KvUserAvatar: re
|
|
17
17
|
},
|
|
18
18
|
props: {
|
|
19
19
|
loggedIn: {
|
|
@@ -56,81 +56,79 @@ const ae = M(() => import("./KvHeaderMobileMenu.js")), C = M(() => import("./KvH
|
|
|
56
56
|
emits: [
|
|
57
57
|
"item-hover"
|
|
58
58
|
],
|
|
59
|
-
setup(
|
|
60
|
-
const t =
|
|
61
|
-
e("item-hover", l,
|
|
62
|
-
},
|
|
63
|
-
navigator.maxTouchPoints || (o.value = l,
|
|
59
|
+
setup(s, { emit: e }) {
|
|
60
|
+
const t = r(null), n = r(null), K = r(null), O = r(null), A = r(null), f = r(null), T = r(null), I = r(null), a = r(null), o = r(null), H = r(!1), k = r(), u = (l, d, v = null) => {
|
|
61
|
+
e("item-hover", l, d, v);
|
|
62
|
+
}, P = (l, d, v = null) => {
|
|
63
|
+
navigator.maxTouchPoints || (o.value = l, u(
|
|
64
64
|
l,
|
|
65
|
-
|
|
66
|
-
l ===
|
|
65
|
+
d,
|
|
66
|
+
l === B && s.isMobile ? V : v
|
|
67
67
|
));
|
|
68
|
-
},
|
|
69
|
-
!
|
|
70
|
-
},
|
|
71
|
-
var
|
|
72
|
-
const l = (
|
|
68
|
+
}, R = (l) => {
|
|
69
|
+
!H.value && o.value === l && (o.value = null, u());
|
|
70
|
+
}, z = () => {
|
|
71
|
+
var N, _;
|
|
72
|
+
const l = (_ = (N = t.value) == null ? void 0 : N.userAvatar) == null ? void 0 : _.getBoundingClientRect();
|
|
73
73
|
if (!l) return null;
|
|
74
|
-
const
|
|
74
|
+
const v = l.left + l.width / 2 - S / 2;
|
|
75
75
|
return {
|
|
76
|
-
...
|
|
76
|
+
...v + S > window.innerWidth ? { right: 0 } : { left: s.isMobile ? 0 : `${v}px` },
|
|
77
77
|
marginTop: "-2px",
|
|
78
78
|
// Avoid closing avatar menu on header edge
|
|
79
|
-
borderRadius:
|
|
80
|
-
width: d.isMobile ? "100%" : "auto"
|
|
79
|
+
borderRadius: s.isMobile ? "auto" : "0px 0px 8px 8px"
|
|
81
80
|
};
|
|
82
|
-
},
|
|
83
|
-
o.value =
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
window.removeEventListener("resize", O);
|
|
81
|
+
}, x = () => {
|
|
82
|
+
o.value = y, u(t.value, E, z());
|
|
83
|
+
}, W = (l, d) => {
|
|
84
|
+
k.value = null, H.value = !0, k.value && clearTimeout(k.value), o.value === B && (o.value = null), !o.value || o.value !== l ? (o.value = l, l === y ? x() : l === B && s.isMobile ? u(l, d, V) : u(l, d)) : (o.value = null, u()), k.value = setTimeout(() => {
|
|
85
|
+
H.value = !1;
|
|
86
|
+
}, 500);
|
|
87
|
+
}, U = ie(() => {
|
|
88
|
+
o.value === y && x();
|
|
89
|
+
}, 100), j = F(() => s.isMobile ? void 0 : "/lend-by-category");
|
|
90
|
+
return q(() => {
|
|
91
|
+
import("./KvHeaderMobileMenu.js"), import("./KvHeaderMyKivaMenu.js"), import("./LendMenu/KvLendMenu.js"), import("./KvHeaderTakeActionMenu.js"), import("./KvHeaderAboutMenu.js"), window.addEventListener("resize", U);
|
|
92
|
+
}), G(() => {
|
|
93
|
+
window.removeEventListener("resize", U);
|
|
96
94
|
}), {
|
|
97
|
-
AVATAR_MENU_ID:
|
|
95
|
+
AVATAR_MENU_ID: y,
|
|
98
96
|
openMenuId: o,
|
|
99
|
-
numeral:
|
|
100
|
-
mdiAccountCircle:
|
|
101
|
-
mdiChevronDown:
|
|
102
|
-
mdiMagnify:
|
|
103
|
-
mdiMenu:
|
|
104
|
-
onHover:
|
|
97
|
+
numeral: ne,
|
|
98
|
+
mdiAccountCircle: Y,
|
|
99
|
+
mdiChevronDown: Z,
|
|
100
|
+
mdiMagnify: $,
|
|
101
|
+
mdiMenu: ee,
|
|
102
|
+
onHover: u,
|
|
105
103
|
avatar: t,
|
|
106
104
|
lendButton: n,
|
|
107
|
-
aboutUsLink:
|
|
108
|
-
partnerWithUsLink:
|
|
109
|
-
borrowLink:
|
|
105
|
+
aboutUsLink: K,
|
|
106
|
+
partnerWithUsLink: O,
|
|
107
|
+
borrowLink: A,
|
|
110
108
|
supportKivaLink: f,
|
|
111
|
-
basketLink:
|
|
112
|
-
signInLink:
|
|
113
|
-
menuButton:
|
|
114
|
-
lendUrl:
|
|
115
|
-
handleOnHover:
|
|
116
|
-
handleTouchStart:
|
|
117
|
-
handleMouseOut:
|
|
118
|
-
handleAvatarMenuPosition:
|
|
119
|
-
KvHeaderMobileMenu:
|
|
120
|
-
KvHeaderMyKivaMenu:
|
|
121
|
-
KvLendMenu:
|
|
122
|
-
KvHeaderTakeActionMenu:
|
|
123
|
-
KvHeaderAboutMenu:
|
|
109
|
+
basketLink: T,
|
|
110
|
+
signInLink: I,
|
|
111
|
+
menuButton: a,
|
|
112
|
+
lendUrl: j,
|
|
113
|
+
handleOnHover: P,
|
|
114
|
+
handleTouchStart: W,
|
|
115
|
+
handleMouseOut: R,
|
|
116
|
+
handleAvatarMenuPosition: x,
|
|
117
|
+
KvHeaderMobileMenu: ue,
|
|
118
|
+
KvHeaderMyKivaMenu: E,
|
|
119
|
+
KvLendMenu: de,
|
|
120
|
+
KvHeaderTakeActionMenu: me,
|
|
121
|
+
KvHeaderAboutMenu: se
|
|
124
122
|
};
|
|
125
123
|
}
|
|
126
|
-
},
|
|
124
|
+
}, ce = { class: "tw-h-full tw-flex tw-items-center tw-gap-0.5 md:tw-gap-1.5 lg:tw-gap-2.5" }, fe = ["href"], we = {
|
|
127
125
|
key: 0,
|
|
128
126
|
class: "tw-bg-eco-green-1 tw-py-0.5 tw-px-1 tw-text-eco-green-4"
|
|
129
|
-
},
|
|
130
|
-
function
|
|
131
|
-
const
|
|
132
|
-
return
|
|
133
|
-
|
|
127
|
+
}, Me = ["href"];
|
|
128
|
+
function ke(s, e, t, n, K, O) {
|
|
129
|
+
const A = g("kv-material-icon"), f = g("KvHeaderDropdownLink"), T = g("kv-icon-bag"), I = g("KvUserAvatar"), a = J("kv-track-event");
|
|
130
|
+
return i(), c("div", ce, [
|
|
131
|
+
m((i(), c("button", {
|
|
134
132
|
ref: "menuButton",
|
|
135
133
|
class: b(["header-link tw-inline-flex md:tw-hidden", {
|
|
136
134
|
"tw-text-tertiary": t.openMenuItem && t.openMenuItem !== n.KvHeaderMobileMenu
|
|
@@ -139,11 +137,11 @@ function Me(d, e, t, n, B, K) {
|
|
|
139
137
|
onMouseout: e[1] || (e[1] = (o) => n.handleMouseOut("menuButton")),
|
|
140
138
|
onTouchstart: e[2] || (e[2] = (o) => n.handleTouchStart("menuButton", n.KvHeaderMobileMenu))
|
|
141
139
|
}, [
|
|
142
|
-
|
|
140
|
+
D(A, { icon: n.mdiMenu }, null, 8, ["icon"])
|
|
143
141
|
], 34)), [
|
|
144
|
-
[
|
|
142
|
+
[a, t.openMenuItem === n.KvHeaderMobileMenu ? ["TopNav", "click-Hamburger-menu"] : null]
|
|
145
143
|
]),
|
|
146
|
-
|
|
144
|
+
m((i(), h(f, {
|
|
147
145
|
class: "tw-py-1",
|
|
148
146
|
"ref-name": "lendButton",
|
|
149
147
|
href: n.lendUrl,
|
|
@@ -155,14 +153,14 @@ function Me(d, e, t, n, B, K) {
|
|
|
155
153
|
onMouseout: e[3] || (e[3] = (o) => n.handleMouseOut("lendButton")),
|
|
156
154
|
onTouchstart: e[4] || (e[4] = (o) => n.handleTouchStart("lendButton", n.KvLendMenu))
|
|
157
155
|
}, {
|
|
158
|
-
default:
|
|
156
|
+
default: L(() => e[10] || (e[10] = [
|
|
159
157
|
w(" Lend ")
|
|
160
158
|
])),
|
|
161
159
|
_: 1
|
|
162
160
|
}, 8, ["href", "menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
|
|
163
|
-
[
|
|
161
|
+
[a, ["TopNav", "click-Lend"]]
|
|
164
162
|
]),
|
|
165
|
-
|
|
163
|
+
m((i(), h(f, {
|
|
166
164
|
"ref-name": "takeActionButton",
|
|
167
165
|
"base-class": "tw-hidden md:tw-inline-flex tw-py-1",
|
|
168
166
|
"menu-component": n.KvHeaderTakeActionMenu,
|
|
@@ -172,14 +170,14 @@ function Me(d, e, t, n, B, K) {
|
|
|
172
170
|
onOnHover: n.handleOnHover,
|
|
173
171
|
onMouseout: e[5] || (e[5] = (o) => n.handleMouseOut("takeActionButton"))
|
|
174
172
|
}, {
|
|
175
|
-
default:
|
|
173
|
+
default: L(() => e[11] || (e[11] = [
|
|
176
174
|
w(" Take action ")
|
|
177
175
|
])),
|
|
178
176
|
_: 1
|
|
179
177
|
}, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
|
|
180
|
-
[
|
|
178
|
+
[a, ["TopNav", "click-TakeAction"]]
|
|
181
179
|
]),
|
|
182
|
-
|
|
180
|
+
m((i(), h(f, {
|
|
183
181
|
"ref-name": "aboutUsLink",
|
|
184
182
|
"data-testid": "header-about",
|
|
185
183
|
"base-class": "tw-hidden md:tw-inline-flex tw-py-1",
|
|
@@ -190,66 +188,67 @@ function Me(d, e, t, n, B, K) {
|
|
|
190
188
|
onOnHover: n.handleOnHover,
|
|
191
189
|
onMouseout: e[6] || (e[6] = (o) => n.handleMouseOut("aboutUsLink"))
|
|
192
190
|
}, {
|
|
193
|
-
default:
|
|
191
|
+
default: L(() => e[12] || (e[12] = [
|
|
194
192
|
w(" About ")
|
|
195
193
|
])),
|
|
196
194
|
_: 1
|
|
197
195
|
}, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
|
|
198
|
-
[
|
|
196
|
+
[a, ["TopNav", "click-About"]]
|
|
199
197
|
]),
|
|
200
|
-
e[15] || (e[15] =
|
|
201
|
-
t.loggedIn ?
|
|
198
|
+
e[15] || (e[15] = C("div", { class: "tw-flex-1 tw-h-full" }, null, -1)),
|
|
199
|
+
t.loggedIn ? m((i(), c("a", {
|
|
202
200
|
key: 0,
|
|
203
201
|
ref: "dashboardLink",
|
|
204
202
|
href: t.myDashboardUrl,
|
|
205
203
|
class: b(["header-link tw-hidden md:tw-block", { "tw-text-tertiary": !!t.openMenuItem }])
|
|
206
204
|
}, e[13] || (e[13] = [
|
|
207
205
|
w(" My dashboard ")
|
|
208
|
-
]), 10,
|
|
209
|
-
[
|
|
210
|
-
]) :
|
|
211
|
-
|
|
206
|
+
]), 10, fe)), [
|
|
207
|
+
[a, ["TopNav", "click-Dashboard"]]
|
|
208
|
+
]) : p("", !0),
|
|
209
|
+
m((i(), c("a", {
|
|
212
210
|
ref: "basketLink",
|
|
213
211
|
href: "/basket",
|
|
214
212
|
class: b(["header-link tw-relative", { "tw-text-tertiary": !!t.openMenuItem }]),
|
|
213
|
+
style: { "margin-right": "2px" },
|
|
215
214
|
"data-testid": "header-basket"
|
|
216
215
|
}, [
|
|
217
|
-
|
|
216
|
+
D(T, {
|
|
218
217
|
class: "tw-w-3 tw-h-3 tw-pointer-events-none",
|
|
219
218
|
count: t.basketCount
|
|
220
219
|
}, null, 8, ["count"])
|
|
221
220
|
], 2)), [
|
|
222
|
-
[
|
|
223
|
-
[
|
|
221
|
+
[Q, t.basketCount > 0],
|
|
222
|
+
[a, ["TopNav", "click-Basket"]]
|
|
224
223
|
]),
|
|
225
|
-
|
|
224
|
+
C("div", {
|
|
226
225
|
class: "tw-cursor-pointer tw-flex tw-items-center tw-gap-1 tw-py-1.5",
|
|
227
226
|
onMouseover: e[7] || (e[7] = (...o) => n.handleAvatarMenuPosition && n.handleAvatarMenuPosition(...o)),
|
|
228
227
|
onMouseout: e[8] || (e[8] = (o) => n.handleMouseOut(n.AVATAR_MENU_ID)),
|
|
229
228
|
onTouchstart: e[9] || (e[9] = (o) => n.handleTouchStart(n.AVATAR_MENU_ID))
|
|
230
229
|
}, [
|
|
231
|
-
t.loggedIn ? (
|
|
232
|
-
t.loggedIn ? (
|
|
230
|
+
t.loggedIn ? (i(), c("span", we, X(n.numeral(t.balance).format("$0")), 1)) : p("", !0),
|
|
231
|
+
t.loggedIn ? (i(), h(I, {
|
|
233
232
|
key: 1,
|
|
234
233
|
ref: "avatar",
|
|
235
234
|
"lender-name": t.lenderName,
|
|
236
235
|
"lender-image-url": t.lenderImageUrl,
|
|
237
236
|
"is-small": ""
|
|
238
|
-
}, null, 8, ["lender-name", "lender-image-url"])) :
|
|
237
|
+
}, null, 8, ["lender-name", "lender-image-url"])) : p("", !0)
|
|
239
238
|
], 32),
|
|
240
|
-
t.loggedIn ?
|
|
239
|
+
t.loggedIn ? p("", !0) : m((i(), c("a", {
|
|
241
240
|
key: 1,
|
|
242
241
|
ref: "signInLink",
|
|
243
242
|
href: t.loginUrl,
|
|
244
243
|
class: b(["header-link", { "tw-text-tertiary": !!t.openMenuItem }])
|
|
245
244
|
}, e[14] || (e[14] = [
|
|
246
245
|
w(" Sign in ")
|
|
247
|
-
]), 10,
|
|
248
|
-
[
|
|
246
|
+
]), 10, Me)), [
|
|
247
|
+
[a, ["TopNav", "click-Sign-in"]]
|
|
249
248
|
])
|
|
250
249
|
]);
|
|
251
250
|
}
|
|
252
|
-
const
|
|
251
|
+
const Be = /* @__PURE__ */ ae(ve, [["render", ke], ["__scopeId", "data-v-c12cfb72"]]);
|
|
253
252
|
export {
|
|
254
|
-
|
|
253
|
+
Be as default
|
|
255
254
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.mobile-link[data-v-
|
|
1
|
+
.mobile-link[data-v-c5a33b4b]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-c5a33b4b]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { mdiClose as
|
|
1
|
+
import { mdiClose as f } from "@mdi/js";
|
|
2
2
|
import b from "../KvAccordionItem.js";
|
|
3
3
|
import h from "../KvMaterialIcon.js";
|
|
4
|
-
import { resolveComponent as
|
|
4
|
+
import { resolveComponent as p, resolveDirective as g, openBlock as t, createElementBlock as o, createBlock as _, createCommentVNode as y, createVNode as u, withCtx as a, createElementVNode as r, Fragment as N, renderList as x, withDirectives as n, toDisplayString as m, createTextVNode as s } from "vue";
|
|
5
5
|
import "./KvHeaderMobileMenu.css";
|
|
6
6
|
import I from "../../_virtual/_plugin-vue_export-helper.js";
|
|
7
7
|
const K = {
|
|
@@ -26,7 +26,7 @@ const K = {
|
|
|
26
26
|
emits: ["closing-menu"],
|
|
27
27
|
data() {
|
|
28
28
|
return {
|
|
29
|
-
mdiClose:
|
|
29
|
+
mdiClose: f,
|
|
30
30
|
menuItems: [
|
|
31
31
|
{
|
|
32
32
|
title: "Choose someone to help",
|
|
@@ -55,7 +55,7 @@ const K = {
|
|
|
55
55
|
]
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
}, T = { 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" }, C = { class: "tw-flex tw-flex-col tw-gap-2" }, M = ["href"], E = { class: "tw-text-secondary tw-font-book" }, B = { class: "tw-flex tw-flex-col tw-gap-2 tw-
|
|
58
|
+
}, T = { 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" }, C = { class: "tw-flex tw-flex-col tw-gap-2 tw-pl-1" }, M = ["href"], E = { class: "tw-text-secondary tw-font-book" }, B = { class: "tw-flex tw-flex-col tw-gap-2 tw-pb-2 tw-pl-1" }, D = {
|
|
59
59
|
href: "/about",
|
|
60
60
|
class: "mobile-link"
|
|
61
61
|
}, A = {
|
|
@@ -81,21 +81,21 @@ const K = {
|
|
|
81
81
|
class: "mobile-link"
|
|
82
82
|
};
|
|
83
83
|
function S(k, e, v, q, c, z) {
|
|
84
|
-
const
|
|
84
|
+
const w = p("KvMaterialIcon"), d = p("KvAccordionItem"), i = g("kv-track-event");
|
|
85
85
|
return t(), o("nav", T, [
|
|
86
|
-
v.isMobile ? (t(), _(
|
|
86
|
+
v.isMobile ? (t(), _(w, {
|
|
87
87
|
key: 0,
|
|
88
88
|
icon: c.mdiClose,
|
|
89
89
|
class: "tw-cursor-pointer",
|
|
90
90
|
onClick: e[0] || (e[0] = (l) => k.$emit("closing-menu"))
|
|
91
91
|
}, null, 8, ["icon"])) : y("", !0),
|
|
92
|
-
|
|
92
|
+
u(d, {
|
|
93
93
|
id: "accordion-take-action-menu",
|
|
94
94
|
open: "",
|
|
95
95
|
class: "tw-w-full tw-border-b-0"
|
|
96
96
|
}, {
|
|
97
97
|
header: a(() => e[1] || (e[1] = [
|
|
98
|
-
r("h3",
|
|
98
|
+
r("h3", { class: "tw-pb-0.5" }, " Take action ", -1)
|
|
99
99
|
])),
|
|
100
100
|
default: a(() => [
|
|
101
101
|
r("div", C, [
|
|
@@ -114,12 +114,12 @@ function S(k, e, v, q, c, z) {
|
|
|
114
114
|
]),
|
|
115
115
|
_: 1
|
|
116
116
|
}),
|
|
117
|
-
|
|
117
|
+
u(d, {
|
|
118
118
|
id: "accordion-about-menu",
|
|
119
|
-
class: "tw-w-full"
|
|
119
|
+
class: "tw-w-full tw-pb-1"
|
|
120
120
|
}, {
|
|
121
121
|
header: a(() => e[2] || (e[2] = [
|
|
122
|
-
r("h3",
|
|
122
|
+
r("h3", { class: "tw-pb-0.5" }, " About ", -1)
|
|
123
123
|
])),
|
|
124
124
|
default: a(() => [
|
|
125
125
|
r("div", B, [
|
|
@@ -169,7 +169,7 @@ function S(k, e, v, q, c, z) {
|
|
|
169
169
|
})
|
|
170
170
|
]);
|
|
171
171
|
}
|
|
172
|
-
const Q = /* @__PURE__ */ I(K, [["render", S], ["__scopeId", "data-v-
|
|
172
|
+
const Q = /* @__PURE__ */ I(K, [["render", S], ["__scopeId", "data-v-c5a33b4b"]]);
|
|
173
173
|
export {
|
|
174
174
|
Q as default
|
|
175
175
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import d from "./KvHeaderMenuLink.js";
|
|
2
|
+
import { resolveComponent as u, openBlock as a, createElementBlock as i, createVNode as s, withCtx as o, createTextVNode as r, createBlock as l, createCommentVNode as f } from "vue";
|
|
3
|
+
import m from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const p = {
|
|
5
5
|
components: {
|
|
6
|
-
KvHeaderMenuLink:
|
|
6
|
+
KvHeaderMenuLink: d
|
|
7
7
|
},
|
|
8
8
|
props: {
|
|
9
9
|
balance: {
|
|
@@ -23,40 +23,40 @@ const w = {
|
|
|
23
23
|
default: "/mykiva"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
},
|
|
26
|
+
}, w = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
|
|
27
27
|
function y(b, e, n, k, v, x) {
|
|
28
|
-
const t =
|
|
29
|
-
return a(),
|
|
28
|
+
const t = u("kv-header-menu-link");
|
|
29
|
+
return a(), i("nav", w, [
|
|
30
30
|
s(t, {
|
|
31
31
|
href: n.myDashboardUrl,
|
|
32
32
|
class: "md:tw-hidden"
|
|
33
33
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
|
|
34
|
+
default: o(() => e[0] || (e[0] = [
|
|
35
|
+
r(" My Dashboard ")
|
|
36
36
|
])),
|
|
37
37
|
_: 1
|
|
38
38
|
}, 8, ["href"]),
|
|
39
39
|
s(t, { href: "/portfolio" }, {
|
|
40
|
-
default:
|
|
41
|
-
|
|
40
|
+
default: o(() => e[1] || (e[1] = [
|
|
41
|
+
r(" Portfolio ")
|
|
42
42
|
])),
|
|
43
43
|
_: 1
|
|
44
44
|
}),
|
|
45
45
|
s(t, { href: "/teams/my-teams" }, {
|
|
46
|
-
default:
|
|
47
|
-
|
|
46
|
+
default: o(() => e[2] || (e[2] = [
|
|
47
|
+
r(" My Teams ")
|
|
48
48
|
])),
|
|
49
49
|
_: 1
|
|
50
50
|
}),
|
|
51
51
|
s(t, { href: "/portfolio/donations" }, {
|
|
52
|
-
default:
|
|
53
|
-
|
|
52
|
+
default: o(() => e[3] || (e[3] = [
|
|
53
|
+
r(" Donations ")
|
|
54
54
|
])),
|
|
55
55
|
_: 1
|
|
56
56
|
}),
|
|
57
57
|
s(t, { href: "/settings" }, {
|
|
58
|
-
default:
|
|
59
|
-
|
|
58
|
+
default: o(() => e[4] || (e[4] = [
|
|
59
|
+
r(" Settings ")
|
|
60
60
|
])),
|
|
61
61
|
_: 1
|
|
62
62
|
}),
|
|
@@ -64,32 +64,32 @@ function y(b, e, n, k, v, x) {
|
|
|
64
64
|
key: 0,
|
|
65
65
|
href: "/my/borrower"
|
|
66
66
|
}, {
|
|
67
|
-
default:
|
|
68
|
-
|
|
67
|
+
default: o(() => e[5] || (e[5] = [
|
|
68
|
+
r(" Borrower Dashboard ")
|
|
69
69
|
])),
|
|
70
70
|
_: 1
|
|
71
|
-
})) :
|
|
71
|
+
})) : f("", !0),
|
|
72
72
|
n.isTrustee ? (a(), l(t, {
|
|
73
73
|
key: 1,
|
|
74
74
|
href: "/my/trustee"
|
|
75
75
|
}, {
|
|
76
|
-
default:
|
|
77
|
-
|
|
76
|
+
default: o(() => e[6] || (e[6] = [
|
|
77
|
+
r(" Trustee Dashboard ")
|
|
78
78
|
])),
|
|
79
79
|
_: 1
|
|
80
|
-
})) :
|
|
80
|
+
})) : f("", !0),
|
|
81
81
|
s(t, {
|
|
82
82
|
href: "/ui-logout",
|
|
83
83
|
class: "tw-border-t tw-border-secondary tw-w-full"
|
|
84
84
|
}, {
|
|
85
|
-
default:
|
|
86
|
-
|
|
85
|
+
default: o(() => e[7] || (e[7] = [
|
|
86
|
+
r(" Sign out ")
|
|
87
87
|
])),
|
|
88
88
|
_: 1
|
|
89
89
|
})
|
|
90
90
|
]);
|
|
91
91
|
}
|
|
92
|
-
const g = /* @__PURE__ */
|
|
92
|
+
const g = /* @__PURE__ */ m(p, [["render", y]]);
|
|
93
93
|
export {
|
|
94
94
|
g as default
|
|
95
95
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "6.52.
|
|
3
|
+
"version": "6.52.6",
|
|
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": "
|
|
117
|
+
"gitHead": "51c20beeb958b68afd1f7012dc701f0671c16a90"
|
|
118
118
|
}
|