@kiva/kv-components 7.6.3 → 8.0.1
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/.github/copilot-instructions.md +11 -0
- package/AGENTS.md +184 -0
- package/CLAUDE.md +11 -0
- package/GEMINI.md +11 -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 +35 -33
- package/tsconfig.json +32 -0
- package/vite.config.ts +84 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { toRefs as m, ref as p, computed as n } from "vue";
|
|
2
|
+
import { gql as v } from "@apollo/client/core";
|
|
3
|
+
import { format as y } from "date-fns";
|
|
4
|
+
import A from "numeral";
|
|
5
|
+
import g from "./KvActivityRow.js";
|
|
6
|
+
import b from "./KvLightbox.js";
|
|
7
|
+
import F from "./KvLendCta.js";
|
|
8
|
+
const O = v`
|
|
9
|
+
fragment KvLoanActivities on LoanBasic {
|
|
10
|
+
id
|
|
11
|
+
name
|
|
12
|
+
lenders(limit: 0) {
|
|
13
|
+
totalCount
|
|
14
|
+
}
|
|
15
|
+
loanFundraisingInfo {
|
|
16
|
+
id
|
|
17
|
+
fundedAmount
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
`, _ = {
|
|
21
|
+
name: "KvLoanActivities",
|
|
22
|
+
components: {
|
|
23
|
+
KvActivityRow: g,
|
|
24
|
+
KvLightbox: b,
|
|
25
|
+
KvLendCta: F
|
|
26
|
+
},
|
|
27
|
+
props: {
|
|
28
|
+
/**
|
|
29
|
+
* loan object coming from parent component
|
|
30
|
+
*/
|
|
31
|
+
loan: {
|
|
32
|
+
type: Object,
|
|
33
|
+
default: () => ({})
|
|
34
|
+
},
|
|
35
|
+
/**
|
|
36
|
+
* loan combined activities coming from parent component
|
|
37
|
+
*/
|
|
38
|
+
combinedActivities: {
|
|
39
|
+
type: Array,
|
|
40
|
+
default: () => []
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* isAdding flag coming from parent add to basket method
|
|
44
|
+
*/
|
|
45
|
+
isAdding: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: !1
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* basketItems array coming from parent component
|
|
51
|
+
*/
|
|
52
|
+
basketItems: {
|
|
53
|
+
type: Array,
|
|
54
|
+
default: () => []
|
|
55
|
+
},
|
|
56
|
+
/**
|
|
57
|
+
* userBalance string coming from parent component
|
|
58
|
+
*/
|
|
59
|
+
userBalance: {
|
|
60
|
+
type: String,
|
|
61
|
+
default: void 0
|
|
62
|
+
},
|
|
63
|
+
/**
|
|
64
|
+
* errorMsg string coming from parent add to basket method
|
|
65
|
+
*/
|
|
66
|
+
errorMsg: {
|
|
67
|
+
type: String,
|
|
68
|
+
default: void 0
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
* kvTrackFunction function to track events from LendCta component
|
|
72
|
+
*/
|
|
73
|
+
kvTrackFunction: {
|
|
74
|
+
type: Function,
|
|
75
|
+
required: !0
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
* getCookie function for LendCta component
|
|
79
|
+
*/
|
|
80
|
+
getCookie: {
|
|
81
|
+
type: Function,
|
|
82
|
+
default: void 0
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* setCookie function for LendCta component
|
|
86
|
+
*/
|
|
87
|
+
setCookie: {
|
|
88
|
+
type: Function,
|
|
89
|
+
default: void 0
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* route object for LendCta component
|
|
93
|
+
*/
|
|
94
|
+
route: {
|
|
95
|
+
type: Object,
|
|
96
|
+
default: void 0
|
|
97
|
+
},
|
|
98
|
+
enableFiveDollarsNotes: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
default: !1
|
|
101
|
+
},
|
|
102
|
+
isVisitor: {
|
|
103
|
+
type: Boolean,
|
|
104
|
+
default: !0
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
emits: [
|
|
108
|
+
"add-to-basket"
|
|
109
|
+
],
|
|
110
|
+
setup(r) {
|
|
111
|
+
const {
|
|
112
|
+
loan: a,
|
|
113
|
+
combinedActivities: u,
|
|
114
|
+
kvTrackFunction: d
|
|
115
|
+
} = m(r), i = p(!1), l = n(() => {
|
|
116
|
+
var t;
|
|
117
|
+
return `Activity for ${((t = a.value) == null ? void 0 : t.name) || ""}`;
|
|
118
|
+
}), s = n(() => {
|
|
119
|
+
var t, e;
|
|
120
|
+
return ((e = (t = a.value) == null ? void 0 : t.lenders) == null ? void 0 : e.totalCount) ?? 0;
|
|
121
|
+
}), c = n(() => {
|
|
122
|
+
var e, o;
|
|
123
|
+
const t = ((o = (e = a.value) == null ? void 0 : e.loanFundraisingInfo) == null ? void 0 : o.fundedAmount) ?? 0;
|
|
124
|
+
return A(parseFloat(t)).format("$0,0");
|
|
125
|
+
}), f = n(() => {
|
|
126
|
+
const t = u.value.find((e) => e.data.some((o) => o.type === "LendingAction"));
|
|
127
|
+
return (t == null ? void 0 : t.data[0]) ?? {};
|
|
128
|
+
});
|
|
129
|
+
return {
|
|
130
|
+
lightboxOpen: i,
|
|
131
|
+
modalTitle: l,
|
|
132
|
+
formattedDate: (t) => {
|
|
133
|
+
const e = new Date(t);
|
|
134
|
+
return y(e, "MMM d, yyyy");
|
|
135
|
+
},
|
|
136
|
+
showActivityModal: () => {
|
|
137
|
+
d.value("loan-card", "click", "see-all-activity"), i.value = !0;
|
|
138
|
+
},
|
|
139
|
+
closeLightbox: () => {
|
|
140
|
+
i.value = !1;
|
|
141
|
+
},
|
|
142
|
+
singleActivity: f,
|
|
143
|
+
lendersNumber: s,
|
|
144
|
+
amountLent: c
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
export {
|
|
149
|
+
O as KV_LOAN_ACTIVITIES_FRAGMENT,
|
|
150
|
+
_ as default
|
|
151
|
+
};
|
|
@@ -1,50 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import s from "
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
userProperties {
|
|
10
|
-
favorited
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
`, B = {
|
|
14
|
-
name: "KvLoanBookmark",
|
|
15
|
-
components: {
|
|
16
|
-
KvMaterialIcon: s
|
|
17
|
-
},
|
|
18
|
-
props: {
|
|
19
|
-
isBookmarked: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
default: !1
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
data() {
|
|
25
|
-
return {
|
|
26
|
-
mdiBookmarkOutline: m,
|
|
27
|
-
mdiBookmark: i
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
function _(r, e, o, v, t, w) {
|
|
32
|
-
const n = k("kv-material-icon");
|
|
33
|
-
return l(), c("div", null, [
|
|
34
|
-
d("button", {
|
|
1
|
+
import i from "./KvLoanBookmark2.js";
|
|
2
|
+
import { KV_LOAN_BOOKMARK_FRAGMENT as K } from "./KvLoanBookmark2.js";
|
|
3
|
+
import { resolveComponent as m, openBlock as a, createElementBlock as l, createElementVNode as s, createVNode as c, normalizeClass as k } from "vue";
|
|
4
|
+
import d from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
function f(r, e, o, u, t, _) {
|
|
6
|
+
const n = m("kv-material-icon");
|
|
7
|
+
return a(), l("div", null, [
|
|
8
|
+
s("button", {
|
|
35
9
|
style: { "border-radius": "8px", padding: "3px" },
|
|
36
10
|
class: "tw-cursor-pointer tw-font-medium tw-bg-white tw-flex tw-justify-center",
|
|
37
|
-
onClick: e[0] || (e[0] = (
|
|
11
|
+
onClick: e[0] || (e[0] = (p) => r.$emit("toggle-bookmark"))
|
|
38
12
|
}, [
|
|
39
|
-
|
|
40
|
-
class:
|
|
13
|
+
c(n, {
|
|
14
|
+
class: k(["tw-w-3", { "tw-text-black": !o.isBookmarked, "tw-text-marigold": o.isBookmarked }]),
|
|
41
15
|
icon: `${o.isBookmarked ? t.mdiBookmark : t.mdiBookmarkOutline}`
|
|
42
16
|
}, null, 8, ["class", "icon"])
|
|
43
17
|
])
|
|
44
18
|
]);
|
|
45
19
|
}
|
|
46
|
-
const
|
|
20
|
+
const v = /* @__PURE__ */ d(i, [["render", f]]);
|
|
47
21
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
22
|
+
K as KV_LOAN_BOOKMARK_FRAGMENT,
|
|
23
|
+
v as default
|
|
50
24
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const KV_LOAN_BOOKMARK_FRAGMENT: import('graphql').DocumentNode;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
isBookmarked: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {
|
|
8
|
+
mdiBookmarkOutline: string;
|
|
9
|
+
mdiBookmark: string;
|
|
10
|
+
}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
isBookmarked: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {
|
|
16
|
+
isBookmarked: boolean;
|
|
17
|
+
}, {}, {
|
|
18
|
+
KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
19
|
+
icon: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
+
icon: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{}>, {
|
|
29
|
+
icon: string;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import o from "graphql-tag";
|
|
2
|
+
import { mdiBookmarkOutline as a, mdiBookmark as r } from "@mdi/js";
|
|
3
|
+
import e from "./KvMaterialIcon.js";
|
|
4
|
+
const i = o`
|
|
5
|
+
fragment KvLoanBookmark on LoanBasic {
|
|
6
|
+
id
|
|
7
|
+
userProperties {
|
|
8
|
+
favorited
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
`, s = {
|
|
12
|
+
name: "KvLoanBookmark",
|
|
13
|
+
components: {
|
|
14
|
+
KvMaterialIcon: e
|
|
15
|
+
},
|
|
16
|
+
props: {
|
|
17
|
+
isBookmarked: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
data() {
|
|
23
|
+
return {
|
|
24
|
+
mdiBookmarkOutline: a,
|
|
25
|
+
mdiBookmark: r
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
i as KV_LOAN_BOOKMARK_FRAGMENT,
|
|
31
|
+
s as default
|
|
32
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.loan-callout[data-v-
|
|
1
|
+
.loan-callout[data-v-dd2eae54]{background:#f1f1f1}
|
|
@@ -1,30 +1,23 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from "./KvLoanCallouts2.js";
|
|
2
|
+
import { openBlock as e, createElementBlock as l, createElementVNode as s, Fragment as n, renderList as a, toDisplayString as i } from "vue";
|
|
2
3
|
import "./KvLoanCallouts.css";
|
|
3
|
-
import
|
|
4
|
+
import d from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
5
|
const c = {
|
|
5
|
-
name: "KvLoanCallouts",
|
|
6
|
-
props: {
|
|
7
|
-
callouts: {
|
|
8
|
-
type: Array,
|
|
9
|
-
required: !0
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}, d = {
|
|
13
6
|
class: "tw-overflow-hidden",
|
|
14
7
|
style: { width: "inherit" }
|
|
15
8
|
}, w = { class: "tw-flex tw-whitespace-nowrap tw-w-full tw-h-4" }, p = ["title"];
|
|
16
|
-
function
|
|
17
|
-
return e(), l("div",
|
|
18
|
-
|
|
19
|
-
(e(!0), l(
|
|
9
|
+
function m(_, f, o, u, h, x) {
|
|
10
|
+
return e(), l("div", c, [
|
|
11
|
+
s("div", w, [
|
|
12
|
+
(e(!0), l(n, null, a(o.callouts, (t) => (e(), l("span", {
|
|
20
13
|
key: t.label,
|
|
21
14
|
title: t.label,
|
|
22
15
|
class: "loan-callout tw-text-ellipsis tw-overflow-hidden tw-rounded-full tw-font-medium tw-py-0.5 tw-px-1 tw-mr-0.5 tw-mb-0.5 tw-text-small"
|
|
23
|
-
},
|
|
16
|
+
}, i(t.label), 9, p))), 128))
|
|
24
17
|
])
|
|
25
18
|
]);
|
|
26
19
|
}
|
|
27
|
-
const
|
|
20
|
+
const $ = /* @__PURE__ */ d(r, [["render", m], ["__scopeId", "data-v-dd2eae54"]]);
|
|
28
21
|
export {
|
|
29
|
-
|
|
22
|
+
$ as default
|
|
30
23
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export interface Callout {
|
|
3
|
+
label: string;
|
|
4
|
+
id?: number | null;
|
|
5
|
+
type?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
callouts: {
|
|
9
|
+
type: PropType<Callout[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
callouts: {
|
|
14
|
+
type: PropType<Callout[]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import P from "graphql-tag";
|
|
2
2
|
import { LOAN_GEOCODE_FRAGMENT as B, loanCardComputedProperties as R, loanCardMethods as z } from "../utils/loanCard.js";
|
|
3
|
-
import D
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { resolveComponent as c, openBlock as t, createElementBlock as i, normalizeClass as _, normalizeStyle as
|
|
3
|
+
import D from "./KvLoanUse.js";
|
|
4
|
+
import K from "./KvBorrowerImage.js";
|
|
5
|
+
import W from "./KvMaterialIcon.js";
|
|
6
|
+
import F from "./KvLoadingPlaceholder.js";
|
|
7
|
+
import { resolveComponent as c, openBlock as t, createElementBlock as i, normalizeClass as _, normalizeStyle as T, createElementVNode as d, createBlock as h, resolveDynamicComponent as v, withCtx as k, createVNode as s, createTextVNode as E, toDisplayString as b, createCommentVNode as I, Fragment as O, renderList as V, withModifiers as U } from "vue";
|
|
8
8
|
import "./KvLoanInfoCard.css";
|
|
9
|
-
import
|
|
10
|
-
|
|
9
|
+
import G from "../_virtual/_plugin-vue_export-helper.js";
|
|
10
|
+
import { KV_LOAN_USE_FRAGMENT as H } from "./KvLoanUse2.js";
|
|
11
|
+
const ue = P`
|
|
11
12
|
fragment KvLoanInfoCard on LoanBasic {
|
|
12
13
|
id
|
|
13
14
|
gender
|
|
@@ -19,15 +20,15 @@ const we = P`
|
|
|
19
20
|
...KvLoanUse
|
|
20
21
|
...LoanGeocode
|
|
21
22
|
}
|
|
22
|
-
${
|
|
23
|
+
${H}
|
|
23
24
|
${B}
|
|
24
25
|
`, q = {
|
|
25
26
|
name: "KvLoanInfoCard",
|
|
26
27
|
components: {
|
|
27
|
-
KvBorrowerImage:
|
|
28
|
-
KvLoadingPlaceholder:
|
|
28
|
+
KvBorrowerImage: K,
|
|
29
|
+
KvLoadingPlaceholder: F,
|
|
29
30
|
KvLoanUse: D,
|
|
30
|
-
KvMaterialIcon:
|
|
31
|
+
KvMaterialIcon: W
|
|
31
32
|
},
|
|
32
33
|
props: {
|
|
33
34
|
loanId: {
|
|
@@ -158,7 +159,7 @@ function oe(m, a, o, e, y, n) {
|
|
|
158
159
|
return t(), i("div", {
|
|
159
160
|
class: _(["tw-flex tw-flex-col tw-bg-white tw-rounded tw-w-full tw-pb-1 tw-p-1", { "tw-pointer-events-none": e.isLoading }]),
|
|
160
161
|
"data-testid": "loan-card",
|
|
161
|
-
style:
|
|
162
|
+
style: T([{ "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.08)" }, { minWidth: "230px", maxWidth: n.cardWidth }])
|
|
162
163
|
}, [
|
|
163
164
|
d("div", j, [
|
|
164
165
|
d("div", J, [
|
|
@@ -190,9 +191,9 @@ function oe(m, a, o, e, y, n) {
|
|
|
190
191
|
class: "tw-h-2 tw-w-2",
|
|
191
192
|
icon: e.mdiMapMarker
|
|
192
193
|
}, null, 8, ["icon"]),
|
|
193
|
-
|
|
194
|
+
E(" " + b(e.formattedLocation), 1)
|
|
194
195
|
])
|
|
195
|
-
])) :
|
|
196
|
+
])) : I("", !0)
|
|
196
197
|
]),
|
|
197
198
|
_: 1
|
|
198
199
|
}, 8, ["to", "href"]))
|
|
@@ -207,7 +208,7 @@ function oe(m, a, o, e, y, n) {
|
|
|
207
208
|
default: k(() => [
|
|
208
209
|
d("div", Z, [
|
|
209
210
|
e.isLoading ? (t(), i("div", $, [
|
|
210
|
-
(t(!0), i(
|
|
211
|
+
(t(!0), i(O, null, V([...Array(4)], (r, g) => (t(), i("div", {
|
|
211
212
|
key: g,
|
|
212
213
|
class: "tw-h-2 tw-mb-1"
|
|
213
214
|
}, [
|
|
@@ -242,7 +243,7 @@ function oe(m, a, o, e, y, n) {
|
|
|
242
243
|
s(l)
|
|
243
244
|
])) : (t(), i("div", {
|
|
244
245
|
key: 1,
|
|
245
|
-
onClick: a[2] || (a[2] =
|
|
246
|
+
onClick: a[2] || (a[2] = U((r) => e.clickReadMore("ViewLoan", r), ["prevent"]))
|
|
246
247
|
}, b(o.primaryLinkText), 1))
|
|
247
248
|
])
|
|
248
249
|
]),
|
|
@@ -252,8 +253,8 @@ function oe(m, a, o, e, y, n) {
|
|
|
252
253
|
])
|
|
253
254
|
], 6);
|
|
254
255
|
}
|
|
255
|
-
const
|
|
256
|
+
const fe = /* @__PURE__ */ G(q, [["render", oe], ["__scopeId", "data-v-5a01b4de"]]);
|
|
256
257
|
export {
|
|
257
|
-
|
|
258
|
-
|
|
258
|
+
ue as KV_LOAN_INFO_CARD_FRAGMENT,
|
|
259
|
+
fe as default
|
|
259
260
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.progress-group-amount-low[data-v-
|
|
1
|
+
.progress-group-amount-low[data-v-d788b8b5]{color:#ce4a00}
|
|
@@ -1,68 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { resolveComponent as i, openBlock as n, createElementBlock as l, createElementVNode as s, normalizeClass as u, toDisplayString as m, createCommentVNode as d, createVNode as p } from "vue";
|
|
1
|
+
import c from "./KvLoanProgressGroup2.js";
|
|
2
|
+
import { resolveComponent as m, openBlock as o, createElementBlock as r, createElementVNode as a, normalizeClass as n, toDisplayString as s, createCommentVNode as u, createVNode as _ } from "vue";
|
|
4
3
|
import "./KvLoanProgressGroup.css";
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
name: "KvLoanProgressGroup",
|
|
8
|
-
components: {
|
|
9
|
-
KvProgressBar: c
|
|
10
|
-
},
|
|
11
|
-
props: {
|
|
12
|
-
moneyLeft: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "0.00"
|
|
15
|
-
},
|
|
16
|
-
progressPercent: {
|
|
17
|
-
type: Number,
|
|
18
|
-
default: 0
|
|
19
|
-
},
|
|
20
|
-
amountGoal: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ""
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
computed: {
|
|
26
|
-
numeralLeft() {
|
|
27
|
-
return a(this.moneyLeft);
|
|
28
|
-
},
|
|
29
|
-
amountLow() {
|
|
30
|
-
return this.numeralLeft.value() < 100;
|
|
31
|
-
},
|
|
32
|
-
fundingText() {
|
|
33
|
-
if (!this.numeralLeft.value()) return "funded!";
|
|
34
|
-
const e = this.numeralLeft.format("$0,0[.]00"), r = this.amountLow ? "!" : "";
|
|
35
|
-
return `${e} to go${r}`;
|
|
36
|
-
},
|
|
37
|
-
numeralGoal() {
|
|
38
|
-
return a(this.amountGoal);
|
|
39
|
-
},
|
|
40
|
-
goalText() {
|
|
41
|
-
return this.numeralGoal.value() ? `${this.numeralGoal.format("$0,0[.]00")} goal` : "";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}, h = {
|
|
4
|
+
import d from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const f = {
|
|
45
6
|
key: 0,
|
|
46
7
|
class: "tw-lowercase tw-mb-0.5"
|
|
47
8
|
};
|
|
48
|
-
function
|
|
49
|
-
const
|
|
50
|
-
return
|
|
51
|
-
|
|
52
|
-
class:
|
|
9
|
+
function i(p, w, e, g, b, t) {
|
|
10
|
+
const l = m("kv-progress-bar");
|
|
11
|
+
return o(), r("figure", null, [
|
|
12
|
+
a("div", {
|
|
13
|
+
class: n({ "tw-flex tw-justify-between": e.amountGoal })
|
|
53
14
|
}, [
|
|
54
|
-
|
|
55
|
-
class:
|
|
56
|
-
},
|
|
57
|
-
|
|
15
|
+
a("h4", {
|
|
16
|
+
class: n(["tw-lowercase tw-mb-0.5", { "progress-group-amount-low": t.amountLow }])
|
|
17
|
+
}, s(t.fundingText), 3),
|
|
18
|
+
e.amountGoal ? (o(), r("h4", f, s(t.goalText), 1)) : u("", !0)
|
|
58
19
|
], 2),
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
value:
|
|
20
|
+
_(l, {
|
|
21
|
+
label: "Percent the loan has funded",
|
|
22
|
+
value: e.progressPercent * 100
|
|
62
23
|
}, null, 8, ["value"])
|
|
63
24
|
]);
|
|
64
25
|
}
|
|
65
|
-
const
|
|
26
|
+
const y = /* @__PURE__ */ d(c, [["render", i], ["__scopeId", "data-v-d788b8b5"]]);
|
|
66
27
|
export {
|
|
67
|
-
|
|
28
|
+
y as default
|
|
68
29
|
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
moneyLeft: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
progressPercent: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
amountGoal: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {
|
|
15
|
+
numeralLeft(): any;
|
|
16
|
+
amountLow(): boolean;
|
|
17
|
+
fundingText(): string;
|
|
18
|
+
numeralGoal(): any;
|
|
19
|
+
goalText(): string;
|
|
20
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
moneyLeft: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
progressPercent: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
amountGoal: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{}>, {
|
|
34
|
+
moneyLeft: string;
|
|
35
|
+
progressPercent: number;
|
|
36
|
+
amountGoal: string;
|
|
37
|
+
}, {}, {
|
|
38
|
+
KvProgressBar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
39
|
+
label: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
min: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
max: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
value: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
variant: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
validator(value: string): boolean;
|
|
60
|
+
};
|
|
61
|
+
bgVariant: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
validator(value: string): boolean;
|
|
65
|
+
};
|
|
66
|
+
}>, {
|
|
67
|
+
loaded: import('vue').Ref<boolean, boolean>;
|
|
68
|
+
percent: import('vue').ComputedRef<number>;
|
|
69
|
+
animateProgressBar: () => void;
|
|
70
|
+
variantClass: import('vue').ComputedRef<"tw-bg-tertiary" | "tw-bg-danger" | "tw-bg-caution" | "tw-bg-brand">;
|
|
71
|
+
backgroundVariant: import('vue').ComputedRef<"tw-bg-tertiary" | "tw-bg-secondary">;
|
|
72
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
73
|
+
label: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
min: {
|
|
78
|
+
type: NumberConstructor;
|
|
79
|
+
default: number;
|
|
80
|
+
};
|
|
81
|
+
max: {
|
|
82
|
+
type: NumberConstructor;
|
|
83
|
+
default: number;
|
|
84
|
+
};
|
|
85
|
+
value: {
|
|
86
|
+
type: NumberConstructor;
|
|
87
|
+
default: number;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
variant: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
validator(value: string): boolean;
|
|
94
|
+
};
|
|
95
|
+
bgVariant: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
validator(value: string): boolean;
|
|
99
|
+
};
|
|
100
|
+
}>> & Readonly<{}>, {
|
|
101
|
+
value: number;
|
|
102
|
+
variant: string;
|
|
103
|
+
min: number;
|
|
104
|
+
max: number;
|
|
105
|
+
bgVariant: string;
|
|
106
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
107
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
108
|
+
export default _default;
|