@kiva/kv-components 6.40.5 → 6.40.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/LendMenu/KvLendMegaMenu.css +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +9 -9
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.css +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.js +12 -12
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.js +11 -11
- package/dist/vue/KvWwwHeader.css +1 -1
- package/dist/vue/KvWwwHeader.js +3 -3
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
.menu-heading[data-v-
|
|
1
|
+
.menu-heading[data-v-c47f9ef7]{font-weight:300;font-size:1rem;letter-spacing:0em;line-height:1.5}@media (min-width: 64rem){.menu-heading[data-v-c47f9ef7]{font-size:1.0625rem;letter-spacing:0em}}.menu-heading[data-v-c47f9ef7]{font-weight:400}.region-list[data-v-c47f9ef7],.search-list[data-v-c47f9ef7]{-moz-column-fill:auto;column-fill:auto;-moz-columns:3;columns:3;gap:2rem}.mega-menu-link[data-v-c47f9ef7]{display:inline-block;padding-top:.5rem;padding-bottom:.5rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mega-menu-link[data-v-c47f9ef7]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}.link-item[data-v-c47f9ef7]{width:11rem;text-decoration-line:none}.link-item[data-v-c47f9ef7]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
|
|
@@ -46,7 +46,7 @@ const z = {
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
setup(p) {
|
|
49
|
-
const e = L(null), i = L(""), l = k(() => i.value !== ""),
|
|
49
|
+
const e = L(null), i = L(""), l = k(() => i.value !== ""), f = (a) => i.value === a, S = (a) => {
|
|
50
50
|
i.value = a;
|
|
51
51
|
}, h = k(() => {
|
|
52
52
|
var r;
|
|
@@ -56,19 +56,19 @@ const z = {
|
|
|
56
56
|
a.transform = `translateX(${o * -1}px)`;
|
|
57
57
|
}
|
|
58
58
|
return a;
|
|
59
|
-
}),
|
|
59
|
+
}), y = k(() => p.regions.filter((a) => f(a.name))), _ = k(() => p.searches.length > 0);
|
|
60
60
|
return {
|
|
61
61
|
mdiArrowRight: N,
|
|
62
62
|
mdiChevronLeft: T,
|
|
63
63
|
categoriesSection: e,
|
|
64
64
|
openedSection: i,
|
|
65
65
|
sectionOpen: l,
|
|
66
|
-
isOpenSection:
|
|
66
|
+
isOpenSection: f,
|
|
67
67
|
openSection: S,
|
|
68
68
|
onClose: () => {
|
|
69
69
|
i.value = "";
|
|
70
70
|
},
|
|
71
|
-
openRegions:
|
|
71
|
+
openRegions: y,
|
|
72
72
|
computedStyle: h,
|
|
73
73
|
hasSearches: _,
|
|
74
74
|
savedSearchesTitle: "Saved searches"
|
|
@@ -96,8 +96,8 @@ const z = {
|
|
|
96
96
|
href: "/lend/countries-not-lent",
|
|
97
97
|
class: "tw-text-primary tw-text-left hover:tw-text-action tw-py-1 tw-inline-block tw-no-underline hover:tw-underline"
|
|
98
98
|
}, le = { class: "tw-col-span-2" }, ie = { class: "tw-col-span-8 tw-flex tw-flex-col" }, ae = { class: "tw-flex tw-whitespace-nowrap tw-h-full" }, re = { class: "tw-font-medium" }, ce = ["aria-pressed", "onClick"];
|
|
99
|
-
function de(p, e, i, l,
|
|
100
|
-
const h = u("kv-loading-placeholder"),
|
|
99
|
+
function de(p, e, i, l, f, S) {
|
|
100
|
+
const h = u("kv-loading-placeholder"), y = u("kv-material-icon"), _ = u("kv-lend-menu-search-list"), b = u("kv-lend-menu-country-list"), a = u("kv-grid"), r = R("kv-track-event");
|
|
101
101
|
return n(), s("div", E, [
|
|
102
102
|
t("div", {
|
|
103
103
|
style: A(l.computedStyle),
|
|
@@ -197,7 +197,7 @@ function de(p, e, i, l, y, S) {
|
|
|
197
197
|
class: "tw-flex",
|
|
198
198
|
onClick: e[1] || (e[1] = (o) => l.openedSection = "")
|
|
199
199
|
}, [
|
|
200
|
-
w(
|
|
200
|
+
w(y, {
|
|
201
201
|
class: "tw-flex-shrink-0 tw-w-3 tw-h-3",
|
|
202
202
|
icon: l.mdiChevronLeft
|
|
203
203
|
}, null, 8, ["icon"]),
|
|
@@ -230,7 +230,7 @@ function de(p, e, i, l, y, S) {
|
|
|
230
230
|
}, [
|
|
231
231
|
d((n(), s("button", {
|
|
232
232
|
"aria-pressed": l.isOpenSection(o.name) ? "true" : "false",
|
|
233
|
-
class: O(["tw-text-primary tw-text-left tw-py-1 hover:tw-text-action
|
|
233
|
+
class: O(["tw-text-primary tw-text-left tw-py-1 hover:tw-text-action hover:tw-underline", { "tw-text-action": l.isOpenSection(o.name) }]),
|
|
234
234
|
onClick: (g) => l.openSection(o.name)
|
|
235
235
|
}, [
|
|
236
236
|
m(x(o.name), 1)
|
|
@@ -257,7 +257,7 @@ function de(p, e, i, l, y, S) {
|
|
|
257
257
|
], 4)
|
|
258
258
|
]);
|
|
259
259
|
}
|
|
260
|
-
const _e = /* @__PURE__ */ F(z, [["render", de], ["__scopeId", "data-v-
|
|
260
|
+
const _e = /* @__PURE__ */ F(z, [["render", de], ["__scopeId", "data-v-c47f9ef7"]]);
|
|
261
261
|
export {
|
|
262
262
|
_e as default
|
|
263
263
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.country-list-item[data-v-
|
|
1
|
+
.country-list-item[data-v-b291d337]{width:11rem}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { resolveDirective as
|
|
1
|
+
import { resolveDirective as i, openBlock as e, createElementBlock as o, Fragment as c, renderList as a, withDirectives as l, createTextVNode as d, toDisplayString as r } from "vue";
|
|
2
2
|
import "./KvLendMenuCountryList.css";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import p from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const _ = {
|
|
5
5
|
name: "CountryList",
|
|
6
6
|
props: {
|
|
7
7
|
countries: {
|
|
@@ -9,12 +9,12 @@ const d = {
|
|
|
9
9
|
default: () => []
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
}, m = { class: "tw-whitespace-nowrap tw-font-medium" }, u = ["href"],
|
|
12
|
+
}, m = { class: "tw-whitespace-nowrap tw-font-medium" }, u = ["href"], w = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "tw-block tw-py-1 tw-text-tertiary"
|
|
15
15
|
};
|
|
16
|
-
function
|
|
17
|
-
const
|
|
16
|
+
function f(k, v, s, h, y, x) {
|
|
17
|
+
const n = i("kv-track-event");
|
|
18
18
|
return e(), o("ul", m, [
|
|
19
19
|
(e(!0), o(c, null, a(s.countries, (t) => (e(), o("li", {
|
|
20
20
|
key: t.isoCode,
|
|
@@ -23,16 +23,16 @@ function w(h, k, s, v, y, x) {
|
|
|
23
23
|
t.count > 0 ? l((e(), o("a", {
|
|
24
24
|
key: 0,
|
|
25
25
|
href: `/lend/filter?country=${t.isoCode}`,
|
|
26
|
-
class: "tw-text-primary hover:tw-text-action
|
|
26
|
+
class: "tw-text-primary hover:tw-text-action tw-block tw-w-full tw-py-1"
|
|
27
27
|
}, [
|
|
28
|
-
|
|
28
|
+
d(r(t.name) + " (" + r(t.count) + ") ", 1)
|
|
29
29
|
], 8, u)), [
|
|
30
|
-
[
|
|
31
|
-
]) : (e(), o("span",
|
|
30
|
+
[n, ["TopNav", "click-Lend-Country", t.name]]
|
|
31
|
+
]) : (e(), o("span", w, r(t.name) + " (0) ", 1))
|
|
32
32
|
]))), 128))
|
|
33
33
|
]);
|
|
34
34
|
}
|
|
35
|
-
const
|
|
35
|
+
const b = /* @__PURE__ */ p(_, [["render", f], ["__scopeId", "data-v-b291d337"]]);
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
b as default
|
|
38
38
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { openBlock as e, createElementBlock as r, Fragment as a, renderList as l, createElementVNode as o, toDisplayString as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { openBlock as e, createElementBlock as r, Fragment as a, renderList as l, createElementVNode as o, toDisplayString as c } from "vue";
|
|
2
|
+
import i from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const p = {
|
|
4
4
|
props: {
|
|
5
5
|
searches: {
|
|
6
6
|
type: Array,
|
|
7
7
|
default: () => []
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
},
|
|
11
|
-
function
|
|
12
|
-
return e(), r("ul",
|
|
10
|
+
}, d = { class: "tw-font-book" }, f = ["href"];
|
|
11
|
+
function u(w, s, n, m, _, h) {
|
|
12
|
+
return e(), r("ul", d, [
|
|
13
13
|
(e(!0), r(a, null, l(n.searches, (t) => (e(), r("li", {
|
|
14
14
|
key: t.id
|
|
15
15
|
}, [
|
|
16
16
|
o("a", {
|
|
17
|
-
class: "tw-text-primary hover:tw-text-action
|
|
17
|
+
class: "tw-text-primary hover:tw-text-action tw-block tw-w-full tw-py-1",
|
|
18
18
|
href: t.url
|
|
19
|
-
},
|
|
19
|
+
}, c(t.name), 9, f)
|
|
20
20
|
]))), 128)),
|
|
21
21
|
s[0] || (s[0] = o("li", null, [
|
|
22
22
|
o("a", {
|
|
23
|
-
class: "tw-text-primary hover:tw-text-action
|
|
23
|
+
class: "tw-text-primary hover:tw-text-action tw-block tw-w-full tw-py-1",
|
|
24
24
|
href: "/lend/saved-search"
|
|
25
25
|
}, " Manage saved searches ")
|
|
26
26
|
], -1))
|
|
27
27
|
]);
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const k = /* @__PURE__ */ i(p, [["render", u]]);
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
k as default
|
|
32
32
|
};
|
package/dist/vue/KvWwwHeader.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.header-margins[data-v-
|
|
1
|
+
.header-margins[data-v-2269b77f]{margin:0 auto;max-width:1400px}.header-fade-enter-active[data-v-2269b77f]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.header-fade-leave-active[data-v-2269b77f]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.header-fade-enter[data-v-2269b77f],.header-fade-leave-to[data-v-2269b77f]{opacity:0}.header-fade-leave[data-v-2269b77f],.header-fade-enter-to[data-v-2269b77f]{opacity:1}.bg-opacity-50[data-v-2269b77f]{background-color:rgba(var(--bg-action-highlight),.5)}
|
package/dist/vue/KvWwwHeader.js
CHANGED
|
@@ -140,7 +140,7 @@ function z(C, n, t, e, m, k) {
|
|
|
140
140
|
default: d(() => [
|
|
141
141
|
_(r(u, {
|
|
142
142
|
ref: "searchBar",
|
|
143
|
-
class: "tw-absolute tw-left-1/2 tw--translate-x-1/2 tw-top-1/2 tw--translate-y-1/2 tw-h-full tw-w-full
|
|
143
|
+
class: "tw-absolute tw-left-1/2 tw--translate-x-1/2 tw-top-1/2 tw--translate-y-1/2 tw-h-full tw-w-full",
|
|
144
144
|
style: {
|
|
145
145
|
"max-width": "600px"
|
|
146
146
|
},
|
|
@@ -164,7 +164,7 @@ function z(C, n, t, e, m, k) {
|
|
|
164
164
|
r(w, { name: "header-fade" }, {
|
|
165
165
|
default: d(() => [
|
|
166
166
|
_(g("div", {
|
|
167
|
-
class: "tw-absolute tw-z-modal tw-h-full tw-inset-x-0 tw-bg-eco-green-4 bg-opacity-50",
|
|
167
|
+
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",
|
|
168
168
|
style: { top: "3.75rem" },
|
|
169
169
|
onClick: n[2] || (n[2] = (...v) => e.closeSearch && e.closeSearch(...v))
|
|
170
170
|
}, [
|
|
@@ -196,7 +196,7 @@ function z(C, n, t, e, m, k) {
|
|
|
196
196
|
_: 1
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
|
-
const te = /* @__PURE__ */ V(D, [["render", z], ["__scopeId", "data-v-
|
|
199
|
+
const te = /* @__PURE__ */ V(D, [["render", z], ["__scopeId", "data-v-2269b77f"]]);
|
|
200
200
|
export {
|
|
201
201
|
te as default
|
|
202
202
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "6.40.
|
|
3
|
+
"version": "6.40.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": "f9688efee23caf916e373fd05deefd1880830d6e"
|
|
118
118
|
}
|