@kiva/kv-components 10.5.1 → 10.6.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/dist/index.js +20 -20
- package/dist/vue/KvAccordionItem.js +1 -1
- package/dist/vue/KvActivityRow.js +1 -1
- package/dist/vue/KvAtbModal.js +1 -1
- package/dist/vue/KvBorrowerImage.js +1 -1
- package/dist/vue/KvButton.js +1 -1
- package/dist/vue/KvCardFrame.js +1 -1
- package/dist/vue/KvCarousel.js +1 -1
- package/dist/vue/KvCartModal.js +1 -1
- package/dist/vue/KvCartPill.js +1 -1
- package/dist/vue/KvCheckbox.js +1 -1
- package/dist/vue/KvCheckoutReceipt.js +1 -1
- package/dist/vue/KvChip.js +1 -1
- package/dist/vue/KvClassicLoanCard.js +252 -295
- package/dist/vue/KvClassicLoanCard.script.js +298 -0
- package/dist/vue/KvCommentsAdd.js +2 -2
- package/dist/vue/KvCommentsContainer.js +2 -2
- package/dist/vue/KvCommentsHeartButton.js +1 -1
- package/dist/vue/KvCommentsList.js +1 -1
- package/dist/vue/KvCommentsListItem.js +2 -2
- package/dist/vue/KvCommentsReplyButton.js +1 -1
- package/dist/vue/KvCompactLoanCard.js +416 -380
- package/dist/vue/KvCompactLoanCard.script.js +382 -0
- package/dist/vue/KvContentfulImg.js +1 -1
- package/dist/vue/KvCountdownTimer.js +1 -1
- package/dist/vue/KvDatePicker.js +1 -1
- package/dist/vue/KvExpandable.js +1 -1
- package/dist/vue/KvExpandableQuestion.js +1 -1
- package/dist/vue/KvFlag.js +1 -1
- package/dist/vue/KvFormAssemblyForm.js +2 -95
- package/dist/vue/KvFormAssemblyForm.script.js +97 -0
- package/dist/vue/KvGrid.js +1 -1
- package/dist/vue/KvIconBag.js +1 -1
- package/dist/vue/KvIconButton.js +2 -116
- package/dist/vue/KvIconButton.script.js +118 -0
- package/dist/vue/KvImageUpload.js +1 -1
- package/dist/vue/KvImpactVerticalSelector.js +1 -1
- package/dist/vue/KvInlineActivityCard.js +1 -1
- package/dist/vue/KvInlineActivityFeed.js +1 -1
- package/dist/vue/KvIntroductionLoanCard.js +247 -220
- package/dist/vue/KvIntroductionLoanCard.script.js +223 -0
- package/dist/vue/KvLendAmountButton.js +1 -1
- package/dist/vue/KvLendCta.js +355 -389
- package/dist/vue/KvLendCta.script.js +391 -0
- package/dist/vue/KvLightbox.js +18 -18
- package/dist/vue/KvLightbox.script.js +147 -0
- package/dist/vue/KvLightbox.vue.d.ts +21 -0
- package/dist/vue/KvLineGraph.js +1 -1
- package/dist/vue/KvLoadingSpinner.js +1 -1
- package/dist/vue/KvLoanActivities.js +75 -149
- package/dist/vue/KvLoanActivities.script.js +151 -0
- package/dist/vue/KvLoanActivities.vue.d.ts +21 -0
- package/dist/vue/KvLoanBookmark.js +22 -33
- package/dist/vue/KvLoanBookmark.script.js +35 -0
- package/dist/vue/KvLoanCallouts.js +1 -1
- package/dist/vue/KvLoanInfoCard.js +2 -2
- package/dist/vue/KvLoanProgressGroup.js +1 -1
- package/dist/vue/KvLoanTag.js +44 -123
- package/dist/vue/KvLoanTag.script.js +125 -0
- package/dist/vue/KvLoanUse.js +14 -111
- package/dist/vue/KvLoanUse.script.js +113 -0
- package/dist/vue/KvMap.js +1 -1
- package/dist/vue/KvMaterialIcon.js +1 -1
- package/dist/vue/KvPageContainer.js +1 -1
- package/dist/vue/KvPagination.js +1 -1
- package/dist/vue/KvPieChart.js +1 -1
- package/dist/vue/KvPieChartV2.js +1 -1
- package/dist/vue/KvPieChartV2.vue.d.ts +21 -0
- package/dist/vue/KvPill.js +1 -1
- package/dist/vue/KvPopper.js +1 -1
- package/dist/vue/KvProgressBar.js +1 -1
- package/dist/vue/KvProgressCircle.js +1 -1
- package/dist/vue/KvPulsingDot.js +1 -1
- package/dist/vue/KvRadio.js +1 -1
- package/dist/vue/KvSecondaryNav.js +1 -1
- package/dist/vue/KvSelect.js +1 -1
- package/dist/vue/KvSideSheet.js +1 -1
- package/dist/vue/KvSimpleMap.js +1 -1
- package/dist/vue/KvStackedBarGraph.js +1 -1
- package/dist/vue/KvSwitch.js +1 -1
- package/dist/vue/KvTab.js +1 -1
- package/dist/vue/KvTabPanel.js +1 -1
- package/dist/vue/KvTabs.js +1 -1
- package/dist/vue/KvTextInput.js +1 -1
- package/dist/vue/KvTextLink.js +1 -1
- package/dist/vue/KvThemeProvider.js +1 -1
- package/dist/vue/KvToast.js +1 -1
- package/dist/vue/KvTooltip.js +1 -1
- package/dist/vue/KvTreeMapChart.js +1 -1
- package/dist/vue/KvUserAvatar.js +1 -1
- package/dist/vue/KvUtilityMenu.js +1 -1
- package/dist/vue/KvVerticalCarousel.js +1 -1
- package/dist/vue/KvVotingCard.js +1 -1
- package/dist/vue/KvVotingCardV2.js +1 -1
- package/dist/vue/KvVotingCardV2.vue.d.ts +21 -0
- package/dist/vue/KvWideLoanCard.js +206 -232
- package/dist/vue/KvWideLoanCard.script.js +235 -0
- package/dist/vue/KvWwwHeader/KvHeaderAboutMenu.js +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderDropdownLink.js +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderLogo.js +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.js +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.js +1 -1
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.js +1 -1
- package/dist/vue/KvWwwHeader.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/AboutMenu.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/HeaderMenuGroup.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/KvWwwHeaderBasic.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/LinkBar.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/CategoriesPanel.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MyKivaPanel.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/RegionsPanel.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/SearchPanel.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/MobileMenu.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/MyKivaMenu.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/SearchBar.js +1 -1
- package/package.json +2 -2
- package/vite.config.ts +16 -13
- package/dist/vue/KvClassicLoanCard2.js +0 -255
- package/dist/vue/KvCompactLoanCard2.js +0 -418
- package/dist/vue/KvFormAssemblyForm2.js +0 -4
- package/dist/vue/KvIconButton2.js +0 -4
- package/dist/vue/KvIntroductionLoanCard2.js +0 -250
- package/dist/vue/KvLendCta2.js +0 -357
- package/dist/vue/KvLightbox2.js +0 -117
- package/dist/vue/KvLoanActivities2.js +0 -77
- package/dist/vue/KvLoanBookmark2.js +0 -24
- package/dist/vue/KvLoanTag2.js +0 -46
- package/dist/vue/KvLoanUse2.js +0 -16
- package/dist/vue/KvWideLoanCard2.js +0 -209
- /package/dist/vue/{KvAccordionItem2.js → KvAccordionItem.script.js} +0 -0
- /package/dist/vue/{KvActivityRow2.js → KvActivityRow.script.js} +0 -0
- /package/dist/vue/{KvAtbModal2.js → KvAtbModal.script.js} +0 -0
- /package/dist/vue/{KvBorrowerImage2.js → KvBorrowerImage.script.js} +0 -0
- /package/dist/vue/{KvButton2.js → KvButton.script.js} +0 -0
- /package/dist/vue/{KvCardFrame2.js → KvCardFrame.script.js} +0 -0
- /package/dist/vue/{KvCarousel2.js → KvCarousel.script.js} +0 -0
- /package/dist/vue/{KvCartModal2.js → KvCartModal.script.js} +0 -0
- /package/dist/vue/{KvCartPill2.js → KvCartPill.script.js} +0 -0
- /package/dist/vue/{KvCheckbox2.js → KvCheckbox.script.js} +0 -0
- /package/dist/vue/{KvCheckoutReceipt2.js → KvCheckoutReceipt.script.js} +0 -0
- /package/dist/vue/{KvChip2.js → KvChip.script.js} +0 -0
- /package/dist/vue/{KvCommentsAdd2.js → KvCommentsAdd.script.js} +0 -0
- /package/dist/vue/{KvCommentsContainer2.js → KvCommentsContainer.script.js} +0 -0
- /package/dist/vue/{KvCommentsHeartButton2.js → KvCommentsHeartButton.script.js} +0 -0
- /package/dist/vue/{KvCommentsList2.js → KvCommentsList.script.js} +0 -0
- /package/dist/vue/{KvCommentsListItem2.js → KvCommentsListItem.script.js} +0 -0
- /package/dist/vue/{KvCommentsReplyButton2.js → KvCommentsReplyButton.script.js} +0 -0
- /package/dist/vue/{KvContentfulImg2.js → KvContentfulImg.script.js} +0 -0
- /package/dist/vue/{KvCountdownTimer2.js → KvCountdownTimer.script.js} +0 -0
- /package/dist/vue/{KvDatePicker2.js → KvDatePicker.script.js} +0 -0
- /package/dist/vue/{KvExpandable2.js → KvExpandable.script.js} +0 -0
- /package/dist/vue/{KvExpandableQuestion2.js → KvExpandableQuestion.script.js} +0 -0
- /package/dist/vue/{KvFlag2.js → KvFlag.script.js} +0 -0
- /package/dist/vue/{KvGrid2.js → KvGrid.script.js} +0 -0
- /package/dist/vue/{KvIconBag2.js → KvIconBag.script.js} +0 -0
- /package/dist/vue/{KvImageUpload2.js → KvImageUpload.script.js} +0 -0
- /package/dist/vue/{KvImpactVerticalSelector2.js → KvImpactVerticalSelector.script.js} +0 -0
- /package/dist/vue/{KvInlineActivityCard2.js → KvInlineActivityCard.script.js} +0 -0
- /package/dist/vue/{KvInlineActivityFeed2.js → KvInlineActivityFeed.script.js} +0 -0
- /package/dist/vue/{KvLendAmountButton2.js → KvLendAmountButton.script.js} +0 -0
- /package/dist/vue/{KvLineGraph2.js → KvLineGraph.script.js} +0 -0
- /package/dist/vue/{KvLoadingSpinner2.js → KvLoadingSpinner.script.js} +0 -0
- /package/dist/vue/{KvLoanCallouts2.js → KvLoanCallouts.script.js} +0 -0
- /package/dist/vue/{KvLoanProgressGroup2.js → KvLoanProgressGroup.script.js} +0 -0
- /package/dist/vue/{KvMap2.js → KvMap.script.js} +0 -0
- /package/dist/vue/{KvMaterialIcon2.js → KvMaterialIcon.script.js} +0 -0
- /package/dist/vue/{KvPageContainer2.js → KvPageContainer.script.js} +0 -0
- /package/dist/vue/{KvPagination2.js → KvPagination.script.js} +0 -0
- /package/dist/vue/{KvPieChart2.js → KvPieChart.script.js} +0 -0
- /package/dist/vue/{KvPieChartV22.js → KvPieChartV2.script.js} +0 -0
- /package/dist/vue/{KvPill2.js → KvPill.script.js} +0 -0
- /package/dist/vue/{KvPopper2.js → KvPopper.script.js} +0 -0
- /package/dist/vue/{KvProgressBar2.js → KvProgressBar.script.js} +0 -0
- /package/dist/vue/{KvProgressCircle2.js → KvProgressCircle.script.js} +0 -0
- /package/dist/vue/{KvPulsingDot2.js → KvPulsingDot.script.js} +0 -0
- /package/dist/vue/{KvRadio2.js → KvRadio.script.js} +0 -0
- /package/dist/vue/{KvSecondaryNav2.js → KvSecondaryNav.script.js} +0 -0
- /package/dist/vue/{KvSelect2.js → KvSelect.script.js} +0 -0
- /package/dist/vue/{KvSideSheet2.js → KvSideSheet.script.js} +0 -0
- /package/dist/vue/{KvSimpleMap2.js → KvSimpleMap.script.js} +0 -0
- /package/dist/vue/{KvStackedBarGraph2.js → KvStackedBarGraph.script.js} +0 -0
- /package/dist/vue/{KvSwitch2.js → KvSwitch.script.js} +0 -0
- /package/dist/vue/{KvTab2.js → KvTab.script.js} +0 -0
- /package/dist/vue/{KvTabPanel2.js → KvTabPanel.script.js} +0 -0
- /package/dist/vue/{KvTabs2.js → KvTabs.script.js} +0 -0
- /package/dist/vue/{KvTextInput2.js → KvTextInput.script.js} +0 -0
- /package/dist/vue/{KvTextLink2.js → KvTextLink.script.js} +0 -0
- /package/dist/vue/{KvThemeProvider2.js → KvThemeProvider.script.js} +0 -0
- /package/dist/vue/{KvToast2.js → KvToast.script.js} +0 -0
- /package/dist/vue/{KvTooltip2.js → KvTooltip.script.js} +0 -0
- /package/dist/vue/{KvTreeMapChart2.js → KvTreeMapChart.script.js} +0 -0
- /package/dist/vue/{KvUserAvatar2.js → KvUserAvatar.script.js} +0 -0
- /package/dist/vue/{KvUtilityMenu2.js → KvUtilityMenu.script.js} +0 -0
- /package/dist/vue/{KvVerticalCarousel2.js → KvVerticalCarousel.script.js} +0 -0
- /package/dist/vue/{KvVotingCard2.js → KvVotingCard.script.js} +0 -0
- /package/dist/vue/{KvVotingCardV22.js → KvVotingCardV2.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/{KvHeaderAboutMenu2.js → KvHeaderAboutMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/{KvHeaderDropdownLink2.js → KvHeaderDropdownLink.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/{KvHeaderLinkBar2.js → KvHeaderLinkBar.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/{KvHeaderLogo2.js → KvHeaderLogo.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/{KvHeaderMobileMenu2.js → KvHeaderMobileMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/{KvHeaderMyKivaMenu2.js → KvHeaderMyKivaMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/{KvHeaderTakeActionMenu2.js → KvHeaderTakeActionMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/LendMenu/{KvLendListMenu2.js → KvLendListMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/LendMenu/{KvLendMegaMenu2.js → KvLendMegaMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/LendMenu/{KvLendMenu2.js → KvLendMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/LendMenu/{KvLendMenuCountryList2.js → KvLendMenuCountryList.script.js} +0 -0
- /package/dist/vue/KvWwwHeader/LendMenu/{KvLendMenuSearchList2.js → KvLendMenuSearchList.script.js} +0 -0
- /package/dist/vue/{KvWwwHeader2.js → KvWwwHeader.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/{AboutMenu2.js → AboutMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/{HeaderMenuGroup2.js → HeaderMenuGroup.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/{KvWwwHeaderBasic2.js → KvWwwHeaderBasic.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/{LinkBar2.js → LinkBar.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{CategoriesPanel2.js → CategoriesPanel.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{MobileLendMenu2.js → MobileLendMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{MyKivaPanel2.js → MyKivaPanel.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{RegionsPanel2.js → RegionsPanel.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{SearchPanel2.js → SearchPanel.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/{MobileMenu2.js → MobileMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/{MyKivaMenu2.js → MyKivaMenu.script.js} +0 -0
- /package/dist/vue/KvWwwHeaderBasic/{SearchBar2.js → SearchBar.script.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import x from "./
|
|
1
|
+
import x from "./KvSecondaryNav.script.js";
|
|
2
2
|
import { resolveComponent as d, openBlock as a, createBlock as c, withCtx as l, createElementVNode as r, normalizeClass as i, createVNode as s, createElementBlock as o, resolveDynamicComponent as v, Fragment as m, createTextVNode as g, toDisplayString as h, createCommentVNode as y, renderList as b } from "vue";
|
|
3
3
|
import "./KvSecondaryNav.css";
|
|
4
4
|
import C from "../_virtual/_plugin-vue_export-helper.js";
|
package/dist/vue/KvSelect.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import s from "./
|
|
1
|
+
import s from "./KvSelect.script.js";
|
|
2
2
|
import { resolveComponent as d, openBlock as c, createElementBlock as w, normalizeStyle as m, normalizeClass as i, createElementVNode as l, withDirectives as f, mergeProps as p, renderSlot as u, vModelSelect as _, createVNode as v } from "vue";
|
|
3
3
|
import "./KvSelect.css";
|
|
4
4
|
import b from "../_virtual/_plugin-vue_export-helper.js";
|
package/dist/vue/KvSideSheet.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import y from "./
|
|
1
|
+
import y from "./KvSideSheet.script.js";
|
|
2
2
|
import { resolveComponent as m, openBlock as n, createElementBlock as w, withModifiers as g, normalizeClass as a, createElementVNode as o, normalizeStyle as d, createVNode as f, createCommentVNode as r, toDisplayString as S, renderSlot as h } from "vue";
|
|
3
3
|
import b from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const k = { class: "tw-flex tw-gap-1.5" }, v = {
|
package/dist/vue/KvSimpleMap.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import g from "./
|
|
1
|
+
import g from "./KvStackedBarGraph.script.js";
|
|
2
2
|
import { openBlock as a, createElementBlock as r, createElementVNode as l, toDisplayString as s, Fragment as o, renderList as n, normalizeStyle as y, createTextVNode as w, createCommentVNode as _, withKeys as x, withModifiers as k } from "vue";
|
|
3
3
|
import "./KvStackedBarGraph.css";
|
|
4
4
|
import m from "../_virtual/_plugin-vue_export-helper.js";
|
package/dist/vue/KvSwitch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import n from "./
|
|
1
|
+
import n from "./KvSwitch.script.js";
|
|
2
2
|
import { openBlock as a, createElementBlock as c, normalizeStyle as d, normalizeClass as i, createElementVNode as t, mergeProps as w, toHandlers as f, withModifiers as u, renderSlot as h } from "vue";
|
|
3
3
|
import m from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const b = ["for"], v = ["id", "checked", "disabled"], g = { class: "tw-flex-1 peer-focus-visible:tw-ring-2 peer-focus-visible:tw-ring-action" };
|
package/dist/vue/KvTab.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import o from "./
|
|
1
|
+
import o from "./KvTab.script.js";
|
|
2
2
|
import { openBlock as l, createElementBlock as n, normalizeClass as c, renderSlot as d } from "vue";
|
|
3
3
|
import s from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const b = ["id", "aria-selected", "aria-controls", "tabindex"];
|
package/dist/vue/KvTabPanel.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import o from "./
|
|
1
|
+
import o from "./KvTabPanel.script.js";
|
|
2
2
|
import { openBlock as a, createBlock as l, Transition as r, withCtx as c, withDirectives as n, createElementBlock as s, renderSlot as d, vShow as v } from "vue";
|
|
3
3
|
import f from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const b = ["id", "aria-hidden", "aria-labelledby"];
|
package/dist/vue/KvTabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import w from "./
|
|
1
|
+
import w from "./KvTabs.script.js";
|
|
2
2
|
import { openBlock as d, createElementBlock as s, normalizeClass as l, createElementVNode as o, renderSlot as i, normalizeStyle as m } from "vue";
|
|
3
3
|
import c from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const f = { class: "tw-relative" };
|
package/dist/vue/KvTextInput.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import u from "./
|
|
1
|
+
import u from "./KvTextInput.script.js";
|
|
2
2
|
import { resolveComponent as m, openBlock as l, createElementBlock as w, normalizeStyle as f, normalizeClass as c, createElementVNode as i, mergeProps as g, toHandlers as v, createBlock as s, createCommentVNode as a, withDirectives as b, createVNode as h, vShow as y, renderSlot as x } from "vue";
|
|
3
3
|
import "./KvTextInput.css";
|
|
4
4
|
import _ from "../_virtual/_plugin-vue_export-helper.js";
|
package/dist/vue/KvTextLink.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import r from "./
|
|
1
|
+
import r from "./KvTextLink.script.js";
|
|
2
2
|
import { resolveComponent as l, openBlock as o, createBlock as n, resolveDynamicComponent as c, normalizeClass as s, withCtx as m, renderSlot as w, createCommentVNode as d } from "vue";
|
|
3
3
|
import f from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
function u(a, _, t, e, k, x) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import r from "./
|
|
1
|
+
import r from "./KvThemeProvider.script.js";
|
|
2
2
|
import { openBlock as o, createBlock as a, resolveDynamicComponent as m, normalizeStyle as n, withCtx as l, renderSlot as c } from "vue";
|
|
3
3
|
import "./KvThemeProvider.css";
|
|
4
4
|
import i from "../_virtual/_plugin-vue_export-helper.js";
|
package/dist/vue/KvToast.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import d from "./
|
|
1
|
+
import d from "./KvToast.script.js";
|
|
2
2
|
import { resolveComponent as l, openBlock as n, createElementBlock as s, createVNode as i, Transition as f, withCtx as r, createElementVNode as o, normalizeClass as g, createBlock as v, renderSlot as y, createCommentVNode as p } from "vue";
|
|
3
3
|
import _ from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const x = {
|
package/dist/vue/KvTooltip.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import f from "./
|
|
1
|
+
import f from "./KvTooltip.script.js";
|
|
2
2
|
import { resolveComponent as c, openBlock as l, createBlock as v, normalizeClass as w, withCtx as u, createElementVNode as i, normalizeStyle as n, createElementBlock as p, renderSlot as s, createCommentVNode as a } from "vue";
|
|
3
3
|
import "./KvTooltip.css";
|
|
4
4
|
import k from "../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import h from "./
|
|
1
|
+
import h from "./KvTreeMapChart.script.js";
|
|
2
2
|
import { resolveComponent as i, openBlock as t, createElementBlock as c, Fragment as w, renderList as f, normalizeStyle as d, createBlock as m, createCommentVNode as n, normalizeClass as y, createElementVNode as _, toDisplayString as l, withCtx as u, createTextVNode as p } from "vue";
|
|
3
3
|
import "./KvTreeMapChart.css";
|
|
4
4
|
import g from "../_virtual/_plugin-vue_export-helper.js";
|
package/dist/vue/KvUserAvatar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import w from "./
|
|
1
|
+
import w from "./KvUserAvatar.script.js";
|
|
2
2
|
import { resolveComponent as s, openBlock as a, createElementBlock as t, normalizeClass as i, createBlock as h, createCommentVNode as r, createElementVNode as o, withDirectives as v, createVNode as f, vShow as _, normalizeStyle as c, toDisplayString as k } from "vue";
|
|
3
3
|
import "./KvUserAvatar.css";
|
|
4
4
|
import g from "../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import m from "./
|
|
1
|
+
import m from "./KvUtilityMenu.script.js";
|
|
2
2
|
import { resolveComponent as s, resolveDirective as d, openBlock as l, createElementBlock as o, normalizeClass as n, withDirectives as a, withModifiers as h, createVNode as v, createElementVNode as b, normalizeStyle as f, renderSlot as g, vShow as _ } from "vue";
|
|
3
3
|
import k from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
function z(r, i, t, e, C, S) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import m from "./
|
|
1
|
+
import m from "./KvVerticalCarousel.script.js";
|
|
2
2
|
import { resolveComponent as f, openBlock as r, createElementBlock as a, createElementVNode as l, normalizeStyle as u, Fragment as y, renderList as b, renderSlot as v, normalizeClass as h, createVNode as s, withModifiers as k, createBlock as d, createCommentVNode as x } from "vue";
|
|
3
3
|
import p from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const g = {
|
package/dist/vue/KvVotingCard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import u from "./
|
|
1
|
+
import u from "./KvVotingCard.script.js";
|
|
2
2
|
import { resolveComponent as s, openBlock as o, createElementBlock as r, createElementVNode as t, renderSlot as v, toDisplayString as c, createBlock as a, createCommentVNode as n, withCtx as x, createTextVNode as g } from "vue";
|
|
3
3
|
import "./KvVotingCard.css";
|
|
4
4
|
import h from "../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import x from "./
|
|
1
|
+
import x from "./KvVotingCardV2.script.js";
|
|
2
2
|
import { resolveComponent as l, openBlock as s, createElementBlock as c, normalizeStyle as b, createElementVNode as o, toDisplayString as n, createTextVNode as w, createCommentVNode as r, createVNode as d, createBlock as h, withCtx as a } from "vue";
|
|
3
3
|
import "./KvVotingCardV2.css";
|
|
4
4
|
import g from "../_virtual/_plugin-vue_export-helper.js";
|
|
@@ -196,6 +196,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
196
196
|
type: BooleanConstructor;
|
|
197
197
|
default: boolean;
|
|
198
198
|
};
|
|
199
|
+
preventBackgroundClose: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
203
|
+
closeButtonShowDelay: {
|
|
204
|
+
type: NumberConstructor;
|
|
205
|
+
default: number;
|
|
206
|
+
};
|
|
199
207
|
}>, {
|
|
200
208
|
mdiClose: string;
|
|
201
209
|
role: import('vue').ComputedRef<"alertdialog" | "dialog">;
|
|
@@ -206,6 +214,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
206
214
|
hide: (closedBy?: string) => void;
|
|
207
215
|
show: () => void;
|
|
208
216
|
controlsRef: import('vue').Ref<any, any>;
|
|
217
|
+
closeButtonClasses: import('vue').ComputedRef<(string | {
|
|
218
|
+
'tw-invisible tw-opacity-0': boolean;
|
|
219
|
+
})[]>;
|
|
209
220
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "lightbox-closed"[], "lightbox-closed", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
210
221
|
blurBackground: {
|
|
211
222
|
type: BooleanConstructor;
|
|
@@ -228,6 +239,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
228
239
|
type: BooleanConstructor;
|
|
229
240
|
default: boolean;
|
|
230
241
|
};
|
|
242
|
+
preventBackgroundClose: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
default: boolean;
|
|
245
|
+
};
|
|
246
|
+
closeButtonShowDelay: {
|
|
247
|
+
type: NumberConstructor;
|
|
248
|
+
default: number;
|
|
249
|
+
};
|
|
231
250
|
}>> & Readonly<{
|
|
232
251
|
"onLightbox-closed"?: (...args: any[]) => any;
|
|
233
252
|
}>, {
|
|
@@ -235,6 +254,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
235
254
|
visible: boolean;
|
|
236
255
|
preventClose: boolean;
|
|
237
256
|
blurBackground: boolean;
|
|
257
|
+
preventBackgroundClose: boolean;
|
|
258
|
+
closeButtonShowDelay: number;
|
|
238
259
|
}, {}, {
|
|
239
260
|
KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
240
261
|
icon: {
|
|
@@ -1,235 +1,209 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
id
|
|
20
|
-
image {
|
|
21
|
-
id
|
|
22
|
-
hash # for imageHash
|
|
23
|
-
}
|
|
24
|
-
name # for borrowerName
|
|
25
|
-
...KvLendCta
|
|
26
|
-
...KvLoanTag
|
|
27
|
-
...KvLoanUse
|
|
28
|
-
...LoanCallouts
|
|
29
|
-
...LoanGeocode
|
|
30
|
-
...LoanProgress
|
|
31
|
-
}
|
|
32
|
-
${z}
|
|
33
|
-
${q}
|
|
34
|
-
${x}
|
|
35
|
-
${M}
|
|
36
|
-
${R}
|
|
37
|
-
${B}
|
|
38
|
-
`, ue = o`
|
|
39
|
-
fragment KvWideLoanCardUser on LoanBasic {
|
|
40
|
-
id
|
|
41
|
-
...KvLendCtaUser
|
|
42
|
-
...KvLoanBookmark
|
|
43
|
-
}
|
|
44
|
-
${I}
|
|
45
|
-
${H}
|
|
46
|
-
`, fe = {
|
|
47
|
-
name: "KvWideLoanCard",
|
|
48
|
-
components: {
|
|
49
|
-
KvBorrowerImage: D,
|
|
50
|
-
KvLoadingPlaceholder: W,
|
|
51
|
-
KvLoanUse: O,
|
|
52
|
-
KvLoanProgressGroup: F,
|
|
53
|
-
KvMaterialIcon: V,
|
|
54
|
-
KvLendCta: b,
|
|
55
|
-
KvLoanTag: U,
|
|
56
|
-
KvLoanCallouts: G,
|
|
57
|
-
KvLoanBookmark: P,
|
|
58
|
-
KvTooltip: $
|
|
59
|
-
},
|
|
60
|
-
props: {
|
|
61
|
-
loanId: {
|
|
62
|
-
type: Number,
|
|
63
|
-
default: void 0
|
|
64
|
-
},
|
|
65
|
-
loan: {
|
|
66
|
-
type: Object,
|
|
67
|
-
default: null
|
|
68
|
-
},
|
|
69
|
-
customLoanDetails: {
|
|
70
|
-
type: Boolean,
|
|
71
|
-
default: !1
|
|
72
|
-
},
|
|
73
|
-
showTags: {
|
|
74
|
-
type: Boolean,
|
|
75
|
-
default: !1
|
|
76
|
-
},
|
|
77
|
-
categoryPageName: {
|
|
78
|
-
type: String,
|
|
79
|
-
default: ""
|
|
80
|
-
},
|
|
81
|
-
enableFiveDollarsNotes: {
|
|
82
|
-
type: Boolean,
|
|
83
|
-
default: !1
|
|
84
|
-
},
|
|
85
|
-
isAdding: {
|
|
86
|
-
type: Boolean,
|
|
87
|
-
default: !1
|
|
88
|
-
},
|
|
89
|
-
isVisitor: {
|
|
90
|
-
type: Boolean,
|
|
91
|
-
default: !0
|
|
92
|
-
},
|
|
93
|
-
basketItems: {
|
|
94
|
-
type: Array,
|
|
95
|
-
default: () => []
|
|
96
|
-
},
|
|
97
|
-
isBookmarked: {
|
|
98
|
-
type: Boolean,
|
|
99
|
-
default: !1
|
|
100
|
-
},
|
|
101
|
-
kvTrackFunction: {
|
|
102
|
-
type: Function,
|
|
103
|
-
required: !0
|
|
104
|
-
},
|
|
105
|
-
photoPath: {
|
|
106
|
-
type: String,
|
|
107
|
-
required: !0
|
|
108
|
-
},
|
|
109
|
-
showViewLoan: {
|
|
110
|
-
type: Boolean,
|
|
111
|
-
default: !1
|
|
112
|
-
},
|
|
113
|
-
externalLinks: {
|
|
114
|
-
type: Boolean,
|
|
115
|
-
default: !1
|
|
116
|
-
},
|
|
117
|
-
route: {
|
|
118
|
-
type: Object,
|
|
119
|
-
default: void 0
|
|
120
|
-
},
|
|
121
|
-
userBalance: {
|
|
122
|
-
type: String,
|
|
123
|
-
default: void 0
|
|
124
|
-
},
|
|
125
|
-
getCookie: {
|
|
126
|
-
type: Function,
|
|
127
|
-
default: void 0
|
|
128
|
-
},
|
|
129
|
-
setCookie: {
|
|
130
|
-
type: Function,
|
|
131
|
-
default: void 0
|
|
132
|
-
},
|
|
133
|
-
fiveDollarsSelected: {
|
|
134
|
-
type: Boolean,
|
|
135
|
-
default: !1
|
|
136
|
-
},
|
|
137
|
-
customCallouts: {
|
|
138
|
-
type: Array,
|
|
139
|
-
default: () => []
|
|
140
|
-
},
|
|
141
|
-
customHref: {
|
|
142
|
-
type: String,
|
|
143
|
-
default: ""
|
|
144
|
-
},
|
|
145
|
-
enableMultiMatching: {
|
|
146
|
-
type: Boolean,
|
|
147
|
-
default: !1
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
emits: [
|
|
151
|
-
"toggle-bookmark",
|
|
152
|
-
"add-to-basket"
|
|
153
|
-
],
|
|
154
|
-
setup(e, { emit: a }) {
|
|
155
|
-
const {
|
|
156
|
-
allDataLoaded: t,
|
|
157
|
-
borrowerName: r,
|
|
158
|
-
city: i,
|
|
159
|
-
countryName: n,
|
|
160
|
-
distributionModel: l,
|
|
161
|
-
formattedLocation: d,
|
|
162
|
-
fundraisingPercent: s,
|
|
163
|
-
hasProgressData: m,
|
|
164
|
-
imageHash: u,
|
|
165
|
-
isLoading: f,
|
|
166
|
-
loanAmount: p,
|
|
167
|
-
loanBorrowerCount: c,
|
|
168
|
-
loanCallouts: L,
|
|
169
|
-
loanStatus: g,
|
|
170
|
-
loanUse: v,
|
|
171
|
-
mdiMapMarker: _,
|
|
172
|
-
readMorePath: A,
|
|
173
|
-
state: y,
|
|
174
|
-
tag: K,
|
|
175
|
-
unreservedAmount: N,
|
|
176
|
-
sharesAvailable: h
|
|
177
|
-
} = S(e), {
|
|
178
|
-
clickReadMore: C
|
|
179
|
-
} = k(e, a), {
|
|
180
|
-
locationRef: T,
|
|
181
|
-
isLocationTruncated: E
|
|
182
|
-
} = w();
|
|
183
|
-
return {
|
|
184
|
-
allDataLoaded: t,
|
|
185
|
-
borrowerName: r,
|
|
186
|
-
city: i,
|
|
187
|
-
countryName: n,
|
|
188
|
-
distributionModel: l,
|
|
189
|
-
formattedLocation: d,
|
|
190
|
-
fundraisingPercent: s,
|
|
191
|
-
hasProgressData: m,
|
|
192
|
-
imageHash: u,
|
|
193
|
-
isLoading: f,
|
|
194
|
-
loanAmount: p,
|
|
195
|
-
loanBorrowerCount: c,
|
|
196
|
-
loanCallouts: L,
|
|
197
|
-
loanStatus: g,
|
|
198
|
-
loanUse: v,
|
|
199
|
-
mdiMapMarker: _,
|
|
200
|
-
readMorePath: A,
|
|
201
|
-
state: y,
|
|
202
|
-
tag: K,
|
|
203
|
-
unreservedAmount: N,
|
|
204
|
-
sharesAvailable: h,
|
|
205
|
-
clickReadMore: C,
|
|
206
|
-
locationRef: T,
|
|
207
|
-
isLocationTruncated: E
|
|
208
|
-
};
|
|
209
|
-
},
|
|
210
|
-
computed: {
|
|
211
|
-
cardWidth() {
|
|
212
|
-
return "374px";
|
|
213
|
-
},
|
|
214
|
-
imageAspectRatio() {
|
|
215
|
-
return 1;
|
|
216
|
-
},
|
|
217
|
-
imageDefaultWidth() {
|
|
218
|
-
return 320;
|
|
219
|
-
},
|
|
220
|
-
imageSizes() {
|
|
221
|
-
return [
|
|
222
|
-
{ width: this.imageDefaultWidth, viewSize: 1024 },
|
|
223
|
-
{ width: this.imageDefaultWidth, viewSize: 768 },
|
|
224
|
-
{ width: 416, viewSize: 480 },
|
|
225
|
-
{ width: 374, viewSize: 414 },
|
|
226
|
-
{ width: 335, viewSize: 375 }
|
|
227
|
-
];
|
|
228
|
-
}
|
|
229
|
-
}
|
|
1
|
+
import D from "./KvWideLoanCard.script.js";
|
|
2
|
+
import { KV_WIDE_LOAN_CARD_FRAGMENT as ee, KV_WIDE_LOAN_CARD_USER_FRAGMENT as te } from "./KvWideLoanCard.script.js";
|
|
3
|
+
import { resolveComponent as i, openBlock as o, createElementBlock as r, normalizeClass as f, createElementVNode as s, createBlock as n, resolveDynamicComponent as k, withCtx as m, createVNode as d, toDisplayString as h, createTextVNode as N, createCommentVNode as w, Fragment as R, renderList as V } from "vue";
|
|
4
|
+
import "./KvWideLoanCard.css";
|
|
5
|
+
import B from "../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const T = { class: "loan-card-active-hover tw-flex-1 tw-min-w-[275px] md:tw-min-w-[320px] md:tw-max-w-[320px]" }, E = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "tw-relative tw-w-full"
|
|
9
|
+
}, I = { key: 0 }, S = {
|
|
10
|
+
class: "tw-absolute tw-bottom-1 tw-left-1 tw-text-primary tw-bg-white tw-rounded tw-p-1 tw-mb-0 tw-text-label tw-flex tw-items-center tw-h-3",
|
|
11
|
+
style: { padding: "2px 6px", "text-transform": "capitalize", "max-width": "calc(100% - 1rem)" }
|
|
12
|
+
}, F = ["id"], W = { class: "tw-flex tw-flex-col tw-flex-1 tw-px-1" }, z = { class: "tw-hidden md:tw-inline-block tw-text-title" }, K = { class: "tw-pt-1" }, U = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "tw-w-full",
|
|
15
|
+
style: { height: "5.5rem" }
|
|
16
|
+
}, G = { key: 1 }, O = { class: "tw-flex tw-flex-row tw-justify-between tw-gap-1 md:tw-gap-3" }, j = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "tw-w-full tw-pt-1 tw-pr-1"
|
|
230
19
|
};
|
|
20
|
+
function H(_, a, t, e, q, g) {
|
|
21
|
+
const c = i("kv-loading-placeholder"), v = i("kv-borrower-image"), u = i("kv-material-icon"), b = i("kv-tooltip"), x = i("kv-loan-bookmark"), y = i("kv-loan-tag"), L = i("kv-loan-use"), M = i("kv-loan-callouts"), C = i("kv-loan-progress-group"), A = i("kv-lend-cta");
|
|
22
|
+
return o(), r("div", {
|
|
23
|
+
class: f(["tw-flex tw-flex-row tw-flex-wrap tw-bg-white tw-rounded tw-w-full tw-pb-1 tw-p-1 tw-gap-1 tw-items-center", { "tw-pointer-events-none": e.isLoading }]),
|
|
24
|
+
"data-testid": "loan-card",
|
|
25
|
+
style: { "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.08)" }
|
|
26
|
+
}, [
|
|
27
|
+
s("div", T, [
|
|
28
|
+
e.isLoading ? (o(), n(c, {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "tw-mb-1 tw-w-full tw-rounded",
|
|
31
|
+
style: { height: "15rem" }
|
|
32
|
+
})) : (o(), r("div", E, [
|
|
33
|
+
(o(), n(k(e.tag), {
|
|
34
|
+
to: e.readMorePath,
|
|
35
|
+
href: e.readMorePath,
|
|
36
|
+
class: "tw-flex",
|
|
37
|
+
"aria-label": "Borrower image",
|
|
38
|
+
onClick: a[0] || (a[0] = (l) => e.clickReadMore("Photo", l))
|
|
39
|
+
}, {
|
|
40
|
+
default: m(() => [
|
|
41
|
+
d(v, {
|
|
42
|
+
class: "tw-relative tw-w-full tw-bg-black tw-rounded-sm tw-bg-clip-content",
|
|
43
|
+
alt: `Photo of ${e.borrowerName}`,
|
|
44
|
+
"aspect-ratio": g.imageAspectRatio,
|
|
45
|
+
"default-image": { width: g.imageDefaultWidth },
|
|
46
|
+
hash: e.imageHash,
|
|
47
|
+
images: g.imageSizes,
|
|
48
|
+
"photo-path": t.photoPath
|
|
49
|
+
}, null, 8, ["alt", "aspect-ratio", "default-image", "hash", "images", "photo-path"]),
|
|
50
|
+
e.countryName ? (o(), r("div", I, [
|
|
51
|
+
s("p", S, [
|
|
52
|
+
d(u, {
|
|
53
|
+
class: "tw-h-2 tw-w-2 tw-flex-shrink-0",
|
|
54
|
+
icon: e.mdiMapMarker
|
|
55
|
+
}, null, 8, ["icon"]),
|
|
56
|
+
s("span", {
|
|
57
|
+
id: `loan-location-${t.loanId}`,
|
|
58
|
+
ref: "locationRef",
|
|
59
|
+
class: "tw-truncate tw-min-w-0",
|
|
60
|
+
style: { "margin-top": "0.125rem" }
|
|
61
|
+
}, h(e.formattedLocation), 9, F),
|
|
62
|
+
e.isLocationTruncated ? (o(), n(b, {
|
|
63
|
+
key: 0,
|
|
64
|
+
controller: `loan-location-${t.loanId}`,
|
|
65
|
+
"max-width": "250px"
|
|
66
|
+
}, {
|
|
67
|
+
default: m(() => [
|
|
68
|
+
N(h(e.formattedLocation), 1)
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
}, 8, ["controller"])) : w("", !0)
|
|
72
|
+
])
|
|
73
|
+
])) : w("", !0)
|
|
74
|
+
]),
|
|
75
|
+
_: 1
|
|
76
|
+
}, 8, ["to", "href"])),
|
|
77
|
+
t.isVisitor ? w("", !0) : (o(), n(x, {
|
|
78
|
+
key: 0,
|
|
79
|
+
"loan-id": t.loanId,
|
|
80
|
+
"is-bookmarked": t.isBookmarked,
|
|
81
|
+
class: "tw-absolute tw-right-1",
|
|
82
|
+
style: { top: "-6px" },
|
|
83
|
+
"data-testid": "loan-card-bookmark",
|
|
84
|
+
onToggleBookmark: a[1] || (a[1] = (l) => _.$emit("toggle-bookmark"))
|
|
85
|
+
}, null, 8, ["loan-id", "is-bookmarked"]))
|
|
86
|
+
]))
|
|
87
|
+
]),
|
|
88
|
+
s("div", W, [
|
|
89
|
+
s("h3", z, h(e.borrowerName), 1),
|
|
90
|
+
(o(), n(k(e.tag), {
|
|
91
|
+
to: e.readMorePath,
|
|
92
|
+
href: e.readMorePath,
|
|
93
|
+
class: "tw-flex tw-no-underline hover:tw-no-underline focus:tw-no-underline",
|
|
94
|
+
"aria-label": "Loan tag",
|
|
95
|
+
onClick: a[2] || (a[2] = (l) => e.clickReadMore("Tag", l))
|
|
96
|
+
}, {
|
|
97
|
+
default: m(() => [
|
|
98
|
+
t.showTags && !e.isLoading ? (o(), n(y, {
|
|
99
|
+
key: 0,
|
|
100
|
+
loan: t.loan,
|
|
101
|
+
"enable-multi-matching": t.enableMultiMatching
|
|
102
|
+
}, null, 8, ["loan", "enable-multi-matching"])) : w("", !0)
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}, 8, ["to", "href"])),
|
|
106
|
+
(o(), n(k(e.tag), {
|
|
107
|
+
to: e.readMorePath,
|
|
108
|
+
href: e.readMorePath,
|
|
109
|
+
class: "loan-card-use tw-no-underline tw-text-primary",
|
|
110
|
+
"aria-label": "Loan use",
|
|
111
|
+
onClick: a[3] || (a[3] = (l) => e.clickReadMore("Use", l))
|
|
112
|
+
}, {
|
|
113
|
+
default: m(() => [
|
|
114
|
+
s("div", K, [
|
|
115
|
+
e.isLoading ? (o(), r("div", U, [
|
|
116
|
+
(o(!0), r(R, null, V([...Array(4)], (l, P) => (o(), r("div", {
|
|
117
|
+
key: P,
|
|
118
|
+
class: "tw-h-2 tw-mb-1"
|
|
119
|
+
}, [
|
|
120
|
+
d(c)
|
|
121
|
+
]))), 128))
|
|
122
|
+
])) : (o(), r("div", G, [
|
|
123
|
+
d(L, {
|
|
124
|
+
use: e.loanUse,
|
|
125
|
+
"loan-amount": e.loanAmount,
|
|
126
|
+
status: e.loanStatus,
|
|
127
|
+
"borrower-count": e.loanBorrowerCount,
|
|
128
|
+
name: e.borrowerName,
|
|
129
|
+
"distribution-model": e.distributionModel
|
|
130
|
+
}, null, 8, ["use", "loan-amount", "status", "borrower-count", "name", "distribution-model"])
|
|
131
|
+
]))
|
|
132
|
+
])
|
|
133
|
+
]),
|
|
134
|
+
_: 1
|
|
135
|
+
}, 8, ["to", "href"])),
|
|
136
|
+
e.isLoading || typeof e.loanCallouts > "u" ? (o(), n(c, {
|
|
137
|
+
key: 0,
|
|
138
|
+
class: "tw-mt-1.5 tw-mb-1",
|
|
139
|
+
style: { width: "60%", height: "1.75rem", "border-radius": "500rem" }
|
|
140
|
+
})) : (o(), n(M, {
|
|
141
|
+
key: 1,
|
|
142
|
+
callouts: e.loanCallouts,
|
|
143
|
+
class: "loan-callouts tw-my-1.5"
|
|
144
|
+
}, null, 8, ["callouts"])),
|
|
145
|
+
s("div", O, [
|
|
146
|
+
e.hasProgressData ? w("", !0) : (o(), r("div", j, [
|
|
147
|
+
d(c, {
|
|
148
|
+
class: "tw-mb-0.5",
|
|
149
|
+
style: { width: "70%", height: "1.3rem" }
|
|
150
|
+
}),
|
|
151
|
+
d(c, {
|
|
152
|
+
class: "tw-rounded",
|
|
153
|
+
style: { width: "70%", height: "0.5rem" }
|
|
154
|
+
})
|
|
155
|
+
])),
|
|
156
|
+
e.sharesAvailable ? (o(), n(k(e.tag), {
|
|
157
|
+
key: 1,
|
|
158
|
+
to: e.readMorePath,
|
|
159
|
+
href: e.readMorePath,
|
|
160
|
+
class: "loan-card-progress tw-mt-1 tw-flex-grow",
|
|
161
|
+
"aria-label": "Loan progress",
|
|
162
|
+
onClick: a[4] || (a[4] = (l) => e.clickReadMore("Progress", l))
|
|
163
|
+
}, {
|
|
164
|
+
default: m(() => [
|
|
165
|
+
d(C, {
|
|
166
|
+
id: "loanProgress",
|
|
167
|
+
"money-left": e.unreservedAmount,
|
|
168
|
+
"progress-percent": e.fundraisingPercent,
|
|
169
|
+
class: "tw-text-black"
|
|
170
|
+
}, null, 8, ["money-left", "progress-percent"])
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 8, ["to", "href"])) : w("", !0),
|
|
174
|
+
e.allDataLoaded ? (o(), n(A, {
|
|
175
|
+
key: 3,
|
|
176
|
+
loan: t.loan,
|
|
177
|
+
"unreserved-amount": e.unreservedAmount,
|
|
178
|
+
"basket-items": t.basketItems,
|
|
179
|
+
"is-loading": e.isLoading,
|
|
180
|
+
"is-adding": t.isAdding,
|
|
181
|
+
"enable-five-dollars-notes": t.enableFiveDollarsNotes,
|
|
182
|
+
"five-dollars-selected": t.fiveDollarsSelected,
|
|
183
|
+
"kv-track-function": t.kvTrackFunction,
|
|
184
|
+
"show-view-loan": t.showViewLoan,
|
|
185
|
+
"custom-loan-details": t.customLoanDetails,
|
|
186
|
+
"external-links": t.externalLinks,
|
|
187
|
+
route: t.route,
|
|
188
|
+
"user-balance": t.userBalance,
|
|
189
|
+
"get-cookie": t.getCookie,
|
|
190
|
+
"set-cookie": t.setCookie,
|
|
191
|
+
"is-visitor": t.isVisitor,
|
|
192
|
+
class: f(["tw-mt-auto tw-self-end", { "tw-flex-grow": !e.sharesAvailable, "tw-flex-shrink-0": e.sharesAvailable }]),
|
|
193
|
+
onAddToBasket: a[5] || (a[5] = (l) => _.$emit("add-to-basket", l)),
|
|
194
|
+
onShowLoanDetails: a[6] || (a[6] = (l) => e.clickReadMore("ViewLoan", l))
|
|
195
|
+
}, null, 8, ["loan", "unreserved-amount", "basket-items", "is-loading", "is-adding", "enable-five-dollars-notes", "five-dollars-selected", "kv-track-function", "show-view-loan", "custom-loan-details", "external-links", "route", "user-balance", "get-cookie", "set-cookie", "is-visitor", "class"])) : (o(), n(c, {
|
|
196
|
+
key: 2,
|
|
197
|
+
class: "tw-rounded tw-self-start",
|
|
198
|
+
style: { width: "9rem", height: "3rem" }
|
|
199
|
+
}))
|
|
200
|
+
])
|
|
201
|
+
])
|
|
202
|
+
], 2);
|
|
203
|
+
}
|
|
204
|
+
const Z = /* @__PURE__ */ B(D, [["render", H], ["__scopeId", "data-v-de4628d8"]]);
|
|
231
205
|
export {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
206
|
+
ee as KV_WIDE_LOAN_CARD_FRAGMENT,
|
|
207
|
+
te as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
|
|
208
|
+
Z as default
|
|
235
209
|
};
|