@kiva/kv-shop 3.7.34 → 3.7.35
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/components/KvPaymentSelect2.js +86 -32
- package/dist/kv-components/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/kv-components/dist/utils/arrayUtils.js +8 -0
- package/dist/kv-components/dist/utils/comparators.js +11 -0
- package/dist/kv-components/dist/utils/expander.js +36 -0
- package/dist/kv-components/dist/utils/loanCard.js +49 -0
- package/dist/kv-components/dist/utils/mapUtils.js +7 -0
- package/dist/kv-components/dist/utils/paramCase.js +6 -0
- package/dist/kv-components/dist/vue/KvAccordionItem.js +41 -0
- package/dist/kv-components/dist/vue/KvAccordionItem2.js +60 -0
- package/dist/kv-components/dist/vue/KvAtbModal.css +1 -0
- package/dist/kv-components/dist/vue/KvCarousel.css +1 -0
- package/dist/kv-components/dist/vue/KvCartModal.css +1 -0
- package/dist/kv-components/dist/vue/KvCheckbox.css +1 -0
- package/dist/kv-components/dist/vue/KvCheckoutReceipt.css +1 -0
- package/dist/kv-components/dist/vue/KvClassicLoanCard.css +1 -0
- package/dist/kv-components/dist/vue/KvClassicLoanCard2.js +55 -0
- package/dist/kv-components/dist/vue/KvCommentsAdd.css +1 -0
- package/dist/kv-components/dist/vue/KvCommentsHeartButton.css +1 -0
- package/dist/kv-components/dist/vue/KvCommentsReplyButton.css +1 -0
- package/dist/kv-components/dist/vue/KvCompactLoanCard.css +1 -0
- package/dist/kv-components/dist/vue/KvCompactLoanCard2.js +51 -0
- package/dist/kv-components/dist/vue/KvDatePicker.css +1 -0
- package/dist/kv-components/dist/vue/KvExpandable.js +18 -0
- package/dist/kv-components/dist/vue/KvExpandable2.js +52 -0
- package/dist/kv-components/dist/vue/KvFlag.css +1 -0
- package/dist/kv-components/dist/vue/KvGrid.js +15 -0
- package/dist/kv-components/dist/vue/KvGrid2.js +15 -0
- package/dist/kv-components/dist/vue/KvImpactDashboardHeader.css +1 -0
- package/dist/kv-components/dist/vue/KvInlineActivityFeed.css +1 -0
- package/dist/kv-components/dist/vue/KvIntroductionLoanCard.css +1 -0
- package/dist/kv-components/dist/vue/KvIntroductionLoanCard2.js +48 -0
- package/dist/kv-components/dist/vue/KvLendCta.css +1 -0
- package/dist/kv-components/dist/vue/KvLendCta2.js +24 -0
- package/dist/kv-components/dist/vue/KvLoadingPlaceholder.css +1 -0
- package/dist/kv-components/dist/vue/KvLoadingPlaceholder.js +11 -0
- package/dist/kv-components/dist/vue/KvLoadingSpinner.js +24 -0
- package/dist/kv-components/dist/vue/KvLoadingSpinner2.js +29 -0
- package/dist/kv-components/dist/vue/KvLoanActivities.css +1 -0
- package/dist/kv-components/dist/vue/KvLoanActivities2.js +25 -0
- package/dist/kv-components/dist/vue/KvLoanBookmark2.js +14 -0
- package/dist/kv-components/dist/vue/KvLoanCallouts.css +1 -0
- package/dist/kv-components/dist/vue/KvLoanInfoCard.css +1 -0
- package/dist/kv-components/dist/vue/KvLoanInfoCard.js +21 -0
- package/dist/kv-components/dist/vue/KvLoanProgressGroup.css +1 -0
- package/dist/kv-components/dist/vue/KvLoanTag2.js +24 -0
- package/dist/kv-components/dist/vue/KvLoanUse2.js +18 -0
- package/dist/kv-components/dist/vue/KvMap.css +1 -0
- package/dist/kv-components/dist/vue/KvMaterialIcon.js +24 -0
- package/dist/kv-components/dist/vue/KvMaterialIcon2.js +15 -0
- package/dist/kv-components/dist/vue/KvPageContainer.js +16 -0
- package/dist/kv-components/dist/vue/KvPageContainer2.js +4 -0
- package/dist/kv-components/dist/vue/KvPieChart.css +1 -0
- package/dist/kv-components/dist/vue/KvPulsingDot.css +1 -0
- package/dist/kv-components/dist/vue/KvSecondaryNav.css +1 -0
- package/dist/kv-components/dist/vue/KvSelect.css +1 -0
- package/dist/kv-components/dist/vue/KvTab.js +25 -0
- package/dist/kv-components/dist/vue/KvTab2.js +48 -0
- package/dist/kv-components/dist/vue/KvTabPanel.js +34 -0
- package/dist/kv-components/dist/vue/KvTabPanel2.js +28 -0
- package/dist/kv-components/dist/vue/KvTabs.js +32 -0
- package/dist/kv-components/dist/vue/KvTabs2.js +60 -0
- package/dist/kv-components/dist/vue/KvThemeProvider.css +1 -0
- package/dist/kv-components/dist/vue/KvTooltip.css +1 -0
- package/dist/kv-components/dist/vue/KvTreeMapChart.css +1 -0
- package/dist/kv-components/dist/vue/KvTreeMapChart2.js +7 -0
- package/dist/kv-components/dist/vue/KvVotingCard.css +1 -0
- package/dist/kv-components/dist/vue/KvVotingCardV2.css +1 -0
- package/dist/kv-components/dist/vue/KvWideLoanCard.css +1 -0
- package/dist/kv-components/dist/vue/KvWideLoanCard2.js +43 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderAboutMenu.js +85 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderAboutMenu2.js +9 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderLinkBar.css +1 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js +10 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMenuLink.js +12 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMobileMenu.css +1 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +145 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMobileMenu2.js +59 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +89 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu2.js +27 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +57 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu2.js +9 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.css +1 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +207 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu2.js +82 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.css +1 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +205 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu2.js +86 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.js +39 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenu2.js +145 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.css +1 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.js +31 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList2.js +12 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.js +26 -0
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList2.js +11 -0
- package/dist/kv-components/dist/vue/KvWwwHeader.css +1 -0
- package/package.json +3 -3
|
@@ -1,7 +1,61 @@
|
|
|
1
|
-
import { toRefs as v, ref as
|
|
2
|
-
import
|
|
1
|
+
import { toRefs as v, ref as m, watch as n, onMounted as M } from "vue";
|
|
2
|
+
import "@mdi/js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import P from "../kv-components/dist/vue/KvLoadingSpinner.js";
|
|
5
|
+
import "@kiva/kv-tokens";
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
import "@vueuse/integrations/useFocusTrap";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import "nanoid";
|
|
11
|
+
/* empty css */
|
|
12
|
+
import "date-fns";
|
|
13
|
+
/* empty css */
|
|
14
|
+
/* empty css */
|
|
15
|
+
import "../kv-components/dist/vue/KvClassicLoanCard2.js";
|
|
16
|
+
/* empty css */
|
|
17
|
+
import "../kv-components/dist/vue/KvCompactLoanCard2.js";
|
|
18
|
+
/* empty css */
|
|
19
|
+
/* empty css */
|
|
20
|
+
/* empty css */
|
|
21
|
+
/* empty css */
|
|
22
|
+
/* empty css */
|
|
23
|
+
import "change-case";
|
|
24
|
+
/* empty css */
|
|
25
|
+
/* empty css */
|
|
26
|
+
/* empty css */
|
|
27
|
+
import "../kv-components/dist/vue/KvIntroductionLoanCard2.js";
|
|
28
|
+
/* empty css */
|
|
29
|
+
import "../kv-components/dist/vue/KvLendCta2.js";
|
|
30
|
+
/* empty css */
|
|
31
|
+
import "../kv-components/dist/vue/KvLoanActivities2.js";
|
|
32
|
+
/* empty css */
|
|
33
|
+
import "../kv-components/dist/vue/KvLoanBookmark2.js";
|
|
34
|
+
/* empty css */
|
|
35
|
+
import "../kv-components/dist/vue/KvLoanInfoCard.js";
|
|
36
|
+
import "numeral";
|
|
37
|
+
/* empty css */
|
|
38
|
+
import "../kv-components/dist/vue/KvLoanTag2.js";
|
|
39
|
+
import "../kv-components/dist/vue/KvLoanUse2.js";
|
|
40
|
+
import "../kv-components/dist/utils/mapUtils.js";
|
|
41
|
+
/* empty css */
|
|
42
|
+
/* empty css */
|
|
43
|
+
/* empty css */
|
|
44
|
+
/* empty css */
|
|
45
|
+
import "../kv-components/dist/vue/KvTreeMapChart2.js";
|
|
46
|
+
/* empty css */
|
|
47
|
+
/* empty css */
|
|
48
|
+
/* empty css */
|
|
49
|
+
import "../kv-components/dist/vue/KvWideLoanCard2.js";
|
|
50
|
+
/* empty css */
|
|
51
|
+
/* empty css */
|
|
52
|
+
/* empty css */
|
|
53
|
+
import "../kv-components/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js";
|
|
54
|
+
/* empty css */
|
|
55
|
+
/* empty css */
|
|
56
|
+
import "../kv-components/dist/utils/loanCard.js";
|
|
3
57
|
import T, { defaultPaymentTypes as I } from "../useBraintreeDropIn.js";
|
|
4
|
-
const
|
|
58
|
+
const kt = {
|
|
5
59
|
components: {
|
|
6
60
|
KvLoadingSpinner: P
|
|
7
61
|
},
|
|
@@ -60,51 +114,51 @@ const k = {
|
|
|
60
114
|
}
|
|
61
115
|
},
|
|
62
116
|
emits: ["transactions-enabled", "error"],
|
|
63
|
-
setup(
|
|
117
|
+
setup(a, { emit: r }) {
|
|
64
118
|
const {
|
|
65
|
-
amount:
|
|
66
|
-
authToken:
|
|
67
|
-
flow:
|
|
68
|
-
googlePayMerchantId:
|
|
69
|
-
paymentTypes:
|
|
70
|
-
preselectVaultedPaymentMethod:
|
|
71
|
-
} = v(
|
|
119
|
+
amount: i,
|
|
120
|
+
authToken: u,
|
|
121
|
+
flow: l,
|
|
122
|
+
googlePayMerchantId: s,
|
|
123
|
+
paymentTypes: d,
|
|
124
|
+
preselectVaultedPaymentMethod: y
|
|
125
|
+
} = v(a), o = m(null), p = m(!1), {
|
|
72
126
|
initDropIn: c,
|
|
73
127
|
paymentMethodRequestable: f,
|
|
74
128
|
requestPaymentMethod: h,
|
|
75
129
|
updateAmount: g
|
|
76
|
-
} = T(
|
|
77
|
-
return
|
|
78
|
-
g(
|
|
79
|
-
}),
|
|
80
|
-
|
|
130
|
+
} = T(a.dropInName);
|
|
131
|
+
return n(i, (t) => {
|
|
132
|
+
g(t);
|
|
133
|
+
}), n(f, (t) => {
|
|
134
|
+
r("transactions-enabled", t);
|
|
81
135
|
}, { immediate: !0 }), M(async () => {
|
|
82
|
-
var
|
|
83
|
-
if (((
|
|
84
|
-
|
|
136
|
+
var t;
|
|
137
|
+
if (((t = o.value) == null ? void 0 : t.innerHTML) === "") {
|
|
138
|
+
p.value = !0;
|
|
85
139
|
try {
|
|
86
140
|
await c({
|
|
87
|
-
amount:
|
|
88
|
-
authToken:
|
|
89
|
-
container:
|
|
90
|
-
googlePayMerchantId:
|
|
91
|
-
paymentTypes:
|
|
92
|
-
preselectVaultedPaymentMethod:
|
|
93
|
-
paypalFlow:
|
|
141
|
+
amount: i.value,
|
|
142
|
+
authToken: u.value,
|
|
143
|
+
container: o.value,
|
|
144
|
+
googlePayMerchantId: s.value,
|
|
145
|
+
paymentTypes: d.value,
|
|
146
|
+
preselectVaultedPaymentMethod: y.value,
|
|
147
|
+
paypalFlow: l.value
|
|
94
148
|
});
|
|
95
|
-
} catch (
|
|
96
|
-
|
|
149
|
+
} catch (e) {
|
|
150
|
+
e instanceof Error ? r("error", e == null ? void 0 : e.message) : r("error", "An error has occured. Please refresh the page and try again.");
|
|
97
151
|
} finally {
|
|
98
|
-
|
|
152
|
+
p.value = !1;
|
|
99
153
|
}
|
|
100
154
|
}
|
|
101
155
|
}), {
|
|
102
|
-
container:
|
|
103
|
-
updatingPaymentWrapper:
|
|
156
|
+
container: o,
|
|
157
|
+
updatingPaymentWrapper: p,
|
|
104
158
|
requestPaymentMethod: h
|
|
105
159
|
};
|
|
106
160
|
}
|
|
107
161
|
};
|
|
108
162
|
export {
|
|
109
|
-
|
|
163
|
+
kt as default
|
|
110
164
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
function l(e, { property: n, delay: o, easing: r }) {
|
|
2
|
+
e.style.overflow = "hidden", e.style.transition = `${n} ${o}ms ${r}`;
|
|
3
|
+
}
|
|
4
|
+
function a(e, { property: n }) {
|
|
5
|
+
e.style[n] = null, e.style.overflow = null, e.style.transition = null;
|
|
6
|
+
}
|
|
7
|
+
function d(e, {
|
|
8
|
+
easing: n = "ease",
|
|
9
|
+
delay: o = 500,
|
|
10
|
+
done: r = () => {
|
|
11
|
+
},
|
|
12
|
+
from: s = 0,
|
|
13
|
+
property: t = "height"
|
|
14
|
+
}) {
|
|
15
|
+
l(e, { property: t, delay: o, easing: n }), e.style[t] = "auto", e.style.display = null;
|
|
16
|
+
const i = window.getComputedStyle(e).getPropertyValue(t);
|
|
17
|
+
e.style[t] = s, e.addEventListener("transitionend", function y() {
|
|
18
|
+
a(e, { property: t }), r(), e.removeEventListener("transitionend", y, !0);
|
|
19
|
+
}, !0), e.offsetWidth, e.style[t] = i;
|
|
20
|
+
}
|
|
21
|
+
function p(e, {
|
|
22
|
+
easing: n = "ease",
|
|
23
|
+
delay: o = 500,
|
|
24
|
+
done: r = () => {
|
|
25
|
+
},
|
|
26
|
+
to: s = 0,
|
|
27
|
+
property: t = "height"
|
|
28
|
+
}) {
|
|
29
|
+
l(e, { property: t, delay: o, easing: n }), e.style[t] = window.getComputedStyle(e).getPropertyValue(t), e.addEventListener("transitionend", function i() {
|
|
30
|
+
a(e, { property: t }), r(), e.removeEventListener("transitionend", i, !0);
|
|
31
|
+
}, !0), e.offsetWidth, e.style[t] = s;
|
|
32
|
+
}
|
|
33
|
+
export {
|
|
34
|
+
p as collapse,
|
|
35
|
+
d as expand
|
|
36
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import o from "graphql-tag";
|
|
2
|
+
import "numeral";
|
|
3
|
+
import "vue";
|
|
4
|
+
import "@mdi/js";
|
|
5
|
+
const r = o`
|
|
6
|
+
fragment LoanCallouts on LoanBasic {
|
|
7
|
+
id
|
|
8
|
+
activity {
|
|
9
|
+
id
|
|
10
|
+
name
|
|
11
|
+
}
|
|
12
|
+
sector {
|
|
13
|
+
id
|
|
14
|
+
name
|
|
15
|
+
}
|
|
16
|
+
tags
|
|
17
|
+
... on LoanPartner {
|
|
18
|
+
partnerName
|
|
19
|
+
themes
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`, i = o`
|
|
23
|
+
fragment LoanGeocode on LoanBasic {
|
|
24
|
+
id
|
|
25
|
+
geocode {
|
|
26
|
+
city
|
|
27
|
+
state
|
|
28
|
+
country {
|
|
29
|
+
name
|
|
30
|
+
isoCode
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
`, s = o`
|
|
35
|
+
fragment LoanProgress on LoanBasic {
|
|
36
|
+
id
|
|
37
|
+
loanAmount
|
|
38
|
+
loanFundraisingInfo {
|
|
39
|
+
id
|
|
40
|
+
fundedAmount
|
|
41
|
+
reservedAmount
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
export {
|
|
46
|
+
r as LOAN_CALLOUTS_FRAGMENT,
|
|
47
|
+
i as LOAN_GEOCODE_FRAGMENT,
|
|
48
|
+
s as LOAN_PROGRESS_FRAGMENT
|
|
49
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import c from "./KvAccordionItem2.js";
|
|
2
|
+
import { resolveComponent as r, createElementBlock as p, openBlock as f, createElementVNode as o, createVNode as l, withModifiers as h, renderSlot as n, normalizeClass as u, withCtx as m, withDirectives as b, vShow as v } from "vue";
|
|
3
|
+
import x from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const g = { class: "tw-border-b tw-border-tertiary tw-relative last:tw-border-b-0" }, k = ["disabled", "aria-controls", "aria-expanded"], C = { class: "tw-flex-1" }, y = ["id", "aria-hidden"];
|
|
5
|
+
function O(i, a, e, t, $, B) {
|
|
6
|
+
const s = r("kv-material-icon"), d = r("kv-expandable");
|
|
7
|
+
return f(), p("div", g, [
|
|
8
|
+
o("button", {
|
|
9
|
+
class: "tw-w-full tw-flex tw-justify-between tw-items-center tw-py-1.5 tw-px-0 tw-text-left disabled:tw-cursor-not-allowed disabled:tw-opacity-low hover:tw-text-action-highlight focus:tw-text-action-highlight",
|
|
10
|
+
disabled: e.disabled,
|
|
11
|
+
"aria-controls": `kv-accordion-${e.id}`,
|
|
12
|
+
"aria-expanded": t.isOpen ? "true" : "false",
|
|
13
|
+
onClick: a[0] || (a[0] = h((...w) => t.toggle && t.toggle(...w), ["prevent"]))
|
|
14
|
+
}, [
|
|
15
|
+
o("span", C, [
|
|
16
|
+
n(i.$slots, "header")
|
|
17
|
+
]),
|
|
18
|
+
l(s, {
|
|
19
|
+
class: u(["tw-h-3 tw-w-3 tw-transition tw-transform tw-duration-500 tw-ease", { "tw-rotate-180": t.isOpen }]),
|
|
20
|
+
icon: t.mdiChevronDown
|
|
21
|
+
}, null, 8, ["class", "icon"])
|
|
22
|
+
], 8, k),
|
|
23
|
+
l(d, null, {
|
|
24
|
+
default: m(() => [
|
|
25
|
+
b(o("div", {
|
|
26
|
+
id: `kv-accordion-${e.id}`,
|
|
27
|
+
"aria-hidden": t.isOpen ? "false" : "true"
|
|
28
|
+
}, [
|
|
29
|
+
n(i.$slots, "default")
|
|
30
|
+
], 8, y), [
|
|
31
|
+
[v, t.isOpen]
|
|
32
|
+
])
|
|
33
|
+
]),
|
|
34
|
+
_: 3
|
|
35
|
+
})
|
|
36
|
+
]);
|
|
37
|
+
}
|
|
38
|
+
const N = /* @__PURE__ */ x(c, [["render", O]]);
|
|
39
|
+
export {
|
|
40
|
+
N as default
|
|
41
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { toRefs as r, ref as n } from "vue";
|
|
2
|
+
import { mdiChevronDown as p } from "@mdi/js";
|
|
3
|
+
import s from "./KvExpandable.js";
|
|
4
|
+
import u from "./KvMaterialIcon.js";
|
|
5
|
+
const f = {
|
|
6
|
+
components: {
|
|
7
|
+
KvMaterialIcon: u,
|
|
8
|
+
KvExpandable: s
|
|
9
|
+
},
|
|
10
|
+
props: {
|
|
11
|
+
/**
|
|
12
|
+
* Unique id. used for a11y
|
|
13
|
+
* */
|
|
14
|
+
id: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: !0,
|
|
17
|
+
validator: (o) => o.length > 0 && !/\s/g.test(o)
|
|
18
|
+
// must be a valid html5 id
|
|
19
|
+
},
|
|
20
|
+
/**
|
|
21
|
+
* Whether the body is shown initially
|
|
22
|
+
* */
|
|
23
|
+
open: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: !1
|
|
26
|
+
},
|
|
27
|
+
/**
|
|
28
|
+
* Whether the accordion can be toggled
|
|
29
|
+
* */
|
|
30
|
+
disabled: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !1
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
emits: [
|
|
36
|
+
"toggle"
|
|
37
|
+
],
|
|
38
|
+
setup(o, { emit: l }) {
|
|
39
|
+
const {
|
|
40
|
+
open: a,
|
|
41
|
+
disabled: t
|
|
42
|
+
} = r(o), e = n(a.value);
|
|
43
|
+
return {
|
|
44
|
+
collapse: () => {
|
|
45
|
+
t.value || (e.value = !1);
|
|
46
|
+
},
|
|
47
|
+
expand: () => {
|
|
48
|
+
t.value || (e.value = !0);
|
|
49
|
+
},
|
|
50
|
+
isOpen: e,
|
|
51
|
+
mdiChevronDown: p,
|
|
52
|
+
toggle: () => {
|
|
53
|
+
t.value || (e.value = !e.value, l("toggle", { open: e.value }));
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
export {
|
|
59
|
+
f as default
|
|
60
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@media (min-width: 45.875rem){.cart-modal[data-v-51208d3d] div.container{right:var(--modal-right)!important;top:var(--modal-top)!important}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@media (min-width: 64rem){.aside-controls-content[data-v-c7500299]{width:82%}}.circle-slide[data-v-c7500299]{width:auto}.circle-slide.is-selected[data-v-c7500299]{opacity:1;transform:scale(1.2);max-width:300px}.circle-slide[data-v-c7500299]:not(.is-selected){opacity:.5;transform:scale(.7)}.circle-carousel[data-v-c7500299]{margin:0 auto}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.screen[data-v-3fa0c68d]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;background-color:#0003}.modal[data-v-3fa0c68d]{width:100%;border-bottom-right-radius:1rem;border-bottom-left-radius:1rem;--tw-bg-opacity: 1;background-color:rgba(var(--bg-primary),var(--tw-bg-opacity, 1))}@media (min-width: 45.875rem){.modal[data-v-3fa0c68d]{position:absolute;right:0}}.modal[data-v-3fa0c68d]{max-height:90%}.container[data-v-3fa0c68d]{position:absolute;top:0;right:0;bottom:0;left:0}@media (min-width: 45.875rem){.modal[data-v-3fa0c68d]{max-width:24.5rem}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-14afb787] .check-icon svg{transform:scale(1.2)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.section[data-v-5a2e1c60]{border-bottom-width:.0625rem;border-top-width:0px;--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));padding:.5rem;display:block;overflow:hidden}@media print{.section[data-v-5a2e1c60]{page-break-inside:avoid}}.section--lender-info[data-v-5a2e1c60]{padding-top:0}.section--print[data-v-5a2e1c60]{border-bottom:0}.checkout-receipt__headline[data-v-5a2e1c60]{text-align:center;margin-bottom:1.5rem}.checkout-receipt__item-list[data-v-5a2e1c60]{list-style:none;margin:0;width:100%}.loan__name[data-v-5a2e1c60]{margin-bottom:.5rem}.loan__name--inline[data-v-5a2e1c60]{display:inline-block}.loan__amount[data-v-5a2e1c60]{text-align:right}.total[data-v-5a2e1c60]{display:flex;align-items:baseline}.total__header[data-v-5a2e1c60],.total__amount[data-v-5a2e1c60]{text-align:right;flex:1}.total__amount[data-v-5a2e1c60]{flex-grow:.33}.payments[data-v-5a2e1c60]{border-bottom:none}.payments__type[data-v-5a2e1c60]{display:flex;text-align:right}.payments__type-title[data-v-5a2e1c60],.payments__type-amount[data-v-5a2e1c60]{flex:1}.print[data-v-5a2e1c60]{margin:0 auto}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.loan-card-use[data-v-48d113ab]:hover,.loan-card-use[data-v-48d113ab]: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-48d113ab]{text-decoration-line:underline}.loan-card-progress[data-v-48d113ab]:hover,.loan-card-progress[data-v-48d113ab]:focus{text-decoration-line:none}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import o from "graphql-tag";
|
|
2
|
+
import "numeral";
|
|
3
|
+
import { LOAN_CALLOUTS_FRAGMENT as a, LOAN_GEOCODE_FRAGMENT as r, LOAN_PROGRESS_FRAGMENT as i } from "../utils/loanCard.js";
|
|
4
|
+
import { KV_LOAN_USE_FRAGMENT as m } from "./KvLoanUse2.js";
|
|
5
|
+
import "vue";
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
import { KV_LEND_CTA_FRAGMENT as n, KV_LEND_CTA_USER_FRAGMENT as e } from "./KvLendCta2.js";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import { KV_LOAN_BOOKMARK_FRAGMENT as t } from "./KvLoanBookmark2.js";
|
|
11
|
+
import { KV_LOAN_TAG_FRAGMENT as s } from "./KvLoanTag2.js";
|
|
12
|
+
/* empty css */
|
|
13
|
+
import { KV_LOAN_ACTIVITIES_FRAGMENT as L } from "./KvLoanActivities2.js";
|
|
14
|
+
/* empty css */
|
|
15
|
+
o`
|
|
16
|
+
fragment KvClassicLoanCard on LoanBasic {
|
|
17
|
+
id
|
|
18
|
+
gender
|
|
19
|
+
image {
|
|
20
|
+
id
|
|
21
|
+
hash # for imageHash
|
|
22
|
+
}
|
|
23
|
+
lenders(limit: 0) {
|
|
24
|
+
totalCount # for lendersNumber
|
|
25
|
+
}
|
|
26
|
+
loanFundraisingInfo {
|
|
27
|
+
id
|
|
28
|
+
fundedAmount # for amountLent
|
|
29
|
+
}
|
|
30
|
+
name # for borrowerName
|
|
31
|
+
...KvLendCta
|
|
32
|
+
...KvLoanActivities
|
|
33
|
+
...KvLoanTag
|
|
34
|
+
...KvLoanUse
|
|
35
|
+
...LoanCallouts
|
|
36
|
+
...LoanGeocode
|
|
37
|
+
...LoanProgress
|
|
38
|
+
}
|
|
39
|
+
${n}
|
|
40
|
+
${L}
|
|
41
|
+
${s}
|
|
42
|
+
${m}
|
|
43
|
+
${a}
|
|
44
|
+
${r}
|
|
45
|
+
${i}
|
|
46
|
+
`;
|
|
47
|
+
o`
|
|
48
|
+
fragment KvClassicLoanCardUser on LoanBasic {
|
|
49
|
+
id
|
|
50
|
+
...KvLendCtaUser
|
|
51
|
+
...KvLoanBookmark
|
|
52
|
+
}
|
|
53
|
+
${e}
|
|
54
|
+
${t}
|
|
55
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-aac57611] input{height:2rem;border-radius:0;border-top-width:0px;border-right-width:0px;border-left-width:0px;padding:0}[data-v-aac57611] input:focus{--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));box-shadow:none}[data-v-aac57611] button>span{min-height:0}[data-v-aac57611] button>span>span{padding-top:0;padding-bottom:0;padding-left:.25rem;padding-right:.25rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.filled[data-v-eadf1fd9] svg{fill:#f60059}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-bc0d1b21] span{min-height:0}[data-v-bc0d1b21] span>span{display:flex;align-items:center;padding-top:0;padding-bottom:0;padding-left:.25rem;padding-right:.25rem}[data-v-bc0d1b21] svg{margin-left:.25rem;margin-right:.25rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.loan-card-use[data-v-ff288fb9]:hover,.loan-card-use[data-v-ff288fb9]: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-ff288fb9]{text-decoration-line:underline}.loan-card-progress[data-v-ff288fb9]:hover,.loan-card-progress[data-v-ff288fb9]:focus{text-decoration-line:none}.loan-card-use-text[data-v-ff288fb9] p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden;text-overflow:ellipsis}.loan-card-cta[data-v-ff288fb9] form,.loan-card-cta[data-v-ff288fb9] fieldset,.loan-card-cta[data-v-ff288fb9] .tw-w-full,.loan-card-cta[data-v-ff288fb9] button{height:40px!important;max-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important}.loan-card-cta[data-v-ff288fb9] .tw-inline-flex{height:40px!important;max-height:40px!important;min-height:40px!important}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import o from "graphql-tag";
|
|
2
|
+
import "numeral";
|
|
3
|
+
import "vue";
|
|
4
|
+
import "@mdi/js";
|
|
5
|
+
import { LOAN_CALLOUTS_FRAGMENT as a, LOAN_GEOCODE_FRAGMENT as r, LOAN_PROGRESS_FRAGMENT as m } from "../utils/loanCard.js";
|
|
6
|
+
import { KV_LOAN_USE_FRAGMENT as i } from "./KvLoanUse2.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import { KV_LEND_CTA_FRAGMENT as n, KV_LEND_CTA_USER_FRAGMENT as t } from "./KvLendCta2.js";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import { KV_LOAN_BOOKMARK_FRAGMENT as L } from "./KvLoanBookmark2.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
import { KV_LOAN_TAG_FRAGMENT as _ } from "./KvLoanTag2.js";
|
|
13
|
+
/* empty css */
|
|
14
|
+
o`
|
|
15
|
+
fragment KvCompactLoanCard on LoanBasic {
|
|
16
|
+
id
|
|
17
|
+
image {
|
|
18
|
+
id
|
|
19
|
+
hash
|
|
20
|
+
}
|
|
21
|
+
lenders(limit: 0) {
|
|
22
|
+
totalCount
|
|
23
|
+
}
|
|
24
|
+
loanFundraisingInfo {
|
|
25
|
+
id
|
|
26
|
+
fundedAmount
|
|
27
|
+
}
|
|
28
|
+
name
|
|
29
|
+
...KvLendCta
|
|
30
|
+
...KvLoanTag
|
|
31
|
+
...KvLoanUse
|
|
32
|
+
...LoanCallouts
|
|
33
|
+
...LoanGeocode
|
|
34
|
+
...LoanProgress
|
|
35
|
+
}
|
|
36
|
+
${n}
|
|
37
|
+
${_}
|
|
38
|
+
${i}
|
|
39
|
+
${a}
|
|
40
|
+
${r}
|
|
41
|
+
${m}
|
|
42
|
+
`;
|
|
43
|
+
o`
|
|
44
|
+
fragment KvCompactLoanCardUser on LoanBasic {
|
|
45
|
+
id
|
|
46
|
+
...KvLendCtaUser
|
|
47
|
+
...KvLoanBookmark
|
|
48
|
+
}
|
|
49
|
+
${t}
|
|
50
|
+
${L}
|
|
51
|
+
`;
|
|
@@ -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}.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__disabled{color:rgb(var(--text-tertiary))}.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-tertiary), 25%);--dp-disabled-color-text: rgb(var(--bg-tertiary));--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,18 @@
|
|
|
1
|
+
import t from "./KvExpandable2.js";
|
|
2
|
+
import { createBlock as r, openBlock as n, Transition as a, withCtx as l, renderSlot as f } from "vue";
|
|
3
|
+
import i from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
function s(o, d, m, e, p, c) {
|
|
5
|
+
return n(), r(a, {
|
|
6
|
+
onEnter: e.enter,
|
|
7
|
+
onLeave: e.leave
|
|
8
|
+
}, {
|
|
9
|
+
default: l(() => [
|
|
10
|
+
f(o.$slots, "default")
|
|
11
|
+
]),
|
|
12
|
+
_: 3
|
|
13
|
+
}, 8, ["onEnter", "onLeave"]);
|
|
14
|
+
}
|
|
15
|
+
const k = /* @__PURE__ */ i(t, [["render", s]]);
|
|
16
|
+
export {
|
|
17
|
+
k as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { toRefs as u } from "vue";
|
|
2
|
+
import { collapse as n, expand as d } from "../utils/expander.js";
|
|
3
|
+
const f = {
|
|
4
|
+
props: {
|
|
5
|
+
property: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: "height"
|
|
8
|
+
},
|
|
9
|
+
delay: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: 500
|
|
12
|
+
},
|
|
13
|
+
easing: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "ease"
|
|
16
|
+
},
|
|
17
|
+
skipEnter: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
skipLeave: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
setup(r) {
|
|
27
|
+
const {
|
|
28
|
+
property: t,
|
|
29
|
+
delay: l,
|
|
30
|
+
easing: p,
|
|
31
|
+
skipEnter: o,
|
|
32
|
+
skipLeave: s
|
|
33
|
+
} = u(r);
|
|
34
|
+
return {
|
|
35
|
+
enter: (a, e) => o.value ? e() : (d(a, {
|
|
36
|
+
property: t.value,
|
|
37
|
+
delay: l.value,
|
|
38
|
+
easing: p.value,
|
|
39
|
+
done: e
|
|
40
|
+
}), !0),
|
|
41
|
+
leave: (a, e) => s.value ? e() : (n(a, {
|
|
42
|
+
property: t.value,
|
|
43
|
+
delay: l.value,
|
|
44
|
+
easing: p.value,
|
|
45
|
+
done: e
|
|
46
|
+
}), !0)
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
f as default
|
|
52
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.kv-flag__wrapper[data-v-a99cbc6f]{line-height:0;background-size:contain;background-position:50%;background-repeat:no-repeat}.kv-flag--4x3 .kv-flag__wrapper.kv-flag-svg[data-v-a99cbc6f]{padding-bottom:71%}.kv-flag--1x1 .kv-flag__wrapper.kv-flag-svg[data-v-a99cbc6f]{padding-bottom:96%}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import r from "./KvGrid2.js";
|
|
2
|
+
import { createBlock as e, openBlock as a, resolveDynamicComponent as l, withCtx as m, renderSlot as n } from "vue";
|
|
3
|
+
import p from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
function s(t, d, o, f, i, c) {
|
|
5
|
+
return a(), e(l(o.as), { class: "tw-grid tw-gap-2 md:tw-gap-3 lg:tw-gap-3.5" }, {
|
|
6
|
+
default: m(() => [
|
|
7
|
+
n(t.$slots, "default")
|
|
8
|
+
]),
|
|
9
|
+
_: 3
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
const k = /* @__PURE__ */ p(r, [["render", s]]);
|
|
13
|
+
export {
|
|
14
|
+
k as default
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.header__full[data-v-c6859f81]{grid-template-areas:"logo right";grid-template-columns:1fr auto}.header__full__logo[data-v-c6859f81]{grid-area:logo}.header__full__right[data-v-c6859f81]{grid-area:right}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.hide-scrollbar[data-v-1d2e3e07]{-ms-overflow-style:none;scrollbar-width:none}.hide-scrollbar[data-v-1d2e3e07]::-webkit-scrollbar{display:none}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.loan-callouts[data-v-5220c6a3] span{background-color:transparent!important;--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1))}.loan-card-use[data-v-5220c6a3]:hover,.loan-card-use[data-v-5220c6a3]: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-5220c6a3],.loan-card-active-hover:hover .loan-card-name[data-v-5220c6a3]{text-decoration-line:underline}.loan-card-progress[data-v-5220c6a3],.loan-card-progress[data-v-5220c6a3]:hover,.loan-card-progress[data-v-5220c6a3]:focus{text-decoration-line:none}.loan-card-name[data-v-5220c6a3]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;cursor:pointer;overflow:hidden;text-overflow:ellipsis;padding-left:1.5rem;padding-right:1.5rem;padding-top:.5rem}.loan-bookmark[data-v-5220c6a3] button{border-top-left-radius:0!important;border-top-right-radius:0!important}
|