@kiva/kv-components 8.19.2 → 8.20.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/AGENTS.md +4 -0
- package/dist/data/ne_110m_admin_0_countries.json.js +1 -1
- package/dist/utils/Alea.js +2 -2
- package/dist/utils/mapUtils.js +5 -7
- package/dist/vendor/aria-hidden/dist/es2015/index.js +23 -23
- package/dist/vendor/popper.js/dist/esm/popper.js +6 -6
- package/dist/vue/KvAtbModal.css +1 -1
- package/dist/vue/KvCarousel.css +1 -1
- package/dist/vue/KvCarousel2.js +5 -5
- package/dist/vue/KvCartModal.css +1 -1
- package/dist/vue/KvCartModal2.js +7 -7
- package/dist/vue/KvCheckbox.js +3 -3
- package/dist/vue/KvClassicLoanCard.css +1 -1
- package/dist/vue/KvClassicLoanCard.js +2 -2
- package/dist/vue/KvClassicLoanCard.vue.d.ts +29 -12
- package/dist/vue/KvClassicLoanCard2.js +52 -46
- package/dist/vue/KvCommentsContainer2.js +7 -7
- package/dist/vue/KvCommentsListItem2.js +11 -11
- package/dist/vue/KvCompactLoanCard.css +1 -1
- package/dist/vue/KvCompactLoanCard.js +147 -147
- package/dist/vue/KvCompactLoanCard.vue.d.ts +11 -6
- package/dist/vue/KvCompactLoanCard2.js +15 -15
- package/dist/vue/KvContentfulImg.js +3 -3
- package/dist/vue/KvDatePicker.vue.d.ts +5 -2
- package/dist/vue/KvDatePicker2.js +9 -5
- package/dist/vue/KvExpandable2.js +3 -3
- package/dist/vue/KvExpandableQuestion2.js +3 -3
- package/dist/vue/KvFlag.js +5 -5
- package/dist/vue/KvIconButton.js +4 -4
- package/dist/vue/KvImageUpload.js +1 -1
- package/dist/vue/KvImageUpload2.js +3 -3
- package/dist/vue/KvIntroductionLoanCard.css +1 -1
- package/dist/vue/KvIntroductionLoanCard.js +11 -11
- package/dist/vue/KvIntroductionLoanCard.vue.d.ts +8 -4
- package/dist/vue/KvIntroductionLoanCard2.js +34 -31
- package/dist/vue/KvLendAmountButton.vue.d.ts +4 -2
- package/dist/vue/KvLendAmountButton2.js +3 -0
- package/dist/vue/KvLendCta.css +1 -1
- package/dist/vue/KvLendCta.js +9 -9
- package/dist/vue/KvLendCta.vue.d.ts +9 -4
- package/dist/vue/KvLendCta2.js +11 -7
- package/dist/vue/KvLightbox2.js +4 -4
- package/dist/vue/KvLoanActivities.js +4 -4
- package/dist/vue/KvLoanActivities.vue.d.ts +9 -4
- package/dist/vue/KvLoanActivities2.js +13 -13
- package/dist/vue/KvLoanBookmark.vue.d.ts +4 -2
- package/dist/vue/KvLoanBookmark2.js +8 -5
- package/dist/vue/KvLoanInfoCard.css +1 -1
- package/dist/vue/KvLoanInfoCard.js +2 -2
- package/dist/vue/KvLoanTag.js +9 -9
- package/dist/vue/KvLoanTag2.js +1 -1
- package/dist/vue/KvMap.vue.d.ts +4 -2
- package/dist/vue/KvMap2.js +9 -6
- package/dist/vue/KvPagination.vue.d.ts +4 -2
- package/dist/vue/KvPagination2.js +7 -4
- package/dist/vue/KvPieChartV2.css +1 -1
- package/dist/vue/KvPieChartV22.js +3 -3
- package/dist/vue/KvPopper2.js +4 -4
- package/dist/vue/KvRadio.js +1 -1
- package/dist/vue/KvSecondaryNav.js +25 -25
- package/dist/vue/KvSecondaryNav2.js +8 -8
- package/dist/vue/KvSelect.js +12 -12
- package/dist/vue/KvSideSheet.js +1 -1
- package/dist/vue/KvSideSheet2.js +3 -3
- package/dist/vue/KvSimpleMap.css +1 -1
- package/dist/vue/KvSimpleMap.js +2 -2
- package/dist/vue/KvSimpleMap2.js +1 -0
- package/dist/vue/KvSwitch.js +1 -1
- package/dist/vue/KvTabs.vue.d.ts +4 -2
- package/dist/vue/KvTabs2.js +17 -14
- package/dist/vue/KvTextInput.js +1 -1
- package/dist/vue/KvTextInput2.js +3 -3
- package/dist/vue/KvThemeProvider.css +1 -1
- package/dist/vue/KvTooltip.css +1 -1
- package/dist/vue/KvTooltip.js +7 -7
- package/dist/vue/KvTooltip2.js +22 -22
- package/dist/vue/KvTreeMapChart.css +1 -1
- package/dist/vue/KvVerticalCarousel2.js +5 -5
- package/dist/vue/KvVotingCard.css +1 -1
- package/dist/vue/KvVotingCard.js +11 -11
- package/dist/vue/KvVotingCard.vue.d.ts +5 -2
- package/dist/vue/KvVotingCard2.js +4 -0
- package/dist/vue/KvWideLoanCard.css +1 -1
- package/dist/vue/KvWideLoanCard.js +4 -4
- package/dist/vue/KvWideLoanCard.vue.d.ts +18 -8
- package/dist/vue/KvWideLoanCard2.js +39 -35
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +1 -1
- package/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js +5 -5
- package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +3 -3
- package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +4 -4
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +9 -9
- package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu2.js +3 -3
- package/dist/vue/KvWwwHeaderBasic/LinkBar.css +1 -1
- package/dist/vue/KvWwwHeaderBasic/LinkBar2.js +3 -3
- package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.css +1 -1
- package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.js +1 -1
- package/dist/vue/KvWwwHeaderBasic/SearchBar2.js +6 -6
- package/docs/code-connect.md +266 -0
- package/figma.config.json +6 -0
- package/package.json +6 -21
- package/tsconfig.json +2 -1
- package/vite.config.ts +3 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.loan-card-use[data-v-
|
|
1
|
+
.loan-card-use[data-v-7478412d]:hover,.loan-card-use[data-v-7478412d]:focus{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1))}.loan-card-active-hover:hover .loan-card-use[data-v-7478412d]{text-decoration-line:underline}.loan-card-progress[data-v-7478412d],.loan-card-progress[data-v-7478412d]:hover,.loan-card-progress[data-v-7478412d]:focus{text-decoration-line:none}.loan-callouts[data-v-7478412d] div{height:auto;flex-wrap:wrap}
|
|
@@ -18,7 +18,7 @@ const B = { class: "loan-card-active-hover tw-flex-1 tw-min-w-[275px] md:tw-min-
|
|
|
18
18
|
class: "tw-w-full tw-pt-1 tw-pr-1"
|
|
19
19
|
};
|
|
20
20
|
function O(h, a, t, e, j, g) {
|
|
21
|
-
const w = r("kv-loading-placeholder"), v = r("kv-borrower-image"),
|
|
21
|
+
const w = r("kv-loading-placeholder"), v = r("kv-borrower-image"), u = r("kv-material-icon"), b = r("kv-loan-bookmark"), x = r("kv-loan-tag"), y = r("kv-loan-use"), L = r("kv-loan-callouts"), M = r("kv-loan-progress-group"), C = r("kv-lend-cta");
|
|
22
22
|
return o(), i("div", {
|
|
23
23
|
class: _(["tw-flex tw-flex-row tw-flex-wrap tw-bg-white tw-rounded tw-w-full tw-pb-1 tw-p-1 tw-gap-1 tw-items-center", { "tw-pointer-events-none": e.isLoading }]),
|
|
24
24
|
"data-testid": "loan-card",
|
|
@@ -49,7 +49,7 @@ function O(h, a, t, e, j, g) {
|
|
|
49
49
|
}, null, 8, ["alt", "aspect-ratio", "default-image", "hash", "images", "photo-path"]),
|
|
50
50
|
e.countryName ? (o(), i("div", E, [
|
|
51
51
|
s("p", T, [
|
|
52
|
-
d(
|
|
52
|
+
d(u, {
|
|
53
53
|
class: "tw-h-2 tw-w-2",
|
|
54
54
|
icon: e.mdiMapMarker
|
|
55
55
|
}, null, 8, ["icon"]),
|
|
@@ -59,7 +59,7 @@ function O(h, a, t, e, j, g) {
|
|
|
59
59
|
]),
|
|
60
60
|
_: 1
|
|
61
61
|
}, 8, ["to", "href"])),
|
|
62
|
-
t.isVisitor ? c("", !0) : (o(), n(
|
|
62
|
+
t.isVisitor ? c("", !0) : (o(), n(b, {
|
|
63
63
|
key: 0,
|
|
64
64
|
"loan-id": t.loanId,
|
|
65
65
|
"is-bookmarked": t.isBookmarked,
|
|
@@ -186,7 +186,7 @@ function O(h, a, t, e, j, g) {
|
|
|
186
186
|
])
|
|
187
187
|
], 2);
|
|
188
188
|
}
|
|
189
|
-
const X = /* @__PURE__ */ R(P, [["render", O], ["__scopeId", "data-v-
|
|
189
|
+
const X = /* @__PURE__ */ R(P, [["render", O], ["__scopeId", "data-v-7478412d"]]);
|
|
190
190
|
export {
|
|
191
191
|
p as KV_WIDE_LOAN_CARD_FRAGMENT,
|
|
192
192
|
$ as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
|
|
@@ -122,7 +122,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
122
122
|
width: any;
|
|
123
123
|
viewSize: number;
|
|
124
124
|
}[];
|
|
125
|
-
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
|
125
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("add-to-basket" | "toggle-bookmark")[], "add-to-basket" | "toggle-bookmark", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
126
126
|
loanId: {
|
|
127
127
|
type: NumberConstructor;
|
|
128
128
|
default: any;
|
|
@@ -211,7 +211,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
211
211
|
type: BooleanConstructor;
|
|
212
212
|
default: boolean;
|
|
213
213
|
};
|
|
214
|
-
}>> & Readonly<{
|
|
214
|
+
}>> & Readonly<{
|
|
215
|
+
"onAdd-to-basket"?: (...args: any[]) => any;
|
|
216
|
+
"onToggle-bookmark"?: (...args: any[]) => any;
|
|
217
|
+
}>, {
|
|
215
218
|
loan: Record<string, any>;
|
|
216
219
|
externalLinks: boolean;
|
|
217
220
|
customLoanDetails: boolean;
|
|
@@ -704,7 +707,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
704
707
|
clickPresetButton(selectedDollarAmount: any): void;
|
|
705
708
|
handleCheckout(): void;
|
|
706
709
|
isNarrowComponent(): boolean;
|
|
707
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
|
710
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("show-loan-details" | "add-to-basket")[], "show-loan-details" | "add-to-basket", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
708
711
|
loan: {
|
|
709
712
|
type: ObjectConstructor;
|
|
710
713
|
default: () => {};
|
|
@@ -801,7 +804,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
801
804
|
type: NumberConstructor;
|
|
802
805
|
default: number;
|
|
803
806
|
};
|
|
804
|
-
}>> & Readonly<{
|
|
807
|
+
}>> & Readonly<{
|
|
808
|
+
"onAdd-to-basket"?: (...args: any[]) => any;
|
|
809
|
+
"onShow-loan-details"?: (...args: any[]) => any;
|
|
810
|
+
}>, {
|
|
805
811
|
loan: Record<string, any>;
|
|
806
812
|
externalLinks: boolean;
|
|
807
813
|
customLoanDetails: boolean;
|
|
@@ -848,7 +854,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
848
854
|
buttonText(): string;
|
|
849
855
|
}, {
|
|
850
856
|
addToBasket(event: any): void;
|
|
851
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
|
857
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "add-to-basket"[], "add-to-basket", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
852
858
|
loanId: {
|
|
853
859
|
type: NumberConstructor;
|
|
854
860
|
default: any;
|
|
@@ -865,7 +871,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
865
871
|
type: BooleanConstructor;
|
|
866
872
|
default: boolean;
|
|
867
873
|
};
|
|
868
|
-
}>> & Readonly<{
|
|
874
|
+
}>> & Readonly<{
|
|
875
|
+
"onAdd-to-basket"?: (...args: any[]) => any;
|
|
876
|
+
}>, {
|
|
869
877
|
loanId: number;
|
|
870
878
|
showNow: boolean;
|
|
871
879
|
amountLeft: string | number;
|
|
@@ -1239,12 +1247,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1239
1247
|
}>, {}, {
|
|
1240
1248
|
mdiBookmarkOutline: string;
|
|
1241
1249
|
mdiBookmark: string;
|
|
1242
|
-
}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
|
1250
|
+
}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "toggle-bookmark"[], "toggle-bookmark", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1243
1251
|
isBookmarked: {
|
|
1244
1252
|
type: BooleanConstructor;
|
|
1245
1253
|
default: boolean;
|
|
1246
1254
|
};
|
|
1247
|
-
}>> & Readonly<{
|
|
1255
|
+
}>> & Readonly<{
|
|
1256
|
+
"onToggle-bookmark"?: (...args: any[]) => any;
|
|
1257
|
+
}>, {
|
|
1248
1258
|
isBookmarked: boolean;
|
|
1249
1259
|
}, {}, {
|
|
1250
1260
|
KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "graphql-tag";
|
|
2
2
|
import { LOAN_CALLOUTS_FRAGMENT as E, LOAN_GEOCODE_FRAGMENT as M, LOAN_PROGRESS_FRAGMENT as B, loanCardComputedProperties as R, loanCardMethods as S } from "../utils/loanCard.js";
|
|
3
3
|
import T from "./KvLoanUse.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
4
|
+
import k from "./KvBorrowerImage.js";
|
|
5
|
+
import w from "./KvLoanProgressGroup.js";
|
|
6
|
+
import O from "./KvLoanCallouts.js";
|
|
7
|
+
import D from "./KvLendCta.js";
|
|
8
|
+
import F from "./KvLoanBookmark.js";
|
|
9
|
+
import G from "./KvLoanTag.js";
|
|
10
10
|
import b from "./KvMaterialIcon.js";
|
|
11
11
|
import P from "./KvLoadingPlaceholder.js";
|
|
12
12
|
import { KV_LEND_CTA_FRAGMENT as U, KV_LEND_CTA_USER_FRAGMENT as V } from "./KvLendCta2.js";
|
|
13
13
|
import { KV_LOAN_TAG_FRAGMENT as W } from "./KvLoanTag2.js";
|
|
14
14
|
import { KV_LOAN_USE_FRAGMENT as $ } from "./KvLoanUse2.js";
|
|
15
15
|
import { KV_LOAN_BOOKMARK_FRAGMENT as z } from "./KvLoanBookmark2.js";
|
|
16
|
-
const
|
|
16
|
+
const ie = o`
|
|
17
17
|
fragment KvWideLoanCard on LoanBasic {
|
|
18
18
|
id
|
|
19
19
|
image {
|
|
@@ -34,7 +34,7 @@ const ne = a`
|
|
|
34
34
|
${E}
|
|
35
35
|
${M}
|
|
36
36
|
${B}
|
|
37
|
-
`,
|
|
37
|
+
`, ne = o`
|
|
38
38
|
fragment KvWideLoanCardUser on LoanBasic {
|
|
39
39
|
id
|
|
40
40
|
...KvLendCtaUser
|
|
@@ -45,15 +45,15 @@ const ne = a`
|
|
|
45
45
|
`, le = {
|
|
46
46
|
name: "KvWideLoanCard",
|
|
47
47
|
components: {
|
|
48
|
-
KvBorrowerImage:
|
|
48
|
+
KvBorrowerImage: k,
|
|
49
49
|
KvLoadingPlaceholder: P,
|
|
50
50
|
KvLoanUse: T,
|
|
51
|
-
KvLoanProgressGroup:
|
|
51
|
+
KvLoanProgressGroup: w,
|
|
52
52
|
KvMaterialIcon: b,
|
|
53
|
-
KvLendCta:
|
|
54
|
-
KvLoanTag:
|
|
55
|
-
KvLoanCallouts:
|
|
56
|
-
KvLoanBookmark:
|
|
53
|
+
KvLendCta: D,
|
|
54
|
+
KvLoanTag: G,
|
|
55
|
+
KvLoanCallouts: O,
|
|
56
|
+
KvLoanBookmark: F
|
|
57
57
|
},
|
|
58
58
|
props: {
|
|
59
59
|
loanId: {
|
|
@@ -145,50 +145,54 @@ const ne = a`
|
|
|
145
145
|
default: !1
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
|
-
|
|
148
|
+
emits: [
|
|
149
|
+
"toggle-bookmark",
|
|
150
|
+
"add-to-basket"
|
|
151
|
+
],
|
|
152
|
+
setup(e, { emit: a }) {
|
|
149
153
|
const {
|
|
150
154
|
allDataLoaded: t,
|
|
151
155
|
borrowerName: r,
|
|
152
|
-
city:
|
|
153
|
-
countryName:
|
|
156
|
+
city: i,
|
|
157
|
+
countryName: n,
|
|
154
158
|
distributionModel: l,
|
|
155
159
|
formattedLocation: d,
|
|
156
160
|
fundraisingPercent: s,
|
|
157
|
-
hasProgressData:
|
|
158
|
-
imageHash:
|
|
161
|
+
hasProgressData: m,
|
|
162
|
+
imageHash: u,
|
|
159
163
|
isLoading: f,
|
|
160
164
|
loanAmount: p,
|
|
161
165
|
loanBorrowerCount: L,
|
|
162
166
|
loanCallouts: c,
|
|
163
|
-
loanStatus:
|
|
164
|
-
loanUse:
|
|
165
|
-
mdiMapMarker:
|
|
166
|
-
readMorePath:
|
|
167
|
+
loanStatus: g,
|
|
168
|
+
loanUse: _,
|
|
169
|
+
mdiMapMarker: v,
|
|
170
|
+
readMorePath: A,
|
|
167
171
|
state: y,
|
|
168
172
|
tag: K,
|
|
169
173
|
unreservedAmount: N,
|
|
170
174
|
sharesAvailable: h
|
|
171
175
|
} = R(e), {
|
|
172
176
|
clickReadMore: C
|
|
173
|
-
} = S(e,
|
|
177
|
+
} = S(e, a);
|
|
174
178
|
return {
|
|
175
179
|
allDataLoaded: t,
|
|
176
180
|
borrowerName: r,
|
|
177
|
-
city:
|
|
178
|
-
countryName:
|
|
181
|
+
city: i,
|
|
182
|
+
countryName: n,
|
|
179
183
|
distributionModel: l,
|
|
180
184
|
formattedLocation: d,
|
|
181
185
|
fundraisingPercent: s,
|
|
182
|
-
hasProgressData:
|
|
183
|
-
imageHash:
|
|
186
|
+
hasProgressData: m,
|
|
187
|
+
imageHash: u,
|
|
184
188
|
isLoading: f,
|
|
185
189
|
loanAmount: p,
|
|
186
190
|
loanBorrowerCount: L,
|
|
187
191
|
loanCallouts: c,
|
|
188
|
-
loanStatus:
|
|
189
|
-
loanUse:
|
|
190
|
-
mdiMapMarker:
|
|
191
|
-
readMorePath:
|
|
192
|
+
loanStatus: g,
|
|
193
|
+
loanUse: _,
|
|
194
|
+
mdiMapMarker: v,
|
|
195
|
+
readMorePath: A,
|
|
192
196
|
state: y,
|
|
193
197
|
tag: K,
|
|
194
198
|
unreservedAmount: N,
|
|
@@ -218,7 +222,7 @@ const ne = a`
|
|
|
218
222
|
}
|
|
219
223
|
};
|
|
220
224
|
export {
|
|
221
|
-
|
|
222
|
-
|
|
225
|
+
ie as KV_WIDE_LOAN_CARD_FRAGMENT,
|
|
226
|
+
ne as KV_WIDE_LOAN_CARD_USER_FRAGMENT,
|
|
223
227
|
le as default
|
|
224
228
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import D from "./KvHeaderLinkBar2.js";
|
|
2
|
-
import { resolveComponent as s, resolveDirective as H, openBlock as a, createElementBlock as i, withDirectives as l,
|
|
2
|
+
import { resolveComponent as s, resolveDirective as H, openBlock as a, createElementBlock as i, withDirectives as l, withModifiers as c, normalizeClass as v, createVNode as r, createBlock as g, withCtx as k, createTextVNode as m, createElementVNode as w, createCommentVNode as y, normalizeStyle as f, vShow as h, toDisplayString as L } from "vue";
|
|
3
3
|
import "./KvHeaderLinkBar.css";
|
|
4
4
|
import B from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const U = ["href"], A = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as c, ref as t, inject as W, computed as d, watch as k, onMounted as $, onUnmounted as j } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { mdiMenu as z, mdiMagnify as F, mdiChevronDown as V, mdiAccountCircle as q } from "@mdi/js";
|
|
3
3
|
import G from "numeral";
|
|
4
4
|
import J from "@kiva/kv-tokens";
|
|
5
5
|
import Q from "../KvMaterialIcon.js";
|
|
@@ -140,10 +140,10 @@ const te = c(() => import("./KvHeaderMobileMenu.js")), T = c(() => import("./KvH
|
|
|
140
140
|
AVATAR_MENU_ID: u,
|
|
141
141
|
openMenuId: n,
|
|
142
142
|
numeral: G,
|
|
143
|
-
mdiAccountCircle:
|
|
144
|
-
mdiChevronDown:
|
|
145
|
-
mdiMagnify:
|
|
146
|
-
mdiMenu:
|
|
143
|
+
mdiAccountCircle: q,
|
|
144
|
+
mdiChevronDown: V,
|
|
145
|
+
mdiMagnify: F,
|
|
146
|
+
mdiMenu: z,
|
|
147
147
|
onHover: a,
|
|
148
148
|
avatar: m,
|
|
149
149
|
lendButton: U,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import s from "./KvHeaderTakeActionMenu2.js";
|
|
2
|
-
import { resolveComponent as p, resolveDirective as
|
|
2
|
+
import { resolveComponent as p, resolveDirective as c, openBlock as o, createElementBlock as u, withDirectives as a, createBlock as r, withCtx as i, createElementVNode as t } from "vue";
|
|
3
3
|
import d from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const v = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
|
|
5
5
|
function m(f, e, w, k, x, _) {
|
|
6
|
-
const l = p("kv-header-menu-link"), n =
|
|
7
|
-
return o(),
|
|
6
|
+
const l = p("kv-header-menu-link"), n = c("kv-track-event");
|
|
7
|
+
return o(), u("nav", v, [
|
|
8
8
|
a((o(), r(l, { href: "/lend-by-category" }, {
|
|
9
9
|
default: i(() => e[0] || (e[0] = [
|
|
10
10
|
t("div", null, [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import C from "./KvLendListMenu2.js";
|
|
2
|
-
import { resolveComponent as _, resolveDirective as
|
|
2
|
+
import { resolveComponent as _, resolveDirective as R, openBlock as t, createElementBlock as n, withDirectives as r, createElementVNode as l, createTextVNode as d, createVNode as c, createCommentVNode as p, withCtx as s, Fragment as k, renderList as v, toDisplayString as g, createBlock as m } from "vue";
|
|
3
3
|
import "./KvLendListMenu.css";
|
|
4
|
-
import
|
|
4
|
+
import A from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const M = { class: "tw-pb-2" }, S = {
|
|
6
6
|
key: 0,
|
|
7
7
|
href: "/monthlygood"
|
|
@@ -19,7 +19,7 @@ const M = { class: "tw-pb-2" }, S = {
|
|
|
19
19
|
class: "tw-block tw-py-1 tw-text-tertiary"
|
|
20
20
|
}, z = { key: 0 }, H = { key: 1 }, J = ["href"];
|
|
21
21
|
function O(Q, e, i, u, W, X) {
|
|
22
|
-
const L = _("kv-material-icon"), f = _("kv-tab"), h = _("kv-loading-placeholder"), y = _("kv-tab-panel"), w = _("kv-accordion-item"), N = _("kv-lend-menu-country-list"), T = _("kv-lend-menu-search-list"), x = _("kv-tabs"), a =
|
|
22
|
+
const L = _("kv-material-icon"), f = _("kv-tab"), h = _("kv-loading-placeholder"), y = _("kv-tab-panel"), w = _("kv-accordion-item"), N = _("kv-lend-menu-country-list"), T = _("kv-lend-menu-search-list"), x = _("kv-tabs"), a = R("kv-track-event");
|
|
23
23
|
return t(), n("div", M, [
|
|
24
24
|
i.showMGUpsellLink ? r((t(), n("a", S, [
|
|
25
25
|
l("span", I, [
|
|
@@ -201,7 +201,7 @@ function O(Q, e, i, u, W, X) {
|
|
|
201
201
|
}, 512)
|
|
202
202
|
]);
|
|
203
203
|
}
|
|
204
|
-
const te = /* @__PURE__ */
|
|
204
|
+
const te = /* @__PURE__ */ A(C, [["render", O], ["__scopeId", "data-v-e4a254c4"]]);
|
|
205
205
|
export {
|
|
206
206
|
te as default
|
|
207
207
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import x from "./KvLendMegaMenu2.js";
|
|
2
2
|
import { resolveComponent as m, resolveDirective as b, openBlock as n, createElementBlock as s, createElementVNode as t, normalizeStyle as S, withDirectives as r, createTextVNode as c, createVNode as d, createCommentVNode as u, withCtx as L, Fragment as w, renderList as k, toDisplayString as h, normalizeClass as C } from "vue";
|
|
3
3
|
import "./KvLendMegaMenu.css";
|
|
4
4
|
import N from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const T = { class: "lend-mega-menu tw-overflow-hidden tw-pb-3 lg:tw-pt-3" },
|
|
5
|
+
const T = { class: "lend-mega-menu tw-overflow-hidden tw-pb-3 lg:tw-pt-3" }, R = {
|
|
6
6
|
key: 0,
|
|
7
7
|
href: "/monthlygood"
|
|
8
|
-
},
|
|
8
|
+
}, M = { class: "tw-inline-flex tw-items-center tw-py-1 tw-mb-2 tw-gap-0.5 tw-font-medium tw-text-action" }, A = {
|
|
9
9
|
ref: "categoriesSection",
|
|
10
10
|
class: "tw-col-span-7"
|
|
11
11
|
}, O = { class: "tw-flex tw-gap-4 tw-whitespace-nowrap" }, I = { class: "tw-columns-2 tw-gap-4 tw-font-medium" }, V = ["href"], B = { class: "tw-font-medium" }, D = { class: "link-item" }, F = {
|
|
@@ -25,14 +25,14 @@ const T = { class: "lend-mega-menu tw-overflow-hidden tw-pb-3 lg:tw-pt-3" }, A =
|
|
|
25
25
|
class: "tw-text-secondary tw-py-1 tw-inline-block"
|
|
26
26
|
}, Q = ["href"], W = { class: "tw-col-span-2" }, X = { class: "tw-col-span-8 tw-flex tw-flex-col" }, Y = { class: "tw-flex tw-whitespace-nowrap tw-h-full" }, Z = { class: "tw-font-medium" }, $ = ["aria-pressed", "onClick"];
|
|
27
27
|
function ee(te, e, o, i, ne, se) {
|
|
28
|
-
const _ = m("kv-material-icon"), y = m("kv-loading-placeholder"), f = m("kv-lend-menu-search-list"), p = m("kv-lend-menu-country-list"),
|
|
28
|
+
const _ = m("kv-material-icon"), y = m("kv-loading-placeholder"), f = m("kv-lend-menu-search-list"), p = m("kv-lend-menu-country-list"), g = m("kv-grid"), a = b("kv-track-event");
|
|
29
29
|
return n(), s("div", T, [
|
|
30
30
|
t("div", {
|
|
31
31
|
style: S(i.computedStyle),
|
|
32
32
|
class: "tw-transition tw-duration-1000 tw-ease-in-out"
|
|
33
33
|
}, [
|
|
34
|
-
o.showMGUpsellLink ? r((n(), s("a",
|
|
35
|
-
t("span",
|
|
34
|
+
o.showMGUpsellLink ? r((n(), s("a", R, [
|
|
35
|
+
t("span", M, [
|
|
36
36
|
e[2] || (e[2] = c(" Lend monthly ")),
|
|
37
37
|
d(_, {
|
|
38
38
|
icon: i.mdiArrowRight,
|
|
@@ -42,9 +42,9 @@ function ee(te, e, o, i, ne, se) {
|
|
|
42
42
|
])), [
|
|
43
43
|
[a, ["TopNav", "click-Lend-Menu-Monthly-Good", "Lend-monthly"]]
|
|
44
44
|
]) : u("", !0),
|
|
45
|
-
d(
|
|
45
|
+
d(g, { style: { "grid-template-columns": "repeat(18, minmax(0, 1fr))" } }, {
|
|
46
46
|
default: L(() => [
|
|
47
|
-
t("div",
|
|
47
|
+
t("div", A, [
|
|
48
48
|
e[11] || (e[11] = t("h2", { class: "menu-heading tw-mb-2" }, " Categories ", -1)),
|
|
49
49
|
t("div", O, [
|
|
50
50
|
t("ul", I, [
|
|
@@ -199,7 +199,7 @@ function ee(te, e, o, i, ne, se) {
|
|
|
199
199
|
], 4)
|
|
200
200
|
]);
|
|
201
201
|
}
|
|
202
|
-
const re = /* @__PURE__ */ N(
|
|
202
|
+
const re = /* @__PURE__ */ N(x, [["render", ee], ["__scopeId", "data-v-3e49579c"]]);
|
|
203
203
|
export {
|
|
204
204
|
re as default
|
|
205
205
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mdiChevronLeft as m, mdiArrowRight as h } from "@mdi/js";
|
|
2
2
|
import { ref as l, computed as o } from "vue";
|
|
3
3
|
import y from "../../KvLoadingPlaceholder.js";
|
|
4
4
|
import v from "../../KvGrid.js";
|
|
@@ -64,8 +64,8 @@ const b = {
|
|
|
64
64
|
return e;
|
|
65
65
|
}), d = o(() => n.regions.filter((e) => a(e.name))), p = o(() => n.searches.length > 0);
|
|
66
66
|
return {
|
|
67
|
-
mdiArrowRight:
|
|
68
|
-
mdiChevronLeft:
|
|
67
|
+
mdiArrowRight: h,
|
|
68
|
+
mdiChevronLeft: m,
|
|
69
69
|
categoriesSection: r,
|
|
70
70
|
openedSection: t,
|
|
71
71
|
sectionOpen: s,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.link-bar[data-v-d90acda7]{display:flex;align-items:center;gap:.5rem}.link-bar__logo[data-v-d90acda7]{position:absolute;top:50%;left:50%;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media
|
|
1
|
+
.link-bar[data-v-d90acda7]{display:flex;align-items:center;gap:.5rem}.link-bar__logo[data-v-d90acda7]{position:absolute;top:50%;left:50%;--tw-translate-x: -50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}@media(min-width:45.875rem){.link-bar[data-v-d90acda7]{display:grid;-moz-column-gap:1rem;column-gap:1rem;grid-template-areas:"logo lend right" "search search search";grid-template-columns:1fr auto auto;grid-template-rows:4rem auto;row-gap:.5rem}.link-bar__logo[data-v-d90acda7]{position:static;--tw-translate-x: 0;--tw-translate-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));grid-area:logo;justify-self:start}.link-bar__lend[data-v-d90acda7]{grid-area:lend}.link-bar__search[data-v-d90acda7]{grid-area:search;margin-bottom:.5rem}.link-bar__right[data-v-d90acda7]{grid-area:right}}@media(min-width:64rem){.link-bar[data-v-d90acda7]{-moz-column-gap:1.25rem;column-gap:1.25rem;grid-template-areas:"logo lend search right";grid-template-columns:auto auto 1fr auto;grid-template-rows:4rem}.link-bar__search[data-v-d90acda7]{margin-bottom:0}}.header-link[data-v-d90acda7]{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-d90acda7]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as r, inject as P, ref as d, computed as i } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { mdiBriefcase as D, mdiChevronDown as x, mdiMenu as R } from "@mdi/js";
|
|
3
3
|
import $ from "numeral";
|
|
4
4
|
import E from "../KvMaterialIcon.js";
|
|
5
5
|
import H from "../KvUserAvatar.js";
|
|
@@ -97,9 +97,9 @@ const v = r(() => import("../KvWwwHeader/LendMenu/KvLendMenu.js")), p = r(() =>
|
|
|
97
97
|
o("TopNav", "click-Logo");
|
|
98
98
|
}
|
|
99
99
|
return {
|
|
100
|
-
mdiMenu:
|
|
100
|
+
mdiMenu: R,
|
|
101
101
|
mdiChevronDown: x,
|
|
102
|
-
mdiBriefcase:
|
|
102
|
+
mdiBriefcase: D,
|
|
103
103
|
KvLendMenu: v,
|
|
104
104
|
AboutMenu: p,
|
|
105
105
|
MyKivaMenu: Y,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-972cda69] [role=tab]{font-family:PostGrotesk,PostGrotesk-fallback,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;font-weight:400;font-size:1.125rem;letter-spacing:0em;line-height:1.2777778em}@media
|
|
1
|
+
[data-v-972cda69] [role=tab]{font-family:PostGrotesk,PostGrotesk-fallback,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;font-weight:400;font-size:1.125rem;letter-spacing:0em;line-height:1.2777778em}@media(min-width:45.875rem){[data-v-972cda69] [role=tab]{font-size:1.125rem;letter-spacing:0em;line-height:1.2777778em}}@media(min-width:64rem){[data-v-972cda69] [role=tab]{font-size:1.25rem;letter-spacing:0em;line-height:1.3em}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import h from "./MobileLendMenu2.js";
|
|
2
|
-
import { resolveComponent as a, resolveDirective as T, openBlock as i, createElementBlock as L, createVNode as o, withCtx as t,
|
|
2
|
+
import { resolveComponent as a, resolveDirective as T, openBlock as i, createElementBlock as L, createVNode as o, withCtx as t, createBlock as s, createCommentVNode as _, withDirectives as c, createTextVNode as g } from "vue";
|
|
3
3
|
import "./MobileLendMenu.css";
|
|
4
4
|
import N from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const y = { class: "tw-px-0 tw-pt-1.5 tw-pb-2" };
|
|
@@ -25,13 +25,13 @@ const K = {
|
|
|
25
25
|
const f = B("$kvTrackEvent", () => {
|
|
26
26
|
}), d = "kv-www-header-basic-search", n = m(!1), v = m(!1), {
|
|
27
27
|
term: t,
|
|
28
|
-
groupedResults:
|
|
28
|
+
groupedResults: o,
|
|
29
29
|
activeIndex: a,
|
|
30
30
|
resolveSubmit: g
|
|
31
|
-
} = _(p(r, "searchSuggestions"), p(r, "appOrigin")),
|
|
31
|
+
} = _(p(r, "searchSuggestions"), p(r, "appOrigin")), l = s(() => o.value.flatMap((e) => e.items)), u = s(() => a.value > -1 ? l.value[a.value] : void 0), b = s(() => {
|
|
32
32
|
var e;
|
|
33
33
|
return ((e = u.value) == null ? void 0 : e.label) ?? t.value;
|
|
34
|
-
}), y = s(() =>
|
|
34
|
+
}), y = s(() => o.value.length > 0 && n.value);
|
|
35
35
|
function S(e) {
|
|
36
36
|
t.value = e;
|
|
37
37
|
}
|
|
@@ -52,10 +52,10 @@ const K = {
|
|
|
52
52
|
u.value ? c(u.value) : c(t.value);
|
|
53
53
|
}
|
|
54
54
|
function T() {
|
|
55
|
-
a.value += 1, a.value >=
|
|
55
|
+
a.value += 1, a.value >= l.value.length && (a.value = -1);
|
|
56
56
|
}
|
|
57
57
|
function M() {
|
|
58
|
-
a.value === -1 && (a.value =
|
|
58
|
+
a.value === -1 && (a.value = l.value.length), a.value -= 1;
|
|
59
59
|
}
|
|
60
60
|
function x(e) {
|
|
61
61
|
return O(e.label, e.matches);
|
|
@@ -65,7 +65,7 @@ const K = {
|
|
|
65
65
|
inputId: d,
|
|
66
66
|
term: t,
|
|
67
67
|
displayTerm: b,
|
|
68
|
-
groupedResults:
|
|
68
|
+
groupedResults: o,
|
|
69
69
|
highlighted: u,
|
|
70
70
|
showResults: y,
|
|
71
71
|
onInput: S,
|