@kiva/kv-components 8.19.1 → 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 (99) 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.css +1 -1
  60. package/dist/vue/KvSecondaryNav.js +26 -26
  61. package/dist/vue/KvSecondaryNav.vue.d.ts +2 -1
  62. package/dist/vue/KvSecondaryNav2.js +48 -30
  63. package/dist/vue/KvSelect.js +12 -12
  64. package/dist/vue/KvSideSheet.js +1 -1
  65. package/dist/vue/KvSideSheet2.js +3 -3
  66. package/dist/vue/KvSimpleMap.css +1 -1
  67. package/dist/vue/KvSimpleMap.js +2 -2
  68. package/dist/vue/KvSimpleMap2.js +1 -0
  69. package/dist/vue/KvSwitch.js +1 -1
  70. package/dist/vue/KvTabs.vue.d.ts +4 -2
  71. package/dist/vue/KvTabs2.js +17 -14
  72. package/dist/vue/KvTextInput.js +1 -1
  73. package/dist/vue/KvTextInput2.js +3 -3
  74. package/dist/vue/KvThemeProvider.css +1 -1
  75. package/dist/vue/KvTooltip.css +1 -1
  76. package/dist/vue/KvTooltip.js +7 -7
  77. package/dist/vue/KvTooltip2.js +22 -22
  78. package/dist/vue/KvTreeMapChart.css +1 -1
  79. package/dist/vue/KvVerticalCarousel2.js +5 -5
  80. package/dist/vue/KvVotingCard.css +1 -1
  81. package/dist/vue/KvVotingCard.js +11 -11
  82. package/dist/vue/KvVotingCard.vue.d.ts +5 -2
  83. package/dist/vue/KvVotingCard2.js +4 -0
  84. package/dist/vue/KvWideLoanCard.css +1 -1
  85. package/dist/vue/KvWideLoanCard.js +4 -4
  86. package/dist/vue/KvWideLoanCard.vue.d.ts +18 -8
  87. package/dist/vue/KvWideLoanCard2.js +39 -35
  88. package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +1 -1
  89. package/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js +5 -5
  90. package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +3 -3
  91. package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +4 -4
  92. package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +9 -9
  93. package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu2.js +3 -3
  94. package/dist/vue/KvWwwHeaderBasic/LinkBar.css +1 -1
  95. package/dist/vue/KvWwwHeaderBasic/LinkBar2.js +3 -3
  96. package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.css +1 -1
  97. package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.js +1 -1
  98. package/dist/vue/KvWwwHeaderBasic/SearchBar2.js +6 -6
  99. package/package.json +2 -20
@@ -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;
@@ -40,6 +40,10 @@ const p = {
40
40
  default: !1
41
41
  }
42
42
  },
43
+ emits: [
44
+ "vote",
45
+ "info-click"
46
+ ],
43
47
  setup() {
44
48
  return {
45
49
  infoIcon: o(() => t)
@@ -1 +1 @@
1
- .loan-card-use[data-v-6b9da1b7]:hover,.loan-card-use[data-v-6b9da1b7]:focus{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1))}.loan-card-active-hover:hover .loan-card-use[data-v-6b9da1b7]{text-decoration-line:underline}.loan-card-progress[data-v-6b9da1b7],.loan-card-progress[data-v-6b9da1b7]:hover,.loan-card-progress[data-v-6b9da1b7]:focus{text-decoration-line:none}.loan-callouts[data-v-6b9da1b7] div{height:auto;flex-wrap:wrap}
1
+ .loan-card-use[data-v-7478412d]:hover,.loan-card-use[data-v-7478412d]:focus{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1))}.loan-card-active-hover:hover .loan-card-use[data-v-7478412d]{text-decoration-line:underline}.loan-card-progress[data-v-7478412d],.loan-card-progress[data-v-7478412d]:hover,.loan-card-progress[data-v-7478412d]:focus{text-decoration-line:none}.loan-callouts[data-v-7478412d] div{height:auto;flex-wrap:wrap}
@@ -18,7 +18,7 @@ const B = { class: "loan-card-active-hover tw-flex-1 tw-min-w-[275px] md:tw-min-
18
18
  class: "tw-w-full tw-pt-1 tw-pr-1"
19
19
  };
20
20
  function O(h, a, t, e, j, g) {
21
- const w = r("kv-loading-placeholder"), v = r("kv-borrower-image"), b = r("kv-material-icon"), u = r("kv-loan-bookmark"), x = r("kv-loan-tag"), y = r("kv-loan-use"), L = r("kv-loan-callouts"), M = r("kv-loan-progress-group"), C = r("kv-lend-cta");
21
+ const w = r("kv-loading-placeholder"), v = r("kv-borrower-image"), u = r("kv-material-icon"), b = r("kv-loan-bookmark"), x = r("kv-loan-tag"), y = r("kv-loan-use"), L = r("kv-loan-callouts"), M = r("kv-loan-progress-group"), C = r("kv-lend-cta");
22
22
  return o(), i("div", {
23
23
  class: _(["tw-flex tw-flex-row tw-flex-wrap tw-bg-white tw-rounded tw-w-full tw-pb-1 tw-p-1 tw-gap-1 tw-items-center", { "tw-pointer-events-none": e.isLoading }]),
24
24
  "data-testid": "loan-card",
@@ -49,7 +49,7 @@ function O(h, a, t, e, j, g) {
49
49
  }, null, 8, ["alt", "aspect-ratio", "default-image", "hash", "images", "photo-path"]),
50
50
  e.countryName ? (o(), i("div", E, [
51
51
  s("p", T, [
52
- d(b, {
52
+ d(u, {
53
53
  class: "tw-h-2 tw-w-2",
54
54
  icon: e.mdiMapMarker
55
55
  }, null, 8, ["icon"]),
@@ -59,7 +59,7 @@ function O(h, a, t, e, j, g) {
59
59
  ]),
60
60
  _: 1
61
61
  }, 8, ["to", "href"])),
62
- t.isVisitor ? c("", !0) : (o(), n(u, {
62
+ t.isVisitor ? c("", !0) : (o(), n(b, {
63
63
  key: 0,
64
64
  "loan-id": t.loanId,
65
65
  "is-bookmarked": t.isBookmarked,
@@ -186,7 +186,7 @@ function O(h, a, t, e, j, g) {
186
186
  ])
187
187
  ], 2);
188
188
  }
189
- const X = /* @__PURE__ */ R(P, [["render", O], ["__scopeId", "data-v-6b9da1b7"]]);
189
+ const X = /* @__PURE__ */ R(P, [["render", O], ["__scopeId", "data-v-7478412d"]]);
190
190
  export {
191
191
  p as KV_WIDE_LOAN_CARD_FRAGMENT,
192
192
  $ as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
@@ -122,7 +122,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
122
122
  width: any;
123
123
  viewSize: number;
124
124
  }[];
125
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
125
+ }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("add-to-basket" | "toggle-bookmark")[], "add-to-basket" | "toggle-bookmark", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
126
126
  loanId: {
127
127
  type: NumberConstructor;
128
128
  default: any;
@@ -211,7 +211,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
211
211
  type: BooleanConstructor;
212
212
  default: boolean;
213
213
  };
214
- }>> & Readonly<{}>, {
214
+ }>> & Readonly<{
215
+ "onAdd-to-basket"?: (...args: any[]) => any;
216
+ "onToggle-bookmark"?: (...args: any[]) => any;
217
+ }>, {
215
218
  loan: Record<string, any>;
216
219
  externalLinks: boolean;
217
220
  customLoanDetails: boolean;
@@ -704,7 +707,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
704
707
  clickPresetButton(selectedDollarAmount: any): void;
705
708
  handleCheckout(): void;
706
709
  isNarrowComponent(): boolean;
707
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
710
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("show-loan-details" | "add-to-basket")[], "show-loan-details" | "add-to-basket", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
708
711
  loan: {
709
712
  type: ObjectConstructor;
710
713
  default: () => {};
@@ -801,7 +804,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
801
804
  type: NumberConstructor;
802
805
  default: number;
803
806
  };
804
- }>> & Readonly<{}>, {
807
+ }>> & Readonly<{
808
+ "onAdd-to-basket"?: (...args: any[]) => any;
809
+ "onShow-loan-details"?: (...args: any[]) => any;
810
+ }>, {
805
811
  loan: Record<string, any>;
806
812
  externalLinks: boolean;
807
813
  customLoanDetails: boolean;
@@ -848,7 +854,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
848
854
  buttonText(): string;
849
855
  }, {
850
856
  addToBasket(event: any): void;
851
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
857
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "add-to-basket"[], "add-to-basket", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
852
858
  loanId: {
853
859
  type: NumberConstructor;
854
860
  default: any;
@@ -865,7 +871,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
865
871
  type: BooleanConstructor;
866
872
  default: boolean;
867
873
  };
868
- }>> & Readonly<{}>, {
874
+ }>> & Readonly<{
875
+ "onAdd-to-basket"?: (...args: any[]) => any;
876
+ }>, {
869
877
  loanId: number;
870
878
  showNow: boolean;
871
879
  amountLeft: string | number;
@@ -1239,12 +1247,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1239
1247
  }>, {}, {
1240
1248
  mdiBookmarkOutline: string;
1241
1249
  mdiBookmark: string;
1242
- }, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1250
+ }, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle-bookmark"[], "toggle-bookmark", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1243
1251
  isBookmarked: {
1244
1252
  type: BooleanConstructor;
1245
1253
  default: boolean;
1246
1254
  };
1247
- }>> & Readonly<{}>, {
1255
+ }>> & Readonly<{
1256
+ "onToggle-bookmark"?: (...args: any[]) => any;
1257
+ }>, {
1248
1258
  isBookmarked: boolean;
1249
1259
  }, {}, {
1250
1260
  KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -1,19 +1,19 @@
1
- import a from "graphql-tag";
1
+ import o from "graphql-tag";
2
2
  import { LOAN_CALLOUTS_FRAGMENT as E, LOAN_GEOCODE_FRAGMENT as M, LOAN_PROGRESS_FRAGMENT as B, loanCardComputedProperties as R, loanCardMethods as S } from "../utils/loanCard.js";
3
3
  import T from "./KvLoanUse.js";
4
- import w from "./KvBorrowerImage.js";
5
- import O from "./KvLoanProgressGroup.js";
6
- import D from "./KvLoanCallouts.js";
7
- import F from "./KvLendCta.js";
8
- import G from "./KvLoanBookmark.js";
9
- import k from "./KvLoanTag.js";
4
+ import k from "./KvBorrowerImage.js";
5
+ import w from "./KvLoanProgressGroup.js";
6
+ import O from "./KvLoanCallouts.js";
7
+ import D from "./KvLendCta.js";
8
+ import F from "./KvLoanBookmark.js";
9
+ import G from "./KvLoanTag.js";
10
10
  import b from "./KvMaterialIcon.js";
11
11
  import P from "./KvLoadingPlaceholder.js";
12
12
  import { KV_LEND_CTA_FRAGMENT as U, KV_LEND_CTA_USER_FRAGMENT as V } from "./KvLendCta2.js";
13
13
  import { KV_LOAN_TAG_FRAGMENT as W } from "./KvLoanTag2.js";
14
14
  import { KV_LOAN_USE_FRAGMENT as $ } from "./KvLoanUse2.js";
15
15
  import { KV_LOAN_BOOKMARK_FRAGMENT as z } from "./KvLoanBookmark2.js";
16
- const ne = a`
16
+ const ie = o`
17
17
  fragment KvWideLoanCard on LoanBasic {
18
18
  id
19
19
  image {
@@ -34,7 +34,7 @@ const ne = a`
34
34
  ${E}
35
35
  ${M}
36
36
  ${B}
37
- `, ie = a`
37
+ `, ne = o`
38
38
  fragment KvWideLoanCardUser on LoanBasic {
39
39
  id
40
40
  ...KvLendCtaUser
@@ -45,15 +45,15 @@ const ne = a`
45
45
  `, le = {
46
46
  name: "KvWideLoanCard",
47
47
  components: {
48
- KvBorrowerImage: w,
48
+ KvBorrowerImage: k,
49
49
  KvLoadingPlaceholder: P,
50
50
  KvLoanUse: T,
51
- KvLoanProgressGroup: O,
51
+ KvLoanProgressGroup: w,
52
52
  KvMaterialIcon: b,
53
- KvLendCta: F,
54
- KvLoanTag: k,
55
- KvLoanCallouts: D,
56
- KvLoanBookmark: G
53
+ KvLendCta: D,
54
+ KvLoanTag: G,
55
+ KvLoanCallouts: O,
56
+ KvLoanBookmark: F
57
57
  },
58
58
  props: {
59
59
  loanId: {
@@ -145,50 +145,54 @@ const ne = a`
145
145
  default: !1
146
146
  }
147
147
  },
148
- setup(e, { emit: o }) {
148
+ emits: [
149
+ "toggle-bookmark",
150
+ "add-to-basket"
151
+ ],
152
+ setup(e, { emit: a }) {
149
153
  const {
150
154
  allDataLoaded: t,
151
155
  borrowerName: r,
152
- city: n,
153
- countryName: i,
156
+ city: i,
157
+ countryName: n,
154
158
  distributionModel: l,
155
159
  formattedLocation: d,
156
160
  fundraisingPercent: s,
157
- hasProgressData: u,
158
- imageHash: m,
161
+ hasProgressData: m,
162
+ imageHash: u,
159
163
  isLoading: f,
160
164
  loanAmount: p,
161
165
  loanBorrowerCount: L,
162
166
  loanCallouts: c,
163
- loanStatus: _,
164
- loanUse: A,
165
- mdiMapMarker: g,
166
- readMorePath: v,
167
+ loanStatus: g,
168
+ loanUse: _,
169
+ mdiMapMarker: v,
170
+ readMorePath: A,
167
171
  state: y,
168
172
  tag: K,
169
173
  unreservedAmount: N,
170
174
  sharesAvailable: h
171
175
  } = R(e), {
172
176
  clickReadMore: C
173
- } = S(e, o);
177
+ } = S(e, a);
174
178
  return {
175
179
  allDataLoaded: t,
176
180
  borrowerName: r,
177
- city: n,
178
- countryName: i,
181
+ city: i,
182
+ countryName: n,
179
183
  distributionModel: l,
180
184
  formattedLocation: d,
181
185
  fundraisingPercent: s,
182
- hasProgressData: u,
183
- imageHash: m,
186
+ hasProgressData: m,
187
+ imageHash: u,
184
188
  isLoading: f,
185
189
  loanAmount: p,
186
190
  loanBorrowerCount: L,
187
191
  loanCallouts: c,
188
- loanStatus: _,
189
- loanUse: A,
190
- mdiMapMarker: g,
191
- readMorePath: v,
192
+ loanStatus: g,
193
+ loanUse: _,
194
+ mdiMapMarker: v,
195
+ readMorePath: A,
192
196
  state: y,
193
197
  tag: K,
194
198
  unreservedAmount: N,
@@ -218,7 +222,7 @@ const ne = a`
218
222
  }
219
223
  };
220
224
  export {
221
- ne as KV_WIDE_LOAN_CARD_FRAGMENT,
222
- ie as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
225
+ ie as KV_WIDE_LOAN_CARD_FRAGMENT,
226
+ ne as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
223
227
  le as default
224
228
  };
@@ -1,5 +1,5 @@
1
1
  import D from "./KvHeaderLinkBar2.js";
2
- import { resolveComponent as s, resolveDirective as H, openBlock as a, createElementBlock as i, withDirectives as l, normalizeClass as v, withModifiers as c, createVNode as r, createBlock as g, withCtx as k, createTextVNode as m, createElementVNode as w, createCommentVNode as y, normalizeStyle as f, vShow as h, toDisplayString as L } from "vue";
2
+ import { resolveComponent as s, resolveDirective as H, openBlock as a, createElementBlock as i, withDirectives as l, withModifiers as c, normalizeClass as v, createVNode as r, createBlock as g, withCtx as k, createTextVNode as m, createElementVNode as w, createCommentVNode as y, normalizeStyle as f, vShow as h, toDisplayString as L } from "vue";
3
3
  import "./KvHeaderLinkBar.css";
4
4
  import B from "../../_virtual/_plugin-vue_export-helper.js";
5
5
  const U = ["href"], A = {
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as c, ref as t, inject as W, computed as d, watch as k, onMounted as $, onUnmounted as j } from "vue";
2
- import { mdiAccountCircle as z, mdiChevronDown as F, mdiMagnify as V, mdiMenu as q } from "@mdi/js";
2
+ import { mdiMenu as z, mdiMagnify as F, mdiChevronDown as V, mdiAccountCircle as q } from "@mdi/js";
3
3
  import G from "numeral";
4
4
  import J from "@kiva/kv-tokens";
5
5
  import Q from "../KvMaterialIcon.js";
@@ -140,10 +140,10 @@ const te = c(() => import("./KvHeaderMobileMenu.js")), T = c(() => import("./KvH
140
140
  AVATAR_MENU_ID: u,
141
141
  openMenuId: n,
142
142
  numeral: G,
143
- mdiAccountCircle: z,
144
- mdiChevronDown: F,
145
- mdiMagnify: V,
146
- mdiMenu: q,
143
+ mdiAccountCircle: q,
144
+ mdiChevronDown: V,
145
+ mdiMagnify: F,
146
+ mdiMenu: z,
147
147
  onHover: a,
148
148
  avatar: m,
149
149
  lendButton: U,
@@ -1,10 +1,10 @@
1
1
  import s from "./KvHeaderTakeActionMenu2.js";
2
- import { resolveComponent as p, resolveDirective as u, openBlock as o, createElementBlock as c, withDirectives as a, createBlock as r, withCtx as i, createElementVNode as t } from "vue";
2
+ import { resolveComponent as p, resolveDirective as c, openBlock as o, createElementBlock as u, withDirectives as a, createBlock as r, withCtx as i, createElementVNode as t } from "vue";
3
3
  import d from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const v = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
5
5
  function m(f, e, w, k, x, _) {
6
- const l = p("kv-header-menu-link"), n = u("kv-track-event");
7
- return o(), c("nav", v, [
6
+ const l = p("kv-header-menu-link"), n = c("kv-track-event");
7
+ return o(), u("nav", v, [
8
8
  a((o(), r(l, { href: "/lend-by-category" }, {
9
9
  default: i(() => e[0] || (e[0] = [
10
10
  t("div", null, [
@@ -1,7 +1,7 @@
1
1
  import C from "./KvLendListMenu2.js";
2
- import { resolveComponent as _, resolveDirective as A, openBlock as t, createElementBlock as n, withDirectives as r, createElementVNode as l, createTextVNode as d, createVNode as c, createCommentVNode as p, withCtx as s, createBlock as m, Fragment as k, renderList as v, toDisplayString as g } from "vue";
2
+ import { resolveComponent as _, resolveDirective as R, openBlock as t, createElementBlock as n, withDirectives as r, createElementVNode as l, createTextVNode as d, createVNode as c, createCommentVNode as p, withCtx as s, Fragment as k, renderList as v, toDisplayString as g, createBlock as m } from "vue";
3
3
  import "./KvLendListMenu.css";
4
- import R from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ import A from "../../../_virtual/_plugin-vue_export-helper.js";
5
5
  const M = { class: "tw-pb-2" }, S = {
6
6
  key: 0,
7
7
  href: "/monthlygood"
@@ -19,7 +19,7 @@ const M = { class: "tw-pb-2" }, S = {
19
19
  class: "tw-block tw-py-1 tw-text-tertiary"
20
20
  }, z = { key: 0 }, H = { key: 1 }, J = ["href"];
21
21
  function O(Q, e, i, u, W, X) {
22
- const L = _("kv-material-icon"), f = _("kv-tab"), h = _("kv-loading-placeholder"), y = _("kv-tab-panel"), w = _("kv-accordion-item"), N = _("kv-lend-menu-country-list"), T = _("kv-lend-menu-search-list"), x = _("kv-tabs"), a = A("kv-track-event");
22
+ const L = _("kv-material-icon"), f = _("kv-tab"), h = _("kv-loading-placeholder"), y = _("kv-tab-panel"), w = _("kv-accordion-item"), N = _("kv-lend-menu-country-list"), T = _("kv-lend-menu-search-list"), x = _("kv-tabs"), a = R("kv-track-event");
23
23
  return t(), n("div", M, [
24
24
  i.showMGUpsellLink ? r((t(), n("a", S, [
25
25
  l("span", I, [
@@ -201,7 +201,7 @@ function O(Q, e, i, u, W, X) {
201
201
  }, 512)
202
202
  ]);
203
203
  }
204
- const te = /* @__PURE__ */ R(C, [["render", O], ["__scopeId", "data-v-e4a254c4"]]);
204
+ const te = /* @__PURE__ */ A(C, [["render", O], ["__scopeId", "data-v-e4a254c4"]]);
205
205
  export {
206
206
  te as default
207
207
  };
@@ -1,11 +1,11 @@
1
- import g from "./KvLendMegaMenu2.js";
1
+ import x from "./KvLendMegaMenu2.js";
2
2
  import { resolveComponent as m, resolveDirective as b, openBlock as n, createElementBlock as s, createElementVNode as t, normalizeStyle as S, withDirectives as r, createTextVNode as c, createVNode as d, createCommentVNode as u, withCtx as L, Fragment as w, renderList as k, toDisplayString as h, normalizeClass as C } from "vue";
3
3
  import "./KvLendMegaMenu.css";
4
4
  import N from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const T = { class: "lend-mega-menu tw-overflow-hidden tw-pb-3 lg:tw-pt-3" }, A = {
5
+ const T = { class: "lend-mega-menu tw-overflow-hidden tw-pb-3 lg:tw-pt-3" }, R = {
6
6
  key: 0,
7
7
  href: "/monthlygood"
8
- }, R = { class: "tw-inline-flex tw-items-center tw-py-1 tw-mb-2 tw-gap-0.5 tw-font-medium tw-text-action" }, M = {
8
+ }, M = { class: "tw-inline-flex tw-items-center tw-py-1 tw-mb-2 tw-gap-0.5 tw-font-medium tw-text-action" }, A = {
9
9
  ref: "categoriesSection",
10
10
  class: "tw-col-span-7"
11
11
  }, O = { class: "tw-flex tw-gap-4 tw-whitespace-nowrap" }, I = { class: "tw-columns-2 tw-gap-4 tw-font-medium" }, V = ["href"], B = { class: "tw-font-medium" }, D = { class: "link-item" }, F = {
@@ -25,14 +25,14 @@ const T = { class: "lend-mega-menu tw-overflow-hidden tw-pb-3 lg:tw-pt-3" }, A =
25
25
  class: "tw-text-secondary tw-py-1 tw-inline-block"
26
26
  }, Q = ["href"], W = { class: "tw-col-span-2" }, X = { class: "tw-col-span-8 tw-flex tw-flex-col" }, Y = { class: "tw-flex tw-whitespace-nowrap tw-h-full" }, Z = { class: "tw-font-medium" }, $ = ["aria-pressed", "onClick"];
27
27
  function ee(te, e, o, i, ne, se) {
28
- const _ = m("kv-material-icon"), y = m("kv-loading-placeholder"), f = m("kv-lend-menu-search-list"), p = m("kv-lend-menu-country-list"), x = m("kv-grid"), a = b("kv-track-event");
28
+ const _ = m("kv-material-icon"), y = m("kv-loading-placeholder"), f = m("kv-lend-menu-search-list"), p = m("kv-lend-menu-country-list"), g = m("kv-grid"), a = b("kv-track-event");
29
29
  return n(), s("div", T, [
30
30
  t("div", {
31
31
  style: S(i.computedStyle),
32
32
  class: "tw-transition tw-duration-1000 tw-ease-in-out"
33
33
  }, [
34
- o.showMGUpsellLink ? r((n(), s("a", A, [
35
- t("span", R, [
34
+ o.showMGUpsellLink ? r((n(), s("a", R, [
35
+ t("span", M, [
36
36
  e[2] || (e[2] = c(" Lend monthly ")),
37
37
  d(_, {
38
38
  icon: i.mdiArrowRight,
@@ -42,9 +42,9 @@ function ee(te, e, o, i, ne, se) {
42
42
  ])), [
43
43
  [a, ["TopNav", "click-Lend-Menu-Monthly-Good", "Lend-monthly"]]
44
44
  ]) : u("", !0),
45
- d(x, { style: { "grid-template-columns": "repeat(18, minmax(0, 1fr))" } }, {
45
+ d(g, { style: { "grid-template-columns": "repeat(18, minmax(0, 1fr))" } }, {
46
46
  default: L(() => [
47
- t("div", M, [
47
+ t("div", A, [
48
48
  e[11] || (e[11] = t("h2", { class: "menu-heading tw-mb-2" }, " Categories ", -1)),
49
49
  t("div", O, [
50
50
  t("ul", I, [
@@ -199,7 +199,7 @@ function ee(te, e, o, i, ne, se) {
199
199
  ], 4)
200
200
  ]);
201
201
  }
202
- const re = /* @__PURE__ */ N(g, [["render", ee], ["__scopeId", "data-v-3e49579c"]]);
202
+ const re = /* @__PURE__ */ N(x, [["render", ee], ["__scopeId", "data-v-3e49579c"]]);
203
203
  export {
204
204
  re as default
205
205
  };
@@ -1,4 +1,4 @@
1
- import { mdiArrowRight as m, mdiChevronLeft as h } from "@mdi/js";
1
+ import { mdiChevronLeft as m, mdiArrowRight as h } from "@mdi/js";
2
2
  import { ref as l, computed as o } from "vue";
3
3
  import y from "../../KvLoadingPlaceholder.js";
4
4
  import v from "../../KvGrid.js";
@@ -64,8 +64,8 @@ const b = {
64
64
  return e;
65
65
  }), d = o(() => n.regions.filter((e) => a(e.name))), p = o(() => n.searches.length > 0);
66
66
  return {
67
- mdiArrowRight: m,
68
- mdiChevronLeft: h,
67
+ mdiArrowRight: h,
68
+ mdiChevronLeft: m,
69
69
  categoriesSection: r,
70
70
  openedSection: t,
71
71
  sectionOpen: s,
@@ -1 +1 @@
1
- .link-bar[data-v-d90acda7]{display:flex;align-items:center;gap:.5rem}.link-bar__logo[data-v-d90acda7]{position:absolute;top:50%;left:50%;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media (min-width: 45.875rem){.link-bar[data-v-d90acda7]{display:grid;-moz-column-gap:1rem;column-gap:1rem;grid-template-areas:"logo lend right" "search search search";grid-template-columns:1fr auto auto;grid-template-rows:4rem auto;row-gap:.5rem}.link-bar__logo[data-v-d90acda7]{position:static;--tw-translate-x: 0;--tw-translate-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));grid-area:logo;justify-self:start}.link-bar__lend[data-v-d90acda7]{grid-area:lend}.link-bar__search[data-v-d90acda7]{grid-area:search;margin-bottom:.5rem}.link-bar__right[data-v-d90acda7]{grid-area:right}}@media (min-width: 64rem){.link-bar[data-v-d90acda7]{-moz-column-gap:1.25rem;column-gap:1.25rem;grid-template-areas:"logo lend search right";grid-template-columns:auto auto 1fr auto;grid-template-rows:4rem}.link-bar__search[data-v-d90acda7]{margin-bottom:0}}.header-link[data-v-d90acda7]{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-d90acda7]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}
1
+ .link-bar[data-v-d90acda7]{display:flex;align-items:center;gap:.5rem}.link-bar__logo[data-v-d90acda7]{position:absolute;top:50%;left:50%;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media(min-width:45.875rem){.link-bar[data-v-d90acda7]{display:grid;-moz-column-gap:1rem;column-gap:1rem;grid-template-areas:"logo lend right" "search search search";grid-template-columns:1fr auto auto;grid-template-rows:4rem auto;row-gap:.5rem}.link-bar__logo[data-v-d90acda7]{position:static;--tw-translate-x: 0;--tw-translate-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));grid-area:logo;justify-self:start}.link-bar__lend[data-v-d90acda7]{grid-area:lend}.link-bar__search[data-v-d90acda7]{grid-area:search;margin-bottom:.5rem}.link-bar__right[data-v-d90acda7]{grid-area:right}}@media(min-width:64rem){.link-bar[data-v-d90acda7]{-moz-column-gap:1.25rem;column-gap:1.25rem;grid-template-areas:"logo lend search right";grid-template-columns:auto auto 1fr auto;grid-template-rows:4rem}.link-bar__search[data-v-d90acda7]{margin-bottom:0}}.header-link[data-v-d90acda7]{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-d90acda7]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as r, inject as P, ref as d, computed as i } from "vue";
2
- import { mdiMenu as D, mdiChevronDown as x, mdiBriefcase as R } from "@mdi/js";
2
+ import { mdiBriefcase as D, mdiChevronDown as x, mdiMenu as R } from "@mdi/js";
3
3
  import $ from "numeral";
4
4
  import E from "../KvMaterialIcon.js";
5
5
  import H from "../KvUserAvatar.js";
@@ -97,9 +97,9 @@ const v = r(() => import("../KvWwwHeader/LendMenu/KvLendMenu.js")), p = r(() =>
97
97
  o("TopNav", "click-Logo");
98
98
  }
99
99
  return {
100
- mdiMenu: D,
100
+ mdiMenu: R,
101
101
  mdiChevronDown: x,
102
- mdiBriefcase: R,
102
+ mdiBriefcase: D,
103
103
  KvLendMenu: v,
104
104
  AboutMenu: p,
105
105
  MyKivaMenu: Y,
@@ -1 +1 @@
1
- [data-v-972cda69] [role=tab]{font-family:PostGrotesk,PostGrotesk-fallback,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;font-weight:400;font-size:1.125rem;letter-spacing:0em;line-height:1.2777778em}@media (min-width: 45.875rem){[data-v-972cda69] [role=tab]{font-size:1.125rem;letter-spacing:0em;line-height:1.2777778em}}@media (min-width: 64rem){[data-v-972cda69] [role=tab]{font-size:1.25rem;letter-spacing:0em;line-height:1.3em}}
1
+ [data-v-972cda69] [role=tab]{font-family:PostGrotesk,PostGrotesk-fallback,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;font-weight:400;font-size:1.125rem;letter-spacing:0em;line-height:1.2777778em}@media(min-width:45.875rem){[data-v-972cda69] [role=tab]{font-size:1.125rem;letter-spacing:0em;line-height:1.2777778em}}@media(min-width:64rem){[data-v-972cda69] [role=tab]{font-size:1.25rem;letter-spacing:0em;line-height:1.3em}}
@@ -1,5 +1,5 @@
1
1
  import h from "./MobileLendMenu2.js";
2
- import { resolveComponent as a, resolveDirective as T, openBlock as i, createElementBlock as L, createVNode as o, withCtx as t, withDirectives as c, createBlock as s, createTextVNode as g, createCommentVNode as _ } from "vue";
2
+ import { resolveComponent as a, resolveDirective as T, openBlock as i, createElementBlock as L, createVNode as o, withCtx as t, createBlock as s, createCommentVNode as _, withDirectives as c, createTextVNode as g } from "vue";
3
3
  import "./MobileLendMenu.css";
4
4
  import N from "../../../_virtual/_plugin-vue_export-helper.js";
5
5
  const y = { class: "tw-px-0 tw-pt-1.5 tw-pb-2" };
@@ -25,13 +25,13 @@ const K = {
25
25
  const f = B("$kvTrackEvent", () => {
26
26
  }), d = "kv-www-header-basic-search", n = m(!1), v = m(!1), {
27
27
  term: t,
28
- groupedResults: l,
28
+ groupedResults: o,
29
29
  activeIndex: a,
30
30
  resolveSubmit: g
31
- } = _(p(r, "searchSuggestions"), p(r, "appOrigin")), o = s(() => l.value.flatMap((e) => e.items)), u = s(() => a.value > -1 ? o.value[a.value] : void 0), b = s(() => {
31
+ } = _(p(r, "searchSuggestions"), p(r, "appOrigin")), l = s(() => o.value.flatMap((e) => e.items)), u = s(() => a.value > -1 ? l.value[a.value] : void 0), b = s(() => {
32
32
  var e;
33
33
  return ((e = u.value) == null ? void 0 : e.label) ?? t.value;
34
- }), y = s(() => l.value.length > 0 && n.value);
34
+ }), y = s(() => o.value.length > 0 && n.value);
35
35
  function S(e) {
36
36
  t.value = e;
37
37
  }
@@ -52,10 +52,10 @@ const K = {
52
52
  u.value ? c(u.value) : c(t.value);
53
53
  }
54
54
  function T() {
55
- a.value += 1, a.value >= o.value.length && (a.value = -1);
55
+ a.value += 1, a.value >= l.value.length && (a.value = -1);
56
56
  }
57
57
  function M() {
58
- a.value === -1 && (a.value = o.value.length), a.value -= 1;
58
+ a.value === -1 && (a.value = l.value.length), a.value -= 1;
59
59
  }
60
60
  function x(e) {
61
61
  return O(e.label, e.matches);
@@ -65,7 +65,7 @@ const K = {
65
65
  inputId: d,
66
66
  term: t,
67
67
  displayTerm: b,
68
- groupedResults: l,
68
+ groupedResults: o,
69
69
  highlighted: u,
70
70
  showResults: y,
71
71
  onInput: S,