@kiva/kv-components 6.66.0 → 6.67.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/vue/KvCompactLoanCard.css +1 -1
- package/dist/vue/KvCompactLoanCard.js +185 -190
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
.loan-card-use[data-v-
|
|
1
|
+
.loan-card-use[data-v-6a955eed]:hover,.loan-card-use[data-v-6a955eed]: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-6a955eed]{text-decoration-line:underline}.loan-card-progress[data-v-6a955eed]:hover,.loan-card-progress[data-v-6a955eed]:focus{text-decoration-line:none}.loan-card-use-text[data-v-6a955eed] p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;text-overflow:ellipsis}.loan-card-cta[data-v-6a955eed] form,.loan-card-cta[data-v-6a955eed] fieldset,.loan-card-cta[data-v-6a955eed] .tw-w-full,.loan-card-cta[data-v-6a955eed] button{height:40px!important;max-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important}.loan-card-cta[data-v-6a955eed] .tw-inline-flex{height:40px!important;max-height:40px!important;min-height:40px!important}
|
|
@@ -4,18 +4,18 @@ import { mdiMapMarker as O, mdiHome as D } from "@mdi/js";
|
|
|
4
4
|
import { LOAN_CALLOUTS_FRAGMENT as S, LOAN_GEOCODE_FRAGMENT as G, LOAN_PROGRESS_FRAGMENT as V, loanCardComputedProperties as U, loanCardMethods as I } from "../utils/loanCard.js";
|
|
5
5
|
import H, { KV_LOAN_USE_FRAGMENT as j } from "./KvLoanUse.js";
|
|
6
6
|
import q from "./KvBorrowerImage.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
7
|
+
import W from "./KvLoanCallouts.js";
|
|
8
|
+
import Z, { KV_LEND_CTA_FRAGMENT as z, KV_LEND_CTA_USER_FRAGMENT as J } from "./KvLendCta.js";
|
|
9
|
+
import Q, { KV_LOAN_BOOKMARK_FRAGMENT as X } from "./KvLoanBookmark.js";
|
|
10
10
|
import Y from "./KvLoanProgressGroup.js";
|
|
11
11
|
import $, { KV_LOAN_TAG_FRAGMENT as ee } from "./KvLoanTag.js";
|
|
12
12
|
import te from "./KvMaterialIcon.js";
|
|
13
13
|
import oe from "./KvLoadingPlaceholder.js";
|
|
14
14
|
import ae from "./KvLoanTeamPick.js";
|
|
15
|
-
import { resolveComponent as d, openBlock as n, createElementBlock as m, createElementVNode as r, createBlock as
|
|
15
|
+
import { resolveComponent as d, openBlock as n, createElementBlock as m, createElementVNode as r, createBlock as i, resolveDynamicComponent as c, withCtx as f, createVNode as u, createCommentVNode as L, Fragment as b, renderList as ne, normalizeClass as x } from "vue";
|
|
16
16
|
import "./KvCompactLoanCard.css";
|
|
17
17
|
import le from "../_virtual/_plugin-vue_export-helper.js";
|
|
18
|
-
const
|
|
18
|
+
const Fe = B`
|
|
19
19
|
fragment KvCompactLoanCard on LoanBasic {
|
|
20
20
|
id
|
|
21
21
|
image {
|
|
@@ -37,19 +37,19 @@ const Oe = B`
|
|
|
37
37
|
...LoanGeocode
|
|
38
38
|
...LoanProgress
|
|
39
39
|
}
|
|
40
|
-
${
|
|
40
|
+
${z}
|
|
41
41
|
${ee}
|
|
42
42
|
${j}
|
|
43
43
|
${S}
|
|
44
44
|
${G}
|
|
45
45
|
${V}
|
|
46
|
-
`,
|
|
46
|
+
`, Ee = B`
|
|
47
47
|
fragment KvCompactLoanCardUser on LoanBasic {
|
|
48
48
|
id
|
|
49
49
|
...KvLendCtaUser
|
|
50
50
|
...KvLoanBookmark
|
|
51
51
|
}
|
|
52
|
-
${
|
|
52
|
+
${J}
|
|
53
53
|
${X}
|
|
54
54
|
`, re = {
|
|
55
55
|
name: "KvCompactLoanCard",
|
|
@@ -58,10 +58,10 @@ const Oe = B`
|
|
|
58
58
|
KvLoadingPlaceholder: oe,
|
|
59
59
|
KvLoanUse: H,
|
|
60
60
|
KvMaterialIcon: te,
|
|
61
|
-
KvLendCta:
|
|
61
|
+
KvLendCta: Z,
|
|
62
62
|
KvLoanTag: $,
|
|
63
|
-
KvLoanCallouts:
|
|
64
|
-
KvLoanBookmark:
|
|
63
|
+
KvLoanCallouts: W,
|
|
64
|
+
KvLoanBookmark: Q,
|
|
65
65
|
KvLoanTeamPick: ae,
|
|
66
66
|
KvLoanProgressGroup: Y
|
|
67
67
|
},
|
|
@@ -178,11 +178,11 @@ const Oe = B`
|
|
|
178
178
|
city: C,
|
|
179
179
|
countryName: A,
|
|
180
180
|
distributionModel: w,
|
|
181
|
-
formattedLocation:
|
|
182
|
-
fundraisingPercent:
|
|
183
|
-
hasProgressData:
|
|
184
|
-
imageHash:
|
|
185
|
-
isLoading:
|
|
181
|
+
formattedLocation: h,
|
|
182
|
+
fundraisingPercent: s,
|
|
183
|
+
hasProgressData: g,
|
|
184
|
+
imageHash: k,
|
|
185
|
+
isLoading: v,
|
|
186
186
|
loanAmount: _,
|
|
187
187
|
loanBorrowerCount: a,
|
|
188
188
|
loanCallouts: y,
|
|
@@ -190,8 +190,8 @@ const Oe = B`
|
|
|
190
190
|
loanUse: N,
|
|
191
191
|
readMorePath: T,
|
|
192
192
|
state: P,
|
|
193
|
-
tag:
|
|
194
|
-
unreservedAmount:
|
|
193
|
+
tag: K,
|
|
194
|
+
unreservedAmount: p,
|
|
195
195
|
sharesAvailable: R
|
|
196
196
|
} = U(l), {
|
|
197
197
|
clickReadMore: F
|
|
@@ -202,11 +202,11 @@ const Oe = B`
|
|
|
202
202
|
city: C,
|
|
203
203
|
countryName: A,
|
|
204
204
|
distributionModel: w,
|
|
205
|
-
formattedLocation:
|
|
206
|
-
fundraisingPercent:
|
|
207
|
-
hasProgressData:
|
|
208
|
-
imageHash:
|
|
209
|
-
isLoading:
|
|
205
|
+
formattedLocation: h,
|
|
206
|
+
fundraisingPercent: s,
|
|
207
|
+
hasProgressData: g,
|
|
208
|
+
imageHash: k,
|
|
209
|
+
isLoading: v,
|
|
210
210
|
loanAmount: _,
|
|
211
211
|
loanBorrowerCount: a,
|
|
212
212
|
loanCallouts: y,
|
|
@@ -216,8 +216,8 @@ const Oe = B`
|
|
|
216
216
|
mdiHome: D,
|
|
217
217
|
readMorePath: T,
|
|
218
218
|
state: P,
|
|
219
|
-
tag:
|
|
220
|
-
unreservedAmount:
|
|
219
|
+
tag: K,
|
|
220
|
+
unreservedAmount: p,
|
|
221
221
|
sharesAvailable: R,
|
|
222
222
|
clickReadMore: F
|
|
223
223
|
};
|
|
@@ -233,183 +233,178 @@ const Oe = B`
|
|
|
233
233
|
return E(l).format("$0,0");
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
},
|
|
237
|
-
class: "tw-flex tw-flex-col tw-items-start tw-
|
|
238
|
-
style: {
|
|
239
|
-
},
|
|
236
|
+
}, ie = {
|
|
237
|
+
class: "tw-flex tw-flex-col tw-items-start tw-justify-between tw-p-1 tw-bg-white tw-rounded-md tw-shadow-lg tw-w-full",
|
|
238
|
+
style: { "min-width": "322px" }
|
|
239
|
+
}, se = { class: "tw-flex tw-flex-col tw-items-start tw-w-full" }, de = { class: "tw-flex tw-items-start tw-gap-2 tw-w-full loan-card-active-hover" }, me = { class: "tw-flex-shrink-0 tw-overflow-hidden" }, ue = { class: "tw-flex tw-flex-col tw-items-start tw-gap-1 tw-flex-1 tw-min-w-0" }, ce = {
|
|
240
240
|
key: 0,
|
|
241
|
-
class: "loan-card-use-text tw-w-full tw-overflow-hidden"
|
|
242
|
-
|
|
243
|
-
}, ge = {
|
|
241
|
+
class: "loan-card-use-text tw-w-full tw-overflow-hidden"
|
|
242
|
+
}, fe = {
|
|
244
243
|
key: 1,
|
|
245
244
|
class: "loan-card-use-text tw-w-full tw-overflow-hidden"
|
|
246
|
-
},
|
|
247
|
-
function
|
|
248
|
-
const w = d("kv-borrower-image"),
|
|
249
|
-
return n(), m("div",
|
|
250
|
-
r("div",
|
|
245
|
+
}, we = { class: "tw-flex-1 tw-min-w-0" }, he = { class: "tw-flex-1 tw-min-w-0" };
|
|
246
|
+
function ge(l, o, t, e, C, A) {
|
|
247
|
+
const w = d("kv-borrower-image"), h = d("kv-loan-tag"), s = d("kv-loading-placeholder"), g = d("kv-loan-use"), k = d("kv-loan-callouts"), v = d("kv-loan-progress-group"), _ = d("kv-lend-cta");
|
|
248
|
+
return n(), m("div", ie, [
|
|
249
|
+
r("div", se, [
|
|
251
250
|
r("div", de, [
|
|
252
251
|
r("div", me, [
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
"photo-path": t.photoPath
|
|
272
|
-
}, null, 8, ["alt", "hash", "photo-path"])
|
|
273
|
-
]),
|
|
274
|
-
_: 1
|
|
275
|
-
}, 8, ["to", "href"]))
|
|
252
|
+
(n(), i(c(e.tag), {
|
|
253
|
+
to: e.readMorePath,
|
|
254
|
+
href: e.readMorePath,
|
|
255
|
+
class: "tw-flex",
|
|
256
|
+
"aria-label": "Borrower image",
|
|
257
|
+
onClick: o[0] || (o[0] = (a) => e.clickReadMore("Photo", a))
|
|
258
|
+
}, {
|
|
259
|
+
default: f(() => [
|
|
260
|
+
u(w, {
|
|
261
|
+
class: "tw-bg-gray-300 tw-rounded-md tw-object-cover",
|
|
262
|
+
style: { width: "100px", height: "100px" },
|
|
263
|
+
alt: `Photo of ${e.borrowerName}`,
|
|
264
|
+
"aspect-ratio": 1,
|
|
265
|
+
"default-image": { width: 200, faceZoom: 50 },
|
|
266
|
+
hash: e.imageHash,
|
|
267
|
+
images: [{ width: 200, faceZoom: 50 }],
|
|
268
|
+
"photo-path": t.photoPath
|
|
269
|
+
}, null, 8, ["alt", "hash", "photo-path"])
|
|
276
270
|
]),
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
to: e.readMorePath,
|
|
280
|
-
href: e.readMorePath,
|
|
281
|
-
class: "tw-flex tw-no-underline hover:tw-no-underline focus:tw-no-underline -tw-mt-1",
|
|
282
|
-
"aria-label": "Loan tag",
|
|
283
|
-
onClick: o[1] || (o[1] = (a) => e.clickReadMore("Tag", a))
|
|
284
|
-
}, {
|
|
285
|
-
default: f(() => [
|
|
286
|
-
t.showTags && !e.isLoading ? (n(), s(g, {
|
|
287
|
-
key: 0,
|
|
288
|
-
loan: t.loan
|
|
289
|
-
}, null, 8, ["loan"])) : L("", !0)
|
|
290
|
-
]),
|
|
291
|
-
_: 1
|
|
292
|
-
}, 8, ["to", "href"])),
|
|
293
|
-
(n(), s(u(e.tag), {
|
|
294
|
-
to: e.readMorePath,
|
|
295
|
-
href: e.readMorePath,
|
|
296
|
-
class: "loan-card-use tw-no-underline tw-text-primary",
|
|
297
|
-
"aria-label": "Loan use",
|
|
298
|
-
onClick: o[2] || (o[2] = (a) => e.clickReadMore("Use", a))
|
|
299
|
-
}, {
|
|
300
|
-
default: f(() => [
|
|
301
|
-
e.isLoading ? (n(), m("div", we, [
|
|
302
|
-
(n(!0), m(b, null, ne([...Array(4)], (a, y) => (n(), m("div", {
|
|
303
|
-
key: y,
|
|
304
|
-
class: "tw-h-2 tw-mb-1"
|
|
305
|
-
}, [
|
|
306
|
-
c(i)
|
|
307
|
-
]))), 128))
|
|
308
|
-
])) : (n(), m("div", ge, [
|
|
309
|
-
c(h, {
|
|
310
|
-
use: e.loanUse,
|
|
311
|
-
"loan-amount": e.loanAmount,
|
|
312
|
-
status: e.loanStatus,
|
|
313
|
-
"borrower-count": e.loanBorrowerCount,
|
|
314
|
-
name: e.borrowerName,
|
|
315
|
-
"distribution-model": e.distributionModel,
|
|
316
|
-
class: "tw-text-small tw-leading-tight"
|
|
317
|
-
}, null, 8, ["use", "loan-amount", "status", "borrower-count", "name", "distribution-model"])
|
|
318
|
-
]))
|
|
319
|
-
]),
|
|
320
|
-
_: 1
|
|
321
|
-
}, 8, ["to", "href"]))
|
|
322
|
-
])
|
|
323
|
-
]),
|
|
324
|
-
e.isLoading || typeof e.loanCallouts > "u" ? (n(), s(i, {
|
|
325
|
-
key: 0,
|
|
326
|
-
class: "tw-mt-1.5 tw-mb-1 tw-rounded-full",
|
|
327
|
-
style: { width: "60%", height: "1.5rem" }
|
|
328
|
-
})) : (n(), s(v, {
|
|
329
|
-
key: 1,
|
|
330
|
-
callouts: e.loanCallouts,
|
|
331
|
-
class: "tw-mt-1.5",
|
|
332
|
-
onClick: o[3] || (o[3] = (a) => l.$emit("jump-filter-page", a))
|
|
333
|
-
}, null, 8, ["callouts"]))
|
|
271
|
+
_: 1
|
|
272
|
+
}, 8, ["to", "href"]))
|
|
334
273
|
]),
|
|
335
|
-
r("div",
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
274
|
+
r("div", ue, [
|
|
275
|
+
(n(), i(c(e.tag), {
|
|
276
|
+
to: e.readMorePath,
|
|
277
|
+
href: e.readMorePath,
|
|
278
|
+
class: "tw-flex tw-no-underline hover:tw-no-underline focus:tw-no-underline -tw-mt-1",
|
|
279
|
+
"aria-label": "Loan tag",
|
|
280
|
+
onClick: o[1] || (o[1] = (a) => e.clickReadMore("Tag", a))
|
|
281
|
+
}, {
|
|
282
|
+
default: f(() => [
|
|
283
|
+
t.showTags && !e.isLoading ? (n(), i(h, {
|
|
341
284
|
key: 0,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
class: "loan-card-progress tw-no-underline tw-block",
|
|
345
|
-
"aria-label": "Loan progress",
|
|
346
|
-
onClick: o[4] || (o[4] = (a) => e.clickReadMore("Progress", a))
|
|
347
|
-
}, {
|
|
348
|
-
default: f(() => [
|
|
349
|
-
c(k, {
|
|
350
|
-
id: "loanProgress",
|
|
351
|
-
"money-left": e.unreservedAmount,
|
|
352
|
-
"progress-percent": e.fundraisingPercent,
|
|
353
|
-
class: "tw-text-black"
|
|
354
|
-
}, null, 8, ["money-left", "progress-percent"])
|
|
355
|
-
]),
|
|
356
|
-
_: 1
|
|
357
|
-
}, 8, ["to", "href"])) : L("", !0)
|
|
285
|
+
loan: t.loan
|
|
286
|
+
}, null, 8, ["loan"])) : L("", !0)
|
|
358
287
|
]),
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
"
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
], 2)
|
|
388
|
-
], 64)) : (n(), m(b, { key: 0 }, [
|
|
389
|
-
r("div", he, [
|
|
390
|
-
c(i, {
|
|
391
|
-
class: "tw-mb-0.5",
|
|
392
|
-
style: { width: "11rem", height: "1rem" }
|
|
393
|
-
}),
|
|
394
|
-
c(i, {
|
|
395
|
-
class: "tw-rounded",
|
|
396
|
-
style: { width: "11rem", height: "0.5rem" }
|
|
397
|
-
})
|
|
288
|
+
_: 1
|
|
289
|
+
}, 8, ["to", "href"])),
|
|
290
|
+
(n(), i(c(e.tag), {
|
|
291
|
+
to: e.readMorePath,
|
|
292
|
+
href: e.readMorePath,
|
|
293
|
+
class: "loan-card-use tw-no-underline tw-text-primary tw-block tw-w-full",
|
|
294
|
+
"aria-label": "Loan use",
|
|
295
|
+
onClick: o[2] || (o[2] = (a) => e.clickReadMore("Use", a))
|
|
296
|
+
}, {
|
|
297
|
+
default: f(() => [
|
|
298
|
+
e.isLoading ? (n(), m("div", ce, [
|
|
299
|
+
(n(!0), m(b, null, ne([...Array(4)], (a, y) => (n(), m("div", {
|
|
300
|
+
key: y,
|
|
301
|
+
class: "tw-h-2 tw-mb-1"
|
|
302
|
+
}, [
|
|
303
|
+
u(s)
|
|
304
|
+
]))), 128))
|
|
305
|
+
])) : (n(), m("div", fe, [
|
|
306
|
+
u(g, {
|
|
307
|
+
use: e.loanUse,
|
|
308
|
+
"loan-amount": e.loanAmount,
|
|
309
|
+
status: e.loanStatus,
|
|
310
|
+
"borrower-count": e.loanBorrowerCount,
|
|
311
|
+
name: e.borrowerName,
|
|
312
|
+
"distribution-model": e.distributionModel,
|
|
313
|
+
class: "tw-text-small tw-leading-tight"
|
|
314
|
+
}, null, 8, ["use", "loan-amount", "status", "borrower-count", "name", "distribution-model"])
|
|
315
|
+
]))
|
|
398
316
|
]),
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
317
|
+
_: 1
|
|
318
|
+
}, 8, ["to", "href"]))
|
|
319
|
+
])
|
|
320
|
+
]),
|
|
321
|
+
e.isLoading || typeof e.loanCallouts > "u" ? (n(), i(s, {
|
|
322
|
+
key: 0,
|
|
323
|
+
class: "tw-mt-1.5 tw-mb-1 tw-rounded-full",
|
|
324
|
+
style: { width: "60%", height: "1.5rem" }
|
|
325
|
+
})) : (n(), i(k, {
|
|
326
|
+
key: 1,
|
|
327
|
+
callouts: e.loanCallouts,
|
|
328
|
+
class: "tw-mt-1.5",
|
|
329
|
+
onClick: o[3] || (o[3] = (a) => l.$emit("jump-filter-page", a))
|
|
330
|
+
}, null, 8, ["callouts"]))
|
|
331
|
+
]),
|
|
332
|
+
r("div", {
|
|
333
|
+
class: x(["tw-flex tw-items-end tw-w-full tw-mt-1", { "tw-gap-1": e.sharesAvailable }])
|
|
334
|
+
}, [
|
|
335
|
+
e.hasProgressData ? (n(), m(b, { key: 1 }, [
|
|
336
|
+
r("div", he, [
|
|
337
|
+
e.sharesAvailable ? (n(), i(c(e.tag), {
|
|
338
|
+
key: 0,
|
|
339
|
+
to: e.readMorePath,
|
|
340
|
+
href: e.readMorePath,
|
|
341
|
+
class: "loan-card-progress tw-no-underline tw-block",
|
|
342
|
+
"aria-label": "Loan progress",
|
|
343
|
+
onClick: o[4] || (o[4] = (a) => e.clickReadMore("Progress", a))
|
|
344
|
+
}, {
|
|
345
|
+
default: f(() => [
|
|
346
|
+
u(v, {
|
|
347
|
+
id: "loanProgress",
|
|
348
|
+
"money-left": e.unreservedAmount,
|
|
349
|
+
"progress-percent": e.fundraisingPercent,
|
|
350
|
+
class: "tw-text-black"
|
|
351
|
+
}, null, 8, ["money-left", "progress-percent"])
|
|
352
|
+
]),
|
|
353
|
+
_: 1
|
|
354
|
+
}, 8, ["to", "href"])) : L("", !0)
|
|
355
|
+
]),
|
|
356
|
+
r("div", {
|
|
357
|
+
class: x(["tw-flex-shrink-0 loan-card-cta", { "tw-w-full": !e.sharesAvailable }]),
|
|
358
|
+
style: { height: "40px" }
|
|
359
|
+
}, [
|
|
360
|
+
u(_, {
|
|
361
|
+
loan: t.loan,
|
|
362
|
+
"unreserved-amount": e.unreservedAmount,
|
|
363
|
+
"basket-items": t.basketItems,
|
|
364
|
+
"is-loading": e.isLoading,
|
|
365
|
+
"is-adding": t.isAdding,
|
|
366
|
+
"enable-five-dollars-notes": t.enableFiveDollarsNotes,
|
|
367
|
+
"five-dollars-selected": t.fiveDollarsSelected,
|
|
368
|
+
"kv-track-function": t.kvTrackFunction,
|
|
369
|
+
"show-view-loan": t.showViewLoan,
|
|
370
|
+
"custom-loan-details": t.customLoanDetails,
|
|
371
|
+
"external-links": t.externalLinks,
|
|
372
|
+
route: t.route,
|
|
373
|
+
"user-balance": t.userBalance,
|
|
374
|
+
"get-cookie": t.getCookie,
|
|
375
|
+
"set-cookie": t.setCookie,
|
|
376
|
+
"is-visitor": t.isVisitor,
|
|
377
|
+
"primary-button-text": t.primaryButtonText,
|
|
378
|
+
"secondary-button-text": t.secondaryButtonText,
|
|
379
|
+
"secondary-button-handler": t.secondaryButtonHandler,
|
|
380
|
+
onAddToBasket: o[5] || (o[5] = (a) => l.$emit("add-to-basket", a)),
|
|
381
|
+
onShowLoanDetails: o[6] || (o[6] = (a) => e.clickReadMore("ViewLoan", a)),
|
|
382
|
+
onRemoveFromBasket: o[7] || (o[7] = (a) => l.$emit("remove-from-basket", a))
|
|
383
|
+
}, 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"])
|
|
405
384
|
], 2)
|
|
406
|
-
])
|
|
407
|
-
|
|
385
|
+
], 64)) : (n(), m(b, { key: 0 }, [
|
|
386
|
+
r("div", we, [
|
|
387
|
+
u(s, {
|
|
388
|
+
class: "tw-mb-0.5",
|
|
389
|
+
style: { width: "100%", maxWidth: "11rem", height: "1rem" }
|
|
390
|
+
}),
|
|
391
|
+
u(s, {
|
|
392
|
+
class: "tw-rounded",
|
|
393
|
+
style: { width: "100%", maxWidth: "11rem", height: "0.5rem" }
|
|
394
|
+
})
|
|
395
|
+
]),
|
|
396
|
+
e.allDataLoaded ? L("", !0) : (n(), i(s, {
|
|
397
|
+
key: 0,
|
|
398
|
+
class: "tw-rounded tw-flex-shrink-0",
|
|
399
|
+
style: { width: "8rem", height: "2.5rem" }
|
|
400
|
+
}))
|
|
401
|
+
], 64))
|
|
402
|
+
], 2)
|
|
408
403
|
]);
|
|
409
404
|
}
|
|
410
|
-
const
|
|
405
|
+
const Oe = /* @__PURE__ */ le(re, [["render", ge], ["__scopeId", "data-v-6a955eed"]]);
|
|
411
406
|
export {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
407
|
+
Fe as KV_COMPACT_LOAN_CARD_FRAGMENT,
|
|
408
|
+
Ee as KV_COMPACT_LOAN_CARD_USER_FRAGMENT,
|
|
409
|
+
Oe as default
|
|
415
410
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.67.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"embla-carousel-fade",
|
|
115
115
|
"popper.js"
|
|
116
116
|
],
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "8c5374ffe89ca6caff25d1c11fb697ac8552bf24"
|
|
118
118
|
}
|