@kiva/kv-components 8.1.0 → 8.2.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 +199 -197
- package/dist/vue/KvCompactLoanCard.css +1 -1
- package/dist/vue/KvCompactLoanCard.js +40 -40
- package/dist/vue/KvIconButton.js +118 -0
- package/dist/vue/KvIconButton.vue.d.ts +99 -0
- package/dist/vue/KvIconButton2.js +4 -0
- package/dist/vue/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { default as I } from "./vue/KvCommentsAdd.js";
|
|
|
15
15
|
import { default as g } from "./vue/KvCommentsContainer.js";
|
|
16
16
|
import { default as G } from "./vue/KvCommentsHeartButton.js";
|
|
17
17
|
import { default as h } from "./vue/KvCommentsList.js";
|
|
18
|
-
import { default as
|
|
18
|
+
import { default as B } from "./vue/KvCommentsListItem.js";
|
|
19
19
|
import { default as y } from "./vue/KvCommentsReplyButton.js";
|
|
20
20
|
import { default as k } from "./vue/KvContentfulImg.js";
|
|
21
21
|
import { default as w } from "./vue/KvCountdownTimer.js";
|
|
@@ -24,108 +24,109 @@ import { default as z } from "./vue/KvExpandable.js";
|
|
|
24
24
|
import { default as q } from "./vue/KvExpandableQuestion.js";
|
|
25
25
|
import { default as X } from "./vue/KvFlag.js";
|
|
26
26
|
import { default as Z } from "./vue/KvGrid.js";
|
|
27
|
-
import { default as oo } from "./vue/
|
|
28
|
-
import { default as ro } from "./vue/
|
|
29
|
-
import { default as ao } from "./vue/
|
|
30
|
-
import { default as lo } from "./vue/
|
|
31
|
-
import { default as so } from "./vue/
|
|
32
|
-
import { default as xo } from "./vue/
|
|
33
|
-
import { default as no } from "./vue/
|
|
34
|
-
import { default as vo } from "./vue/
|
|
35
|
-
import { default as io } from "./vue/
|
|
36
|
-
import { default as _o } from "./vue/
|
|
37
|
-
import { default as No } from "./vue/
|
|
38
|
-
import { default as co } from "./vue/
|
|
39
|
-
import {
|
|
40
|
-
import { default as Io } from "./vue/
|
|
41
|
-
import { default as go } from "./vue/
|
|
42
|
-
import { default as Go } from "./vue/
|
|
43
|
-
import { default as ho } from "./vue/
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as yo } from "./vue/
|
|
46
|
-
import { default as ko } from "./vue/
|
|
47
|
-
import { default as wo } from "./vue/
|
|
48
|
-
import { default as Ho } from "./vue/
|
|
49
|
-
import { default as zo } from "./vue/
|
|
50
|
-
import { default as qo } from "./vue/
|
|
51
|
-
import { default as Xo } from "./vue/
|
|
52
|
-
import { default as Zo } from "./vue/
|
|
53
|
-
import { default as oe } from "./vue/
|
|
54
|
-
import { default as re } from "./vue/
|
|
55
|
-
import { default as ae } from "./vue/
|
|
56
|
-
import { default as le } from "./vue/
|
|
57
|
-
import { default as se } from "./vue/
|
|
58
|
-
import { default as pe } from "./vue/
|
|
59
|
-
import { default as ue } from "./vue/
|
|
60
|
-
import { default as Ke } from "./vue/
|
|
61
|
-
import { default as Ae } from "./vue/
|
|
62
|
-
import { default as Ce } from "./vue/
|
|
63
|
-
import { default as Le } from "./vue/
|
|
64
|
-
import { default as Te } from "./vue/
|
|
65
|
-
import { default as Ee } from "./vue/
|
|
66
|
-
import { default as Oe } from "./vue/
|
|
67
|
-
import { default as Ie } from "./vue/
|
|
68
|
-
import { default as ge } from "./vue/
|
|
69
|
-
import { default as Ge } from "./vue/
|
|
70
|
-
import { default as he } from "./vue/
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as ye } from "./vue/
|
|
73
|
-
import { default as ke } from "./vue/
|
|
74
|
-
import { default as we } from "./vue/
|
|
75
|
-
import { default as He } from "./vue/
|
|
76
|
-
import { default as ze } from "./vue/
|
|
77
|
-
import { default as qe
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
27
|
+
import { default as oo } from "./vue/KvIconButton.js";
|
|
28
|
+
import { default as ro } from "./vue/KvImpactDashboardHeader.js";
|
|
29
|
+
import { default as ao } from "./vue/KvImpactVerticalSelector.js";
|
|
30
|
+
import { default as lo } from "./vue/KvInlineActivityCard.js";
|
|
31
|
+
import { default as so } from "./vue/KvInlineActivityFeed.js";
|
|
32
|
+
import { default as xo } from "./vue/KvIntroductionLoanCard.js";
|
|
33
|
+
import { default as no } from "./vue/KvLendAmountButton.js";
|
|
34
|
+
import { default as vo } from "./vue/KvLendCta.js";
|
|
35
|
+
import { default as io } from "./vue/KvLightbox.js";
|
|
36
|
+
import { default as _o } from "./vue/KvLineGraph.js";
|
|
37
|
+
import { default as No } from "./vue/KvLoanActivities.js";
|
|
38
|
+
import { default as co } from "./vue/KvLoanBookmark.js";
|
|
39
|
+
import { default as Ro } from "./vue/KvLoanCallouts.js";
|
|
40
|
+
import { KV_LOAN_INFO_CARD_FRAGMENT as Mo, default as Io } from "./vue/KvLoanInfoCard.js";
|
|
41
|
+
import { default as go } from "./vue/KvLoanProgressGroup.js";
|
|
42
|
+
import { default as Go } from "./vue/KvLoanTag.js";
|
|
43
|
+
import { default as ho } from "./vue/KvLoanTeamPick.js";
|
|
44
|
+
import { default as Bo } from "./vue/KvLoanUse.js";
|
|
45
|
+
import { default as yo } from "./vue/KvLoadingPlaceholder.js";
|
|
46
|
+
import { default as ko } from "./vue/KvLoadingSpinner.js";
|
|
47
|
+
import { default as wo } from "./vue/KvMap.js";
|
|
48
|
+
import { default as Ho } from "./vue/KvMaterialIcon.js";
|
|
49
|
+
import { default as zo } from "./vue/KvPageContainer.js";
|
|
50
|
+
import { default as qo } from "./vue/KvPagination.js";
|
|
51
|
+
import { default as Xo } from "./vue/KvPieChart.js";
|
|
52
|
+
import { default as Zo } from "./vue/KvPill.js";
|
|
53
|
+
import { default as oe } from "./vue/KvPopper.js";
|
|
54
|
+
import { default as re } from "./vue/KvProgressBar.js";
|
|
55
|
+
import { default as ae } from "./vue/KvPulsingDot.js";
|
|
56
|
+
import { default as le } from "./vue/KvRadio.js";
|
|
57
|
+
import { default as se } from "./vue/KvSelect.js";
|
|
58
|
+
import { default as pe } from "./vue/KvSideSheet.js";
|
|
59
|
+
import { default as ue } from "./vue/KvSwitch.js";
|
|
60
|
+
import { default as Ke } from "./vue/KvTab.js";
|
|
61
|
+
import { default as Ae } from "./vue/KvTabPanel.js";
|
|
62
|
+
import { default as Ce } from "./vue/KvTabs.js";
|
|
63
|
+
import { default as Le } from "./vue/KvTextInput.js";
|
|
64
|
+
import { default as Te } from "./vue/KvTextLink.js";
|
|
65
|
+
import { default as Ee } from "./vue/KvThemeProvider.js";
|
|
66
|
+
import { default as Oe } from "./vue/KvToast.js";
|
|
67
|
+
import { default as Ie } from "./vue/KvTooltip.js";
|
|
68
|
+
import { default as ge } from "./vue/KvTreeMapChart.js";
|
|
69
|
+
import { default as Ge } from "./vue/KvUserAvatar.js";
|
|
70
|
+
import { default as he } from "./vue/KvUtilityMenu.js";
|
|
71
|
+
import { default as Be } from "./vue/KvVerticalCarousel.js";
|
|
72
|
+
import { default as ye } from "./vue/KvVotingCard.js";
|
|
73
|
+
import { default as ke } from "./vue/KvVotingCardV2.js";
|
|
74
|
+
import { default as we } from "./vue/KvWideLoanCard.js";
|
|
75
|
+
import { default as He } from "./vue/KvAtbModal.js";
|
|
76
|
+
import { default as ze } from "./vue/KvSecondaryNav.js";
|
|
77
|
+
import { default as qe } from "./vue/KvWwwHeader.js";
|
|
78
|
+
import { default as Xe, Mash as Ye } from "./utils/Alea.js";
|
|
79
|
+
import { groupBy as $e, sortBy as or } from "./utils/arrayUtils.js";
|
|
80
|
+
import { useAttrs as rr } from "./utils/attrs.js";
|
|
81
|
+
import { carouselUtil as ar } from "./utils/carousels.js";
|
|
82
|
+
import { abc as lr, indexIn as mr, startsWith as sr } from "./utils/comparators.js";
|
|
83
|
+
import { debounce as pr } from "./utils/debounce.js";
|
|
84
|
+
import { useEventListener as ur } from "./utils/event.js";
|
|
85
|
+
import { collapse as Kr, expand as vr } from "./utils/expander.js";
|
|
86
|
+
import { getKivaImageUrl as ir, isLegacyPlaceholderAvatar as Cr, randomizedUserAvatarClass as _r } from "./utils/imageUtils.js";
|
|
87
|
+
import { LOAN_CALLOUTS_FRAGMENT as Nr, LOAN_GEOCODE_FRAGMENT as Tr, LOAN_PROGRESS_FRAGMENT as cr, loanCardComputedProperties as Er, loanCardMethods as Rr } from "./utils/loanCard.js";
|
|
88
|
+
import { BALANCE_CAMPAIGN as Mr, BASE_CAMPAIGN as Ir, ERL_COOKIE_NAME as Sr, NO_BALANCE_CAMPAIGN as gr, TOP_UP_CAMPAIGN as Pr, getDropdownPriceArray as Gr, getLendCtaSelectedOption as Fr, isBetween25And50 as hr, isLessThan25 as Vr, truncateStringByWords as Br } from "./utils/loanUtils.js";
|
|
89
|
+
import { animationCoordinator as yr, generateMapMarkers as br, getCoordinatesBetween as kr, getCountryColor as Ur, getLoansIntervals as wr } from "./utils/mapUtils.js";
|
|
90
|
+
import { lockPrintSingleEl as Hr, unlockPrintSingleEl as jr } from "./utils/printing.js";
|
|
91
|
+
import { lockScroll as Qr, lockScrollSmallOnly as qr, unlockScroll as Jr, unlockScrollSmallOnly as Xr } from "./utils/scrollLock.js";
|
|
92
|
+
import { buildTailwindClassName as Zr, headerNumberCase as $r, kebabCase as ot, removeObjectProperty as et } from "./utils/themeUtils.js";
|
|
93
|
+
import { throttle as tt } from "./utils/throttle.js";
|
|
94
|
+
import { isTargetElement as ft, offBodyTouchstart as lt, onBodyTouchstart as mt } from "./utils/touchEvents.js";
|
|
95
|
+
import { getTreemap as dt } from "./utils/treemap.js";
|
|
96
|
+
import { KvBlueskyIcon as xt } from "./assets/icons/bluesky.js";
|
|
97
|
+
import { KV_CLASSIC_LOAN_CARD_FRAGMENT as nt, KV_CLASSIC_LOAN_CARD_USER_FRAGMET as Kt } from "./vue/KvClassicLoanCard2.js";
|
|
98
|
+
import { KV_COMPACT_LOAN_CARD_FRAGMENT as At, KV_COMPACT_LOAN_CARD_USER_FRAGMENT as it } from "./vue/KvCompactLoanCard2.js";
|
|
99
|
+
import { KV_INTRODUCTION_LOAN_CARD_FRAGMENT as _t, KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT as Lt } from "./vue/KvIntroductionLoanCard2.js";
|
|
100
|
+
import { KV_LEND_CTA_FRAGMENT as Tt, KV_LEND_CTA_USER_FRAGMENT as ct } from "./vue/KvLendCta2.js";
|
|
101
|
+
import { KV_LOAN_ACTIVITIES_FRAGMENT as Rt } from "./vue/KvLoanActivities2.js";
|
|
102
|
+
import { KV_LOAN_BOOKMARK_FRAGMENT as Mt } from "./vue/KvLoanBookmark2.js";
|
|
103
|
+
import { KV_LOAN_TAG_FRAGMENT as St } from "./vue/KvLoanTag2.js";
|
|
104
|
+
import { KV_LOAN_USE_FRAGMENT as Pt } from "./vue/KvLoanUse2.js";
|
|
105
|
+
import { KV_WIDE_LOAN_CARD_FRAGMENT as Ft, KV_WIDE_LOAN_CARD_USER_FRAGMENT as ht } from "./vue/KvWideLoanCard2.js";
|
|
105
106
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
107
|
+
Xe as Alea,
|
|
108
|
+
Mr as BALANCE_CAMPAIGN,
|
|
109
|
+
Ir as BASE_CAMPAIGN,
|
|
110
|
+
Sr as ERL_COOKIE_NAME,
|
|
111
|
+
nt as KV_CLASSIC_LOAN_CARD_FRAGMENT,
|
|
112
|
+
Kt as KV_CLASSIC_LOAN_CARD_USER_FRAGMET,
|
|
113
|
+
At as KV_COMPACT_LOAN_CARD_FRAGMENT,
|
|
114
|
+
it as KV_COMPACT_LOAN_CARD_USER_FRAGMENT,
|
|
115
|
+
_t as KV_INTRODUCTION_LOAN_CARD_FRAGMENT,
|
|
116
|
+
Lt as KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT,
|
|
117
|
+
Tt as KV_LEND_CTA_FRAGMENT,
|
|
118
|
+
ct as KV_LEND_CTA_USER_FRAGMENT,
|
|
119
|
+
Rt as KV_LOAN_ACTIVITIES_FRAGMENT,
|
|
120
|
+
Mt as KV_LOAN_BOOKMARK_FRAGMENT,
|
|
121
|
+
Mo as KV_LOAN_INFO_CARD_FRAGMENT,
|
|
122
|
+
St as KV_LOAN_TAG_FRAGMENT,
|
|
123
|
+
Pt as KV_LOAN_USE_FRAGMENT,
|
|
124
|
+
Ft as KV_WIDE_LOAN_CARD_FRAGMENT,
|
|
125
|
+
ht as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
|
|
125
126
|
r as KvAccordionItem,
|
|
126
127
|
a as KvActivityRow,
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
He as KvAtbModal,
|
|
129
|
+
xt as KvBlueskyIcon,
|
|
129
130
|
l as KvBorrowerImage,
|
|
130
131
|
s as KvButton,
|
|
131
132
|
p as KvCardFrame,
|
|
@@ -140,7 +141,7 @@ export {
|
|
|
140
141
|
g as KvCommentsContainer,
|
|
141
142
|
G as KvCommentsHeartButton,
|
|
142
143
|
h as KvCommentsList,
|
|
143
|
-
|
|
144
|
+
B as KvCommentsListItem,
|
|
144
145
|
y as KvCommentsReplyButton,
|
|
145
146
|
O as KvCompactLoanCard,
|
|
146
147
|
k as KvContentfulImg,
|
|
@@ -150,100 +151,101 @@ export {
|
|
|
150
151
|
q as KvExpandableQuestion,
|
|
151
152
|
X as KvFlag,
|
|
152
153
|
Z as KvGrid,
|
|
153
|
-
oo as
|
|
154
|
-
ro as
|
|
155
|
-
ao as
|
|
156
|
-
lo as
|
|
157
|
-
so as
|
|
158
|
-
xo as
|
|
159
|
-
no as
|
|
160
|
-
vo as
|
|
161
|
-
io as
|
|
162
|
-
|
|
163
|
-
yo as
|
|
164
|
-
|
|
165
|
-
No as
|
|
166
|
-
co as
|
|
167
|
-
|
|
168
|
-
Io as
|
|
169
|
-
go as
|
|
170
|
-
Go as
|
|
171
|
-
ho as
|
|
172
|
-
|
|
173
|
-
wo as
|
|
174
|
-
Ho as
|
|
175
|
-
zo as
|
|
176
|
-
qo as
|
|
177
|
-
Xo as
|
|
178
|
-
Zo as
|
|
179
|
-
oe as
|
|
180
|
-
re as
|
|
181
|
-
ae as
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
se as
|
|
185
|
-
pe as
|
|
186
|
-
ue as
|
|
187
|
-
Ke as
|
|
188
|
-
Ae as
|
|
189
|
-
Ce as
|
|
190
|
-
Le as
|
|
191
|
-
Te as
|
|
192
|
-
Ee as
|
|
193
|
-
Oe as
|
|
194
|
-
Ie as
|
|
195
|
-
ge as
|
|
196
|
-
Ge as
|
|
197
|
-
he as
|
|
198
|
-
|
|
199
|
-
ye as
|
|
200
|
-
ke as
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
154
|
+
oo as KvIconButton,
|
|
155
|
+
ro as KvImpactDashboardHeader,
|
|
156
|
+
ao as KvImpactVerticalSelector,
|
|
157
|
+
lo as KvInlineActivityCard,
|
|
158
|
+
so as KvInlineActivityFeed,
|
|
159
|
+
xo as KvIntroductionLoanCard,
|
|
160
|
+
no as KvLendAmountButton,
|
|
161
|
+
vo as KvLendCta,
|
|
162
|
+
io as KvLightbox,
|
|
163
|
+
_o as KvLineGraph,
|
|
164
|
+
yo as KvLoadingPlaceholder,
|
|
165
|
+
ko as KvLoadingSpinner,
|
|
166
|
+
No as KvLoanActivities,
|
|
167
|
+
co as KvLoanBookmark,
|
|
168
|
+
Ro as KvLoanCallouts,
|
|
169
|
+
Io as KvLoanInfoCard,
|
|
170
|
+
go as KvLoanProgressGroup,
|
|
171
|
+
Go as KvLoanTag,
|
|
172
|
+
ho as KvLoanTeamPick,
|
|
173
|
+
Bo as KvLoanUse,
|
|
174
|
+
wo as KvMap,
|
|
175
|
+
Ho as KvMaterialIcon,
|
|
176
|
+
zo as KvPageContainer,
|
|
177
|
+
qo as KvPagination,
|
|
178
|
+
Xo as KvPieChart,
|
|
179
|
+
Zo as KvPill,
|
|
180
|
+
oe as KvPopper,
|
|
181
|
+
re as KvProgressBar,
|
|
182
|
+
ae as KvPulsingDot,
|
|
183
|
+
le as KvRadio,
|
|
184
|
+
ze as KvSecondaryNav,
|
|
185
|
+
se as KvSelect,
|
|
186
|
+
pe as KvSideSheet,
|
|
187
|
+
ue as KvSwitch,
|
|
188
|
+
Ke as KvTab,
|
|
189
|
+
Ae as KvTabPanel,
|
|
190
|
+
Ce as KvTabs,
|
|
191
|
+
Le as KvTextInput,
|
|
192
|
+
Te as KvTextLink,
|
|
193
|
+
Ee as KvThemeProvider,
|
|
194
|
+
Oe as KvToast,
|
|
195
|
+
Ie as KvTooltip,
|
|
196
|
+
ge as KvTreeMapChart,
|
|
197
|
+
Ge as KvUserAvatar,
|
|
198
|
+
he as KvUtilityMenu,
|
|
199
|
+
Be as KvVerticalCarousel,
|
|
200
|
+
ye as KvVotingCard,
|
|
201
|
+
ke as KvVotingCardV2,
|
|
202
|
+
we as KvWideLoanCard,
|
|
203
|
+
qe as KvWwwHeader,
|
|
204
|
+
Nr as LOAN_CALLOUTS_FRAGMENT,
|
|
205
|
+
Tr as LOAN_GEOCODE_FRAGMENT,
|
|
206
|
+
cr as LOAN_PROGRESS_FRAGMENT,
|
|
207
|
+
Ye as Mash,
|
|
208
|
+
gr as NO_BALANCE_CAMPAIGN,
|
|
209
|
+
Pr as TOP_UP_CAMPAIGN,
|
|
210
|
+
lr as abc,
|
|
211
|
+
yr as animationCoordinator,
|
|
212
|
+
Zr as buildTailwindClassName,
|
|
213
|
+
ar as carouselUtil,
|
|
214
|
+
Kr as collapse,
|
|
215
|
+
pr as debounce,
|
|
216
|
+
vr as expand,
|
|
217
|
+
br as generateMapMarkers,
|
|
218
|
+
kr as getCoordinatesBetween,
|
|
219
|
+
Ur as getCountryColor,
|
|
220
|
+
Gr as getDropdownPriceArray,
|
|
221
|
+
ir as getKivaImageUrl,
|
|
222
|
+
Fr as getLendCtaSelectedOption,
|
|
223
|
+
wr as getLoansIntervals,
|
|
224
|
+
dt as getTreemap,
|
|
225
|
+
$e as groupBy,
|
|
226
|
+
$r as headerNumberCase,
|
|
227
|
+
mr as indexIn,
|
|
228
|
+
hr as isBetween25And50,
|
|
229
|
+
Cr as isLegacyPlaceholderAvatar,
|
|
230
|
+
Vr as isLessThan25,
|
|
231
|
+
ft as isTargetElement,
|
|
232
|
+
ot as kebabCase,
|
|
233
|
+
Er as loanCardComputedProperties,
|
|
234
|
+
Rr as loanCardMethods,
|
|
235
|
+
Hr as lockPrintSingleEl,
|
|
236
|
+
Qr as lockScroll,
|
|
237
|
+
qr as lockScrollSmallOnly,
|
|
238
|
+
lt as offBodyTouchstart,
|
|
239
|
+
mt as onBodyTouchstart,
|
|
240
|
+
_r as randomizedUserAvatarClass,
|
|
241
|
+
et as removeObjectProperty,
|
|
242
|
+
or as sortBy,
|
|
243
|
+
sr as startsWith,
|
|
244
|
+
tt as throttle,
|
|
245
|
+
Br as truncateStringByWords,
|
|
246
|
+
jr as unlockPrintSingleEl,
|
|
247
|
+
Jr as unlockScroll,
|
|
248
|
+
Xr as unlockScrollSmallOnly,
|
|
249
|
+
rr as useAttrs,
|
|
250
|
+
ur as useEventListener
|
|
249
251
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.loan-card-use[data-v-
|
|
1
|
+
.loan-card-use[data-v-b4700d22]:hover,.loan-card-use[data-v-b4700d22]: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-b4700d22]{text-decoration-line:underline}.loan-card-progress[data-v-b4700d22]:hover,.loan-card-progress[data-v-b4700d22]:focus{text-decoration-line:none}.loan-card-use-text[data-v-b4700d22] 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-b4700d22] form,.loan-card-cta[data-v-b4700d22] fieldset,.loan-card-cta[data-v-b4700d22] .tw-w-full,.loan-card-cta[data-v-b4700d22] button{height:40px!important;max-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important}.loan-card-cta[data-v-b4700d22] .tw-inline-flex{height:40px!important;max-height:40px!important;min-height:40px!important}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import N from "./KvCompactLoanCard2.js";
|
|
2
|
-
import { KV_COMPACT_LOAN_CARD_FRAGMENT as
|
|
3
|
-
import { resolveComponent as
|
|
2
|
+
import { KV_COMPACT_LOAN_CARD_FRAGMENT as p, KV_COMPACT_LOAN_CARD_USER_FRAGMENT as $ } from "./KvCompactLoanCard2.js";
|
|
3
|
+
import { resolveComponent as w, openBlock as a, createElementBlock as l, normalizeClass as c, createVNode as i, createCommentVNode as d, createElementVNode as r, normalizeStyle as T, createBlock as s, resolveDynamicComponent as u, withCtx as f, toDisplayString as k, withModifiers as P, Fragment as g, renderList as A } from "vue";
|
|
4
4
|
import "./KvCompactLoanCard.css";
|
|
5
5
|
import B from "../_virtual/_plugin-vue_export-helper.js";
|
|
6
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 = {
|
|
@@ -9,14 +9,11 @@ const V = { class: "tw-flex tw-flex-col tw-items-start tw-w-full" }, R = { class
|
|
|
9
9
|
}, F = { class: "tw-text-primary !tw-font-medium tw-text-base tw-leading-normal tw-truncate" }, W = ["href"], j = { class: "tw-truncate" }, E = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "loan-card-use-text tw-w-full tw-overflow-hidden"
|
|
12
|
-
}, O = {
|
|
13
|
-
|
|
14
|
-
|
|
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");
|
|
12
|
+
}, O = { class: "tw-flex-1 tw-min-w-0 tw-mr-1" }, U = { class: "tw-flex-1 tw-min-w-0" }, K = { class: "tw-p-1 tw-rounded-l-sm tw-border tw-border-gray-100 tw-border-r-0" };
|
|
13
|
+
function z(h, o, t, e, G, H) {
|
|
14
|
+
const b = w("kv-material-icon"), v = w("kv-borrower-image"), x = w("kv-loan-tag"), m = w("kv-loading-placeholder"), _ = w("kv-loan-use"), y = w("kv-loan-callouts"), L = w("kv-loan-progress-group"), C = w("kv-lend-cta");
|
|
18
15
|
return a(), l("div", {
|
|
19
|
-
class:
|
|
16
|
+
class: c(["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
17
|
}, [
|
|
21
18
|
t.showCloseButton ? (a(), l("button", {
|
|
22
19
|
key: 0,
|
|
@@ -27,10 +24,10 @@ function G(k, o, t, e, H, I) {
|
|
|
27
24
|
icon: e.mdiClose,
|
|
28
25
|
class: "tw-w-1.5 tw-h-1.5"
|
|
29
26
|
}, null, 8, ["icon"])
|
|
30
|
-
])) :
|
|
27
|
+
])) : d("", !0),
|
|
31
28
|
r("div", V, [
|
|
32
29
|
r("div", {
|
|
33
|
-
class:
|
|
30
|
+
class: c(["tw-flex tw-items-start tw-gap-2 tw-w-full loan-card-active-hover", { "!tw-gap-1": t.showLightView }]),
|
|
34
31
|
style: T(e.customStyle)
|
|
35
32
|
}, [
|
|
36
33
|
r("div", R, [
|
|
@@ -45,7 +42,7 @@ function G(k, o, t, e, H, I) {
|
|
|
45
42
|
}, {
|
|
46
43
|
default: f(() => [
|
|
47
44
|
i(v, {
|
|
48
|
-
class:
|
|
45
|
+
class: c(["tw-bg-gray-300 tw-rounded-md tw-object-cover", { "!tw-w-7.5 !tw-h-7.5": t.showLightView }]),
|
|
49
46
|
style: { width: "100px", height: "100px" },
|
|
50
47
|
alt: `Photo of ${e.borrowerName}`,
|
|
51
48
|
"aspect-ratio": 1,
|
|
@@ -70,7 +67,7 @@ function G(k, o, t, e, H, I) {
|
|
|
70
67
|
onClick: o[2] || (o[2] = (n) => e.clickReadMore("Business", n))
|
|
71
68
|
}, {
|
|
72
69
|
default: f(() => [
|
|
73
|
-
r("h3", F,
|
|
70
|
+
r("h3", F, k(t.businessName), 1)
|
|
74
71
|
]),
|
|
75
72
|
_: 1
|
|
76
73
|
}, 8, ["to", "href", "target", "rel"])),
|
|
@@ -85,9 +82,9 @@ function G(k, o, t, e, H, I) {
|
|
|
85
82
|
icon: e.mdiLink,
|
|
86
83
|
class: "tw-w-2 tw-h-2"
|
|
87
84
|
}, null, 8, ["icon"]),
|
|
88
|
-
r("span", j,
|
|
89
|
-
], 8, W)) :
|
|
90
|
-
])) :
|
|
85
|
+
r("span", j, k(t.website), 1)
|
|
86
|
+
], 8, W)) : d("", !0)
|
|
87
|
+
])) : d("", !0),
|
|
91
88
|
(a(), s(u(e.tag), {
|
|
92
89
|
to: e.readMorePath,
|
|
93
90
|
href: e.readMorePath,
|
|
@@ -98,10 +95,10 @@ function G(k, o, t, e, H, I) {
|
|
|
98
95
|
onClick: o[4] || (o[4] = (n) => e.clickReadMore("Tag", n))
|
|
99
96
|
}, {
|
|
100
97
|
default: f(() => [
|
|
101
|
-
t.showTags && !e.isLoading ? (a(), s(
|
|
98
|
+
t.showTags && !e.isLoading ? (a(), s(x, {
|
|
102
99
|
key: 0,
|
|
103
100
|
loan: t.loan
|
|
104
|
-
}, null, 8, ["loan"])) :
|
|
101
|
+
}, null, 8, ["loan"])) : d("", !0)
|
|
105
102
|
]),
|
|
106
103
|
_: 1
|
|
107
104
|
}, 8, ["to", "href", "target", "rel"])),
|
|
@@ -121,10 +118,13 @@ function G(k, o, t, e, H, I) {
|
|
|
121
118
|
key: M,
|
|
122
119
|
class: "tw-h-2 tw-mb-1"
|
|
123
120
|
}, [
|
|
124
|
-
i(
|
|
121
|
+
i(m)
|
|
125
122
|
]))), 128))
|
|
126
|
-
])) : (a(), l("div",
|
|
127
|
-
|
|
123
|
+
])) : (a(), l("div", {
|
|
124
|
+
key: 1,
|
|
125
|
+
class: c(["loan-card-use-text tw-w-full tw-overflow-hidden", { "!tw--mt-1": t.showTags && t.loan.matchingText && t.showLightView }])
|
|
126
|
+
}, [
|
|
127
|
+
i(_, {
|
|
128
128
|
use: e.loanUse,
|
|
129
129
|
"loan-amount": e.loanAmount,
|
|
130
130
|
status: e.loanStatus,
|
|
@@ -137,13 +137,13 @@ function G(k, o, t, e, H, I) {
|
|
|
137
137
|
"truncate-words-number": t.truncateWordsNumber,
|
|
138
138
|
class: "tw-text-small tw-leading-tight"
|
|
139
139
|
}, null, 8, ["use", "loan-amount", "status", "borrower-count", "name", "distribution-model", "country", "show-read-more", "truncate-words-number"])
|
|
140
|
-
]))
|
|
140
|
+
], 2))
|
|
141
141
|
]),
|
|
142
142
|
_: 1
|
|
143
|
-
}, 8, ["to", "href", "target", "rel"])) :
|
|
143
|
+
}, 8, ["to", "href", "target", "rel"])) : d("", !0)
|
|
144
144
|
])
|
|
145
145
|
], 6),
|
|
146
|
-
e.isLoading || typeof e.loanCallouts > "u" ? (a(), s(
|
|
146
|
+
e.isLoading || typeof e.loanCallouts > "u" ? (a(), s(m, {
|
|
147
147
|
key: 0,
|
|
148
148
|
class: "tw-mt-1.5 tw-mb-1 tw-rounded-full",
|
|
149
149
|
style: { width: "60%", height: "1.5rem" }
|
|
@@ -151,17 +151,17 @@ function G(k, o, t, e, H, I) {
|
|
|
151
151
|
key: 1,
|
|
152
152
|
callouts: e.loanCallouts,
|
|
153
153
|
class: "tw-mt-1.5",
|
|
154
|
-
onClick: o[6] || (o[6] = (n) =>
|
|
154
|
+
onClick: o[6] || (o[6] = (n) => h.$emit("jump-filter-page", n))
|
|
155
155
|
}, null, 8, ["callouts"]))
|
|
156
156
|
]),
|
|
157
157
|
r("div", {
|
|
158
|
-
class:
|
|
158
|
+
class: c([
|
|
159
159
|
"tw-flex tw-items-center tw-justify-between tw-w-full tw-mt-1",
|
|
160
160
|
{ "tw-gap-1": e.sharesAvailable }
|
|
161
161
|
])
|
|
162
162
|
}, [
|
|
163
163
|
e.hasProgressData ? (a(), l(g, { key: 1 }, [
|
|
164
|
-
r("div",
|
|
164
|
+
r("div", U, [
|
|
165
165
|
e.sharesAvailable ? (a(), s(u(e.tag), {
|
|
166
166
|
key: 0,
|
|
167
167
|
to: e.readMorePath,
|
|
@@ -181,18 +181,18 @@ function G(k, o, t, e, H, I) {
|
|
|
181
181
|
}, null, 8, ["money-left", "progress-percent"])
|
|
182
182
|
]),
|
|
183
183
|
_: 1
|
|
184
|
-
}, 8, ["to", "href", "target", "rel"])) :
|
|
184
|
+
}, 8, ["to", "href", "target", "rel"])) : d("", !0)
|
|
185
185
|
]),
|
|
186
186
|
t.showLightView ? (a(), l("button", {
|
|
187
187
|
key: 0,
|
|
188
188
|
class: "tw-ml-2",
|
|
189
189
|
onClick: o[8] || (o[8] = (n) => e.clickReadMore("View", n))
|
|
190
190
|
}, [
|
|
191
|
-
r("span",
|
|
191
|
+
r("span", K, " $" + k(t.customAmountLent), 1),
|
|
192
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
193
|
])) : (a(), l("div", {
|
|
194
194
|
key: 1,
|
|
195
|
-
class:
|
|
195
|
+
class: c(["tw-flex-shrink-0 loan-card-cta", { "tw-w-full": !e.sharesAvailable }]),
|
|
196
196
|
style: { height: "40px" }
|
|
197
197
|
}, [
|
|
198
198
|
i(C, {
|
|
@@ -215,23 +215,23 @@ function G(k, o, t, e, H, I) {
|
|
|
215
215
|
"primary-button-text": t.primaryButtonText,
|
|
216
216
|
"secondary-button-text": t.secondaryButtonText,
|
|
217
217
|
"secondary-button-handler": t.secondaryButtonHandler,
|
|
218
|
-
onAddToBasket: o[9] || (o[9] = (n) =>
|
|
218
|
+
onAddToBasket: o[9] || (o[9] = (n) => h.$emit("add-to-basket", n)),
|
|
219
219
|
onShowLoanDetails: o[10] || (o[10] = (n) => e.clickReadMore("ViewLoan", n)),
|
|
220
|
-
onRemoveFromBasket: o[11] || (o[11] = (n) =>
|
|
220
|
+
onRemoveFromBasket: o[11] || (o[11] = (n) => h.$emit("remove-from-basket", n))
|
|
221
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"])
|
|
222
222
|
], 2))
|
|
223
223
|
], 64)) : (a(), l(g, { key: 0 }, [
|
|
224
|
-
r("div",
|
|
225
|
-
i(
|
|
224
|
+
r("div", O, [
|
|
225
|
+
i(m, {
|
|
226
226
|
class: "tw-mb-0.5",
|
|
227
227
|
style: { width: "100%", maxWidth: "11rem", height: "1rem" }
|
|
228
228
|
}),
|
|
229
|
-
i(
|
|
229
|
+
i(m, {
|
|
230
230
|
class: "tw-rounded",
|
|
231
231
|
style: { width: "100%", maxWidth: "11rem", height: "0.5rem" }
|
|
232
232
|
})
|
|
233
233
|
]),
|
|
234
|
-
e.allDataLoaded ?
|
|
234
|
+
e.allDataLoaded ? d("", !0) : (a(), s(m, {
|
|
235
235
|
key: 0,
|
|
236
236
|
class: "tw-rounded tw-flex-shrink-0",
|
|
237
237
|
style: { width: "8rem", height: "2.5rem" }
|
|
@@ -240,9 +240,9 @@ function G(k, o, t, e, H, I) {
|
|
|
240
240
|
], 2)
|
|
241
241
|
], 2);
|
|
242
242
|
}
|
|
243
|
-
const
|
|
243
|
+
const Q = /* @__PURE__ */ B(N, [["render", z], ["__scopeId", "data-v-b4700d22"]]);
|
|
244
244
|
export {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
245
|
+
p as KV_COMPACT_LOAN_CARD_FRAGMENT,
|
|
246
|
+
$ as KV_COMPACT_LOAN_CARD_USER_FRAGMENT,
|
|
247
|
+
Q as default
|
|
248
248
|
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { defineComponent as n, computed as c, openBlock as s, createElementBlock as u, normalizeClass as a, createElementVNode as w, createVNode as m } from "vue";
|
|
2
|
+
import { mdiDotsVertical as f } from "@mdi/js";
|
|
3
|
+
import y from "./KvMaterialIcon.js";
|
|
4
|
+
const b = ["disabled", "aria-pressed"], V = /* @__PURE__ */ n({
|
|
5
|
+
__name: "KvIconButton",
|
|
6
|
+
props: {
|
|
7
|
+
/**
|
|
8
|
+
* The Material Design Icon path from @mdi/js
|
|
9
|
+
*/
|
|
10
|
+
icon: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: f
|
|
13
|
+
},
|
|
14
|
+
/**
|
|
15
|
+
* Size of the visual button element (touch target is always 44px minimum)
|
|
16
|
+
* `small (16px), medium (20px), large (24px - default)`
|
|
17
|
+
*/
|
|
18
|
+
size: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "large",
|
|
21
|
+
validator(e) {
|
|
22
|
+
return ["small", "medium", "large"].includes(e);
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* Whether to show a border on the button
|
|
27
|
+
*/
|
|
28
|
+
showBorder: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !1
|
|
31
|
+
},
|
|
32
|
+
/**
|
|
33
|
+
* Border color variant. Only applies when showBorder is true.
|
|
34
|
+
* `primary, secondary, tertiary`
|
|
35
|
+
*/
|
|
36
|
+
borderColor: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "tertiary",
|
|
39
|
+
validator(e) {
|
|
40
|
+
return ["primary", "secondary", "tertiary"].includes(e);
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* Whether to show background on the button
|
|
45
|
+
* Applies white background with hover and active states
|
|
46
|
+
*/
|
|
47
|
+
showBackground: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: !1
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* Whether the button is disabled
|
|
53
|
+
*/
|
|
54
|
+
disabled: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
default: !1
|
|
57
|
+
},
|
|
58
|
+
/**
|
|
59
|
+
* Whether the button acts as a toggle (on/off switch)
|
|
60
|
+
*/
|
|
61
|
+
toggleable: {
|
|
62
|
+
type: Boolean,
|
|
63
|
+
default: !1
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
* The toggle state (for v-model support). Only used when toggleable is true.
|
|
67
|
+
*/
|
|
68
|
+
modelValue: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: !1
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
* Icon to display when toggle is active/on. Only used when toggleable is true.
|
|
74
|
+
*/
|
|
75
|
+
activeIcon: {
|
|
76
|
+
type: String,
|
|
77
|
+
default: ""
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
emits: ["click", "update:modelValue"],
|
|
81
|
+
setup(e, { emit: o }) {
|
|
82
|
+
const t = e, r = o, i = (l) => {
|
|
83
|
+
t.disabled || (t.toggleable && r("update:modelValue", !t.modelValue), r("click", l));
|
|
84
|
+
}, d = c(() => t.toggleable && t.modelValue && t.activeIcon ? t.activeIcon : t.icon);
|
|
85
|
+
return (l, g) => (s(), u("button", {
|
|
86
|
+
type: "button",
|
|
87
|
+
disabled: e.disabled,
|
|
88
|
+
"aria-pressed": e.toggleable ? e.modelValue : void 0,
|
|
89
|
+
class: a(["tw-flex tw-items-center tw-justify-center tw-min-w-5.5 tw-min-h-5.5 tw-bg-transparent", {
|
|
90
|
+
"tw-opacity-low tw-cursor-default": e.disabled
|
|
91
|
+
}]),
|
|
92
|
+
onClick: i
|
|
93
|
+
}, [
|
|
94
|
+
w("span", {
|
|
95
|
+
class: a(["tw-flex tw-items-center tw-justify-center tw-transition-colors tw-duration-200 tw-rounded-full", {
|
|
96
|
+
"tw-w-4 tw-h-4": e.size === "small",
|
|
97
|
+
"tw-w-5 tw-h-5": e.size === "medium",
|
|
98
|
+
"tw-w-6 tw-h-6": e.size === "large",
|
|
99
|
+
"tw-bg-white hover:tw-bg-gray-100 active:tw-bg-gray-200": e.showBackground,
|
|
100
|
+
"tw-border": e.showBorder,
|
|
101
|
+
"tw-border-primary": e.showBorder && e.borderColor === "primary",
|
|
102
|
+
"tw-border-secondary": e.showBorder && e.borderColor === "secondary",
|
|
103
|
+
"tw-border-tertiary": e.showBorder && e.borderColor === "tertiary"
|
|
104
|
+
}])
|
|
105
|
+
}, [
|
|
106
|
+
m(y, {
|
|
107
|
+
icon: d.value,
|
|
108
|
+
class: a({
|
|
109
|
+
"tw-w-2.5 tw-h-2.5": e.size === "small"
|
|
110
|
+
})
|
|
111
|
+
}, null, 8, ["icon", "class"])
|
|
112
|
+
], 2)
|
|
113
|
+
], 10, b));
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
export {
|
|
117
|
+
V as default
|
|
118
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
type ButtonSize = 'small' | 'medium' | 'large';
|
|
3
|
+
type BorderColor = 'primary' | 'secondary' | 'tertiary';
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
icon: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
size: {
|
|
10
|
+
type: PropType<ButtonSize>;
|
|
11
|
+
default: string;
|
|
12
|
+
validator(value: ButtonSize): boolean;
|
|
13
|
+
};
|
|
14
|
+
showBorder: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
borderColor: {
|
|
19
|
+
type: PropType<BorderColor>;
|
|
20
|
+
default: string;
|
|
21
|
+
validator(value: BorderColor): boolean;
|
|
22
|
+
};
|
|
23
|
+
showBackground: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
toggleable: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
modelValue: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
activeIcon: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
|
+
click: (...args: any[]) => void;
|
|
45
|
+
"update:modelValue": (...args: any[]) => void;
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
|
+
icon: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
size: {
|
|
52
|
+
type: PropType<ButtonSize>;
|
|
53
|
+
default: string;
|
|
54
|
+
validator(value: ButtonSize): boolean;
|
|
55
|
+
};
|
|
56
|
+
showBorder: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
borderColor: {
|
|
61
|
+
type: PropType<BorderColor>;
|
|
62
|
+
default: string;
|
|
63
|
+
validator(value: BorderColor): boolean;
|
|
64
|
+
};
|
|
65
|
+
showBackground: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
disabled: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
toggleable: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
modelValue: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
activeIcon: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
}>> & Readonly<{
|
|
86
|
+
onClick?: (...args: any[]) => any;
|
|
87
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
88
|
+
}>, {
|
|
89
|
+
icon: string;
|
|
90
|
+
disabled: boolean;
|
|
91
|
+
size: ButtonSize;
|
|
92
|
+
modelValue: boolean;
|
|
93
|
+
showBorder: boolean;
|
|
94
|
+
borderColor: BorderColor;
|
|
95
|
+
showBackground: boolean;
|
|
96
|
+
toggleable: boolean;
|
|
97
|
+
activeIcon: string;
|
|
98
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
99
|
+
export default _default;
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export { default as KvExpandable } from './KvExpandable.vue';
|
|
|
26
26
|
export { default as KvExpandableQuestion } from './KvExpandableQuestion.vue';
|
|
27
27
|
export { default as KvFlag } from './KvFlag.vue';
|
|
28
28
|
export { default as KvGrid } from './KvGrid.vue';
|
|
29
|
+
export { default as KvIconButton } from './KvIconButton.vue';
|
|
29
30
|
export { default as KvImpactDashboardHeader } from './KvImpactDashboardHeader.vue';
|
|
30
31
|
export { default as KvImpactVerticalSelector } from './KvImpactVerticalSelector.vue';
|
|
31
32
|
export { default as KvInlineActivityCard } from './KvInlineActivityCard.vue';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -125,5 +125,5 @@
|
|
|
125
125
|
"embla-carousel-fade",
|
|
126
126
|
"popper.js"
|
|
127
127
|
],
|
|
128
|
-
"gitHead": "
|
|
128
|
+
"gitHead": "9368a78f6e3cf82333c6dd52c3c0d9c52c304963"
|
|
129
129
|
}
|