@kiva/kv-shop 3.8.32 → 3.8.34

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 +0,0 @@
1
- .header-fade-enter-active[data-v-919788a4]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.header-fade-leave-active[data-v-919788a4]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.header-fade-enter[data-v-919788a4],.header-fade-leave-to[data-v-919788a4]{opacity:0}.header-fade-leave[data-v-919788a4],.header-fade-enter-to[data-v-919788a4]{opacity:1}
@@ -1,17 +0,0 @@
1
- import "vue";
2
- import { gql as o } from "@apollo/client/core";
3
- /* empty css */
4
- import "@kiva/kv-tokens";
5
- import "./LinkBar2.js";
6
- /* empty css */
7
- o`
8
- query loanSearchSuggestions {
9
- lend {
10
- loanSearchSuggestions {
11
- group
12
- label
13
- query
14
- }
15
- }
16
- }
17
- `;
@@ -1 +0,0 @@
1
- .link-bar[data-v-80ce9639]{display:flex;align-items:center;gap:.5rem}.link-bar__logo[data-v-80ce9639]{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-80ce9639]{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-80ce9639]{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-80ce9639]{grid-area:lend}.link-bar__search[data-v-80ce9639]{grid-area:search;margin-bottom:.5rem}.link-bar__right[data-v-80ce9639]{grid-area:right;align-self:stretch}}@media(min-width:64rem){.link-bar[data-v-80ce9639]{-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-80ce9639]{margin-bottom:0}}@media(min-width:45.875rem){.link-bar--major-gifts[data-v-80ce9639]{grid-template-areas:"logo lend majorgifts right" "search search search search";grid-template-columns:1fr auto auto auto}}@media(min-width:64rem){.link-bar--major-gifts[data-v-80ce9639]{grid-template-areas:"logo lend majorgifts search right";grid-template-columns:auto auto auto 1fr auto}}.link-bar__major-gifts[data-v-80ce9639]{grid-area:majorgifts}.major-gifts-enter-active[data-v-80ce9639]{overflow:hidden;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}.major-gifts-enter-from[data-v-80ce9639]{opacity:0;max-width:0}.major-gifts-enter-to[data-v-80ce9639]{opacity:1;max-width:12rem}.header-link[data-v-80ce9639]{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-80ce9639]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}.menu-trigger[data-v-80ce9639]{border:0;background:none;font:inherit;cursor:pointer}.backdrop[data-v-80ce9639]{position:absolute;z-index:1300;top:var(--nav-height, 4rem);inset-inline:0;height:0;background-color:rgba(var(--bg-action-highlight),.5);visibility:hidden;opacity:0;transition:opacity var(--menu-close-fade) ease var(--menu-open-delay),visibility 0s calc(var(--menu-open-delay) + var(--menu-close-fade)),height 0s calc(var(--menu-open-delay) + var(--menu-close-fade))}.link-bar:has(.menu-group>[aria-expanded=true])>.backdrop[data-v-80ce9639],.link-bar[data-pointer=mouse]:has(.menu-group:hover)>.backdrop[data-v-80ce9639]{visibility:visible;opacity:1;height:100vh;transition:opacity .3s ease var(--menu-open-delay),visibility 0s var(--menu-open-delay),height 0s var(--menu-open-delay)}.chevron[data-v-80ce9639]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.menu-group:has(>[aria-expanded=true]) .chevron[data-v-80ce9639],[data-pointer=mouse] .menu-group:hover .chevron[data-v-80ce9639]{--tw-rotate: 180deg;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))}.link-bar__basket-count-loader[data-v-80ce9639]{width:1.5ch;height:1.375em;height:1lh}
@@ -1,12 +0,0 @@
1
- import { defineAsyncComponent as o } from "vue";
2
- import "@mdi/js";
3
- import "numeral";
4
- /* empty css */
5
- /* empty css */
6
- /* empty css */
7
- /* empty css */
8
- import "fuse.js";
9
- o(() => import("../KvWwwHeader/LendMenu/KvLendMenu.js"));
10
- o(() => import("./AboutMenu.js"));
11
- o(() => import("./MyKivaMenu.js"));
12
- o(() => import("./MobileMenu.js"));
@@ -1 +0,0 @@
1
- .lend-link[data-v-09a764b4]{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-09a764b4]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -1,61 +0,0 @@
1
- import p from "./CategoriesPanel2.js";
2
- import { resolveComponent as y, resolveDirective as g, openBlock as e, createElementBlock as l, Fragment as s, renderList as d, createElementVNode as a, createVNode as v, withDirectives as n, createTextVNode as c, toDisplayString as f } from "vue";
3
- import "./CategoriesPanel.css";
4
- import h from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const u = { class: "tw-font-medium" }, b = ["href"], w = { class: "tw-border-t tw-border-tertiary tw-mt-1" }, L = {
6
- href: "/lend-by-category/recommended-by-lenders",
7
- class: "lend-link tw-text-brand"
8
- }, N = {
9
- href: "/lend",
10
- class: "lend-link"
11
- }, T = {
12
- href: "/categories",
13
- class: "lend-link"
14
- };
15
- function A(C, r, i, x, D, _) {
16
- const m = y("kv-loading-placeholder"), o = g("kv-track-event");
17
- return e(), l("ul", u, [
18
- i.isChannelsLoading ? (e(), l(s, { key: 0 }, d(12, (t) => a("li", {
19
- key: t,
20
- class: "tw-py-1"
21
- }, [
22
- v(m, { style: { height: "1rem", width: "11rem" } })
23
- ])), 64)) : (e(!0), l(s, { key: 1 }, d(i.categories, (t, k) => (e(), l("li", {
24
- key: t.url
25
- }, [
26
- n((e(), l("a", {
27
- href: t.url,
28
- class: "lend-link"
29
- }, [
30
- c(f(t.name), 1)
31
- ], 8, b)), [
32
- [o, ["TopNav", "click-Lend-Category", t.name, k + 1]]
33
- ])
34
- ]))), 128)),
35
- a("li", w, [
36
- n((e(), l("a", L, r[0] || (r[0] = [
37
- c(" Recommended by lenders ")
38
- ]))), [
39
- [o, ["TopNav", "click-Lend-Recommended-by-lenders"]]
40
- ])
41
- ]),
42
- a("li", null, [
43
- n((e(), l("a", N, r[1] || (r[1] = [
44
- c(" All loans ")
45
- ]))), [
46
- [o, ["TopNav", "click-Lend-All_Loans"]]
47
- ])
48
- ]),
49
- a("li", null, [
50
- n((e(), l("a", T, r[2] || (r[2] = [
51
- c(" All categories ")
52
- ]))), [
53
- [o, ["TopNav", "click-Lend-All_Categories"]]
54
- ])
55
- ])
56
- ]);
57
- }
58
- const F = /* @__PURE__ */ h(p, [["render", A], ["__scopeId", "data-v-09a764b4"]]);
59
- export {
60
- F as default
61
- };
@@ -1,18 +0,0 @@
1
- import e from "../../KvLoadingPlaceholder.js";
2
- const o = {
3
- name: "CategoriesPanel",
4
- components: { KvLoadingPlaceholder: e },
5
- props: {
6
- categories: {
7
- type: Array,
8
- default: () => []
9
- },
10
- isChannelsLoading: {
11
- type: Boolean,
12
- default: !1
13
- }
14
- }
15
- };
16
- export {
17
- o as default
18
- };
@@ -1 +0,0 @@
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:500;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,102 +0,0 @@
1
- import T from "./MobileLendMenu2.js";
2
- import { resolveComponent as t, resolveDirective as _, openBlock as r, createElementBlock as N, createVNode as i, withCtx as o, createBlock as s, createCommentVNode as m, withDirectives as d, createTextVNode as g } from "vue";
3
- import "./MobileLendMenu.css";
4
- import y from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const L = { class: "tw-px-0 tw-pt-1.5 tw-pb-2" };
6
- function C(u, e, a, S, w, x) {
7
- const l = t("kv-tab"), v = t("categories-panel"), n = t("kv-tab-panel"), f = t("regions-panel"), b = t("my-kiva-panel"), h = t("search-panel"), k = t("kv-tabs"), c = _("kv-track-event");
8
- return r(), N("div", L, [
9
- i(k, { ref: "tabsRef" }, {
10
- tabNav: o(() => [
11
- d((r(), s(l, {
12
- "for-panel": "mobile-lend-categories",
13
- selected: ""
14
- }, {
15
- default: o(() => e[2] || (e[2] = [
16
- g(" Categories ")
17
- ])),
18
- _: 1
19
- })), [
20
- [c, ["TopNav", "click-Lend-Tab-Categories"]]
21
- ]),
22
- d((r(), s(l, { "for-panel": "mobile-lend-regions" }, {
23
- default: o(() => e[3] || (e[3] = [
24
- g(" Regions ")
25
- ])),
26
- _: 1
27
- })), [
28
- [c, ["TopNav", "click-Lend-Tab-Regions"]]
29
- ]),
30
- a.userId ? d((r(), s(l, {
31
- key: 0,
32
- "for-panel": "mobile-lend-my-kiva"
33
- }, {
34
- default: o(() => e[4] || (e[4] = [
35
- g(" MyKiva ")
36
- ])),
37
- _: 1
38
- })), [
39
- [c, ["TopNav", "click-Lend-Tab-My-Kiva"]]
40
- ]) : m("", !0),
41
- d((r(), s(l, { "for-panel": "mobile-lend-search" }, {
42
- default: o(() => e[5] || (e[5] = [
43
- g(" Search ")
44
- ])),
45
- _: 1
46
- })), [
47
- [c, ["TopNav", "click-Lend-Tab-Search"]]
48
- ])
49
- ]),
50
- tabPanels: o(() => [
51
- i(n, { id: "mobile-lend-categories" }, {
52
- default: o(() => [
53
- i(v, {
54
- categories: a.categories,
55
- "is-channels-loading": a.isChannelsLoading
56
- }, null, 8, ["categories", "is-channels-loading"])
57
- ]),
58
- _: 1
59
- }),
60
- i(n, { id: "mobile-lend-regions" }, {
61
- default: o(() => [
62
- i(f, {
63
- regions: a.regions,
64
- "is-regions-loading": a.isRegionsLoading
65
- }, null, 8, ["regions", "is-regions-loading"])
66
- ]),
67
- _: 1
68
- }),
69
- a.userId ? (r(), s(n, {
70
- key: 0,
71
- id: "mobile-lend-my-kiva"
72
- }, {
73
- default: o(() => [
74
- i(b, {
75
- "user-id": a.userId,
76
- favorites: a.favorites,
77
- searches: a.searches,
78
- "countries-not-lent-to-url": a.countriesNotLentToUrl
79
- }, null, 8, ["user-id", "favorites", "searches", "countries-not-lent-to-url"])
80
- ]),
81
- _: 1
82
- })) : m("", !0),
83
- i(n, { id: "mobile-lend-search" }, {
84
- default: o(() => [
85
- i(h, {
86
- "search-suggestions": a.searchSuggestions,
87
- "app-origin": a.appOrigin,
88
- onLoadSearchData: e[0] || (e[0] = (p) => u.$emit("load-search-data")),
89
- onSearchSubmit: e[1] || (e[1] = (p) => u.$emit("search-submit", p))
90
- }, null, 8, ["search-suggestions", "app-origin"])
91
- ]),
92
- _: 1
93
- })
94
- ]),
95
- _: 1
96
- }, 512)
97
- ]);
98
- }
99
- const V = /* @__PURE__ */ y(T, [["render", C], ["__scopeId", "data-v-972cda69"]]);
100
- export {
101
- V as default
102
- };
@@ -1,74 +0,0 @@
1
- import { ref as n } from "vue";
2
- import l from "../../KvTab.js";
3
- import s from "../../KvTabPanel.js";
4
- import i from "../../KvTabs.js";
5
- import u from "./CategoriesPanel.js";
6
- import p from "./RegionsPanel.js";
7
- import f from "./MyKivaPanel.js";
8
- import m from "./SearchPanel.js";
9
- const P = {
10
- name: "MobileLendMenu",
11
- components: {
12
- KvTab: l,
13
- KvTabPanel: s,
14
- KvTabs: i,
15
- CategoriesPanel: u,
16
- RegionsPanel: p,
17
- MyKivaPanel: f,
18
- SearchPanel: m
19
- },
20
- props: {
21
- categories: {
22
- type: Array,
23
- default: () => []
24
- },
25
- regions: {
26
- type: Array,
27
- default: () => []
28
- },
29
- userId: {
30
- type: Number,
31
- default: null
32
- },
33
- favorites: {
34
- type: Number,
35
- default: 0
36
- },
37
- searches: {
38
- type: Array,
39
- default: () => []
40
- },
41
- isChannelsLoading: {
42
- type: Boolean,
43
- default: !1
44
- },
45
- isRegionsLoading: {
46
- type: Boolean,
47
- default: !1
48
- },
49
- countriesNotLentToUrl: {
50
- type: String,
51
- default: "/lend/countries-not-lent"
52
- },
53
- searchSuggestions: {
54
- type: Array,
55
- default: () => []
56
- },
57
- appOrigin: {
58
- type: String,
59
- default: ""
60
- }
61
- },
62
- emits: ["load-search-data", "search-submit"],
63
- setup() {
64
- const t = n(null);
65
- function r() {
66
- var a, e, o;
67
- (o = (e = (a = t.value) == null ? void 0 : a.tabContext) == null ? void 0 : e.setTab) == null || o.call(e, 0);
68
- }
69
- return { tabsRef: t, onClose: r };
70
- }
71
- };
72
- export {
73
- P as default
74
- };
@@ -1 +0,0 @@
1
- .lend-link[data-v-3e8e871e]{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-3e8e871e]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -1,51 +0,0 @@
1
- import p from "./MyKivaPanel2.js";
2
- import { resolveComponent as o, resolveDirective as k, openBlock as t, createElementBlock as r, createElementVNode as s, withDirectives as n, createTextVNode as c, createVNode as i, withCtx as d } from "vue";
3
- import "./MyKivaPanel.css";
4
- import u from "../../../_virtual/_plugin-vue_export-helper.js";
5
- const f = { class: "tw-font-medium" }, w = ["href"], y = {
6
- key: 1,
7
- class: "tw-block tw-py-1 tw-text-tertiary"
8
- }, N = { key: 0 }, x = { key: 1 }, S = ["href"];
9
- function C(L, e, a, v, T, _) {
10
- const m = o("kv-lend-menu-search-list"), h = o("kv-accordion-item"), l = k("kv-track-event");
11
- return t(), r("ul", f, [
12
- s("li", null, [
13
- a.favorites > 0 ? n((t(), r("a", {
14
- key: 0,
15
- href: `/lend?lenderFavorite=${a.userId}`,
16
- class: "lend-link"
17
- }, e[0] || (e[0] = [
18
- c(" Saved loans ")
19
- ]), 8, w)), [
20
- [l, ["TopNav", "click-Lend-Favorites"]]
21
- ]) : (t(), r("span", y, "Saved loans"))
22
- ]),
23
- v.hasSearches ? (t(), r("li", N, [
24
- i(h, { id: "mobile-lend-menu-saved-searches-panel" }, {
25
- header: d(() => e[1] || (e[1] = [
26
- s("p", { class: "tw-font-medium" }, " Saved searches ", -1)
27
- ])),
28
- default: d(() => [
29
- i(m, { searches: a.searches }, null, 8, ["searches"])
30
- ]),
31
- _: 1
32
- })
33
- ])) : (t(), r("li", x, e[2] || (e[2] = [
34
- s("span", { class: "tw-block tw-py-1 tw-text-tertiary" }, "Saved searches", -1)
35
- ]))),
36
- s("li", null, [
37
- n((t(), r("a", {
38
- href: a.countriesNotLentToUrl,
39
- class: "lend-link"
40
- }, e[3] || (e[3] = [
41
- c(" Countries I haven't lent to ")
42
- ]), 8, S)), [
43
- [l, ["TopNav", "click-Lend-Countries_Not_Lent"]]
44
- ])
45
- ])
46
- ]);
47
- }
48
- const B = /* @__PURE__ */ u(p, [["render", C], ["__scopeId", "data-v-3e8e871e"]]);
49
- export {
50
- B as default
51
- };
@@ -1,31 +0,0 @@
1
- import { computed as t } from "vue";
2
- import r from "../../KvAccordionItem.js";
3
- import o from "../../KvWwwHeader/LendMenu/KvLendMenuSearchList.js";
4
- const u = {
5
- name: "MyKivaPanel",
6
- components: { KvAccordionItem: r, KvLendMenuSearchList: o },
7
- props: {
8
- userId: {
9
- type: Number,
10
- default: null
11
- },
12
- favorites: {
13
- type: Number,
14
- default: 0
15
- },
16
- searches: {
17
- type: Array,
18
- default: () => []
19
- },
20
- countriesNotLentToUrl: {
21
- type: String,
22
- default: "/lend/countries-not-lent"
23
- }
24
- },
25
- setup(e) {
26
- return { hasSearches: t(() => e.searches.length > 0) };
27
- }
28
- };
29
- export {
30
- u as default
31
- };
@@ -1,38 +0,0 @@
1
- import k from "./RegionsPanel2.js";
2
- import { resolveComponent as r, resolveDirective as v, openBlock as t, createElementBlock as n, Fragment as c, renderList as d, createVNode as o, withCtx as i, withDirectives as h, createBlock as g, createElementVNode as y, toDisplayString as f } from "vue";
3
- import w from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const x = { class: "tw-text-upper" };
5
- function B(C, D, a, s, L, b) {
6
- const m = r("kv-loading-placeholder"), l = r("kv-accordion-item"), p = r("kv-lend-menu-country-list"), u = v("kv-track-event");
7
- return t(), n("div", null, [
8
- a.isRegionsLoading ? (t(), n(c, { key: 0 }, d(8, (e) => o(l, {
9
- id: `regions-panel-placeholder-${e}`,
10
- key: e,
11
- disabled: !0
12
- }, {
13
- header: i(() => [
14
- o(m, { style: { height: "1rem", width: "8rem" } })
15
- ]),
16
- _: 2
17
- }, 1032, ["id"])), 64)) : (t(!0), n(c, { key: 1 }, d(a.regions, (e) => h((t(), g(l, {
18
- id: `mobile-lend-menu-${s.paramCase(e.name)}-panel`,
19
- key: e.name
20
- }, {
21
- header: i(() => [
22
- y("h3", x, f(e.name), 1)
23
- ]),
24
- default: i(() => [
25
- o(p, {
26
- countries: e.countries
27
- }, null, 8, ["countries"])
28
- ]),
29
- _: 2
30
- }, 1032, ["id"])), [
31
- [u, ["TopNav", "click-Lend-Region", e.name]]
32
- ])), 128))
33
- ]);
34
- }
35
- const E = /* @__PURE__ */ w(k, [["render", B]]);
36
- export {
37
- E as default
38
- };
@@ -1,24 +0,0 @@
1
- import o from "../../KvAccordionItem.js";
2
- import e from "../../KvLoadingPlaceholder.js";
3
- import r from "../../KvWwwHeader/LendMenu/KvLendMenuCountryList.js";
4
- import t from "../../../utils/paramCase.js";
5
- const m = {
6
- name: "RegionsPanel",
7
- components: { KvAccordionItem: o, KvLoadingPlaceholder: e, KvLendMenuCountryList: r },
8
- props: {
9
- regions: {
10
- type: Array,
11
- default: () => []
12
- },
13
- isRegionsLoading: {
14
- type: Boolean,
15
- default: !1
16
- }
17
- },
18
- setup() {
19
- return { paramCase: t };
20
- }
21
- };
22
- export {
23
- m as default
24
- };
@@ -1,18 +0,0 @@
1
- import i from "./SearchPanel2.js";
2
- import { resolveComponent as t, openBlock as n, createBlock as c } from "vue";
3
- import p from "../../../_virtual/_plugin-vue_export-helper.js";
4
- function m(e, r, o, u, h, l) {
5
- const s = t("search-bar");
6
- return n(), c(s, {
7
- "search-suggestions": o.searchSuggestions,
8
- "app-origin": o.appOrigin,
9
- "input-id": "kv-www-header-basic-search-mobile",
10
- "is-mobile": "",
11
- onLoadSearchData: r[0] || (r[0] = (a) => e.$emit("load-search-data")),
12
- onSearchSubmit: r[1] || (r[1] = (a) => e.$emit("search-submit", a))
13
- }, null, 8, ["search-suggestions", "app-origin"]);
14
- }
15
- const f = /* @__PURE__ */ p(i, [["render", m]]);
16
- export {
17
- f as default
18
- };
@@ -1,19 +0,0 @@
1
- import a from "../SearchBar.js";
2
- const r = {
3
- name: "SearchPanel",
4
- components: { SearchBar: a },
5
- props: {
6
- searchSuggestions: {
7
- type: Array,
8
- default: () => []
9
- },
10
- appOrigin: {
11
- type: String,
12
- default: ""
13
- }
14
- },
15
- emits: ["load-search-data", "search-submit"]
16
- };
17
- export {
18
- r as default
19
- };
@@ -1 +0,0 @@
1
- .mobile-link[data-v-25fdcfb3]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-25fdcfb3]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}#header-basic-mobile-about-container[data-v-25fdcfb3] button{padding-top:0;padding-bottom:0}#header-basic-mobile-about-container[data-v-25fdcfb3] nav{padding-bottom:0}.about-accordion[data-v-25fdcfb3] nav{margin-top:.75rem}.about-accordion[data-v-25fdcfb3] nav a{margin-left:1rem}
@@ -1,59 +0,0 @@
1
- import u from "./MobileMenu2.js";
2
- import { resolveComponent as n, openBlock as r, createElementBlock as a, createVNode as c, withCtx as s, createElementVNode as o, toDisplayString as w, createCommentVNode as f } from "vue";
3
- import "./MobileMenu.css";
4
- import d from "../../_virtual/_plugin-vue_export-helper.js";
5
- const p = {
6
- id: "header-basic-mobile-about-container",
7
- class: "tw-flex tw-flex-col tw-items-stretch tw-font-medium tw-p-2.5 md:tw-hidden"
8
- }, b = {
9
- "aria-label": "Mobile menu",
10
- class: "tw-flex tw-flex-col tw-gap-3 tw-pt-2.5"
11
- }, h = ["href"];
12
- function C(x, e, l, t, g, v) {
13
- const k = n("about-menu"), m = n("kv-accordion-item");
14
- return r(), a("div", p, [
15
- c(m, {
16
- id: "kv-www-header-basic-about",
17
- class: "about-accordion tw-w-full tw-border-b-0",
18
- onToggle: t.onAboutToggle
19
- }, {
20
- header: s(() => e[4] || (e[4] = [
21
- o("span", { class: "tw-text-title tw-pb-0.5" }, " About ", -1)
22
- ])),
23
- default: s(() => [
24
- c(k, {
25
- "is-mobile": "",
26
- onClosingMenu: t.onClose
27
- }, null, 8, ["onClosingMenu"])
28
- ]),
29
- _: 1
30
- }, 8, ["onToggle"]),
31
- o("nav", b, [
32
- o("a", {
33
- href: "/about/partner-with-us",
34
- class: "mobile-link tw-text-title",
35
- onClick: e[0] || (e[0] = (i) => t.onLinkClick("click-Partner"))
36
- }, "Partner with us"),
37
- o("a", {
38
- href: "/donate/supportus",
39
- class: "mobile-link tw-text-title",
40
- onClick: e[1] || (e[1] = (i) => t.onLinkClick("click-Support-Kiva"))
41
- }, w(l.showMajorGiftsExp ? "Give" : "Support Kiva"), 1),
42
- l.showMajorGiftsExp ? (r(), a("a", {
43
- key: 0,
44
- href: t.majorGiftsLink.href,
45
- class: "mobile-link tw-text-title",
46
- onClick: e[2] || (e[2] = (i) => t.onLinkClick(t.majorGiftsLink.track[1]))
47
- }, w(t.majorGiftsLink.label), 9, h)) : f("", !0),
48
- o("a", {
49
- href: "/borrow",
50
- class: "mobile-link tw-text-title",
51
- onClick: e[3] || (e[3] = (i) => t.onLinkClick("click-Borrow"))
52
- }, "Borrow")
53
- ])
54
- ]);
55
- }
56
- const B = /* @__PURE__ */ d(u, [["render", C], ["__scopeId", "data-v-25fdcfb3"]]);
57
- export {
58
- B as default
59
- };
@@ -1,49 +0,0 @@
1
- import { inject as u } from "vue";
2
- import r from "../KvAccordionItem.js";
3
- import { MAJOR_GIFTS_LINK as a } from "../../utils/headerNavLinks.js";
4
- import s from "./AboutMenu.js";
5
- const d = {
6
- name: "MobileMenu",
7
- components: { KvAccordionItem: r, AboutMenu: s },
8
- props: {
9
- loggedIn: {
10
- type: Boolean,
11
- default: !1
12
- },
13
- loginUrl: {
14
- type: String,
15
- default: "/ui-login"
16
- },
17
- isMobile: {
18
- type: Boolean,
19
- default: !1
20
- },
21
- showMajorGiftsExp: {
22
- type: Boolean,
23
- default: !1
24
- }
25
- },
26
- emits: ["closing-menu"],
27
- setup(f, { emit: e }) {
28
- const n = u("$kvTrackEvent", () => {
29
- });
30
- function t() {
31
- e("closing-menu");
32
- }
33
- function i({ open: o }) {
34
- o && n("TopNav", "hover-About-menu", "About");
35
- }
36
- function l(o) {
37
- n("TopNav", o), e("closing-menu");
38
- }
39
- return {
40
- majorGiftsLink: a,
41
- onClose: t,
42
- onAboutToggle: i,
43
- onLinkClick: l
44
- };
45
- }
46
- };
47
- export {
48
- d as default
49
- };
@@ -1 +0,0 @@
1
- [data-v-7b004666] a{padding-top:.5rem;padding-bottom:.5rem}