@kiva/kv-components 8.19.2 → 8.19.3

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.
Files changed (97) hide show
  1. package/dist/data/ne_110m_admin_0_countries.json.js +1 -1
  2. package/dist/utils/Alea.js +2 -2
  3. package/dist/utils/mapUtils.js +5 -7
  4. package/dist/vendor/aria-hidden/dist/es2015/index.js +23 -23
  5. package/dist/vendor/popper.js/dist/esm/popper.js +6 -6
  6. package/dist/vue/KvAtbModal.css +1 -1
  7. package/dist/vue/KvCarousel.css +1 -1
  8. package/dist/vue/KvCarousel2.js +5 -5
  9. package/dist/vue/KvCartModal.css +1 -1
  10. package/dist/vue/KvCartModal2.js +7 -7
  11. package/dist/vue/KvCheckbox.js +3 -3
  12. package/dist/vue/KvClassicLoanCard.css +1 -1
  13. package/dist/vue/KvClassicLoanCard.js +2 -2
  14. package/dist/vue/KvClassicLoanCard.vue.d.ts +29 -12
  15. package/dist/vue/KvClassicLoanCard2.js +52 -46
  16. package/dist/vue/KvCommentsContainer2.js +7 -7
  17. package/dist/vue/KvCommentsListItem2.js +11 -11
  18. package/dist/vue/KvCompactLoanCard.css +1 -1
  19. package/dist/vue/KvCompactLoanCard.js +147 -147
  20. package/dist/vue/KvCompactLoanCard.vue.d.ts +11 -6
  21. package/dist/vue/KvCompactLoanCard2.js +15 -15
  22. package/dist/vue/KvContentfulImg.js +3 -3
  23. package/dist/vue/KvDatePicker.vue.d.ts +5 -2
  24. package/dist/vue/KvDatePicker2.js +9 -5
  25. package/dist/vue/KvExpandable2.js +3 -3
  26. package/dist/vue/KvExpandableQuestion2.js +3 -3
  27. package/dist/vue/KvFlag.js +5 -5
  28. package/dist/vue/KvIconButton.js +4 -4
  29. package/dist/vue/KvImageUpload.js +1 -1
  30. package/dist/vue/KvImageUpload2.js +3 -3
  31. package/dist/vue/KvIntroductionLoanCard.css +1 -1
  32. package/dist/vue/KvIntroductionLoanCard.js +11 -11
  33. package/dist/vue/KvIntroductionLoanCard.vue.d.ts +8 -4
  34. package/dist/vue/KvIntroductionLoanCard2.js +34 -31
  35. package/dist/vue/KvLendAmountButton.vue.d.ts +4 -2
  36. package/dist/vue/KvLendAmountButton2.js +3 -0
  37. package/dist/vue/KvLendCta.css +1 -1
  38. package/dist/vue/KvLendCta.js +9 -9
  39. package/dist/vue/KvLendCta.vue.d.ts +9 -4
  40. package/dist/vue/KvLendCta2.js +11 -7
  41. package/dist/vue/KvLightbox2.js +4 -4
  42. package/dist/vue/KvLoanActivities.js +4 -4
  43. package/dist/vue/KvLoanActivities.vue.d.ts +9 -4
  44. package/dist/vue/KvLoanActivities2.js +13 -13
  45. package/dist/vue/KvLoanBookmark.vue.d.ts +4 -2
  46. package/dist/vue/KvLoanBookmark2.js +8 -5
  47. package/dist/vue/KvLoanInfoCard.css +1 -1
  48. package/dist/vue/KvLoanInfoCard.js +2 -2
  49. package/dist/vue/KvLoanTag.js +9 -9
  50. package/dist/vue/KvLoanTag2.js +1 -1
  51. package/dist/vue/KvMap.vue.d.ts +4 -2
  52. package/dist/vue/KvMap2.js +9 -6
  53. package/dist/vue/KvPagination.vue.d.ts +4 -2
  54. package/dist/vue/KvPagination2.js +7 -4
  55. package/dist/vue/KvPieChartV2.css +1 -1
  56. package/dist/vue/KvPieChartV22.js +3 -3
  57. package/dist/vue/KvPopper2.js +4 -4
  58. package/dist/vue/KvRadio.js +1 -1
  59. package/dist/vue/KvSecondaryNav.js +25 -25
  60. package/dist/vue/KvSecondaryNav2.js +8 -8
  61. package/dist/vue/KvSelect.js +12 -12
  62. package/dist/vue/KvSideSheet.js +1 -1
  63. package/dist/vue/KvSideSheet2.js +3 -3
  64. package/dist/vue/KvSimpleMap.css +1 -1
  65. package/dist/vue/KvSimpleMap.js +2 -2
  66. package/dist/vue/KvSimpleMap2.js +1 -0
  67. package/dist/vue/KvSwitch.js +1 -1
  68. package/dist/vue/KvTabs.vue.d.ts +4 -2
  69. package/dist/vue/KvTabs2.js +17 -14
  70. package/dist/vue/KvTextInput.js +1 -1
  71. package/dist/vue/KvTextInput2.js +3 -3
  72. package/dist/vue/KvThemeProvider.css +1 -1
  73. package/dist/vue/KvTooltip.css +1 -1
  74. package/dist/vue/KvTooltip.js +7 -7
  75. package/dist/vue/KvTooltip2.js +22 -22
  76. package/dist/vue/KvTreeMapChart.css +1 -1
  77. package/dist/vue/KvVerticalCarousel2.js +5 -5
  78. package/dist/vue/KvVotingCard.css +1 -1
  79. package/dist/vue/KvVotingCard.js +11 -11
  80. package/dist/vue/KvVotingCard.vue.d.ts +5 -2
  81. package/dist/vue/KvVotingCard2.js +4 -0
  82. package/dist/vue/KvWideLoanCard.css +1 -1
  83. package/dist/vue/KvWideLoanCard.js +4 -4
  84. package/dist/vue/KvWideLoanCard.vue.d.ts +18 -8
  85. package/dist/vue/KvWideLoanCard2.js +39 -35
  86. package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +1 -1
  87. package/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js +5 -5
  88. package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +3 -3
  89. package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +4 -4
  90. package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +9 -9
  91. package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu2.js +3 -3
  92. package/dist/vue/KvWwwHeaderBasic/LinkBar.css +1 -1
  93. package/dist/vue/KvWwwHeaderBasic/LinkBar2.js +3 -3
  94. package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.css +1 -1
  95. package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.js +1 -1
  96. package/dist/vue/KvWwwHeaderBasic/SearchBar2.js +6 -6
  97. package/package.json +2 -20
@@ -1,11 +1,11 @@
1
- import u from "./KvSecondaryNav2.js";
2
- import { resolveComponent as d, openBlock as i, createBlock as l, withCtx as o, createElementVNode as r, normalizeClass as a, createVNode as s, createElementBlock as c, resolveDynamicComponent as v, createTextVNode as m, toDisplayString as f, createCommentVNode as x, Fragment as y, renderList as b } from "vue";
1
+ import x from "./KvSecondaryNav2.js";
2
+ import { resolveComponent as l, openBlock as i, createBlock as d, withCtx as o, createElementVNode as r, normalizeClass as a, createVNode as s, createElementBlock as c, resolveDynamicComponent as v, createTextVNode as m, toDisplayString as _, createCommentVNode as u, Fragment as y, renderList as b } from "vue";
3
3
  import "./KvSecondaryNav.css";
4
4
  import C from "../_virtual/_plugin-vue_export-helper.js";
5
5
  const L = { class: "kv-secondary-nav__links tw-flex tw-flex-col md:tw-flex-row tw-items-center tw-gap-3" };
6
- function N(p, w, n, e, E, A) {
7
- const _ = d("kv-material-icon"), g = d("kv-page-container"), h = d("kv-theme-provider");
8
- return i(), l(h, {
6
+ function N(p, w, t, e, E, A) {
7
+ const g = l("kv-material-icon"), h = l("kv-page-container"), k = l("kv-theme-provider");
8
+ return i(), d(k, {
9
9
  theme: e.themeStyle,
10
10
  class: "kv-tailwind"
11
11
  }, {
@@ -16,34 +16,34 @@ function N(p, w, n, e, E, A) {
16
16
  r("div", {
17
17
  class: a(["tw-w-full tw-overflow-x-auto kv-secondary-nav tw-absolute tw-top-0 tw-left-0 tw-right-0", e.bgClass])
18
18
  }, [
19
- s(g, null, {
19
+ s(h, null, {
20
20
  default: o(() => [
21
21
  r("div", {
22
22
  ref: "navInner",
23
23
  class: a(["kv-secondary-nav__inner tw-flex tw-gap-2 md:tw-gap-4 tw-items-center tw-flex-wrap tw-py-2", e.navAlignmentClass])
24
24
  }, [
25
- n.heading && n.heading.length > 0 ? (i(), c("div", {
25
+ t.heading && t.heading.length > 0 ? (i(), c("div", {
26
26
  key: 0,
27
- class: a(["kv-secondary-nav__heading-container", { "tw-block md:tw-hidden": n.linkAlignment === "left" || n.linkAlignment === "center" }])
27
+ class: a(["kv-secondary-nav__heading-container", { "tw-block md:tw-hidden": t.linkAlignment === "left" || t.linkAlignment === "center" }])
28
28
  }, [
29
- (i(), l(v(e.hasHeadingLink ? n.headingLink.isExternal ? "a" : "router-link" : "div"), {
30
- to: e.hasHeadingLink ? n.headingLink.isExternal ? void 0 : n.headingLink.href : void 0,
31
- href: e.hasHeadingLink && n.headingLink.isExternal ? n.headingLink.href : void 0,
29
+ (i(), d(v(e.hasHeadingLink ? t.headingLink.isExternal ? "a" : "router-link" : "div"), {
30
+ to: e.hasHeadingLink ? t.headingLink.isExternal ? void 0 : t.headingLink.href : void 0,
31
+ href: e.hasHeadingLink && t.headingLink.isExternal ? t.headingLink.href : void 0,
32
32
  class: a(["kv-secondary-nav__heading tw-text-h3 tw-text-primary tw-bg-transparent tw-border-none tw-no-underline", {
33
33
  "tw-cursor-pointer": e.hasHeadingLink
34
34
  }])
35
35
  }, {
36
36
  default: o(() => [
37
- m(f(n.heading), 1)
37
+ m(_(t.heading), 1)
38
38
  ]),
39
39
  _: 1
40
40
  }, 8, ["to", "href", "class"]))
41
- ], 2)) : x("", !0),
41
+ ], 2)) : u("", !0),
42
42
  r("button", {
43
43
  class: "kv-secondary-nav__toggle tw-flex md:tw-hidden tw-text-primary tw-bg-transparent tw-border-none tw-cursor-pointer",
44
- onClick: w[0] || (w[0] = (...t) => e.toggleSubNavigation && e.toggleSubNavigation(...t))
44
+ onClick: w[0] || (w[0] = (...n) => e.toggleSubNavigation && e.toggleSubNavigation(...n))
45
45
  }, [
46
- s(_, {
46
+ s(g, {
47
47
  icon: e.subNavigationOpen ? e.mdiChevronUp : e.mdiChevronDown
48
48
  }, null, 8, ["icon"])
49
49
  ]),
@@ -52,21 +52,21 @@ function N(p, w, n, e, E, A) {
52
52
  class: a(["kv-secondary-nav__links-container tw-pt-1 md:tw-pt-0 md:tw-block tw-w-full md:tw-w-auto", { "tw-hidden": !e.subNavigationOpen }])
53
53
  }, [
54
54
  r("ul", L, [
55
- (i(!0), c(y, null, b(n.links, (t, k) => (i(), c("li", {
56
- key: k,
55
+ (i(!0), c(y, null, b(t.links, (n, f) => (i(), c("li", {
56
+ key: f,
57
57
  class: "kv-secondary-nav__link-item tw-w-full md:tw-w-auto"
58
58
  }, [
59
- (i(), l(v(t.isExternal ? "a" : "router-link"), {
60
- to: t.isExternal ? void 0 : t.href,
61
- href: t.isExternal ? t.href : void 0,
59
+ (i(), d(v(n.isExternal ? "a" : "router-link"), {
60
+ to: n.isExternal ? void 0 : n.href,
61
+ href: n.isExternal ? n.href : void 0,
62
62
  class: a([{
63
- "tw-underline": t.isActive,
64
- "tw-no-underline": !t.isActive
63
+ "tw-underline": n.isActive,
64
+ "tw-no-underline": !n.isActive
65
65
  }, "kv-secondary-nav__link tw-py-2 md:tw-py-n tw-text-primary tw-font-medium hover:tw-underline hover:tw-text-primary tw-cursor-pointer"]),
66
- onClick: (S) => e.handleLinkClick(t)
66
+ onClick: (S) => e.handleLinkClick(n)
67
67
  }, {
68
68
  default: o(() => [
69
- m(f(t.text), 1)
69
+ m(_(n.text), 1)
70
70
  ]),
71
71
  _: 2
72
72
  }, 1032, ["to", "href", "class", "onClick"]))
@@ -83,7 +83,7 @@ function N(p, w, n, e, E, A) {
83
83
  _: 1
84
84
  }, 8, ["theme"]);
85
85
  }
86
- const z = /* @__PURE__ */ C(u, [["render", N], ["__scopeId", "data-v-20d1590d"]]);
86
+ const z = /* @__PURE__ */ C(x, [["render", N], ["__scopeId", "data-v-20d1590d"]]);
87
87
  export {
88
88
  z as default
89
89
  };
@@ -1,6 +1,6 @@
1
1
  import { toRefs as f, ref as g, computed as n } from "vue";
2
- import { defaultTheme as b, greenDarkTheme as u, greenLightTheme as p, marigoldLightTheme as v, stoneLightTheme as w } from "@kiva/kv-tokens";
3
- import { mdiChevronUp as k, mdiChevronDown as C } from "@mdi/js";
2
+ import { stoneLightTheme as b, marigoldLightTheme as p, greenDarkTheme as u, greenLightTheme as v, defaultTheme as w } from "@kiva/kv-tokens";
3
+ import { mdiChevronDown as k, mdiChevronUp as C } from "@mdi/js";
4
4
  import L from "./KvThemeProvider.js";
5
5
  import j from "./KvMaterialIcon.js";
6
6
  import O from "./KvPageContainer.js";
@@ -64,12 +64,12 @@ const _ = {
64
64
  linkAlignment: a,
65
65
  theme: s
66
66
  } = f(e), d = g(null), i = g(!1), m = n(() => e.headingLink && e.headingLink.href), h = n(() => a.value === "right" ? l.value && l.value.length > 0 ? "tw-justify-between" : "tw-justify-between md:tw-justify-end" : a.value === "left" ? "tw-justify-between md:tw-justify-start" : a.value === "center" ? "tw-justify-between md:tw-justify-center" : ""), o = {
67
- default: { style: b, bgClass: "tw-bg-secondary" },
67
+ default: { style: w, bgClass: "tw-bg-secondary" },
68
68
  dark: { style: u, bgClass: "tw-bg-primary" },
69
- greenLight: { style: p, bgClass: "tw-bg-secondary" },
69
+ greenLight: { style: v, bgClass: "tw-bg-secondary" },
70
70
  greenDark: { style: u, bgClass: "tw-bg-primary" },
71
- marigoldLight: { style: v, bgClass: "tw-bg-secondary" },
72
- stoneLight: { style: w, bgClass: "tw-bg-secondary" }
71
+ marigoldLight: { style: p, bgClass: "tw-bg-secondary" },
72
+ stoneLight: { style: b, bgClass: "tw-bg-secondary" }
73
73
  }, c = n(() => {
74
74
  var t;
75
75
  return (t = o[s.value]) == null ? void 0 : t.style;
@@ -84,8 +84,8 @@ const _ = {
84
84
  i.value = !i.value;
85
85
  },
86
86
  subNavigationOpen: i,
87
- mdiChevronUp: k,
88
- mdiChevronDown: C,
87
+ mdiChevronUp: C,
88
+ mdiChevronDown: k,
89
89
  subNavigation: d,
90
90
  themeStyle: c,
91
91
  bgClass: y,
@@ -1,33 +1,33 @@
1
1
  import s from "./KvSelect2.js";
2
- import { resolveComponent as d, openBlock as c, createElementBlock as w, normalizeClass as i, normalizeStyle as m, createElementVNode as l, withDirectives as f, mergeProps as p, renderSlot as u, vModelSelect as _, createVNode as b } from "vue";
2
+ import { resolveComponent as d, openBlock as c, createElementBlock as w, normalizeStyle as m, normalizeClass as i, createElementVNode as l, withDirectives as f, mergeProps as p, renderSlot as u, vModelSelect as _, createVNode as v } from "vue";
3
3
  import "./KvSelect.css";
4
- import v from "../_virtual/_plugin-vue_export-helper.js";
4
+ import b from "../_virtual/_plugin-vue_export-helper.js";
5
5
  const g = { class: "container" }, y = ["id", "disabled"];
6
- function h(r, t, o, e, C, x) {
6
+ function h(r, e, o, t, C, x) {
7
7
  const a = d("kv-material-icon");
8
8
  return c(), w("div", {
9
- class: i(["tw-inline-flex", e.classes]),
10
- style: m(e.styles)
9
+ class: i(["tw-inline-flex", t.classes]),
10
+ style: m(t.styles)
11
11
  }, [
12
12
  l("div", g, [
13
- f(l("select", p({ id: o.id }, e.inputAttrs, {
14
- "onUpdate:modelValue": t[0] || (t[0] = (n) => e.inputValue = n),
13
+ f(l("select", p({ id: o.id }, t.inputAttrs, {
14
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => t.inputValue = n),
15
15
  disabled: o.disabled,
16
16
  class: ["tw-text-base !tw-font-medium tw-bg-primary tw-h-6 tw-pr-4 tw-pl-2 tw-border tw-border-tertiary tw-appearance-none tw-w-full tw-ring-inset focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-action focus:tw-border-transparent tw-text-ellipsis", { "tw-opacity-low": o.disabled }],
17
- onChange: t[1] || (t[1] = (...n) => e.onChange && e.onChange(...n))
17
+ onChange: e[1] || (e[1] = (...n) => t.onChange && t.onChange(...n))
18
18
  }), [
19
19
  u(r.$slots, "default", {}, void 0, !0)
20
20
  ], 16, y), [
21
- [_, e.inputValue]
21
+ [_, t.inputValue]
22
22
  ]),
23
- b(a, {
24
- icon: e.mdiChevronDown,
23
+ v(a, {
24
+ icon: t.mdiChevronDown,
25
25
  class: i(["tw-w-4 tw-absolute tw-right-0 tw-pr-1 tw-pointer-events-none", { "tw-opacity-low": o.disabled }])
26
26
  }, null, 8, ["icon", "class"])
27
27
  ])
28
28
  ], 6);
29
29
  }
30
- const B = /* @__PURE__ */ v(s, [["render", h], ["__scopeId", "data-v-1ea8f2ca"]]);
30
+ const B = /* @__PURE__ */ b(s, [["render", h], ["__scopeId", "data-v-1ea8f2ca"]]);
31
31
  export {
32
32
  B as default
33
33
  };
@@ -1,5 +1,5 @@
1
1
  import y from "./KvSideSheet2.js";
2
- import { resolveComponent as m, openBlock as n, createElementBlock as w, normalizeClass as a, withModifiers as g, createElementVNode as o, normalizeStyle as d, createVNode as f, createCommentVNode as r, toDisplayString as S, renderSlot as h } from "vue";
2
+ import { resolveComponent as m, openBlock as n, createElementBlock as w, withModifiers as g, normalizeClass as a, createElementVNode as o, normalizeStyle as d, createVNode as f, createCommentVNode as r, toDisplayString as S, renderSlot as h } from "vue";
3
3
  import b from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const k = { class: "tw-flex tw-gap-1.5" }, v = {
5
5
  key: 1,
@@ -1,5 +1,5 @@
1
1
  import { toRefs as D, ref as o, reactive as _, computed as E, watch as h, onMounted as G, onBeforeUnmount as N, onUnmounted as q, nextTick as J } from "vue";
2
- import { mdiArrowLeft as P, mdiClose as Q, mdiOpenInNew as V } from "@mdi/js";
2
+ import { mdiOpenInNew as P, mdiClose as Q, mdiArrowLeft as V } from "@mdi/js";
3
3
  import X from "./KvMaterialIcon.js";
4
4
  const te = {
5
5
  name: "KvSideSheet",
@@ -210,9 +210,9 @@ const te = {
210
210
  sideSheetRef: k,
211
211
  sideSheetStyles: F,
212
212
  goToLink: A,
213
- mdiArrowLeft: P,
213
+ mdiArrowLeft: V,
214
214
  mdiClose: Q,
215
- mdiOpenInNew: V,
215
+ mdiOpenInNew: P,
216
216
  modalStyles: n,
217
217
  open: s,
218
218
  loadingContentMinHeight: R
@@ -1 +1 @@
1
- .kv-simple-map__pan-layer[data-v-0abc47d3]{transform-origin:0 0}.kv-simple-map__control-btn[data-v-0abc47d3]{display:flex;height:2rem;width:2rem;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;border-width:.0625rem;--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 1px 4px 0 rgb(0 0 0 / .08);--tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.kv-simple-map__control-btn[data-v-0abc47d3]:disabled{cursor:default;opacity:.3}.kv-simple-map__control-btn[data-v-0abc47d3]:hover:not(:disabled){--tw-bg-opacity: 1;background-color:rgba(var(--bg-secondary),var(--tw-bg-opacity, 1))}.kv-simple-map__play-btn[data-v-0abc47d3]{border-radius:500rem}.kv-simple-map__default-popup[data-v-0abc47d3]{white-space:nowrap;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem 1.5rem;text-align:center;--tw-shadow: 0 1px 4px 0 rgb(0 0 0 / .08);--tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);min-width:80px}.kv-simple-map__popup[data-v-0abc47d3]{height:0;width:0}.kv-simple-map__popup-content[data-v-0abc47d3]{position:absolute;white-space:nowrap}.kv-simple-map__popup--top>.kv-simple-map__popup-content[data-v-0abc47d3]{bottom:var(--kv-simple-map-popup-offset, 4px);left:0;transform:translate(-50%)}.kv-simple-map__popup--bottom>.kv-simple-map__popup-content[data-v-0abc47d3]{top:var(--kv-simple-map-popup-offset, 4px);left:0;transform:translate(-50%)}.kv-simple-map__popup--bottom-right>.kv-simple-map__popup-content[data-v-0abc47d3]{top:var(--kv-simple-map-popup-offset, 4px);left:var(--kv-simple-map-popup-offset, 4px)}.kv-simple-map-popup-enter-active[data-v-0abc47d3],.kv-simple-map-popup-leave-active[data-v-0abc47d3]{transition:opacity .18s ease-out}.kv-simple-map-popup-enter-from[data-v-0abc47d3],.kv-simple-map-popup-leave-to[data-v-0abc47d3]{opacity:0}.kv-simple-map-popup-enter-to[data-v-0abc47d3],.kv-simple-map-popup-leave-from[data-v-0abc47d3]{opacity:1}
1
+ .kv-simple-map__pan-layer[data-v-8c42534e]{transform-origin:0 0}.kv-simple-map__control-btn[data-v-8c42534e]{display:flex;height:2rem;width:2rem;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;border-width:.0625rem;--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow: 0 1px 4px 0 rgb(0 0 0 / .08);--tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.kv-simple-map__control-btn[data-v-8c42534e]:disabled{cursor:default;opacity:.3}.kv-simple-map__control-btn[data-v-8c42534e]:hover:not(:disabled){--tw-bg-opacity: 1;background-color:rgba(var(--bg-secondary),var(--tw-bg-opacity, 1))}.kv-simple-map__play-btn[data-v-8c42534e]{border-radius:500rem}.kv-simple-map__default-popup[data-v-8c42534e]{white-space:nowrap;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:.5rem 1.5rem;text-align:center;--tw-shadow: 0 1px 4px 0 rgb(0 0 0 / .08);--tw-shadow-colored: 0 1px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);min-width:80px}.kv-simple-map__popup[data-v-8c42534e]{height:0;width:0}.kv-simple-map__popup-content[data-v-8c42534e]{position:absolute;white-space:nowrap}.kv-simple-map__popup--top>.kv-simple-map__popup-content[data-v-8c42534e]{bottom:var(--kv-simple-map-popup-offset, 4px);left:0;transform:translate(-50%)}.kv-simple-map__popup--bottom>.kv-simple-map__popup-content[data-v-8c42534e]{top:var(--kv-simple-map-popup-offset, 4px);left:0;transform:translate(-50%)}.kv-simple-map__popup--bottom-right>.kv-simple-map__popup-content[data-v-8c42534e]{top:var(--kv-simple-map-popup-offset, 4px);left:var(--kv-simple-map-popup-offset, 4px)}.kv-simple-map-popup-enter-active[data-v-8c42534e],.kv-simple-map-popup-leave-active[data-v-8c42534e]{transition:opacity .18s ease-out}.kv-simple-map-popup-enter-from[data-v-8c42534e],.kv-simple-map-popup-leave-to[data-v-8c42534e]{opacity:0}.kv-simple-map-popup-enter-to[data-v-8c42534e],.kv-simple-map-popup-leave-from[data-v-8c42534e]{opacity:1}
@@ -1,7 +1,7 @@
1
1
  import o from "./KvSimpleMap2.js";
2
2
  import "./KvSimpleMap.css";
3
3
  import p from "../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ p(o, [["__scopeId", "data-v-0abc47d3"]]);
4
+ const a = /* @__PURE__ */ p(o, [["__scopeId", "data-v-8c42534e"]]);
5
5
  export {
6
- r as default
6
+ a as default
7
7
  };
@@ -34,6 +34,7 @@ const it = ["viewBox"], rt = ["d", "fill", "onPointerenter", "onPointerleave"],
34
34
  */
35
35
  aspectRatio: {
36
36
  type: Number,
37
+ // eslint-disable-next-line vue/valid-define-props -- SVG_W/SVG_H are plain numeric consts; verified the compiled output inlines them correctly
37
38
  default: R / D
38
39
  },
39
40
  /**
@@ -1,5 +1,5 @@
1
1
  import s from "./KvSwitch2.js";
2
- import { openBlock as w, createElementBlock as a, normalizeClass as r, normalizeStyle as d, createElementVNode as i, mergeProps as c, toHandlers as f, withModifiers as u, renderSlot as h } from "vue";
2
+ import { openBlock as w, createElementBlock as a, normalizeStyle as d, normalizeClass as r, createElementVNode as i, mergeProps as c, toHandlers as f, withModifiers as u, renderSlot as h } from "vue";
3
3
  import m from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const b = ["for"], v = ["id", "checked", "disabled"], p = { class: "tw-flex-1 peer-focus-visible:tw-ring-2 peer-focus-visible:tw-ring-action" };
5
5
  function g(o, t, l, e, k, x) {
@@ -22,12 +22,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
22
22
  transform: string;
23
23
  };
24
24
  tabContext: TabContext;
25
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
25
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "tab-changed"[], "tab-changed", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
26
26
  vertical: {
27
27
  type: BooleanConstructor;
28
28
  default: boolean;
29
29
  };
30
- }>> & Readonly<{}>, {
30
+ }>> & Readonly<{
31
+ "onTab-changed"?: (...args: any[]) => any;
32
+ }>, {
31
33
  vertical: boolean;
32
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
35
  export default _default;
@@ -6,48 +6,51 @@ const E = {
6
6
  default: !1
7
7
  }
8
8
  },
9
- setup(p, { emit: b }) {
9
+ emits: [
10
+ "tab-changed"
11
+ ],
12
+ setup(b, { emit: m }) {
10
13
  const t = h({
11
14
  selectedIndex: 0,
12
15
  setTab: null,
13
16
  navItems: []
14
- }), i = x(null), r = I(() => {
15
- var l;
17
+ }), l = x(null), r = I(() => {
18
+ var i;
16
19
  const { navItems: e, selectedIndex: o } = t;
17
- return ((l = e[o]) == null ? void 0 : l.$el) ?? null;
20
+ return ((i = e[o]) == null ? void 0 : i.$el) ?? null;
18
21
  }), n = h({
19
22
  width: 3,
20
23
  height: "0.25rem",
21
24
  transform: ""
22
25
  }), c = () => {
23
26
  const e = r.value;
24
- e && (p.vertical ? (n.width = 3, n.height = `${e.clientHeight}px`, n.transform = `translateY(${e.offsetTop}px)`) : (n.width = e.clientWidth, n.height = "0.25rem", n.transform = `translateX(${e.offsetLeft}px)`));
27
+ e && (b.vertical ? (n.width = 3, n.height = `${e.clientHeight}px`, n.transform = `translateY(${e.offsetTop}px)`) : (n.width = e.clientWidth, n.height = "0.25rem", n.transform = `translateX(${e.offsetLeft}px)`));
25
28
  }, s = (e) => {
26
- t.selectedIndex = e, r.value.scrollIntoView({ behavior: "smooth", block: "nearest" }), b("tab-changed", e);
29
+ t.selectedIndex = e, r.value.scrollIntoView({ behavior: "smooth", block: "nearest" }), m("tab-changed", e);
27
30
  };
28
31
  t.setTab = s, T("$KvTabContext", t);
29
- const m = (e) => {
30
- const { navItems: o, selectedIndex: l } = t, d = () => {
32
+ const p = (e) => {
33
+ const { navItems: o, selectedIndex: i } = t, d = () => {
31
34
  var v;
32
35
  const a = o.find((w) => w.isActive);
33
36
  a && ((v = a.$el) == null || v.focus());
34
37
  }, f = o.length;
35
38
  if (e.key === "ArrowRight") {
36
39
  e.preventDefault();
37
- const a = (l + 1) % f;
40
+ const a = (i + 1) % f;
38
41
  s(a), d();
39
42
  }
40
43
  if (e.key === "ArrowLeft") {
41
44
  e.preventDefault();
42
- const a = (l - 1 + f) % f;
45
+ const a = (i - 1 + f) % f;
43
46
  s(a), d();
44
47
  }
45
48
  e.key === "Home" && (e.preventDefault(), s(0), d()), e.key === "End" && (e.preventDefault(), s(f - 1), d());
46
49
  }, u = () => {
47
50
  var e;
48
- (e = i.value) == null || e.disconnect(), r.value && (i.value = new ResizeObserver(() => {
51
+ (e = l.value) == null || e.disconnect(), r.value && (l.value = new ResizeObserver(() => {
49
52
  c();
50
- }), i.value.observe(r.value));
53
+ }), l.value.observe(r.value));
51
54
  };
52
55
  return g(r, () => {
53
56
  u(), y(c);
@@ -57,9 +60,9 @@ const E = {
57
60
  }), c(), u(), window.addEventListener("resize", c);
58
61
  }), $(() => {
59
62
  var e;
60
- (e = i.value) == null || e.disconnect(), window.removeEventListener("resize", c);
63
+ (e = l.value) == null || e.disconnect(), window.removeEventListener("resize", c);
61
64
  }), {
62
- handleKeyDown: m,
65
+ handleKeyDown: p,
63
66
  indicatorStyle: n,
64
67
  tabContext: t
65
68
  };
@@ -1,5 +1,5 @@
1
1
  import u from "./KvTextInput2.js";
2
- import { resolveComponent as m, openBlock as l, createElementBlock as w, normalizeClass as c, normalizeStyle as f, createElementVNode as i, mergeProps as g, toHandlers as v, createBlock as s, createCommentVNode as a, withDirectives as b, createVNode as h, vShow as y, renderSlot as x } from "vue";
2
+ import { resolveComponent as m, openBlock as l, createElementBlock as w, normalizeStyle as f, normalizeClass as c, createElementVNode as i, mergeProps as g, toHandlers as v, createBlock as s, createCommentVNode as a, withDirectives as b, createVNode as h, vShow as y, renderSlot as x } from "vue";
3
3
  import "./KvTextInput.css";
4
4
  import _ from "../_virtual/_plugin-vue_export-helper.js";
5
5
  const k = ["id", "type", "placeholder", "disabled", "value"], I = {
@@ -1,5 +1,5 @@
1
1
  import { toRefs as m, ref as o } from "vue";
2
- import { mdiAlertCircleOutline as f, mdiClose as y } from "@mdi/js";
2
+ import { mdiClose as f, mdiAlertCircleOutline as y } from "@mdi/js";
3
3
  import { useAttrs as v } from "../utils/attrs.js";
4
4
  import g from "./KvMaterialIcon.js";
5
5
  const n = [
@@ -98,8 +98,8 @@ const n = [
98
98
  inputListeners: c
99
99
  } = v(a, n);
100
100
  return {
101
- mdiAlertCircleOutline: f,
102
- mdiClose: y,
101
+ mdiAlertCircleOutline: y,
102
+ mdiClose: f,
103
103
  onInput: (u) => {
104
104
  l.value = u.target.value, e("input", u.target.value), e("update:modelValue", u.target.value);
105
105
  },
@@ -1 +1 @@
1
- .tw-text-jumbo u,.tw-text-h1 u,.tw-text-h2 u,.tw-text-h3 u,h1 u,h2 u,h3 u{text-decoration:none;-webkit-box-decoration-break:clone;box-decoration-break:clone;background-image:var(--heading-underline-primary);background-repeat:no-repeat;background-position:left bottom}.tw-text-jumbo u,.tw-text-h1 u,h1 u{background-size:100% .75rem;padding-bottom:.375rem}.tw-text-h2 u,h2 u{background-size:100% .375rem;padding-bottom:.125rem}.tw-text-h3 u,h3 u{background-size:100% .375rem;padding-bottom:.2rem}@media (min-width: 64rem){.tw-text-jumbo u{background-size:100% 1rem;padding-bottom:.375rem}}
1
+ .tw-text-jumbo u,.tw-text-h1 u,.tw-text-h2 u,.tw-text-h3 u,h1 u,h2 u,h3 u{text-decoration:none;-webkit-box-decoration-break:clone;box-decoration-break:clone;background-image:var(--heading-underline-primary);background-repeat:no-repeat;background-position:left bottom}.tw-text-jumbo u,.tw-text-h1 u,h1 u{background-size:100% .75rem;padding-bottom:.375rem}.tw-text-h2 u,h2 u{background-size:100% .375rem;padding-bottom:.125rem}.tw-text-h3 u,h3 u{background-size:100% .375rem;padding-bottom:.2rem}@media(min-width:64rem){.tw-text-jumbo u{background-size:100% 1rem;padding-bottom:.375rem}}
@@ -1 +1 @@
1
- .tooltip-pane[data-v-7ec95952],.tooltip-arrow[data-v-7ec95952]{box-shadow:0 4px 12px #00000014}.tooltip-arrow[data-v-7ec95952]{margin:.5rem;border-color:rgba(var(--bg-primary),var(--tw-bg-opacity, 1))}.tooltip-pane[x-placement^=top][data-v-7ec95952]{margin-bottom:.5rem}.tooltip-pane[x-placement^=top] .tooltip-arrow[data-v-7ec95952]{border-width:8px 8px 0 8px;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;left:calc(50% - 8px);bottom:-.5rem;margin-top:0;margin-bottom:0}.tooltip-pane[x-placement^=bottom][data-v-7ec95952]{margin-top:.5rem}.tooltip-pane[x-placement^=bottom] .tooltip-arrow[data-v-7ec95952]{border-width:0 8px 8px 8px;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;left:calc(50% - 8px);top:-.5rem;margin-bottom:0;margin-top:0}.tooltip-pane[x-placement^=right][data-v-7ec95952]{margin-left:.5rem}.tooltip-pane[x-placement^=right] .tooltip-arrow[data-v-7ec95952]{border-width:8px 8px 8px 0;border-left-color:transparent;border-top-color:transparent;border-bottom-color:transparent;top:calc(50% - 8px);left:-.5rem;margin-left:0;margin-right:0}.tooltip-pane[x-placement^=left][data-v-7ec95952]{margin-right:.5rem}.tooltip-pane[x-placement^=left] .tooltip-arrow[data-v-7ec95952]{border-width:8px 0 8px 8px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;top:calc(50% - 8px);right:-.5rem;margin-left:0;margin-right:0}
1
+ .tooltip-pane[data-v-5fd76cc8],.tooltip-arrow[data-v-5fd76cc8]{box-shadow:0 4px 12px #00000014}.tooltip-arrow[data-v-5fd76cc8]{margin:.5rem;border-color:rgba(var(--bg-primary),var(--tw-bg-opacity, 1))}.tooltip-pane[x-placement^=top][data-v-5fd76cc8]{margin-bottom:.5rem}.tooltip-pane[x-placement^=top] .tooltip-arrow[data-v-5fd76cc8]{border-width:8px 8px 0 8px;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;left:calc(50% - 8px);bottom:-.5rem;margin-top:0;margin-bottom:0}.tooltip-pane[x-placement^=bottom][data-v-5fd76cc8]{margin-top:.5rem}.tooltip-pane[x-placement^=bottom] .tooltip-arrow[data-v-5fd76cc8]{border-width:0 8px 8px 8px;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;left:calc(50% - 8px);top:-.5rem;margin-bottom:0;margin-top:0}.tooltip-pane[x-placement^=right][data-v-5fd76cc8]{margin-left:.5rem}.tooltip-pane[x-placement^=right] .tooltip-arrow[data-v-5fd76cc8]{border-width:8px 8px 8px 0;border-left-color:transparent;border-top-color:transparent;border-bottom-color:transparent;top:calc(50% - 8px);left:-.5rem;margin-left:0;margin-right:0}.tooltip-pane[x-placement^=left][data-v-5fd76cc8]{margin-right:.5rem}.tooltip-pane[x-placement^=left] .tooltip-arrow[data-v-5fd76cc8]{border-width:8px 0 8px 8px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;top:calc(50% - 8px);right:-.5rem;margin-left:0;margin-right:0}
@@ -1,5 +1,5 @@
1
- import f from "./KvTooltip2.js";
2
- import { resolveComponent as l, openBlock as p, createBlock as c, withCtx as n, createVNode as v, createElementVNode as i, normalizeStyle as w, createElementBlock as u, renderSlot as d, createCommentVNode as _ } from "vue";
1
+ import c from "./KvTooltip2.js";
2
+ import { resolveComponent as l, openBlock as p, createBlock as v, withCtx as n, createVNode as f, createElementVNode as i, normalizeStyle as w, createElementBlock as _, renderSlot as d, createCommentVNode as u } from "vue";
3
3
  import "./KvTooltip.css";
4
4
  import k from "../_virtual/_plugin-vue_export-helper.js";
5
5
  const y = {
@@ -8,12 +8,12 @@ const y = {
8
8
  }, h = { class: "tw-text-primary" };
9
9
  function b(o, e, r, t, x, V) {
10
10
  const s = l("kv-popper"), a = l("kv-theme-provider");
11
- return p(), c(a, {
11
+ return p(), v(a, {
12
12
  theme: t.themeStyle,
13
13
  class: "kv-tailwind"
14
14
  }, {
15
15
  default: n(() => [
16
- v(s, {
16
+ f(s, {
17
17
  ref: "popperRef",
18
18
  controller: r.controller,
19
19
  "popper-modifiers": t.popperModifiers,
@@ -28,9 +28,9 @@ function b(o, e, r, t, x, V) {
28
28
  class: "tw-p-2.5",
29
29
  style: w({ maxWidth: r.maxWidth })
30
30
  }, [
31
- o.$slots.title ? (p(), u("div", y, [
31
+ o.$slots.title ? (p(), _("div", y, [
32
32
  d(o.$slots, "title", {}, void 0, !0)
33
- ])) : _("", !0),
33
+ ])) : u("", !0),
34
34
  i("div", h, [
35
35
  d(o.$slots, "default", {}, void 0, !0)
36
36
  ])
@@ -46,7 +46,7 @@ function b(o, e, r, t, x, V) {
46
46
  _: 3
47
47
  }, 8, ["theme"]);
48
48
  }
49
- const N = /* @__PURE__ */ k(f, [["render", b], ["__scopeId", "data-v-7ec95952"]]);
49
+ const N = /* @__PURE__ */ k(c, [["render", b], ["__scopeId", "data-v-5fd76cc8"]]);
50
50
  export {
51
51
  N as default
52
52
  };
@@ -1,12 +1,12 @@
1
1
  import { toRefs as S, computed as i, ref as b, watch as M } from "vue";
2
- import { defaultTheme as l, greenLightTheme as a, greenDarkTheme as m, marigoldLightTheme as p, stoneLightTheme as f, stoneDarkTheme as d, mintTheme as s, darkTheme as u } from "@kiva/kv-tokens";
3
- import E from "./KvPopper.js";
4
- import D from "./KvThemeProvider.js";
2
+ import { darkTheme as l, mintTheme as a, stoneDarkTheme as m, stoneLightTheme as p, marigoldLightTheme as f, greenDarkTheme as s, greenLightTheme as u, defaultTheme as d } from "@kiva/kv-tokens";
3
+ import D from "./KvPopper.js";
4
+ import E from "./KvThemeProvider.js";
5
5
  const H = {
6
6
  name: "KvTooltip",
7
7
  components: {
8
- KvPopper: E,
9
- KvThemeProvider: D
8
+ KvPopper: D,
9
+ KvThemeProvider: E
10
10
  },
11
11
  props: {
12
12
  controller: {
@@ -49,7 +49,7 @@ const H = {
49
49
  }
50
50
  }
51
51
  },
52
- defineEmits: ["tool-tip-visible"],
52
+ emits: ["tool-tip-visible"],
53
53
  setup(e, { emit: c }) {
54
54
  const {
55
55
  modifiers: r,
@@ -70,26 +70,26 @@ const H = {
70
70
  n.dispatchEvent(new MouseEvent(k, { bubbles: !0 }));
71
71
  }
72
72
  }, w = i(() => ({
73
- default: l,
74
- ecoGreenLight: a,
75
- ecoGreenDark: m,
76
- ecoLightMarigold: p,
77
- ecoStoneLight: f,
78
- ecoStoneDark: d,
79
- mint: s,
80
- dark: u
73
+ default: d,
74
+ ecoGreenLight: u,
75
+ ecoGreenDark: s,
76
+ ecoLightMarigold: f,
77
+ ecoStoneLight: p,
78
+ ecoStoneDark: m,
79
+ mint: a,
80
+ dark: l
81
81
  })[g.value]);
82
82
  return M(h, (t) => {
83
83
  o(!!t);
84
84
  }), {
85
- defaultTheme: l,
86
- greenLightTheme: a,
87
- greenDarkTheme: m,
88
- marigoldLightTheme: p,
89
- stoneLightTheme: f,
90
- stoneDarkTheme: d,
91
- mintTheme: s,
92
- darkTheme: u,
85
+ defaultTheme: d,
86
+ greenLightTheme: u,
87
+ greenDarkTheme: s,
88
+ marigoldLightTheme: f,
89
+ stoneLightTheme: p,
90
+ stoneDarkTheme: m,
91
+ mintTheme: a,
92
+ darkTheme: l,
93
93
  handleKvPopperVisibility: L,
94
94
  popperModifiers: v,
95
95
  popperRef: T,
@@ -1 +1 @@
1
- .treemap-figure[data-v-ec4ea02f]{height:30rem;width:calc(100% + .25rem);margin-right:-.25rem}@media (min-width: 45.875rem){.treemap-figure[data-v-ec4ea02f]{height:20rem}}
1
+ .treemap-figure[data-v-ec4ea02f]{height:30rem;width:calc(100% + .25rem);margin-right:-.25rem}@media(min-width:45.875rem){.treemap-figure[data-v-ec4ea02f]{height:20rem}}
@@ -1,4 +1,4 @@
1
- import { mdiPause as x, mdiPlay as I, mdiChevronDown as v, mdiChevronUp as O } from "@mdi/js";
1
+ import { mdiChevronUp as x, mdiChevronDown as I, mdiPlay as v, mdiPause as O } from "@mdi/js";
2
2
  import { toRefs as S, computed as A } from "vue";
3
3
  import { carouselUtil as j } from "../utils/carousels.js";
4
4
  import C from "./KvMaterialIcon.js";
@@ -83,10 +83,10 @@ const _ = {
83
83
  handleUserInteraction: s,
84
84
  isAriaHidden: u,
85
85
  isAutoplaying: d,
86
- mdiPause: x,
87
- mdiPlay: I,
88
- mdiChevronDown: v,
89
- mdiChevronUp: O,
86
+ mdiPause: O,
87
+ mdiPlay: v,
88
+ mdiChevronDown: I,
89
+ mdiChevronUp: x,
90
90
  nextIndex: p,
91
91
  previousIndex: c,
92
92
  reInit: m,
@@ -1 +1 @@
1
- .kv-voting-card[data-v-482992ab]{max-width:300px}
1
+ .kv-voting-card[data-v-2079a7ca]{max-width:300px}
@@ -1,5 +1,5 @@
1
1
  import u from "./KvVotingCard2.js";
2
- import { resolveComponent as s, openBlock as o, createElementBlock as w, createElementVNode as t, renderSlot as v, toDisplayString as c, createBlock as i, createCommentVNode as n, withCtx as x, createTextVNode as g } from "vue";
2
+ import { resolveComponent as s, openBlock as o, createElementBlock as r, createElementVNode as t, renderSlot as v, toDisplayString as c, createBlock as a, createCommentVNode as n, withCtx as x, createTextVNode as g } from "vue";
3
3
  import "./KvVotingCard.css";
4
4
  import h from "../_virtual/_plugin-vue_export-helper.js";
5
5
  const k = { class: "kv-voting-card tw-bg-white tw-rounded tw-shadow tw-p-1 tw-flex tw-flex-col tw-max-w-300" }, b = { class: "tw-relative tw-flex tw-w-full tw-bg-black tw-rounded tw-mb-1" }, p = {
@@ -9,11 +9,11 @@ const k = { class: "kv-voting-card tw-bg-white tw-rounded tw-shadow tw-p-1 tw-fl
9
9
  key: 1,
10
10
  class: "tw-ml-2 tw-font-medium"
11
11
  };
12
- function P(a, l, e, d, z, r) {
12
+ function P(w, l, e, d, z, i) {
13
13
  const _ = s("kv-material-icon"), m = s("kv-progress-bar"), f = s("kv-button");
14
- return o(), w("div", k, [
14
+ return o(), r("div", k, [
15
15
  t("div", b, [
16
- v(a.$slots, "image", {}, void 0, !0),
16
+ v(w.$slots, "image", {}, void 0, !0),
17
17
  t("div", p, [
18
18
  l[0] || (l[0] = t("span", {
19
19
  class: "tw-inline-flex tw-align-text-top",
@@ -39,27 +39,27 @@ function P(a, l, e, d, z, r) {
39
39
  t("h3", V, c(e.category), 1)
40
40
  ]),
41
41
  t("div", B, [
42
- e.showInfoIcon ? (o(), i(_, {
42
+ e.showInfoIcon ? (o(), a(_, {
43
43
  key: 0,
44
44
  icon: d.infoIcon,
45
45
  class: "tw-h-3 tw-w-3",
46
- onClick: r.handleInfoClick
46
+ onClick: i.handleInfoClick
47
47
  }, null, 8, ["icon", "onClick"])) : n("", !0)
48
48
  ])
49
49
  ]),
50
50
  t("div", I, [
51
- e.showPercentage ? (o(), i(m, {
51
+ e.showPercentage ? (o(), a(m, {
52
52
  key: 0,
53
53
  class: "tw-flex-grow",
54
54
  label: "Percent of votes for " + e.category,
55
55
  value: e.percentage
56
56
  }, null, 8, ["label", "value"])) : n("", !0),
57
- e.showPercentage ? (o(), w("div", N, c(e.percentage) + "% ", 1)) : n("", !0)
57
+ e.showPercentage ? (o(), r("div", N, c(e.percentage) + "% ", 1)) : n("", !0)
58
58
  ]),
59
- e.showVoteButton ? (o(), i(f, {
59
+ e.showVoteButton ? (o(), a(f, {
60
60
  key: 0,
61
61
  class: "tw-w-full",
62
- onClick: r.castVote
62
+ onClick: i.castVote
63
63
  }, {
64
64
  default: x(() => l[1] || (l[1] = [
65
65
  g(" Vote ")
@@ -68,7 +68,7 @@ function P(a, l, e, d, z, r) {
68
68
  }, 8, ["onClick"])) : n("", !0)
69
69
  ]);
70
70
  }
71
- const T = /* @__PURE__ */ h(u, [["render", P], ["__scopeId", "data-v-482992ab"]]);
71
+ const T = /* @__PURE__ */ h(u, [["render", P], ["__scopeId", "data-v-2079a7ca"]]);
72
72
  export {
73
73
  T as default
74
74
  };
@@ -32,7 +32,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
32
32
  }, {}, {}, {
33
33
  castVote(): void;
34
34
  handleInfoClick(): void;
35
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
35
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("vote" | "info-click")[], "vote" | "info-click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
36
36
  borrowerName: {
37
37
  type: StringConstructor;
38
38
  default: string;
@@ -61,7 +61,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
61
61
  type: BooleanConstructor;
62
62
  default: boolean;
63
63
  };
64
- }>> & Readonly<{}>, {
64
+ }>> & Readonly<{
65
+ onVote?: (...args: any[]) => any;
66
+ "onInfo-click"?: (...args: any[]) => any;
67
+ }>, {
65
68
  images: unknown[];
66
69
  borrowerName: string;
67
70
  category: string;