@roudanio/awesome-comment 0.10.9 → 0.10.10
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/README.md +5 -1
- package/dist/awesome-comment.iife.js +68 -0
- package/dist/awesome-comment.js +11297 -931
- package/dist/awesome-comment.umd.js +68 -0
- package/package.json +1 -1
- package/dist/vendor-auth0-DkqbqvnH.js +0 -1464
- package/dist/vendor-i18n-B4UB934p.js +0 -984
- package/dist/vendor-lodash-CKuyBgAy.js +0 -714
- package/dist/vendor-lucide-Cl8oS5sQ.js +0 -96
- package/dist/vendor-marked-B6IoMkOX.js +0 -1105
- package/dist/vendor-misc-CwXjvmXA.js +0 -1916
- package/dist/vendor-pinia-Dzo8X_0B.js +0 -210
- package/dist/vendor-vue-BTtW1k2s.js +0 -4012
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { h } from "./vendor-vue-BTtW1k2s.js";
|
|
2
|
-
const m = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), w = (t) => t.replace(
|
|
3
|
-
/^([A-Z])|[\s-_]+(\w)/g,
|
|
4
|
-
(e, o, a) => a ? a.toUpperCase() : o.toLowerCase()
|
|
5
|
-
), y = (t) => {
|
|
6
|
-
const e = w(t);
|
|
7
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
8
|
-
}, g = (...t) => t.filter((e, o, a) => !!e && e.trim() !== "" && a.indexOf(e) === o).join(" ").trim(), u = (t) => t === "";
|
|
9
|
-
var r = {
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
width: 24,
|
|
12
|
-
height: 24,
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
fill: "none",
|
|
15
|
-
stroke: "currentColor",
|
|
16
|
-
"stroke-width": 2,
|
|
17
|
-
"stroke-linecap": "round",
|
|
18
|
-
"stroke-linejoin": "round"
|
|
19
|
-
};
|
|
20
|
-
const v = ({
|
|
21
|
-
name: t,
|
|
22
|
-
iconNode: e,
|
|
23
|
-
absoluteStrokeWidth: o,
|
|
24
|
-
"absolute-stroke-width": a,
|
|
25
|
-
strokeWidth: s,
|
|
26
|
-
"stroke-width": d,
|
|
27
|
-
size: n = r.width,
|
|
28
|
-
color: p = r.stroke,
|
|
29
|
-
...i
|
|
30
|
-
}, { slots: l }) => h(
|
|
31
|
-
"svg",
|
|
32
|
-
{
|
|
33
|
-
...r,
|
|
34
|
-
...i,
|
|
35
|
-
width: n,
|
|
36
|
-
height: n,
|
|
37
|
-
stroke: p,
|
|
38
|
-
"stroke-width": u(o) || u(a) || o === !0 || a === !0 ? Number(s || d || r["stroke-width"]) * 24 / Number(n) : s || d || r["stroke-width"],
|
|
39
|
-
class: g(
|
|
40
|
-
"lucide",
|
|
41
|
-
i.class,
|
|
42
|
-
...t ? [`lucide-${m(y(t))}-icon`, `lucide-${m(t)}`] : ["lucide-icon"]
|
|
43
|
-
)
|
|
44
|
-
},
|
|
45
|
-
[...e.map((k) => h(...k)), ...l.default ? [l.default()] : []]
|
|
46
|
-
);
|
|
47
|
-
const c = (t, e) => (o, { slots: a, attrs: s }) => h(
|
|
48
|
-
v,
|
|
49
|
-
{
|
|
50
|
-
...s,
|
|
51
|
-
...o,
|
|
52
|
-
iconNode: e,
|
|
53
|
-
name: t
|
|
54
|
-
},
|
|
55
|
-
a
|
|
56
|
-
);
|
|
57
|
-
const f = c("badge-check", [
|
|
58
|
-
[
|
|
59
|
-
"path",
|
|
60
|
-
{
|
|
61
|
-
d: "M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",
|
|
62
|
-
key: "3c2336"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
66
|
-
]);
|
|
67
|
-
const A = c("reply", [
|
|
68
|
-
["path", { d: "M20 18v-2a4 4 0 0 0-4-4H4", key: "5vmcpk" }],
|
|
69
|
-
["path", { d: "m9 17-5-5 5-5", key: "nvlc11" }]
|
|
70
|
-
]);
|
|
71
|
-
const M = c("thumbs-down", [
|
|
72
|
-
["path", { d: "M17 14V2", key: "8ymqnk" }],
|
|
73
|
-
[
|
|
74
|
-
"path",
|
|
75
|
-
{
|
|
76
|
-
d: "M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",
|
|
77
|
-
key: "m61m77"
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
]);
|
|
81
|
-
const b = c("thumbs-up", [
|
|
82
|
-
["path", { d: "M7 10v12", key: "1qc93n" }],
|
|
83
|
-
[
|
|
84
|
-
"path",
|
|
85
|
-
{
|
|
86
|
-
d: "M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",
|
|
87
|
-
key: "emmmcr"
|
|
88
|
-
}
|
|
89
|
-
]
|
|
90
|
-
]);
|
|
91
|
-
export {
|
|
92
|
-
f as B,
|
|
93
|
-
A as R,
|
|
94
|
-
b as T,
|
|
95
|
-
M as a
|
|
96
|
-
};
|