@kiva/kv-shop 3.8.33 → 3.8.35

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 (150) hide show
  1. package/dist/components/KvPaymentSelect2.js +32 -101
  2. package/package.json +9 -5
  3. package/dist/kv-components/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  4. package/dist/kv-components/dist/data/allCountriesISOMap.js +0 -249
  5. package/dist/kv-components/dist/data/simpleMapCentroids.js +0 -1315
  6. package/dist/kv-components/dist/data/simpleMapCountryPaths.js +0 -215
  7. package/dist/kv-components/dist/data/simpleMapPaths.js +0 -216
  8. package/dist/kv-components/dist/utils/arrayUtils.js +0 -8
  9. package/dist/kv-components/dist/utils/attrs.js +0 -19
  10. package/dist/kv-components/dist/utils/chartColors.js +0 -16
  11. package/dist/kv-components/dist/utils/comparators.js +0 -23
  12. package/dist/kv-components/dist/utils/expander.js +0 -36
  13. package/dist/kv-components/dist/utils/headerNavLinks.js +0 -10
  14. package/dist/kv-components/dist/utils/loanCard.js +0 -49
  15. package/dist/kv-components/dist/utils/mapUtils.js +0 -7
  16. package/dist/kv-components/dist/utils/markMatches.js +0 -12
  17. package/dist/kv-components/dist/utils/paramCase.js +0 -6
  18. package/dist/kv-components/dist/utils/pieChartColors.js +0 -5
  19. package/dist/kv-components/dist/utils/typeaheadSearchConfig.js +0 -31
  20. package/dist/kv-components/dist/utils/typeaheadSearchEngine.js +0 -28
  21. package/dist/kv-components/dist/utils/useMapTourCycle.js +0 -73
  22. package/dist/kv-components/dist/utils/useTypeaheadSearch.js +0 -65
  23. package/dist/kv-components/dist/vue/KvAccordionItem.js +0 -41
  24. package/dist/kv-components/dist/vue/KvAccordionItem2.js +0 -60
  25. package/dist/kv-components/dist/vue/KvAtbModal.css +0 -1
  26. package/dist/kv-components/dist/vue/KvCarousel.css +0 -1
  27. package/dist/kv-components/dist/vue/KvCartModal.css +0 -1
  28. package/dist/kv-components/dist/vue/KvCheckbox.css +0 -1
  29. package/dist/kv-components/dist/vue/KvCheckoutReceipt.css +0 -1
  30. package/dist/kv-components/dist/vue/KvClassicLoanCard.css +0 -1
  31. package/dist/kv-components/dist/vue/KvClassicLoanCard2.js +0 -57
  32. package/dist/kv-components/dist/vue/KvCommentsAdd.css +0 -1
  33. package/dist/kv-components/dist/vue/KvCommentsHeartButton.css +0 -1
  34. package/dist/kv-components/dist/vue/KvCommentsReplyButton.css +0 -1
  35. package/dist/kv-components/dist/vue/KvCompactLoanCard.css +0 -1
  36. package/dist/kv-components/dist/vue/KvCompactLoanCard2.js +0 -49
  37. package/dist/kv-components/dist/vue/KvDatePicker.css +0 -1
  38. package/dist/kv-components/dist/vue/KvExpandable.js +0 -18
  39. package/dist/kv-components/dist/vue/KvExpandable2.js +0 -52
  40. package/dist/kv-components/dist/vue/KvFlag.css +0 -1
  41. package/dist/kv-components/dist/vue/KvGrid.js +0 -15
  42. package/dist/kv-components/dist/vue/KvGrid2.js +0 -15
  43. package/dist/kv-components/dist/vue/KvImageUpload.css +0 -1
  44. package/dist/kv-components/dist/vue/KvImpactDashboardHeader.css +0 -1
  45. package/dist/kv-components/dist/vue/KvInlineActivityFeed.css +0 -1
  46. package/dist/kv-components/dist/vue/KvIntroductionLoanCard.css +0 -1
  47. package/dist/kv-components/dist/vue/KvIntroductionLoanCard2.js +0 -50
  48. package/dist/kv-components/dist/vue/KvLendCta.css +0 -1
  49. package/dist/kv-components/dist/vue/KvLendCta2.js +0 -24
  50. package/dist/kv-components/dist/vue/KvLoadingPlaceholder.css +0 -1
  51. package/dist/kv-components/dist/vue/KvLoadingPlaceholder.js +0 -11
  52. package/dist/kv-components/dist/vue/KvLoadingSpinner.js +0 -24
  53. package/dist/kv-components/dist/vue/KvLoadingSpinner2.js +0 -29
  54. package/dist/kv-components/dist/vue/KvLoadingText.css +0 -1
  55. package/dist/kv-components/dist/vue/KvLoanActivities.css +0 -1
  56. package/dist/kv-components/dist/vue/KvLoanActivities2.js +0 -26
  57. package/dist/kv-components/dist/vue/KvLoanBookmark2.js +0 -14
  58. package/dist/kv-components/dist/vue/KvLoanCallouts.css +0 -1
  59. package/dist/kv-components/dist/vue/KvLoanInfoCard.css +0 -1
  60. package/dist/kv-components/dist/vue/KvLoanInfoCard.js +0 -23
  61. package/dist/kv-components/dist/vue/KvLoanProgressGroup.css +0 -1
  62. package/dist/kv-components/dist/vue/KvLoanTag2.js +0 -31
  63. package/dist/kv-components/dist/vue/KvLoanUse2.js +0 -18
  64. package/dist/kv-components/dist/vue/KvMap.css +0 -1
  65. package/dist/kv-components/dist/vue/KvMaterialIcon.js +0 -24
  66. package/dist/kv-components/dist/vue/KvMaterialIcon2.js +0 -15
  67. package/dist/kv-components/dist/vue/KvPageContainer.js +0 -16
  68. package/dist/kv-components/dist/vue/KvPageContainer2.js +0 -4
  69. package/dist/kv-components/dist/vue/KvPieChart.css +0 -1
  70. package/dist/kv-components/dist/vue/KvPieChartV2.css +0 -1
  71. package/dist/kv-components/dist/vue/KvProgressCircle.css +0 -1
  72. package/dist/kv-components/dist/vue/KvPulsingDot.css +0 -1
  73. package/dist/kv-components/dist/vue/KvSecondaryNav.css +0 -1
  74. package/dist/kv-components/dist/vue/KvSelect.css +0 -1
  75. package/dist/kv-components/dist/vue/KvSimpleMap.css +0 -1
  76. package/dist/kv-components/dist/vue/KvSimpleMap2.js +0 -20
  77. package/dist/kv-components/dist/vue/KvStackedBarGraph.css +0 -1
  78. package/dist/kv-components/dist/vue/KvTab.js +0 -25
  79. package/dist/kv-components/dist/vue/KvTab2.js +0 -48
  80. package/dist/kv-components/dist/vue/KvTabPanel.js +0 -34
  81. package/dist/kv-components/dist/vue/KvTabPanel2.js +0 -28
  82. package/dist/kv-components/dist/vue/KvTabs.js +0 -32
  83. package/dist/kv-components/dist/vue/KvTabs2.js +0 -73
  84. package/dist/kv-components/dist/vue/KvTextInput.css +0 -1
  85. package/dist/kv-components/dist/vue/KvTextInput.js +0 -66
  86. package/dist/kv-components/dist/vue/KvTextInput2.js +0 -126
  87. package/dist/kv-components/dist/vue/KvThemeProvider.css +0 -1
  88. package/dist/kv-components/dist/vue/KvTooltip.css +0 -1
  89. package/dist/kv-components/dist/vue/KvTreeMapChart.css +0 -1
  90. package/dist/kv-components/dist/vue/KvTreeMapChart2.js +0 -6
  91. package/dist/kv-components/dist/vue/KvUserAvatar.css +0 -1
  92. package/dist/kv-components/dist/vue/KvVotingCard.css +0 -1
  93. package/dist/kv-components/dist/vue/KvVotingCardV2.css +0 -1
  94. package/dist/kv-components/dist/vue/KvWideLoanCard.css +0 -1
  95. package/dist/kv-components/dist/vue/KvWideLoanCard2.js +0 -45
  96. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderAboutMenu.js +0 -85
  97. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderAboutMenu2.js +0 -9
  98. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderLinkBar.css +0 -1
  99. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js +0 -11
  100. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMenuLink.js +0 -12
  101. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMobileMenu.css +0 -1
  102. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +0 -145
  103. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMobileMenu2.js +0 -59
  104. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +0 -89
  105. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu2.js +0 -27
  106. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +0 -57
  107. package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu2.js +0 -9
  108. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.css +0 -1
  109. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +0 -207
  110. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu2.js +0 -82
  111. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.css +0 -1
  112. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +0 -205
  113. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu2.js +0 -86
  114. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.js +0 -55
  115. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenu2.js +0 -172
  116. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.css +0 -1
  117. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.js +0 -31
  118. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList2.js +0 -12
  119. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.js +0 -26
  120. package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList2.js +0 -11
  121. package/dist/kv-components/dist/vue/KvWwwHeader.css +0 -1
  122. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/AboutMenu.css +0 -1
  123. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/AboutMenu.js +0 -25
  124. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/AboutMenu2.js +0 -33
  125. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/HeaderMenuGroup.css +0 -1
  126. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/KvWwwHeaderBasic.css +0 -1
  127. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/KvWwwHeaderBasic2.js +0 -17
  128. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/LinkBar.css +0 -1
  129. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/LinkBar2.js +0 -12
  130. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/CategoriesPanel.css +0 -1
  131. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/CategoriesPanel.js +0 -61
  132. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/CategoriesPanel2.js +0 -18
  133. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.css +0 -1
  134. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.js +0 -102
  135. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu2.js +0 -74
  136. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MyKivaPanel.css +0 -1
  137. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MyKivaPanel.js +0 -51
  138. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MyKivaPanel2.js +0 -31
  139. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/RegionsPanel.js +0 -38
  140. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/RegionsPanel2.js +0 -24
  141. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/SearchPanel.js +0 -18
  142. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/SearchPanel2.js +0 -19
  143. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileMenu.css +0 -1
  144. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileMenu.js +0 -59
  145. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileMenu2.js +0 -49
  146. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MyKivaMenu.css +0 -1
  147. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MyKivaMenu.js +0 -132
  148. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MyKivaMenu2.js +0 -55
  149. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/SearchBar.js +0 -73
  150. package/dist/kv-components/dist/vue/KvWwwHeaderBasic/SearchBar2.js +0 -90
@@ -1,145 +0,0 @@
1
- import f from "./KvHeaderMobileMenu2.js";
2
- import { resolveComponent as b, resolveDirective as h, openBlock as t, createElementBlock as l, withDirectives as i, createBlock as p, createCommentVNode as N, withCtx as r, createElementVNode as n, Fragment as T, renderList as C, withModifiers as a, toDisplayString as d, createTextVNode as o } from "vue";
3
- import "./KvHeaderMobileMenu.css";
4
- import A from "../../_virtual/_plugin-vue_export-helper.js";
5
- const g = { class: "tw--mt-0.5 tw-pb-0.5 tw-gap-2 tw-flex tw-flex-col tw-items-end md:tw-hidden tw-font-medium tw-p-2.5" }, x = { class: "tw-flex tw-flex-col tw-gap-2 tw-pl-1" }, I = ["href"], K = { class: "tw-text-secondary tw-font-book" }, D = { class: "tw-flex tw-flex-col tw-gap-2 tw-pb-2 tw-pl-1" };
6
- function H(m, e, w, y, k, M) {
7
- const v = b("KvMaterialIcon"), u = b("KvAccordionItem"), c = h("kv-track-event");
8
- return t(), l("nav", g, [
9
- w.isMobile ? i((t(), p(v, {
10
- key: 0,
11
- icon: k.mdiClose,
12
- class: "tw-cursor-pointer",
13
- onClick: e[0] || (e[0] = (s) => m.$emit("closing-menu"))
14
- }, null, 8, ["icon"])), [
15
- [c, ["TopNav", "click-Hamburger-close"]]
16
- ]) : N("", !0),
17
- i((t(), p(u, {
18
- id: "accordion-take-action-menu",
19
- open: "",
20
- class: "tw-w-full tw-border-b-0"
21
- }, {
22
- header: r(() => e[10] || (e[10] = [
23
- n("h3", { class: "tw-pb-0.5" }, " Take action ", -1)
24
- ])),
25
- default: r(() => [
26
- n("div", x, [
27
- (t(!0), l(T, null, C(k.menuItems, (s) => i((t(), l("a", {
28
- key: s.title,
29
- href: s.url,
30
- class: "mobile-link",
31
- onClick: e[1] || (e[1] = a(() => {
32
- }, ["stop"]))
33
- }, [
34
- n("div", null, d(s.title), 1),
35
- n("p", K, d(s.description), 1)
36
- ], 8, I)), [
37
- [c, ["TopNav", `click-${s.trackEvent}`]]
38
- ])), 128))
39
- ])
40
- ]),
41
- _: 1
42
- })), [
43
- [c, ["TopNav", "click-Hamburger-Take-action-accordion"]]
44
- ]),
45
- i((t(), p(u, {
46
- id: "accordion-about-menu",
47
- class: "tw-w-full tw-pb-1"
48
- }, {
49
- header: r(() => e[11] || (e[11] = [
50
- n("h3", { class: "tw-pb-0.5" }, " About ", -1)
51
- ])),
52
- default: r(() => [
53
- n("div", D, [
54
- i((t(), l("a", {
55
- href: "/about",
56
- class: "mobile-link",
57
- onClick: e[2] || (e[2] = a(() => {
58
- }, ["stop"]))
59
- }, e[12] || (e[12] = [
60
- o("About us")
61
- ]))), [
62
- [c, ["TopNav", "click-About-About us"]]
63
- ]),
64
- i((t(), l("a", {
65
- href: "/about/how",
66
- class: "mobile-link",
67
- onClick: e[3] || (e[3] = a(() => {
68
- }, ["stop"]))
69
- }, e[13] || (e[13] = [
70
- o("How Kiva works")
71
- ]))), [
72
- [c, ["TopNav", "click-About-How Kiva works"]]
73
- ]),
74
- i((t(), l("a", {
75
- href: "/about/where-kiva-works",
76
- class: "mobile-link",
77
- onClick: e[4] || (e[4] = a(() => {
78
- }, ["stop"]))
79
- }, e[14] || (e[14] = [
80
- o("Where Kiva works")
81
- ]))), [
82
- [c, ["TopNav", "click-About-Where Kiva works"]]
83
- ]),
84
- i((t(), l("a", {
85
- href: "/impact",
86
- class: "mobile-link",
87
- onClick: e[5] || (e[5] = a(() => {
88
- }, ["stop"]))
89
- }, e[15] || (e[15] = [
90
- o("Impact")
91
- ]))), [
92
- [c, ["TopNav", "click-About-Impact"]]
93
- ]),
94
- i((t(), l("a", {
95
- href: "/about/leadership",
96
- class: "mobile-link",
97
- onClick: e[6] || (e[6] = a(() => {
98
- }, ["stop"]))
99
- }, e[16] || (e[16] = [
100
- o("Leadership")
101
- ]))), [
102
- [c, ["TopNav", "click-About-Leadership"]]
103
- ]),
104
- i((t(), l("a", {
105
- href: "/about/finances",
106
- class: "mobile-link",
107
- onClick: e[7] || (e[7] = a(() => {
108
- }, ["stop"]))
109
- }, e[17] || (e[17] = [
110
- o("Finances")
111
- ]))), [
112
- [c, ["TopNav", "click-About-Finances"]]
113
- ]),
114
- i((t(), l("a", {
115
- href: "/about/press-center",
116
- class: "mobile-link",
117
- onClick: e[8] || (e[8] = a(() => {
118
- }, ["stop"]))
119
- }, e[18] || (e[18] = [
120
- o("Press")
121
- ]))), [
122
- [c, ["TopNav", "click-About-Press"]]
123
- ]),
124
- i((t(), l("a", {
125
- href: "/about/due-diligence",
126
- class: "mobile-link",
127
- onClick: e[9] || (e[9] = a(() => {
128
- }, ["stop"]))
129
- }, e[19] || (e[19] = [
130
- o("Due diligence")
131
- ]))), [
132
- [c, ["TopNav", "click-About-Due diligence"]]
133
- ])
134
- ])
135
- ]),
136
- _: 1
137
- })), [
138
- [c, ["TopNav", "click-Hamburger-About-accordion"]]
139
- ])
140
- ]);
141
- }
142
- const F = /* @__PURE__ */ A(f, [["render", H], ["__scopeId", "data-v-dc19641e"]]);
143
- export {
144
- F as default
145
- };
@@ -1,59 +0,0 @@
1
- import { mdiClose as e } from "@mdi/js";
2
- import t from "../KvAccordionItem.js";
3
- import o from "../KvMaterialIcon.js";
4
- const r = {
5
- name: "KvHeaderMobileMenu",
6
- components: {
7
- KvAccordionItem: t,
8
- KvMaterialIcon: o
9
- },
10
- props: {
11
- loggedIn: {
12
- type: Boolean,
13
- default: !1
14
- },
15
- loginUrl: {
16
- type: String,
17
- default: "/ui-login"
18
- },
19
- isMobile: {
20
- type: Boolean,
21
- default: !1
22
- }
23
- },
24
- emits: ["closing-menu"],
25
- data() {
26
- return {
27
- mdiClose: e,
28
- menuItems: [
29
- {
30
- title: "Choose someone to help",
31
- description: "Make a direct impact for someone in need",
32
- url: "/lend-by-category",
33
- trackEvent: "menu-choose-someone-to-help"
34
- },
35
- {
36
- title: "Donate to Kiva",
37
- description: "Help us change lives and tackle inequality",
38
- url: "/donate/supportus",
39
- trackEvent: "Support-Kiva"
40
- },
41
- {
42
- title: "Partner with us",
43
- description: "Drive global impact aligned with your organization’s goals",
44
- url: "/about/partner-with-us",
45
- trackEvent: "About-Partner with us"
46
- },
47
- {
48
- title: "Buy a Kiva Card",
49
- description: "Give the gift of lending to others",
50
- url: "/gifts/kiva-cards",
51
- trackEvent: "menu-buy-kiva-card"
52
- }
53
- ]
54
- };
55
- }
56
- };
57
- export {
58
- r as default
59
- };
@@ -1,89 +0,0 @@
1
- import d from "./KvHeaderMyKivaMenu2.js";
2
- import { resolveComponent as n, resolveDirective as m, openBlock as e, createElementBlock as u, withDirectives as a, createBlock as l, withCtx as i, createTextVNode as s, createCommentVNode as f } from "vue";
3
- import h from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = { 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
- function w(k, t, c, v, T, b) {
6
- const o = n("kv-header-menu-link"), r = m("kv-track-event");
7
- return e(), u("nav", p, [
8
- a((e(), l(o, {
9
- href: c.myDashboardUrl,
10
- class: "md:tw-hidden"
11
- }, {
12
- default: i(() => t[0] || (t[0] = [
13
- s(" My Dashboard ")
14
- ])),
15
- _: 1
16
- }, 8, ["href"])), [
17
- [r, ["TopNav", "click-Dashboard"]]
18
- ]),
19
- a((e(), l(o, { href: "/portfolio" }, {
20
- default: i(() => t[1] || (t[1] = [
21
- s(" Portfolio ")
22
- ])),
23
- _: 1
24
- })), [
25
- [r, ["TopNav", "click-Portfolio-Portfolio"]]
26
- ]),
27
- a((e(), l(o, { href: "/teams/my-teams" }, {
28
- default: i(() => t[2] || (t[2] = [
29
- s(" My Teams ")
30
- ])),
31
- _: 1
32
- })), [
33
- [r, ["TopNav", "click-Portfolio-My teams"]]
34
- ]),
35
- a((e(), l(o, { href: "/portfolio/donations" }, {
36
- default: i(() => t[3] || (t[3] = [
37
- s(" Donations ")
38
- ])),
39
- _: 1
40
- })), [
41
- [r, ["TopNav", "click-Portfolio-Donations"]]
42
- ]),
43
- a((e(), l(o, { href: "/settings" }, {
44
- default: i(() => t[4] || (t[4] = [
45
- s(" Settings ")
46
- ])),
47
- _: 1
48
- })), [
49
- [r, ["TopNav", "click-Portfolio-Settings"]]
50
- ]),
51
- c.isBorrower ? a((e(), l(o, {
52
- key: 0,
53
- href: "/my/borrower"
54
- }, {
55
- default: i(() => t[5] || (t[5] = [
56
- s(" Borrower Dashboard ")
57
- ])),
58
- _: 1
59
- })), [
60
- [r, ["TopNav", "click-Portfolio-My borrower dashboard"]]
61
- ]) : f("", !0),
62
- c.isTrustee ? a((e(), l(o, {
63
- key: 1,
64
- href: "/my/trustee"
65
- }, {
66
- default: i(() => t[6] || (t[6] = [
67
- s(" Trustee Dashboard ")
68
- ])),
69
- _: 1
70
- })), [
71
- [r, ["TopNav", "click-Portfolio-My Trustee dashboard"]]
72
- ]) : f("", !0),
73
- a((e(), l(o, {
74
- href: "/ui-logout",
75
- class: "tw-border-t tw-border-secondary tw-w-full"
76
- }, {
77
- default: i(() => t[7] || (t[7] = [
78
- s(" Sign out ")
79
- ])),
80
- _: 1
81
- })), [
82
- [r, ["TopNav", "click-Portfolio-Sign out"]]
83
- ])
84
- ]);
85
- }
86
- const D = /* @__PURE__ */ h(d, [["render", w]]);
87
- export {
88
- D as default
89
- };
@@ -1,27 +0,0 @@
1
- import e from "./KvHeaderMenuLink.js";
2
- const t = {
3
- components: {
4
- KvHeaderMenuLink: e
5
- },
6
- props: {
7
- balance: {
8
- type: Number,
9
- default: 0
10
- },
11
- isBorrower: {
12
- type: Boolean,
13
- default: !1
14
- },
15
- isTrustee: {
16
- type: Boolean,
17
- default: !1
18
- },
19
- myDashboardUrl: {
20
- type: String,
21
- default: "/mykiva"
22
- }
23
- }
24
- };
25
- export {
26
- t as default
27
- };
@@ -1,57 +0,0 @@
1
- import s from "./KvHeaderTakeActionMenu2.js";
2
- import { resolveComponent as c, resolveDirective as u, openBlock as l, createElementBlock as p, withDirectives as n, createBlock as r, withCtx as i, createElementVNode as t } from "vue";
3
- import d from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = { 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
- function v(w, e, f, h, k, x) {
6
- const o = c("kv-header-menu-link"), a = u("kv-track-event");
7
- return l(), p("nav", m, [
8
- n((l(), r(o, { href: "/lend-by-category" }, {
9
- default: i(() => e[0] || (e[0] = [
10
- t("div", null, [
11
- t("p", null, "Choose someone to help"),
12
- t("p", { class: "tw-text-small tw-text-secondary" }, " Make a direct impact for someone in need ")
13
- ], -1)
14
- ])),
15
- _: 1
16
- })), [
17
- [a, ["TopNav", "click-menu-choose-someone-to-help"]]
18
- ]),
19
- n((l(), r(o, { href: "/donate/supportus" }, {
20
- default: i(() => e[1] || (e[1] = [
21
- t("div", null, [
22
- t("p", null, "Donate to Kiva"),
23
- t("p", { class: "tw-text-small tw-text-secondary" }, " Help us change lives and tackle inequality ")
24
- ], -1)
25
- ])),
26
- _: 1
27
- })), [
28
- [a, ["TopNav", "click-Support-Kiva"]]
29
- ]),
30
- n((l(), r(o, { href: "/about/partner-with-us" }, {
31
- default: i(() => e[2] || (e[2] = [
32
- t("div", null, [
33
- t("p", null, "Partner with us"),
34
- t("p", { class: "tw-text-small tw-text-secondary" }, " Drive global impact aligned with your organization’s goals ")
35
- ], -1)
36
- ])),
37
- _: 1
38
- })), [
39
- [a, ["TopNav", "click-About-Partner with us"]]
40
- ]),
41
- n((l(), r(o, { href: "/gifts/kiva-cards" }, {
42
- default: i(() => e[3] || (e[3] = [
43
- t("div", null, [
44
- t("p", null, "Buy a Kiva Card"),
45
- t("p", { class: "tw-text-small tw-text-secondary" }, " Give the gift of lending to others ")
46
- ], -1)
47
- ])),
48
- _: 1
49
- })), [
50
- [a, ["TopNav", "click-menu-buy-kiva-card"]]
51
- ])
52
- ]);
53
- }
54
- const N = /* @__PURE__ */ d(s, [["render", v]]);
55
- export {
56
- N as default
57
- };
@@ -1,9 +0,0 @@
1
- import o from "./KvHeaderMenuLink.js";
2
- const n = {
3
- components: {
4
- KvHeaderMenuLink: o
5
- }
6
- };
7
- export {
8
- n as default
9
- };
@@ -1 +0,0 @@
1
- .lend-link[data-v-e4a254c4]{display:block;width:100%;padding-top:.5rem;padding-bottom:.5rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.lend-link[data-v-e4a254c4]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -1,207 +0,0 @@
1
- import C from "./KvLendListMenu2.js";
2
- import { resolveComponent as k, resolveDirective as R, openBlock as l, createElementBlock as a, withDirectives as o, createElementVNode as t, createTextVNode as d, createVNode as c, createCommentVNode as f, withCtx as r, Fragment as v, renderList as p, toDisplayString as L, createBlock as m } from "vue";
3
- import "./KvLendListMenu.css";
4
- import S from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const A = { class: "tw-pb-2" }, I = {
6
- key: 0,
7
- href: "/monthlygood"
8
- }, M = { class: "tw-inline-flex tw-items-center tw-py-2 tw-mb-2 tw-gap-0.5 tw-border-b tw-border-tertiary tw-font-medium" }, V = { class: "tw-font-medium" }, B = ["href"], D = { class: "tw-border-t tw-border-tertiary" }, F = {
9
- href: "/lend-by-category/recommended-by-lenders",
10
- class: "lend-link tw-text-brand"
11
- }, $ = {
12
- href: "/lend",
13
- class: "lend-link"
14
- }, E = {
15
- href: "/categories",
16
- class: "lend-link"
17
- }, G = { class: "tw-flex" }, K = { class: "tw-text-upper" }, U = { class: "tw-font-medium" }, j = ["href"], P = {
18
- key: 1,
19
- class: "tw-block tw-py-1 tw-text-tertiary"
20
- }, q = { key: 0 }, z = { key: 1 }, H = ["href"];
21
- function J(O, e, s, u, Q, W) {
22
- const N = k("kv-material-icon"), h = k("kv-tab"), g = k("kv-loading-placeholder"), y = k("kv-tab-panel"), w = k("kv-accordion-item"), T = k("kv-lend-menu-country-list"), _ = k("kv-lend-menu-search-list"), x = k("kv-tabs"), i = R("kv-track-event");
23
- return l(), a("div", A, [
24
- s.showMGUpsellLink ? o((l(), a("a", I, [
25
- t("span", M, [
26
- e[0] || (e[0] = d(" Lend monthly ")),
27
- c(N, {
28
- icon: u.mdiArrowRight,
29
- class: "tw-w-3 tw-h-3"
30
- }, null, 8, ["icon"])
31
- ])
32
- ])), [
33
- [i, ["TopNav", "click-Lend-Menu-Monthly-Good", "Lend-monthly"]]
34
- ]) : f("", !0),
35
- c(x, { ref: "navLendCategories" }, {
36
- tabNav: r(() => [
37
- o((l(), m(h, { "for-panel": "nav-lend-categories" }, {
38
- default: r(() => e[1] || (e[1] = [
39
- d(" Categories ")
40
- ])),
41
- _: 1
42
- })), [
43
- [i, ["TopNav", "click-Lend-Tab-Categories"]]
44
- ]),
45
- o((l(), m(h, { "for-panel": "nav-lend-regions" }, {
46
- default: r(() => e[2] || (e[2] = [
47
- d(" Regions ")
48
- ])),
49
- _: 1
50
- })), [
51
- [i, ["TopNav", "click-Lend-Tab-Regions"]]
52
- ]),
53
- s.userId ? o((l(), m(h, {
54
- key: 0,
55
- "for-panel": "nav-my-kiva"
56
- }, {
57
- default: r(() => e[3] || (e[3] = [
58
- d(" My Kiva ")
59
- ])),
60
- _: 1
61
- })), [
62
- [i, ["TopNav", "click-Lend-Tab-My-Kiva"]]
63
- ]) : f("", !0)
64
- ]),
65
- tabPanels: r(() => [
66
- c(y, { id: "nav-lend-categories" }, {
67
- default: r(() => [
68
- t("ul", V, [
69
- s.isChannelsLoading ? (l(), a(v, { key: 0 }, p(14, (n) => t("li", {
70
- key: n,
71
- style: { width: "11rem" },
72
- class: "tw-py-1 tw-flex"
73
- }, [
74
- c(g, {
75
- class: "tw-inline-block tw-align-middle",
76
- style: { height: "1rem" }
77
- }),
78
- e[4] || (e[4] = t("span", { class: "tw-inline-block" }, " ", -1))
79
- ])), 64)) : (l(!0), a(v, { key: 1 }, p(s.categories, (n, b) => (l(), a("li", { key: b }, [
80
- o((l(), a("a", {
81
- href: n.url,
82
- class: "lend-link"
83
- }, [
84
- d(L(n.name), 1)
85
- ], 8, B)), [
86
- [i, ["TopNav", "click-Lend-Category", n.name, b + 1]]
87
- ])
88
- ]))), 128)),
89
- t("li", D, [
90
- o((l(), a("a", F, e[5] || (e[5] = [
91
- d(" Recommended by lenders ")
92
- ]))), [
93
- [i, ["TopNav", "click-Lend-Recommended-by-lenders"]]
94
- ])
95
- ]),
96
- t("li", null, [
97
- o((l(), a("a", $, e[6] || (e[6] = [
98
- d(" All loans ")
99
- ]))), [
100
- [i, ["TopNav", "click-Lend-All_Loans"]]
101
- ])
102
- ]),
103
- t("li", null, [
104
- o((l(), a("a", E, e[7] || (e[7] = [
105
- d(" All categories ")
106
- ]))), [
107
- [i, ["TopNav", "click-Lend-All_Categories"]]
108
- ])
109
- ])
110
- ])
111
- ]),
112
- _: 1
113
- }),
114
- c(y, { id: "nav-lend-regions" }, {
115
- default: r(() => [
116
- s.isRegionsLoading ? (l(), a(v, { key: 0 }, p(8, (n) => c(w, {
117
- id: `placeholder-${n}-panel`,
118
- key: n,
119
- disabled: !0
120
- }, {
121
- header: r(() => [
122
- t("div", G, [
123
- c(g, {
124
- class: "tw-inline-block tw-align-middle",
125
- style: { height: "1rem" }
126
- }),
127
- e[8] || (e[8] = t("span", { class: "tw-inline-block tw-text-upper" }, " ", -1))
128
- ])
129
- ]),
130
- _: 2
131
- }, 1032, ["id"])), 64)) : (l(!0), a(v, { key: 1 }, p(s.regions, (n) => o((l(), m(w, {
132
- id: `lend-menu-${u.paramCase(n.name)}-panel`,
133
- key: n.name,
134
- ref_for: !0,
135
- ref: "regionAccordions"
136
- }, {
137
- header: r(() => [
138
- t("h3", K, L(n.name), 1)
139
- ]),
140
- default: r(() => [
141
- c(T, {
142
- countries: n.countries
143
- }, null, 8, ["countries"])
144
- ]),
145
- _: 2
146
- }, 1032, ["id"])), [
147
- [i, ["TopNav", "click-Lend-Region", n.name]]
148
- ])), 128))
149
- ]),
150
- _: 1
151
- }),
152
- s.userId ? (l(), m(y, {
153
- key: 0,
154
- id: "nav-my-kiva"
155
- }, {
156
- default: r(() => [
157
- t("ul", U, [
158
- t("li", null, [
159
- s.favorites > 0 ? o((l(), a("a", {
160
- key: 0,
161
- href: `/lend?lenderFavorite=${s.userId}`,
162
- class: "lend-link"
163
- }, e[9] || (e[9] = [
164
- d(" Saved loans ")
165
- ]), 8, j)), [
166
- [i, ["TopNav", "click-Lend-Favorites"]]
167
- ]) : (l(), a("span", P, "Saved loans"))
168
- ]),
169
- u.hasSearches ? (l(), a("li", q, [
170
- c(w, {
171
- id: "lend-menu-saved-searches-panel",
172
- ref: "searchesLink"
173
- }, {
174
- header: r(() => e[10] || (e[10] = [
175
- t("p", { class: "tw-font-medium" }, " Saved searches ", -1)
176
- ])),
177
- default: r(() => [
178
- c(_, { searches: s.searches }, null, 8, ["searches"])
179
- ]),
180
- _: 1
181
- }, 512)
182
- ])) : (l(), a("li", z, e[11] || (e[11] = [
183
- t("span", { class: "tw-block tw-py-1 tw-text-tertiary" }, "Saved searches", -1)
184
- ]))),
185
- t("li", null, [
186
- o((l(), a("a", {
187
- href: s.countriesNotLentToUrl,
188
- class: "lend-link"
189
- }, e[12] || (e[12] = [
190
- d(" Countries I haven't lent to ")
191
- ]), 8, H)), [
192
- [i, ["TopNav", "click-Lend-Countries_Not_Lent"]]
193
- ])
194
- ])
195
- ])
196
- ]),
197
- _: 1
198
- })) : f("", !0)
199
- ]),
200
- _: 1
201
- }, 512)
202
- ]);
203
- }
204
- const le = /* @__PURE__ */ S(C, [["render", J], ["__scopeId", "data-v-e4a254c4"]]);
205
- export {
206
- le as default
207
- };
@@ -1,82 +0,0 @@
1
- import { mdiArrowRight as v } from "@mdi/js";
2
- import { ref as t, computed as y } from "vue";
3
- import h from "../../KvAccordionItem.js";
4
- import g from "../../KvLoadingPlaceholder.js";
5
- import L from "./KvLendMenuCountryList.js";
6
- import b from "./KvLendMenuSearchList.js";
7
- import K from "../../KvTab.js";
8
- import A from "../../KvTabPanel.js";
9
- import C from "../../KvTabs.js";
10
- import T from "../../../utils/paramCase.js";
11
- import M from "../../KvMaterialIcon.js";
12
- const j = {
13
- components: {
14
- KvAccordionItem: h,
15
- KvTab: K,
16
- KvTabPanel: A,
17
- KvTabs: C,
18
- KvLendMenuCountryList: L,
19
- KvLendMenuSearchList: b,
20
- KvLoadingPlaceholder: g,
21
- KvMaterialIcon: M
22
- },
23
- props: {
24
- categories: {
25
- type: Array,
26
- default: () => []
27
- },
28
- favorites: {
29
- type: Number,
30
- default: 0
31
- },
32
- userId: {
33
- type: Number,
34
- default: null
35
- },
36
- regions: {
37
- type: Array,
38
- default: () => []
39
- },
40
- searches: {
41
- type: Array,
42
- default: () => []
43
- },
44
- isRegionsLoading: {
45
- type: Boolean,
46
- default: !0
47
- },
48
- isChannelsLoading: {
49
- type: Boolean,
50
- default: !0
51
- },
52
- showMGUpsellLink: {
53
- type: Boolean,
54
- default: !1
55
- },
56
- countriesNotLentToUrl: {
57
- type: String,
58
- default: "/lend/countries-not-lent"
59
- }
60
- },
61
- setup(f) {
62
- const a = t(null), n = t([]), i = t(null), c = y(() => f.searches.length > 0);
63
- return {
64
- mdiArrowRight: v,
65
- hasSearches: c,
66
- navLendCategories: a,
67
- regionAccordions: n,
68
- searchesLink: i,
69
- onClose: () => {
70
- var u, e, s, o, p, l, m;
71
- (s = (e = (u = a.value) == null ? void 0 : u.tabContext) == null ? void 0 : e.setTab) == null || s.call(e, 0), (p = (o = n.value) == null ? void 0 : o.forEach) == null || p.call(o, (r) => {
72
- var d;
73
- (d = r == null ? void 0 : r.collapse) == null || d.call(r);
74
- }), (m = (l = i.value) == null ? void 0 : l.collapse) == null || m.call(l);
75
- },
76
- paramCase: T
77
- };
78
- }
79
- };
80
- export {
81
- j as default
82
- };
@@ -1 +0,0 @@
1
- .menu-heading[data-v-3e49579c]{font-size:1rem;line-height:1.375em;font-weight:400}.region-list[data-v-3e49579c],.search-list[data-v-3e49579c]{-moz-column-fill:auto;column-fill:auto;-moz-columns:3;columns:3;gap:2rem}.mega-menu-link[data-v-3e49579c]{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-3e49579c]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}.link-item[data-v-3e49579c]{width:11rem;text-decoration-line:none}.link-item[data-v-3e49579c]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}