@kiva/kv-components 10.8.0 → 10.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +210 -208
- package/dist/vue/KvCheckoutLightbox.js +134 -0
- package/dist/vue/KvCheckoutLightbox.script.js +168 -0
- package/dist/vue/KvCheckoutLightbox.vue.d.ts +573 -0
- package/dist/vue/KvCompactLoanCard.vue.d.ts +1 -1
- package/dist/vue/KvDatePicker.vue.d.ts +3 -3
- package/dist/vue/KvLoanUse.vue.d.ts +1 -1
- package/dist/vue/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { default as r, Mash as t } from "./utils/Alea.js";
|
|
2
2
|
import { default as f } from "./vue/KvFormAssemblyForm.script.js";
|
|
3
3
|
import { default as m } from "./vue/KvIconButton.script.js";
|
|
4
|
-
import { BALANCE_CAMPAIGN as p, BASE_CAMPAIGN as d, ERL_COOKIE_NAME as u, NO_BALANCE_CAMPAIGN as x, TOP_UP_CAMPAIGN as n, getDropdownPriceArray as K, getLendCtaSelectedOption as v, isBetween25And50 as
|
|
5
|
-
import { DEFAULT_ACCEPTED_IMAGE_TYPES as c, cropResizeImageToDataUrl as
|
|
4
|
+
import { BALANCE_CAMPAIGN as p, BASE_CAMPAIGN as d, ERL_COOKIE_NAME as u, NO_BALANCE_CAMPAIGN as x, TOP_UP_CAMPAIGN as n, getDropdownPriceArray as K, getLendCtaSelectedOption as v, isBetween25And50 as i, isLessThan25 as A, truncateStringByWords as C } from "./utils/loanUtils.js";
|
|
5
|
+
import { DEFAULT_ACCEPTED_IMAGE_TYPES as c, cropResizeImageToDataUrl as L, getKivaImageUrl as T, isLegacyPlaceholderAvatar as N, randomizedUserAvatarClass as E, validateImageFile as R } from "./utils/imageUtils.js";
|
|
6
6
|
import { KV_CLASSIC_LOAN_CARD_FRAGMENT as I, KV_CLASSIC_LOAN_CARD_USER_FRAGMET as O } from "./vue/KvClassicLoanCard.script.js";
|
|
7
|
-
import { KV_COMPACT_LOAN_CARD_FRAGMENT as
|
|
7
|
+
import { KV_COMPACT_LOAN_CARD_FRAGMENT as S, KV_COMPACT_LOAN_CARD_USER_FRAGMENT as P } from "./vue/KvCompactLoanCard.script.js";
|
|
8
8
|
import { KV_INTRODUCTION_LOAN_CARD_FRAGMENT as F, KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT as h } from "./vue/KvIntroductionLoanCard.script.js";
|
|
9
9
|
import { KV_LEND_CTA_FRAGMENT as B, KV_LEND_CTA_USER_FRAGMENT as V } from "./vue/KvLendCta.script.js";
|
|
10
10
|
import { KV_LOAN_ACTIVITIES_FRAGMENT as U } from "./vue/KvLoanActivities.script.js";
|
|
@@ -22,95 +22,96 @@ import { default as pe } from "./vue/KvButton.js";
|
|
|
22
22
|
import { default as ue } from "./vue/KvCardFrame.js";
|
|
23
23
|
import { default as ne } from "./vue/KvCarousel.js";
|
|
24
24
|
import { default as ve } from "./vue/KvCartModal.js";
|
|
25
|
-
import { default as
|
|
25
|
+
import { default as Ae } from "./vue/KvCartPill.js";
|
|
26
26
|
import { default as _e } from "./vue/KvCheckbox.js";
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as Ne } from "./vue/
|
|
29
|
-
import { default as Re } from "./vue/
|
|
30
|
-
import { default as Ie } from "./vue/
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as Pe } from "./vue/
|
|
33
|
-
import { default as Fe } from "./vue/
|
|
34
|
-
import { default as De } from "./vue/
|
|
35
|
-
import { default as Ve } from "./vue/
|
|
36
|
-
import { default as Ue } from "./vue/
|
|
37
|
-
import { default as ke } from "./vue/
|
|
38
|
-
import { default as We } from "./vue/
|
|
39
|
-
import { default as ze } from "./vue/
|
|
40
|
-
import { default as Qe } from "./vue/
|
|
41
|
-
import { default as Ze } from "./vue/
|
|
42
|
-
import { default as Je } from "./vue/
|
|
43
|
-
import { default as $e } from "./vue/
|
|
44
|
-
import { default as oo } from "./vue/
|
|
45
|
-
import { default as to } from "./vue/
|
|
46
|
-
import { default as fo } from "./vue/
|
|
47
|
-
import { default as mo } from "./vue/
|
|
48
|
-
import { default as po } from "./vue/
|
|
49
|
-
import { default as xo } from "./vue/
|
|
50
|
-
import { default as Ko } from "./vue/
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as Co } from "./vue/
|
|
53
|
-
import { default as co } from "./vue/
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as Eo } from "./vue/
|
|
56
|
-
import { default as Mo } from "./vue/
|
|
57
|
-
import { default as Oo } from "./vue/
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as Go } from "./vue/
|
|
60
|
-
import { default as ho } from "./vue/
|
|
61
|
-
import { default as Bo } from "./vue/
|
|
62
|
-
import { default as yo } from "./vue/
|
|
63
|
-
import { default as bo } from "./vue/
|
|
64
|
-
import { default as wo } from "./vue/
|
|
65
|
-
import { default as Ho } from "./vue/
|
|
66
|
-
import { default as jo } from "./vue/
|
|
67
|
-
import { default as Yo } from "./vue/
|
|
68
|
-
import { default as qo } from "./vue/
|
|
69
|
-
import { default as Xo } from "./vue/
|
|
70
|
-
import { default as er } from "./vue/
|
|
71
|
-
import { default as rr } from "./vue/
|
|
72
|
-
import { default as ar } from "./vue/
|
|
73
|
-
import { default as lr } from "./vue/
|
|
74
|
-
import { default as sr } from "./vue/
|
|
75
|
-
import { default as dr } from "./vue/
|
|
76
|
-
import { default as xr } from "./vue/
|
|
77
|
-
import { default as Kr } from "./vue/
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as Cr } from "./vue/
|
|
80
|
-
import { default as cr } from "./vue/
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as Er } from "./vue/
|
|
83
|
-
import { default as Mr } from "./vue/
|
|
84
|
-
import { default as Or } from "./vue/
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as Gr } from "./vue/
|
|
87
|
-
import { default as hr } from "./vue/
|
|
88
|
-
import { default as Br } from "./vue/
|
|
89
|
-
import { default as yr } from "./vue/
|
|
90
|
-
import { default as br } from "./vue/
|
|
91
|
-
import { default as wr } from "./vue/
|
|
92
|
-
import { default as Hr } from "./vue/
|
|
93
|
-
import { default as jr } from "./vue/
|
|
94
|
-
import { default as Yr } from "./vue/
|
|
95
|
-
import { default as qr } from "./vue/
|
|
96
|
-
import { default as Xr } from "./vue/
|
|
97
|
-
import { default as et } from "./vue/
|
|
98
|
-
import { default as rt } from "./vue/
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
27
|
+
import { default as Le } from "./vue/KvCheckoutLightbox.js";
|
|
28
|
+
import { default as Ne } from "./vue/KvCheckoutReceipt.js";
|
|
29
|
+
import { default as Re } from "./vue/KvChip.js";
|
|
30
|
+
import { default as Ie } from "./vue/KvClassicLoanCard.js";
|
|
31
|
+
import { default as ge } from "./vue/KvCommentsAdd.js";
|
|
32
|
+
import { default as Pe } from "./vue/KvCommentsContainer.js";
|
|
33
|
+
import { default as Fe } from "./vue/KvCommentsHeartButton.js";
|
|
34
|
+
import { default as De } from "./vue/KvCommentsList.js";
|
|
35
|
+
import { default as Ve } from "./vue/KvCommentsListItem.js";
|
|
36
|
+
import { default as Ue } from "./vue/KvCommentsReplyButton.js";
|
|
37
|
+
import { default as ke } from "./vue/KvCompactLoanCard.js";
|
|
38
|
+
import { default as We } from "./vue/KvContentfulImg.js";
|
|
39
|
+
import { default as ze } from "./vue/KvCountdownTimer.js";
|
|
40
|
+
import { default as Qe } from "./vue/KvDatePicker.js";
|
|
41
|
+
import { default as Ze } from "./vue/KvExpandable.js";
|
|
42
|
+
import { default as Je } from "./vue/KvExpandableQuestion.js";
|
|
43
|
+
import { default as $e } from "./vue/KvFlag.js";
|
|
44
|
+
import { default as oo } from "./vue/KvGrid.js";
|
|
45
|
+
import { default as to } from "./vue/KvImageUpload.js";
|
|
46
|
+
import { default as fo } from "./vue/KvImpactDashboardHeader.js";
|
|
47
|
+
import { default as mo } from "./vue/KvImpactVerticalSelector.js";
|
|
48
|
+
import { default as po } from "./vue/KvInlineActivityCard.js";
|
|
49
|
+
import { default as xo } from "./vue/KvInlineActivityFeed.js";
|
|
50
|
+
import { default as Ko } from "./vue/KvIntroductionLoanCard.js";
|
|
51
|
+
import { default as io } from "./vue/KvLendAmountButton.js";
|
|
52
|
+
import { default as Co } from "./vue/KvLendCta.js";
|
|
53
|
+
import { default as co } from "./vue/KvLightbox.js";
|
|
54
|
+
import { default as To } from "./vue/KvLineGraph.js";
|
|
55
|
+
import { default as Eo } from "./vue/KvLoadingPlaceholder.js";
|
|
56
|
+
import { default as Mo } from "./vue/KvLoadingSpinner.js";
|
|
57
|
+
import { default as Oo } from "./vue/KvLoadingText.js";
|
|
58
|
+
import { default as So } from "./vue/KvLoanActivities.js";
|
|
59
|
+
import { default as Go } from "./vue/KvLoanBookmark.js";
|
|
60
|
+
import { default as ho } from "./vue/KvLoanCallouts.js";
|
|
61
|
+
import { default as Bo } from "./vue/KvLoanProgressGroup.js";
|
|
62
|
+
import { default as yo } from "./vue/KvLoanTag.js";
|
|
63
|
+
import { default as bo } from "./vue/KvLoanTeamPick.js";
|
|
64
|
+
import { default as wo } from "./vue/KvLoanUse.js";
|
|
65
|
+
import { default as Ho } from "./vue/KvMap.js";
|
|
66
|
+
import { default as jo } from "./vue/KvMaterialIcon.js";
|
|
67
|
+
import { default as Yo } from "./vue/KvPageContainer.js";
|
|
68
|
+
import { default as qo } from "./vue/KvPagination.js";
|
|
69
|
+
import { default as Xo } from "./vue/KvPieChart.js";
|
|
70
|
+
import { default as er } from "./vue/KvPieChartV2.js";
|
|
71
|
+
import { default as rr } from "./vue/KvPill.js";
|
|
72
|
+
import { default as ar } from "./vue/KvPopper.js";
|
|
73
|
+
import { default as lr } from "./vue/KvProgressBar.js";
|
|
74
|
+
import { default as sr } from "./vue/KvProgressCircle.js";
|
|
75
|
+
import { default as dr } from "./vue/KvPulsingDot.js";
|
|
76
|
+
import { default as xr } from "./vue/KvRadio.js";
|
|
77
|
+
import { default as Kr } from "./vue/KvSecondaryNav.js";
|
|
78
|
+
import { default as ir } from "./vue/KvSelect.js";
|
|
79
|
+
import { default as Cr } from "./vue/KvSideSheet.js";
|
|
80
|
+
import { default as cr } from "./vue/KvSimpleMap.js";
|
|
81
|
+
import { default as Tr } from "./vue/KvStackedBarGraph.js";
|
|
82
|
+
import { default as Er } from "./vue/KvSwitch.js";
|
|
83
|
+
import { default as Mr } from "./vue/KvTab.js";
|
|
84
|
+
import { default as Or } from "./vue/KvTabPanel.js";
|
|
85
|
+
import { default as Sr } from "./vue/KvTabs.js";
|
|
86
|
+
import { default as Gr } from "./vue/KvTextInput.js";
|
|
87
|
+
import { default as hr } from "./vue/KvTextLink.js";
|
|
88
|
+
import { default as Br } from "./vue/KvThemeProvider.js";
|
|
89
|
+
import { default as yr } from "./vue/KvToast.js";
|
|
90
|
+
import { default as br } from "./vue/KvTooltip.js";
|
|
91
|
+
import { default as wr } from "./vue/KvTreeMapChart.js";
|
|
92
|
+
import { default as Hr } from "./vue/KvUserAvatar.js";
|
|
93
|
+
import { default as jr } from "./vue/KvUtilityMenu.js";
|
|
94
|
+
import { default as Yr } from "./vue/KvVerticalCarousel.js";
|
|
95
|
+
import { default as qr } from "./vue/KvVotingCard.js";
|
|
96
|
+
import { default as Xr } from "./vue/KvVotingCardV2.js";
|
|
97
|
+
import { default as et } from "./vue/KvWideLoanCard.js";
|
|
98
|
+
import { default as rt } from "./vue/KvWwwHeader.js";
|
|
99
|
+
import { default as at } from "./vue/KvWwwHeaderBasic/KvWwwHeaderBasic.js";
|
|
100
|
+
import { LOAN_CALLOUTS_FRAGMENT as lt, LOAN_GEOCODE_FRAGMENT as mt, LOAN_PROGRESS_FRAGMENT as st, loanCardComputedProperties as pt, loanCardMethods as dt, useLocationTruncation as ut } from "./utils/loanCard.js";
|
|
101
|
+
import { abc as nt, indexIn as Kt, startsWith as vt } from "./utils/comparators.js";
|
|
102
|
+
import { animationCoordinator as At, computeMapCenter as Ct, computeMapZoom as _t, generateMapMarkers as ct, getCoordinatesBetween as Lt, getCountryColor as Tt, getLoansIntervals as Nt } from "./utils/mapUtils.js";
|
|
103
|
+
import { buildTailwindClassName as Rt, headerNumberCase as Mt, kebabCase as It, removeObjectProperty as Ot } from "./utils/themeUtils.js";
|
|
104
|
+
import { carouselUtil as St } from "./utils/carousels.js";
|
|
105
|
+
import { collapse as Gt, expand as Ft } from "./utils/expander.js";
|
|
106
|
+
import { debounce as Dt } from "./utils/debounce.js";
|
|
107
|
+
import { getTreemap as Vt } from "./utils/treemap.js";
|
|
108
|
+
import { groupBy as Ut, sortBy as bt } from "./utils/arrayUtils.js";
|
|
109
|
+
import { isTargetElement as wt, offBodyTouchstart as Wt, onBodyTouchstart as Ht } from "./utils/touchEvents.js";
|
|
110
|
+
import { lockPrintSingleEl as jt, unlockPrintSingleEl as Qt } from "./utils/printing.js";
|
|
111
|
+
import { lockScroll as Zt, lockScrollSmallOnly as qt, unlockScroll as Jt, unlockScrollSmallOnly as Xt } from "./utils/scrollLock.js";
|
|
112
|
+
import { throttle as ea } from "./utils/throttle.js";
|
|
113
|
+
import { useAttrs as ra } from "./utils/attrs.js";
|
|
114
|
+
import { useEventListener as aa } from "./utils/event.js";
|
|
114
115
|
export {
|
|
115
116
|
r as Alea,
|
|
116
117
|
p as BALANCE_CAMPAIGN,
|
|
@@ -119,7 +120,7 @@ export {
|
|
|
119
120
|
u as ERL_COOKIE_NAME,
|
|
120
121
|
I as KV_CLASSIC_LOAN_CARD_FRAGMENT,
|
|
121
122
|
O as KV_CLASSIC_LOAN_CARD_USER_FRAGMET,
|
|
122
|
-
|
|
123
|
+
S as KV_COMPACT_LOAN_CARD_FRAGMENT,
|
|
123
124
|
P as KV_COMPACT_LOAN_CARD_USER_FRAGMENT,
|
|
124
125
|
F as KV_INTRODUCTION_LOAN_CARD_FRAGMENT,
|
|
125
126
|
h as KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT,
|
|
@@ -141,133 +142,134 @@ export {
|
|
|
141
142
|
ue as KvCardFrame,
|
|
142
143
|
ne as KvCarousel,
|
|
143
144
|
ve as KvCartModal,
|
|
144
|
-
|
|
145
|
+
Ae as KvCartPill,
|
|
145
146
|
_e as KvCheckbox,
|
|
146
|
-
|
|
147
|
-
Ne as
|
|
148
|
-
Re as
|
|
149
|
-
Ie as
|
|
150
|
-
|
|
151
|
-
Pe as
|
|
152
|
-
Fe as
|
|
153
|
-
De as
|
|
154
|
-
Ve as
|
|
155
|
-
Ue as
|
|
156
|
-
ke as
|
|
157
|
-
We as
|
|
158
|
-
ze as
|
|
159
|
-
Qe as
|
|
160
|
-
Ze as
|
|
161
|
-
Je as
|
|
147
|
+
Le as KvCheckoutLightbox,
|
|
148
|
+
Ne as KvCheckoutReceipt,
|
|
149
|
+
Re as KvChip,
|
|
150
|
+
Ie as KvClassicLoanCard,
|
|
151
|
+
ge as KvCommentsAdd,
|
|
152
|
+
Pe as KvCommentsContainer,
|
|
153
|
+
Fe as KvCommentsHeartButton,
|
|
154
|
+
De as KvCommentsList,
|
|
155
|
+
Ve as KvCommentsListItem,
|
|
156
|
+
Ue as KvCommentsReplyButton,
|
|
157
|
+
ke as KvCompactLoanCard,
|
|
158
|
+
We as KvContentfulImg,
|
|
159
|
+
ze as KvCountdownTimer,
|
|
160
|
+
Qe as KvDatePicker,
|
|
161
|
+
Ze as KvExpandable,
|
|
162
|
+
Je as KvExpandableQuestion,
|
|
163
|
+
$e as KvFlag,
|
|
162
164
|
f as KvFormAssemblyForm,
|
|
163
|
-
|
|
165
|
+
oo as KvGrid,
|
|
164
166
|
m as KvIconButton,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
167
|
+
to as KvImageUpload,
|
|
168
|
+
fo as KvImpactDashboardHeader,
|
|
169
|
+
mo as KvImpactVerticalSelector,
|
|
170
|
+
po as KvInlineActivityCard,
|
|
171
|
+
xo as KvInlineActivityFeed,
|
|
172
|
+
Ko as KvIntroductionLoanCard,
|
|
173
|
+
io as KvLendAmountButton,
|
|
174
|
+
Co as KvLendCta,
|
|
175
|
+
co as KvLightbox,
|
|
176
|
+
To as KvLineGraph,
|
|
177
|
+
Eo as KvLoadingPlaceholder,
|
|
178
|
+
Mo as KvLoadingSpinner,
|
|
179
|
+
Oo as KvLoadingText,
|
|
180
|
+
So as KvLoanActivities,
|
|
181
|
+
Go as KvLoanBookmark,
|
|
182
|
+
ho as KvLoanCallouts,
|
|
181
183
|
H as KvLoanInfoCard,
|
|
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
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
184
|
+
Bo as KvLoanProgressGroup,
|
|
185
|
+
yo as KvLoanTag,
|
|
186
|
+
bo as KvLoanTeamPick,
|
|
187
|
+
wo as KvLoanUse,
|
|
188
|
+
Ho as KvMap,
|
|
189
|
+
jo as KvMaterialIcon,
|
|
190
|
+
Yo as KvPageContainer,
|
|
191
|
+
qo as KvPagination,
|
|
192
|
+
Xo as KvPieChart,
|
|
193
|
+
er as KvPieChartV2,
|
|
194
|
+
rr as KvPill,
|
|
195
|
+
ar as KvPopper,
|
|
196
|
+
lr as KvProgressBar,
|
|
197
|
+
sr as KvProgressCircle,
|
|
198
|
+
dr as KvPulsingDot,
|
|
199
|
+
xr as KvRadio,
|
|
200
|
+
Kr as KvSecondaryNav,
|
|
201
|
+
ir as KvSelect,
|
|
202
|
+
Cr as KvSideSheet,
|
|
203
|
+
cr as KvSimpleMap,
|
|
204
|
+
Tr as KvStackedBarGraph,
|
|
205
|
+
Er as KvSwitch,
|
|
206
|
+
Mr as KvTab,
|
|
207
|
+
Or as KvTabPanel,
|
|
208
|
+
Sr as KvTabs,
|
|
209
|
+
Gr as KvTextInput,
|
|
210
|
+
hr as KvTextLink,
|
|
211
|
+
Br as KvThemeProvider,
|
|
212
|
+
yr as KvToast,
|
|
213
|
+
br as KvTooltip,
|
|
214
|
+
wr as KvTreeMapChart,
|
|
215
|
+
Hr as KvUserAvatar,
|
|
216
|
+
jr as KvUtilityMenu,
|
|
217
|
+
Yr as KvVerticalCarousel,
|
|
218
|
+
qr as KvVotingCard,
|
|
219
|
+
Xr as KvVotingCardV2,
|
|
220
|
+
et as KvWideLoanCard,
|
|
221
|
+
rt as KvWwwHeader,
|
|
222
|
+
at as KvWwwHeaderBasic,
|
|
223
|
+
lt as LOAN_CALLOUTS_FRAGMENT,
|
|
224
|
+
mt as LOAN_GEOCODE_FRAGMENT,
|
|
225
|
+
st as LOAN_PROGRESS_FRAGMENT,
|
|
224
226
|
t as Mash,
|
|
225
227
|
x as NO_BALANCE_CAMPAIGN,
|
|
226
228
|
n as TOP_UP_CAMPAIGN,
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
229
|
+
nt as abc,
|
|
230
|
+
At as animationCoordinator,
|
|
231
|
+
Rt as buildTailwindClassName,
|
|
232
|
+
St as carouselUtil,
|
|
233
|
+
Gt as collapse,
|
|
234
|
+
Ct as computeMapCenter,
|
|
235
|
+
_t as computeMapZoom,
|
|
236
|
+
L as cropResizeImageToDataUrl,
|
|
237
|
+
Dt as debounce,
|
|
238
|
+
Ft as expand,
|
|
239
|
+
ct as generateMapMarkers,
|
|
240
|
+
Lt as getCoordinatesBetween,
|
|
241
|
+
Tt as getCountryColor,
|
|
240
242
|
K as getDropdownPriceArray,
|
|
241
|
-
|
|
243
|
+
T as getKivaImageUrl,
|
|
242
244
|
v as getLendCtaSelectedOption,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
245
|
+
Nt as getLoansIntervals,
|
|
246
|
+
Vt as getTreemap,
|
|
247
|
+
Ut as groupBy,
|
|
248
|
+
Mt as headerNumberCase,
|
|
249
|
+
Kt as indexIn,
|
|
250
|
+
i as isBetween25And50,
|
|
249
251
|
N as isLegacyPlaceholderAvatar,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
252
|
+
A as isLessThan25,
|
|
253
|
+
wt as isTargetElement,
|
|
254
|
+
It as kebabCase,
|
|
255
|
+
pt as loanCardComputedProperties,
|
|
256
|
+
dt as loanCardMethods,
|
|
257
|
+
jt as lockPrintSingleEl,
|
|
258
|
+
Zt as lockScroll,
|
|
259
|
+
qt as lockScrollSmallOnly,
|
|
260
|
+
Wt as offBodyTouchstart,
|
|
261
|
+
Ht as onBodyTouchstart,
|
|
260
262
|
E as randomizedUserAvatarClass,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
263
|
+
Ot as removeObjectProperty,
|
|
264
|
+
bt as sortBy,
|
|
265
|
+
vt as startsWith,
|
|
266
|
+
ea as throttle,
|
|
265
267
|
C as truncateStringByWords,
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
268
|
+
Qt as unlockPrintSingleEl,
|
|
269
|
+
Jt as unlockScroll,
|
|
270
|
+
Xt as unlockScrollSmallOnly,
|
|
271
|
+
ra as useAttrs,
|
|
272
|
+
aa as useEventListener,
|
|
273
|
+
ut as useLocationTruncation,
|
|
272
274
|
R as validateImageFile
|
|
273
275
|
};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import y from "./KvCheckoutLightbox.script.js";
|
|
2
|
+
import { resolveComponent as v, openBlock as a, createBlock as x, withCtx as u, createElementBlock as s, renderSlot as n, withModifiers as h, createCommentVNode as d, createElementVNode as r, createVNode as c, createTextVNode as m, toDisplayString as w } from "vue";
|
|
3
|
+
import _ from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const U = {
|
|
5
|
+
key: 0,
|
|
6
|
+
role: "status",
|
|
7
|
+
"aria-busy": "true",
|
|
8
|
+
"data-testid": "kv-checkout-loading"
|
|
9
|
+
}, C = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "tw-text-left",
|
|
12
|
+
"data-testid": "kv-checkout-guest-fields"
|
|
13
|
+
}, E = ["for"], P = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "tw-text-danger tw-text-small tw-mb-1"
|
|
16
|
+
}, V = { class: "tw-text-small" }, T = ["href"], S = ["href"], L = { class: "tw-text-small" }, N = {
|
|
17
|
+
key: 1,
|
|
18
|
+
class: "tw-text-danger tw-text-small tw-mb-1"
|
|
19
|
+
}, p = {
|
|
20
|
+
key: 2,
|
|
21
|
+
class: "tw-text-base tw-text-center"
|
|
22
|
+
}, B = {
|
|
23
|
+
key: 3,
|
|
24
|
+
class: "tw-text-base tw-text-center",
|
|
25
|
+
"data-testid": "kv-checkout-covered"
|
|
26
|
+
};
|
|
27
|
+
function K(l, e, t, o, q, A) {
|
|
28
|
+
const b = v("kv-text-input"), k = v("kv-checkbox"), f = v("kv-button"), g = v("kv-lightbox");
|
|
29
|
+
return a(), x(g, {
|
|
30
|
+
visible: t.visible,
|
|
31
|
+
title: t.title,
|
|
32
|
+
"prevent-close": t.preventClose || t.loading || t.paying,
|
|
33
|
+
class: "tw-z-modal",
|
|
34
|
+
onLightboxClosed: e[6] || (e[6] = (i) => l.$emit("lightbox-closed"))
|
|
35
|
+
}, {
|
|
36
|
+
default: u(() => [
|
|
37
|
+
t.visible && t.loading ? (a(), s("div", U, [
|
|
38
|
+
n(l.$slots, "loading")
|
|
39
|
+
])) : t.visible ? (a(), s("form", {
|
|
40
|
+
key: 1,
|
|
41
|
+
style: { "max-width": "520px" },
|
|
42
|
+
class: "tw-mx-auto",
|
|
43
|
+
action: ".",
|
|
44
|
+
onSubmit: e[5] || (e[5] = h((...i) => o.onSubmit && o.onSubmit(...i), ["prevent"]))
|
|
45
|
+
}, [
|
|
46
|
+
n(l.$slots, "totals"),
|
|
47
|
+
t.depositRequired ? n(l.$slots, "payment", { key: 0 }) : d("", !0),
|
|
48
|
+
t.isLoggedIn ? d("", !0) : (a(), s("fieldset", C, [
|
|
49
|
+
e[10] || (e[10] = r("legend", { class: "tw-sr-only" }, " Contact information ", -1)),
|
|
50
|
+
r("label", {
|
|
51
|
+
for: `${t.idPrefix}-guest-email`,
|
|
52
|
+
class: "tw-block tw-font-medium"
|
|
53
|
+
}, " Email address ", 8, E),
|
|
54
|
+
c(b, {
|
|
55
|
+
id: `${t.idPrefix}-guest-email`,
|
|
56
|
+
"model-value": t.email,
|
|
57
|
+
type: "email",
|
|
58
|
+
valid: !o.showEmailError,
|
|
59
|
+
class: "tw-w-full tw-mb-2",
|
|
60
|
+
"onUpdate:modelValue": e[0] || (e[0] = (i) => l.$emit("update:email", i)),
|
|
61
|
+
onFocus: e[1] || (e[1] = (i) => o.track("click", "guest-checkout-email")),
|
|
62
|
+
onBlur: e[2] || (e[2] = (i) => o.emailTouched = !0)
|
|
63
|
+
}, null, 8, ["id", "model-value", "valid"]),
|
|
64
|
+
o.showEmailError ? (a(), s("p", P, " Valid email required. ")) : d("", !0),
|
|
65
|
+
c(k, {
|
|
66
|
+
"model-value": t.termsAgreement,
|
|
67
|
+
name: "termsAgreement",
|
|
68
|
+
class: "tw-mb-1",
|
|
69
|
+
valid: !o.showTermsError,
|
|
70
|
+
"onUpdate:modelValue": o.onTermsChange
|
|
71
|
+
}, {
|
|
72
|
+
default: u(() => [
|
|
73
|
+
r("span", V, [
|
|
74
|
+
e[7] || (e[7] = m(" I have read and agree to the ")),
|
|
75
|
+
r("a", {
|
|
76
|
+
href: `${t.appUri}/legal/terms`,
|
|
77
|
+
target: "_blank",
|
|
78
|
+
title: "Open Terms of Use in a new window",
|
|
79
|
+
onClick: e[3] || (e[3] = (i) => o.track("click", "tos-link"))
|
|
80
|
+
}, "Terms of Use", 8, T),
|
|
81
|
+
e[8] || (e[8] = m(" and ")),
|
|
82
|
+
r("a", {
|
|
83
|
+
href: `${t.appUri}/legal/privacy`,
|
|
84
|
+
target: "_blank",
|
|
85
|
+
title: "Open Privacy Policy in a new window",
|
|
86
|
+
onClick: e[4] || (e[4] = (i) => o.track("click", "privacy-link"))
|
|
87
|
+
}, "Privacy Policy", 8, S),
|
|
88
|
+
e[9] || (e[9] = m(". Preferences can be managed in settings. "))
|
|
89
|
+
])
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}, 8, ["model-value", "valid", "onUpdate:modelValue"]),
|
|
93
|
+
c(k, {
|
|
94
|
+
"model-value": t.emailUpdates,
|
|
95
|
+
name: "emailUpdates",
|
|
96
|
+
class: "tw-mb-1",
|
|
97
|
+
"onUpdate:modelValue": o.onEmailUpdatesChange
|
|
98
|
+
}, {
|
|
99
|
+
default: u(() => [
|
|
100
|
+
r("span", L, w(o.emailUpdatesCopy), 1)
|
|
101
|
+
]),
|
|
102
|
+
_: 1
|
|
103
|
+
}, 8, ["model-value", "onUpdate:modelValue"]),
|
|
104
|
+
o.showTermsError ? (a(), s("p", N, " You must agree to the Kiva Terms of Use & Privacy policy. ")) : d("", !0)
|
|
105
|
+
])),
|
|
106
|
+
n(l.$slots, "before-submit"),
|
|
107
|
+
c(f, {
|
|
108
|
+
state: o.submitState,
|
|
109
|
+
type: "submit",
|
|
110
|
+
class: "tw-w-full tw-my-1"
|
|
111
|
+
}, {
|
|
112
|
+
default: u(() => [
|
|
113
|
+
m(w(t.submitLabel), 1)
|
|
114
|
+
]),
|
|
115
|
+
_: 1
|
|
116
|
+
}, 8, ["state"]),
|
|
117
|
+
t.depositRequired ? (a(), s("p", p, [
|
|
118
|
+
n(l.$slots, "disclaimer", {}, () => [
|
|
119
|
+
e[11] || (e[11] = m(" Thanks to PayPal, Kiva receives free payment processing for all transactions. "))
|
|
120
|
+
])
|
|
121
|
+
])) : t.totalsLoaded ? (a(), s("p", B, [
|
|
122
|
+
n(l.$slots, "covered", {}, () => [
|
|
123
|
+
e[12] || (e[12] = m(" No payment needed. Your Kiva credit covers this. "))
|
|
124
|
+
])
|
|
125
|
+
])) : d("", !0)
|
|
126
|
+
], 32)) : d("", !0)
|
|
127
|
+
]),
|
|
128
|
+
_: 3
|
|
129
|
+
}, 8, ["visible", "title", "prevent-close"]);
|
|
130
|
+
}
|
|
131
|
+
const Y = /* @__PURE__ */ _(y, [["render", K]]);
|
|
132
|
+
export {
|
|
133
|
+
Y as default
|
|
134
|
+
};
|