@kiva/kv-components 7.3.0 → 7.3.2

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 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 i } from "./vue/KvCheckbox.js";
10
- import { default as L } from "./vue/KvCheckoutReceipt.js";
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 M } from "./vue/KvClassicLoanCard.js";
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 G } from "./vue/KvCommentsAdd.js";
15
- import { default as F } from "./vue/KvCommentsContainer.js";
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 ie, KV_LEND_CTA_USER_FRAGMENT as _e, default as Le } from "./vue/KvLendCta.js";
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 Me, default as Oe } from "./vue/KvLoanActivities.js";
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 Ge } from "./vue/KvLoanCallouts.js";
39
- import { default as Fe } from "./vue/KvLoanInfoCard.js";
40
- import { default as De } from "./vue/KvLoanProgressGroup.js";
41
- import { KV_LOAN_TAG_FRAGMENT as Be, default as Ue } from "./vue/KvLoanTag.js";
42
- import { default as be } from "./vue/KvLoanTeamPick.js";
43
- import { KV_LOAN_USE_FRAGMENT as We, default as He } from "./vue/KvLoanUse.js";
44
- import { default as ze } from "./vue/KvLoadingPlaceholder.js";
45
- import { default as qe } from "./vue/KvLoadingSpinner.js";
46
- import { default as Xe } from "./vue/KvMap.js";
47
- import { default as Ze } from "./vue/KvMaterialIcon.js";
48
- import { default as eo } from "./vue/KvPageContainer.js";
49
- import { default as to } from "./vue/KvPagination.js";
50
- import { default as ro } from "./vue/KvPieChart.js";
51
- import { default as lo } from "./vue/KvPill.js";
52
- import { default as mo } from "./vue/KvPopper.js";
53
- import { default as uo } from "./vue/KvProgressBar.js";
54
- import { default as Ko } from "./vue/KvPulsingDot.js";
55
- import { default as vo } from "./vue/KvRadio.js";
56
- import { default as Co } from "./vue/KvSelect.js";
57
- import { default as _o } from "./vue/KvSideSheet.js";
58
- import { default as No } from "./vue/KvSwitch.js";
59
- import { default as co } from "./vue/KvTab.js";
60
- import { default as Ro } from "./vue/KvTabPanel.js";
61
- import { default as Oo } from "./vue/KvTabs.js";
62
- import { default as So } from "./vue/KvTextInput.js";
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 ho } from "./vue/KvThemeProvider.js";
65
- import { default as Vo } from "./vue/KvToast.js";
66
- import { default as ko } from "./vue/KvTooltip.js";
67
- import { default as Uo } from "./vue/KvTreeMapChart.js";
68
- import { default as bo } from "./vue/KvUserAvatar.js";
69
- import { default as Wo } from "./vue/KvUtilityMenu.js";
70
- import { default as jo } from "./vue/KvVerticalCarousel.js";
71
- import { default as Qo } from "./vue/KvVotingCard.js";
72
- import { default as Jo } from "./vue/KvVotingCardV2.js";
73
- import { KV_WIDE_LOAN_CARD_FRAGMENT as Yo, KV_WIDE_LOAN_CARD_USER_FRAGMENT as Zo, default as $o } from "./vue/KvWideLoanCard.js";
74
- import { default as ot } from "./vue/KvAtbModal.js";
75
- import { default as at } from "./vue/KvSecondaryNav.js";
76
- import { default as ft } from "./vue/KvWwwHeader.js";
77
- import { default as dt, Mash as st } from "./utils/Alea.js";
78
- import { useAttrs as pt } from "./utils/attrs.js";
79
- import { carouselUtil as xt } from "./utils/carousels.js";
80
- import { collapse as nt, expand as vt } from "./utils/expander.js";
81
- import { getKivaImageUrl as Ct, isLegacyPlaceholderAvatar as it, randomizedUserAvatarClass as _t } from "./utils/imageUtils.js";
82
- import { LOAN_CALLOUTS_FRAGMENT as Nt, LOAN_GEOCODE_FRAGMENT as Tt, LOAN_PROGRESS_FRAGMENT as ct, loanCardComputedProperties as Et, loanCardMethods as Rt } from "./utils/loanCard.js";
83
- import { BALANCE_CAMPAIGN as Ot, BASE_CAMPAIGN as It, ERL_COOKIE_NAME as St, NO_BALANCE_CAMPAIGN as Pt, TOP_UP_CAMPAIGN as gt, getDropdownPriceArray as Gt, getLendCtaSelectedOption as ht, isBetween25And50 as Ft, isLessThan25 as Vt } from "./utils/loanUtils.js";
84
- import { animationCoordinator as kt, generateMapMarkers as Bt, getCoordinatesBetween as Ut, getCountryColor as yt, getLoansIntervals as bt } from "./utils/mapUtils.js";
85
- import { lockPrintSingleEl as Wt, unlockPrintSingleEl as Ht } from "./utils/printing.js";
86
- import { lockScroll as zt, lockScrollSmallOnly as Qt, unlockScroll as qt, unlockScrollSmallOnly as Jt } from "./utils/scrollLock.js";
87
- import { buildTailwindClassName as Yt, headerNumberCase as Zt, kebabCase as $t, removeObjectProperty as ea } from "./utils/themeUtils.js";
88
- import { throttle as ta } from "./utils/throttle.js";
89
- import { isTargetElement as ra, offBodyTouchstart as fa, onBodyTouchstart as la } from "./utils/touchEvents.js";
90
- import { getTreemap as sa } from "./utils/treemap.js";
91
- import { KvBlueskyIcon as pa } from "./assets/icons/bluesky.js";
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
- dt as Alea,
94
- Ot as BALANCE_CAMPAIGN,
95
- It as BASE_CAMPAIGN,
96
- St as ERL_COOKIE_NAME,
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
- ie as KV_LEND_CTA_FRAGMENT,
104
- _e as KV_LEND_CTA_USER_FRAGMENT,
105
- Me as KV_LOAN_ACTIVITIES_FRAGMENT,
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
- Be as KV_LOAN_TAG_FRAGMENT,
108
- We as KV_LOAN_USE_FRAGMENT,
109
- Yo as KV_WIDE_LOAN_CARD_FRAGMENT,
110
- Zo as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
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
- ot as KvAtbModal,
114
- pa as KvBlueskyIcon,
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
- i as KvCheckbox,
122
- L as KvCheckoutReceipt,
122
+ _ as KvCheckbox,
123
+ N as KvCheckoutReceipt,
123
124
  T as KvChip,
124
- M as KvClassicLoanCard,
125
- G as KvCommentsAdd,
126
- F as KvCommentsContainer,
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
- Le as KvLendCta,
146
+ Ne as KvLendCta,
146
147
  Te as KvLightbox,
147
148
  Ee as KvLineGraph,
148
- ze as KvLoadingPlaceholder,
149
- qe as KvLoadingSpinner,
150
- Oe as KvLoanActivities,
149
+ Qe as KvLoadingPlaceholder,
150
+ Je as KvLoadingSpinner,
151
+ Me as KvLoanActivities,
151
152
  Pe as KvLoanBookmark,
152
- Ge as KvLoanCallouts,
153
- Fe as KvLoanInfoCard,
154
- De as KvLoanProgressGroup,
155
- Ue as KvLoanTag,
156
- be as KvLoanTeamPick,
157
- He as KvLoanUse,
158
- Xe as KvMap,
159
- Ze as KvMaterialIcon,
160
- eo as KvPageContainer,
161
- to as KvPagination,
162
- ro as KvPieChart,
163
- lo as KvPill,
164
- mo as KvPopper,
165
- uo as KvProgressBar,
166
- Ko as KvPulsingDot,
167
- vo as KvRadio,
168
- at as KvSecondaryNav,
169
- Co as KvSelect,
170
- _o as KvSideSheet,
171
- No as KvSwitch,
172
- co as KvTab,
173
- Ro as KvTabPanel,
174
- Oo as KvTabs,
175
- So as KvTextInput,
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
- ho as KvThemeProvider,
178
- Vo as KvToast,
179
- ko as KvTooltip,
180
- Uo as KvTreeMapChart,
181
- bo as KvUserAvatar,
182
- Wo as KvUtilityMenu,
183
- jo as KvVerticalCarousel,
184
- Qo as KvVotingCard,
185
- Jo as KvVotingCardV2,
186
- $o as KvWideLoanCard,
187
- ft as KvWwwHeader,
188
- Nt as LOAN_CALLOUTS_FRAGMENT,
189
- Tt as LOAN_GEOCODE_FRAGMENT,
190
- ct as LOAN_PROGRESS_FRAGMENT,
191
- st as Mash,
192
- Pt as NO_BALANCE_CAMPAIGN,
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
- kt as animationCoordinator,
195
- Yt as buildTailwindClassName,
196
- xt as carouselUtil,
197
- nt as collapse,
198
- vt as expand,
199
- Bt as generateMapMarkers,
200
- Ut as getCoordinatesBetween,
201
- yt as getCountryColor,
202
- Gt as getDropdownPriceArray,
203
- Ct as getKivaImageUrl,
204
- ht as getLendCtaSelectedOption,
205
- bt as getLoansIntervals,
206
- sa as getTreemap,
207
- Zt as headerNumberCase,
208
- Ft as isBetween25And50,
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
- Vt as isLessThan25,
211
- ra as isTargetElement,
212
- $t as kebabCase,
213
- Et as loanCardComputedProperties,
214
- Rt as loanCardMethods,
215
- Wt as lockPrintSingleEl,
216
- zt as lockScroll,
217
- Qt as lockScrollSmallOnly,
218
- fa as offBodyTouchstart,
219
- la as onBodyTouchstart,
220
- _t as randomizedUserAvatarClass,
221
- ea as removeObjectProperty,
222
- ta as throttle,
223
- Ht as unlockPrintSingleEl,
224
- qt as unlockScroll,
225
- Jt as unlockScrollSmallOnly,
226
- pt as useAttrs
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
  };
@@ -63,7 +63,7 @@ const G = {
63
63
  return ((L = (E = (S = (I = (y = u == null ? void 0 : u.fields) == null ? void 0 : y.contentLight) == null ? void 0 : I[0]) == null ? void 0 : S.fields) == null ? void 0 : E.file) == null ? void 0 : L.url) ?? null;
64
64
  }
65
65
  return null;
66
- }, h = o(() => s.useCompactCard ? "tw-p-2 md:tw-p-3 tw-flex tw-flex-row tw-items-center tw-cursor-pointer" : "tw-p-2 tw-flex tw-flex-row md:tw-flex-col tw-items-center tw-cursor-pointer"), c = o(() => s.useCompactCard ? "tw-shrink-0 tw-mr-2" : "tw-shrink-0 tw-mr-2 md:tw-mr-0 md:tw-mb-2"), m = o(() => s.useCompactCard ? "" : "md:tw-text-center"), t = (e) => s.existingCategories.includes(e), x = o(() => !s.categoryList || s.categoryList.length === 0 ? [] : s.categoryList.filter((e) => !s.hiddenCategories.includes(e.id)).map((e) => ({
66
+ }, h = o(() => s.useCompactCard ? "tw-p-1 md:tw-p-2 tw-flex tw-flex-row tw-items-center tw-cursor-pointer" : "tw-p-2 tw-flex tw-flex-row md:tw-flex-col tw-items-center tw-cursor-pointer"), c = o(() => s.useCompactCard ? "tw-shrink-0 tw-mr-2" : "tw-shrink-0 tw-mr-2 md:tw-mr-0 md:tw-mb-2"), m = o(() => s.useCompactCard ? "" : "md:tw-text-center"), t = (e) => s.existingCategories.includes(e), x = o(() => !s.categoryList || s.categoryList.length === 0 ? [] : s.categoryList.filter((e) => !s.hiddenCategories.includes(e.id)).map((e) => ({
67
67
  id: e.id,
68
68
  name: e.name,
69
69
  description: e.description,
@@ -1 +1 @@
1
- .loan-card-active-hover[data-v-4dc95254]:hover{cursor:pointer}.loan-card-use[data-v-4dc95254]:hover,.loan-card-use[data-v-4dc95254]: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-4dc95254]{text-decoration-line:underline}.loan-card-progress[data-v-4dc95254]:hover,.loan-card-progress[data-v-4dc95254]:focus{text-decoration-line:none}
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 A from "graphql-tag";
2
- import { LOAN_GEOCODE_FRAGMENT as B, loanCardComputedProperties as z, loanCardMethods as W } from "../utils/loanCard.js";
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 R from "./KvBorrowerImage.js";
5
- import T from "./KvMaterialIcon.js";
6
- import E from "./KvLoadingPlaceholder.js";
7
- import { resolveComponent as c, openBlock as t, createElementBlock as i, normalizeClass as v, normalizeStyle as F, createElementVNode as d, createBlock as h, resolveDynamicComponent as _, withCtx as k, createVNode as s, createTextVNode as U, toDisplayString as b, createCommentVNode as V, Fragment as I, renderList as O, withModifiers as G } from "vue";
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
- A`
11
- fragment KvClassicLoanCard on LoanBasic {
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
- const q = {
26
- name: "KvClassicLoanCard",
24
+ `, q = {
25
+ name: "KvLoanInfoCard",
27
26
  components: {
28
- KvBorrowerImage: R,
29
- KvLoadingPlaceholder: E,
27
+ KvBorrowerImage: W,
28
+ KvLoadingPlaceholder: T,
30
29
  KvLoanUse: D,
31
- KvMaterialIcon: T
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: x,
93
- readMorePath: L,
91
+ mdiMapMarker: L,
92
+ readMorePath: x,
94
93
  state: C,
95
94
  tag: M,
96
- unreservedAmount: S,
97
- sharesAvailable: N
98
- } = z(m), {
99
- clickReadMore: P
100
- } = W(m, a);
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: x,
114
- readMorePath: L,
112
+ mdiMapMarker: L,
113
+ readMorePath: x,
115
114
  state: C,
116
115
  tag: M,
117
- unreservedAmount: S,
118
- sharesAvailable: N,
119
- clickReadMore: P
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: v(["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 }]),
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: F([{ "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.08)" }, { minWidth: "230px", maxWidth: n.cardWidth }])
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: v(["tw-mb-1 tw-w-full", { "tw-rounded-t tw-rounded-b-none": o.largeCard, "tw-rounded": !o.largeCard }]),
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(_(e.tag), {
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: v(["tw-relative tw-w-full tw-bg-black", { "tw-rounded-t": o.largeCard, "tw-rounded": !o.largeCard }]),
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
- U(" " + b(e.formattedLocation), 1)
193
+ I(" " + b(e.formattedLocation), 1)
195
194
  ])
196
- ])) : V("", !0)
195
+ ])) : O("", !0)
197
196
  ]),
198
197
  _: 1
199
198
  }, 8, ["to", "href"]))
200
199
  ])),
201
- (t(), h(_(e.tag), {
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(I, null, O([...Array(4)], (r, g) => (t(), i("div", {
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(_(e.tag), {
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 we = /* @__PURE__ */ H(q, [["render", oe], ["__scopeId", "data-v-4dc95254"]]);
255
+ const ue = /* @__PURE__ */ H(q, [["render", oe], ["__scopeId", "data-v-5a01b4de"]]);
257
256
  export {
258
- we as default
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.0",
3
+ "version": "7.3.2",
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": "a0a085c727a4c62f54e883628e453b0140591bf2"
117
+ "gitHead": "05c8cc3e50a3ca66b950c60b389c68c86d45ab59"
118
118
  }