@m2s2/vue-lib 2.5.2 → 2.6.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/index.cjs +1 -1
- package/dist/index.mjs +58 -57
- package/dist/{index16.cjs → index17.cjs} +1 -1
- package/dist/{index16.mjs → index17.mjs} +1 -1
- package/dist/{index22.cjs → index23.cjs} +1 -1
- package/dist/{index22.mjs → index23.mjs} +1 -1
- package/dist/{index24.cjs → index25.cjs} +1 -1
- package/dist/{index24.mjs → index25.mjs} +1 -1
- package/dist/index27.cjs +2 -0
- package/dist/index27.mjs +363 -0
- package/dist/{index28.cjs → index29.cjs} +1 -1
- package/dist/{index28.mjs → index29.mjs} +1 -1
- package/dist/{index30.cjs → index31.cjs} +1 -1
- package/dist/{index30.mjs → index31.mjs} +1 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.mjs +40 -9
- package/dist/index36.cjs +1 -1
- package/dist/index36.mjs +9 -85
- package/dist/index37.cjs +1 -0
- package/dist/index37.mjs +87 -0
- package/dist/index39.cjs +1 -1
- package/dist/index39.mjs +30 -9
- package/dist/index40.cjs +1 -1
- package/dist/index40.mjs +9 -26
- package/dist/index41.cjs +1 -0
- package/dist/index41.mjs +28 -0
- package/dist/index43.cjs +1 -1
- package/dist/index43.mjs +30 -9
- package/dist/index44.cjs +1 -1
- package/dist/index44.mjs +9 -34
- package/dist/index45.cjs +1 -1
- package/dist/index45.mjs +34 -9
- package/dist/index46.cjs +1 -1
- package/dist/index46.mjs +9 -49
- package/dist/index47.cjs +1 -0
- package/dist/index47.mjs +51 -0
- package/dist/index51.cjs +1 -1
- package/dist/index51.mjs +27 -3
- package/dist/index52.cjs +1 -1
- package/dist/index52.mjs +1 -1
- package/dist/index53.cjs +1 -1
- package/dist/index53.mjs +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.mjs +1 -1
- package/dist/index55.cjs +1 -1
- package/dist/index55.mjs +1 -1
- package/dist/index56.cjs +1 -1
- package/dist/index56.mjs +1 -1
- package/dist/index57.cjs +1 -1
- package/dist/index57.mjs +1 -1
- package/dist/index58.cjs +1 -1
- package/dist/index58.mjs +1 -1
- package/dist/index59.cjs +1 -1
- package/dist/index59.mjs +1 -1
- package/dist/index60.cjs +1 -1
- package/dist/index60.mjs +1 -1
- package/dist/index61.cjs +1 -1
- package/dist/index61.mjs +1 -1
- package/dist/index62.cjs +1 -1
- package/dist/index62.mjs +1 -1
- package/dist/index63.cjs +1 -1
- package/dist/index63.mjs +1 -1
- package/dist/index64.cjs +1 -1
- package/dist/index64.mjs +1 -1
- package/dist/index65.cjs +1 -1
- package/dist/index65.mjs +1 -1
- package/dist/index66.cjs +1 -1
- package/dist/index66.mjs +1 -1
- package/dist/index67.cjs +1 -1
- package/dist/index67.mjs +3 -2
- package/dist/index68.cjs +1 -1
- package/dist/index68.mjs +2 -3
- package/dist/index69.cjs +1 -1
- package/dist/index69.mjs +3 -2
- package/dist/index70.cjs +1 -1
- package/dist/index70.mjs +2 -3
- package/dist/index71.cjs +1 -1
- package/dist/index71.mjs +3 -2
- package/dist/index72.cjs +1 -1
- package/dist/index72.mjs +1 -1
- package/dist/index73.cjs +1 -1
- package/dist/index73.mjs +2 -3
- package/dist/index74.cjs +1 -1
- package/dist/index74.mjs +1 -1
- package/dist/index75.cjs +1 -1
- package/dist/index75.mjs +3 -51
- package/dist/index76.cjs +1 -59
- package/dist/index76.mjs +51 -1150
- package/dist/index77.cjs +1 -1
- package/dist/index77.mjs +5 -21
- package/dist/index78.cjs +59 -5
- package/dist/index78.mjs +1150 -19
- package/dist/index79.cjs +1 -1
- package/dist/index79.mjs +21 -5
- package/dist/index80.cjs +5 -1
- package/dist/index80.mjs +19 -4
- package/dist/index81.cjs +1 -1
- package/dist/index81.mjs +4 -2
- package/dist/index82.cjs +1 -0
- package/dist/index82.mjs +4 -0
- package/dist/vue-lib/src/components/BlogEditor/BlogEditor.vue.d.ts +9 -0
- package/dist/vue-lib/src/components/BlogEditor/BlogEditor.vue.d.ts.map +1 -1
- package/dist/vue-lib/src/index.d.ts +1 -0
- package/dist/vue-lib/src/index.d.ts.map +1 -1
- package/dist/vue-lib.css +1 -1
- package/package.json +1 -1
- package/dist/index26.cjs +0 -2
- package/dist/index26.mjs +0 -321
- package/dist/index34.cjs +0 -1
- package/dist/index34.mjs +0 -42
- package/dist/index38.cjs +0 -1
- package/dist/index38.mjs +0 -32
- package/dist/index42.cjs +0 -1
- package/dist/index42.mjs +0 -32
- package/dist/index50.cjs +0 -1
- package/dist/index50.mjs +0 -29
- /package/dist/{index10.cjs → index11.cjs} +0 -0
- /package/dist/{index10.mjs → index11.mjs} +0 -0
- /package/dist/{index12.cjs → index13.cjs} +0 -0
- /package/dist/{index12.mjs → index13.mjs} +0 -0
- /package/dist/{index14.cjs → index15.cjs} +0 -0
- /package/dist/{index14.mjs → index15.mjs} +0 -0
- /package/dist/{index18.cjs → index19.cjs} +0 -0
- /package/dist/{index18.mjs → index19.mjs} +0 -0
- /package/dist/{index20.cjs → index21.cjs} +0 -0
- /package/dist/{index20.mjs → index21.mjs} +0 -0
- /package/dist/{index2.cjs → index3.cjs} +0 -0
- /package/dist/{index2.mjs → index3.mjs} +0 -0
- /package/dist/{index32.cjs → index33.cjs} +0 -0
- /package/dist/{index32.mjs → index33.mjs} +0 -0
- /package/dist/{index48.cjs → index49.cjs} +0 -0
- /package/dist/{index48.mjs → index49.mjs} +0 -0
- /package/dist/{index4.cjs → index5.cjs} +0 -0
- /package/dist/{index4.mjs → index5.mjs} +0 -0
- /package/dist/{index6.cjs → index7.cjs} +0 -0
- /package/dist/{index6.mjs → index7.mjs} +0 -0
- /package/dist/{index8.cjs → index9.cjs} +0 -0
- /package/dist/{index8.mjs → index9.mjs} +0 -0
package/dist/index46.mjs
CHANGED
|
@@ -1,51 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
align: { default: "left" }
|
|
9
|
-
},
|
|
10
|
-
setup(s) {
|
|
11
|
-
const e = m(!1), r = m(null);
|
|
12
|
-
function d(n) {
|
|
13
|
-
r.value && !r.value.contains(n.target) && (e.value = !1);
|
|
14
|
-
}
|
|
15
|
-
function u(n) {
|
|
16
|
-
n.key === "Escape" && (e.value = !1);
|
|
17
|
-
}
|
|
18
|
-
return c(() => {
|
|
19
|
-
document.addEventListener("mousedown", d), document.addEventListener("keydown", u);
|
|
20
|
-
}), f(() => {
|
|
21
|
-
document.removeEventListener("mousedown", d), document.removeEventListener("keydown", u);
|
|
22
|
-
}), (n, o) => (t(), l("div", {
|
|
23
|
-
ref_key: "root",
|
|
24
|
-
ref: r,
|
|
25
|
-
class: "m2s2-dropdown"
|
|
26
|
-
}, [
|
|
27
|
-
p("div", {
|
|
28
|
-
class: "m2s2-dropdown__trigger",
|
|
29
|
-
"aria-haspopup": "menu",
|
|
30
|
-
"aria-expanded": e.value,
|
|
31
|
-
onClick: o[0] || (o[0] = (a) => e.value = !e.value)
|
|
32
|
-
}, [
|
|
33
|
-
v(n.$slots, "default")
|
|
34
|
-
], 8, L),
|
|
35
|
-
e.value ? (t(), l("ul", {
|
|
36
|
-
key: 0,
|
|
37
|
-
class: k(["m2s2-dropdown__menu", `m2s2-dropdown__menu--${s.align}`]),
|
|
38
|
-
role: "menu"
|
|
39
|
-
}, [
|
|
40
|
-
(t(!0), l(_, null, w(s.items, (a) => (t(), E(y, {
|
|
41
|
-
key: a.id,
|
|
42
|
-
item: a,
|
|
43
|
-
onSelect: o[1] || (o[1] = ($) => e.value = !1)
|
|
44
|
-
}, null, 8, ["item"]))), 128))
|
|
45
|
-
], 2)) : g("", !0)
|
|
46
|
-
], 512));
|
|
47
|
-
}
|
|
48
|
-
});
|
|
1
|
+
import { inject as r } from "vue";
|
|
2
|
+
const o = Symbol("auth");
|
|
3
|
+
function e() {
|
|
4
|
+
const t = r(o);
|
|
5
|
+
if (!t) throw new Error("useAuth must be used within an <AuthProvider>");
|
|
6
|
+
return t;
|
|
7
|
+
}
|
|
49
8
|
export {
|
|
50
|
-
|
|
9
|
+
o as AUTH_KEY,
|
|
10
|
+
e as useAuth
|
|
51
11
|
};
|
package/dist/index47.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),d=require("./index49.cjs");;/* empty css */const i=["aria-expanded"],c=e.defineComponent({__name:"Dropdown",props:{items:{},align:{default:"left"}},setup(s){const n=e.ref(!1),r=e.ref(null);function u(o){r.value&&!r.value.contains(o.target)&&(n.value=!1)}function a(o){o.key==="Escape"&&(n.value=!1)}return e.onMounted(()=>{document.addEventListener("mousedown",u),document.addEventListener("keydown",a)}),e.onUnmounted(()=>{document.removeEventListener("mousedown",u),document.removeEventListener("keydown",a)}),(o,t)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"root",ref:r,class:"m2s2-dropdown"},[e.createElementVNode("div",{class:"m2s2-dropdown__trigger","aria-haspopup":"menu","aria-expanded":n.value,onClick:t[0]||(t[0]=l=>n.value=!n.value)},[e.renderSlot(o.$slots,"default")],8,i),n.value?(e.openBlock(),e.createElementBlock("ul",{key:0,class:e.normalizeClass(["m2s2-dropdown__menu",`m2s2-dropdown__menu--${s.align}`]),role:"menu"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.items,l=>(e.openBlock(),e.createBlock(d,{key:l.id,item:l,onSelect:t[1]||(t[1]=m=>n.value=!1)},null,8,["item"]))),128))],2)):e.createCommentVNode("",!0)],512))}});module.exports=c;
|
package/dist/index47.mjs
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { defineComponent as i, ref as m, onMounted as c, onUnmounted as f, openBlock as t, createElementBlock as l, createElementVNode as p, renderSlot as v, normalizeClass as k, Fragment as _, renderList as w, createBlock as E, createCommentVNode as g } from "vue";
|
|
2
|
+
import y from "./index49.mjs";
|
|
3
|
+
/* empty css */
|
|
4
|
+
const L = ["aria-expanded"], N = /* @__PURE__ */ i({
|
|
5
|
+
__name: "Dropdown",
|
|
6
|
+
props: {
|
|
7
|
+
items: {},
|
|
8
|
+
align: { default: "left" }
|
|
9
|
+
},
|
|
10
|
+
setup(s) {
|
|
11
|
+
const e = m(!1), r = m(null);
|
|
12
|
+
function d(n) {
|
|
13
|
+
r.value && !r.value.contains(n.target) && (e.value = !1);
|
|
14
|
+
}
|
|
15
|
+
function u(n) {
|
|
16
|
+
n.key === "Escape" && (e.value = !1);
|
|
17
|
+
}
|
|
18
|
+
return c(() => {
|
|
19
|
+
document.addEventListener("mousedown", d), document.addEventListener("keydown", u);
|
|
20
|
+
}), f(() => {
|
|
21
|
+
document.removeEventListener("mousedown", d), document.removeEventListener("keydown", u);
|
|
22
|
+
}), (n, o) => (t(), l("div", {
|
|
23
|
+
ref_key: "root",
|
|
24
|
+
ref: r,
|
|
25
|
+
class: "m2s2-dropdown"
|
|
26
|
+
}, [
|
|
27
|
+
p("div", {
|
|
28
|
+
class: "m2s2-dropdown__trigger",
|
|
29
|
+
"aria-haspopup": "menu",
|
|
30
|
+
"aria-expanded": e.value,
|
|
31
|
+
onClick: o[0] || (o[0] = (a) => e.value = !e.value)
|
|
32
|
+
}, [
|
|
33
|
+
v(n.$slots, "default")
|
|
34
|
+
], 8, L),
|
|
35
|
+
e.value ? (t(), l("ul", {
|
|
36
|
+
key: 0,
|
|
37
|
+
class: k(["m2s2-dropdown__menu", `m2s2-dropdown__menu--${s.align}`]),
|
|
38
|
+
role: "menu"
|
|
39
|
+
}, [
|
|
40
|
+
(t(!0), l(_, null, w(s.items, (a) => (t(), E(y, {
|
|
41
|
+
key: a.id,
|
|
42
|
+
item: a,
|
|
43
|
+
onSelect: o[1] || (o[1] = ($) => e.value = !1)
|
|
44
|
+
}, null, 8, ["item"]))), 128))
|
|
45
|
+
], 2)) : g("", !0)
|
|
46
|
+
], 512));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
N as default
|
|
51
|
+
};
|
package/dist/index51.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue"),l=require("./index44.cjs"),a=require("./index35.cjs"),m=require("./index39.cjs"),d=require("./index43.cjs"),n="m2s2-theme";function i(e){typeof document>"u"||(e==="auto"?document.documentElement.removeAttribute("data-theme"):document.documentElement.setAttribute("data-theme",e))}function s(e={}){return{install(t){const c=(typeof localStorage<"u"?localStorage.getItem(n):null)??e.defaultTheme??"auto",r=u.ref(c);i(r.value),u.watch(r,o=>{typeof localStorage<"u"&&localStorage.setItem(n,o),i(o)}),t.provide(l.THEME_KEY,{get theme(){return r.value},setTheme(o){r.value=o}}),t.component("M2S2ThemeProvider",d),t.component("M2S2DialogProvider",a),t.component("M2S2PanelProvider",m)}}}exports.createM2S2=s;
|
package/dist/index51.mjs
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { ref as i, watch as c } from "vue";
|
|
2
|
+
import { THEME_KEY as l } from "./index44.mjs";
|
|
3
|
+
import u from "./index35.mjs";
|
|
4
|
+
import f from "./index39.mjs";
|
|
5
|
+
import d from "./index43.mjs";
|
|
6
|
+
const n = "m2s2-theme";
|
|
7
|
+
function r(e) {
|
|
8
|
+
typeof document > "u" || (e === "auto" ? document.documentElement.removeAttribute("data-theme") : document.documentElement.setAttribute("data-theme", e));
|
|
9
|
+
}
|
|
10
|
+
function _(e = {}) {
|
|
11
|
+
return {
|
|
12
|
+
install(t) {
|
|
13
|
+
const a = (typeof localStorage < "u" ? localStorage.getItem(n) : null) ?? e.defaultTheme ?? "auto", o = i(a);
|
|
14
|
+
r(o.value), c(o, (m) => {
|
|
15
|
+
typeof localStorage < "u" && localStorage.setItem(n, m), r(m);
|
|
16
|
+
}), t.provide(l, {
|
|
17
|
+
get theme() {
|
|
18
|
+
return o.value;
|
|
19
|
+
},
|
|
20
|
+
setTheme(m) {
|
|
21
|
+
o.value = m;
|
|
22
|
+
}
|
|
23
|
+
}), t.component("M2S2ThemeProvider", d), t.component("M2S2DialogProvider", u), t.component("M2S2PanelProvider", f);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
}
|
|
3
27
|
export {
|
|
4
|
-
|
|
28
|
+
_ as createM2S2
|
|
5
29
|
};
|
package/dist/index52.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index3.cjs");;/* empty css */module.exports=e;
|
package/dist/index52.mjs
CHANGED
package/dist/index53.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index5.cjs");;/* empty css */module.exports=e;
|
package/dist/index53.mjs
CHANGED
package/dist/index54.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index7.cjs");;/* empty css */module.exports=e;
|
package/dist/index54.mjs
CHANGED
package/dist/index55.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index9.cjs");;/* empty css */module.exports=e;
|
package/dist/index55.mjs
CHANGED
package/dist/index56.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index11.cjs");;/* empty css */module.exports=e;
|
package/dist/index56.mjs
CHANGED
package/dist/index57.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index13.cjs");;/* empty css */module.exports=e;
|
package/dist/index57.mjs
CHANGED
package/dist/index58.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index15.cjs");;/* empty css */module.exports=e;
|
package/dist/index58.mjs
CHANGED
package/dist/index59.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index17.cjs");;/* empty css */module.exports=e;
|
package/dist/index59.mjs
CHANGED
package/dist/index60.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index19.cjs");;/* empty css */module.exports=e;
|
package/dist/index60.mjs
CHANGED
package/dist/index61.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index21.cjs");;/* empty css */module.exports=e;
|
package/dist/index61.mjs
CHANGED
package/dist/index62.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index23.cjs");;/* empty css */module.exports=e;
|
package/dist/index62.mjs
CHANGED
package/dist/index63.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index25.cjs");;/* empty css */module.exports=e;
|
package/dist/index63.mjs
CHANGED
package/dist/index64.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index27.cjs");;/* empty css */module.exports=e;
|
package/dist/index64.mjs
CHANGED
package/dist/index65.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index29.cjs");;/* empty css */module.exports=e;
|
package/dist/index65.mjs
CHANGED
package/dist/index66.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index31.cjs");;/* empty css */module.exports=e;
|
package/dist/index66.mjs
CHANGED
package/dist/index67.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index33.cjs");;/* empty css */module.exports=e;
|
package/dist/index67.mjs
CHANGED
package/dist/index68.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index35.cjs");module.exports=e;
|
package/dist/index68.mjs
CHANGED
package/dist/index69.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index37.cjs");;/* empty css */module.exports=e;
|
package/dist/index69.mjs
CHANGED
package/dist/index70.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index39.cjs");module.exports=e;
|
package/dist/index70.mjs
CHANGED
package/dist/index71.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index41.cjs");;/* empty css */module.exports=e;
|
package/dist/index71.mjs
CHANGED
package/dist/index72.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index43.cjs");module.exports=e;
|
package/dist/index72.mjs
CHANGED
package/dist/index73.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index45.cjs");module.exports=e;
|
package/dist/index73.mjs
CHANGED
package/dist/index74.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./
|
|
1
|
+
"use strict";const e=require("./index47.cjs");;/* empty css */module.exports=e;
|
package/dist/index74.mjs
CHANGED
package/dist/index75.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("
|
|
1
|
+
"use strict";const e=require("./index49.cjs");;/* empty css */module.exports=e;
|
package/dist/index75.mjs
CHANGED
|
@@ -1,53 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
key: 0,
|
|
4
|
-
class: "social-icon",
|
|
5
|
-
viewBox: "0 0 98 96",
|
|
6
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
-
"aria-hidden": "true",
|
|
8
|
-
fill: "currentColor"
|
|
9
|
-
}, c = {
|
|
10
|
-
key: 1,
|
|
11
|
-
class: "social-icon",
|
|
12
|
-
viewBox: "0 0 24 24",
|
|
13
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
-
"aria-hidden": "true",
|
|
15
|
-
fill: "currentColor"
|
|
16
|
-
}, d = {
|
|
17
|
-
key: 2,
|
|
18
|
-
class: "social-icon",
|
|
19
|
-
viewBox: "0 0 24 24",
|
|
20
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
21
|
-
"aria-hidden": "true",
|
|
22
|
-
fill: "currentColor"
|
|
23
|
-
}, a = {
|
|
24
|
-
key: 3,
|
|
25
|
-
class: "social-icon",
|
|
26
|
-
viewBox: "0 0 24 24",
|
|
27
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
28
|
-
"aria-hidden": "true",
|
|
29
|
-
fill: "currentColor"
|
|
30
|
-
}, u = /* @__PURE__ */ i({
|
|
31
|
-
__name: "SocialIcon",
|
|
32
|
-
props: {
|
|
33
|
-
type: {}
|
|
34
|
-
},
|
|
35
|
-
setup(t) {
|
|
36
|
-
return (v, e) => t.type === "github" ? (l(), o("svg", s, [...e[0] || (e[0] = [
|
|
37
|
-
n("path", {
|
|
38
|
-
"fill-rule": "evenodd",
|
|
39
|
-
"clip-rule": "evenodd",
|
|
40
|
-
d: "M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"
|
|
41
|
-
}, null, -1)
|
|
42
|
-
])])) : t.type === "linkedin" ? (l(), o("svg", c, [...e[1] || (e[1] = [
|
|
43
|
-
n("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }, null, -1)
|
|
44
|
-
])])) : t.type === "twitter" ? (l(), o("svg", d, [...e[2] || (e[2] = [
|
|
45
|
-
n("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.747l7.73-8.835L1.254 2.25H8.08l4.253 5.622 5.91-5.622Zm-1.161 17.52h1.833L7.084 4.126H5.117z" }, null, -1)
|
|
46
|
-
])])) : t.type === "email" ? (l(), o("svg", a, [...e[3] || (e[3] = [
|
|
47
|
-
n("path", { d: "M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z" }, null, -1)
|
|
48
|
-
])])) : r("", !0);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
1
|
+
import o from "./index49.mjs";
|
|
2
|
+
/* empty css */
|
|
51
3
|
export {
|
|
52
|
-
|
|
4
|
+
o as default
|
|
53
5
|
};
|