@kiva/kv-components 8.22.3 → 8.23.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 +224 -222
- package/dist/vue/KvFormAssemblyForm.js +96 -0
- package/dist/vue/KvFormAssemblyForm.vue.d.ts +49 -0
- package/dist/vue/KvFormAssemblyForm2.js +4 -0
- package/dist/vue/KvIconButton.vue.d.ts +1 -1
- package/dist/vue/KvMap2.js +1 -1
- package/dist/vue/index.d.ts +1 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as r } from "./vue/KvAccordionItem.js";
|
|
2
2
|
import { default as a } from "./vue/KvActivityRow.js";
|
|
3
3
|
import { default as l } from "./vue/KvBorrowerImage.js";
|
|
4
|
-
import { default as
|
|
4
|
+
import { default as s } from "./vue/KvButton.js";
|
|
5
5
|
import { default as d } from "./vue/KvCardFrame.js";
|
|
6
6
|
import { default as x } from "./vue/KvCarousel.js";
|
|
7
7
|
import { default as n } from "./vue/KvCartModal.js";
|
|
@@ -16,126 +16,127 @@ import { default as g } from "./vue/KvCommentsContainer.js";
|
|
|
16
16
|
import { default as G } from "./vue/KvCommentsHeartButton.js";
|
|
17
17
|
import { default as h } from "./vue/KvCommentsList.js";
|
|
18
18
|
import { default as B } from "./vue/KvCommentsListItem.js";
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
19
|
+
import { default as y } from "./vue/KvCommentsReplyButton.js";
|
|
20
|
+
import { default as b } from "./vue/KvContentfulImg.js";
|
|
21
21
|
import { default as w } from "./vue/KvCountdownTimer.js";
|
|
22
22
|
import { default as H } from "./vue/KvDatePicker.js";
|
|
23
23
|
import { default as j } from "./vue/KvExpandable.js";
|
|
24
24
|
import { default as Y } from "./vue/KvExpandableQuestion.js";
|
|
25
25
|
import { default as q } from "./vue/KvFlag.js";
|
|
26
|
-
import { default as X } from "./vue/
|
|
27
|
-
import { default as ee } from "./vue/
|
|
28
|
-
import { default as re } from "./vue/
|
|
29
|
-
import { default as ae } from "./vue/
|
|
30
|
-
import { default as le } from "./vue/
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as de } from "./vue/
|
|
33
|
-
import { default as xe } from "./vue/
|
|
34
|
-
import { default as ne } from "./vue/
|
|
35
|
-
import { default as Ae } from "./vue/
|
|
36
|
-
import { default as Ce } from "./vue/
|
|
37
|
-
import { default as ce } from "./vue/
|
|
38
|
-
import { default as Le } from "./vue/
|
|
39
|
-
import { default as Ee } from "./vue/
|
|
40
|
-
import { default as Me } from "./vue/
|
|
41
|
-
import {
|
|
42
|
-
import { default as Pe } from "./vue/
|
|
43
|
-
import { default as Fe } from "./vue/
|
|
44
|
-
import { default as De } from "./vue/
|
|
45
|
-
import { default as Ve } from "./vue/
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as We } from "./vue/
|
|
49
|
-
import { default as ze } from "./vue/
|
|
50
|
-
import { default as Qe } from "./vue/
|
|
51
|
-
import { default as Ze } from "./vue/
|
|
52
|
-
import { default as Je } from "./vue/
|
|
53
|
-
import { default as $e } from "./vue/
|
|
54
|
-
import { default as oo } from "./vue/
|
|
55
|
-
import { default as to } from "./vue/
|
|
56
|
-
import { default as fo } from "./vue/
|
|
57
|
-
import { default as mo } from "./vue/
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as xo } from "./vue/
|
|
60
|
-
import { default as no } from "./vue/
|
|
61
|
-
import { default as Ao } from "./vue/
|
|
62
|
-
import { default as Co } from "./vue/
|
|
63
|
-
import { default as co } from "./vue/
|
|
64
|
-
import { default as Lo } from "./vue/
|
|
65
|
-
import { default as Eo } from "./vue/
|
|
66
|
-
import { default as Mo } from "./vue/
|
|
67
|
-
import { default as Oo } from "./vue/
|
|
68
|
-
import { default as go } from "./vue/
|
|
69
|
-
import { default as Go } from "./vue/
|
|
70
|
-
import { default as ho } from "./vue/
|
|
71
|
-
import { default as Bo } from "./vue/
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as wo } from "./vue/
|
|
75
|
-
import { default as Ho } from "./vue/
|
|
76
|
-
import { default as jo } from "./vue/
|
|
77
|
-
import { default as Yo } from "./vue/
|
|
78
|
-
import { default as qo } from "./vue/
|
|
79
|
-
import { default as Xo } from "./vue/
|
|
80
|
-
import { default as er } from "./vue/
|
|
81
|
-
import { default as rr } from "./vue/
|
|
82
|
-
import { default as ar } from "./vue/
|
|
83
|
-
import { default as lr } from "./vue/
|
|
84
|
-
import { default as
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
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 {
|
|
26
|
+
import { default as X } from "./vue/KvFormAssemblyForm.js";
|
|
27
|
+
import { default as ee } from "./vue/KvGrid.js";
|
|
28
|
+
import { default as re } from "./vue/KvIconButton.js";
|
|
29
|
+
import { default as ae } from "./vue/KvImageUpload.js";
|
|
30
|
+
import { default as le } from "./vue/KvImpactDashboardHeader.js";
|
|
31
|
+
import { default as se } from "./vue/KvImpactVerticalSelector.js";
|
|
32
|
+
import { default as de } from "./vue/KvInlineActivityCard.js";
|
|
33
|
+
import { default as xe } from "./vue/KvInlineActivityFeed.js";
|
|
34
|
+
import { default as ne } from "./vue/KvIntroductionLoanCard.js";
|
|
35
|
+
import { default as Ae } from "./vue/KvLendAmountButton.js";
|
|
36
|
+
import { default as Ce } from "./vue/KvLendCta.js";
|
|
37
|
+
import { default as ce } from "./vue/KvLightbox.js";
|
|
38
|
+
import { default as Le } from "./vue/KvLineGraph.js";
|
|
39
|
+
import { default as Ee } from "./vue/KvLoanActivities.js";
|
|
40
|
+
import { default as Me } from "./vue/KvLoanBookmark.js";
|
|
41
|
+
import { default as Oe } from "./vue/KvLoanCallouts.js";
|
|
42
|
+
import { KV_LOAN_INFO_CARD_FRAGMENT as ge, default as Pe } from "./vue/KvLoanInfoCard.js";
|
|
43
|
+
import { default as Fe } from "./vue/KvLoanProgressGroup.js";
|
|
44
|
+
import { default as De } from "./vue/KvLoanTag.js";
|
|
45
|
+
import { default as Ve } from "./vue/KvLoanTeamPick.js";
|
|
46
|
+
import { default as Ue } from "./vue/KvLoanUse.js";
|
|
47
|
+
import { default as ke } from "./vue/KvLoadingPlaceholder.js";
|
|
48
|
+
import { default as We } from "./vue/KvLoadingSpinner.js";
|
|
49
|
+
import { default as ze } from "./vue/KvMap.js";
|
|
50
|
+
import { default as Qe } from "./vue/KvMaterialIcon.js";
|
|
51
|
+
import { default as Ze } from "./vue/KvSimpleMap.js";
|
|
52
|
+
import { default as Je } from "./vue/KvPageContainer.js";
|
|
53
|
+
import { default as $e } from "./vue/KvPagination.js";
|
|
54
|
+
import { default as oo } from "./vue/KvPieChart.js";
|
|
55
|
+
import { default as to } from "./vue/KvPieChartV2.js";
|
|
56
|
+
import { default as fo } from "./vue/KvPill.js";
|
|
57
|
+
import { default as mo } from "./vue/KvPopper.js";
|
|
58
|
+
import { default as po } from "./vue/KvProgressBar.js";
|
|
59
|
+
import { default as xo } from "./vue/KvProgressCircle.js";
|
|
60
|
+
import { default as no } from "./vue/KvPulsingDot.js";
|
|
61
|
+
import { default as Ao } from "./vue/KvRadio.js";
|
|
62
|
+
import { default as Co } from "./vue/KvSelect.js";
|
|
63
|
+
import { default as co } from "./vue/KvSideSheet.js";
|
|
64
|
+
import { default as Lo } from "./vue/KvStackedBarGraph.js";
|
|
65
|
+
import { default as Eo } from "./vue/KvSwitch.js";
|
|
66
|
+
import { default as Mo } from "./vue/KvTab.js";
|
|
67
|
+
import { default as Oo } from "./vue/KvTabPanel.js";
|
|
68
|
+
import { default as go } from "./vue/KvTabs.js";
|
|
69
|
+
import { default as Go } from "./vue/KvTextInput.js";
|
|
70
|
+
import { default as ho } from "./vue/KvTextLink.js";
|
|
71
|
+
import { default as Bo } from "./vue/KvThemeProvider.js";
|
|
72
|
+
import { default as yo } from "./vue/KvToast.js";
|
|
73
|
+
import { default as bo } from "./vue/KvTooltip.js";
|
|
74
|
+
import { default as wo } from "./vue/KvTreeMapChart.js";
|
|
75
|
+
import { default as Ho } from "./vue/KvUserAvatar.js";
|
|
76
|
+
import { default as jo } from "./vue/KvUtilityMenu.js";
|
|
77
|
+
import { default as Yo } from "./vue/KvVerticalCarousel.js";
|
|
78
|
+
import { default as qo } from "./vue/KvVotingCard.js";
|
|
79
|
+
import { default as Xo } from "./vue/KvVotingCardV2.js";
|
|
80
|
+
import { default as er } from "./vue/KvWideLoanCard.js";
|
|
81
|
+
import { default as rr } from "./vue/KvAtbModal.js";
|
|
82
|
+
import { default as ar } from "./vue/KvSecondaryNav.js";
|
|
83
|
+
import { default as lr } from "./vue/KvWwwHeader.js";
|
|
84
|
+
import { default as sr } from "./vue/KvWwwHeaderBasic/KvWwwHeaderBasic.js";
|
|
85
|
+
import { default as dr, Mash as ur } from "./utils/Alea.js";
|
|
86
|
+
import { groupBy as Kr, sortBy as nr } from "./utils/arrayUtils.js";
|
|
87
|
+
import { useAttrs as Ar } from "./utils/attrs.js";
|
|
88
|
+
import { carouselUtil as Cr } from "./utils/carousels.js";
|
|
89
|
+
import { abc as cr, indexIn as Tr, startsWith as Lr } from "./utils/comparators.js";
|
|
90
|
+
import { debounce as Er } from "./utils/debounce.js";
|
|
91
|
+
import { useEventListener as Mr } from "./utils/event.js";
|
|
92
|
+
import { collapse as Or, expand as Sr } from "./utils/expander.js";
|
|
93
|
+
import { DEFAULT_ACCEPTED_IMAGE_TYPES as Pr, cropResizeImageToDataUrl as Gr, getKivaImageUrl as Fr, isLegacyPlaceholderAvatar as hr, randomizedUserAvatarClass as Dr, validateImageFile as Br } from "./utils/imageUtils.js";
|
|
94
|
+
import { LOAN_CALLOUTS_FRAGMENT as yr, LOAN_GEOCODE_FRAGMENT as Ur, LOAN_PROGRESS_FRAGMENT as br, loanCardComputedProperties as kr, loanCardMethods as wr } from "./utils/loanCard.js";
|
|
95
|
+
import { BALANCE_CAMPAIGN as Hr, BASE_CAMPAIGN as zr, ERL_COOKIE_NAME as jr, NO_BALANCE_CAMPAIGN as Qr, TOP_UP_CAMPAIGN as Yr, getDropdownPriceArray as Zr, getLendCtaSelectedOption as qr, isBetween25And50 as Jr, isLessThan25 as Xr, truncateStringByWords as $r } from "./utils/loanUtils.js";
|
|
96
|
+
import { animationCoordinator as ot, computeMapCenter as rt, computeMapZoom as tt, generateMapMarkers as at, getCoordinatesBetween as ft, getCountryColor as lt, getLoansIntervals as mt } from "./utils/mapUtils.js";
|
|
97
|
+
import { lockPrintSingleEl as pt, unlockPrintSingleEl as dt } from "./utils/printing.js";
|
|
98
|
+
import { lockScroll as xt, lockScrollSmallOnly as Kt, unlockScroll as nt, unlockScrollSmallOnly as vt } from "./utils/scrollLock.js";
|
|
99
|
+
import { buildTailwindClassName as it, headerNumberCase as Ct, kebabCase as _t, removeObjectProperty as ct } from "./utils/themeUtils.js";
|
|
100
|
+
import { throttle as Lt } from "./utils/throttle.js";
|
|
101
|
+
import { isTargetElement as Et, offBodyTouchstart as Rt, onBodyTouchstart as Mt } from "./utils/touchEvents.js";
|
|
102
|
+
import { getTreemap as Ot } from "./utils/treemap.js";
|
|
103
|
+
import { KvBlueskyIcon as gt } from "./assets/icons/bluesky.js";
|
|
104
|
+
import { KV_CLASSIC_LOAN_CARD_FRAGMENT as Gt, KV_CLASSIC_LOAN_CARD_USER_FRAGMET as Ft } from "./vue/KvClassicLoanCard2.js";
|
|
105
|
+
import { KV_COMPACT_LOAN_CARD_FRAGMENT as Dt, KV_COMPACT_LOAN_CARD_USER_FRAGMENT as Bt } from "./vue/KvCompactLoanCard2.js";
|
|
106
|
+
import { KV_INTRODUCTION_LOAN_CARD_FRAGMENT as yt, KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT as Ut } from "./vue/KvIntroductionLoanCard2.js";
|
|
107
|
+
import { KV_LEND_CTA_FRAGMENT as kt, KV_LEND_CTA_USER_FRAGMENT as wt } from "./vue/KvLendCta2.js";
|
|
108
|
+
import { KV_LOAN_ACTIVITIES_FRAGMENT as Ht } from "./vue/KvLoanActivities2.js";
|
|
109
|
+
import { KV_LOAN_BOOKMARK_FRAGMENT as jt } from "./vue/KvLoanBookmark2.js";
|
|
110
|
+
import { KV_LOAN_TAG_FRAGMENT as Yt } from "./vue/KvLoanTag2.js";
|
|
111
|
+
import { KV_LOAN_USE_FRAGMENT as qt } from "./vue/KvLoanUse2.js";
|
|
112
|
+
import { KV_WIDE_LOAN_CARD_FRAGMENT as Xt, KV_WIDE_LOAN_CARD_USER_FRAGMENT as $t } from "./vue/KvWideLoanCard2.js";
|
|
112
113
|
export {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
114
|
+
dr as Alea,
|
|
115
|
+
Hr as BALANCE_CAMPAIGN,
|
|
116
|
+
zr as BASE_CAMPAIGN,
|
|
117
|
+
Pr as DEFAULT_ACCEPTED_IMAGE_TYPES,
|
|
118
|
+
jr as ERL_COOKIE_NAME,
|
|
119
|
+
Gt as KV_CLASSIC_LOAN_CARD_FRAGMENT,
|
|
120
|
+
Ft as KV_CLASSIC_LOAN_CARD_USER_FRAGMET,
|
|
121
|
+
Dt as KV_COMPACT_LOAN_CARD_FRAGMENT,
|
|
122
|
+
Bt as KV_COMPACT_LOAN_CARD_USER_FRAGMENT,
|
|
123
|
+
yt as KV_INTRODUCTION_LOAN_CARD_FRAGMENT,
|
|
124
|
+
Ut as KV_INTRODUCTION_LOAN_CARD_USER_FRAGMENT,
|
|
125
|
+
kt as KV_LEND_CTA_FRAGMENT,
|
|
126
|
+
wt as KV_LEND_CTA_USER_FRAGMENT,
|
|
127
|
+
Ht as KV_LOAN_ACTIVITIES_FRAGMENT,
|
|
128
|
+
jt as KV_LOAN_BOOKMARK_FRAGMENT,
|
|
129
|
+
ge as KV_LOAN_INFO_CARD_FRAGMENT,
|
|
130
|
+
Yt as KV_LOAN_TAG_FRAGMENT,
|
|
131
|
+
qt as KV_LOAN_USE_FRAGMENT,
|
|
132
|
+
Xt as KV_WIDE_LOAN_CARD_FRAGMENT,
|
|
133
|
+
$t as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
|
|
133
134
|
r as KvAccordionItem,
|
|
134
135
|
a as KvActivityRow,
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
rr as KvAtbModal,
|
|
137
|
+
gt as KvBlueskyIcon,
|
|
137
138
|
l as KvBorrowerImage,
|
|
138
|
-
|
|
139
|
+
s as KvButton,
|
|
139
140
|
d as KvCardFrame,
|
|
140
141
|
x as KvCarousel,
|
|
141
142
|
n as KvCartModal,
|
|
@@ -149,120 +150,121 @@ export {
|
|
|
149
150
|
G as KvCommentsHeartButton,
|
|
150
151
|
h as KvCommentsList,
|
|
151
152
|
B as KvCommentsListItem,
|
|
152
|
-
|
|
153
|
+
y as KvCommentsReplyButton,
|
|
153
154
|
M as KvCompactLoanCard,
|
|
154
|
-
|
|
155
|
+
b as KvContentfulImg,
|
|
155
156
|
w as KvCountdownTimer,
|
|
156
157
|
H as KvDatePicker,
|
|
157
158
|
j as KvExpandable,
|
|
158
159
|
Y as KvExpandableQuestion,
|
|
159
160
|
q as KvFlag,
|
|
160
|
-
X as
|
|
161
|
-
ee as
|
|
162
|
-
re as
|
|
163
|
-
ae as
|
|
164
|
-
le as
|
|
165
|
-
|
|
166
|
-
de as
|
|
167
|
-
xe as
|
|
168
|
-
ne as
|
|
169
|
-
Ae as
|
|
170
|
-
Ce as
|
|
171
|
-
ce as
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
Ee as
|
|
176
|
-
Me as
|
|
177
|
-
|
|
178
|
-
Pe as
|
|
179
|
-
Fe as
|
|
180
|
-
De as
|
|
181
|
-
Ve as
|
|
182
|
-
|
|
183
|
-
ze as
|
|
184
|
-
|
|
185
|
-
Je as
|
|
186
|
-
$e as
|
|
187
|
-
oo as
|
|
188
|
-
to as
|
|
189
|
-
fo as
|
|
190
|
-
mo as
|
|
191
|
-
|
|
192
|
-
xo as
|
|
193
|
-
no as
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
Co as
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
Lo as
|
|
200
|
-
Eo as
|
|
201
|
-
Mo as
|
|
202
|
-
Oo as
|
|
203
|
-
go as
|
|
204
|
-
Go as
|
|
205
|
-
ho as
|
|
206
|
-
Bo as
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
wo as
|
|
210
|
-
Ho as
|
|
211
|
-
jo as
|
|
212
|
-
Yo as
|
|
213
|
-
qo as
|
|
214
|
-
Xo as
|
|
215
|
-
|
|
216
|
-
lr as
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
Ur as
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
kr as
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
161
|
+
X as KvFormAssemblyForm,
|
|
162
|
+
ee as KvGrid,
|
|
163
|
+
re as KvIconButton,
|
|
164
|
+
ae as KvImageUpload,
|
|
165
|
+
le as KvImpactDashboardHeader,
|
|
166
|
+
se as KvImpactVerticalSelector,
|
|
167
|
+
de as KvInlineActivityCard,
|
|
168
|
+
xe as KvInlineActivityFeed,
|
|
169
|
+
ne as KvIntroductionLoanCard,
|
|
170
|
+
Ae as KvLendAmountButton,
|
|
171
|
+
Ce as KvLendCta,
|
|
172
|
+
ce as KvLightbox,
|
|
173
|
+
Le as KvLineGraph,
|
|
174
|
+
ke as KvLoadingPlaceholder,
|
|
175
|
+
We as KvLoadingSpinner,
|
|
176
|
+
Ee as KvLoanActivities,
|
|
177
|
+
Me as KvLoanBookmark,
|
|
178
|
+
Oe as KvLoanCallouts,
|
|
179
|
+
Pe as KvLoanInfoCard,
|
|
180
|
+
Fe as KvLoanProgressGroup,
|
|
181
|
+
De as KvLoanTag,
|
|
182
|
+
Ve as KvLoanTeamPick,
|
|
183
|
+
Ue as KvLoanUse,
|
|
184
|
+
ze as KvMap,
|
|
185
|
+
Qe as KvMaterialIcon,
|
|
186
|
+
Je as KvPageContainer,
|
|
187
|
+
$e as KvPagination,
|
|
188
|
+
oo as KvPieChart,
|
|
189
|
+
to as KvPieChartV2,
|
|
190
|
+
fo as KvPill,
|
|
191
|
+
mo as KvPopper,
|
|
192
|
+
po as KvProgressBar,
|
|
193
|
+
xo as KvProgressCircle,
|
|
194
|
+
no as KvPulsingDot,
|
|
195
|
+
Ao as KvRadio,
|
|
196
|
+
ar as KvSecondaryNav,
|
|
197
|
+
Co as KvSelect,
|
|
198
|
+
co as KvSideSheet,
|
|
199
|
+
Ze as KvSimpleMap,
|
|
200
|
+
Lo as KvStackedBarGraph,
|
|
201
|
+
Eo as KvSwitch,
|
|
202
|
+
Mo as KvTab,
|
|
203
|
+
Oo as KvTabPanel,
|
|
204
|
+
go as KvTabs,
|
|
205
|
+
Go as KvTextInput,
|
|
206
|
+
ho as KvTextLink,
|
|
207
|
+
Bo as KvThemeProvider,
|
|
208
|
+
yo as KvToast,
|
|
209
|
+
bo as KvTooltip,
|
|
210
|
+
wo as KvTreeMapChart,
|
|
211
|
+
Ho as KvUserAvatar,
|
|
212
|
+
jo as KvUtilityMenu,
|
|
213
|
+
Yo as KvVerticalCarousel,
|
|
214
|
+
qo as KvVotingCard,
|
|
215
|
+
Xo as KvVotingCardV2,
|
|
216
|
+
er as KvWideLoanCard,
|
|
217
|
+
lr as KvWwwHeader,
|
|
218
|
+
sr as KvWwwHeaderBasic,
|
|
219
|
+
yr as LOAN_CALLOUTS_FRAGMENT,
|
|
220
|
+
Ur as LOAN_GEOCODE_FRAGMENT,
|
|
221
|
+
br as LOAN_PROGRESS_FRAGMENT,
|
|
222
|
+
ur as Mash,
|
|
223
|
+
Qr as NO_BALANCE_CAMPAIGN,
|
|
224
|
+
Yr as TOP_UP_CAMPAIGN,
|
|
225
|
+
cr as abc,
|
|
226
|
+
ot as animationCoordinator,
|
|
227
|
+
it as buildTailwindClassName,
|
|
228
|
+
Cr as carouselUtil,
|
|
229
|
+
Or as collapse,
|
|
230
|
+
rt as computeMapCenter,
|
|
231
|
+
tt as computeMapZoom,
|
|
232
|
+
Gr as cropResizeImageToDataUrl,
|
|
233
|
+
Er as debounce,
|
|
234
|
+
Sr as expand,
|
|
235
|
+
at as generateMapMarkers,
|
|
236
|
+
ft as getCoordinatesBetween,
|
|
237
|
+
lt as getCountryColor,
|
|
238
|
+
Zr as getDropdownPriceArray,
|
|
239
|
+
Fr as getKivaImageUrl,
|
|
240
|
+
qr as getLendCtaSelectedOption,
|
|
241
|
+
mt as getLoansIntervals,
|
|
242
|
+
Ot as getTreemap,
|
|
243
|
+
Kr as groupBy,
|
|
244
|
+
Ct as headerNumberCase,
|
|
245
|
+
Tr as indexIn,
|
|
246
|
+
Jr as isBetween25And50,
|
|
247
|
+
hr as isLegacyPlaceholderAvatar,
|
|
248
|
+
Xr as isLessThan25,
|
|
249
|
+
Et as isTargetElement,
|
|
250
|
+
_t as kebabCase,
|
|
251
|
+
kr as loanCardComputedProperties,
|
|
252
|
+
wr as loanCardMethods,
|
|
253
|
+
pt as lockPrintSingleEl,
|
|
254
|
+
xt as lockScroll,
|
|
255
|
+
Kt as lockScrollSmallOnly,
|
|
256
|
+
Rt as offBodyTouchstart,
|
|
257
|
+
Mt as onBodyTouchstart,
|
|
258
|
+
Dr as randomizedUserAvatarClass,
|
|
259
|
+
ct as removeObjectProperty,
|
|
260
|
+
nr as sortBy,
|
|
261
|
+
Lr as startsWith,
|
|
262
|
+
Lt as throttle,
|
|
263
|
+
$r as truncateStringByWords,
|
|
264
|
+
dt as unlockPrintSingleEl,
|
|
265
|
+
nt as unlockScroll,
|
|
266
|
+
vt as unlockScrollSmallOnly,
|
|
267
|
+
Ar as useAttrs,
|
|
268
|
+
Mr as useEventListener,
|
|
269
|
+
Br as validateImageFile
|
|
268
270
|
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { defineComponent as R, ref as o, computed as x, watchEffect as $, onMounted as C, onUnmounted as E, openBlock as s, createElementBlock as d, createVNode as N, createCommentVNode as A } from "vue";
|
|
2
|
+
import H from "./KvLoadingSpinner.js";
|
|
3
|
+
const P = ["data-testid", "aria-busy"], Q = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "tw-w-full tw-flex tw-content-center tw-justify-center",
|
|
6
|
+
style: { "min-height": "200px" }
|
|
7
|
+
}, V = ["src", "height", "title"], k = "https://kiva.tfaforms.net", K = /* @__PURE__ */ R({
|
|
8
|
+
__name: "KvFormAssemblyForm",
|
|
9
|
+
props: {
|
|
10
|
+
/**
|
|
11
|
+
* The numeric FormAssembly form id. The iframe is not rendered until this is set.
|
|
12
|
+
*/
|
|
13
|
+
formAssemblyId: {
|
|
14
|
+
type: Number,
|
|
15
|
+
default: null
|
|
16
|
+
},
|
|
17
|
+
/**
|
|
18
|
+
* Additional query params to add to the form url, should include leading ?
|
|
19
|
+
* FormAssembly uses these to prefill fields. Callers that need tracking ids in the
|
|
20
|
+
* form are responsible for resolving them and merging them in here.
|
|
21
|
+
*/
|
|
22
|
+
additionalQueryParams: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: ""
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* Accessible name for the embedded form iframe. Describe the form's purpose,
|
|
28
|
+
* e.g. "Newsletter signup form".
|
|
29
|
+
*/
|
|
30
|
+
title: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: "FormAssembly form"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
emits: ["fa-form-loaded", "fa-form-submitted", "fa-form-closed"],
|
|
36
|
+
setup(m, { emit: F }) {
|
|
37
|
+
const I = (t) => Array.isArray(t) && typeof t[0] == "string" && typeof t[1] == "string", e = m, f = F, n = o(!0), c = o(null), u = o(null), S = x(() => e.formAssemblyId ? `kv-form-assembly-form-${e.formAssemblyId}` : "kv-form-assembly-form"), l = o(""), y = o(500), L = () => {
|
|
38
|
+
const r = new URLSearchParams((e.additionalQueryParams || "").replace(/^\?/, "")).toString();
|
|
39
|
+
return r ? `?${r}` : "";
|
|
40
|
+
}, g = () => {
|
|
41
|
+
typeof window > "u" || !(e != null && e.formAssemblyId) || (l.value = `${k}/${e.formAssemblyId}${L()}`);
|
|
42
|
+
};
|
|
43
|
+
$(() => {
|
|
44
|
+
c.value && g();
|
|
45
|
+
});
|
|
46
|
+
const _ = () => {
|
|
47
|
+
n.value && (n.value = !1, f("fa-form-loaded"));
|
|
48
|
+
}, v = (t) => {
|
|
49
|
+
var w, p, b, h;
|
|
50
|
+
if (t.origin !== k) return;
|
|
51
|
+
const r = (w = u.value) == null ? void 0 : w.contentWindow;
|
|
52
|
+
if (r && t.source !== r) return;
|
|
53
|
+
const a = (p = t == null ? void 0 : t.data) == null ? void 0 : p.type;
|
|
54
|
+
if (a === "fa_frame_loaded" && _(), a === "fa_frame_data" || a === "fa_form_page_change" || a === "fa_form_submitted") {
|
|
55
|
+
const i = ((b = t == null ? void 0 : t.data) == null ? void 0 : b.frameHeight) ?? 300;
|
|
56
|
+
y.value = i + 30;
|
|
57
|
+
}
|
|
58
|
+
if (a === "fa_form_closed" && f("fa-form-closed"), a === "fa_form_submitted") {
|
|
59
|
+
const i = ((h = t == null ? void 0 : t.data) == null ? void 0 : h.analytics) ?? null;
|
|
60
|
+
f("fa-form-submitted", {
|
|
61
|
+
analytics: i,
|
|
62
|
+
valid: I(i)
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
return C(() => {
|
|
67
|
+
window.addEventListener("message", v);
|
|
68
|
+
}), E(() => {
|
|
69
|
+
window.removeEventListener("message", v);
|
|
70
|
+
}), (t, r) => (s(), d("div", {
|
|
71
|
+
ref_key: "formContainerRef",
|
|
72
|
+
ref: c,
|
|
73
|
+
class: "kv-form-assembly-form tw-w-full",
|
|
74
|
+
"data-testid": S.value,
|
|
75
|
+
"aria-busy": n.value
|
|
76
|
+
}, [
|
|
77
|
+
n.value ? (s(), d("div", Q, [
|
|
78
|
+
N(H, { class: "tw-self-center" })
|
|
79
|
+
])) : A("", !0),
|
|
80
|
+
l.value ? (s(), d("iframe", {
|
|
81
|
+
key: 1,
|
|
82
|
+
ref_key: "iFrameRef",
|
|
83
|
+
ref: u,
|
|
84
|
+
class: "tw-mx-auto tw-w-full",
|
|
85
|
+
src: l.value,
|
|
86
|
+
height: y.value,
|
|
87
|
+
title: m.title,
|
|
88
|
+
frameborder: "0",
|
|
89
|
+
onLoad: _
|
|
90
|
+
}, null, 40, V)) : A("", !0)
|
|
91
|
+
], 8, P));
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
export {
|
|
95
|
+
K as default
|
|
96
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
formAssemblyId: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
additionalQueryParams: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
title: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
"fa-form-loaded": () => any;
|
|
16
|
+
"fa-form-submitted": (payload: {
|
|
17
|
+
analytics: unknown[] | null;
|
|
18
|
+
valid: boolean;
|
|
19
|
+
}) => any;
|
|
20
|
+
"fa-form-closed": () => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
|
+
formAssemblyId: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: any;
|
|
25
|
+
};
|
|
26
|
+
additionalQueryParams: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
title: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
}>> & Readonly<{
|
|
35
|
+
"onFa-form-loaded"?: () => any;
|
|
36
|
+
"onFa-form-submitted"?: (payload: {
|
|
37
|
+
analytics: unknown[] | null;
|
|
38
|
+
valid: boolean;
|
|
39
|
+
}) => any;
|
|
40
|
+
"onFa-form-closed"?: () => any;
|
|
41
|
+
}>, {
|
|
42
|
+
title: string;
|
|
43
|
+
formAssemblyId: number;
|
|
44
|
+
additionalQueryParams: string;
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
46
|
+
formContainerRef: HTMLDivElement;
|
|
47
|
+
iFrameRef: HTMLIFrameElement;
|
|
48
|
+
}, HTMLDivElement>;
|
|
49
|
+
export default _default;
|
|
@@ -90,8 +90,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
90
90
|
disabled: boolean;
|
|
91
91
|
size: ButtonSize;
|
|
92
92
|
modelValue: boolean;
|
|
93
|
-
showBorder: boolean;
|
|
94
93
|
borderColor: BorderColor;
|
|
94
|
+
showBorder: boolean;
|
|
95
95
|
showBackground: boolean;
|
|
96
96
|
toggleable: boolean;
|
|
97
97
|
activeIcon: string;
|
package/dist/vue/KvMap2.js
CHANGED
|
@@ -280,7 +280,7 @@ const p = {
|
|
|
280
280
|
},
|
|
281
281
|
initializeMap() {
|
|
282
282
|
const e = document.createElement("script"), t = document.createElement("link");
|
|
283
|
-
e.setAttribute("async", ""), e.setAttribute("defer", ""), t.setAttribute("rel", "stylesheet"), this.checkWebGL() ? (e.setAttribute("vmid", `maplibregljs${this.mapId}`), t.setAttribute("vmid", `maplibreglcss${this.mapId}`), e.setAttribute("src", "https://unpkg.com/maplibre-gl@
|
|
283
|
+
e.setAttribute("async", ""), e.setAttribute("defer", ""), t.setAttribute("rel", "stylesheet"), this.checkWebGL() ? (e.setAttribute("vmid", `maplibregljs${this.mapId}`), t.setAttribute("vmid", `maplibreglcss${this.mapId}`), e.setAttribute("src", "https://unpkg.com/maplibre-gl@5.24.0/dist/maplibre-gl.js"), t.setAttribute("href", "https://unpkg.com/maplibre-gl@5.24.0/dist/maplibre-gl.css"), this.testDelayedGlobalLibrary("maplibregl").then((i) => {
|
|
284
284
|
i.loaded && !this.mapLoaded && !this.useLeaflet && this.effectiveLat != null && this.effectiveLong != null && (this.initializeMapLibre(), this.mapLibreReady = !0);
|
|
285
285
|
})) : (e.setAttribute("vmid", `leafletjs${this.mapId}`), t.setAttribute("vmid", `leaftletcss${this.mapId}`), e.setAttribute("src", "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"), t.setAttribute("href", "https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"), this.testDelayedGlobalLibrary("L").then((i) => {
|
|
286
286
|
i.loaded && !this.mapLoaded && this.effectiveLat != null && this.effectiveLong != null && (this.initializeLeaflet(), this.leafletReady = !0);
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export { default as KvDatePicker } from './KvDatePicker.vue';
|
|
|
25
25
|
export { default as KvExpandable } from './KvExpandable.vue';
|
|
26
26
|
export { default as KvExpandableQuestion } from './KvExpandableQuestion.vue';
|
|
27
27
|
export { default as KvFlag } from './KvFlag.vue';
|
|
28
|
+
export { default as KvFormAssemblyForm } from './KvFormAssemblyForm.vue';
|
|
28
29
|
export { default as KvGrid } from './KvGrid.vue';
|
|
29
30
|
export { default as KvIconButton } from './KvIconButton.vue';
|
|
30
31
|
export { default as KvImageUpload } from './KvImageUpload.vue';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.23.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@babel/preset-react": "^7.24.7",
|
|
34
34
|
"@babel/preset-typescript": "^7.24.7",
|
|
35
35
|
"@figma/code-connect": "^1.4.9",
|
|
36
|
-
"@kiva/kv-tokens": "^4.4.
|
|
36
|
+
"@kiva/kv-tokens": "^4.4.1",
|
|
37
37
|
"@kiva/vite-plugin-vue-lib-css": "^2.0.0",
|
|
38
38
|
"@laynezh/vite-plugin-lib-assets": "^0.6.1",
|
|
39
39
|
"@mdi/js": "^7.4.47",
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"dependencies": {
|
|
114
114
|
"fuse.js": "^7.1.0"
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "ce062db204e75c031aff5245157e0a2300467ced"
|
|
117
117
|
}
|