@kiva/kv-components 6.49.0 → 6.49.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.
- package/dist/vue/KvLendCta.css +1 -1
- package/dist/vue/KvLendCta.js +323 -189
- package/dist/vue/KvWwwHeader/KvHeaderAboutMenu.js +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderDropdownLink.js +11 -11
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.css +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +49 -48
- package/dist/vue/KvWwwHeader/KvHeaderMenuLink.js +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.css +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +7 -7
- package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +2 -2
- package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +6 -6
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.js +67 -62
- package/dist/vue/KvWwwHeader.css +1 -1
- package/dist/vue/KvWwwHeader.js +83 -75
- package/package.json +2 -2
package/dist/vue/KvWwwHeader.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { ref as i, shallowRef as L, resolveComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { ref as i, shallowRef as L, resolveComponent as u, resolveDirective as M, openBlock as v, createBlock as h, withCtx as c, createElementVNode as f, createVNode as s, Transition as p, withDirectives as g, vShow as I, createElementBlock as H, normalizeStyle as B, resolveDynamicComponent as D } from "vue";
|
|
2
|
+
import U from "./KvWwwHeader/KvHeaderLinkBar.js";
|
|
3
|
+
import N from "./KvWwwHeader/KvHeaderLogo.js";
|
|
4
|
+
import T from "./KvThemeProvider.js";
|
|
5
|
+
import x from "./KvPageContainer.js";
|
|
5
6
|
import "./KvWwwHeader.css";
|
|
6
|
-
import
|
|
7
|
-
const
|
|
7
|
+
import S from "../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const E = {
|
|
8
9
|
components: {
|
|
9
|
-
KvHeaderLinkBar:
|
|
10
|
-
KvHeaderLogo:
|
|
11
|
-
KvThemeProvider:
|
|
10
|
+
KvHeaderLinkBar: U,
|
|
11
|
+
KvHeaderLogo: N,
|
|
12
|
+
KvThemeProvider: T,
|
|
13
|
+
KvPageContainer: x
|
|
12
14
|
},
|
|
13
15
|
props: {
|
|
14
16
|
loggedIn: {
|
|
@@ -63,98 +65,104 @@ const T = {
|
|
|
63
65
|
emits: [
|
|
64
66
|
"load-lend-menu-data"
|
|
65
67
|
],
|
|
66
|
-
setup(
|
|
67
|
-
const e = i(!0),
|
|
68
|
-
let
|
|
68
|
+
setup(C, { emit: t }) {
|
|
69
|
+
const e = i(!0), n = i(null), l = i(!1), a = L(null), d = i(null), r = i({ left: 0, position: "relative" });
|
|
70
|
+
let m;
|
|
69
71
|
return {
|
|
70
72
|
emitLendMenuEvent: () => {
|
|
71
|
-
|
|
73
|
+
t("load-lend-menu-data");
|
|
72
74
|
},
|
|
73
75
|
linksVisible: e,
|
|
74
76
|
menuOpen: l,
|
|
75
|
-
onHover: (
|
|
76
|
-
o ? (clearTimeout(
|
|
77
|
-
...
|
|
77
|
+
onHover: (k, o, y) => {
|
|
78
|
+
o ? (clearTimeout(m), a.value !== o && (r.value = { left: 0, position: "relative" }), a.value = o, l.value = !0, y && (r.value = {
|
|
79
|
+
...y,
|
|
78
80
|
position: "absolute"
|
|
79
|
-
})) : l.value && (
|
|
81
|
+
})) : l.value && (m = setTimeout(() => {
|
|
80
82
|
l.value = !1, a.value = null;
|
|
81
83
|
}, 50));
|
|
82
84
|
},
|
|
83
|
-
loadMenuData: (
|
|
85
|
+
loadMenuData: (k) => {
|
|
84
86
|
var o;
|
|
85
|
-
(o =
|
|
87
|
+
(o = d.value) == null || o.onLoad(k);
|
|
86
88
|
},
|
|
87
|
-
activeHeaderItem:
|
|
89
|
+
activeHeaderItem: n,
|
|
88
90
|
menuComponent: a,
|
|
89
|
-
menuComponentInstance:
|
|
91
|
+
menuComponentInstance: d,
|
|
90
92
|
menuPosition: r
|
|
91
93
|
};
|
|
92
94
|
}
|
|
93
|
-
},
|
|
94
|
-
class: "
|
|
95
|
+
}, K = {
|
|
96
|
+
class: "tw-font-medium",
|
|
95
97
|
style: { height: "3.75rem" }
|
|
96
|
-
},
|
|
98
|
+
}, V = {
|
|
97
99
|
href: "/",
|
|
98
100
|
class: "tw-px-1 tw-py-2 tw-cursor-pointer tw-absolute tw-top-1/2 tw-left-1/2 tw--translate-y-1/2 tw--translate-x-1/2 tw-transition-all tw-duration-300"
|
|
99
|
-
},
|
|
101
|
+
}, P = {
|
|
100
102
|
class: "tw-absolute tw-z-modal tw-h-full tw-inset-x-0 tw-bg-eco-green-4 bg-opacity-50 tw-min-h-screen",
|
|
101
103
|
style: { top: "3.75rem" }
|
|
102
|
-
}
|
|
103
|
-
function z(
|
|
104
|
-
const
|
|
105
|
-
return v(),
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
104
|
+
};
|
|
105
|
+
function z(C, t, e, n, l, a) {
|
|
106
|
+
const d = u("kv-header-link-bar"), r = u("kv-header-logo"), m = u("kv-page-container"), _ = u("kv-theme-provider"), b = M("kv-track-event");
|
|
107
|
+
return v(), h(_, {
|
|
108
|
+
tag: "div",
|
|
109
|
+
class: "tw-bg-primary tw-relative"
|
|
110
|
+
}, {
|
|
111
|
+
default: c(() => [
|
|
112
|
+
f("nav", K, [
|
|
113
|
+
s(m, null, {
|
|
114
|
+
default: c(() => [
|
|
115
|
+
s(p, { name: "header-fade" }, {
|
|
116
|
+
default: c(() => [
|
|
117
|
+
g(s(d, {
|
|
118
|
+
"logged-in": e.loggedIn,
|
|
119
|
+
"basket-count": e.basketCount,
|
|
120
|
+
"login-url": e.loginUrl,
|
|
121
|
+
"open-menu-item": n.menuComponent,
|
|
122
|
+
"my-dashboard-url": e.myDashboardUrl,
|
|
123
|
+
"lender-name": e.lenderName,
|
|
124
|
+
"lender-image-url": e.lenderImageUrl,
|
|
125
|
+
"is-mobile": e.isMobile,
|
|
126
|
+
balance: e.balance,
|
|
127
|
+
onItemHover: n.onHover
|
|
128
|
+
}, null, 8, ["logged-in", "basket-count", "login-url", "open-menu-item", "my-dashboard-url", "lender-name", "lender-image-url", "is-mobile", "balance", "onItemHover"]), [
|
|
129
|
+
[I, n.linksVisible]
|
|
130
|
+
])
|
|
131
|
+
]),
|
|
132
|
+
_: 1
|
|
133
|
+
}),
|
|
134
|
+
g((v(), H("a", V, [
|
|
135
|
+
s(r)
|
|
136
|
+
])), [
|
|
137
|
+
[b, ["TopNav", "click-Logo"]]
|
|
123
138
|
])
|
|
124
139
|
]),
|
|
125
140
|
_: 1
|
|
126
|
-
})
|
|
127
|
-
g((v(), C("a", E, [
|
|
128
|
-
u(r)
|
|
129
|
-
])), [
|
|
130
|
-
[b, ["TopNav", "click-Logo"]]
|
|
131
|
-
])
|
|
141
|
+
})
|
|
132
142
|
]),
|
|
133
|
-
|
|
134
|
-
default:
|
|
135
|
-
g(
|
|
136
|
-
|
|
143
|
+
s(p, { name: "header-fade" }, {
|
|
144
|
+
default: c(() => [
|
|
145
|
+
g(f("div", P, [
|
|
146
|
+
f("div", {
|
|
137
147
|
class: "tw-bg-primary",
|
|
138
|
-
style:
|
|
139
|
-
onMouseover:
|
|
140
|
-
onMouseout:
|
|
148
|
+
style: B(n.menuPosition),
|
|
149
|
+
onMouseover: t[0] || (t[0] = (w) => n.onHover(n.activeHeaderItem, n.menuComponent)),
|
|
150
|
+
onMouseout: t[1] || (t[1] = (w) => n.onHover())
|
|
141
151
|
}, [
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}, null, 40, ["logged-in", "login-url", "user-id", "is-borrower", "is-trustee", "my-dashboard-url", "show-m-g-upsell-link", "onLoadLendMenuData"]))
|
|
154
|
-
])
|
|
152
|
+
(v(), h(D(n.menuComponent), {
|
|
153
|
+
ref: "menuComponentInstance",
|
|
154
|
+
"logged-in": e.loggedIn,
|
|
155
|
+
"login-url": e.loginUrl,
|
|
156
|
+
"user-id": e.userId,
|
|
157
|
+
"is-borrower": e.isBorrower,
|
|
158
|
+
"is-trustee": e.isTrustee,
|
|
159
|
+
"my-dashboard-url": e.myDashboardUrl,
|
|
160
|
+
"show-m-g-upsell-link": e.showMGUpsellLink,
|
|
161
|
+
onLoadLendMenuData: n.emitLendMenuEvent
|
|
162
|
+
}, null, 40, ["logged-in", "login-url", "user-id", "is-borrower", "is-trustee", "my-dashboard-url", "show-m-g-upsell-link", "onLoadLendMenuData"]))
|
|
155
163
|
], 36)
|
|
156
164
|
], 512), [
|
|
157
|
-
[
|
|
165
|
+
[I, n.menuOpen]
|
|
158
166
|
])
|
|
159
167
|
]),
|
|
160
168
|
_: 1
|
|
@@ -163,7 +171,7 @@ function z(I, n, e, t, l, a) {
|
|
|
163
171
|
_: 1
|
|
164
172
|
});
|
|
165
173
|
}
|
|
166
|
-
const
|
|
174
|
+
const F = /* @__PURE__ */ S(E, [["render", z], ["__scopeId", "data-v-07310dbf"]]);
|
|
167
175
|
export {
|
|
168
|
-
|
|
176
|
+
F as default
|
|
169
177
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "6.49.
|
|
3
|
+
"version": "6.49.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"embla-carousel-fade",
|
|
114
114
|
"popper.js"
|
|
115
115
|
],
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "181ef54b20935aeaa481c558dc133c93a8d21e11"
|
|
117
117
|
}
|