@kiva/kv-components 6.59.1 → 6.59.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,8 +1,8 @@
1
- import { getCurrentInstance as u, computed as d, resolveComponent as m, openBlock as f, createElementBlock as w, createElementVNode as h, normalizeClass as i, renderSlot as p, createVNode as v } from "vue";
2
- import C from "../KvMaterialIcon.js";
1
+ import { getCurrentInstance as u, computed as d, resolveComponent as m, openBlock as f, createElementBlock as w, withModifiers as h, createElementVNode as p, normalizeClass as i, renderSlot as v, createVNode as C } from "vue";
2
+ import M from "../KvMaterialIcon.js";
3
3
  import x from "../../_virtual/_plugin-vue_export-helper.js";
4
- const M = {
5
- components: { KvMaterialIcon: C },
4
+ const y = {
5
+ components: { KvMaterialIcon: M },
6
6
  props: {
7
7
  refName: {
8
8
  type: String,
@@ -64,28 +64,28 @@ const M = {
64
64
  }
65
65
  };
66
66
  }
67
- }, y = ["href"];
68
- function k(e, n, o, r, a, c) {
67
+ }, k = ["href"];
68
+ function I(e, n, o, r, a, c) {
69
69
  const l = m("KvMaterialIcon");
70
70
  return f(), w("a", {
71
71
  ref: o.refName,
72
72
  class: "tw-py-1 tw-no-underline hover:tw-no-underline tw-text-primary hover:tw-text-action tw-items-center tw-cursor-pointer",
73
73
  href: o.href,
74
74
  onMouseover: n[0] || (n[0] = (...t) => r.handleMouseOver && r.handleMouseOver(...t)),
75
- onTouchstart: n[1] || (n[1] = (...t) => r.handleTouchStart && r.handleTouchStart(...t))
75
+ onTouchstart: n[1] || (n[1] = h((...t) => r.handleTouchStart && r.handleTouchStart(...t), ["prevent"]))
76
76
  }, [
77
- h("div", {
77
+ p("div", {
78
78
  class: i(["tw-flex tw-items-center", r.computedClass])
79
79
  }, [
80
- p(e.$slots, "default"),
81
- v(l, {
80
+ v(e.$slots, "default"),
81
+ C(l, {
82
82
  class: i(["tw-inline tw-w-3 tw-ml-0.5 tw-transition-transform tw-duration-300", { "tw-rotate-180": o.openMenuItem === o.menuComponent }]),
83
83
  icon: o.dropdownIcon
84
84
  }, null, 8, ["class", "icon"])
85
85
  ], 2)
86
- ], 40, y);
86
+ ], 40, k);
87
87
  }
88
- const _ = /* @__PURE__ */ x(M, [["render", k]]);
88
+ const O = /* @__PURE__ */ x(y, [["render", I]]);
89
89
  export {
90
- _ as default
90
+ O as default
91
91
  };
@@ -1,7 +1,7 @@
1
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 = {
2
+ import { resolveComponent as u, resolveDirective as m, openBlock as t, createElementBlock as p, withDirectives as a, createBlock as i, withCtx as l, createTextVNode as s, createCommentVNode as f } from "vue";
3
+ import v from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const k = {
5
5
  components: {
6
6
  KvHeaderMenuLink: d
7
7
  },
@@ -24,72 +24,88 @@ const p = {
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
- function y(b, e, n, k, v, x) {
28
- const t = u("kv-header-menu-link");
29
- return a(), i("nav", w, [
30
- s(t, {
27
+ function y(c, o, n, b, T, D) {
28
+ const e = u("kv-header-menu-link"), r = m("kv-track-event");
29
+ return t(), p("nav", w, [
30
+ a((t(), i(e, {
31
31
  href: n.myDashboardUrl,
32
32
  class: "md:tw-hidden"
33
33
  }, {
34
- default: o(() => e[0] || (e[0] = [
35
- r(" My Dashboard ")
34
+ default: l(() => o[0] || (o[0] = [
35
+ s(" My Dashboard ")
36
36
  ])),
37
37
  _: 1
38
- }, 8, ["href"]),
39
- s(t, { href: "/portfolio" }, {
40
- default: o(() => e[1] || (e[1] = [
41
- r(" Portfolio ")
38
+ }, 8, ["href"])), [
39
+ [r, ["TopNav", "click-Dashboard"]]
40
+ ]),
41
+ a((t(), i(e, { href: "/portfolio" }, {
42
+ default: l(() => o[1] || (o[1] = [
43
+ s(" Portfolio ")
42
44
  ])),
43
45
  _: 1
44
- }),
45
- s(t, { href: "/teams/my-teams" }, {
46
- default: o(() => e[2] || (e[2] = [
47
- r(" My Teams ")
46
+ })), [
47
+ [r, ["TopNav", "click-Portfolio-Portfolio"]]
48
+ ]),
49
+ a((t(), i(e, { href: "/teams/my-teams" }, {
50
+ default: l(() => o[2] || (o[2] = [
51
+ s(" My Teams ")
48
52
  ])),
49
53
  _: 1
50
- }),
51
- s(t, { href: "/portfolio/donations" }, {
52
- default: o(() => e[3] || (e[3] = [
53
- r(" Donations ")
54
+ })), [
55
+ [r, ["TopNav", "click-Portfolio-My Teams"]]
56
+ ]),
57
+ a((t(), i(e, { href: "/portfolio/donations" }, {
58
+ default: l(() => o[3] || (o[3] = [
59
+ s(" Donations ")
54
60
  ])),
55
61
  _: 1
56
- }),
57
- s(t, { href: "/settings" }, {
58
- default: o(() => e[4] || (e[4] = [
59
- r(" Settings ")
62
+ })), [
63
+ [r, ["TopNav", "click-Portfolio-Donations"]]
64
+ ]),
65
+ a((t(), i(e, { href: "/settings" }, {
66
+ default: l(() => o[4] || (o[4] = [
67
+ s(" Settings ")
60
68
  ])),
61
69
  _: 1
62
- }),
63
- n.isBorrower ? (a(), l(t, {
70
+ })), [
71
+ [r, ["TopNav", "click-Portfolio-Settings"]]
72
+ ]),
73
+ n.isBorrower ? a((t(), i(e, {
64
74
  key: 0,
65
75
  href: "/my/borrower"
66
76
  }, {
67
- default: o(() => e[5] || (e[5] = [
68
- r(" Borrower Dashboard ")
77
+ default: l(() => o[5] || (o[5] = [
78
+ s(" Borrower Dashboard ")
69
79
  ])),
70
80
  _: 1
71
- })) : f("", !0),
72
- n.isTrustee ? (a(), l(t, {
81
+ })), [
82
+ [r, ["TopNav", "click-Portfolio-My borrower Dashboard"]]
83
+ ]) : f("", !0),
84
+ n.isTrustee ? a((t(), i(e, {
73
85
  key: 1,
74
86
  href: "/my/trustee"
75
87
  }, {
76
- default: o(() => e[6] || (e[6] = [
77
- r(" Trustee Dashboard ")
88
+ default: l(() => o[6] || (o[6] = [
89
+ s(" Trustee Dashboard ")
78
90
  ])),
79
91
  _: 1
80
- })) : f("", !0),
81
- s(t, {
92
+ })), [
93
+ [r, ["TopNav", "click-Portfolio-My Trustee Dashboard"]]
94
+ ]) : f("", !0),
95
+ a((t(), i(e, {
82
96
  href: "/ui-logout",
83
97
  class: "tw-border-t tw-border-secondary tw-w-full"
84
98
  }, {
85
- default: o(() => e[7] || (e[7] = [
86
- r(" Sign out ")
99
+ default: l(() => o[7] || (o[7] = [
100
+ s(" Sign out ")
87
101
  ])),
88
102
  _: 1
89
- })
103
+ })), [
104
+ [r, ["TopNav", "click-Portfolio-Sign out"]]
105
+ ])
90
106
  ]);
91
107
  }
92
- const g = /* @__PURE__ */ m(p, [["render", y]]);
108
+ const h = /* @__PURE__ */ v(k, [["render", y]]);
93
109
  export {
94
- g as default
110
+ h as default
95
111
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.59.1",
3
+ "version": "6.59.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": "5e81fd793bb59057127a7ce5aa7729b5a8fdd879"
117
+ "gitHead": "f18fb4d90181546a717f4ef9ca060be9ecc47651"
118
118
  }