@kiva/kv-components 8.0.1 → 8.1.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 +68 -67
- package/dist/utils/loanUtils.d.ts +1 -0
- package/dist/utils/loanUtils.js +63 -55
- package/dist/vue/KvClassicLoanCard.vue.d.ts +18 -0
- package/dist/vue/KvCompactLoanCard.css +1 -1
- package/dist/vue/KvCompactLoanCard.js +90 -65
- package/dist/vue/KvCompactLoanCard.vue.d.ts +67 -41
- package/dist/vue/KvCompactLoanCard2.js +108 -87
- package/dist/vue/KvIntroductionLoanCard.vue.d.ts +18 -0
- package/dist/vue/KvLendCta.css +1 -1
- package/dist/vue/KvLendCta.js +37 -37
- package/dist/vue/KvLoanUse.vue.d.ts +18 -0
- package/dist/vue/KvLoanUse2.js +23 -12
- package/dist/vue/KvWideLoanCard.vue.d.ts +18 -0
- package/package.json +2 -2
|
@@ -1,39 +1,51 @@
|
|
|
1
1
|
import N from "./KvCompactLoanCard2.js";
|
|
2
2
|
import { KV_COMPACT_LOAN_CARD_FRAGMENT as $, KV_COMPACT_LOAN_CARD_USER_FRAGMENT as ee } from "./KvCompactLoanCard2.js";
|
|
3
|
-
import { resolveComponent as
|
|
3
|
+
import { resolveComponent as d, openBlock as a, createElementBlock as l, normalizeClass as m, createVNode as i, createCommentVNode as w, createElementVNode as r, normalizeStyle as T, createBlock as s, resolveDynamicComponent as u, withCtx as f, toDisplayString as h, withModifiers as P, Fragment as g, renderList as A } from "vue";
|
|
4
4
|
import "./KvCompactLoanCard.css";
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
class: "tw-flex tw-items-start tw-gap-2 tw-w-full loan-card-active-hover",
|
|
8
|
-
style: { height: "6.75rem", "max-height": "6.75rem" }
|
|
9
|
-
}, V = { class: "tw-flex-shrink-0 tw-overflow-hidden" }, F = { class: "tw-flex tw-flex-col tw-items-start tw-gap-1 tw-flex-1 tw-min-w-0" }, E = {
|
|
5
|
+
import B from "../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const V = { class: "tw-flex tw-flex-col tw-items-start tw-w-full" }, R = { class: "tw-flex-shrink-0 tw-overflow-hidden" }, D = { class: "tw-flex tw-flex-col tw-items-start tw-gap-1 tw-flex-1 tw-min-w-0" }, S = {
|
|
10
7
|
key: 0,
|
|
11
8
|
class: "tw-mb-0.5 tw-w-full"
|
|
12
|
-
},
|
|
9
|
+
}, F = { class: "tw-text-primary !tw-font-medium tw-text-base tw-leading-normal tw-truncate" }, W = ["href"], j = { class: "tw-truncate" }, E = {
|
|
13
10
|
key: 0,
|
|
14
11
|
class: "loan-card-use-text tw-w-full tw-overflow-hidden"
|
|
15
|
-
},
|
|
12
|
+
}, O = {
|
|
16
13
|
key: 1,
|
|
17
14
|
class: "loan-card-use-text tw-w-full tw-overflow-hidden"
|
|
18
|
-
},
|
|
19
|
-
function
|
|
20
|
-
const b =
|
|
21
|
-
return a(),
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
}, U = { class: "tw-flex-1 tw-min-w-0 tw-mr-1" }, K = { class: "tw-flex-1 tw-min-w-0" }, z = { class: "tw-p-1 tw-rounded-l-sm tw-border tw-border-gray-100 tw-border-r-0" };
|
|
16
|
+
function G(k, o, t, e, H, I) {
|
|
17
|
+
const b = d("kv-material-icon"), v = d("kv-borrower-image"), _ = d("kv-loan-tag"), c = d("kv-loading-placeholder"), x = d("kv-loan-use"), y = d("kv-loan-callouts"), L = d("kv-loan-progress-group"), C = d("kv-lend-cta");
|
|
18
|
+
return a(), l("div", {
|
|
19
|
+
class: m(["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", { "tw-relative": t.showCloseButton, "!tw-p-1.5": t.showLightView }])
|
|
20
|
+
}, [
|
|
21
|
+
t.showCloseButton ? (a(), l("button", {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "tw-absolute tw--top-1 tw--right-1 tw-p-0.5 tw-bg-white tw-rounded-full tw-w-2.5 tw-h-2.5 tw-flex tw-items-center tw-justify-center tw-cursor-pointer tw-drop-shadow-sm",
|
|
24
|
+
onClick: o[0] || (o[0] = (...n) => e.handleCloseButton && e.handleCloseButton(...n))
|
|
25
|
+
}, [
|
|
26
|
+
i(b, {
|
|
27
|
+
icon: e.mdiClose,
|
|
28
|
+
class: "tw-w-1.5 tw-h-1.5"
|
|
29
|
+
}, null, 8, ["icon"])
|
|
30
|
+
])) : w("", !0),
|
|
31
|
+
r("div", V, [
|
|
32
|
+
r("div", {
|
|
33
|
+
class: m(["tw-flex tw-items-start tw-gap-2 tw-w-full loan-card-active-hover", { "!tw-gap-1": t.showLightView }]),
|
|
34
|
+
style: T(e.customStyle)
|
|
35
|
+
}, [
|
|
36
|
+
r("div", R, [
|
|
37
|
+
(a(), s(u(e.tag), {
|
|
26
38
|
to: e.readMorePath,
|
|
27
39
|
href: e.readMorePath,
|
|
28
40
|
target: t.externalLinksNewTab ? "_blank" : void 0,
|
|
29
41
|
rel: t.externalLinksNewTab ? "noopener noreferrer" : void 0,
|
|
30
42
|
class: "tw-flex",
|
|
31
43
|
"aria-label": "Borrower image",
|
|
32
|
-
onClick: o[
|
|
44
|
+
onClick: o[1] || (o[1] = (n) => e.clickReadMore("Photo", n))
|
|
33
45
|
}, {
|
|
34
46
|
default: f(() => [
|
|
35
|
-
|
|
36
|
-
class: "tw-bg-gray-300 tw-rounded-md tw-object-cover",
|
|
47
|
+
i(v, {
|
|
48
|
+
class: m(["tw-bg-gray-300 tw-rounded-md tw-object-cover", { "!tw-w-7.5 !tw-h-7.5": t.showLightView }]),
|
|
37
49
|
style: { width: "100px", height: "100px" },
|
|
38
50
|
alt: `Photo of ${e.borrowerName}`,
|
|
39
51
|
"aspect-ratio": 1,
|
|
@@ -41,59 +53,59 @@ function H(k, o, t, e, I, Z) {
|
|
|
41
53
|
hash: e.imageHash,
|
|
42
54
|
images: [{ width: 200, faceZoom: 50 }],
|
|
43
55
|
"photo-path": t.photoPath
|
|
44
|
-
}, null, 8, ["alt", "hash", "photo-path"])
|
|
56
|
+
}, null, 8, ["class", "alt", "hash", "photo-path"])
|
|
45
57
|
]),
|
|
46
58
|
_: 1
|
|
47
59
|
}, 8, ["to", "href", "target", "rel"]))
|
|
48
60
|
]),
|
|
49
|
-
|
|
50
|
-
t.businessName ? (a(),
|
|
51
|
-
(a(),
|
|
61
|
+
r("div", D, [
|
|
62
|
+
t.businessName ? (a(), l("div", S, [
|
|
63
|
+
(a(), s(u(e.tag), {
|
|
52
64
|
to: e.readMorePath,
|
|
53
65
|
href: e.readMorePath,
|
|
54
66
|
target: t.externalLinksNewTab ? "_blank" : void 0,
|
|
55
67
|
rel: t.externalLinksNewTab ? "noopener noreferrer" : void 0,
|
|
56
68
|
class: "tw-no-underline hover:tw-underline focus:tw-no-underline",
|
|
57
69
|
"aria-label": "Business name",
|
|
58
|
-
onClick: o[
|
|
70
|
+
onClick: o[2] || (o[2] = (n) => e.clickReadMore("Business", n))
|
|
59
71
|
}, {
|
|
60
72
|
default: f(() => [
|
|
61
|
-
|
|
73
|
+
r("h3", F, h(t.businessName), 1)
|
|
62
74
|
]),
|
|
63
75
|
_: 1
|
|
64
76
|
}, 8, ["to", "href", "target", "rel"])),
|
|
65
|
-
t.website ? (a(),
|
|
77
|
+
t.website ? (a(), l("a", {
|
|
66
78
|
key: 0,
|
|
67
79
|
href: e.formattedWebsite,
|
|
68
80
|
target: "_blank",
|
|
69
81
|
class: "tw-flex tw-items-center tw-gap-0.5 tw-text-secondary tw-text-small tw-font-light tw-leading-normal tw-no-underline hover:tw-underline",
|
|
70
|
-
onClick: o[
|
|
82
|
+
onClick: o[3] || (o[3] = P((...n) => e.trackWebsiteClick && e.trackWebsiteClick(...n), ["stop"]))
|
|
71
83
|
}, [
|
|
72
|
-
|
|
84
|
+
i(b, {
|
|
73
85
|
icon: e.mdiLink,
|
|
74
86
|
class: "tw-w-2 tw-h-2"
|
|
75
87
|
}, null, 8, ["icon"]),
|
|
76
|
-
|
|
88
|
+
r("span", j, h(t.website), 1)
|
|
77
89
|
], 8, W)) : w("", !0)
|
|
78
90
|
])) : w("", !0),
|
|
79
|
-
(a(),
|
|
91
|
+
(a(), s(u(e.tag), {
|
|
80
92
|
to: e.readMorePath,
|
|
81
93
|
href: e.readMorePath,
|
|
82
94
|
target: t.externalLinksNewTab ? "_blank" : void 0,
|
|
83
95
|
rel: t.externalLinksNewTab ? "noopener noreferrer" : void 0,
|
|
84
96
|
class: "tw-flex tw-no-underline hover:tw-no-underline focus:tw-no-underline -tw-mt-1",
|
|
85
97
|
"aria-label": "Loan tag",
|
|
86
|
-
onClick: o[
|
|
98
|
+
onClick: o[4] || (o[4] = (n) => e.clickReadMore("Tag", n))
|
|
87
99
|
}, {
|
|
88
100
|
default: f(() => [
|
|
89
|
-
t.showTags && !e.isLoading ? (a(),
|
|
101
|
+
t.showTags && !e.isLoading ? (a(), s(_, {
|
|
90
102
|
key: 0,
|
|
91
103
|
loan: t.loan
|
|
92
104
|
}, null, 8, ["loan"])) : w("", !0)
|
|
93
105
|
]),
|
|
94
106
|
_: 1
|
|
95
107
|
}, 8, ["to", "href", "target", "rel"])),
|
|
96
|
-
t.showLoanUse ? (a(),
|
|
108
|
+
t.showLoanUse ? (a(), s(u(e.tag), {
|
|
97
109
|
key: 1,
|
|
98
110
|
to: e.readMorePath,
|
|
99
111
|
href: e.readMorePath,
|
|
@@ -101,18 +113,18 @@ function H(k, o, t, e, I, Z) {
|
|
|
101
113
|
rel: t.externalLinksNewTab ? "noopener noreferrer" : void 0,
|
|
102
114
|
class: "loan-card-use tw-no-underline tw-text-primary tw-block tw-w-full",
|
|
103
115
|
"aria-label": "Loan use",
|
|
104
|
-
onClick: o[
|
|
116
|
+
onClick: o[5] || (o[5] = (n) => e.clickReadMore("Use", n))
|
|
105
117
|
}, {
|
|
106
118
|
default: f(() => [
|
|
107
|
-
e.isLoading ? (a(),
|
|
108
|
-
(a(!0),
|
|
119
|
+
e.isLoading ? (a(), l("div", E, [
|
|
120
|
+
(a(!0), l(g, null, A([...Array(4)], (n, M) => (a(), l("div", {
|
|
109
121
|
key: M,
|
|
110
122
|
class: "tw-h-2 tw-mb-1"
|
|
111
123
|
}, [
|
|
112
|
-
|
|
124
|
+
i(c)
|
|
113
125
|
]))), 128))
|
|
114
|
-
])) : (a(),
|
|
115
|
-
|
|
126
|
+
])) : (a(), l("div", O, [
|
|
127
|
+
i(x, {
|
|
116
128
|
use: e.loanUse,
|
|
117
129
|
"loan-amount": e.loanAmount,
|
|
118
130
|
status: e.loanStatus,
|
|
@@ -121,31 +133,36 @@ function H(k, o, t, e, I, Z) {
|
|
|
121
133
|
"distribution-model": e.distributionModel,
|
|
122
134
|
"bold-name": !0,
|
|
123
135
|
country: e.formattedLocation,
|
|
136
|
+
"show-read-more": t.showLightView,
|
|
137
|
+
"truncate-words-number": t.truncateWordsNumber,
|
|
124
138
|
class: "tw-text-small tw-leading-tight"
|
|
125
|
-
}, null, 8, ["use", "loan-amount", "status", "borrower-count", "name", "distribution-model", "country"])
|
|
139
|
+
}, null, 8, ["use", "loan-amount", "status", "borrower-count", "name", "distribution-model", "country", "show-read-more", "truncate-words-number"])
|
|
126
140
|
]))
|
|
127
141
|
]),
|
|
128
142
|
_: 1
|
|
129
143
|
}, 8, ["to", "href", "target", "rel"])) : w("", !0)
|
|
130
144
|
])
|
|
131
|
-
]),
|
|
132
|
-
e.isLoading || typeof e.loanCallouts > "u" ? (a(),
|
|
145
|
+
], 6),
|
|
146
|
+
e.isLoading || typeof e.loanCallouts > "u" ? (a(), s(c, {
|
|
133
147
|
key: 0,
|
|
134
148
|
class: "tw-mt-1.5 tw-mb-1 tw-rounded-full",
|
|
135
149
|
style: { width: "60%", height: "1.5rem" }
|
|
136
|
-
})) : (a(),
|
|
150
|
+
})) : (a(), s(y, {
|
|
137
151
|
key: 1,
|
|
138
152
|
callouts: e.loanCallouts,
|
|
139
153
|
class: "tw-mt-1.5",
|
|
140
|
-
onClick: o[
|
|
154
|
+
onClick: o[6] || (o[6] = (n) => k.$emit("jump-filter-page", n))
|
|
141
155
|
}, null, 8, ["callouts"]))
|
|
142
156
|
]),
|
|
143
|
-
|
|
144
|
-
class:
|
|
157
|
+
r("div", {
|
|
158
|
+
class: m([
|
|
159
|
+
"tw-flex tw-items-center tw-justify-between tw-w-full tw-mt-1",
|
|
160
|
+
{ "tw-gap-1": e.sharesAvailable }
|
|
161
|
+
])
|
|
145
162
|
}, [
|
|
146
|
-
e.hasProgressData ? (a(),
|
|
147
|
-
|
|
148
|
-
e.sharesAvailable ? (a(),
|
|
163
|
+
e.hasProgressData ? (a(), l(g, { key: 1 }, [
|
|
164
|
+
r("div", K, [
|
|
165
|
+
e.sharesAvailable ? (a(), s(u(e.tag), {
|
|
149
166
|
key: 0,
|
|
150
167
|
to: e.readMorePath,
|
|
151
168
|
href: e.readMorePath,
|
|
@@ -153,10 +170,10 @@ function H(k, o, t, e, I, Z) {
|
|
|
153
170
|
rel: t.externalLinksNewTab ? "noopener noreferrer" : void 0,
|
|
154
171
|
class: "loan-card-progress tw-no-underline tw-block",
|
|
155
172
|
"aria-label": "Loan progress",
|
|
156
|
-
onClick: o[
|
|
173
|
+
onClick: o[7] || (o[7] = (n) => e.clickReadMore("Progress", n))
|
|
157
174
|
}, {
|
|
158
175
|
default: f(() => [
|
|
159
|
-
|
|
176
|
+
i(L, {
|
|
160
177
|
id: "loanProgress",
|
|
161
178
|
"money-left": e.unreservedAmount,
|
|
162
179
|
"progress-percent": e.fundraisingPercent,
|
|
@@ -166,11 +183,19 @@ function H(k, o, t, e, I, Z) {
|
|
|
166
183
|
_: 1
|
|
167
184
|
}, 8, ["to", "href", "target", "rel"])) : w("", !0)
|
|
168
185
|
]),
|
|
169
|
-
l("
|
|
170
|
-
|
|
186
|
+
t.showLightView ? (a(), l("button", {
|
|
187
|
+
key: 0,
|
|
188
|
+
class: "tw-ml-2",
|
|
189
|
+
onClick: o[8] || (o[8] = (n) => e.clickReadMore("View", n))
|
|
190
|
+
}, [
|
|
191
|
+
r("span", z, " $" + h(t.customAmountLent), 1),
|
|
192
|
+
o[12] || (o[12] = r("span", { class: "tw-bg-gray-100 tw-px-1.5 tw-py-1 tw-rounded-r-sm tw-border tw-border-gray-100 tw-text-action tw-font-medium hover:tw-underline tw-text-center tw-cursor-pointer" }, " View ", -1))
|
|
193
|
+
])) : (a(), l("div", {
|
|
194
|
+
key: 1,
|
|
195
|
+
class: m(["tw-flex-shrink-0 loan-card-cta", { "tw-w-full": !e.sharesAvailable }]),
|
|
171
196
|
style: { height: "40px" }
|
|
172
197
|
}, [
|
|
173
|
-
|
|
198
|
+
i(C, {
|
|
174
199
|
loan: t.loan,
|
|
175
200
|
"unreserved-amount": e.unreservedAmount,
|
|
176
201
|
"basket-items": t.basketItems,
|
|
@@ -190,32 +215,32 @@ function H(k, o, t, e, I, Z) {
|
|
|
190
215
|
"primary-button-text": t.primaryButtonText,
|
|
191
216
|
"secondary-button-text": t.secondaryButtonText,
|
|
192
217
|
"secondary-button-handler": t.secondaryButtonHandler,
|
|
193
|
-
onAddToBasket: o[
|
|
194
|
-
onShowLoanDetails: o[
|
|
195
|
-
onRemoveFromBasket: o[
|
|
218
|
+
onAddToBasket: o[9] || (o[9] = (n) => k.$emit("add-to-basket", n)),
|
|
219
|
+
onShowLoanDetails: o[10] || (o[10] = (n) => e.clickReadMore("ViewLoan", n)),
|
|
220
|
+
onRemoveFromBasket: o[11] || (o[11] = (n) => k.$emit("remove-from-basket", n))
|
|
196
221
|
}, 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"])
|
|
197
|
-
], 2)
|
|
198
|
-
], 64)) : (a(),
|
|
199
|
-
|
|
200
|
-
|
|
222
|
+
], 2))
|
|
223
|
+
], 64)) : (a(), l(g, { key: 0 }, [
|
|
224
|
+
r("div", U, [
|
|
225
|
+
i(c, {
|
|
201
226
|
class: "tw-mb-0.5",
|
|
202
227
|
style: { width: "100%", maxWidth: "11rem", height: "1rem" }
|
|
203
228
|
}),
|
|
204
|
-
|
|
229
|
+
i(c, {
|
|
205
230
|
class: "tw-rounded",
|
|
206
231
|
style: { width: "100%", maxWidth: "11rem", height: "0.5rem" }
|
|
207
232
|
})
|
|
208
233
|
]),
|
|
209
|
-
e.allDataLoaded ? w("", !0) : (a(),
|
|
234
|
+
e.allDataLoaded ? w("", !0) : (a(), s(c, {
|
|
210
235
|
key: 0,
|
|
211
236
|
class: "tw-rounded tw-flex-shrink-0",
|
|
212
237
|
style: { width: "8rem", height: "2.5rem" }
|
|
213
238
|
}))
|
|
214
239
|
], 64))
|
|
215
240
|
], 2)
|
|
216
|
-
]);
|
|
241
|
+
], 2);
|
|
217
242
|
}
|
|
218
|
-
const X = /* @__PURE__ */
|
|
243
|
+
const X = /* @__PURE__ */ B(N, [["render", G], ["__scopeId", "data-v-12c364c9"]]);
|
|
219
244
|
export {
|
|
220
245
|
$ as KV_COMPACT_LOAN_CARD_FRAGMENT,
|
|
221
246
|
ee as KV_COMPACT_LOAN_CARD_USER_FRAGMENT,
|
|
@@ -39,10 +39,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
39
|
type: ArrayConstructor;
|
|
40
40
|
default: () => any[];
|
|
41
41
|
};
|
|
42
|
-
isBookmarked: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
42
|
kvTrackFunction: {
|
|
47
43
|
type: FunctionConstructor;
|
|
48
44
|
required: true;
|
|
@@ -123,6 +119,22 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
123
119
|
type: BooleanConstructor;
|
|
124
120
|
default: boolean;
|
|
125
121
|
};
|
|
122
|
+
showLightView: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
truncateWordsNumber: {
|
|
127
|
+
type: NumberConstructor;
|
|
128
|
+
default: number;
|
|
129
|
+
};
|
|
130
|
+
showCloseButton: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
customAmountLent: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
126
138
|
}>, {
|
|
127
139
|
allDataLoaded: import('vue').ComputedRef<boolean>;
|
|
128
140
|
borrowerName: import('vue').ComputedRef<any>;
|
|
@@ -143,17 +155,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
143
155
|
mdiMapMarker: string;
|
|
144
156
|
mdiHome: string;
|
|
145
157
|
mdiLink: string;
|
|
158
|
+
mdiClose: string;
|
|
146
159
|
readMorePath: import('vue').ComputedRef<any>;
|
|
147
160
|
state: import('vue').ComputedRef<any>;
|
|
148
161
|
tag: import('vue').ComputedRef<"router-link" | "a">;
|
|
149
162
|
unreservedAmount: import('vue').ComputedRef<any>;
|
|
150
163
|
sharesAvailable: import('vue').ComputedRef<boolean>;
|
|
164
|
+
customStyle: import('vue').ComputedRef<{
|
|
165
|
+
height: string;
|
|
166
|
+
maxHeight: string;
|
|
167
|
+
}>;
|
|
151
168
|
clickReadMore: (target: string, event: Event) => void;
|
|
152
169
|
trackWebsiteClick: () => void;
|
|
170
|
+
handleCloseButton: (event: any) => void;
|
|
153
171
|
}, {}, {
|
|
154
172
|
lendersNumber(): any;
|
|
155
173
|
amountLent(): any;
|
|
156
|
-
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
|
174
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("add-to-basket" | "remove-from-basket" | "jump-filter-page" | "close-button")[], "add-to-basket" | "remove-from-basket" | "jump-filter-page" | "close-button", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
157
175
|
loanId: {
|
|
158
176
|
type: NumberConstructor;
|
|
159
177
|
default: any;
|
|
@@ -190,10 +208,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
190
208
|
type: ArrayConstructor;
|
|
191
209
|
default: () => any[];
|
|
192
210
|
};
|
|
193
|
-
isBookmarked: {
|
|
194
|
-
type: BooleanConstructor;
|
|
195
|
-
default: boolean;
|
|
196
|
-
};
|
|
197
211
|
kvTrackFunction: {
|
|
198
212
|
type: FunctionConstructor;
|
|
199
213
|
required: true;
|
|
@@ -274,7 +288,28 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
274
288
|
type: BooleanConstructor;
|
|
275
289
|
default: boolean;
|
|
276
290
|
};
|
|
277
|
-
|
|
291
|
+
showLightView: {
|
|
292
|
+
type: BooleanConstructor;
|
|
293
|
+
default: boolean;
|
|
294
|
+
};
|
|
295
|
+
truncateWordsNumber: {
|
|
296
|
+
type: NumberConstructor;
|
|
297
|
+
default: number;
|
|
298
|
+
};
|
|
299
|
+
showCloseButton: {
|
|
300
|
+
type: BooleanConstructor;
|
|
301
|
+
default: boolean;
|
|
302
|
+
};
|
|
303
|
+
customAmountLent: {
|
|
304
|
+
type: StringConstructor;
|
|
305
|
+
default: string;
|
|
306
|
+
};
|
|
307
|
+
}>> & Readonly<{
|
|
308
|
+
"onAdd-to-basket"?: (...args: any[]) => any;
|
|
309
|
+
"onRemove-from-basket"?: (...args: any[]) => any;
|
|
310
|
+
"onJump-filter-page"?: (...args: any[]) => any;
|
|
311
|
+
"onClose-button"?: (...args: any[]) => any;
|
|
312
|
+
}>, {
|
|
278
313
|
loan: Record<string, any>;
|
|
279
314
|
externalLinks: boolean;
|
|
280
315
|
customLoanDetails: boolean;
|
|
@@ -282,6 +317,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
282
317
|
categoryPageName: string;
|
|
283
318
|
customCallouts: unknown[];
|
|
284
319
|
customHref: string;
|
|
320
|
+
truncateWordsNumber: number;
|
|
285
321
|
basketItems: unknown[];
|
|
286
322
|
isAdding: boolean;
|
|
287
323
|
enableFiveDollarsNotes: boolean;
|
|
@@ -295,7 +331,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
295
331
|
primaryButtonText: string;
|
|
296
332
|
secondaryButtonText: string;
|
|
297
333
|
secondaryButtonHandler: Function;
|
|
298
|
-
isBookmarked: boolean;
|
|
299
334
|
showTags: boolean;
|
|
300
335
|
isTeamPick: boolean;
|
|
301
336
|
showContributors: boolean;
|
|
@@ -303,6 +338,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
303
338
|
businessName: string;
|
|
304
339
|
website: string;
|
|
305
340
|
showLoanUse: boolean;
|
|
341
|
+
showLightView: boolean;
|
|
342
|
+
showCloseButton: boolean;
|
|
343
|
+
customAmountLent: string;
|
|
306
344
|
}, {}, {
|
|
307
345
|
KvBorrowerImage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
308
346
|
alt: {
|
|
@@ -415,6 +453,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
415
453
|
type: BooleanConstructor;
|
|
416
454
|
default: boolean;
|
|
417
455
|
};
|
|
456
|
+
showReadMore: {
|
|
457
|
+
type: BooleanConstructor;
|
|
458
|
+
default: boolean;
|
|
459
|
+
};
|
|
460
|
+
truncateWordsNumber: {
|
|
461
|
+
type: NumberConstructor;
|
|
462
|
+
default: number;
|
|
463
|
+
};
|
|
418
464
|
}>, {}, {}, {
|
|
419
465
|
helpLanguage(): "helps" | "helped";
|
|
420
466
|
isDirect(): boolean;
|
|
@@ -470,6 +516,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
470
516
|
type: BooleanConstructor;
|
|
471
517
|
default: boolean;
|
|
472
518
|
};
|
|
519
|
+
showReadMore: {
|
|
520
|
+
type: BooleanConstructor;
|
|
521
|
+
default: boolean;
|
|
522
|
+
};
|
|
523
|
+
truncateWordsNumber: {
|
|
524
|
+
type: NumberConstructor;
|
|
525
|
+
default: number;
|
|
526
|
+
};
|
|
473
527
|
}>> & Readonly<{}>, {
|
|
474
528
|
name: string;
|
|
475
529
|
use: string;
|
|
@@ -483,6 +537,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
483
537
|
boldName: boolean;
|
|
484
538
|
country: string;
|
|
485
539
|
useIndicativeHelpText: boolean;
|
|
540
|
+
showReadMore: boolean;
|
|
541
|
+
truncateWordsNumber: number;
|
|
486
542
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
487
543
|
KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
488
544
|
icon: {
|
|
@@ -1130,36 +1186,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1130
1186
|
required: true;
|
|
1131
1187
|
};
|
|
1132
1188
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1133
|
-
KvLoanBookmark: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1134
|
-
isBookmarked: {
|
|
1135
|
-
type: BooleanConstructor;
|
|
1136
|
-
default: boolean;
|
|
1137
|
-
};
|
|
1138
|
-
}>, {}, {
|
|
1139
|
-
mdiBookmarkOutline: string;
|
|
1140
|
-
mdiBookmark: string;
|
|
1141
|
-
}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1142
|
-
isBookmarked: {
|
|
1143
|
-
type: BooleanConstructor;
|
|
1144
|
-
default: boolean;
|
|
1145
|
-
};
|
|
1146
|
-
}>> & Readonly<{}>, {
|
|
1147
|
-
isBookmarked: boolean;
|
|
1148
|
-
}, {}, {
|
|
1149
|
-
KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1150
|
-
icon: {
|
|
1151
|
-
type: StringConstructor;
|
|
1152
|
-
default: string;
|
|
1153
|
-
};
|
|
1154
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1155
|
-
icon: {
|
|
1156
|
-
type: StringConstructor;
|
|
1157
|
-
default: string;
|
|
1158
|
-
};
|
|
1159
|
-
}>> & Readonly<{}>, {
|
|
1160
|
-
icon: string;
|
|
1161
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1162
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1163
1189
|
KvLoanTeamPick: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1164
1190
|
KvLoanProgressGroup: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1165
1191
|
moneyLeft: {
|