@kiva/kv-components 8.20.0 → 8.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue/KvLoanTag.js +30 -27
- package/package.json +2 -2
package/dist/vue/KvLoanTag.js
CHANGED
|
@@ -1,44 +1,47 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { KV_LOAN_TAG_FRAGMENT as
|
|
3
|
-
import { resolveComponent as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
function
|
|
7
|
-
const
|
|
8
|
-
return t.variation ? (e(),
|
|
1
|
+
import h from "./KvLoanTag2.js";
|
|
2
|
+
import { KV_LOAN_TAG_FRAGMENT as L } from "./KvLoanTag2.js";
|
|
3
|
+
import { resolveComponent as d, openBlock as e, createElementBlock as r, normalizeStyle as _, normalizeClass as w, Fragment as l, createTextVNode as m, toDisplayString as a, createElementVNode as o, createVNode as p, withCtx as y, renderList as f, createBlock as k, createCommentVNode as s } from "vue";
|
|
4
|
+
import x from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const v = ["id"], M = { class: "tw-whitespace-nowrap tw-pb-0.5" };
|
|
6
|
+
function N(b, i, c, C, T, t) {
|
|
7
|
+
const u = d("kv-tooltip"), g = d("kv-countdown-timer");
|
|
8
|
+
return t.variation ? (e(), r("div", {
|
|
9
9
|
key: 0,
|
|
10
|
-
class:
|
|
10
|
+
class: w(["tw-text-small tw-font-medium tw-pt-0.5", { "tw-line-clamp-1": !t.isMultipleMatch }]),
|
|
11
11
|
style: _({ color: t.tagColor })
|
|
12
12
|
}, [
|
|
13
|
-
t.isMultipleMatch ? (e(),
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
id: `matching-orgs-${
|
|
13
|
+
t.isMultipleMatch ? (e(), r(l, { key: 0 }, [
|
|
14
|
+
m(a(t.totalMatchRatio) + "x match by ", 1),
|
|
15
|
+
o("span", {
|
|
16
|
+
id: `matching-orgs-${c.loan.id}`,
|
|
17
17
|
class: "tw-underline tw-decoration-dotted tw-cursor-pointer"
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
controller: `matching-orgs-${
|
|
18
|
+
}, a(t.multiMatchingOrgs.length) + " organizations", 9, v),
|
|
19
|
+
p(u, {
|
|
20
|
+
controller: `matching-orgs-${c.loan.id}`,
|
|
21
|
+
"max-width": "320px",
|
|
21
22
|
theme: "default"
|
|
22
23
|
}, {
|
|
23
|
-
default:
|
|
24
|
-
(
|
|
24
|
+
default: y(() => [
|
|
25
|
+
o("p", M, " Your contribution is matched by " + a(t.multiMatchingOrgs.length) + " partners ", 1),
|
|
26
|
+
i[0] || (i[0] = o("hr", { class: "tw-border-caution-highlight tw-py-0.5" }, null, -1)),
|
|
27
|
+
(e(!0), r(l, null, f(t.multiMatchingOrgs, (n) => (e(), r("p", {
|
|
25
28
|
key: n.managedAccountId,
|
|
26
29
|
class: "tw-m-0"
|
|
27
|
-
},
|
|
30
|
+
}, a(n.ratio) + ":1 matching by " + a(t.orgDisplayName(n)), 1))), 128))
|
|
28
31
|
]),
|
|
29
32
|
_: 1
|
|
30
33
|
}, 8, ["controller"])
|
|
31
|
-
], 64)) : (e(),
|
|
32
|
-
|
|
33
|
-
t.variation === "ending-soon" ? (e(),
|
|
34
|
+
], 64)) : (e(), r(l, { key: 1 }, [
|
|
35
|
+
m(a(t.tagText) + " ", 1),
|
|
36
|
+
t.variation === "ending-soon" ? (e(), k(g, {
|
|
34
37
|
key: 0,
|
|
35
38
|
deadline: t.deadline
|
|
36
|
-
}, null, 8, ["deadline"])) :
|
|
39
|
+
}, null, 8, ["deadline"])) : s("", !0)
|
|
37
40
|
], 64))
|
|
38
|
-
], 6)) :
|
|
41
|
+
], 6)) : s("", !0);
|
|
39
42
|
}
|
|
40
|
-
const
|
|
43
|
+
const z = /* @__PURE__ */ x(h, [["render", N]]);
|
|
41
44
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
L as KV_LOAN_TAG_FRAGMENT,
|
|
46
|
+
z as default
|
|
44
47
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.21.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -113,5 +113,5 @@
|
|
|
113
113
|
"dependencies": {
|
|
114
114
|
"fuse.js": "^7.1.0"
|
|
115
115
|
},
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "13131d8cc45d84ab1bfe6b370feffb9d6c09a635"
|
|
117
117
|
}
|