@kiva/kv-components 7.3.1 → 7.3.3
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 +155 -154
- package/dist/vue/KvCarousel.css +1 -1
- package/dist/vue/KvCarousel.js +8 -8
- package/dist/vue/KvLoanInfoCard.css +1 -1
- package/dist/vue/KvLoanInfoCard.js +38 -38
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -6,13 +6,13 @@ import { default as p } from "./vue/KvCardFrame.js";
|
|
|
6
6
|
import { default as x } from "./vue/KvCarousel.js";
|
|
7
7
|
import { default as n } from "./vue/KvCartModal.js";
|
|
8
8
|
import { default as A } from "./vue/KvCartPill.js";
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
9
|
+
import { default as _ } from "./vue/KvCheckbox.js";
|
|
10
|
+
import { default as N } from "./vue/KvCheckoutReceipt.js";
|
|
11
11
|
import { default as T } from "./vue/KvChip.js";
|
|
12
|
-
import { KV_CLASSIC_LOAN_CARD_FRAGMENT as E, KV_CLASSIC_LOAN_CARD_USER_FRAGMET as R, default as
|
|
12
|
+
import { KV_CLASSIC_LOAN_CARD_FRAGMENT as E, KV_CLASSIC_LOAN_CARD_USER_FRAGMET as R, default as O } from "./vue/KvClassicLoanCard.js";
|
|
13
13
|
import { KV_COMPACT_LOAN_CARD_FRAGMENT as I, KV_COMPACT_LOAN_CARD_USER_FRAGMENT as S, default as P } from "./vue/KvCompactLoanCard.js";
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
14
|
+
import { default as g } from "./vue/KvCommentsAdd.js";
|
|
15
|
+
import { default as V } from "./vue/KvCommentsContainer.js";
|
|
16
16
|
import { default as D } from "./vue/KvCommentsHeartButton.js";
|
|
17
17
|
import { default as B } from "./vue/KvCommentsList.js";
|
|
18
18
|
import { default as y } from "./vue/KvCommentsListItem.js";
|
|
@@ -30,100 +30,101 @@ import { default as se } from "./vue/KvInlineActivityCard.js";
|
|
|
30
30
|
import { default as pe } from "./vue/KvInlineActivityFeed.js";
|
|
31
31
|
import { KV_INTRODUCTION_LOAN_CARD_FRAGMENT as xe, KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT as Ke, default as ne } from "./vue/KvIntroductionLoanCard.js";
|
|
32
32
|
import { default as Ae } from "./vue/KvLendAmountButton.js";
|
|
33
|
-
import { KV_LEND_CTA_FRAGMENT as
|
|
33
|
+
import { KV_LEND_CTA_FRAGMENT as _e, KV_LEND_CTA_USER_FRAGMENT as ie, default as Ne } from "./vue/KvLendCta.js";
|
|
34
34
|
import { default as Te } from "./vue/KvLightbox.js";
|
|
35
35
|
import { default as Ee } from "./vue/KvLineGraph.js";
|
|
36
|
-
import { KV_LOAN_ACTIVITIES_FRAGMENT as
|
|
36
|
+
import { KV_LOAN_ACTIVITIES_FRAGMENT as Oe, default as Me } from "./vue/KvLoanActivities.js";
|
|
37
37
|
import { KV_LOAN_BOOKMARK_FRAGMENT as Se, default as Pe } from "./vue/KvLoanBookmark.js";
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { KV_LOAN_TAG_FRAGMENT as
|
|
42
|
-
import { default as
|
|
43
|
-
import { KV_LOAN_USE_FRAGMENT as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
38
|
+
import { default as ge } from "./vue/KvLoanCallouts.js";
|
|
39
|
+
import { KV_LOAN_INFO_CARD_FRAGMENT as Ve, default as he } from "./vue/KvLoanInfoCard.js";
|
|
40
|
+
import { default as ke } from "./vue/KvLoanProgressGroup.js";
|
|
41
|
+
import { KV_LOAN_TAG_FRAGMENT as Ue, default as ye } from "./vue/KvLoanTag.js";
|
|
42
|
+
import { default as we } from "./vue/KvLoanTeamPick.js";
|
|
43
|
+
import { KV_LOAN_USE_FRAGMENT as He, default as je } from "./vue/KvLoanUse.js";
|
|
44
|
+
import { default as Qe } from "./vue/KvLoadingPlaceholder.js";
|
|
45
|
+
import { default as Je } from "./vue/KvLoadingSpinner.js";
|
|
46
|
+
import { default as Ye } from "./vue/KvMap.js";
|
|
47
|
+
import { default as $e } from "./vue/KvMaterialIcon.js";
|
|
48
|
+
import { default as oo } from "./vue/KvPageContainer.js";
|
|
49
|
+
import { default as ao } from "./vue/KvPagination.js";
|
|
50
|
+
import { default as fo } from "./vue/KvPieChart.js";
|
|
51
|
+
import { default as so } from "./vue/KvPill.js";
|
|
52
|
+
import { default as po } from "./vue/KvPopper.js";
|
|
53
|
+
import { default as xo } from "./vue/KvProgressBar.js";
|
|
54
|
+
import { default as no } from "./vue/KvPulsingDot.js";
|
|
55
|
+
import { default as Ao } from "./vue/KvRadio.js";
|
|
56
|
+
import { default as _o } from "./vue/KvSelect.js";
|
|
57
|
+
import { default as No } from "./vue/KvSideSheet.js";
|
|
58
|
+
import { default as To } from "./vue/KvSwitch.js";
|
|
59
|
+
import { default as Eo } from "./vue/KvTab.js";
|
|
60
|
+
import { default as Oo } from "./vue/KvTabPanel.js";
|
|
61
|
+
import { default as Io } from "./vue/KvTabs.js";
|
|
62
|
+
import { default as Po } from "./vue/KvTextInput.js";
|
|
63
63
|
import { default as go } from "./vue/KvTextLink.js";
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { KV_WIDE_LOAN_CARD_FRAGMENT as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { useAttrs as
|
|
79
|
-
import { carouselUtil as
|
|
80
|
-
import { collapse as
|
|
81
|
-
import { getKivaImageUrl as
|
|
82
|
-
import { LOAN_CALLOUTS_FRAGMENT as
|
|
83
|
-
import { BALANCE_CAMPAIGN as
|
|
84
|
-
import { animationCoordinator as
|
|
85
|
-
import { lockPrintSingleEl as
|
|
86
|
-
import { lockScroll as
|
|
87
|
-
import { buildTailwindClassName as
|
|
88
|
-
import { throttle as
|
|
89
|
-
import { isTargetElement as
|
|
90
|
-
import { getTreemap as
|
|
91
|
-
import { KvBlueskyIcon as
|
|
64
|
+
import { default as Vo } from "./vue/KvThemeProvider.js";
|
|
65
|
+
import { default as Do } from "./vue/KvToast.js";
|
|
66
|
+
import { default as Bo } from "./vue/KvTooltip.js";
|
|
67
|
+
import { default as yo } from "./vue/KvTreeMapChart.js";
|
|
68
|
+
import { default as wo } from "./vue/KvUserAvatar.js";
|
|
69
|
+
import { default as Ho } from "./vue/KvUtilityMenu.js";
|
|
70
|
+
import { default as zo } from "./vue/KvVerticalCarousel.js";
|
|
71
|
+
import { default as qo } from "./vue/KvVotingCard.js";
|
|
72
|
+
import { default as Xo } from "./vue/KvVotingCardV2.js";
|
|
73
|
+
import { KV_WIDE_LOAN_CARD_FRAGMENT as Zo, KV_WIDE_LOAN_CARD_USER_FRAGMENT as $o, default as et } from "./vue/KvWideLoanCard.js";
|
|
74
|
+
import { default as tt } from "./vue/KvAtbModal.js";
|
|
75
|
+
import { default as rt } from "./vue/KvSecondaryNav.js";
|
|
76
|
+
import { default as lt } from "./vue/KvWwwHeader.js";
|
|
77
|
+
import { default as st, Mash as mt } from "./utils/Alea.js";
|
|
78
|
+
import { useAttrs as ut } from "./utils/attrs.js";
|
|
79
|
+
import { carouselUtil as Kt } from "./utils/carousels.js";
|
|
80
|
+
import { collapse as vt, expand as At } from "./utils/expander.js";
|
|
81
|
+
import { getKivaImageUrl as _t, isLegacyPlaceholderAvatar as it, randomizedUserAvatarClass as Nt } from "./utils/imageUtils.js";
|
|
82
|
+
import { LOAN_CALLOUTS_FRAGMENT as Tt, LOAN_GEOCODE_FRAGMENT as ct, LOAN_PROGRESS_FRAGMENT as Et, loanCardComputedProperties as Rt, loanCardMethods as Ot } from "./utils/loanCard.js";
|
|
83
|
+
import { BALANCE_CAMPAIGN as It, BASE_CAMPAIGN as St, ERL_COOKIE_NAME as Pt, NO_BALANCE_CAMPAIGN as Gt, TOP_UP_CAMPAIGN as gt, getDropdownPriceArray as Ft, getLendCtaSelectedOption as Vt, isBetween25And50 as ht, isLessThan25 as Dt } from "./utils/loanUtils.js";
|
|
84
|
+
import { animationCoordinator as Bt, generateMapMarkers as Ut, getCoordinatesBetween as yt, getCountryColor as bt, getLoansIntervals as wt } from "./utils/mapUtils.js";
|
|
85
|
+
import { lockPrintSingleEl as Ht, unlockPrintSingleEl as jt } from "./utils/printing.js";
|
|
86
|
+
import { lockScroll as Qt, lockScrollSmallOnly as qt, unlockScroll as Jt, unlockScrollSmallOnly as Xt } from "./utils/scrollLock.js";
|
|
87
|
+
import { buildTailwindClassName as Zt, headerNumberCase as $t, kebabCase as ea, removeObjectProperty as oa } from "./utils/themeUtils.js";
|
|
88
|
+
import { throttle as aa } from "./utils/throttle.js";
|
|
89
|
+
import { isTargetElement as fa, offBodyTouchstart as la, onBodyTouchstart as da } from "./utils/touchEvents.js";
|
|
90
|
+
import { getTreemap as ma } from "./utils/treemap.js";
|
|
91
|
+
import { KvBlueskyIcon as ua } from "./assets/icons/bluesky.js";
|
|
92
92
|
export {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
st as Alea,
|
|
94
|
+
It as BALANCE_CAMPAIGN,
|
|
95
|
+
St as BASE_CAMPAIGN,
|
|
96
|
+
Pt as ERL_COOKIE_NAME,
|
|
97
97
|
E as KV_CLASSIC_LOAN_CARD_FRAGMENT,
|
|
98
98
|
R as KV_CLASSIC_LOAN_CARD_USER_FRAGMET,
|
|
99
99
|
I as KV_COMPACT_LOAN_CARD_FRAGMENT,
|
|
100
100
|
S as KV_COMPACT_LOAN_CARD_USER_FRAGMENT,
|
|
101
101
|
xe as KV_INTRODUCTION_LOAN_CARD_FRAGMENT,
|
|
102
102
|
Ke as KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
_e as KV_LEND_CTA_FRAGMENT,
|
|
104
|
+
ie as KV_LEND_CTA_USER_FRAGMENT,
|
|
105
|
+
Oe as KV_LOAN_ACTIVITIES_FRAGMENT,
|
|
106
106
|
Se as KV_LOAN_BOOKMARK_FRAGMENT,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
Zo as
|
|
107
|
+
Ve as KV_LOAN_INFO_CARD_FRAGMENT,
|
|
108
|
+
Ue as KV_LOAN_TAG_FRAGMENT,
|
|
109
|
+
He as KV_LOAN_USE_FRAGMENT,
|
|
110
|
+
Zo as KV_WIDE_LOAN_CARD_FRAGMENT,
|
|
111
|
+
$o as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
|
|
111
112
|
t as KvAccordionItem,
|
|
112
113
|
r as KvActivityRow,
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
tt as KvAtbModal,
|
|
115
|
+
ua as KvBlueskyIcon,
|
|
115
116
|
l as KvBorrowerImage,
|
|
116
117
|
s as KvButton,
|
|
117
118
|
p as KvCardFrame,
|
|
118
119
|
x as KvCarousel,
|
|
119
120
|
n as KvCartModal,
|
|
120
121
|
A as KvCartPill,
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
_ as KvCheckbox,
|
|
123
|
+
N as KvCheckoutReceipt,
|
|
123
124
|
T as KvChip,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
O as KvClassicLoanCard,
|
|
126
|
+
g as KvCommentsAdd,
|
|
127
|
+
V as KvCommentsContainer,
|
|
127
128
|
D as KvCommentsHeartButton,
|
|
128
129
|
B as KvCommentsList,
|
|
129
130
|
y as KvCommentsListItem,
|
|
@@ -142,86 +143,86 @@ export {
|
|
|
142
143
|
pe as KvInlineActivityFeed,
|
|
143
144
|
ne as KvIntroductionLoanCard,
|
|
144
145
|
Ae as KvLendAmountButton,
|
|
145
|
-
|
|
146
|
+
Ne as KvLendCta,
|
|
146
147
|
Te as KvLightbox,
|
|
147
148
|
Ee as KvLineGraph,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
Qe as KvLoadingPlaceholder,
|
|
150
|
+
Je as KvLoadingSpinner,
|
|
151
|
+
Me as KvLoanActivities,
|
|
151
152
|
Pe as KvLoanBookmark,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
153
|
+
ge as KvLoanCallouts,
|
|
154
|
+
he as KvLoanInfoCard,
|
|
155
|
+
ke as KvLoanProgressGroup,
|
|
156
|
+
ye as KvLoanTag,
|
|
157
|
+
we as KvLoanTeamPick,
|
|
158
|
+
je as KvLoanUse,
|
|
159
|
+
Ye as KvMap,
|
|
160
|
+
$e as KvMaterialIcon,
|
|
161
|
+
oo as KvPageContainer,
|
|
162
|
+
ao as KvPagination,
|
|
163
|
+
fo as KvPieChart,
|
|
164
|
+
so as KvPill,
|
|
165
|
+
po as KvPopper,
|
|
166
|
+
xo as KvProgressBar,
|
|
167
|
+
no as KvPulsingDot,
|
|
168
|
+
Ao as KvRadio,
|
|
169
|
+
rt as KvSecondaryNav,
|
|
170
|
+
_o as KvSelect,
|
|
171
|
+
No as KvSideSheet,
|
|
172
|
+
To as KvSwitch,
|
|
173
|
+
Eo as KvTab,
|
|
174
|
+
Oo as KvTabPanel,
|
|
175
|
+
Io as KvTabs,
|
|
176
|
+
Po as KvTextInput,
|
|
176
177
|
go as KvTextLink,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
178
|
+
Vo as KvThemeProvider,
|
|
179
|
+
Do as KvToast,
|
|
180
|
+
Bo as KvTooltip,
|
|
181
|
+
yo as KvTreeMapChart,
|
|
182
|
+
wo as KvUserAvatar,
|
|
183
|
+
Ho as KvUtilityMenu,
|
|
184
|
+
zo as KvVerticalCarousel,
|
|
185
|
+
qo as KvVotingCard,
|
|
186
|
+
Xo as KvVotingCardV2,
|
|
187
|
+
et as KvWideLoanCard,
|
|
188
|
+
lt as KvWwwHeader,
|
|
189
|
+
Tt as LOAN_CALLOUTS_FRAGMENT,
|
|
190
|
+
ct as LOAN_GEOCODE_FRAGMENT,
|
|
191
|
+
Et as LOAN_PROGRESS_FRAGMENT,
|
|
192
|
+
mt as Mash,
|
|
193
|
+
Gt as NO_BALANCE_CAMPAIGN,
|
|
193
194
|
gt as TOP_UP_CAMPAIGN,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
195
|
+
Bt as animationCoordinator,
|
|
196
|
+
Zt as buildTailwindClassName,
|
|
197
|
+
Kt as carouselUtil,
|
|
198
|
+
vt as collapse,
|
|
199
|
+
At as expand,
|
|
200
|
+
Ut as generateMapMarkers,
|
|
201
|
+
yt as getCoordinatesBetween,
|
|
202
|
+
bt as getCountryColor,
|
|
203
|
+
Ft as getDropdownPriceArray,
|
|
204
|
+
_t as getKivaImageUrl,
|
|
205
|
+
Vt as getLendCtaSelectedOption,
|
|
206
|
+
wt as getLoansIntervals,
|
|
207
|
+
ma as getTreemap,
|
|
208
|
+
$t as headerNumberCase,
|
|
209
|
+
ht as isBetween25And50,
|
|
209
210
|
it as isLegacyPlaceholderAvatar,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
211
|
+
Dt as isLessThan25,
|
|
212
|
+
fa as isTargetElement,
|
|
213
|
+
ea as kebabCase,
|
|
214
|
+
Rt as loanCardComputedProperties,
|
|
215
|
+
Ot as loanCardMethods,
|
|
216
|
+
Ht as lockPrintSingleEl,
|
|
217
|
+
Qt as lockScroll,
|
|
218
|
+
qt as lockScrollSmallOnly,
|
|
219
|
+
la as offBodyTouchstart,
|
|
220
|
+
da as onBodyTouchstart,
|
|
221
|
+
Nt as randomizedUserAvatarClass,
|
|
222
|
+
oa as removeObjectProperty,
|
|
223
|
+
aa as throttle,
|
|
224
|
+
jt as unlockPrintSingleEl,
|
|
225
|
+
Jt as unlockScroll,
|
|
226
|
+
Xt as unlockScrollSmallOnly,
|
|
227
|
+
ut as useAttrs
|
|
227
228
|
};
|
package/dist/vue/KvCarousel.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@media (min-width: 64rem){.aside-controls-content[data-v-
|
|
1
|
+
@media (min-width: 64rem){.aside-controls-content[data-v-031f58b6]{width:82%}}.circle-slide[data-v-031f58b6]{width:auto}.circle-slide.is-selected[data-v-031f58b6]{opacity:1;transform:scale(1.2);max-width:300px}.circle-slide[data-v-031f58b6]:not(.is-selected){opacity:.5;transform:scale(.7)}.circle-carousel[data-v-031f58b6]{margin:0 auto}
|
package/dist/vue/KvCarousel.js
CHANGED
|
@@ -180,13 +180,13 @@ function X(w, l, e, t, m, b) {
|
|
|
180
180
|
class: d(["kv-carousel__controls tw-flex tw-justify-between tw-items-center tw-w-full", {
|
|
181
181
|
"lg:tw-hidden": e.asideControls,
|
|
182
182
|
"tw-mt-4 md:tw-justify-center": !e.controlsTopRight,
|
|
183
|
-
"md:tw-justify-end tw-absolute tw-top-0 tw-right-0 tw-w-auto tw-gap-
|
|
183
|
+
"md:tw-justify-end tw-absolute tw-top-0 tw-right-0 tw-w-auto tw-gap-1.5 tw-pr-1": e.controlsTopRight
|
|
184
184
|
}])
|
|
185
185
|
}, [
|
|
186
186
|
i("button", {
|
|
187
|
-
class: d(["tw-text-primary tw-
|
|
188
|
-
"tw-border-2": !e.controlsTopRight,
|
|
189
|
-
"tw-bg-white tw-shadow-lg": e.controlsTopRight
|
|
187
|
+
class: d(["tw-text-primary tw-rounded-full tw-border-primary tw-flex tw-items-center tw-justify-center disabled:tw-opacity-low disabled:tw-cursor-default", {
|
|
188
|
+
"tw-border-2 tw-h-4 tw-w-4": !e.controlsTopRight,
|
|
189
|
+
"tw-bg-white tw-shadow-lg tw-h-3.5 tw-w-3.5": e.controlsTopRight
|
|
190
190
|
}]),
|
|
191
191
|
disabled: t.embla && !t.embla.canScrollPrev(),
|
|
192
192
|
onClick: l[0] || (l[0] = (o) => t.handleUserInteraction(t.previousIndex, "click-left-arrow"))
|
|
@@ -203,9 +203,9 @@ function X(w, l, e, t, m, b) {
|
|
|
203
203
|
class: "tw-mx-2 md:tw-mx-3 lg:tw-mx-4 tw-invisible md:tw-visible"
|
|
204
204
|
}, h(t.currentIndex + 1) + "/" + h(t.slideIndicatorCount), 9, H)),
|
|
205
205
|
i("button", {
|
|
206
|
-
class: d(["tw-text-primary tw-
|
|
207
|
-
"tw-border-2": !e.controlsTopRight,
|
|
208
|
-
"tw-bg-white tw-shadow-lg": e.controlsTopRight
|
|
206
|
+
class: d(["tw-text-primary tw-rounded-full tw-border-primary tw-flex tw-items-center tw-justify-center disabled:tw-opacity-low disabled:tw-cursor-default", {
|
|
207
|
+
"tw-border-2 tw-h-4 tw-w-4": !e.controlsTopRight,
|
|
208
|
+
"tw-bg-white tw-shadow-lg tw-h-3.5 tw-w-3.5": e.controlsTopRight
|
|
209
209
|
}]),
|
|
210
210
|
disabled: t.embla && !t.embla.canScrollNext(),
|
|
211
211
|
onClick: l[1] || (l[1] = (o) => t.handleUserInteraction(t.nextIndex, "click-right-arrow"))
|
|
@@ -259,7 +259,7 @@ function X(w, l, e, t, m, b) {
|
|
|
259
259
|
], 64)) : f("", !0)
|
|
260
260
|
], 2);
|
|
261
261
|
}
|
|
262
|
-
const lt = /* @__PURE__ */ N(O, [["render", X], ["__scopeId", "data-v-
|
|
262
|
+
const lt = /* @__PURE__ */ N(O, [["render", X], ["__scopeId", "data-v-031f58b6"]]);
|
|
263
263
|
export {
|
|
264
264
|
lt as default
|
|
265
265
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.loan-card-active-hover[data-v-
|
|
1
|
+
.loan-card-active-hover[data-v-5a01b4de]:hover{cursor:pointer}.loan-card-use[data-v-5a01b4de]:hover,.loan-card-use[data-v-5a01b4de]: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-5a01b4de]{text-decoration-line:underline}.loan-card-progress[data-v-5a01b4de]:hover,.loan-card-progress[data-v-5a01b4de]:focus{text-decoration-line:none}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { LOAN_GEOCODE_FRAGMENT as B, loanCardComputedProperties as
|
|
1
|
+
import P from "graphql-tag";
|
|
2
|
+
import { LOAN_GEOCODE_FRAGMENT as B, loanCardComputedProperties as R, loanCardMethods as z } from "../utils/loanCard.js";
|
|
3
3
|
import D, { KV_LOAN_USE_FRAGMENT as K } from "./KvLoanUse.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { resolveComponent as c, openBlock as t, createElementBlock as i, normalizeClass as
|
|
4
|
+
import W from "./KvBorrowerImage.js";
|
|
5
|
+
import F from "./KvMaterialIcon.js";
|
|
6
|
+
import T from "./KvLoadingPlaceholder.js";
|
|
7
|
+
import { resolveComponent as c, openBlock as t, createElementBlock as i, normalizeClass as _, normalizeStyle as E, createElementVNode as d, createBlock as h, resolveDynamicComponent as v, withCtx as k, createVNode as s, createTextVNode as I, toDisplayString as b, createCommentVNode as O, Fragment as V, renderList as U, withModifiers as G } from "vue";
|
|
8
8
|
import "./KvLoanInfoCard.css";
|
|
9
9
|
import H from "../_virtual/_plugin-vue_export-helper.js";
|
|
10
|
-
|
|
11
|
-
fragment
|
|
10
|
+
const we = P`
|
|
11
|
+
fragment KvLoanInfoCard on LoanBasic {
|
|
12
12
|
id
|
|
13
13
|
gender
|
|
14
14
|
image {
|
|
@@ -21,14 +21,13 @@ A`
|
|
|
21
21
|
}
|
|
22
22
|
${K}
|
|
23
23
|
${B}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
name: "KvClassicLoanCard",
|
|
24
|
+
`, q = {
|
|
25
|
+
name: "KvLoanInfoCard",
|
|
27
26
|
components: {
|
|
28
|
-
KvBorrowerImage:
|
|
29
|
-
KvLoadingPlaceholder:
|
|
27
|
+
KvBorrowerImage: W,
|
|
28
|
+
KvLoadingPlaceholder: T,
|
|
30
29
|
KvLoanUse: D,
|
|
31
|
-
KvMaterialIcon:
|
|
30
|
+
KvMaterialIcon: F
|
|
32
31
|
},
|
|
33
32
|
props: {
|
|
34
33
|
loanId: {
|
|
@@ -89,15 +88,15 @@ const q = {
|
|
|
89
88
|
loanAmount: r,
|
|
90
89
|
loanStatus: g,
|
|
91
90
|
loanUse: p,
|
|
92
|
-
mdiMapMarker:
|
|
93
|
-
readMorePath:
|
|
91
|
+
mdiMapMarker: L,
|
|
92
|
+
readMorePath: x,
|
|
94
93
|
state: C,
|
|
95
94
|
tag: M,
|
|
96
|
-
unreservedAmount:
|
|
97
|
-
sharesAvailable:
|
|
98
|
-
} =
|
|
99
|
-
clickReadMore:
|
|
100
|
-
} =
|
|
95
|
+
unreservedAmount: N,
|
|
96
|
+
sharesAvailable: S
|
|
97
|
+
} = R(m), {
|
|
98
|
+
clickReadMore: A
|
|
99
|
+
} = z(m, a);
|
|
101
100
|
return {
|
|
102
101
|
allDataLoaded: o,
|
|
103
102
|
borrowerName: e,
|
|
@@ -110,13 +109,13 @@ const q = {
|
|
|
110
109
|
loanAmount: r,
|
|
111
110
|
loanStatus: g,
|
|
112
111
|
loanUse: p,
|
|
113
|
-
mdiMapMarker:
|
|
114
|
-
readMorePath:
|
|
112
|
+
mdiMapMarker: L,
|
|
113
|
+
readMorePath: x,
|
|
115
114
|
state: C,
|
|
116
115
|
tag: M,
|
|
117
|
-
unreservedAmount:
|
|
118
|
-
sharesAvailable:
|
|
119
|
-
clickReadMore:
|
|
116
|
+
unreservedAmount: N,
|
|
117
|
+
sharesAvailable: S,
|
|
118
|
+
clickReadMore: A
|
|
120
119
|
};
|
|
121
120
|
},
|
|
122
121
|
computed: {
|
|
@@ -157,18 +156,18 @@ const q = {
|
|
|
157
156
|
function oe(m, a, o, e, y, n) {
|
|
158
157
|
const l = c("kv-loading-placeholder"), w = c("kv-borrower-image"), u = c("kv-material-icon"), f = c("kv-loan-use");
|
|
159
158
|
return t(), i("div", {
|
|
160
|
-
class:
|
|
159
|
+
class: _(["tw-flex tw-flex-col tw-bg-white tw-rounded tw-w-full tw-pb-1 tw-p-1", { "tw-pointer-events-none": e.isLoading }]),
|
|
161
160
|
"data-testid": "loan-card",
|
|
162
|
-
style:
|
|
161
|
+
style: E([{ "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.08)" }, { minWidth: "230px", maxWidth: n.cardWidth }])
|
|
163
162
|
}, [
|
|
164
163
|
d("div", j, [
|
|
165
164
|
d("div", J, [
|
|
166
165
|
e.isLoading ? (t(), h(l, {
|
|
167
166
|
key: 0,
|
|
168
|
-
class:
|
|
167
|
+
class: _(["tw-mb-1 tw-w-full", { "tw-rounded-t tw-rounded-b-none": o.largeCard, "tw-rounded": !o.largeCard }]),
|
|
169
168
|
style: { height: "15rem" }
|
|
170
169
|
}, null, 8, ["class"])) : (t(), i("div", Q, [
|
|
171
|
-
(t(), h(
|
|
170
|
+
(t(), h(v(e.tag), {
|
|
172
171
|
to: e.readMorePath,
|
|
173
172
|
href: e.readMorePath,
|
|
174
173
|
class: "tw-flex",
|
|
@@ -177,7 +176,7 @@ function oe(m, a, o, e, y, n) {
|
|
|
177
176
|
}, {
|
|
178
177
|
default: k(() => [
|
|
179
178
|
s(w, {
|
|
180
|
-
class:
|
|
179
|
+
class: _(["tw-relative tw-w-full tw-bg-black", { "tw-rounded-t": o.largeCard, "tw-rounded": !o.largeCard }]),
|
|
181
180
|
alt: `Photo of ${e.borrowerName}`,
|
|
182
181
|
"aspect-ratio": n.imageAspectRatio,
|
|
183
182
|
"default-image": { width: n.imageDefaultWidth },
|
|
@@ -191,14 +190,14 @@ function oe(m, a, o, e, y, n) {
|
|
|
191
190
|
class: "tw-h-2 tw-w-2",
|
|
192
191
|
icon: e.mdiMapMarker
|
|
193
192
|
}, null, 8, ["icon"]),
|
|
194
|
-
|
|
193
|
+
I(" " + b(e.formattedLocation), 1)
|
|
195
194
|
])
|
|
196
|
-
])) :
|
|
195
|
+
])) : O("", !0)
|
|
197
196
|
]),
|
|
198
197
|
_: 1
|
|
199
198
|
}, 8, ["to", "href"]))
|
|
200
199
|
])),
|
|
201
|
-
(t(), h(
|
|
200
|
+
(t(), h(v(e.tag), {
|
|
202
201
|
to: e.readMorePath,
|
|
203
202
|
href: e.readMorePath,
|
|
204
203
|
class: "loan-card-use tw-no-underline tw-text-primary",
|
|
@@ -208,7 +207,7 @@ function oe(m, a, o, e, y, n) {
|
|
|
208
207
|
default: k(() => [
|
|
209
208
|
d("div", Z, [
|
|
210
209
|
e.isLoading ? (t(), i("div", $, [
|
|
211
|
-
(t(!0), i(
|
|
210
|
+
(t(!0), i(V, null, U([...Array(4)], (r, g) => (t(), i("div", {
|
|
212
211
|
key: g,
|
|
213
212
|
class: "tw-h-2 tw-mb-1"
|
|
214
213
|
}, [
|
|
@@ -230,7 +229,7 @@ function oe(m, a, o, e, y, n) {
|
|
|
230
229
|
]),
|
|
231
230
|
_: 1
|
|
232
231
|
}, 8, ["to", "href"])),
|
|
233
|
-
(t(), h(
|
|
232
|
+
(t(), h(v(e.tag), {
|
|
234
233
|
to: e.readMorePath,
|
|
235
234
|
href: e.readMorePath,
|
|
236
235
|
class: "loan-card-learn-more tw-no-underline hover:tw-no-underline tw-font-medium tw-text-action hover:tw-text-action-highlight",
|
|
@@ -253,7 +252,8 @@ function oe(m, a, o, e, y, n) {
|
|
|
253
252
|
])
|
|
254
253
|
], 6);
|
|
255
254
|
}
|
|
256
|
-
const
|
|
255
|
+
const ue = /* @__PURE__ */ H(q, [["render", oe], ["__scopeId", "data-v-5a01b4de"]]);
|
|
257
256
|
export {
|
|
258
|
-
we as
|
|
257
|
+
we as KV_LOAN_INFO_CARD_FRAGMENT,
|
|
258
|
+
ue as default
|
|
259
259
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.3",
|
|
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": "c94e6715e92f2d8f64ad6c0b80d8a42e414db550"
|
|
118
118
|
}
|