@kiva/kv-shop 3.8.33 → 3.8.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 +32 -101
- package/package.json +9 -5
- package/dist/kv-components/dist/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/kv-components/dist/data/allCountriesISOMap.js +0 -249
- package/dist/kv-components/dist/data/simpleMapCentroids.js +0 -1315
- package/dist/kv-components/dist/data/simpleMapCountryPaths.js +0 -215
- package/dist/kv-components/dist/data/simpleMapPaths.js +0 -216
- package/dist/kv-components/dist/utils/arrayUtils.js +0 -8
- package/dist/kv-components/dist/utils/attrs.js +0 -19
- package/dist/kv-components/dist/utils/chartColors.js +0 -16
- package/dist/kv-components/dist/utils/comparators.js +0 -23
- package/dist/kv-components/dist/utils/expander.js +0 -36
- package/dist/kv-components/dist/utils/headerNavLinks.js +0 -10
- package/dist/kv-components/dist/utils/loanCard.js +0 -49
- package/dist/kv-components/dist/utils/mapUtils.js +0 -7
- package/dist/kv-components/dist/utils/markMatches.js +0 -12
- package/dist/kv-components/dist/utils/paramCase.js +0 -6
- package/dist/kv-components/dist/utils/pieChartColors.js +0 -5
- package/dist/kv-components/dist/utils/typeaheadSearchConfig.js +0 -31
- package/dist/kv-components/dist/utils/typeaheadSearchEngine.js +0 -28
- package/dist/kv-components/dist/utils/useMapTourCycle.js +0 -73
- package/dist/kv-components/dist/utils/useTypeaheadSearch.js +0 -65
- package/dist/kv-components/dist/vue/KvAccordionItem.js +0 -41
- package/dist/kv-components/dist/vue/KvAccordionItem2.js +0 -60
- package/dist/kv-components/dist/vue/KvAtbModal.css +0 -1
- package/dist/kv-components/dist/vue/KvCarousel.css +0 -1
- package/dist/kv-components/dist/vue/KvCartModal.css +0 -1
- package/dist/kv-components/dist/vue/KvCheckbox.css +0 -1
- package/dist/kv-components/dist/vue/KvCheckoutReceipt.css +0 -1
- package/dist/kv-components/dist/vue/KvClassicLoanCard.css +0 -1
- package/dist/kv-components/dist/vue/KvClassicLoanCard2.js +0 -57
- package/dist/kv-components/dist/vue/KvCommentsAdd.css +0 -1
- package/dist/kv-components/dist/vue/KvCommentsHeartButton.css +0 -1
- package/dist/kv-components/dist/vue/KvCommentsReplyButton.css +0 -1
- package/dist/kv-components/dist/vue/KvCompactLoanCard.css +0 -1
- package/dist/kv-components/dist/vue/KvCompactLoanCard2.js +0 -49
- package/dist/kv-components/dist/vue/KvDatePicker.css +0 -1
- package/dist/kv-components/dist/vue/KvExpandable.js +0 -18
- package/dist/kv-components/dist/vue/KvExpandable2.js +0 -52
- package/dist/kv-components/dist/vue/KvFlag.css +0 -1
- package/dist/kv-components/dist/vue/KvGrid.js +0 -15
- package/dist/kv-components/dist/vue/KvGrid2.js +0 -15
- package/dist/kv-components/dist/vue/KvImageUpload.css +0 -1
- package/dist/kv-components/dist/vue/KvImpactDashboardHeader.css +0 -1
- package/dist/kv-components/dist/vue/KvInlineActivityFeed.css +0 -1
- package/dist/kv-components/dist/vue/KvIntroductionLoanCard.css +0 -1
- package/dist/kv-components/dist/vue/KvIntroductionLoanCard2.js +0 -50
- package/dist/kv-components/dist/vue/KvLendCta.css +0 -1
- package/dist/kv-components/dist/vue/KvLendCta2.js +0 -24
- package/dist/kv-components/dist/vue/KvLoadingPlaceholder.css +0 -1
- package/dist/kv-components/dist/vue/KvLoadingPlaceholder.js +0 -11
- package/dist/kv-components/dist/vue/KvLoadingSpinner.js +0 -24
- package/dist/kv-components/dist/vue/KvLoadingSpinner2.js +0 -29
- package/dist/kv-components/dist/vue/KvLoadingText.css +0 -1
- package/dist/kv-components/dist/vue/KvLoanActivities.css +0 -1
- package/dist/kv-components/dist/vue/KvLoanActivities2.js +0 -26
- package/dist/kv-components/dist/vue/KvLoanBookmark2.js +0 -14
- package/dist/kv-components/dist/vue/KvLoanCallouts.css +0 -1
- package/dist/kv-components/dist/vue/KvLoanInfoCard.css +0 -1
- package/dist/kv-components/dist/vue/KvLoanInfoCard.js +0 -23
- package/dist/kv-components/dist/vue/KvLoanProgressGroup.css +0 -1
- package/dist/kv-components/dist/vue/KvLoanTag2.js +0 -31
- package/dist/kv-components/dist/vue/KvLoanUse2.js +0 -18
- package/dist/kv-components/dist/vue/KvMap.css +0 -1
- package/dist/kv-components/dist/vue/KvMaterialIcon.js +0 -24
- package/dist/kv-components/dist/vue/KvMaterialIcon2.js +0 -15
- package/dist/kv-components/dist/vue/KvPageContainer.js +0 -16
- package/dist/kv-components/dist/vue/KvPageContainer2.js +0 -4
- package/dist/kv-components/dist/vue/KvPieChart.css +0 -1
- package/dist/kv-components/dist/vue/KvPieChartV2.css +0 -1
- package/dist/kv-components/dist/vue/KvProgressCircle.css +0 -1
- package/dist/kv-components/dist/vue/KvPulsingDot.css +0 -1
- package/dist/kv-components/dist/vue/KvSecondaryNav.css +0 -1
- package/dist/kv-components/dist/vue/KvSelect.css +0 -1
- package/dist/kv-components/dist/vue/KvSimpleMap.css +0 -1
- package/dist/kv-components/dist/vue/KvSimpleMap2.js +0 -20
- package/dist/kv-components/dist/vue/KvStackedBarGraph.css +0 -1
- package/dist/kv-components/dist/vue/KvTab.js +0 -25
- package/dist/kv-components/dist/vue/KvTab2.js +0 -48
- package/dist/kv-components/dist/vue/KvTabPanel.js +0 -34
- package/dist/kv-components/dist/vue/KvTabPanel2.js +0 -28
- package/dist/kv-components/dist/vue/KvTabs.js +0 -32
- package/dist/kv-components/dist/vue/KvTabs2.js +0 -73
- package/dist/kv-components/dist/vue/KvTextInput.css +0 -1
- package/dist/kv-components/dist/vue/KvTextInput.js +0 -66
- package/dist/kv-components/dist/vue/KvTextInput2.js +0 -126
- package/dist/kv-components/dist/vue/KvThemeProvider.css +0 -1
- package/dist/kv-components/dist/vue/KvTooltip.css +0 -1
- package/dist/kv-components/dist/vue/KvTreeMapChart.css +0 -1
- package/dist/kv-components/dist/vue/KvTreeMapChart2.js +0 -6
- package/dist/kv-components/dist/vue/KvUserAvatar.css +0 -1
- package/dist/kv-components/dist/vue/KvVotingCard.css +0 -1
- package/dist/kv-components/dist/vue/KvVotingCardV2.css +0 -1
- package/dist/kv-components/dist/vue/KvWideLoanCard.css +0 -1
- package/dist/kv-components/dist/vue/KvWideLoanCard2.js +0 -45
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderAboutMenu.js +0 -85
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderAboutMenu2.js +0 -9
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderLinkBar.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderLinkBar2.js +0 -11
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMenuLink.js +0 -12
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMobileMenu.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +0 -145
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMobileMenu2.js +0 -59
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +0 -89
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu2.js +0 -27
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +0 -57
- package/dist/kv-components/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu2.js +0 -9
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +0 -207
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu2.js +0 -82
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +0 -205
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu2.js +0 -86
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.js +0 -55
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenu2.js +0 -172
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.js +0 -31
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList2.js +0 -12
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.js +0 -26
- package/dist/kv-components/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList2.js +0 -11
- package/dist/kv-components/dist/vue/KvWwwHeader.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/AboutMenu.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/AboutMenu.js +0 -25
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/AboutMenu2.js +0 -33
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/HeaderMenuGroup.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/KvWwwHeaderBasic.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/KvWwwHeaderBasic2.js +0 -17
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/LinkBar.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/LinkBar2.js +0 -12
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/CategoriesPanel.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/CategoriesPanel.js +0 -61
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/CategoriesPanel2.js +0 -18
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.js +0 -102
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu2.js +0 -74
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MyKivaPanel.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MyKivaPanel.js +0 -51
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MyKivaPanel2.js +0 -31
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/RegionsPanel.js +0 -38
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/RegionsPanel2.js +0 -24
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/SearchPanel.js +0 -18
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileLendMenu/SearchPanel2.js +0 -19
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileMenu.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileMenu.js +0 -59
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MobileMenu2.js +0 -49
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MyKivaMenu.css +0 -1
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MyKivaMenu.js +0 -132
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/MyKivaMenu2.js +0 -55
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/SearchBar.js +0 -73
- package/dist/kv-components/dist/vue/KvWwwHeaderBasic/SearchBar2.js +0 -90
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { toRefs as i, inject as u, computed as d } from "vue";
|
|
2
|
-
const a = {
|
|
3
|
-
props: {
|
|
4
|
-
/**
|
|
5
|
-
* A unique id which correspondes to a `for` property on the KvTab which controls it
|
|
6
|
-
* e.g., <kv-tab for="foo">... <kv-tab-panel id="foo">
|
|
7
|
-
* */
|
|
8
|
-
id: {
|
|
9
|
-
type: String,
|
|
10
|
-
required: !0
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
setup(o) {
|
|
14
|
-
const {
|
|
15
|
-
id: s
|
|
16
|
-
} = i(o), e = u("$KvTabContext");
|
|
17
|
-
return {
|
|
18
|
-
isActive: d(() => {
|
|
19
|
-
var t;
|
|
20
|
-
let r = [], n = 0;
|
|
21
|
-
return e && (r = e.navItems, n = e.selectedIndex), ((t = r[n]) == null ? void 0 : t.forPanel) === s.value;
|
|
22
|
-
})
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
export {
|
|
27
|
-
a as default
|
|
28
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import w from "./KvTabs2.js";
|
|
2
|
-
import { openBlock as d, createElementBlock as s, normalizeClass as l, createElementVNode as o, renderSlot as i, normalizeStyle as m } from "vue";
|
|
3
|
-
import c from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const f = { class: "tw-relative" };
|
|
5
|
-
function v(r, a, e, t, p, b) {
|
|
6
|
-
return d(), s("div", {
|
|
7
|
-
class: l(e.vertical ? "md:tw-flex" : "")
|
|
8
|
-
}, [
|
|
9
|
-
o("div", {
|
|
10
|
-
role: "tablist",
|
|
11
|
-
class: l(["tw-flex tw-overflow-auto tw-relative tw-gap-x-2.5 md:tw-gap-x-5 lg:tw-gap-x-6 tw-mb-3 lg:tw-mb-4", { "md:tw-flex-col md:tw-mr-3": e.vertical }]),
|
|
12
|
-
onKeydown: a[0] || (a[0] = (n) => t.handleKeyDown(n))
|
|
13
|
-
}, [
|
|
14
|
-
i(r.$slots, "tabNav"),
|
|
15
|
-
o("div", {
|
|
16
|
-
class: l(["tw-absolute tw-bottom-0 tw-h-0.5 tw-left-0 tw-bg-primary-inverse tw-rounded-full tw-origin-left tw-transition-all tw-duration-300", { "tw-hidden md:tw-block tw-top-0 md:tw-bg-action": e.vertical }]),
|
|
17
|
-
style: m(`
|
|
18
|
-
width: ${t.indicatorStyle.width}px;
|
|
19
|
-
height: ${t.indicatorStyle.height};
|
|
20
|
-
transform: ${t.indicatorStyle.transform};
|
|
21
|
-
`)
|
|
22
|
-
}, null, 6)
|
|
23
|
-
], 34),
|
|
24
|
-
o("div", f, [
|
|
25
|
-
i(r.$slots, "tabPanels")
|
|
26
|
-
])
|
|
27
|
-
], 2);
|
|
28
|
-
}
|
|
29
|
-
const x = /* @__PURE__ */ c(w, [["render", v]]);
|
|
30
|
-
export {
|
|
31
|
-
x as default
|
|
32
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { reactive as h, ref as b, computed as I, provide as g, watch as y, nextTick as k, onMounted as $, onBeforeUnmount as D } from "vue";
|
|
2
|
-
const T = {
|
|
3
|
-
props: {
|
|
4
|
-
vertical: {
|
|
5
|
-
type: Boolean,
|
|
6
|
-
default: !1
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
emits: [
|
|
10
|
-
"tab-changed"
|
|
11
|
-
],
|
|
12
|
-
setup(m, { emit: p }) {
|
|
13
|
-
const t = h({
|
|
14
|
-
selectedIndex: 0,
|
|
15
|
-
setTab: null,
|
|
16
|
-
navItems: []
|
|
17
|
-
}), i = b(null), r = I(() => {
|
|
18
|
-
var e;
|
|
19
|
-
const { navItems: o, selectedIndex: c } = t;
|
|
20
|
-
return ((e = o[c]) == null ? void 0 : e.$el) ?? null;
|
|
21
|
-
}), n = h({
|
|
22
|
-
width: 3,
|
|
23
|
-
height: "0.25rem",
|
|
24
|
-
transform: ""
|
|
25
|
-
}), s = () => {
|
|
26
|
-
const e = r.value;
|
|
27
|
-
e && (m.vertical ? (n.width = 3, n.height = `${e.clientHeight}px`, n.transform = `translateY(${e.offsetTop}px)`) : (n.width = e.clientWidth, n.height = "0.25rem", n.transform = `translateX(${e.offsetLeft}px)`));
|
|
28
|
-
}, a = (e) => {
|
|
29
|
-
t.selectedIndex = e, r.value.scrollIntoView({ behavior: "smooth", block: "nearest" }), p("tab-changed", e);
|
|
30
|
-
};
|
|
31
|
-
t.setTab = a, g("$KvTabContext", t);
|
|
32
|
-
const w = (e) => {
|
|
33
|
-
const { navItems: o, selectedIndex: c } = t, v = () => {
|
|
34
|
-
var l;
|
|
35
|
-
const f = o.find((x) => x.isActive);
|
|
36
|
-
f && ((l = f.$el) == null || l.focus());
|
|
37
|
-
}, d = o.length;
|
|
38
|
-
if (e.key === "ArrowRight") {
|
|
39
|
-
e.preventDefault();
|
|
40
|
-
const l = (c + 1) % d;
|
|
41
|
-
a(l), v();
|
|
42
|
-
}
|
|
43
|
-
if (e.key === "ArrowLeft") {
|
|
44
|
-
e.preventDefault();
|
|
45
|
-
const l = (c - 1 + d) % d;
|
|
46
|
-
a(l), v();
|
|
47
|
-
}
|
|
48
|
-
e.key === "Home" && (e.preventDefault(), a(0), v()), e.key === "End" && (e.preventDefault(), a(d - 1), v());
|
|
49
|
-
}, u = () => {
|
|
50
|
-
var e;
|
|
51
|
-
(e = i.value) == null || e.disconnect(), r.value && (i.value = new ResizeObserver(() => {
|
|
52
|
-
s();
|
|
53
|
-
}), i.value.observe(r.value));
|
|
54
|
-
};
|
|
55
|
-
return y(r, () => {
|
|
56
|
-
u(), k(s);
|
|
57
|
-
}), $(() => {
|
|
58
|
-
t.navItems.forEach((e, o) => {
|
|
59
|
-
e.selected && a(o);
|
|
60
|
-
}), s(), u(), window.addEventListener("resize", s);
|
|
61
|
-
}), D(() => {
|
|
62
|
-
var e;
|
|
63
|
-
(e = i.value) == null || e.disconnect(), window.removeEventListener("resize", s);
|
|
64
|
-
}), {
|
|
65
|
-
handleKeyDown: w,
|
|
66
|
-
indicatorStyle: n,
|
|
67
|
-
tabContext: t
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
export {
|
|
72
|
-
T as default
|
|
73
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
input[type=search][data-v-c3eac6f7]::-webkit-search-cancel-button,input[type=search][data-v-c3eac6f7]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import p from "./KvTextInput2.js";
|
|
2
|
-
import { resolveComponent as u, openBlock as o, createElementBlock as w, normalizeStyle as m, normalizeClass as c, createElementVNode as r, mergeProps as g, toHandlers as h, createBlock as d, createCommentVNode as a, withDirectives as b, createVNode as v, vShow as f, renderSlot as y } from "vue";
|
|
3
|
-
import "./KvTextInput.css";
|
|
4
|
-
import x from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const k = ["id", "type", "placeholder", "disabled", "value"], C = {
|
|
6
|
-
key: 2,
|
|
7
|
-
class: "tw-text-danger-highlight tw-text-small tw-font-medium tw-mt-1"
|
|
8
|
-
};
|
|
9
|
-
function I(s, l, t, e, V, A) {
|
|
10
|
-
const n = u("kv-material-icon");
|
|
11
|
-
return o(), w("div", {
|
|
12
|
-
class: c(["tw-inline-flex", e.classes]),
|
|
13
|
-
style: m(e.styles)
|
|
14
|
-
}, [
|
|
15
|
-
r("div", {
|
|
16
|
-
class: c(["tw-relative tw-w-full", { "tw-opacity-low": t.disabled }])
|
|
17
|
-
}, [
|
|
18
|
-
r("input", g({
|
|
19
|
-
id: t.id,
|
|
20
|
-
ref: "textInputRef",
|
|
21
|
-
type: t.type,
|
|
22
|
-
class: ["tw-h-6 tw-w-full tw-px-2 tw-border tw-rounded-xs tw-appearance-none tw-text-base tw-ring-inset focus:tw-outline-none focus:tw-ring-2 focus:tw-border-transparent", {
|
|
23
|
-
"tw-bg-primary": t.valid && !t.disabled,
|
|
24
|
-
"tw-border-tertiary focus:tw-ring-action": t.valid,
|
|
25
|
-
"tw-pr-6 tw-bg-danger-highlight tw-border-danger focus:tw-ring-danger-highlight": !t.valid,
|
|
26
|
-
"tw-bg-tertiary": t.disabled,
|
|
27
|
-
"tw-pl-6": t.icon
|
|
28
|
-
}],
|
|
29
|
-
placeholder: t.placeholder,
|
|
30
|
-
disabled: t.disabled
|
|
31
|
-
}, e.inputAttrs, { value: t.modelValue }, h(e.inputListeners, !0), {
|
|
32
|
-
onInput: l[0] || (l[0] = (...i) => e.onInput && e.onInput(...i))
|
|
33
|
-
}), null, 16, k),
|
|
34
|
-
t.icon ? (o(), d(n, {
|
|
35
|
-
key: 0,
|
|
36
|
-
icon: t.icon,
|
|
37
|
-
class: "tw-w-3 tw-h-3 tw-absolute tw-top-1.5 tw-left-1.5 tw-pointer-events-none"
|
|
38
|
-
}, null, 8, ["icon"])) : a("", !0),
|
|
39
|
-
t.valid ? a("", !0) : (o(), d(n, {
|
|
40
|
-
key: 1,
|
|
41
|
-
icon: e.mdiAlertCircleOutline,
|
|
42
|
-
class: "tw-w-3 tw-h-3 tw-absolute tw-top-1.5 tw-right-1.5 tw-pointer-events-none tw-text-danger"
|
|
43
|
-
}, null, 8, ["icon"])),
|
|
44
|
-
b(r("button", {
|
|
45
|
-
type: "button",
|
|
46
|
-
class: "tw-absolute tw-top-1.5 tw-right-1.5",
|
|
47
|
-
onClick: l[1] || (l[1] = (...i) => e.clearInput && e.clearInput(...i))
|
|
48
|
-
}, [
|
|
49
|
-
l[2] || (l[2] = r("span", { class: "tw-sr-only" }, "clear input", -1)),
|
|
50
|
-
v(n, {
|
|
51
|
-
class: "tw-w-3 tw-h-3",
|
|
52
|
-
icon: e.mdiClose
|
|
53
|
-
}, null, 8, ["icon"])
|
|
54
|
-
], 512), [
|
|
55
|
-
[f, t.canClear && t.valid && !!e.inputText]
|
|
56
|
-
]),
|
|
57
|
-
s.$slots.error ? (o(), w("div", C, [
|
|
58
|
-
y(s.$slots, "error", {}, void 0, !0)
|
|
59
|
-
])) : a("", !0)
|
|
60
|
-
], 2)
|
|
61
|
-
], 6);
|
|
62
|
-
}
|
|
63
|
-
const E = /* @__PURE__ */ x(p, [["render", I], ["__scopeId", "data-v-c3eac6f7"]]);
|
|
64
|
-
export {
|
|
65
|
-
E as default
|
|
66
|
-
};
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { toRefs as f, ref as r } from "vue";
|
|
2
|
-
import { mdiClose as c, mdiAlertCircleOutline as v } from "@mdi/js";
|
|
3
|
-
import { useAttrs as y } from "../utils/attrs.js";
|
|
4
|
-
import g from "./KvMaterialIcon.js";
|
|
5
|
-
const o = [
|
|
6
|
-
"input",
|
|
7
|
-
"update:modelValue"
|
|
8
|
-
], S = {
|
|
9
|
-
components: {
|
|
10
|
-
KvMaterialIcon: g
|
|
11
|
-
},
|
|
12
|
-
inheritAttrs: !1,
|
|
13
|
-
// v-model will update when a different value is input
|
|
14
|
-
model: {
|
|
15
|
-
prop: "modelValue",
|
|
16
|
-
event: "update:modelValue"
|
|
17
|
-
},
|
|
18
|
-
props: {
|
|
19
|
-
/**
|
|
20
|
-
* Id of the input, used to associate the input with a <label> element.
|
|
21
|
-
* */
|
|
22
|
-
id: {
|
|
23
|
-
type: String,
|
|
24
|
-
required: !0
|
|
25
|
-
},
|
|
26
|
-
/**
|
|
27
|
-
* Value of the text in the input. Used if you're not using the standard v-model bindings
|
|
28
|
-
* ```
|
|
29
|
-
* <kv-text-input :value="streetAddress" @input="(val) => streetAddress = val" />
|
|
30
|
-
* ```
|
|
31
|
-
* */
|
|
32
|
-
modelValue: {
|
|
33
|
-
type: [String, Number, Boolean],
|
|
34
|
-
default: ""
|
|
35
|
-
},
|
|
36
|
-
/**
|
|
37
|
-
* Text that appears in the form control when it has no value set
|
|
38
|
-
* Should not be used as a label, but rather an example.
|
|
39
|
-
* Bad: Enter an address Good: 1234 E Cherry Lane
|
|
40
|
-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefplaceholder
|
|
41
|
-
* */
|
|
42
|
-
placeholder: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: null
|
|
45
|
-
},
|
|
46
|
-
/**
|
|
47
|
-
* Prevents the input from being edited or focused
|
|
48
|
-
* */
|
|
49
|
-
disabled: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: !1
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* When set to false, visually indicates to the user that the contents of the input need
|
|
55
|
-
* to be changed
|
|
56
|
-
* */
|
|
57
|
-
valid: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: !0
|
|
60
|
-
},
|
|
61
|
-
/*
|
|
62
|
-
* SVG path data passed in from an imported @mdi/js module.
|
|
63
|
-
* Displayed on the left hand side of the input
|
|
64
|
-
* ```
|
|
65
|
-
* import { mdiMagnify } from '@mdi/js';
|
|
66
|
-
* data() { return { mdiMagnify } };
|
|
67
|
-
* <kv-text-input :icon="mdiMagnify" />`
|
|
68
|
-
* ```
|
|
69
|
-
* */
|
|
70
|
-
icon: {
|
|
71
|
-
type: String,
|
|
72
|
-
default: null
|
|
73
|
-
},
|
|
74
|
-
/**
|
|
75
|
-
* Can be used to set show special keyboards for mobile users
|
|
76
|
-
* E.g., type="number" or type="tel"
|
|
77
|
-
* */
|
|
78
|
-
type: {
|
|
79
|
-
type: String,
|
|
80
|
-
default: "text"
|
|
81
|
-
},
|
|
82
|
-
/**
|
|
83
|
-
* When set to true, adds a button positioned to the right edge of the input containing an “X”
|
|
84
|
-
* */
|
|
85
|
-
canClear: {
|
|
86
|
-
type: Boolean,
|
|
87
|
-
default: !1
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
emits: o,
|
|
91
|
-
setup(n, a) {
|
|
92
|
-
const { emit: e } = a, {
|
|
93
|
-
modelValue: i
|
|
94
|
-
} = f(n), t = r(null), l = r(i.value), {
|
|
95
|
-
classes: p,
|
|
96
|
-
styles: s,
|
|
97
|
-
inputAttrs: d,
|
|
98
|
-
inputListeners: m
|
|
99
|
-
} = y(a, o);
|
|
100
|
-
return {
|
|
101
|
-
mdiAlertCircleOutline: v,
|
|
102
|
-
mdiClose: c,
|
|
103
|
-
onInput: (u) => {
|
|
104
|
-
l.value = u.target.value, e("input", u.target.value), e("update:modelValue", u.target.value);
|
|
105
|
-
},
|
|
106
|
-
focus: () => {
|
|
107
|
-
t.value.focus();
|
|
108
|
-
},
|
|
109
|
-
blur: () => {
|
|
110
|
-
t.value.blur();
|
|
111
|
-
},
|
|
112
|
-
clearInput: () => {
|
|
113
|
-
l.value = "", e("input", ""), e("update:modelValue", "");
|
|
114
|
-
},
|
|
115
|
-
inputText: l,
|
|
116
|
-
classes: p,
|
|
117
|
-
styles: s,
|
|
118
|
-
inputAttrs: d,
|
|
119
|
-
inputListeners: m,
|
|
120
|
-
textInputRef: t
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
export {
|
|
125
|
-
S as default
|
|
126
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tw-text-jumbo u,.tw-text-h1 u,.tw-text-h2 u,.tw-text-h3 u,h1 u,h2 u,h3 u{text-decoration:none;-webkit-box-decoration-break:clone;box-decoration-break:clone;background-image:var(--heading-underline-primary);background-repeat:no-repeat;background-position:left bottom}.tw-text-jumbo u,.tw-text-h1 u,h1 u{background-size:100% .75rem;padding-bottom:.375rem}.tw-text-h2 u,h2 u{background-size:100% .375rem;padding-bottom:.125rem}.tw-text-h3 u,h3 u{background-size:100% .375rem;padding-bottom:.2rem}@media(min-width:64rem){.tw-text-jumbo u{background-size:100% 1rem;padding-bottom:.375rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.tooltip-pane[data-v-46d2c93a],.tooltip-arrow[data-v-46d2c93a]{box-shadow:0 4px 12px #00000014}.tooltip-arrow[data-v-46d2c93a]{margin:.5rem}.tooltip-pane--light .tooltip-arrow[data-v-46d2c93a]{border-color:#fff}.tooltip-pane--dark .tooltip-arrow[data-v-46d2c93a]{border-color:#212121}.tooltip-pane--dark[data-v-46d2c93a] .tw-text-link{color:#78c79f}.tooltip-pane--dark[data-v-46d2c93a] .tw-text-link:hover,.tooltip-pane--dark[data-v-46d2c93a] .tw-text-link:focus{color:#fff}.tooltip-pane[x-placement^=top][data-v-46d2c93a]{margin-bottom:.5rem}.tooltip-pane[x-placement^=top] .tooltip-arrow[data-v-46d2c93a]{border-width:8px 8px 0 8px;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;left:calc(50% - 8px);bottom:-.5rem;margin-top:0;margin-bottom:0}.tooltip-pane[x-placement^=bottom][data-v-46d2c93a]{margin-top:.5rem}.tooltip-pane[x-placement^=bottom] .tooltip-arrow[data-v-46d2c93a]{border-width:0 8px 8px 8px;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;left:calc(50% - 8px);top:-.5rem;margin-bottom:0;margin-top:0}.tooltip-pane[x-placement^=right][data-v-46d2c93a]{margin-left:.5rem}.tooltip-pane[x-placement^=right] .tooltip-arrow[data-v-46d2c93a]{border-width:8px 8px 8px 0;border-left-color:transparent;border-top-color:transparent;border-bottom-color:transparent;top:calc(50% - 8px);left:-.5rem;margin-left:0;margin-right:0}.tooltip-pane[x-placement^=left][data-v-46d2c93a]{margin-right:.5rem}.tooltip-pane[x-placement^=left] .tooltip-arrow[data-v-46d2c93a]{border-width:8px 0 8px 8px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;top:calc(50% - 8px);right:-.5rem;margin-left:0;margin-right:0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.treemap-figure[data-v-ec4ea02f]{height:30rem;width:calc(100% + .25rem);margin-right:-.25rem}@media(min-width:45.875rem){.treemap-figure[data-v-ec4ea02f]{height:20rem}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.kiva-k__normal[data-v-ff210636]{height:60%}.kiva-k__small[data-v-ff210636]{height:70%}.kiva-k__white[data-v-ff210636]{fill:#fff}.kiva-k__green-light[data-v-ff210636]{fill:#78c79f}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.kv-voting-card[data-v-2079a7ca]{max-width:300px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.vote_card{background-image:linear-gradient(180deg,#0000 50%,#000),var(--background-image-voting-card);background-size:cover;border-radius:1rem;padding-left:2rem;padding-right:2rem;padding-bottom:2rem}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.loan-card-use[data-v-de4628d8]:hover,.loan-card-use[data-v-de4628d8]: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-de4628d8]{text-decoration-line:underline}.loan-card-progress[data-v-de4628d8],.loan-card-progress[data-v-de4628d8]:hover,.loan-card-progress[data-v-de4628d8]:focus{text-decoration-line:none}.loan-callouts[data-v-de4628d8] div{height:auto;flex-wrap:wrap}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import o from "graphql-tag";
|
|
2
|
-
import { LOAN_CALLOUTS_FRAGMENT as a, LOAN_GEOCODE_FRAGMENT as r, LOAN_PROGRESS_FRAGMENT as m } from "../utils/loanCard.js";
|
|
3
|
-
import { KV_LOAN_USE_FRAGMENT as i } from "./KvLoanUse2.js";
|
|
4
|
-
import "vue";
|
|
5
|
-
import "numeral";
|
|
6
|
-
/* empty css */
|
|
7
|
-
/* empty css */
|
|
8
|
-
import { KV_LEND_CTA_FRAGMENT as L, KV_LEND_CTA_USER_FRAGMENT as _ } from "./KvLendCta2.js";
|
|
9
|
-
/* empty css */
|
|
10
|
-
import { KV_LOAN_BOOKMARK_FRAGMENT as e } from "./KvLoanBookmark2.js";
|
|
11
|
-
import { KV_LOAN_TAG_FRAGMENT as t } from "./KvLoanTag2.js";
|
|
12
|
-
/* empty css */
|
|
13
|
-
import "@kiva/kv-tokens";
|
|
14
|
-
/* empty css */
|
|
15
|
-
o`
|
|
16
|
-
fragment KvWideLoanCard on LoanBasic {
|
|
17
|
-
id
|
|
18
|
-
image {
|
|
19
|
-
id
|
|
20
|
-
hash # for imageHash
|
|
21
|
-
}
|
|
22
|
-
name # for borrowerName
|
|
23
|
-
...KvLendCta
|
|
24
|
-
...KvLoanTag
|
|
25
|
-
...KvLoanUse
|
|
26
|
-
...LoanCallouts
|
|
27
|
-
...LoanGeocode
|
|
28
|
-
...LoanProgress
|
|
29
|
-
}
|
|
30
|
-
${L}
|
|
31
|
-
${t}
|
|
32
|
-
${i}
|
|
33
|
-
${a}
|
|
34
|
-
${r}
|
|
35
|
-
${m}
|
|
36
|
-
`;
|
|
37
|
-
o`
|
|
38
|
-
fragment KvWideLoanCardUser on LoanBasic {
|
|
39
|
-
id
|
|
40
|
-
...KvLendCtaUser
|
|
41
|
-
...KvLoanBookmark
|
|
42
|
-
}
|
|
43
|
-
${_}
|
|
44
|
-
${e}
|
|
45
|
-
`;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import l from "./KvHeaderAboutMenu2.js";
|
|
2
|
-
import { resolveComponent as s, resolveDirective as n, openBlock as o, createElementBlock as f, withDirectives as r, createBlock as c, withCtx as i, createTextVNode as u } from "vue";
|
|
3
|
-
import p from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const k = { 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
|
-
function v(h, e, w, b, d, m) {
|
|
6
|
-
const t = s("kv-header-menu-link"), a = n("kv-track-event");
|
|
7
|
-
return o(), f("nav", k, [
|
|
8
|
-
r((o(), c(t, { href: "/about" }, {
|
|
9
|
-
default: i(() => e[0] || (e[0] = [
|
|
10
|
-
u(" About us ")
|
|
11
|
-
])),
|
|
12
|
-
_: 1
|
|
13
|
-
})), [
|
|
14
|
-
[a, ["TopNav", "click-About-About us"]]
|
|
15
|
-
]),
|
|
16
|
-
r((o(), c(t, { href: "/about/partner-with-us" }, {
|
|
17
|
-
default: i(() => e[1] || (e[1] = [
|
|
18
|
-
u(" Partner with us ")
|
|
19
|
-
])),
|
|
20
|
-
_: 1
|
|
21
|
-
})), [
|
|
22
|
-
[a, ["TopNav", "click-About-Partner with us"]]
|
|
23
|
-
]),
|
|
24
|
-
r((o(), c(t, { href: "/about/how" }, {
|
|
25
|
-
default: i(() => e[2] || (e[2] = [
|
|
26
|
-
u(" How Kiva works ")
|
|
27
|
-
])),
|
|
28
|
-
_: 1
|
|
29
|
-
})), [
|
|
30
|
-
[a, ["TopNav", "click-About-How Kiva works"]]
|
|
31
|
-
]),
|
|
32
|
-
r((o(), c(t, { href: "/about/where-kiva-works" }, {
|
|
33
|
-
default: i(() => e[3] || (e[3] = [
|
|
34
|
-
u(" Where Kiva works ")
|
|
35
|
-
])),
|
|
36
|
-
_: 1
|
|
37
|
-
})), [
|
|
38
|
-
[a, ["TopNav", "click-About-Where Kiva works"]]
|
|
39
|
-
]),
|
|
40
|
-
r((o(), c(t, { href: "/impact" }, {
|
|
41
|
-
default: i(() => e[4] || (e[4] = [
|
|
42
|
-
u(" Impact ")
|
|
43
|
-
])),
|
|
44
|
-
_: 1
|
|
45
|
-
})), [
|
|
46
|
-
[a, ["TopNav", "click-About-Impact"]]
|
|
47
|
-
]),
|
|
48
|
-
r((o(), c(t, { href: "/about/leadership" }, {
|
|
49
|
-
default: i(() => e[5] || (e[5] = [
|
|
50
|
-
u(" Leadership ")
|
|
51
|
-
])),
|
|
52
|
-
_: 1
|
|
53
|
-
})), [
|
|
54
|
-
[a, ["TopNav", "click-About-Leadership"]]
|
|
55
|
-
]),
|
|
56
|
-
r((o(), c(t, { href: "/about/finances" }, {
|
|
57
|
-
default: i(() => e[6] || (e[6] = [
|
|
58
|
-
u(" Finances ")
|
|
59
|
-
])),
|
|
60
|
-
_: 1
|
|
61
|
-
})), [
|
|
62
|
-
[a, ["TopNav", "click-About-Finances"]]
|
|
63
|
-
]),
|
|
64
|
-
r((o(), c(t, { href: "/about/press-center" }, {
|
|
65
|
-
default: i(() => e[7] || (e[7] = [
|
|
66
|
-
u(" Press ")
|
|
67
|
-
])),
|
|
68
|
-
_: 1
|
|
69
|
-
})), [
|
|
70
|
-
[a, ["TopNav", "click-About-Press"]]
|
|
71
|
-
]),
|
|
72
|
-
r((o(), c(t, { href: "/about/due-diligence" }, {
|
|
73
|
-
default: i(() => e[8] || (e[8] = [
|
|
74
|
-
u(" Due diligence ")
|
|
75
|
-
])),
|
|
76
|
-
_: 1
|
|
77
|
-
})), [
|
|
78
|
-
[a, ["TopNav", "click-About-Due diligence"]]
|
|
79
|
-
])
|
|
80
|
-
]);
|
|
81
|
-
}
|
|
82
|
-
const _ = /* @__PURE__ */ p(l, [["render", v]]);
|
|
83
|
-
export {
|
|
84
|
-
_ as default
|
|
85
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.header-link[data-v-3db10484]{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-3db10484]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as o } from "vue";
|
|
2
|
-
import "@mdi/js";
|
|
3
|
-
import "numeral";
|
|
4
|
-
import "@kiva/kv-tokens";
|
|
5
|
-
/* empty css */
|
|
6
|
-
/* empty css */
|
|
7
|
-
o(() => import("./KvHeaderMobileMenu.js"));
|
|
8
|
-
o(() => import("./KvHeaderMyKivaMenu.js"));
|
|
9
|
-
o(() => import("./LendMenu/KvLendMenu.js"));
|
|
10
|
-
o(() => import("./KvHeaderTakeActionMenu.js"));
|
|
11
|
-
o(() => import("./KvHeaderAboutMenu.js"));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { openBlock as e, createElementBlock as r, renderSlot as o } from "vue";
|
|
2
|
-
import n from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
const c = {}, l = { class: "tw-py-1.5 tw-cursor-pointer tw-no-underline hover:tw-underline tw-text-primary hover:tw-text-action" };
|
|
4
|
-
function s(t, a) {
|
|
5
|
-
return e(), r("a", l, [
|
|
6
|
-
o(t.$slots, "default")
|
|
7
|
-
]);
|
|
8
|
-
}
|
|
9
|
-
const u = /* @__PURE__ */ n(c, [["render", s]]);
|
|
10
|
-
export {
|
|
11
|
-
u as default
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.mobile-link[data-v-dc19641e]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-dc19641e]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
|