@kiva/kv-components 6.52.4 → 6.52.6

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
@@ -4,7 +4,7 @@ import { default as l } from "./vue/KvBorrowerImage.js";
4
4
  import { default as d } from "./vue/KvButton.js";
5
5
  import { default as p } from "./vue/KvCardFrame.js";
6
6
  import { default as x } from "./vue/KvCarousel.js";
7
- import { default as K } from "./vue/KvCartModal.js";
7
+ import { default as n } from "./vue/KvCartModal.js";
8
8
  import { default as A } from "./vue/KvCartPill.js";
9
9
  import { default as C } from "./vue/KvCheckbox.js";
10
10
  import { default as L } from "./vue/KvCheckoutReceipt.js";
@@ -14,104 +14,105 @@ import { default as S } from "./vue/KvCommentsAdd.js";
14
14
  import { default as P } from "./vue/KvCommentsContainer.js";
15
15
  import { default as G } from "./vue/KvCommentsHeartButton.js";
16
16
  import { default as F } from "./vue/KvCommentsList.js";
17
- import { default as B } from "./vue/KvCommentsListItem.js";
18
- import { default as k } from "./vue/KvCommentsReplyButton.js";
17
+ import { default as D } from "./vue/KvCommentsListItem.js";
18
+ import { default as B } from "./vue/KvCommentsReplyButton.js";
19
19
  import { default as b } from "./vue/KvContentfulImg.js";
20
20
  import { default as w } from "./vue/KvCountdownTimer.js";
21
- import { default as H } from "./vue/KvExpandable.js";
22
- import { default as z } from "./vue/KvExpandableQuestion.js";
23
- import { default as q } from "./vue/KvFlag.js";
24
- import { default as X } from "./vue/KvGrid.js";
25
- import { default as Z } from "./vue/KvImpactDashboardHeader.js";
26
- import { default as ee } from "./vue/KvImpactVerticalSelector.js";
27
- import { default as te } from "./vue/KvInlineActivityCard.js";
28
- import { default as ae } from "./vue/KvInlineActivityFeed.js";
29
- import { KV_INTRODUCTION_LOAN_CARD_FRAGMENT as le, KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT as se, default as de } from "./vue/KvIntroductionLoanCard.js";
30
- import { default as pe } from "./vue/KvLendAmountButton.js";
31
- import { KV_LEND_CTA_FRAGMENT as xe, KV_LEND_CTA_USER_FRAGMENT as ne, default as Ke } from "./vue/KvLendCta.js";
32
- import { default as Ae } from "./vue/KvLightbox.js";
33
- import { default as Ce } from "./vue/KvLineGraph.js";
34
- import { KV_LOAN_ACTIVITIES_FRAGMENT as Le, default as Ne } from "./vue/KvLoanActivities.js";
35
- import { KV_LOAN_BOOKMARK_FRAGMENT as ce, default as Ee } from "./vue/KvLoanBookmark.js";
36
- import { default as Me } from "./vue/KvLoanCallouts.js";
37
- import { default as Se } from "./vue/KvLoanProgressGroup.js";
38
- import { KV_LOAN_TAG_FRAGMENT as Pe, default as ge } from "./vue/KvLoanTag.js";
39
- import { default as he } from "./vue/KvLoanTeamPick.js";
40
- import { KV_LOAN_USE_FRAGMENT as Ve, default as Be } from "./vue/KvLoanUse.js";
41
- import { default as ke } from "./vue/KvLoadingPlaceholder.js";
42
- import { default as be } from "./vue/KvLoadingSpinner.js";
43
- import { default as we } from "./vue/KvMap.js";
44
- import { default as He } from "./vue/KvMaterialIcon.js";
45
- import { default as ze } from "./vue/KvPageContainer.js";
46
- import { default as qe } from "./vue/KvPagination.js";
47
- import { default as Xe } from "./vue/KvPieChart.js";
48
- import { default as Ze } from "./vue/KvPill.js";
49
- import { default as eo } from "./vue/KvPopper.js";
50
- import { default as to } from "./vue/KvProgressBar.js";
51
- import { default as ao } from "./vue/KvPulsingDot.js";
52
- import { default as lo } from "./vue/KvRadio.js";
53
- import { default as mo } from "./vue/KvSelect.js";
54
- import { default as uo } from "./vue/KvSideSheet.js";
55
- import { default as no } from "./vue/KvSwitch.js";
56
- import { default as vo } from "./vue/KvTab.js";
57
- import { default as io } from "./vue/KvTabPanel.js";
58
- import { default as _o } from "./vue/KvTabs.js";
59
- import { default as No } from "./vue/KvTextInput.js";
60
- import { default as co } from "./vue/KvTextLink.js";
61
- import { default as Ro } from "./vue/KvThemeProvider.js";
62
- import { default as Oo } from "./vue/KvToast.js";
63
- import { default as Io } from "./vue/KvTooltip.js";
64
- import { default as go } from "./vue/KvTreeMapChart.js";
65
- import { default as ho } from "./vue/KvUserAvatar.js";
66
- import { default as Vo } from "./vue/KvUtilityMenu.js";
67
- import { default as Do } from "./vue/KvVerticalCarousel.js";
68
- import { default as yo } from "./vue/KvVotingCard.js";
69
- import { default as Uo } from "./vue/KvVotingCardV2.js";
70
- import { KV_WIDE_LOAN_CARD_FRAGMENT as Wo, KV_WIDE_LOAN_CARD_USER_FRAGMENT as Ho, default as jo } from "./vue/KvWideLoanCard.js";
71
- import { default as Qo } from "./vue/KvAtbModal.js";
72
- import { default as Jo } from "./vue/KvSecondaryNav.js";
73
- import { default as Yo } from "./vue/KvWwwHeader.js";
74
- import { default as $o, Mash as et } from "./utils/Alea.js";
75
- import { useAttrs as tt } from "./utils/attrs.js";
76
- import { carouselUtil as at } from "./utils/carousels.js";
77
- import { collapse as lt, expand as st } from "./utils/expander.js";
78
- import { isLegacyPlaceholderAvatar as mt, randomizedUserAvatarClass as pt } from "./utils/imageUtils.js";
79
- import { LOAN_CALLOUTS_FRAGMENT as xt, LOAN_GEOCODE_FRAGMENT as nt, LOAN_PROGRESS_FRAGMENT as Kt, loanCardComputedProperties as vt, loanCardMethods as At } from "./utils/loanCard.js";
80
- import { BALANCE_CAMPAIGN as Ct, BASE_CAMPAIGN as _t, ERL_COOKIE_NAME as Lt, NO_BALANCE_CAMPAIGN as Nt, TOP_UP_CAMPAIGN as Tt, getDropdownPriceArray as ct, getLendCtaSelectedOption as Et, isBetween25And50 as Rt, isLessThan25 as Mt } from "./utils/loanUtils.js";
81
- import { animationCoordinator as St, generateMapMarkers as It, getCoordinatesBetween as Pt, getCountryColor as gt, getLoansIntervals as Gt } from "./utils/mapUtils.js";
82
- import { lockPrintSingleEl as Ft, unlockPrintSingleEl as Vt } from "./utils/printing.js";
83
- import { lockScroll as Dt, lockScrollSmallOnly as kt, unlockScroll as yt, unlockScrollSmallOnly as bt } from "./utils/scrollLock.js";
84
- import { buildTailwindClassName as wt, headerNumberCase as Wt, kebabCase as Ht, removeObjectProperty as jt } from "./utils/themeUtils.js";
85
- import { throttle as Qt } from "./utils/throttle.js";
86
- import { isTargetElement as Jt, offBodyTouchstart as Xt, onBodyTouchstart as Yt } from "./utils/touchEvents.js";
87
- import { getTreemap as $t } from "./utils/treemap.js";
88
- import { KvBlueskyIcon as or } from "./assets/icons/bluesky.js";
21
+ import { default as H } from "./vue/KvDatePicker.js";
22
+ import { default as z } from "./vue/KvExpandable.js";
23
+ import { default as q } from "./vue/KvExpandableQuestion.js";
24
+ import { default as X } from "./vue/KvFlag.js";
25
+ import { default as Z } from "./vue/KvGrid.js";
26
+ import { default as ee } from "./vue/KvImpactDashboardHeader.js";
27
+ import { default as te } from "./vue/KvImpactVerticalSelector.js";
28
+ import { default as ae } from "./vue/KvInlineActivityCard.js";
29
+ import { default as le } from "./vue/KvInlineActivityFeed.js";
30
+ import { KV_INTRODUCTION_LOAN_CARD_FRAGMENT as de, KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT as me, default as pe } from "./vue/KvIntroductionLoanCard.js";
31
+ import { default as xe } from "./vue/KvLendAmountButton.js";
32
+ import { KV_LEND_CTA_FRAGMENT as ne, KV_LEND_CTA_USER_FRAGMENT as ve, default as Ae } from "./vue/KvLendCta.js";
33
+ import { default as Ce } from "./vue/KvLightbox.js";
34
+ import { default as Le } from "./vue/KvLineGraph.js";
35
+ import { KV_LOAN_ACTIVITIES_FRAGMENT as Te, default as ce } from "./vue/KvLoanActivities.js";
36
+ import { KV_LOAN_BOOKMARK_FRAGMENT as Re, default as Me } from "./vue/KvLoanBookmark.js";
37
+ import { default as Se } from "./vue/KvLoanCallouts.js";
38
+ import { default as Pe } from "./vue/KvLoanProgressGroup.js";
39
+ import { KV_LOAN_TAG_FRAGMENT as Ge, default as he } from "./vue/KvLoanTag.js";
40
+ import { default as Ve } from "./vue/KvLoanTeamPick.js";
41
+ import { KV_LOAN_USE_FRAGMENT as ke, default as Be } from "./vue/KvLoanUse.js";
42
+ import { default as be } from "./vue/KvLoadingPlaceholder.js";
43
+ import { default as we } from "./vue/KvLoadingSpinner.js";
44
+ import { default as He } from "./vue/KvMap.js";
45
+ import { default as ze } from "./vue/KvMaterialIcon.js";
46
+ import { default as qe } from "./vue/KvPageContainer.js";
47
+ import { default as Xe } from "./vue/KvPagination.js";
48
+ import { default as Ze } from "./vue/KvPieChart.js";
49
+ import { default as eo } from "./vue/KvPill.js";
50
+ import { default as to } from "./vue/KvPopper.js";
51
+ import { default as ao } from "./vue/KvProgressBar.js";
52
+ import { default as lo } from "./vue/KvPulsingDot.js";
53
+ import { default as mo } from "./vue/KvRadio.js";
54
+ import { default as uo } from "./vue/KvSelect.js";
55
+ import { default as Ko } from "./vue/KvSideSheet.js";
56
+ import { default as vo } from "./vue/KvSwitch.js";
57
+ import { default as io } from "./vue/KvTab.js";
58
+ import { default as _o } from "./vue/KvTabPanel.js";
59
+ import { default as No } from "./vue/KvTabs.js";
60
+ import { default as co } from "./vue/KvTextInput.js";
61
+ import { default as Ro } from "./vue/KvTextLink.js";
62
+ import { default as Oo } from "./vue/KvThemeProvider.js";
63
+ import { default as Io } from "./vue/KvToast.js";
64
+ import { default as go } from "./vue/KvTooltip.js";
65
+ import { default as ho } from "./vue/KvTreeMapChart.js";
66
+ import { default as Vo } from "./vue/KvUserAvatar.js";
67
+ import { default as ko } from "./vue/KvUtilityMenu.js";
68
+ import { default as yo } from "./vue/KvVerticalCarousel.js";
69
+ import { default as Uo } from "./vue/KvVotingCard.js";
70
+ import { default as Wo } from "./vue/KvVotingCardV2.js";
71
+ import { KV_WIDE_LOAN_CARD_FRAGMENT as jo, KV_WIDE_LOAN_CARD_USER_FRAGMENT as zo, default as Qo } from "./vue/KvWideLoanCard.js";
72
+ import { default as Jo } from "./vue/KvAtbModal.js";
73
+ import { default as Yo } from "./vue/KvSecondaryNav.js";
74
+ import { default as $o } from "./vue/KvWwwHeader.js";
75
+ import { default as ot, Mash as tt } from "./utils/Alea.js";
76
+ import { useAttrs as at } from "./utils/attrs.js";
77
+ import { carouselUtil as lt } from "./utils/carousels.js";
78
+ import { collapse as dt, expand as mt } from "./utils/expander.js";
79
+ import { isLegacyPlaceholderAvatar as ut, randomizedUserAvatarClass as xt } from "./utils/imageUtils.js";
80
+ import { LOAN_CALLOUTS_FRAGMENT as nt, LOAN_GEOCODE_FRAGMENT as vt, LOAN_PROGRESS_FRAGMENT as At, loanCardComputedProperties as it, loanCardMethods as Ct } from "./utils/loanCard.js";
81
+ import { BALANCE_CAMPAIGN as Lt, BASE_CAMPAIGN as Nt, ERL_COOKIE_NAME as Tt, NO_BALANCE_CAMPAIGN as ct, TOP_UP_CAMPAIGN as Et, getDropdownPriceArray as Rt, getLendCtaSelectedOption as Mt, isBetween25And50 as Ot, isLessThan25 as St } from "./utils/loanUtils.js";
82
+ import { animationCoordinator as Pt, generateMapMarkers as gt, getCoordinatesBetween as Gt, getCountryColor as ht, getLoansIntervals as Ft } from "./utils/mapUtils.js";
83
+ import { lockPrintSingleEl as Dt, unlockPrintSingleEl as kt } from "./utils/printing.js";
84
+ import { lockScroll as yt, lockScrollSmallOnly as bt, unlockScroll as Ut, unlockScrollSmallOnly as wt } from "./utils/scrollLock.js";
85
+ import { buildTailwindClassName as Ht, headerNumberCase as jt, kebabCase as zt, removeObjectProperty as Qt } from "./utils/themeUtils.js";
86
+ import { throttle as Jt } from "./utils/throttle.js";
87
+ import { isTargetElement as Yt, offBodyTouchstart as Zt, onBodyTouchstart as $t } from "./utils/touchEvents.js";
88
+ import { getTreemap as or } from "./utils/treemap.js";
89
+ import { KvBlueskyIcon as rr } from "./assets/icons/bluesky.js";
89
90
  export {
90
- $o as Alea,
91
- Ct as BALANCE_CAMPAIGN,
92
- _t as BASE_CAMPAIGN,
93
- Lt as ERL_COOKIE_NAME,
91
+ ot as Alea,
92
+ Lt as BALANCE_CAMPAIGN,
93
+ Nt as BASE_CAMPAIGN,
94
+ Tt as ERL_COOKIE_NAME,
94
95
  E as KV_CLASSIC_LOAN_CARD_FRAGMENT,
95
96
  R as KV_CLASSIC_LOAN_CARD_USER_FRAGMET,
96
- le as KV_INTRODUCTION_LOAN_CARD_FRAGMENT,
97
- se as KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT,
98
- xe as KV_LEND_CTA_FRAGMENT,
99
- ne as KV_LEND_CTA_USER_FRAGMENT,
100
- Le as KV_LOAN_ACTIVITIES_FRAGMENT,
101
- ce as KV_LOAN_BOOKMARK_FRAGMENT,
102
- Pe as KV_LOAN_TAG_FRAGMENT,
103
- Ve as KV_LOAN_USE_FRAGMENT,
104
- Wo as KV_WIDE_LOAN_CARD_FRAGMENT,
105
- Ho as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
97
+ de as KV_INTRODUCTION_LOAN_CARD_FRAGMENT,
98
+ me as KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT,
99
+ ne as KV_LEND_CTA_FRAGMENT,
100
+ ve as KV_LEND_CTA_USER_FRAGMENT,
101
+ Te as KV_LOAN_ACTIVITIES_FRAGMENT,
102
+ Re as KV_LOAN_BOOKMARK_FRAGMENT,
103
+ Ge as KV_LOAN_TAG_FRAGMENT,
104
+ ke as KV_LOAN_USE_FRAGMENT,
105
+ jo as KV_WIDE_LOAN_CARD_FRAGMENT,
106
+ zo as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
106
107
  t as KvAccordionItem,
107
108
  a as KvActivityRow,
108
- Qo as KvAtbModal,
109
- or as KvBlueskyIcon,
109
+ Jo as KvAtbModal,
110
+ rr as KvBlueskyIcon,
110
111
  l as KvBorrowerImage,
111
112
  d as KvButton,
112
113
  p as KvCardFrame,
113
114
  x as KvCarousel,
114
- K as KvCartModal,
115
+ n as KvCartModal,
115
116
  A as KvCartPill,
116
117
  C as KvCheckbox,
117
118
  L as KvCheckoutReceipt,
@@ -121,98 +122,99 @@ export {
121
122
  P as KvCommentsContainer,
122
123
  G as KvCommentsHeartButton,
123
124
  F as KvCommentsList,
124
- B as KvCommentsListItem,
125
- k as KvCommentsReplyButton,
125
+ D as KvCommentsListItem,
126
+ B as KvCommentsReplyButton,
126
127
  b as KvContentfulImg,
127
128
  w as KvCountdownTimer,
128
- H as KvExpandable,
129
- z as KvExpandableQuestion,
130
- q as KvFlag,
131
- X as KvGrid,
132
- Z as KvImpactDashboardHeader,
133
- ee as KvImpactVerticalSelector,
134
- te as KvInlineActivityCard,
135
- ae as KvInlineActivityFeed,
136
- de as KvIntroductionLoanCard,
137
- pe as KvLendAmountButton,
138
- Ke as KvLendCta,
139
- Ae as KvLightbox,
140
- Ce as KvLineGraph,
141
- ke as KvLoadingPlaceholder,
142
- be as KvLoadingSpinner,
143
- Ne as KvLoanActivities,
144
- Ee as KvLoanBookmark,
145
- Me as KvLoanCallouts,
146
- Se as KvLoanProgressGroup,
147
- ge as KvLoanTag,
148
- he as KvLoanTeamPick,
129
+ H as KvDatePicker,
130
+ z as KvExpandable,
131
+ q as KvExpandableQuestion,
132
+ X as KvFlag,
133
+ Z as KvGrid,
134
+ ee as KvImpactDashboardHeader,
135
+ te as KvImpactVerticalSelector,
136
+ ae as KvInlineActivityCard,
137
+ le as KvInlineActivityFeed,
138
+ pe as KvIntroductionLoanCard,
139
+ xe as KvLendAmountButton,
140
+ Ae as KvLendCta,
141
+ Ce as KvLightbox,
142
+ Le as KvLineGraph,
143
+ be as KvLoadingPlaceholder,
144
+ we as KvLoadingSpinner,
145
+ ce as KvLoanActivities,
146
+ Me as KvLoanBookmark,
147
+ Se as KvLoanCallouts,
148
+ Pe as KvLoanProgressGroup,
149
+ he as KvLoanTag,
150
+ Ve as KvLoanTeamPick,
149
151
  Be as KvLoanUse,
150
- we as KvMap,
151
- He as KvMaterialIcon,
152
- ze as KvPageContainer,
153
- qe as KvPagination,
154
- Xe as KvPieChart,
155
- Ze as KvPill,
156
- eo as KvPopper,
157
- to as KvProgressBar,
158
- ao as KvPulsingDot,
159
- lo as KvRadio,
160
- Jo as KvSecondaryNav,
161
- mo as KvSelect,
162
- uo as KvSideSheet,
163
- no as KvSwitch,
164
- vo as KvTab,
165
- io as KvTabPanel,
166
- _o as KvTabs,
167
- No as KvTextInput,
168
- co as KvTextLink,
169
- Ro as KvThemeProvider,
170
- Oo as KvToast,
171
- Io as KvTooltip,
172
- go as KvTreeMapChart,
173
- ho as KvUserAvatar,
174
- Vo as KvUtilityMenu,
175
- Do as KvVerticalCarousel,
176
- yo as KvVotingCard,
177
- Uo as KvVotingCardV2,
178
- jo as KvWideLoanCard,
179
- Yo as KvWwwHeader,
180
- xt as LOAN_CALLOUTS_FRAGMENT,
181
- nt as LOAN_GEOCODE_FRAGMENT,
182
- Kt as LOAN_PROGRESS_FRAGMENT,
183
- et as Mash,
184
- Nt as NO_BALANCE_CAMPAIGN,
185
- Tt as TOP_UP_CAMPAIGN,
186
- St as animationCoordinator,
187
- wt as buildTailwindClassName,
188
- at as carouselUtil,
189
- lt as collapse,
190
- st as expand,
191
- It as generateMapMarkers,
192
- Pt as getCoordinatesBetween,
193
- gt as getCountryColor,
194
- ct as getDropdownPriceArray,
195
- Et as getLendCtaSelectedOption,
196
- Gt as getLoansIntervals,
197
- $t as getTreemap,
198
- Wt as headerNumberCase,
199
- Rt as isBetween25And50,
200
- mt as isLegacyPlaceholderAvatar,
201
- Mt as isLessThan25,
202
- Jt as isTargetElement,
203
- Ht as kebabCase,
204
- vt as loanCardComputedProperties,
205
- At as loanCardMethods,
206
- Ft as lockPrintSingleEl,
207
- Dt as lockScroll,
208
- kt as lockScrollSmallOnly,
209
- Xt as offBodyTouchstart,
210
- Yt as onBodyTouchstart,
211
- pt as randomizedUserAvatarClass,
212
- jt as removeObjectProperty,
213
- Qt as throttle,
214
- Vt as unlockPrintSingleEl,
215
- yt as unlockScroll,
216
- bt as unlockScrollSmallOnly,
217
- tt as useAttrs
152
+ He as KvMap,
153
+ ze as KvMaterialIcon,
154
+ qe as KvPageContainer,
155
+ Xe as KvPagination,
156
+ Ze as KvPieChart,
157
+ eo as KvPill,
158
+ to as KvPopper,
159
+ ao as KvProgressBar,
160
+ lo as KvPulsingDot,
161
+ mo as KvRadio,
162
+ Yo as KvSecondaryNav,
163
+ uo as KvSelect,
164
+ Ko as KvSideSheet,
165
+ vo as KvSwitch,
166
+ io as KvTab,
167
+ _o as KvTabPanel,
168
+ No as KvTabs,
169
+ co as KvTextInput,
170
+ Ro as KvTextLink,
171
+ Oo as KvThemeProvider,
172
+ Io as KvToast,
173
+ go as KvTooltip,
174
+ ho as KvTreeMapChart,
175
+ Vo as KvUserAvatar,
176
+ ko as KvUtilityMenu,
177
+ yo as KvVerticalCarousel,
178
+ Uo as KvVotingCard,
179
+ Wo as KvVotingCardV2,
180
+ Qo as KvWideLoanCard,
181
+ $o as KvWwwHeader,
182
+ nt as LOAN_CALLOUTS_FRAGMENT,
183
+ vt as LOAN_GEOCODE_FRAGMENT,
184
+ At as LOAN_PROGRESS_FRAGMENT,
185
+ tt as Mash,
186
+ ct as NO_BALANCE_CAMPAIGN,
187
+ Et as TOP_UP_CAMPAIGN,
188
+ Pt as animationCoordinator,
189
+ Ht as buildTailwindClassName,
190
+ lt as carouselUtil,
191
+ dt as collapse,
192
+ mt as expand,
193
+ gt as generateMapMarkers,
194
+ Gt as getCoordinatesBetween,
195
+ ht as getCountryColor,
196
+ Rt as getDropdownPriceArray,
197
+ Mt as getLendCtaSelectedOption,
198
+ Ft as getLoansIntervals,
199
+ or as getTreemap,
200
+ jt as headerNumberCase,
201
+ Ot as isBetween25And50,
202
+ ut as isLegacyPlaceholderAvatar,
203
+ St as isLessThan25,
204
+ Yt as isTargetElement,
205
+ zt as kebabCase,
206
+ it as loanCardComputedProperties,
207
+ Ct as loanCardMethods,
208
+ Dt as lockPrintSingleEl,
209
+ yt as lockScroll,
210
+ bt as lockScrollSmallOnly,
211
+ Zt as offBodyTouchstart,
212
+ $t as onBodyTouchstart,
213
+ xt as randomizedUserAvatarClass,
214
+ Qt as removeObjectProperty,
215
+ Jt as throttle,
216
+ kt as unlockPrintSingleEl,
217
+ Ut as unlockScroll,
218
+ wt as unlockScrollSmallOnly,
219
+ at as useAttrs
218
220
  };
@@ -0,0 +1 @@
1
+ .kv-datepicker__loading{padding:20px;text-align:center;color:var(--text-secondary)}.kv-datepicker .dp__input{font-family:inherit;font-weight:inherit;height:3rem;background-color:rgb(var(--bg-primary))}.kv-datepicker .dp__input:focus-within,.kv-datepicker .dp__input:focus-visible{border-color:rgb(var(--bg-action));border-width:2px;outline:none}.kv-datepicker .dp__theme_light{--dp-primary-color: rgb(var(--bg-primary-inverse));--dp-secondary-color: rgb(var(--bg-tertiary));--dp-icon-color: rgb(var(--bg-action));--dp-hover-icon-color: rgb(var(--bg-action));--dp-border-radius: .25rem;--dp-border-color-focus: rgb(var(--bg-action-highlight));--dp-font-family: inherit, "Postgrotesk", sans-serif;--dp-primary-text-color: rgb(var(--text-primary-inverse));--dp-border-color: rgb(var(--bg-tertiary));--dp-hover-color: rgb(var(--bg-tertiary));--dp-background-color: rgb(var(--bg-primary));--dp-text-color: rgb(var(--text-primary));--dp-menu-border-color: rgb(var(--bg-primary-inverse));--dp-disabled-color: rgb(var(--bg-primary));--dp-disabled-color-text: rgb(var(--text-secondary));--dp-success-color: rgb(var(--bg-action));--dp-danger-color: rgb(var(--bg-danger));--dp-highlight-color: rgb(var(--bg-action));--dp-cell-border-radius: .25rem;--dp-loader: rgb(var(--bg-action));--dp-range-between-dates-background-color: rgb(var(--bg-action));--dp-range-between-dates-text-color: rgb(var(--bg-primary));--dp-range-between-border-color: rgb(var(--bg-action))}
@@ -0,0 +1,118 @@
1
+ import { computed as h, markRaw as p, resolveComponent as u, openBlock as r, createBlock as a, withCtx as k, createElementVNode as g, normalizeClass as f, createElementBlock as n, resolveDynamicComponent as D, mergeProps as _ } from "vue";
2
+ import { defaultTheme as i, stoneDarkTheme as v, stoneLightTheme as y, marigoldLightTheme as C, greenLightTheme as L, greenDarkTheme as P } from "@kiva/kv-tokens";
3
+ import T from "./KvThemeProvider.js";
4
+ import "./KvDatePicker.css";
5
+ import V from "../_virtual/_plugin-vue_export-helper.js";
6
+ const w = {
7
+ name: "KvDatePicker",
8
+ components: {
9
+ KvThemeProvider: T
10
+ },
11
+ inheritAttrs: !1,
12
+ props: {
13
+ modelValue: {
14
+ type: [Date, String, Number, Array],
15
+ default: null
16
+ },
17
+ theme: {
18
+ type: String,
19
+ default: "default",
20
+ validator(e) {
21
+ return [
22
+ "default",
23
+ "greenLight",
24
+ "greenDark",
25
+ "marigoldLight",
26
+ "stoneLight",
27
+ "stoneDark"
28
+ ].includes(e);
29
+ }
30
+ }
31
+ },
32
+ setup(e) {
33
+ return { themeStyle: h(() => {
34
+ switch (e.theme) {
35
+ case "default":
36
+ return i;
37
+ case "greenDark":
38
+ return P;
39
+ case "greenLight":
40
+ return L;
41
+ case "marigoldLight":
42
+ return C;
43
+ case "stoneLight":
44
+ return y;
45
+ case "stoneDark":
46
+ return v;
47
+ default:
48
+ return i;
49
+ }
50
+ }) };
51
+ },
52
+ data() {
53
+ return {
54
+ datepickerComponent: null,
55
+ datepickerPromise: null,
56
+ selectedDate: null,
57
+ componentKey: 0
58
+ };
59
+ },
60
+ watch: {
61
+ modelValue: {
62
+ handler(e) {
63
+ this.selectedDate = e;
64
+ },
65
+ immediate: !0
66
+ }
67
+ },
68
+ mounted() {
69
+ this.loadDatepicker();
70
+ },
71
+ methods: {
72
+ async loadDatepicker() {
73
+ if (!this.datepickerComponent)
74
+ return this.datepickerPromise ? this.datepickerPromise : (this.datepickerPromise = Promise.all([
75
+ import("@vuepic/vue-datepicker"),
76
+ import("@vuepic/vue-datepicker/dist/main.css")
77
+ ]).then(async ([e]) => {
78
+ this.datepickerComponent = p(e.default), await this.$nextTick();
79
+ }), this.datepickerPromise);
80
+ },
81
+ handleDateChange(e) {
82
+ this.selectedDate = e, this.$emit("update:model-value", e), this.$emit("change", e);
83
+ }
84
+ }
85
+ }, K = {
86
+ key: 0,
87
+ class: "kv-datepicker__content"
88
+ }, S = {
89
+ key: 1,
90
+ class: "kv-datepicker__loading"
91
+ };
92
+ function x(e, o, l, m, t, s) {
93
+ const d = u("kv-theme-provider");
94
+ return r(), a(d, { theme: m.themeStyle }, {
95
+ default: k(() => [
96
+ g("div", {
97
+ class: f(["kv-datepicker", l.theme])
98
+ }, [
99
+ t.datepickerComponent ? (r(), n("div", K, [
100
+ (r(), a(D(t.datepickerComponent), _({
101
+ key: t.componentKey,
102
+ modelValue: t.selectedDate,
103
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => t.selectedDate = c),
104
+ placeholder: e.placeholder
105
+ }, e.$attrs, {
106
+ "auto-apply": !0,
107
+ "onUpdate:modelValue": s.handleDateChange
108
+ }), null, 16, ["modelValue", "placeholder", "onUpdate:modelValue"]))
109
+ ])) : (r(), n("div", S, " Loading... "))
110
+ ], 2)
111
+ ]),
112
+ _: 1
113
+ }, 8, ["theme"]);
114
+ }
115
+ const b = /* @__PURE__ */ V(w, [["render", x]]);
116
+ export {
117
+ b as default
118
+ };
@@ -1 +1 @@
1
- .header-link[data-v-479de318]{cursor:pointer;padding-top:1rem;padding-bottom:1rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.header-link[data-v-479de318]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}
1
+ .header-link[data-v-c12cfb72]{cursor:pointer;padding-top:1rem;padding-bottom:1rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.header-link[data-v-c12cfb72]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}
@@ -1,19 +1,19 @@
1
- import { defineAsyncComponent as M, ref as i, computed as j, onMounted as F, onUnmounted as q, resolveComponent as k, resolveDirective as G, openBlock as a, createElementBlock as c, withDirectives as v, normalizeClass as b, createVNode as _, createBlock as g, withCtx as x, createTextVNode as w, createElementVNode as D, createCommentVNode as h, vShow as J, toDisplayString as Q } from "vue";
2
- import { mdiAccountCircle as X, mdiChevronDown as Y, mdiMagnify as Z, mdiMenu as $ } from "@mdi/js";
3
- import ee from "numeral";
4
- import ne from "../KvMaterialIcon.js";
5
- import te from "../KvIconBag.js";
6
- import oe from "./KvHeaderDropdownLink.js";
7
- import le from "../KvUserAvatar.js";
1
+ import { defineAsyncComponent as M, ref as r, computed as F, onMounted as q, onUnmounted as G, resolveComponent as g, resolveDirective as J, openBlock as i, createElementBlock as c, withDirectives as m, normalizeClass as b, createVNode as D, createBlock as h, withCtx as L, createTextVNode as w, createElementVNode as C, createCommentVNode as p, vShow as Q, toDisplayString as X } from "vue";
2
+ import { mdiAccountCircle as Y, mdiChevronDown as Z, mdiMagnify as $, mdiMenu as ee } from "@mdi/js";
3
+ import ne from "numeral";
4
+ import te from "../KvMaterialIcon.js";
5
+ import oe from "../KvIconBag.js";
6
+ import le from "./KvHeaderDropdownLink.js";
7
+ import re from "../KvUserAvatar.js";
8
8
  import { throttle as ie } from "../../utils/throttle.js";
9
9
  import "./KvHeaderLinkBar.css";
10
- import re from "../../_virtual/_plugin-vue_export-helper.js";
11
- const ae = M(() => import("./KvHeaderMobileMenu.js")), C = M(() => import("./KvHeaderMyKivaMenu.js")), ue = M(() => import("./LendMenu/KvLendMenu.js")), de = M(() => import("./KvHeaderTakeActionMenu.js")), me = M(() => import("./KvHeaderAboutMenu.js")), E = 146, p = "avatar-menu", L = "menuButton", S = { top: "-3.75rem", width: "100%" }, se = {
10
+ import ae from "../../_virtual/_plugin-vue_export-helper.js";
11
+ const ue = M(() => import("./KvHeaderMobileMenu.js")), E = M(() => import("./KvHeaderMyKivaMenu.js")), de = M(() => import("./LendMenu/KvLendMenu.js")), me = M(() => import("./KvHeaderTakeActionMenu.js")), se = M(() => import("./KvHeaderAboutMenu.js")), S = 146, y = "avatar-menu", B = "menuButton", V = { top: "-3.75rem", width: "100%" }, ve = {
12
12
  components: {
13
- KvMaterialIcon: ne,
14
- KvIconBag: te,
15
- KvHeaderDropdownLink: oe,
16
- KvUserAvatar: le
13
+ KvMaterialIcon: te,
14
+ KvIconBag: oe,
15
+ KvHeaderDropdownLink: le,
16
+ KvUserAvatar: re
17
17
  },
18
18
  props: {
19
19
  loggedIn: {
@@ -56,81 +56,79 @@ const ae = M(() => import("./KvHeaderMobileMenu.js")), C = M(() => import("./KvH
56
56
  emits: [
57
57
  "item-hover"
58
58
  ],
59
- setup(d, { emit: e }) {
60
- const t = i(null), n = i(null), B = i(null), K = i(null), y = i(null), f = i(null), A = i(null), T = i(null), u = i(null), o = i(null), I = i(!1), m = (l, s, r = null) => {
61
- e("item-hover", l, s, r);
62
- }, V = (l, s, r = null) => {
63
- navigator.maxTouchPoints || (o.value = l, m(
59
+ setup(s, { emit: e }) {
60
+ const t = r(null), n = r(null), K = r(null), O = r(null), A = r(null), f = r(null), T = r(null), I = r(null), a = r(null), o = r(null), H = r(!1), k = r(), u = (l, d, v = null) => {
61
+ e("item-hover", l, d, v);
62
+ }, P = (l, d, v = null) => {
63
+ navigator.maxTouchPoints || (o.value = l, u(
64
64
  l,
65
- s,
66
- l === L && d.isMobile ? S : r
65
+ d,
66
+ l === B && s.isMobile ? V : v
67
67
  ));
68
- }, P = (l) => {
69
- !I.value && o.value === l && (o.value = null, m());
70
- }, R = () => {
71
- var U, N;
72
- const l = (N = (U = t.value) == null ? void 0 : U.userAvatar) == null ? void 0 : N.getBoundingClientRect();
68
+ }, R = (l) => {
69
+ !H.value && o.value === l && (o.value = null, u());
70
+ }, z = () => {
71
+ var N, _;
72
+ const l = (_ = (N = t.value) == null ? void 0 : N.userAvatar) == null ? void 0 : _.getBoundingClientRect();
73
73
  if (!l) return null;
74
- const r = l.left + l.width / 2 - E / 2;
74
+ const v = l.left + l.width / 2 - S / 2;
75
75
  return {
76
- ...r + E > window.innerWidth ? { right: 0 } : { left: d.isMobile ? 0 : `${r}px` },
76
+ ...v + S > window.innerWidth ? { right: 0 } : { left: s.isMobile ? 0 : `${v}px` },
77
77
  marginTop: "-2px",
78
78
  // Avoid closing avatar menu on header edge
79
- borderRadius: d.isMobile ? "auto" : "0px 0px 8px 8px",
80
- width: d.isMobile ? "100%" : "auto"
79
+ borderRadius: s.isMobile ? "auto" : "0px 0px 8px 8px"
81
80
  };
82
- }, H = () => {
83
- o.value = p, m(t.value, C, R());
84
- }, z = (l, s) => {
85
- let r = null;
86
- I.value = !0, r && clearTimeout(r), o.value === L && (o.value = null), !o.value || o.value !== l ? (o.value = l, l === p ? H() : l === L && d.isMobile ? m(l, s, S) : m(l, s)) : (o.value = null, m()), r = setTimeout(() => {
87
- I.value = !1;
88
- }, 100);
89
- }, O = ie(() => {
90
- o.value === p && H();
91
- }, 100), W = j(() => d.isMobile ? void 0 : "/lend-by-category");
92
- return F(() => {
93
- import("./KvHeaderMobileMenu.js"), import("./KvHeaderMyKivaMenu.js"), import("./LendMenu/KvLendMenu.js"), import("./KvHeaderTakeActionMenu.js"), import("./KvHeaderAboutMenu.js"), window.addEventListener("resize", O);
94
- }), q(() => {
95
- window.removeEventListener("resize", O);
81
+ }, x = () => {
82
+ o.value = y, u(t.value, E, z());
83
+ }, W = (l, d) => {
84
+ k.value = null, H.value = !0, k.value && clearTimeout(k.value), o.value === B && (o.value = null), !o.value || o.value !== l ? (o.value = l, l === y ? x() : l === B && s.isMobile ? u(l, d, V) : u(l, d)) : (o.value = null, u()), k.value = setTimeout(() => {
85
+ H.value = !1;
86
+ }, 500);
87
+ }, U = ie(() => {
88
+ o.value === y && x();
89
+ }, 100), j = F(() => s.isMobile ? void 0 : "/lend-by-category");
90
+ return q(() => {
91
+ import("./KvHeaderMobileMenu.js"), import("./KvHeaderMyKivaMenu.js"), import("./LendMenu/KvLendMenu.js"), import("./KvHeaderTakeActionMenu.js"), import("./KvHeaderAboutMenu.js"), window.addEventListener("resize", U);
92
+ }), G(() => {
93
+ window.removeEventListener("resize", U);
96
94
  }), {
97
- AVATAR_MENU_ID: p,
95
+ AVATAR_MENU_ID: y,
98
96
  openMenuId: o,
99
- numeral: ee,
100
- mdiAccountCircle: X,
101
- mdiChevronDown: Y,
102
- mdiMagnify: Z,
103
- mdiMenu: $,
104
- onHover: m,
97
+ numeral: ne,
98
+ mdiAccountCircle: Y,
99
+ mdiChevronDown: Z,
100
+ mdiMagnify: $,
101
+ mdiMenu: ee,
102
+ onHover: u,
105
103
  avatar: t,
106
104
  lendButton: n,
107
- aboutUsLink: B,
108
- partnerWithUsLink: K,
109
- borrowLink: y,
105
+ aboutUsLink: K,
106
+ partnerWithUsLink: O,
107
+ borrowLink: A,
110
108
  supportKivaLink: f,
111
- basketLink: A,
112
- signInLink: T,
113
- menuButton: u,
114
- lendUrl: W,
115
- handleOnHover: V,
116
- handleTouchStart: z,
117
- handleMouseOut: P,
118
- handleAvatarMenuPosition: H,
119
- KvHeaderMobileMenu: ae,
120
- KvHeaderMyKivaMenu: C,
121
- KvLendMenu: ue,
122
- KvHeaderTakeActionMenu: de,
123
- KvHeaderAboutMenu: me
109
+ basketLink: T,
110
+ signInLink: I,
111
+ menuButton: a,
112
+ lendUrl: j,
113
+ handleOnHover: P,
114
+ handleTouchStart: W,
115
+ handleMouseOut: R,
116
+ handleAvatarMenuPosition: x,
117
+ KvHeaderMobileMenu: ue,
118
+ KvHeaderMyKivaMenu: E,
119
+ KvLendMenu: de,
120
+ KvHeaderTakeActionMenu: me,
121
+ KvHeaderAboutMenu: se
124
122
  };
125
123
  }
126
- }, ve = { class: "tw-h-full tw-flex tw-items-center tw-gap-0.5 md:tw-gap-1.5 lg:tw-gap-2.5" }, ce = ["href"], fe = {
124
+ }, ce = { class: "tw-h-full tw-flex tw-items-center tw-gap-0.5 md:tw-gap-1.5 lg:tw-gap-2.5" }, fe = ["href"], we = {
127
125
  key: 0,
128
126
  class: "tw-bg-eco-green-1 tw-py-0.5 tw-px-1 tw-text-eco-green-4"
129
- }, we = ["href"];
130
- function Me(d, e, t, n, B, K) {
131
- const y = k("kv-material-icon"), f = k("KvHeaderDropdownLink"), A = k("kv-icon-bag"), T = k("KvUserAvatar"), u = G("kv-track-event");
132
- return a(), c("div", ve, [
133
- v((a(), c("button", {
127
+ }, Me = ["href"];
128
+ function ke(s, e, t, n, K, O) {
129
+ const A = g("kv-material-icon"), f = g("KvHeaderDropdownLink"), T = g("kv-icon-bag"), I = g("KvUserAvatar"), a = J("kv-track-event");
130
+ return i(), c("div", ce, [
131
+ m((i(), c("button", {
134
132
  ref: "menuButton",
135
133
  class: b(["header-link tw-inline-flex md:tw-hidden", {
136
134
  "tw-text-tertiary": t.openMenuItem && t.openMenuItem !== n.KvHeaderMobileMenu
@@ -139,11 +137,11 @@ function Me(d, e, t, n, B, K) {
139
137
  onMouseout: e[1] || (e[1] = (o) => n.handleMouseOut("menuButton")),
140
138
  onTouchstart: e[2] || (e[2] = (o) => n.handleTouchStart("menuButton", n.KvHeaderMobileMenu))
141
139
  }, [
142
- _(y, { icon: n.mdiMenu }, null, 8, ["icon"])
140
+ D(A, { icon: n.mdiMenu }, null, 8, ["icon"])
143
141
  ], 34)), [
144
- [u, t.openMenuItem === n.KvHeaderMobileMenu ? ["TopNav", "click-Hamburger-menu"] : null]
142
+ [a, t.openMenuItem === n.KvHeaderMobileMenu ? ["TopNav", "click-Hamburger-menu"] : null]
145
143
  ]),
146
- v((a(), g(f, {
144
+ m((i(), h(f, {
147
145
  class: "tw-py-1",
148
146
  "ref-name": "lendButton",
149
147
  href: n.lendUrl,
@@ -155,14 +153,14 @@ function Me(d, e, t, n, B, K) {
155
153
  onMouseout: e[3] || (e[3] = (o) => n.handleMouseOut("lendButton")),
156
154
  onTouchstart: e[4] || (e[4] = (o) => n.handleTouchStart("lendButton", n.KvLendMenu))
157
155
  }, {
158
- default: x(() => e[10] || (e[10] = [
156
+ default: L(() => e[10] || (e[10] = [
159
157
  w(" Lend ")
160
158
  ])),
161
159
  _: 1
162
160
  }, 8, ["href", "menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
163
- [u, ["TopNav", "click-Lend"]]
161
+ [a, ["TopNav", "click-Lend"]]
164
162
  ]),
165
- v((a(), g(f, {
163
+ m((i(), h(f, {
166
164
  "ref-name": "takeActionButton",
167
165
  "base-class": "tw-hidden md:tw-inline-flex tw-py-1",
168
166
  "menu-component": n.KvHeaderTakeActionMenu,
@@ -172,14 +170,14 @@ function Me(d, e, t, n, B, K) {
172
170
  onOnHover: n.handleOnHover,
173
171
  onMouseout: e[5] || (e[5] = (o) => n.handleMouseOut("takeActionButton"))
174
172
  }, {
175
- default: x(() => e[11] || (e[11] = [
173
+ default: L(() => e[11] || (e[11] = [
176
174
  w(" Take action ")
177
175
  ])),
178
176
  _: 1
179
177
  }, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
180
- [u, ["TopNav", "click-TakeAction"]]
178
+ [a, ["TopNav", "click-TakeAction"]]
181
179
  ]),
182
- v((a(), g(f, {
180
+ m((i(), h(f, {
183
181
  "ref-name": "aboutUsLink",
184
182
  "data-testid": "header-about",
185
183
  "base-class": "tw-hidden md:tw-inline-flex tw-py-1",
@@ -190,66 +188,67 @@ function Me(d, e, t, n, B, K) {
190
188
  onOnHover: n.handleOnHover,
191
189
  onMouseout: e[6] || (e[6] = (o) => n.handleMouseOut("aboutUsLink"))
192
190
  }, {
193
- default: x(() => e[12] || (e[12] = [
191
+ default: L(() => e[12] || (e[12] = [
194
192
  w(" About ")
195
193
  ])),
196
194
  _: 1
197
195
  }, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
198
- [u, ["TopNav", "click-About"]]
196
+ [a, ["TopNav", "click-About"]]
199
197
  ]),
200
- e[15] || (e[15] = D("div", { class: "tw-flex-1 tw-h-full" }, null, -1)),
201
- t.loggedIn ? v((a(), c("a", {
198
+ e[15] || (e[15] = C("div", { class: "tw-flex-1 tw-h-full" }, null, -1)),
199
+ t.loggedIn ? m((i(), c("a", {
202
200
  key: 0,
203
201
  ref: "dashboardLink",
204
202
  href: t.myDashboardUrl,
205
203
  class: b(["header-link tw-hidden md:tw-block", { "tw-text-tertiary": !!t.openMenuItem }])
206
204
  }, e[13] || (e[13] = [
207
205
  w(" My dashboard ")
208
- ]), 10, ce)), [
209
- [u, ["TopNav", "click-Dashboard"]]
210
- ]) : h("", !0),
211
- v((a(), c("a", {
206
+ ]), 10, fe)), [
207
+ [a, ["TopNav", "click-Dashboard"]]
208
+ ]) : p("", !0),
209
+ m((i(), c("a", {
212
210
  ref: "basketLink",
213
211
  href: "/basket",
214
212
  class: b(["header-link tw-relative", { "tw-text-tertiary": !!t.openMenuItem }]),
213
+ style: { "margin-right": "2px" },
215
214
  "data-testid": "header-basket"
216
215
  }, [
217
- _(A, {
216
+ D(T, {
218
217
  class: "tw-w-3 tw-h-3 tw-pointer-events-none",
219
218
  count: t.basketCount
220
219
  }, null, 8, ["count"])
221
220
  ], 2)), [
222
- [J, t.basketCount > 0],
223
- [u, ["TopNav", "click-Basket"]]
221
+ [Q, t.basketCount > 0],
222
+ [a, ["TopNav", "click-Basket"]]
224
223
  ]),
225
- D("div", {
224
+ C("div", {
226
225
  class: "tw-cursor-pointer tw-flex tw-items-center tw-gap-1 tw-py-1.5",
227
226
  onMouseover: e[7] || (e[7] = (...o) => n.handleAvatarMenuPosition && n.handleAvatarMenuPosition(...o)),
228
227
  onMouseout: e[8] || (e[8] = (o) => n.handleMouseOut(n.AVATAR_MENU_ID)),
229
228
  onTouchstart: e[9] || (e[9] = (o) => n.handleTouchStart(n.AVATAR_MENU_ID))
230
229
  }, [
231
- t.loggedIn ? (a(), c("span", fe, Q(n.numeral(t.balance).format("$0")), 1)) : h("", !0),
232
- t.loggedIn ? (a(), g(T, {
230
+ t.loggedIn ? (i(), c("span", we, X(n.numeral(t.balance).format("$0")), 1)) : p("", !0),
231
+ t.loggedIn ? (i(), h(I, {
233
232
  key: 1,
234
233
  ref: "avatar",
235
234
  "lender-name": t.lenderName,
236
235
  "lender-image-url": t.lenderImageUrl,
237
236
  "is-small": ""
238
- }, null, 8, ["lender-name", "lender-image-url"])) : h("", !0)
237
+ }, null, 8, ["lender-name", "lender-image-url"])) : p("", !0)
239
238
  ], 32),
240
- t.loggedIn ? h("", !0) : v((a(), c("a", {
239
+ t.loggedIn ? p("", !0) : m((i(), c("a", {
241
240
  key: 1,
242
241
  ref: "signInLink",
243
242
  href: t.loginUrl,
244
243
  class: b(["header-link", { "tw-text-tertiary": !!t.openMenuItem }])
245
244
  }, e[14] || (e[14] = [
246
245
  w(" Sign in ")
247
- ]), 10, we)), [
248
- [u, ["TopNav", "click-Sign-in"]]
246
+ ]), 10, Me)), [
247
+ [a, ["TopNav", "click-Sign-in"]]
249
248
  ])
250
249
  ]);
251
250
  }
252
- const Le = /* @__PURE__ */ re(se, [["render", Me], ["__scopeId", "data-v-479de318"]]);
251
+ const Be = /* @__PURE__ */ ae(ve, [["render", ke], ["__scopeId", "data-v-c12cfb72"]]);
253
252
  export {
254
- Le as default
253
+ Be as default
255
254
  };
@@ -1 +1 @@
1
- .mobile-link[data-v-4faf4cb4]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-4faf4cb4]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
1
+ .mobile-link[data-v-c5a33b4b]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-c5a33b4b]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -1,7 +1,7 @@
1
- import { mdiClose as w } from "@mdi/js";
1
+ import { mdiClose as f } from "@mdi/js";
2
2
  import b from "../KvAccordionItem.js";
3
3
  import h from "../KvMaterialIcon.js";
4
- import { resolveComponent as u, resolveDirective as g, openBlock as t, createElementBlock as o, createBlock as _, createCommentVNode as y, createVNode as p, withCtx as a, createElementVNode as r, Fragment as N, renderList as x, withDirectives as n, toDisplayString as m, createTextVNode as s } from "vue";
4
+ import { resolveComponent as p, resolveDirective as g, openBlock as t, createElementBlock as o, createBlock as _, createCommentVNode as y, createVNode as u, withCtx as a, createElementVNode as r, Fragment as N, renderList as x, withDirectives as n, toDisplayString as m, createTextVNode as s } from "vue";
5
5
  import "./KvHeaderMobileMenu.css";
6
6
  import I from "../../_virtual/_plugin-vue_export-helper.js";
7
7
  const K = {
@@ -26,7 +26,7 @@ const K = {
26
26
  emits: ["closing-menu"],
27
27
  data() {
28
28
  return {
29
- mdiClose: w,
29
+ mdiClose: f,
30
30
  menuItems: [
31
31
  {
32
32
  title: "Choose someone to help",
@@ -55,7 +55,7 @@ const K = {
55
55
  ]
56
56
  };
57
57
  }
58
- }, T = { class: "tw--mt-0.5 tw-pb-0.5 tw-gap-2 tw-flex tw-flex-col tw-items-end md:tw-hidden tw-font-medium tw-p-2.5" }, C = { class: "tw-flex tw-flex-col tw-gap-2" }, M = ["href"], E = { class: "tw-text-secondary tw-font-book" }, B = { class: "tw-flex tw-flex-col tw-gap-2 tw-pt-1 tw-pb-2" }, D = {
58
+ }, T = { class: "tw--mt-0.5 tw-pb-0.5 tw-gap-2 tw-flex tw-flex-col tw-items-end md:tw-hidden tw-font-medium tw-p-2.5" }, C = { class: "tw-flex tw-flex-col tw-gap-2 tw-pl-1" }, M = ["href"], E = { class: "tw-text-secondary tw-font-book" }, B = { class: "tw-flex tw-flex-col tw-gap-2 tw-pb-2 tw-pl-1" }, D = {
59
59
  href: "/about",
60
60
  class: "mobile-link"
61
61
  }, A = {
@@ -81,21 +81,21 @@ const K = {
81
81
  class: "mobile-link"
82
82
  };
83
83
  function S(k, e, v, q, c, z) {
84
- const f = u("KvMaterialIcon"), d = u("KvAccordionItem"), i = g("kv-track-event");
84
+ const w = p("KvMaterialIcon"), d = p("KvAccordionItem"), i = g("kv-track-event");
85
85
  return t(), o("nav", T, [
86
- v.isMobile ? (t(), _(f, {
86
+ v.isMobile ? (t(), _(w, {
87
87
  key: 0,
88
88
  icon: c.mdiClose,
89
89
  class: "tw-cursor-pointer",
90
90
  onClick: e[0] || (e[0] = (l) => k.$emit("closing-menu"))
91
91
  }, null, 8, ["icon"])) : y("", !0),
92
- p(d, {
92
+ u(d, {
93
93
  id: "accordion-take-action-menu",
94
94
  open: "",
95
95
  class: "tw-w-full tw-border-b-0"
96
96
  }, {
97
97
  header: a(() => e[1] || (e[1] = [
98
- r("h3", null, "Take action", -1)
98
+ r("h3", { class: "tw-pb-0.5" }, " Take action ", -1)
99
99
  ])),
100
100
  default: a(() => [
101
101
  r("div", C, [
@@ -114,12 +114,12 @@ function S(k, e, v, q, c, z) {
114
114
  ]),
115
115
  _: 1
116
116
  }),
117
- p(d, {
117
+ u(d, {
118
118
  id: "accordion-about-menu",
119
- class: "tw-w-full"
119
+ class: "tw-w-full tw-pb-1"
120
120
  }, {
121
121
  header: a(() => e[2] || (e[2] = [
122
- r("h3", null, "About", -1)
122
+ r("h3", { class: "tw-pb-0.5" }, " About ", -1)
123
123
  ])),
124
124
  default: a(() => [
125
125
  r("div", B, [
@@ -169,7 +169,7 @@ function S(k, e, v, q, c, z) {
169
169
  })
170
170
  ]);
171
171
  }
172
- const Q = /* @__PURE__ */ I(K, [["render", S], ["__scopeId", "data-v-4faf4cb4"]]);
172
+ const Q = /* @__PURE__ */ I(K, [["render", S], ["__scopeId", "data-v-c5a33b4b"]]);
173
173
  export {
174
174
  Q as default
175
175
  };
@@ -1,9 +1,9 @@
1
- import f from "./KvHeaderMenuLink.js";
2
- import { resolveComponent as m, openBlock as a, createElementBlock as u, createVNode as s, withCtx as r, createTextVNode as o, createBlock as l, createCommentVNode as d } from "vue";
3
- import i from "../../_virtual/_plugin-vue_export-helper.js";
4
- const w = {
1
+ import d from "./KvHeaderMenuLink.js";
2
+ import { resolveComponent as u, openBlock as a, createElementBlock as i, createVNode as s, withCtx as o, createTextVNode as r, createBlock as l, createCommentVNode as f } from "vue";
3
+ import m from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = {
5
5
  components: {
6
- KvHeaderMenuLink: f
6
+ KvHeaderMenuLink: d
7
7
  },
8
8
  props: {
9
9
  balance: {
@@ -23,40 +23,40 @@ const w = {
23
23
  default: "/mykiva"
24
24
  }
25
25
  }
26
- }, p = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start md:tw-items-start tw-font-medium tw-px-2.5" };
26
+ }, w = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
27
27
  function y(b, e, n, k, v, x) {
28
- const t = m("kv-header-menu-link");
29
- return a(), u("nav", p, [
28
+ const t = u("kv-header-menu-link");
29
+ return a(), i("nav", w, [
30
30
  s(t, {
31
31
  href: n.myDashboardUrl,
32
32
  class: "md:tw-hidden"
33
33
  }, {
34
- default: r(() => e[0] || (e[0] = [
35
- o(" My Dashboard ")
34
+ default: o(() => e[0] || (e[0] = [
35
+ r(" My Dashboard ")
36
36
  ])),
37
37
  _: 1
38
38
  }, 8, ["href"]),
39
39
  s(t, { href: "/portfolio" }, {
40
- default: r(() => e[1] || (e[1] = [
41
- o(" Portfolio ")
40
+ default: o(() => e[1] || (e[1] = [
41
+ r(" Portfolio ")
42
42
  ])),
43
43
  _: 1
44
44
  }),
45
45
  s(t, { href: "/teams/my-teams" }, {
46
- default: r(() => e[2] || (e[2] = [
47
- o(" My Teams ")
46
+ default: o(() => e[2] || (e[2] = [
47
+ r(" My Teams ")
48
48
  ])),
49
49
  _: 1
50
50
  }),
51
51
  s(t, { href: "/portfolio/donations" }, {
52
- default: r(() => e[3] || (e[3] = [
53
- o(" Donations ")
52
+ default: o(() => e[3] || (e[3] = [
53
+ r(" Donations ")
54
54
  ])),
55
55
  _: 1
56
56
  }),
57
57
  s(t, { href: "/settings" }, {
58
- default: r(() => e[4] || (e[4] = [
59
- o(" Settings ")
58
+ default: o(() => e[4] || (e[4] = [
59
+ r(" Settings ")
60
60
  ])),
61
61
  _: 1
62
62
  }),
@@ -64,32 +64,32 @@ function y(b, e, n, k, v, x) {
64
64
  key: 0,
65
65
  href: "/my/borrower"
66
66
  }, {
67
- default: r(() => e[5] || (e[5] = [
68
- o(" Borrower Dashboard ")
67
+ default: o(() => e[5] || (e[5] = [
68
+ r(" Borrower Dashboard ")
69
69
  ])),
70
70
  _: 1
71
- })) : d("", !0),
71
+ })) : f("", !0),
72
72
  n.isTrustee ? (a(), l(t, {
73
73
  key: 1,
74
74
  href: "/my/trustee"
75
75
  }, {
76
- default: r(() => e[6] || (e[6] = [
77
- o(" Trustee Dashboard ")
76
+ default: o(() => e[6] || (e[6] = [
77
+ r(" Trustee Dashboard ")
78
78
  ])),
79
79
  _: 1
80
- })) : d("", !0),
80
+ })) : f("", !0),
81
81
  s(t, {
82
82
  href: "/ui-logout",
83
83
  class: "tw-border-t tw-border-secondary tw-w-full"
84
84
  }, {
85
- default: r(() => e[7] || (e[7] = [
86
- o(" Sign out ")
85
+ default: o(() => e[7] || (e[7] = [
86
+ r(" Sign out ")
87
87
  ])),
88
88
  _: 1
89
89
  })
90
90
  ]);
91
91
  }
92
- const g = /* @__PURE__ */ i(w, [["render", y]]);
92
+ const g = /* @__PURE__ */ m(p, [["render", y]]);
93
93
  export {
94
94
  g as default
95
95
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.52.4",
3
+ "version": "6.52.6",
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": "e3f89452a835ee45998223392754f5954358600a"
117
+ "gitHead": "51c20beeb958b68afd1f7012dc701f0671c16a90"
118
118
  }