@kiva/kv-components 7.6.3 → 8.0.0
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.
- package/.eslintignore +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +236 -216
- package/dist/utils/Alea.d.ts +9 -0
- package/dist/utils/Alea.js +23 -23
- package/dist/utils/arrayUtils.d.ts +3 -0
- package/dist/utils/arrayUtils.js +1 -1
- package/dist/utils/attrs.d.ts +6 -0
- package/dist/utils/carousels.d.ts +21 -0
- package/dist/utils/comparators.d.ts +3 -0
- package/dist/utils/comparators.js +20 -6
- package/dist/utils/debounce.d.ts +1 -0
- package/dist/utils/debounce.js +4 -4
- package/dist/utils/event.d.ts +1 -0
- package/dist/utils/event.js +7 -0
- package/dist/utils/expander.d.ts +14 -0
- package/dist/utils/imageUtils.d.ts +11 -0
- package/dist/utils/imageUtils.js +12 -12
- package/dist/utils/index.d.ts +21 -0
- package/dist/utils/loanCard.d.ts +35 -0
- package/dist/utils/loanCard.js +2 -2
- package/dist/utils/loanSearch/queryParamUtils.d.ts +1 -0
- package/dist/utils/loanUtils.d.ts +11 -0
- package/dist/utils/loanUtils.js +56 -53
- package/dist/utils/mapUtils.d.ts +5 -0
- package/dist/utils/markMatches.d.ts +1 -0
- package/dist/utils/paramCase.d.ts +1 -0
- package/dist/utils/printing.d.ts +2 -0
- package/dist/utils/scrollLock.d.ts +4 -0
- package/dist/utils/themeUtils.d.ts +12 -0
- package/dist/utils/throttle.d.ts +1 -0
- package/dist/utils/throttle.js +4 -4
- package/dist/utils/touchEvents.d.ts +3 -0
- package/dist/utils/touchEvents.js +9 -9
- package/dist/utils/treemap.d.ts +16 -0
- package/dist/utils/treemap.js +1 -1
- package/dist/vue/KvAccordionItem.js +28 -82
- package/dist/vue/KvAccordionItem.vue.d.ts +107 -0
- package/dist/vue/KvAccordionItem2.js +60 -0
- package/dist/vue/KvActivityRow.js +11 -22
- package/dist/vue/KvActivityRow.vue.d.ts +66 -0
- package/dist/vue/KvActivityRow2.js +16 -0
- package/dist/vue/KvAtbModal.css +1 -1
- package/dist/vue/KvAtbModal.js +68 -248
- package/dist/vue/KvAtbModal.vue.d.ts +359 -0
- package/dist/vue/KvAtbModal2.js +186 -0
- package/dist/vue/KvBorrowerImage.js +17 -118
- package/dist/vue/KvBorrowerImage.vue.d.ts +62 -0
- package/dist/vue/KvBorrowerImage2.js +106 -0
- package/dist/vue/KvButton.js +20 -164
- package/dist/vue/KvButton.vue.d.ts +94 -0
- package/dist/vue/KvButton2.js +149 -0
- package/dist/vue/KvCardFrame.js +12 -74
- package/dist/vue/KvCardFrame.vue.d.ts +86 -0
- package/dist/vue/KvCardFrame2.js +67 -0
- package/dist/vue/KvCarousel.css +1 -1
- package/dist/vue/KvCarousel.js +55 -192
- package/dist/vue/KvCarousel.vue.d.ts +135 -0
- package/dist/vue/KvCarousel2.js +142 -0
- package/dist/vue/KvCartModal.css +1 -1
- package/dist/vue/KvCartModal.js +31 -131
- package/dist/vue/KvCartModal.vue.d.ts +163 -0
- package/dist/vue/KvCartModal2.js +106 -0
- package/dist/vue/KvCartPill.js +12 -51
- package/dist/vue/KvCartPill.vue.d.ts +52 -0
- package/dist/vue/KvCartPill2.js +45 -0
- package/dist/vue/KvCheckbox.css +1 -1
- package/dist/vue/KvCheckbox.js +30 -126
- package/dist/vue/KvCheckbox.vue.d.ts +90 -0
- package/dist/vue/KvCheckbox2.js +102 -0
- package/dist/vue/KvCheckoutReceipt.css +1 -1
- package/dist/vue/KvCheckoutReceipt.js +120 -199
- package/dist/vue/KvCheckoutReceipt.vue.d.ts +164 -0
- package/dist/vue/KvCheckoutReceipt2.js +85 -0
- package/dist/vue/KvChip.js +12 -29
- package/dist/vue/KvChip.vue.d.ts +22 -0
- package/dist/vue/KvChip2.js +22 -0
- package/dist/vue/KvClassicLoanCard.css +1 -1
- package/dist/vue/KvClassicLoanCard.js +83 -351
- package/dist/vue/KvClassicLoanCard.vue.d.ts +2120 -0
- package/dist/vue/KvClassicLoanCard2.js +281 -0
- package/dist/vue/KvCommentsAdd.css +1 -1
- package/dist/vue/KvCommentsAdd.js +34 -81
- package/dist/vue/KvCommentsAdd.vue.d.ts +296 -0
- package/dist/vue/KvCommentsAdd2.js +57 -0
- package/dist/vue/KvCommentsContainer.js +15 -66
- package/dist/vue/KvCommentsContainer.vue.d.ts +954 -0
- package/dist/vue/KvCommentsContainer2.js +58 -0
- package/dist/vue/KvCommentsHeartButton.css +1 -1
- package/dist/vue/KvCommentsHeartButton.js +12 -51
- package/dist/vue/KvCommentsHeartButton.vue.d.ts +42 -0
- package/dist/vue/KvCommentsHeartButton2.js +44 -0
- package/dist/vue/KvCommentsList.js +9 -51
- package/dist/vue/KvCommentsList.vue.d.ts +619 -0
- package/dist/vue/KvCommentsList2.js +46 -0
- package/dist/vue/KvCommentsListItem.js +62 -186
- package/dist/vue/KvCommentsListItem.vue.d.ts +571 -0
- package/dist/vue/KvCommentsListItem2.js +135 -0
- package/dist/vue/KvCommentsReplyButton.css +1 -1
- package/dist/vue/KvCommentsReplyButton.js +8 -17
- package/dist/vue/KvCommentsReplyButton.vue.d.ts +98 -0
- package/dist/vue/KvCommentsReplyButton2.js +13 -0
- package/dist/vue/KvCompactLoanCard.css +1 -1
- package/dist/vue/KvCompactLoanCard.js +71 -327
- package/dist/vue/KvCompactLoanCard.vue.d.ts +1272 -0
- package/dist/vue/KvCompactLoanCard2.js +269 -0
- package/dist/vue/KvContentfulImg.js +51 -164
- package/dist/vue/KvContentfulImg.vue.d.ts +107 -0
- package/dist/vue/KvContentfulImg2.js +119 -0
- package/dist/vue/KvCountdownTimer.js +8 -28
- package/dist/vue/KvCountdownTimer.vue.d.ts +15 -0
- package/dist/vue/KvCountdownTimer2.js +26 -0
- package/dist/vue/KvDatePicker.js +21 -101
- package/dist/vue/KvDatePicker.vue.d.ts +58 -0
- package/dist/vue/KvDatePicker2.js +86 -0
- package/dist/vue/KvExpandable.js +9 -56
- package/dist/vue/KvExpandable.vue.d.ts +53 -0
- package/dist/vue/KvExpandable2.js +52 -0
- package/dist/vue/KvExpandableQuestion.js +23 -82
- package/dist/vue/KvExpandableQuestion.vue.d.ts +124 -0
- package/dist/vue/KvExpandableQuestion2.js +65 -0
- package/dist/vue/KvFlag.css +1 -1
- package/dist/vue/KvFlag.js +16 -617
- package/dist/vue/KvFlag.vue.d.ts +66 -0
- package/dist/vue/KvFlag2.js +606 -0
- package/dist/vue/KvGrid.js +7 -18
- package/dist/vue/KvGrid.vue.d.ts +14 -0
- package/dist/vue/KvGrid2.js +15 -0
- package/dist/vue/KvIconBag.js +12 -18
- package/dist/vue/KvIconBag.vue.d.ts +14 -0
- package/dist/vue/KvIconBag2.js +11 -0
- package/dist/vue/KvImpactDashboardHeader.vue.d.ts +17 -0
- package/dist/vue/KvImpactVerticalSelector.js +31 -110
- package/dist/vue/KvImpactVerticalSelector.vue.d.ts +278 -0
- package/dist/vue/KvImpactVerticalSelector2.js +85 -0
- package/dist/vue/KvInlineActivityCard.js +15 -44
- package/dist/vue/KvInlineActivityCard.vue.d.ts +71 -0
- package/dist/vue/KvInlineActivityCard2.js +35 -0
- package/dist/vue/KvInlineActivityFeed.css +1 -1
- package/dist/vue/KvInlineActivityFeed.js +11 -23
- package/dist/vue/KvInlineActivityFeed.vue.d.ts +85 -0
- package/dist/vue/KvInlineActivityFeed2.js +17 -0
- package/dist/vue/KvIntroductionLoanCard.css +1 -1
- package/dist/vue/KvIntroductionLoanCard.js +111 -309
- package/dist/vue/KvIntroductionLoanCard.vue.d.ts +617 -0
- package/dist/vue/KvIntroductionLoanCard2.js +209 -0
- package/dist/vue/KvLendAmountButton.js +9 -53
- package/dist/vue/KvLendAmountButton.vue.d.ts +140 -0
- package/dist/vue/KvLendAmountButton2.js +48 -0
- package/dist/vue/KvLendCta.css +1 -1
- package/dist/vue/KvLendCta.js +150 -530
- package/dist/vue/KvLendCta.vue.d.ts +583 -0
- package/dist/vue/KvLendCta2.js +387 -0
- package/dist/vue/KvLightbox.js +37 -148
- package/dist/vue/KvLightbox.vue.d.ts +77 -0
- package/dist/vue/KvLightbox2.js +117 -0
- package/dist/vue/KvLineGraph.js +25 -58
- package/dist/vue/KvLineGraph.vue.d.ts +35 -0
- package/dist/vue/KvLineGraph2.js +39 -0
- package/dist/vue/KvLoadingPlaceholder.vue.d.ts +2 -0
- package/dist/vue/KvLoadingSpinner.js +9 -34
- package/dist/vue/KvLoadingSpinner.vue.d.ts +27 -0
- package/dist/vue/KvLoadingSpinner2.js +29 -0
- package/dist/vue/KvLoanActivities.css +1 -1
- package/dist/vue/KvLoanActivities.js +37 -179
- package/dist/vue/KvLoanActivities.vue.d.ts +853 -0
- package/dist/vue/KvLoanActivities2.js +151 -0
- package/dist/vue/KvLoanBookmark.js +14 -40
- package/dist/vue/KvLoanBookmark.vue.d.ts +32 -0
- package/dist/vue/KvLoanBookmark2.js +32 -0
- package/dist/vue/KvLoanCallouts.css +1 -1
- package/dist/vue/KvLoanCallouts.js +10 -17
- package/dist/vue/KvLoanCallouts.vue.d.ts +18 -0
- package/dist/vue/KvLoanCallouts2.js +12 -0
- package/dist/vue/KvLoanInfoCard.js +20 -19
- package/dist/vue/KvLoanProgressGroup.css +1 -1
- package/dist/vue/KvLoanProgressGroup.js +18 -57
- package/dist/vue/KvLoanProgressGroup.vue.d.ts +108 -0
- package/dist/vue/KvLoanProgressGroup2.js +44 -0
- package/dist/vue/KvLoanTag.js +15 -103
- package/dist/vue/KvLoanTag.vue.d.ts +46 -0
- package/dist/vue/KvLoanTag2.js +94 -0
- package/dist/vue/KvLoanTeamPick.vue.d.ts +2 -0
- package/dist/vue/KvLoanUse.js +12 -100
- package/dist/vue/KvLoanUse.vue.d.ts +120 -0
- package/dist/vue/KvLoanUse2.js +95 -0
- package/dist/vue/KvLogo.vue.d.ts +2 -0
- package/dist/vue/KvMap.js +13 -381
- package/dist/vue/KvMap.vue.d.ts +213 -0
- package/dist/vue/KvMap2.js +376 -0
- package/dist/vue/KvMaterialIcon.js +10 -20
- package/dist/vue/KvMaterialIcon.vue.d.ts +14 -0
- package/dist/vue/KvMaterialIcon2.js +15 -0
- package/dist/vue/KvPageContainer.js +9 -8
- package/dist/vue/KvPageContainer.vue.d.ts +2 -0
- package/dist/vue/KvPageContainer2.js +4 -0
- package/dist/vue/KvPagination.js +38 -138
- package/dist/vue/KvPagination.vue.d.ts +107 -0
- package/dist/vue/KvPagination2.js +105 -0
- package/dist/vue/KvPieChart.css +1 -1
- package/dist/vue/KvPieChart.js +49 -128
- package/dist/vue/KvPieChart.vue.d.ts +47 -0
- package/dist/vue/KvPieChart2.js +85 -0
- package/dist/vue/KvPill.js +9 -19
- package/dist/vue/KvPill.vue.d.ts +23 -0
- package/dist/vue/KvPill2.js +15 -0
- package/dist/vue/KvPopper.js +14 -122
- package/dist/vue/KvPopper.vue.d.ts +80 -0
- package/dist/vue/KvPopper2.js +113 -0
- package/dist/vue/KvProgressBar.js +17 -112
- package/dist/vue/KvProgressBar.vue.d.ts +70 -0
- package/dist/vue/KvProgressBar2.js +101 -0
- package/dist/vue/KvPulsingDot.css +1 -1
- package/dist/vue/KvPulsingDot.js +11 -25
- package/dist/vue/KvPulsingDot.vue.d.ts +23 -0
- package/dist/vue/KvPulsingDot2.js +19 -0
- package/dist/vue/KvRadio.js +23 -106
- package/dist/vue/KvRadio.vue.d.ts +62 -0
- package/dist/vue/KvRadio2.js +89 -0
- package/dist/vue/KvSecondaryNav.css +1 -1
- package/dist/vue/KvSecondaryNav.js +46 -122
- package/dist/vue/KvSecondaryNav.vue.d.ts +117 -0
- package/dist/vue/KvSecondaryNav2.js +82 -0
- package/dist/vue/KvSelect.css +1 -1
- package/dist/vue/KvSelect.js +18 -78
- package/dist/vue/KvSelect.vue.d.ts +58 -0
- package/dist/vue/KvSelect2.js +66 -0
- package/dist/vue/KvSideSheet.js +44 -262
- package/dist/vue/KvSideSheet.vue.d.ts +136 -0
- package/dist/vue/KvSideSheet2.js +224 -0
- package/dist/vue/KvSwitch.js +23 -76
- package/dist/vue/KvSwitch.vue.d.ts +34 -0
- package/dist/vue/KvSwitch2.js +59 -0
- package/dist/vue/KvTab.js +15 -57
- package/dist/vue/KvTab.vue.d.ts +34 -0
- package/dist/vue/KvTab2.js +48 -0
- package/dist/vue/KvTabPanel.js +14 -36
- package/dist/vue/KvTabPanel.vue.d.ts +14 -0
- package/dist/vue/KvTabPanel2.js +28 -0
- package/dist/vue/KvTabs.js +21 -75
- package/dist/vue/KvTabs.vue.d.ts +22 -0
- package/dist/vue/KvTabs2.js +60 -0
- package/dist/vue/KvTextInput.js +28 -148
- package/dist/vue/KvTextInput.vue.d.ts +105 -0
- package/dist/vue/KvTextInput2.js +126 -0
- package/dist/vue/KvTextLink.js +13 -76
- package/dist/vue/KvTextLink.vue.d.ts +64 -0
- package/dist/vue/KvTextLink2.js +68 -0
- package/dist/vue/KvThemeProvider.js +8 -59
- package/dist/vue/KvThemeProvider.vue.d.ts +23 -0
- package/dist/vue/KvThemeProvider2.js +55 -0
- package/dist/vue/KvToast.js +32 -69
- package/dist/vue/KvToast.vue.d.ts +31 -0
- package/dist/vue/KvToast2.js +43 -0
- package/dist/vue/KvTooltip.css +1 -1
- package/dist/vue/KvTooltip.js +27 -123
- package/dist/vue/KvTooltip.vue.d.ts +2 -0
- package/dist/vue/KvTooltip2.js +103 -0
- package/dist/vue/KvTreeMapChart.css +1 -1
- package/dist/vue/KvTreeMapChart.js +28 -156
- package/dist/vue/KvTreeMapChart.vue.d.ts +60 -0
- package/dist/vue/KvTreeMapChart2.js +133 -0
- package/dist/vue/KvUserAvatar.js +28 -110
- package/dist/vue/KvUserAvatar.vue.d.ts +55 -0
- package/dist/vue/KvUserAvatar2.js +88 -0
- package/dist/vue/KvUtilityMenu.js +19 -95
- package/dist/vue/KvUtilityMenu.vue.d.ts +104 -0
- package/dist/vue/KvUtilityMenu2.js +81 -0
- package/dist/vue/KvVerticalCarousel.js +40 -137
- package/dist/vue/KvVerticalCarousel.vue.d.ts +90 -0
- package/dist/vue/KvVerticalCarousel2.js +103 -0
- package/dist/vue/KvVotingCard.css +1 -1
- package/dist/vue/KvVotingCard.js +31 -88
- package/dist/vue/KvVotingCard.vue.d.ts +249 -0
- package/dist/vue/KvVotingCard2.js +63 -0
- package/dist/vue/KvVotingCardV2.js +35 -90
- package/dist/vue/KvVotingCardV2.vue.d.ts +308 -0
- package/dist/vue/KvVotingCardV22.js +61 -0
- package/dist/vue/KvWideLoanCard.css +1 -1
- package/dist/vue/KvWideLoanCard.js +66 -274
- package/dist/vue/KvWideLoanCard.vue.d.ts +1191 -0
- package/dist/vue/KvWideLoanCard2.js +220 -0
- package/dist/vue/KvWwwHeader/KvHeaderAboutMenu.js +34 -38
- package/dist/vue/KvWwwHeader/KvHeaderAboutMenu.vue.d.ts +20 -0
- package/dist/vue/KvWwwHeader/KvHeaderAboutMenu2.js +9 -0
- package/dist/vue/KvWwwHeader/KvHeaderDropdownLink.js +20 -83
- package/dist/vue/KvWwwHeader/KvHeaderDropdownLink.vue.d.ts +91 -0
- package/dist/vue/KvWwwHeader/KvHeaderDropdownLink2.js +69 -0
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.css +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +77 -248
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.vue.d.ts +1071 -0
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js +178 -0
- package/dist/vue/KvWwwHeader/KvHeaderLogo.js +8 -12
- package/dist/vue/KvWwwHeader/KvHeaderLogo.vue.d.ts +4 -0
- package/dist/vue/KvWwwHeader/KvHeaderLogo2.js +9 -0
- package/dist/vue/KvWwwHeader/KvHeaderMenuLink.vue.d.ts +17 -0
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.css +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +37 -91
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.vue.d.ts +162 -0
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu2.js +59 -0
- package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +36 -58
- package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.vue.d.ts +59 -0
- package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu2.js +27 -0
- package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +20 -24
- package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.vue.d.ts +20 -0
- package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu2.js +9 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.css +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +105 -181
- package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.vue.d.ts +319 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu2.js +82 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.css +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +93 -173
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.vue.d.ts +166 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu2.js +86 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.js +17 -157
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.vue.d.ts +506 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu2.js +145 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.css +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.js +11 -18
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.vue.d.ts +20 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList2.js +12 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.js +10 -16
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.vue.d.ts +20 -0
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList2.js +11 -0
- package/dist/vue/KvWwwHeader.css +1 -1
- package/dist/vue/KvWwwHeader.js +35 -148
- package/dist/vue/KvWwwHeader.vue.d.ts +4430 -0
- package/dist/vue/KvWwwHeader2.js +119 -0
- package/dist/vue/index.d.ts +86 -0
- package/package.json +34 -32
- package/tsconfig.json +32 -0
- package/vite.config.ts +84 -0
|
@@ -0,0 +1,59 @@
|
|
|
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,103 +1,81 @@
|
|
|
1
|
-
import d from "./
|
|
2
|
-
import { resolveComponent as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type: Number,
|
|
11
|
-
default: 0
|
|
12
|
-
},
|
|
13
|
-
isBorrower: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
default: !1
|
|
16
|
-
},
|
|
17
|
-
isTrustee: {
|
|
18
|
-
type: Boolean,
|
|
19
|
-
default: !1
|
|
20
|
-
},
|
|
21
|
-
myDashboardUrl: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: "/mykiva"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}, w = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
|
|
27
|
-
function y(c, o, n, b, T, N) {
|
|
28
|
-
const e = u("kv-header-menu-link"), r = m("kv-track-event");
|
|
29
|
-
return t(), p("nav", w, [
|
|
30
|
-
a((t(), i(e, {
|
|
31
|
-
href: n.myDashboardUrl,
|
|
1
|
+
import d from "./KvHeaderMyKivaMenu2.js";
|
|
2
|
+
import { resolveComponent as m, resolveDirective as u, openBlock as t, createElementBlock as v, withDirectives as i, createBlock as l, withCtx as s, createTextVNode as a, createCommentVNode as n } from "vue";
|
|
3
|
+
import k 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(c, o, f, y, T, b) {
|
|
6
|
+
const e = m("kv-header-menu-link"), r = u("kv-track-event");
|
|
7
|
+
return t(), v("nav", p, [
|
|
8
|
+
i((t(), l(e, {
|
|
9
|
+
href: f.myDashboardUrl,
|
|
32
10
|
class: "md:tw-hidden"
|
|
33
11
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
|
|
12
|
+
default: s(() => o[0] || (o[0] = [
|
|
13
|
+
a(" My Dashboard ")
|
|
36
14
|
])),
|
|
37
15
|
_: 1
|
|
38
16
|
}, 8, ["href"])), [
|
|
39
17
|
[r, ["TopNav", "click-Dashboard"]]
|
|
40
18
|
]),
|
|
41
|
-
|
|
42
|
-
default:
|
|
43
|
-
|
|
19
|
+
i((t(), l(e, { href: "/portfolio" }, {
|
|
20
|
+
default: s(() => o[1] || (o[1] = [
|
|
21
|
+
a(" Portfolio ")
|
|
44
22
|
])),
|
|
45
23
|
_: 1
|
|
46
24
|
})), [
|
|
47
25
|
[r, ["TopNav", "click-Portfolio-Portfolio"]]
|
|
48
26
|
]),
|
|
49
|
-
|
|
50
|
-
default:
|
|
51
|
-
|
|
27
|
+
i((t(), l(e, { href: "/teams/my-teams" }, {
|
|
28
|
+
default: s(() => o[2] || (o[2] = [
|
|
29
|
+
a(" My Teams ")
|
|
52
30
|
])),
|
|
53
31
|
_: 1
|
|
54
32
|
})), [
|
|
55
33
|
[r, ["TopNav", "click-Portfolio-My teams"]]
|
|
56
34
|
]),
|
|
57
|
-
|
|
58
|
-
default:
|
|
59
|
-
|
|
35
|
+
i((t(), l(e, { href: "/portfolio/donations" }, {
|
|
36
|
+
default: s(() => o[3] || (o[3] = [
|
|
37
|
+
a(" Donations ")
|
|
60
38
|
])),
|
|
61
39
|
_: 1
|
|
62
40
|
})), [
|
|
63
41
|
[r, ["TopNav", "click-Portfolio-Donations"]]
|
|
64
42
|
]),
|
|
65
|
-
|
|
66
|
-
default:
|
|
67
|
-
|
|
43
|
+
i((t(), l(e, { href: "/settings" }, {
|
|
44
|
+
default: s(() => o[4] || (o[4] = [
|
|
45
|
+
a(" Settings ")
|
|
68
46
|
])),
|
|
69
47
|
_: 1
|
|
70
48
|
})), [
|
|
71
49
|
[r, ["TopNav", "click-Portfolio-Settings"]]
|
|
72
50
|
]),
|
|
73
|
-
|
|
51
|
+
f.isBorrower ? i((t(), l(e, {
|
|
74
52
|
key: 0,
|
|
75
53
|
href: "/my/borrower"
|
|
76
54
|
}, {
|
|
77
|
-
default:
|
|
78
|
-
|
|
55
|
+
default: s(() => o[5] || (o[5] = [
|
|
56
|
+
a(" Borrower Dashboard ")
|
|
79
57
|
])),
|
|
80
58
|
_: 1
|
|
81
59
|
})), [
|
|
82
60
|
[r, ["TopNav", "click-Portfolio-My borrower dashboard"]]
|
|
83
|
-
]) :
|
|
84
|
-
|
|
61
|
+
]) : n("", !0),
|
|
62
|
+
f.isTrustee ? i((t(), l(e, {
|
|
85
63
|
key: 1,
|
|
86
64
|
href: "/my/trustee"
|
|
87
65
|
}, {
|
|
88
|
-
default:
|
|
89
|
-
|
|
66
|
+
default: s(() => o[6] || (o[6] = [
|
|
67
|
+
a(" Trustee Dashboard ")
|
|
90
68
|
])),
|
|
91
69
|
_: 1
|
|
92
70
|
})), [
|
|
93
71
|
[r, ["TopNav", "click-Portfolio-My Trustee dashboard"]]
|
|
94
|
-
]) :
|
|
95
|
-
|
|
72
|
+
]) : n("", !0),
|
|
73
|
+
i((t(), l(e, {
|
|
96
74
|
href: "/ui-logout",
|
|
97
75
|
class: "tw-border-t tw-border-secondary tw-w-full"
|
|
98
76
|
}, {
|
|
99
|
-
default:
|
|
100
|
-
|
|
77
|
+
default: s(() => o[7] || (o[7] = [
|
|
78
|
+
a(" Sign out ")
|
|
101
79
|
])),
|
|
102
80
|
_: 1
|
|
103
81
|
})), [
|
|
@@ -105,7 +83,7 @@ function y(c, o, n, b, T, N) {
|
|
|
105
83
|
])
|
|
106
84
|
]);
|
|
107
85
|
}
|
|
108
|
-
const
|
|
86
|
+
const P = /* @__PURE__ */ k(d, [["render", w]]);
|
|
109
87
|
export {
|
|
110
|
-
|
|
88
|
+
P as default
|
|
111
89
|
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
balance: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
isBorrower: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
isTrustee: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
myDashboardUrl: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
balance: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
isBorrower: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
isTrustee: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
myDashboardUrl: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
balance: number;
|
|
37
|
+
isBorrower: boolean;
|
|
38
|
+
isTrustee: boolean;
|
|
39
|
+
myDashboardUrl: string;
|
|
40
|
+
}, {}, {
|
|
41
|
+
KvHeaderMenuLink: {
|
|
42
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLAnchorElement, import('vue').ComponentProvideOptions, {
|
|
43
|
+
P: {};
|
|
44
|
+
B: {};
|
|
45
|
+
D: {};
|
|
46
|
+
C: {};
|
|
47
|
+
M: {};
|
|
48
|
+
Defaults: {};
|
|
49
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
50
|
+
__isFragment?: never;
|
|
51
|
+
__isTeleport?: never;
|
|
52
|
+
__isSuspense?: never;
|
|
53
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
54
|
+
$slots: {
|
|
55
|
+
default?(_: {}): any;
|
|
56
|
+
};
|
|
57
|
+
});
|
|
58
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
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,16 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as
|
|
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";
|
|
3
3
|
import d from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const v = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const n = c("kv-header-menu-link"), l = p("kv-track-event");
|
|
11
|
-
return o(), u("nav", m, [
|
|
12
|
-
a((o(), r(n, { href: "/lend-by-category" }, {
|
|
13
|
-
default: s(() => e[0] || (e[0] = [
|
|
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
|
+
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, [
|
|
8
|
+
a((o(), r(l, { href: "/lend-by-category" }, {
|
|
9
|
+
default: i(() => e[0] || (e[0] = [
|
|
14
10
|
t("div", null, [
|
|
15
11
|
t("p", null, "Choose someone to help"),
|
|
16
12
|
t("p", { class: "tw-text-small tw-text-secondary" }, " Make a direct impact for someone in need ")
|
|
@@ -18,10 +14,10 @@ function f(k, e, w, x, _, h) {
|
|
|
18
14
|
])),
|
|
19
15
|
_: 1
|
|
20
16
|
})), [
|
|
21
|
-
[
|
|
17
|
+
[n, ["TopNav", "click-menu-choose-someone-to-help"]]
|
|
22
18
|
]),
|
|
23
|
-
a((o(), r(
|
|
24
|
-
default:
|
|
19
|
+
a((o(), r(l, { href: "/donate/supportus" }, {
|
|
20
|
+
default: i(() => e[1] || (e[1] = [
|
|
25
21
|
t("div", null, [
|
|
26
22
|
t("p", null, "Donate to Kiva"),
|
|
27
23
|
t("p", { class: "tw-text-small tw-text-secondary" }, " Help us change lives and tackle inequality ")
|
|
@@ -29,10 +25,10 @@ function f(k, e, w, x, _, h) {
|
|
|
29
25
|
])),
|
|
30
26
|
_: 1
|
|
31
27
|
})), [
|
|
32
|
-
[
|
|
28
|
+
[n, ["TopNav", "click-Support-Kiva"]]
|
|
33
29
|
]),
|
|
34
|
-
a((o(), r(
|
|
35
|
-
default:
|
|
30
|
+
a((o(), r(l, { href: "/about/partner-with-us" }, {
|
|
31
|
+
default: i(() => e[2] || (e[2] = [
|
|
36
32
|
t("div", null, [
|
|
37
33
|
t("p", null, "Partner with us"),
|
|
38
34
|
t("p", { class: "tw-text-small tw-text-secondary" }, " Drive global impact aligned with your organization’s goals ")
|
|
@@ -40,10 +36,10 @@ function f(k, e, w, x, _, h) {
|
|
|
40
36
|
])),
|
|
41
37
|
_: 1
|
|
42
38
|
})), [
|
|
43
|
-
[
|
|
39
|
+
[n, ["TopNav", "click-About-Partner with us"]]
|
|
44
40
|
]),
|
|
45
|
-
a((o(), r(
|
|
46
|
-
default:
|
|
41
|
+
a((o(), r(l, { href: "/gifts/kiva-cards" }, {
|
|
42
|
+
default: i(() => e[3] || (e[3] = [
|
|
47
43
|
t("div", null, [
|
|
48
44
|
t("p", null, "Buy a Kiva Card"),
|
|
49
45
|
t("p", { class: "tw-text-small tw-text-secondary" }, " Give the gift of lending to others ")
|
|
@@ -51,11 +47,11 @@ function f(k, e, w, x, _, h) {
|
|
|
51
47
|
])),
|
|
52
48
|
_: 1
|
|
53
49
|
})), [
|
|
54
|
-
[
|
|
50
|
+
[n, ["TopNav", "click-menu-buy-kiva-card"]]
|
|
55
51
|
])
|
|
56
52
|
]);
|
|
57
53
|
}
|
|
58
|
-
const
|
|
54
|
+
const b = /* @__PURE__ */ d(s, [["render", m]]);
|
|
59
55
|
export {
|
|
60
|
-
|
|
56
|
+
b as default
|
|
61
57
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
2
|
+
KvHeaderMenuLink: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLAnchorElement, import('vue').ComponentProvideOptions, {
|
|
4
|
+
P: {};
|
|
5
|
+
B: {};
|
|
6
|
+
D: {};
|
|
7
|
+
C: {};
|
|
8
|
+
M: {};
|
|
9
|
+
Defaults: {};
|
|
10
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
11
|
+
__isFragment?: never;
|
|
12
|
+
__isTeleport?: never;
|
|
13
|
+
__isSuspense?: never;
|
|
14
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
15
|
+
$slots: {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
});
|
|
19
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.lend-link[data-v-
|
|
1
|
+
.lend-link[data-v-7256cd7a]{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-7256cd7a]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
|