@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 +181 -179
- package/dist/vue/KvDatePicker.css +1 -0
- package/dist/vue/KvDatePicker.js +118 -0
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.css +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +100 -101
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.css +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +12 -12
- package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +27 -27
- package/package.json +2 -2
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
|
|
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
|
|
18
|
-
import { default as
|
|
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/
|
|
22
|
-
import { default as z } from "./vue/
|
|
23
|
-
import { default as q } from "./vue/
|
|
24
|
-
import { default as X } from "./vue/
|
|
25
|
-
import { default as Z } from "./vue/
|
|
26
|
-
import { default as ee } from "./vue/
|
|
27
|
-
import { default as te } from "./vue/
|
|
28
|
-
import { default as ae } from "./vue/
|
|
29
|
-
import {
|
|
30
|
-
import { default as pe } from "./vue/
|
|
31
|
-
import {
|
|
32
|
-
import { default as Ae } from "./vue/
|
|
33
|
-
import { default as Ce } from "./vue/
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { default as Me } from "./vue/
|
|
37
|
-
import { default as Se } from "./vue/
|
|
38
|
-
import {
|
|
39
|
-
import { default as he } from "./vue/
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { default as be } from "./vue/
|
|
43
|
-
import { default as we } from "./vue/
|
|
44
|
-
import { default as He } from "./vue/
|
|
45
|
-
import { default as ze } from "./vue/
|
|
46
|
-
import { default as qe } from "./vue/
|
|
47
|
-
import { default as Xe } from "./vue/
|
|
48
|
-
import { default as Ze } from "./vue/
|
|
49
|
-
import { default as eo } from "./vue/
|
|
50
|
-
import { default as to } from "./vue/
|
|
51
|
-
import { default as ao } from "./vue/
|
|
52
|
-
import { default as lo } from "./vue/
|
|
53
|
-
import { default as mo } from "./vue/
|
|
54
|
-
import { default as uo } from "./vue/
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as vo } from "./vue/
|
|
57
|
-
import { default as io } from "./vue/
|
|
58
|
-
import { default as _o } from "./vue/
|
|
59
|
-
import { default as No } from "./vue/
|
|
60
|
-
import { default as co } from "./vue/
|
|
61
|
-
import { default as Ro } from "./vue/
|
|
62
|
-
import { default as Oo } from "./vue/
|
|
63
|
-
import { default as Io } from "./vue/
|
|
64
|
-
import { default as go } from "./vue/
|
|
65
|
-
import { default as ho } from "./vue/
|
|
66
|
-
import { default as Vo } from "./vue/
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as yo } from "./vue/
|
|
69
|
-
import { default as Uo } from "./vue/
|
|
70
|
-
import {
|
|
71
|
-
import { default as Qo } from "./vue/
|
|
72
|
-
import { default as Jo } from "./vue/
|
|
73
|
-
import { default as Yo } from "./vue/
|
|
74
|
-
import { default as $o
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
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
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
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
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
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
|
-
|
|
109
|
-
|
|
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
|
-
|
|
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
|
-
|
|
125
|
-
|
|
125
|
+
D as KvCommentsListItem,
|
|
126
|
+
B as KvCommentsReplyButton,
|
|
126
127
|
b as KvContentfulImg,
|
|
127
128
|
w as KvCountdownTimer,
|
|
128
|
-
H as
|
|
129
|
-
z as
|
|
130
|
-
q as
|
|
131
|
-
X as
|
|
132
|
-
Z as
|
|
133
|
-
ee as
|
|
134
|
-
te as
|
|
135
|
-
ae as
|
|
136
|
-
|
|
137
|
-
pe as
|
|
138
|
-
|
|
139
|
-
Ae as
|
|
140
|
-
Ce as
|
|
141
|
-
|
|
142
|
-
be as
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
Me as
|
|
146
|
-
Se as
|
|
147
|
-
|
|
148
|
-
he as
|
|
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
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
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-
|
|
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
|
|
2
|
-
import { mdiAccountCircle as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
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
|
|
11
|
-
const
|
|
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:
|
|
14
|
-
KvIconBag:
|
|
15
|
-
KvHeaderDropdownLink:
|
|
16
|
-
KvUserAvatar:
|
|
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(
|
|
60
|
-
const t =
|
|
61
|
-
e("item-hover", l,
|
|
62
|
-
},
|
|
63
|
-
navigator.maxTouchPoints || (o.value = l,
|
|
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
|
-
|
|
66
|
-
l ===
|
|
65
|
+
d,
|
|
66
|
+
l === B && s.isMobile ? V : v
|
|
67
67
|
));
|
|
68
|
-
},
|
|
69
|
-
!
|
|
70
|
-
},
|
|
71
|
-
var
|
|
72
|
-
const l = (
|
|
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
|
|
74
|
+
const v = l.left + l.width / 2 - S / 2;
|
|
75
75
|
return {
|
|
76
|
-
...
|
|
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:
|
|
80
|
-
width: d.isMobile ? "100%" : "auto"
|
|
79
|
+
borderRadius: s.isMobile ? "auto" : "0px 0px 8px 8px"
|
|
81
80
|
};
|
|
82
|
-
},
|
|
83
|
-
o.value =
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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:
|
|
95
|
+
AVATAR_MENU_ID: y,
|
|
98
96
|
openMenuId: o,
|
|
99
|
-
numeral:
|
|
100
|
-
mdiAccountCircle:
|
|
101
|
-
mdiChevronDown:
|
|
102
|
-
mdiMagnify:
|
|
103
|
-
mdiMenu:
|
|
104
|
-
onHover:
|
|
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:
|
|
108
|
-
partnerWithUsLink:
|
|
109
|
-
borrowLink:
|
|
105
|
+
aboutUsLink: K,
|
|
106
|
+
partnerWithUsLink: O,
|
|
107
|
+
borrowLink: A,
|
|
110
108
|
supportKivaLink: f,
|
|
111
|
-
basketLink:
|
|
112
|
-
signInLink:
|
|
113
|
-
menuButton:
|
|
114
|
-
lendUrl:
|
|
115
|
-
handleOnHover:
|
|
116
|
-
handleTouchStart:
|
|
117
|
-
handleMouseOut:
|
|
118
|
-
handleAvatarMenuPosition:
|
|
119
|
-
KvHeaderMobileMenu:
|
|
120
|
-
KvHeaderMyKivaMenu:
|
|
121
|
-
KvLendMenu:
|
|
122
|
-
KvHeaderTakeActionMenu:
|
|
123
|
-
KvHeaderAboutMenu:
|
|
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
|
-
},
|
|
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
|
-
},
|
|
130
|
-
function
|
|
131
|
-
const
|
|
132
|
-
return
|
|
133
|
-
|
|
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
|
-
|
|
140
|
+
D(A, { icon: n.mdiMenu }, null, 8, ["icon"])
|
|
143
141
|
], 34)), [
|
|
144
|
-
[
|
|
142
|
+
[a, t.openMenuItem === n.KvHeaderMobileMenu ? ["TopNav", "click-Hamburger-menu"] : null]
|
|
145
143
|
]),
|
|
146
|
-
|
|
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:
|
|
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
|
-
[
|
|
161
|
+
[a, ["TopNav", "click-Lend"]]
|
|
164
162
|
]),
|
|
165
|
-
|
|
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:
|
|
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
|
-
[
|
|
178
|
+
[a, ["TopNav", "click-TakeAction"]]
|
|
181
179
|
]),
|
|
182
|
-
|
|
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:
|
|
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
|
-
[
|
|
196
|
+
[a, ["TopNav", "click-About"]]
|
|
199
197
|
]),
|
|
200
|
-
e[15] || (e[15] =
|
|
201
|
-
t.loggedIn ?
|
|
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,
|
|
209
|
-
[
|
|
210
|
-
]) :
|
|
211
|
-
|
|
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
|
-
|
|
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
|
-
[
|
|
223
|
-
[
|
|
221
|
+
[Q, t.basketCount > 0],
|
|
222
|
+
[a, ["TopNav", "click-Basket"]]
|
|
224
223
|
]),
|
|
225
|
-
|
|
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 ? (
|
|
232
|
-
t.loggedIn ? (
|
|
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"])) :
|
|
237
|
+
}, null, 8, ["lender-name", "lender-image-url"])) : p("", !0)
|
|
239
238
|
], 32),
|
|
240
|
-
t.loggedIn ?
|
|
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,
|
|
248
|
-
[
|
|
246
|
+
]), 10, Me)), [
|
|
247
|
+
[a, ["TopNav", "click-Sign-in"]]
|
|
249
248
|
])
|
|
250
249
|
]);
|
|
251
250
|
}
|
|
252
|
-
const
|
|
251
|
+
const Be = /* @__PURE__ */ ae(ve, [["render", ke], ["__scopeId", "data-v-c12cfb72"]]);
|
|
253
252
|
export {
|
|
254
|
-
|
|
253
|
+
Be as default
|
|
255
254
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.mobile-link[data-v-
|
|
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
|
|
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
|
|
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:
|
|
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-
|
|
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
|
|
84
|
+
const w = p("KvMaterialIcon"), d = p("KvAccordionItem"), i = g("kv-track-event");
|
|
85
85
|
return t(), o("nav", T, [
|
|
86
|
-
v.isMobile ? (t(), _(
|
|
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
|
-
|
|
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",
|
|
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
|
-
|
|
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",
|
|
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-
|
|
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
|
|
2
|
-
import { resolveComponent as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
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:
|
|
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
|
-
},
|
|
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 =
|
|
29
|
-
return a(),
|
|
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:
|
|
35
|
-
|
|
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:
|
|
41
|
-
|
|
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:
|
|
47
|
-
|
|
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:
|
|
53
|
-
|
|
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:
|
|
59
|
-
|
|
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:
|
|
68
|
-
|
|
67
|
+
default: o(() => e[5] || (e[5] = [
|
|
68
|
+
r(" Borrower Dashboard ")
|
|
69
69
|
])),
|
|
70
70
|
_: 1
|
|
71
|
-
})) :
|
|
71
|
+
})) : f("", !0),
|
|
72
72
|
n.isTrustee ? (a(), l(t, {
|
|
73
73
|
key: 1,
|
|
74
74
|
href: "/my/trustee"
|
|
75
75
|
}, {
|
|
76
|
-
default:
|
|
77
|
-
|
|
76
|
+
default: o(() => e[6] || (e[6] = [
|
|
77
|
+
r(" Trustee Dashboard ")
|
|
78
78
|
])),
|
|
79
79
|
_: 1
|
|
80
|
-
})) :
|
|
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:
|
|
86
|
-
|
|
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__ */
|
|
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.
|
|
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": "
|
|
117
|
+
"gitHead": "51c20beeb958b68afd1f7012dc701f0671c16a90"
|
|
118
118
|
}
|