@kiva/kv-components 8.26.0 → 8.26.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.
@@ -1,121 +1,136 @@
1
- import D from "./KvClassicLoanCard2.js";
2
- import { KV_CLASSIC_LOAN_CARD_FRAGMENT as ee, KV_CLASSIC_LOAN_CARD_USER_FRAGMET as te } from "./KvClassicLoanCard2.js";
3
- import { resolveComponent as i, openBlock as o, createElementBlock as s, normalizeStyle as N, normalizeClass as r, createElementVNode as d, createBlock as n, resolveDynamicComponent as g, withCtx as v, createVNode as m, toDisplayString as b, createCommentVNode as w, Fragment as V, renderList as R } from "vue";
1
+ import N from "./KvClassicLoanCard2.js";
2
+ import { KV_CLASSIC_LOAN_CARD_FRAGMENT as ae, KV_CLASSIC_LOAN_CARD_USER_FRAGMET as oe } from "./KvClassicLoanCard2.js";
3
+ import { resolveComponent as i, openBlock as a, createElementBlock as s, normalizeStyle as T, normalizeClass as r, createElementVNode as d, createBlock as n, resolveDynamicComponent as v, withCtx as g, createVNode as w, toDisplayString as b, createTextVNode as V, createCommentVNode as c, Fragment as R, renderList as S } from "vue";
4
4
  import "./KvClassicLoanCard.css";
5
- import S from "../_virtual/_plugin-vue_export-helper.js";
6
- const T = { class: "tw-grow" }, F = { class: "loan-card-active-hover" }, I = {
5
+ import F from "../_virtual/_plugin-vue_export-helper.js";
6
+ const I = { class: "tw-grow" }, E = { class: "loan-card-active-hover" }, K = {
7
7
  key: 1,
8
8
  class: "tw-relative"
9
- }, E = { key: 0 }, K = {
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-mr-2 tw-text-label tw-flex tw-items-center tw-h-3",
11
- style: { padding: "2px 6px", "text-transform": "capitalize" }
12
- }, z = { style: { "margin-top": "0.125rem" } }, W = { class: "tw-mb-1.5 tw-pt-1" }, U = { key: 1 }, j = {
9
+ }, z = { key: 0 }, W = {
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
+ }, U = ["id"], j = { class: "tw-mb-1.5 tw-pt-1" }, G = { key: 1 }, H = {
13
13
  key: 0,
14
14
  class: "tw-w-full tw-pt-1 tw-pr-1"
15
- }, G = {
15
+ }, O = {
16
16
  key: 0,
17
17
  class: "tw-text-center tw-w-full tw-mt-1 tw-font-medium"
18
- }, H = {
18
+ }, q = {
19
19
  key: 1,
20
20
  class: "tw-pt-1.5"
21
21
  };
22
- function O(u, a, e, t, q, c) {
23
- const k = i("kv-loading-placeholder"), h = i("kv-borrower-image"), f = i("kv-material-icon"), _ = i("kv-loan-team-pick"), y = i("kv-loan-bookmark"), x = i("kv-loan-tag"), C = i("kv-loan-use"), L = i("kv-loan-callouts"), A = i("kv-loan-progress-group"), M = i("kv-lend-cta"), P = i("KvLoanActivities");
24
- return o(), s("div", {
22
+ function J(u, o, e, t, Q, m) {
23
+ const k = i("kv-loading-placeholder"), h = i("kv-borrower-image"), f = i("kv-material-icon"), _ = i("kv-tooltip"), y = i("kv-loan-team-pick"), x = i("kv-loan-bookmark"), C = i("kv-loan-tag"), L = i("kv-loan-use"), A = i("kv-loan-callouts"), M = i("kv-loan-progress-group"), P = i("kv-lend-cta"), B = i("KvLoanActivities");
24
+ return a(), s("div", {
25
25
  class: r(["tw-flex tw-flex-col tw-bg-white tw-rounded tw-w-full tw-pb-1", { "tw-p-1": !e.largeCard, "tw-pointer-events-none": t.isLoading }]),
26
26
  "data-testid": "loan-card",
27
- style: N([{ "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.08)" }, { minWidth: "230px", maxWidth: c.cardWidth }])
27
+ style: T([{ "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.08)" }, { minWidth: "230px", maxWidth: m.cardWidth }])
28
28
  }, [
29
- d("div", T, [
30
- d("div", F, [
31
- t.isLoading ? (o(), n(k, {
29
+ d("div", I, [
30
+ d("div", E, [
31
+ t.isLoading ? (a(), n(k, {
32
32
  key: 0,
33
33
  class: r(["tw-mb-1 tw-w-full", { "tw-rounded-t tw-rounded-b-none": e.largeCard, "!tw-rounded-sm": !e.largeCard }]),
34
34
  style: { height: "15rem" }
35
- }, null, 8, ["class"])) : (o(), s("div", I, [
36
- (o(), n(g(t.tag), {
35
+ }, null, 8, ["class"])) : (a(), s("div", K, [
36
+ (a(), n(v(t.tag), {
37
37
  to: t.readMorePath,
38
38
  href: t.readMorePath,
39
39
  class: "tw-flex",
40
40
  "aria-label": "Borrower image",
41
- onClick: a[0] || (a[0] = (l) => t.clickReadMore("Photo", l))
41
+ onClick: o[0] || (o[0] = (l) => t.clickReadMore("Photo", l))
42
42
  }, {
43
- default: v(() => [
44
- m(h, {
43
+ default: g(() => [
44
+ w(h, {
45
45
  class: r(["tw-relative tw-w-full tw-bg-black tw-bg-clip-content", { "tw-rounded-t": e.largeCard, "tw-rounded-sm": !e.largeCard }]),
46
46
  alt: `Photo of ${t.borrowerName}`,
47
- "aspect-ratio": c.imageAspectRatio,
48
- "default-image": { width: c.imageDefaultWidth },
47
+ "aspect-ratio": m.imageAspectRatio,
48
+ "default-image": { width: m.imageDefaultWidth },
49
49
  hash: t.imageHash,
50
- images: c.imageSizes,
50
+ images: m.imageSizes,
51
51
  "photo-path": e.photoPath
52
52
  }, null, 8, ["class", "alt", "aspect-ratio", "default-image", "hash", "images", "photo-path"]),
53
- t.countryName ? (o(), s("div", E, [
54
- d("p", K, [
55
- m(f, {
56
- class: "tw-h-2 tw-w-2",
53
+ t.countryName ? (a(), s("div", z, [
54
+ d("p", W, [
55
+ w(f, {
56
+ class: "tw-h-2 tw-w-2 tw-flex-shrink-0",
57
57
  icon: t.mdiMapMarker
58
58
  }, null, 8, ["icon"]),
59
- d("span", z, b(t.formattedLocation), 1)
59
+ d("span", {
60
+ id: `loan-location-${e.loanId}`,
61
+ ref: "locationRef",
62
+ class: "tw-truncate tw-min-w-0",
63
+ style: { "margin-top": "0.125rem" }
64
+ }, b(t.formattedLocation), 9, U),
65
+ t.isLocationTruncated ? (a(), n(_, {
66
+ key: 0,
67
+ controller: `loan-location-${e.loanId}`,
68
+ "max-width": "250px"
69
+ }, {
70
+ default: g(() => [
71
+ V(b(t.formattedLocation), 1)
72
+ ]),
73
+ _: 1
74
+ }, 8, ["controller"])) : c("", !0)
60
75
  ])
61
- ])) : w("", !0)
76
+ ])) : c("", !0)
62
77
  ]),
63
78
  _: 1
64
79
  }, 8, ["to", "href"])),
65
- e.isTeamPick ? (o(), n(_, {
80
+ e.isTeamPick ? (a(), n(y, {
66
81
  key: 0,
67
82
  class: r(["tw-absolute", { "tw-right-6": !e.isVisitor, "tw-right-0": e.isVisitor }]),
68
83
  style: { top: "-6px" },
69
84
  "data-testid": "loan-card-teampick"
70
- }, null, 8, ["class"])) : w("", !0),
71
- e.isVisitor ? w("", !0) : (o(), n(y, {
85
+ }, null, 8, ["class"])) : c("", !0),
86
+ e.isVisitor ? c("", !0) : (a(), n(x, {
72
87
  key: 1,
73
88
  "loan-id": e.loanId,
74
89
  "is-bookmarked": e.isBookmarked,
75
90
  class: "tw-absolute tw-right-1",
76
91
  style: { top: "-6px" },
77
92
  "data-testid": "loan-card-bookmark",
78
- onToggleBookmark: a[1] || (a[1] = (l) => u.$emit("toggle-bookmark"))
93
+ onToggleBookmark: o[1] || (o[1] = (l) => u.$emit("toggle-bookmark"))
79
94
  }, null, 8, ["loan-id", "is-bookmarked"]))
80
95
  ])),
81
- (o(), n(g(t.tag), {
96
+ (a(), n(v(t.tag), {
82
97
  to: t.readMorePath,
83
98
  href: t.readMorePath,
84
99
  class: r(["tw-flex tw-no-underline hover:tw-no-underline focus:tw-no-underline", { "tw-px-1": e.largeCard }]),
85
100
  "aria-label": "Loan tag",
86
- onClick: a[2] || (a[2] = (l) => t.clickReadMore("Tag", l))
101
+ onClick: o[2] || (o[2] = (l) => t.clickReadMore("Tag", l))
87
102
  }, {
88
- default: v(() => [
89
- e.showTags && !t.isLoading ? (o(), n(x, {
103
+ default: g(() => [
104
+ e.showTags && !t.isLoading ? (a(), n(C, {
90
105
  key: 0,
91
106
  loan: e.loan,
92
107
  "enable-multi-matching": e.enableMultiMatching
93
- }, null, 8, ["loan", "enable-multi-matching"])) : w("", !0)
108
+ }, null, 8, ["loan", "enable-multi-matching"])) : c("", !0)
94
109
  ]),
95
110
  _: 1
96
111
  }, 8, ["to", "href", "class"])),
97
- (o(), n(g(t.tag), {
112
+ (a(), n(v(t.tag), {
98
113
  to: t.readMorePath,
99
114
  href: t.readMorePath,
100
115
  class: "loan-card-use tw-no-underline tw-text-primary",
101
116
  "aria-label": "Loan use",
102
- onClick: a[3] || (a[3] = (l) => t.clickReadMore("Use", l))
117
+ onClick: o[3] || (o[3] = (l) => t.clickReadMore("Use", l))
103
118
  }, {
104
- default: v(() => [
105
- d("div", W, [
106
- t.isLoading ? (o(), s("div", {
119
+ default: g(() => [
120
+ d("div", j, [
121
+ t.isLoading ? (a(), s("div", {
107
122
  key: 0,
108
123
  class: r(["tw-w-full", { "tw-px-1": e.largeCard }]),
109
124
  style: { height: "5.5rem" }
110
125
  }, [
111
- (o(!0), s(V, null, R([...Array(4)], (l, B) => (o(), s("div", {
112
- key: B,
126
+ (a(!0), s(R, null, S([...Array(4)], (l, D) => (a(), s("div", {
127
+ key: D,
113
128
  class: "tw-h-2 tw-mb-1"
114
129
  }, [
115
- m(k)
130
+ w(k)
116
131
  ]))), 128))
117
- ], 2)) : (o(), s("div", U, [
118
- m(C, {
132
+ ], 2)) : (a(), s("div", G, [
133
+ w(L, {
119
134
  use: t.loanUse,
120
135
  "loan-amount": t.loanAmount,
121
136
  status: t.loanStatus,
@@ -130,41 +145,41 @@ function O(u, a, e, t, q, c) {
130
145
  _: 1
131
146
  }, 8, ["to", "href"]))
132
147
  ]),
133
- t.isLoading || typeof t.loanCallouts > "u" ? (o(), n(k, {
148
+ t.isLoading || typeof t.loanCallouts > "u" ? (a(), n(k, {
134
149
  key: 0,
135
150
  class: r(["tw-mt-1.5 tw-mb-1", { "tw-mx-1": e.largeCard }]),
136
151
  style: { width: "60%", height: "1.75rem", "border-radius": "500rem" }
137
- }, null, 8, ["class"])) : (o(), n(L, {
152
+ }, null, 8, ["class"])) : (a(), n(A, {
138
153
  key: 1,
139
154
  callouts: t.loanCallouts,
140
155
  class: r(["tw-mt-1.5", { "tw-px-1": e.largeCard }]),
141
- onClick: a[4] || (a[4] = (l) => u.$emit("jump-filter-page", l))
156
+ onClick: o[4] || (o[4] = (l) => u.$emit("jump-filter-page", l))
142
157
  }, null, 8, ["callouts", "class"]))
143
158
  ]),
144
159
  d("div", {
145
160
  class: r(["tw-flex tw-justify-between tw-mt-2", { "tw-px-1": e.largeCard }])
146
161
  }, [
147
- t.hasProgressData ? w("", !0) : (o(), s("div", j, [
148
- m(k, {
162
+ t.hasProgressData ? c("", !0) : (a(), s("div", H, [
163
+ w(k, {
149
164
  class: "tw-mb-0.5",
150
165
  style: { width: "70%", height: "1.3rem" }
151
166
  }),
152
- m(k, {
167
+ w(k, {
153
168
  class: "tw-rounded",
154
169
  style: { width: "70%", height: "0.5rem" }
155
170
  })
156
171
  ])),
157
172
  d("div", null, [
158
- t.sharesAvailable ? (o(), n(g(t.tag), {
173
+ t.sharesAvailable ? (a(), n(v(t.tag), {
159
174
  key: 0,
160
175
  to: t.readMorePath,
161
176
  href: t.readMorePath,
162
177
  class: "loan-card-progress tw-no-underline tw-mt-1",
163
178
  "aria-label": "Loan progress",
164
- onClick: a[5] || (a[5] = (l) => t.clickReadMore("Progress", l))
179
+ onClick: o[5] || (o[5] = (l) => t.clickReadMore("Progress", l))
165
180
  }, {
166
- default: v(() => [
167
- m(A, {
181
+ default: g(() => [
182
+ w(M, {
168
183
  id: "loanProgress",
169
184
  "money-left": t.unreservedAmount,
170
185
  "progress-percent": t.fundraisingPercent,
@@ -172,9 +187,9 @@ function O(u, a, e, t, q, c) {
172
187
  }, null, 8, ["money-left", "progress-percent"])
173
188
  ]),
174
189
  _: 1
175
- }, 8, ["to", "href"])) : w("", !0)
190
+ }, 8, ["to", "href"])) : c("", !0)
176
191
  ]),
177
- t.allDataLoaded ? (o(), n(M, {
192
+ t.allDataLoaded ? (a(), n(P, {
178
193
  key: 2,
179
194
  loan: e.loan,
180
195
  "unreserved-amount": t.unreservedAmount,
@@ -196,21 +211,21 @@ function O(u, a, e, t, q, c) {
196
211
  "secondary-button-text": e.secondaryButtonText,
197
212
  "secondary-button-handler": e.secondaryButtonHandler,
198
213
  class: r(["tw-mt-auto", { "tw-w-full": !t.sharesAvailable }]),
199
- onAddToBasket: a[6] || (a[6] = (l) => u.$emit("add-to-basket", l)),
200
- onShowLoanDetails: a[7] || (a[7] = (l) => t.clickReadMore("ViewLoan", l)),
201
- onRemoveFromBasket: a[8] || (a[8] = (l) => u.$emit("remove-from-basket", l))
202
- }, 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", "primary-button-text", "secondary-button-text", "secondary-button-handler", "class"])) : (o(), n(k, {
214
+ onAddToBasket: o[6] || (o[6] = (l) => u.$emit("add-to-basket", l)),
215
+ onShowLoanDetails: o[7] || (o[7] = (l) => t.clickReadMore("ViewLoan", l)),
216
+ onRemoveFromBasket: o[8] || (o[8] = (l) => u.$emit("remove-from-basket", l))
217
+ }, 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", "primary-button-text", "secondary-button-text", "secondary-button-handler", "class"])) : (a(), n(k, {
203
218
  key: 1,
204
219
  class: "tw-rounded tw-self-start",
205
220
  style: { width: "9rem", height: "3rem" }
206
221
  }))
207
222
  ], 2),
208
- e.showContributors && c.lendersNumber && c.amountLent ? (o(), s("div", G, [
209
- d("p", null, b(c.lendersNumber) + " people contributed " + b(c.amountLent), 1)
210
- ])) : w("", !0),
211
- e.combinedActivities.length > 0 ? (o(), s("div", H, [
212
- a[10] || (a[10] = d("hr", { class: "tw-border-tertiary tw-mb-1 tw-w-5/6 tw-mx-auto" }, null, -1)),
213
- m(P, {
223
+ e.showContributors && m.lendersNumber && m.amountLent ? (a(), s("div", O, [
224
+ d("p", null, b(m.lendersNumber) + " people contributed " + b(m.amountLent), 1)
225
+ ])) : c("", !0),
226
+ e.combinedActivities.length > 0 ? (a(), s("div", q, [
227
+ o[10] || (o[10] = d("hr", { class: "tw-border-tertiary tw-mb-1 tw-w-5/6 tw-mx-auto" }, null, -1)),
228
+ w(B, {
214
229
  loan: e.loan,
215
230
  "combined-activities": e.combinedActivities,
216
231
  "kv-track-function": e.kvTrackFunction,
@@ -227,14 +242,14 @@ function O(u, a, e, t, q, c) {
227
242
  "set-cookie": e.setCookie,
228
243
  "error-msg": e.errorMsg,
229
244
  "is-visitor": e.isVisitor,
230
- onAddToBasket: a[9] || (a[9] = (l) => u.$emit("add-to-basket", l))
245
+ onAddToBasket: o[9] || (o[9] = (l) => u.$emit("add-to-basket", l))
231
246
  }, null, 8, ["loan", "combined-activities", "kv-track-function", "basket-items", "is-adding", "enable-five-dollars-notes", "five-dollars-selected", "show-view-loan", "custom-loan-details", "external-links", "route", "user-balance", "get-cookie", "set-cookie", "error-msg", "is-visitor"])
232
- ])) : w("", !0)
247
+ ])) : c("", !0)
233
248
  ], 6);
234
249
  }
235
- const Z = /* @__PURE__ */ S(D, [["render", O], ["__scopeId", "data-v-907918f9"]]);
250
+ const $ = /* @__PURE__ */ F(N, [["render", J], ["__scopeId", "data-v-44561e04"]]);
236
251
  export {
237
- ee as KV_CLASSIC_LOAN_CARD_FRAGMENT,
238
- te as KV_CLASSIC_LOAN_CARD_USER_FRAGMET,
239
- Z as default
252
+ ae as KV_CLASSIC_LOAN_CARD_FRAGMENT,
253
+ oe as KV_CLASSIC_LOAN_CARD_USER_FRAGMET,
254
+ $ as default
240
255
  };
@@ -1,23 +1,24 @@
1
1
  import a from "graphql-tag";
2
- import B from "numeral";
3
- import { LOAN_CALLOUTS_FRAGMENT as S, LOAN_GEOCODE_FRAGMENT as T, LOAN_PROGRESS_FRAGMENT as M, loanCardComputedProperties as k, loanCardMethods as F } from "../utils/loanCard.js";
4
- import w from "./KvLoanUse.js";
5
- import E from "./KvBorrowerImage.js";
6
- import R from "./KvLoanProgressGroup.js";
7
- import b from "./KvLoanCallouts.js";
8
- import O from "./KvLendCta.js";
9
- import G from "./KvLoanBookmark.js";
10
- import D from "./KvLoanTag.js";
11
- import P from "./KvMaterialIcon.js";
12
- import I from "./KvLoadingPlaceholder.js";
13
- import V from "./KvLoanTeamPick.js";
14
- import $ from "./KvLoanActivities.js";
15
- import { KV_LEND_CTA_FRAGMENT as U, KV_LEND_CTA_USER_FRAGMENT as z } from "./KvLendCta2.js";
16
- import { KV_LOAN_ACTIVITIES_FRAGMENT as W } from "./KvLoanActivities2.js";
17
- import { KV_LOAN_TAG_FRAGMENT as x } from "./KvLoanTag2.js";
18
- import { KV_LOAN_USE_FRAGMENT as H } from "./KvLoanUse2.js";
19
- import { KV_LOAN_BOOKMARK_FRAGMENT as j } from "./KvLoanBookmark2.js";
20
- const pe = a`
2
+ import S from "numeral";
3
+ import { LOAN_CALLOUTS_FRAGMENT as M, LOAN_GEOCODE_FRAGMENT as k, LOAN_PROGRESS_FRAGMENT as F, loanCardComputedProperties as R, loanCardMethods as w, useLocationTruncation as E } from "../utils/loanCard.js";
4
+ import b from "./KvLoanUse.js";
5
+ import O from "./KvBorrowerImage.js";
6
+ import G from "./KvLoanProgressGroup.js";
7
+ import D from "./KvLoanCallouts.js";
8
+ import P from "./KvLendCta.js";
9
+ import I from "./KvLoanBookmark.js";
10
+ import V from "./KvLoanTag.js";
11
+ import $ from "./KvMaterialIcon.js";
12
+ import U from "./KvLoadingPlaceholder.js";
13
+ import z from "./KvLoanTeamPick.js";
14
+ import W from "./KvLoanActivities.js";
15
+ import x from "./KvTooltip.js";
16
+ import { KV_LEND_CTA_FRAGMENT as H, KV_LEND_CTA_USER_FRAGMENT as j } from "./KvLendCta2.js";
17
+ import { KV_LOAN_ACTIVITIES_FRAGMENT as q } from "./KvLoanActivities2.js";
18
+ import { KV_LOAN_TAG_FRAGMENT as J } from "./KvLoanTag2.js";
19
+ import { KV_LOAN_USE_FRAGMENT as Q } from "./KvLoanUse2.js";
20
+ import { KV_LOAN_BOOKMARK_FRAGMENT as X } from "./KvLoanBookmark2.js";
21
+ const ve = a`
21
22
  fragment KvClassicLoanCard on LoanBasic {
22
23
  id
23
24
  gender
@@ -41,35 +42,36 @@ const pe = a`
41
42
  ...LoanGeocode
42
43
  ...LoanProgress
43
44
  }
44
- ${U}
45
- ${W}
46
- ${x}
47
45
  ${H}
48
- ${S}
49
- ${T}
46
+ ${q}
47
+ ${J}
48
+ ${Q}
50
49
  ${M}
51
- `, ce = a`
50
+ ${k}
51
+ ${F}
52
+ `, ye = a`
52
53
  fragment KvClassicLoanCardUser on LoanBasic {
53
54
  id
54
55
  ...KvLendCtaUser
55
56
  ...KvLoanBookmark
56
57
  }
57
- ${z}
58
58
  ${j}
59
- `, Le = {
59
+ ${X}
60
+ `, Ce = {
60
61
  name: "KvClassicLoanCard",
61
62
  components: {
62
- KvBorrowerImage: E,
63
- KvLoadingPlaceholder: I,
64
- KvLoanUse: w,
65
- KvLoanProgressGroup: R,
66
- KvMaterialIcon: P,
67
- KvLendCta: O,
68
- KvLoanTag: D,
69
- KvLoanCallouts: b,
70
- KvLoanBookmark: G,
71
- KvLoanTeamPick: V,
72
- KvLoanActivities: $
63
+ KvBorrowerImage: O,
64
+ KvLoadingPlaceholder: U,
65
+ KvLoanUse: b,
66
+ KvLoanProgressGroup: G,
67
+ KvMaterialIcon: $,
68
+ KvLendCta: P,
69
+ KvLoanTag: V,
70
+ KvLoanCallouts: D,
71
+ KvLoanBookmark: I,
72
+ KvLoanTeamPick: z,
73
+ KvLoanActivities: W,
74
+ KvTooltip: x
73
75
  },
74
76
  props: {
75
77
  loanId: {
@@ -226,9 +228,12 @@ const pe = a`
226
228
  tag: h,
227
229
  unreservedAmount: _,
228
230
  sharesAvailable: K
229
- } = k(e), {
231
+ } = R(e), {
230
232
  clickReadMore: N
231
- } = F(e, t);
233
+ } = w(e, t), {
234
+ locationRef: T,
235
+ isLocationTruncated: B
236
+ } = E();
232
237
  return {
233
238
  allDataLoaded: o,
234
239
  borrowerName: r,
@@ -251,7 +256,9 @@ const pe = a`
251
256
  tag: h,
252
257
  unreservedAmount: _,
253
258
  sharesAvailable: K,
254
- clickReadMore: N
259
+ clickReadMore: N,
260
+ locationRef: T,
261
+ isLocationTruncated: B
255
262
  };
256
263
  },
257
264
  computed: {
@@ -280,12 +287,12 @@ const pe = a`
280
287
  amountLent() {
281
288
  var t, o;
282
289
  const e = ((o = (t = this.loan) == null ? void 0 : t.loanFundraisingInfo) == null ? void 0 : o.fundedAmount) ?? 0;
283
- return B(e).format("$0,0");
290
+ return S(e).format("$0,0");
284
291
  }
285
292
  }
286
293
  };
287
294
  export {
288
- pe as KV_CLASSIC_LOAN_CARD_FRAGMENT,
289
- ce as KV_CLASSIC_LOAN_CARD_USER_FRAGMET,
290
- Le as default
295
+ ve as KV_CLASSIC_LOAN_CARD_FRAGMENT,
296
+ ye as KV_CLASSIC_LOAN_CARD_USER_FRAGMET,
297
+ Ce as default
291
298
  };
@@ -58,10 +58,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
58
58
  onFocus?: (...args: any[]) => any;
59
59
  onBlur?: (...args: any[]) => any;
60
60
  onOpen?: (...args: any[]) => any;
61
+ onClosed?: (...args: any[]) => any;
61
62
  "onUpdate:model-value"?: (...args: any[]) => any;
62
63
  "onUpdate:model-timezone-value"?: (...args: any[]) => any;
63
64
  "onText-submit"?: (...args: any[]) => any;
64
- onClosed?: (...args: any[]) => any;
65
65
  onCleared?: (...args: any[]) => any;
66
66
  "onInternal-model-change"?: (...args: any[]) => any;
67
67
  "onRecalculate-position"?: (...args: any[]) => any;
@@ -93,10 +93,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
93
93
  onFocus?: (...args: any[]) => any;
94
94
  onBlur?: (...args: any[]) => any;
95
95
  onOpen?: (...args: any[]) => any;
96
+ onClosed?: (...args: any[]) => any;
96
97
  "onUpdate:model-value"?: (...args: any[]) => any;
97
98
  "onUpdate:model-timezone-value"?: (...args: any[]) => any;
98
99
  "onText-submit"?: (...args: any[]) => any;
99
- onClosed?: (...args: any[]) => any;
100
100
  onCleared?: (...args: any[]) => any;
101
101
  "onInternal-model-change"?: (...args: any[]) => any;
102
102
  "onRecalculate-position"?: (...args: any[]) => any;
@@ -125,10 +125,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
125
125
  onFocus?: (...args: any[]) => any;
126
126
  onBlur?: (...args: any[]) => any;
127
127
  onOpen?: (...args: any[]) => any;
128
+ onClosed?: (...args: any[]) => any;
128
129
  "onUpdate:model-value"?: (...args: any[]) => any;
129
130
  "onUpdate:model-timezone-value"?: (...args: any[]) => any;
130
131
  "onText-submit"?: (...args: any[]) => any;
131
- onClosed?: (...args: any[]) => any;
132
132
  onCleared?: (...args: any[]) => any;
133
133
  "onInternal-model-change"?: (...args: any[]) => any;
134
134
  "onRecalculate-position"?: (...args: any[]) => any;
@@ -1 +1 @@
1
- .loan-callouts[data-v-4e9edc0f] span{background-color:transparent!important;--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1))}.loan-card-use[data-v-4e9edc0f]:hover,.loan-card-use[data-v-4e9edc0f]:focus{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1))}.loan-card-active-hover:hover .loan-card-use[data-v-4e9edc0f],.loan-card-active-hover:hover .loan-card-name[data-v-4e9edc0f]{text-decoration-line:underline}.loan-card-progress[data-v-4e9edc0f],.loan-card-progress[data-v-4e9edc0f]:hover,.loan-card-progress[data-v-4e9edc0f]:focus{text-decoration-line:none}.loan-card-name[data-v-4e9edc0f]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;cursor:pointer;overflow:hidden;text-overflow:ellipsis;padding-left:1.5rem;padding-right:1.5rem;padding-top:.5rem}.loan-bookmark[data-v-4e9edc0f] button{border-top-left-radius:0!important;border-top-right-radius:0!important}
1
+ .loan-callouts[data-v-2e03cf82] span{background-color:transparent!important;--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1))}.loan-card-use[data-v-2e03cf82]:hover,.loan-card-use[data-v-2e03cf82]:focus{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1))}.loan-card-active-hover:hover .loan-card-use[data-v-2e03cf82],.loan-card-active-hover:hover .loan-card-name[data-v-2e03cf82]{text-decoration-line:underline}.loan-card-progress[data-v-2e03cf82],.loan-card-progress[data-v-2e03cf82]:hover,.loan-card-progress[data-v-2e03cf82]:focus{text-decoration-line:none}.loan-card-name[data-v-2e03cf82]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;cursor:pointer;overflow:hidden;text-overflow:ellipsis;padding-left:1.5rem;padding-right:1.5rem;padding-top:.5rem}.loan-bookmark[data-v-2e03cf82] button{border-top-left-radius:0!important;border-top-right-radius:0!important}