@kiva/kv-components 10.6.0 → 10.7.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/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.css +1 -1
- package/dist/vue/KvImageUpload.js +47 -34
- package/dist/vue/KvImageUpload.script.js +176 -0
- 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 +1 -1
- 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/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/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/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/KvImageUpload2.js +0 -150
- package/dist/vue/KvIntroductionLoanCard2.js +0 -250
- package/dist/vue/KvLendCta2.js +0 -357
- 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/{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/{KvLightbox2.js → KvLightbox.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,77 +0,0 @@
|
|
|
1
|
-
import g from "./KvLoanActivities.js";
|
|
2
|
-
import { KV_LOAN_ACTIVITIES_FRAGMENT as H } from "./KvLoanActivities.js";
|
|
3
|
-
import { resolveComponent as c, openBlock as n, createElementBlock as s, createElementVNode as i, createVNode as d, toDisplayString as l, createCommentVNode as r, withCtx as m, Fragment as w, renderList as _, createBlock as h } from "vue";
|
|
4
|
-
import "./KvLoanActivities.css";
|
|
5
|
-
import y from "../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
-
const A = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "loan-activity"
|
|
9
|
-
}, L = { class: "tw-flex tw-justify-center lg:tw-px-0" }, C = { class: "tw-flex tw-justify-center tw-mt-1 tw-text-small" }, K = { key: 0 }, N = { class: "tw-text-title tw-flex-1 data-hj-suppress" }, M = { class: "tw-overflow-x-hidden tw-px-2 tw-pb-1" }, T = { class: "tw-text-center tw-text-upper" }, V = { class: "tw-flex tw-flex-col tw-gap-y-1" }, B = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "tw-mt-1 tw-text-small tw-text-danger"
|
|
12
|
-
}, F = { class: "tw-flex tw-justify-end tw-mt-4 tw-pb-2.5 md:tw-pb-4" };
|
|
13
|
-
function I(k, a, t, e, j, E) {
|
|
14
|
-
const v = c("KvActivityRow"), x = c("KvLendCta"), u = c("KvLightbox");
|
|
15
|
-
return t.combinedActivities.length > 0 ? (n(), s("div", A, [
|
|
16
|
-
i("div", L, [
|
|
17
|
-
d(v, { activity: e.singleActivity }, null, 8, ["activity"])
|
|
18
|
-
]),
|
|
19
|
-
i("div", C, [
|
|
20
|
-
e.lendersNumber && e.amountLent ? (n(), s("span", K, l(e.lendersNumber) + " lenders lent " + l(e.amountLent) + ". ", 1)) : r("", !0),
|
|
21
|
-
i("button", {
|
|
22
|
-
class: "tw-text-action hover:tw-underline",
|
|
23
|
-
onClick: a[0] || (a[0] = (...o) => e.showActivityModal && e.showActivityModal(...o))
|
|
24
|
-
}, " See all activity ")
|
|
25
|
-
]),
|
|
26
|
-
d(u, {
|
|
27
|
-
title: "Activity Feed Modal",
|
|
28
|
-
visible: e.lightboxOpen,
|
|
29
|
-
onLightboxClosed: e.closeLightbox
|
|
30
|
-
}, {
|
|
31
|
-
header: m(() => [
|
|
32
|
-
i("h2", N, l(e.modalTitle), 1)
|
|
33
|
-
]),
|
|
34
|
-
default: m(() => [
|
|
35
|
-
i("div", M, [
|
|
36
|
-
(n(!0), s(w, null, _(t.combinedActivities, (o) => (n(), s("div", {
|
|
37
|
-
key: o.key,
|
|
38
|
-
class: "md:tw-px-8 lg:tw-px-14 tw-mt-4"
|
|
39
|
-
}, [
|
|
40
|
-
i("p", T, l(e.formattedDate(o.key)), 1),
|
|
41
|
-
i("div", V, [
|
|
42
|
-
(n(!0), s(w, null, _(o.data, (b, f) => (n(), h(v, {
|
|
43
|
-
key: f,
|
|
44
|
-
activity: b
|
|
45
|
-
}, null, 8, ["activity"]))), 128))
|
|
46
|
-
])
|
|
47
|
-
]))), 128))
|
|
48
|
-
]),
|
|
49
|
-
i("div", null, [
|
|
50
|
-
t.errorMsg ? (n(), s("p", B, l(t.errorMsg), 1)) : r("", !0),
|
|
51
|
-
i("div", F, [
|
|
52
|
-
d(x, {
|
|
53
|
-
loan: t.loan,
|
|
54
|
-
"is-loading": !1,
|
|
55
|
-
"kv-track-function": t.kvTrackFunction,
|
|
56
|
-
"get-cookie": t.getCookie,
|
|
57
|
-
"set-cookie": t.setCookie,
|
|
58
|
-
"user-balance": t.userBalance,
|
|
59
|
-
"basket-items": t.basketItems,
|
|
60
|
-
route: t.route,
|
|
61
|
-
"is-adding": t.isAdding,
|
|
62
|
-
"is-visitor": t.isVisitor,
|
|
63
|
-
"enable-five-dollars-notes": t.enableFiveDollarsNotes,
|
|
64
|
-
onAddToBasket: a[1] || (a[1] = (o) => k.$emit("add-to-basket", o))
|
|
65
|
-
}, null, 8, ["loan", "kv-track-function", "get-cookie", "set-cookie", "user-balance", "basket-items", "route", "is-adding", "is-visitor", "enable-five-dollars-notes"])
|
|
66
|
-
])
|
|
67
|
-
])
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
}, 8, ["visible", "onLightboxClosed"])
|
|
71
|
-
])) : r("", !0);
|
|
72
|
-
}
|
|
73
|
-
const G = /* @__PURE__ */ y(g, [["render", I], ["__scopeId", "data-v-c2b4aeda"]]);
|
|
74
|
-
export {
|
|
75
|
-
H as KV_LOAN_ACTIVITIES_FRAGMENT,
|
|
76
|
-
G as default
|
|
77
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import i from "./KvLoanBookmark.js";
|
|
2
|
-
import { KV_LOAN_BOOKMARK_FRAGMENT as K } from "./KvLoanBookmark.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", {
|
|
9
|
-
style: { "border-radius": "8px", padding: "3px" },
|
|
10
|
-
class: "tw-cursor-pointer tw-font-medium tw-bg-white tw-flex tw-justify-center",
|
|
11
|
-
onClick: e[0] || (e[0] = (p) => r.$emit("toggle-bookmark"))
|
|
12
|
-
}, [
|
|
13
|
-
c(n, {
|
|
14
|
-
class: k(["tw-w-3", { "tw-text-black": !o.isBookmarked, "tw-text-marigold": o.isBookmarked }]),
|
|
15
|
-
icon: `${o.isBookmarked ? t.mdiBookmark : t.mdiBookmarkOutline}`
|
|
16
|
-
}, null, 8, ["class", "icon"])
|
|
17
|
-
])
|
|
18
|
-
]);
|
|
19
|
-
}
|
|
20
|
-
const v = /* @__PURE__ */ d(i, [["render", f]]);
|
|
21
|
-
export {
|
|
22
|
-
K as KV_LOAN_BOOKMARK_FRAGMENT,
|
|
23
|
-
v as default
|
|
24
|
-
};
|
package/dist/vue/KvLoanTag2.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import h from "./KvLoanTag.js";
|
|
2
|
-
import { KV_LOAN_TAG_FRAGMENT as L } from "./KvLoanTag.js";
|
|
3
|
-
import { resolveComponent as d, openBlock as e, createElementBlock as r, normalizeStyle as _, normalizeClass as w, Fragment as o, createTextVNode as m, toDisplayString as a, createElementVNode as l, createVNode as p, withCtx as y, renderList as k, createBlock as f, createCommentVNode as s } from "vue";
|
|
4
|
-
import x from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const v = ["id"], M = { class: "tw-whitespace-nowrap tw-pb-0.5" };
|
|
6
|
-
function N(b, i, c, C, T, t) {
|
|
7
|
-
const u = d("kv-tooltip"), g = d("kv-countdown-timer");
|
|
8
|
-
return t.variation ? (e(), r("div", {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: w(["tw-text-small tw-font-medium tw-pt-0.5", { "tw-line-clamp-1": !t.isMultipleMatch }]),
|
|
11
|
-
style: _({ color: t.tagColor })
|
|
12
|
-
}, [
|
|
13
|
-
t.isMultipleMatch ? (e(), r(o, { key: 0 }, [
|
|
14
|
-
m(a(t.totalMatchRatio) + "x match by ", 1),
|
|
15
|
-
l("span", {
|
|
16
|
-
id: `matching-orgs-${c.loan.id}`,
|
|
17
|
-
class: "tw-underline tw-decoration-dotted tw-cursor-pointer"
|
|
18
|
-
}, a(t.multiMatchingOrgs.length) + " organizations", 9, v),
|
|
19
|
-
p(u, {
|
|
20
|
-
controller: `matching-orgs-${c.loan.id}`,
|
|
21
|
-
"max-width": "320px"
|
|
22
|
-
}, {
|
|
23
|
-
default: y(() => [
|
|
24
|
-
l("p", M, " Your contribution is matched by " + a(t.multiMatchingOrgs.length) + " partners ", 1),
|
|
25
|
-
i[0] || (i[0] = l("hr", { class: "tw-border-caution-highlight tw-py-0.5" }, null, -1)),
|
|
26
|
-
(e(!0), r(o, null, k(t.multiMatchingOrgs, (n) => (e(), r("p", {
|
|
27
|
-
key: n.managedAccountId,
|
|
28
|
-
class: "tw-m-0"
|
|
29
|
-
}, a(n.ratio) + ":1 matching by " + a(t.orgDisplayName(n)), 1))), 128))
|
|
30
|
-
]),
|
|
31
|
-
_: 1
|
|
32
|
-
}, 8, ["controller"])
|
|
33
|
-
], 64)) : (e(), r(o, { key: 1 }, [
|
|
34
|
-
m(a(t.tagText) + " ", 1),
|
|
35
|
-
t.variation === "ending-soon" ? (e(), f(g, {
|
|
36
|
-
key: 0,
|
|
37
|
-
deadline: t.deadline
|
|
38
|
-
}, null, 8, ["deadline"])) : s("", !0)
|
|
39
|
-
], 64))
|
|
40
|
-
], 6)) : s("", !0);
|
|
41
|
-
}
|
|
42
|
-
const z = /* @__PURE__ */ x(h, [["render", N]]);
|
|
43
|
-
export {
|
|
44
|
-
L as KV_LOAN_TAG_FRAGMENT,
|
|
45
|
-
z as default
|
|
46
|
-
};
|
package/dist/vue/KvLoanUse2.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import o from "./KvLoanUse.js";
|
|
2
|
-
import { KV_LOAN_USE_FRAGMENT as E } from "./KvLoanUse.js";
|
|
3
|
-
import { openBlock as r, createElementBlock as n } from "vue";
|
|
4
|
-
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const c = ["innerHTML"];
|
|
6
|
-
function s(_, p, a, l, m, e) {
|
|
7
|
-
return r(), n("p", {
|
|
8
|
-
class: "tw-line-clamp-4",
|
|
9
|
-
innerHTML: e.loanUse
|
|
10
|
-
}, null, 8, c);
|
|
11
|
-
}
|
|
12
|
-
const u = /* @__PURE__ */ t(o, [["render", s]]);
|
|
13
|
-
export {
|
|
14
|
-
E as KV_LOAN_USE_FRAGMENT,
|
|
15
|
-
u as default
|
|
16
|
-
};
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import D from "./KvWideLoanCard.js";
|
|
2
|
-
import { KV_WIDE_LOAN_CARD_FRAGMENT as ee, KV_WIDE_LOAN_CARD_USER_FRAGMENT as te } from "./KvWideLoanCard.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"
|
|
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"]]);
|
|
205
|
-
export {
|
|
206
|
-
ee as KV_WIDE_LOAN_CARD_FRAGMENT,
|
|
207
|
-
te as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
|
|
208
|
-
Z as default
|
|
209
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/vue/KvWwwHeader/{KvHeaderTakeActionMenu2.js → KvHeaderTakeActionMenu.script.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/vue/KvWwwHeader/LendMenu/{KvLendMenuCountryList2.js → KvLendMenuCountryList.script.js}
RENAMED
|
File without changes
|
/package/dist/vue/KvWwwHeader/LendMenu/{KvLendMenuSearchList2.js → KvLendMenuSearchList.script.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{CategoriesPanel2.js → CategoriesPanel.script.js}
RENAMED
|
File without changes
|
/package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{MobileLendMenu2.js → MobileLendMenu.script.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{RegionsPanel2.js → RegionsPanel.script.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|