@elmethis/core 0.1.1 → 0.1.3
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/code/ElmCodeBlock.vue.mjs +2 -2
- package/dist/components/code/ElmCodeBlock.vue3.mjs +10 -10
- package/dist/components/code/ElmKatex.vue2.mjs +3 -2
- package/dist/components/code/ElmKatex.vue3.mjs +2 -2
- package/dist/components/containments/ElmToggle.vue.mjs +1 -14
- package/dist/components/containments/ElmToggle.vue2.mjs +20 -6
- package/dist/components/containments/ElmToggle.vue3.mjs +14 -8
- package/dist/components/data/ElmProgress.vue3.mjs +6 -6
- package/dist/components/fallback/ElmSpinner.vue3.mjs +4 -4
- package/dist/components/form/ElmButton.vue.mjs +2 -2
- package/dist/components/form/ElmButton.vue3.mjs +8 -8
- package/dist/components/icon/ElmDotLoadingIcon.vue3.mjs +4 -4
- package/dist/components/icon/ElmMdiIcon.vue3.mjs +2 -2
- package/dist/components/icon/ElmToggleTheme.vue3.mjs +2 -2
- package/dist/components/navigation/ElmPagetop.vue2.mjs +3 -2
- package/dist/components/navigation/ElmPagetop.vue3.mjs +6 -6
- package/dist/components/others/ElmColorTable.vue2.mjs +5 -1
- package/dist/components/others/ElmJsonComponentRenderer.vue2.mjs +1 -2
- package/dist/components/table/ElmTable.vue2.mjs +3 -2
- package/dist/components/table/ElmTable.vue3.mjs +5 -5
- package/dist/components/typography/ElmBlockQuote.vue3.mjs +4 -4
- package/dist/components/typography/ElmDivider.vue3.mjs +2 -2
- package/dist/components/typography/ElmHeading.vue2.mjs +2 -1
- package/dist/components/typography/ElmHeading.vue3.mjs +9 -9
- package/dist/components/typography/ElmInlineText.vue2.mjs +2 -1
- package/dist/components/typography/ElmInlineText.vue3.mjs +5 -5
- package/dist/styles/text.module.scss.mjs +20 -0
- package/package.json +1 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-
|
|
6
|
+
elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-ea96c386],.v-leave-from[data-v-ea96c386]{opacity:1}.v-enter-active[data-v-ea96c386],.v-leave-active[data-v-ea96c386]{transition:opacity .15s}.v-enter-from[data-v-ea96c386],.v-leave-to[data-v-ea96c386]{opacity:0}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
@@ -17,7 +17,7 @@ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
17
17
|
const cssModules = {
|
|
18
18
|
"$style": style0
|
|
19
19
|
};
|
|
20
|
-
const ElmCodeBlock = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-
|
|
20
|
+
const ElmCodeBlock = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-ea96c386"]]);
|
|
21
21
|
export {
|
|
22
22
|
ElmCodeBlock as default
|
|
23
23
|
};
|
|
@@ -3,28 +3,28 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._wrapper_11asa_1{margin-block:var(--margin-block);opacity:var(--opacity);display:flex;flex-direction:column;border-radius:.25rem;transition:background-color .4s,opacity .8s;background-color:#fff6;box-shadow:0 0 .125rem #3e434b4d}[data-theme=dark] ._wrapper_11asa_1{background-color:#2c3037e6;box-shadow:0 0 .125rem #0006}._header_11asa_16{box-sizing:border-box;padding:.25rem .5rem .5rem;margin:.5rem;display:flex;flex-direction:row;justify-content:space-between;font-family:Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace;border-bottom:solid 1px rgba(62,67,75,.3)}[data-theme=dark] ._header_11asa_16{border-color:#bec2ca4d}._header__left_11asa_30{display:flex;flex-direction:row;align-items:center;gap:.5rem}._copy-icon_11asa_37{box-sizing:border-box;padding:.125rem;width:26px;height:26px;border-radius:.125rem;cursor:pointer;transition:background-color .2s;color:#000000b3}[data-theme=dark] ._copy-icon_11asa_37{color:#ffffffb3}._copy-icon_11asa_37:hover{background-color:#0000001a}[data-theme=dark] ._copy-icon_11asa_37:hover{background-color:#ffffff1a}._header__right_11asa_57{position:relative;display:flex;flex-direction:row;align-items:center;gap:.5rem}._code_11asa_65{position:relative;padding:.25rem 1rem 1rem;overflow-x:auto;scrollbar-width:thin;scrollbar-color:rgba(105,135,184,.3) rgba(105,135,184,.15)}._code-body_11asa_73{transition:opacity .2s}._fallback_11asa_77{position:absolute;top:0;left:0;height:100%;width:100%;box-sizing:border-box;padding:auto;display:flex;justify-content:center;align-items:center;transition:opacity .2s;pointer-events:none}._tooltip_11asa_92{position:absolute;bottom:-2.5rem;right:0;display:flex;flex-wrap:none;justify-content:center;align-items:center;gap:.25rem;height:20px;white-space:nowrap}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const wrapper = "
|
|
14
|
-
const header = "
|
|
15
|
-
const header__left = "
|
|
16
|
-
const header__right = "
|
|
17
|
-
const code = "
|
|
18
|
-
const fallback = "
|
|
19
|
-
const tooltip = "
|
|
13
|
+
const wrapper = "_wrapper_11asa_1";
|
|
14
|
+
const header = "_header_11asa_16";
|
|
15
|
+
const header__left = "_header__left_11asa_30";
|
|
16
|
+
const header__right = "_header__right_11asa_57";
|
|
17
|
+
const code = "_code_11asa_65";
|
|
18
|
+
const fallback = "_fallback_11asa_77";
|
|
19
|
+
const tooltip = "_tooltip_11asa_92";
|
|
20
20
|
const style0 = {
|
|
21
21
|
wrapper,
|
|
22
22
|
header,
|
|
23
23
|
header__left,
|
|
24
|
-
"copy-icon": "_copy-
|
|
24
|
+
"copy-icon": "_copy-icon_11asa_37",
|
|
25
25
|
header__right,
|
|
26
26
|
code,
|
|
27
|
-
"code-body": "_code-
|
|
27
|
+
"code-body": "_code-body_11asa_73",
|
|
28
28
|
fallback,
|
|
29
29
|
tooltip
|
|
30
30
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onUpdated, onServerPrefetch, createElementBlock, openBlock, normalizeStyle, normalizeClass, createCommentVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, onMounted, onUpdated, onServerPrefetch, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode } from "vue";
|
|
2
|
+
import textStyle from "../../styles/text.module.scss.mjs";
|
|
2
3
|
const _hoisted_1 = ["innerHTML"];
|
|
3
4
|
const _hoisted_2 = ["innerHTML"];
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -37,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
38
|
return props.block ? (openBlock(), createElementBlock("div", {
|
|
38
39
|
key: 0,
|
|
39
40
|
ref: "targetRef",
|
|
40
|
-
class: normalizeClass(_ctx.$style.katex),
|
|
41
|
+
class: normalizeClass([_ctx.$style.katex, unref(textStyle).text]),
|
|
41
42
|
style: normalizeStyle({
|
|
42
43
|
"--margin-block": props.block ? "3rem" : void 0
|
|
43
44
|
})
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._katex_o1ipu_1{margin-block:var(--margin-block)}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const katex = "
|
|
13
|
+
const katex = "_katex_o1ipu_1";
|
|
14
14
|
const style0 = {
|
|
15
15
|
katex
|
|
16
16
|
};
|
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
"use strict";
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-3d63d491],.v-leave-from[data-v-3d63d491]{opacity:1}.v-enter-active[data-v-3d63d491],.v-leave-active[data-v-3d63d491]{transition:opacity .2s;transform-origin:top}.v-enter-from[data-v-3d63d491],.v-leave-to[data-v-3d63d491]{opacity:0}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
})();
|
|
13
1
|
import _sfc_main from "./ElmToggle.vue2.mjs";
|
|
14
2
|
import style0 from "./ElmToggle.vue3.mjs";
|
|
15
|
-
|
|
16
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
17
4
|
const cssModules = {
|
|
18
5
|
"$style": style0
|
|
19
6
|
};
|
|
20
|
-
const ElmToggle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]
|
|
7
|
+
const ElmToggle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
21
8
|
export {
|
|
22
9
|
ElmToggle as default
|
|
23
10
|
};
|
|
@@ -45,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
_ctx.summary != null ? (openBlock(), createBlock(ElmInlineText, {
|
|
46
46
|
key: 0,
|
|
47
47
|
text: _ctx.summary
|
|
48
|
-
}, null, 8, ["text"])) : renderSlot(_ctx.$slots, "summary", { key: 1 }
|
|
48
|
+
}, null, 8, ["text"])) : renderSlot(_ctx.$slots, "summary", { key: 1 })
|
|
49
49
|
])
|
|
50
50
|
], 2),
|
|
51
51
|
createVNode(ElmMdiIcon, {
|
|
@@ -55,18 +55,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
55
|
color: isOpen.value ? "#b36472" : "#59b57c"
|
|
56
56
|
}, null, 8, ["class", "d", "style", "color"])
|
|
57
57
|
], 6),
|
|
58
|
-
createVNode(Transition,
|
|
58
|
+
createVNode(Transition, {
|
|
59
|
+
"enter-from-class": _ctx.$style["v-enter-from"],
|
|
60
|
+
"enter-active-class": _ctx.$style["v-enter-active"],
|
|
61
|
+
"enter-to-class": _ctx.$style["v-enter-to"],
|
|
62
|
+
"leave-from-class": _ctx.$style["v-leave-from"],
|
|
63
|
+
"leave-active-class": _ctx.$style["v-leave-active"],
|
|
64
|
+
"leave-to-class": _ctx.$style["v-leave-to"]
|
|
65
|
+
}, {
|
|
59
66
|
default: withCtx(() => [
|
|
60
67
|
isOpen.value ? (openBlock(), createElementBlock("div", {
|
|
61
68
|
key: 0,
|
|
62
69
|
class: normalizeClass(_ctx.$style.content)
|
|
63
70
|
}, [
|
|
64
|
-
renderSlot(_ctx.$slots, "default"
|
|
71
|
+
renderSlot(_ctx.$slots, "default")
|
|
65
72
|
], 2)) : createCommentVNode("", true)
|
|
66
73
|
]),
|
|
67
74
|
_: 3
|
|
68
|
-
}),
|
|
69
|
-
createVNode(Transition,
|
|
75
|
+
}, 8, ["enter-from-class", "enter-active-class", "enter-to-class", "leave-from-class", "leave-active-class", "leave-to-class"]),
|
|
76
|
+
createVNode(Transition, {
|
|
77
|
+
"enter-from-class": _ctx.$style["v-enter-from"],
|
|
78
|
+
"enter-active-class": _ctx.$style["v-enter-active"],
|
|
79
|
+
"enter-to-class": _ctx.$style["v-enter-to"],
|
|
80
|
+
"leave-from-class": _ctx.$style["v-leave-from"],
|
|
81
|
+
"leave-active-class": _ctx.$style["v-leave-active"],
|
|
82
|
+
"leave-to-class": _ctx.$style["v-leave-to"]
|
|
83
|
+
}, {
|
|
70
84
|
default: withCtx(() => [
|
|
71
85
|
isOpen.value ? (openBlock(), createElementBlock("div", {
|
|
72
86
|
key: 0,
|
|
@@ -89,7 +103,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
103
|
], 2)) : createCommentVNode("", true)
|
|
90
104
|
]),
|
|
91
105
|
_: 1
|
|
92
|
-
})
|
|
106
|
+
}, 8, ["enter-from-class", "enter-active-class", "enter-to-class", "leave-from-class", "leave-active-class", "leave-to-class"])
|
|
93
107
|
], 6);
|
|
94
108
|
};
|
|
95
109
|
}
|
|
@@ -3,26 +3,32 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._toggle_e4vh8_1{margin-block:var(--margin-block)}._summary_e4vh8_5{box-sizing:border-box;padding:1rem;width:100%;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:.5rem;border:1px solid rgba(0,0,0,.125);background-color:#3e434b0d}[data-theme=dark] ._summary_e4vh8_5{border:1px solid rgba(255,255,255,.125);background-color:#bec2ca1a}._summary-left_e4vh8_23{display:flex;gap:.5rem;align-items:center}._icon_e4vh8_29{transform:rotate(0);transform:rotate(var(--rotate, 0deg));transition:transform .2s}._content_e4vh8_34{margin:0;padding:.75rem;display:block;border-radius:0 0 .25rem .25rem;background-color:#ffffff1a;border:1px solid rgba(0,0,0,.125)}[data-theme=dark] ._content_e4vh8_34{border:1px solid rgba(255,255,255,.125);background-color:#bec2ca0d}._close_e4vh8_47{margin-block:.25rem;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:.25rem}._close-button_e4vh8_56{padding:.25rem;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:.25rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;opacity:.7;transition:background-color .1s;border-radius:.25rem}._close-button_e4vh8_56:hover{background-color:#c5656526}._v-enter-to_e4vh8_73,._v-leave-from_e4vh8_74{opacity:1}._v-enter-active_e4vh8_78,._v-leave-active_e4vh8_79{transition:opacity .2s;transform-origin:top}._v-enter-from_e4vh8_84,._v-leave-to_e4vh8_85{opacity:0}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const toggle = "
|
|
14
|
-
const summary = "
|
|
15
|
-
const icon = "
|
|
16
|
-
const content = "
|
|
17
|
-
const close = "
|
|
13
|
+
const toggle = "_toggle_e4vh8_1";
|
|
14
|
+
const summary = "_summary_e4vh8_5";
|
|
15
|
+
const icon = "_icon_e4vh8_29";
|
|
16
|
+
const content = "_content_e4vh8_34";
|
|
17
|
+
const close = "_close_e4vh8_47";
|
|
18
18
|
const style0 = {
|
|
19
19
|
toggle,
|
|
20
20
|
summary,
|
|
21
|
-
"summary-left": "_summary-
|
|
21
|
+
"summary-left": "_summary-left_e4vh8_23",
|
|
22
22
|
icon,
|
|
23
23
|
content,
|
|
24
24
|
close,
|
|
25
|
-
"close-button": "_close-
|
|
25
|
+
"close-button": "_close-button_e4vh8_56",
|
|
26
|
+
"v-enter-to": "_v-enter-to_e4vh8_73",
|
|
27
|
+
"v-leave-from": "_v-leave-from_e4vh8_74",
|
|
28
|
+
"v-enter-active": "_v-enter-active_e4vh8_78",
|
|
29
|
+
"v-leave-active": "_v-leave-active_e4vh8_79",
|
|
30
|
+
"v-enter-from": "_v-enter-from_e4vh8_84",
|
|
31
|
+
"v-leave-to": "_v-leave-to_e4vh8_85"
|
|
26
32
|
};
|
|
27
33
|
export {
|
|
28
34
|
close,
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode('.
|
|
6
|
+
elementStyle.appendChild(document.createTextNode('._progress_5ot7m_1{display:none}@keyframes _loading_5ot7m_23{0%{transform:scaleX(0);transform-origin:left}49%{transform:scaleX(1);transform-origin:left}51%{transform:scaleX(1);transform-origin:right}to{transform:scaleX(0);transform-origin:right}}._loading_5ot7m_23{position:absolute;content:"";width:100%;height:100%;transition:transform .8s;transform:scaleX(0);transform:var(--scale-x, scaleX(0));transform-origin:left;background-color:#555b67;background-color:var(--color, #555b67);animation-name:_loading_5ot7m_23;animation-duration:1.6s;animation-iteration-count:infinite}[data-theme=dark] ._loading_5ot7m_23{background-color:#b0b5be;background-color:var(--color, #b0b5be)}._container_5ot7m_40{width:100%;height:var(--weight);position:relative;border-radius:var(--border-radius);overflow:hidden;background-color:#0000001a}[data-theme=dark] ._container_5ot7m_40{background-color:#ffffff1a}._container_5ot7m_40 ._value_5ot7m_51{position:absolute;content:"";width:100%;height:100%;transition:transform .8s;transform:scaleX(0);transform:var(--scale-x, scaleX(0));transform-origin:left;background-color:#555b67;background-color:var(--color, #555b67)}[data-theme=dark] ._container_5ot7m_40 ._value_5ot7m_51{background-color:#b0b5be;background-color:var(--color, #b0b5be)}._container_5ot7m_40 ._buffer_5ot7m_64{position:absolute;content:"";width:100%;height:100%;transition:transform .4s;transform:scaleX(0);transform:var(--scale-x, scaleX(0));transform-origin:left;background-color:#555b67;background-color:var(--color, #555b67);opacity:.25}[data-theme=dark] ._container_5ot7m_40 ._buffer_5ot7m_64{background-color:#b0b5be;background-color:var(--color, #b0b5be)}'));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const progress = "
|
|
14
|
-
const loading = "
|
|
15
|
-
const container = "
|
|
16
|
-
const value = "
|
|
17
|
-
const buffer = "
|
|
13
|
+
const progress = "_progress_5ot7m_1";
|
|
14
|
+
const loading = "_loading_5ot7m_23";
|
|
15
|
+
const container = "_container_5ot7m_40";
|
|
16
|
+
const value = "_value_5ot7m_51";
|
|
17
|
+
const buffer = "_buffer_5ot7m_64";
|
|
18
18
|
const style0 = {
|
|
19
19
|
progress,
|
|
20
20
|
loading,
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("@keyframes _draw-
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("@keyframes _draw-line_mzcfh_1{0%{stroke-dashoffset:0%}to{stroke-dashoffset:400%}}@keyframes _rotate_mzcfh_1{0%{transform:rotate(180deg)}to{transform:rotate(-180deg)}}._circle_mzcfh_17{stroke-dasharray:200%;animation:_draw-line_mzcfh_1 1.2s infinite ease-in-out,_rotate_mzcfh_1 1.2s infinite linear;transform-origin:center;stroke:#555b67}[data-theme=dark] ._circle_mzcfh_17{stroke:#b0b5be}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const circle = "
|
|
14
|
-
const rotate = "
|
|
13
|
+
const circle = "_circle_mzcfh_17";
|
|
14
|
+
const rotate = "_rotate_mzcfh_1";
|
|
15
15
|
const style0 = {
|
|
16
16
|
circle,
|
|
17
|
-
"draw-line": "_draw-
|
|
17
|
+
"draw-line": "_draw-line_mzcfh_1",
|
|
18
18
|
rotate
|
|
19
19
|
};
|
|
20
20
|
export {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-
|
|
6
|
+
elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-f6774eea],.v-leave-from[data-v-f6774eea]{opacity:1}.v-enter-active[data-v-f6774eea],.v-leave-active[data-v-f6774eea]{transition:opacity .1s}.v-enter-from[data-v-f6774eea],.v-leave-to[data-v-f6774eea]{opacity:0}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
@@ -17,7 +17,7 @@ import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
17
17
|
const cssModules = {
|
|
18
18
|
"$style": style0
|
|
19
19
|
};
|
|
20
|
-
const ElmButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-
|
|
20
|
+
const ElmButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-f6774eea"]]);
|
|
21
21
|
export {
|
|
22
22
|
ElmButton as default
|
|
23
23
|
};
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._button_ivzuu_1{all:unset;position:relative;overflow:hidden;min-height:2.75rem;justify-content:center;align-items:center;gap:.5rem;border-radius:.25rem;box-sizing:border-box;padding:.5rem 1.5rem;line-height:1.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;transition:opacity .2s,transform .2s;opacity:var(--opacity)}._normal_ivzuu_19{box-shadow:0 0 .25rem #0003;color:#0009;background-color:#fffc}[data-theme=dark] ._normal_ivzuu_19{box-shadow:0 0 .25rem #0009;color:#fff9;background-color:#3e434b}._primary_ivzuu_30{box-shadow:0 0 .25rem #0003;color:#fff9;background-color:#3e434b}[data-theme=dark] ._primary_ivzuu_30{box-shadow:0 0 .25rem #0009;color:#0009;background-color:#fffc}._enable_ivzuu_41{transition:opacity .2s,transform .2s}[data-theme=dark] ._enable_ivzuu_41:hover{transform:translate(-1px) translateY(-1px);opacity:.7;opacity:var(--opacity, .7)}[data-theme=dark] ._enable_ivzuu_41:active{transform:translate(1px) translateY(1px);opacity:.5;opacity:var(--opacity, .5)}._enable_ivzuu_41:hover{transform:translate(-1px) translateY(-1px);opacity:.7;opacity:var(--opacity, .7)}._enable_ivzuu_41:active{transform:translate(1px) translateY(1px);opacity:.5;opacity:var(--opacity, .5)}._flex_ivzuu_61{display:flex;justify-content:center;align-items:center;gap:.5rem}@keyframes _button-ripple_ivzuu_1{0%{transform:scale(0);opacity:1}to{transform:scale(1.2);opacity:0}}._ripple_ivzuu_78{position:absolute;pointer-events:none;border-radius:50%;background-color:#80808059;width:100%;aspect-ratio:1/1;transition:none;opacity:0;animation-name:_button-ripple_ivzuu_1;animation-duration:.3s;animation-fill-mode:both;animation-timing-function:ease-out}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const button = "
|
|
14
|
-
const normal = "
|
|
15
|
-
const primary = "
|
|
16
|
-
const enable = "
|
|
17
|
-
const flex = "
|
|
18
|
-
const ripple = "
|
|
13
|
+
const button = "_button_ivzuu_1";
|
|
14
|
+
const normal = "_normal_ivzuu_19";
|
|
15
|
+
const primary = "_primary_ivzuu_30";
|
|
16
|
+
const enable = "_enable_ivzuu_41";
|
|
17
|
+
const flex = "_flex_ivzuu_61";
|
|
18
|
+
const ripple = "_ripple_ivzuu_78";
|
|
19
19
|
const style0 = {
|
|
20
20
|
button,
|
|
21
21
|
normal,
|
|
@@ -23,7 +23,7 @@ const style0 = {
|
|
|
23
23
|
enable,
|
|
24
24
|
flex,
|
|
25
25
|
ripple,
|
|
26
|
-
"button-ripple": "_button-
|
|
26
|
+
"button-ripple": "_button-ripple_ivzuu_1"
|
|
27
27
|
};
|
|
28
28
|
export {
|
|
29
29
|
button,
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("@keyframes
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("@keyframes _bounce_1sgwe_1{0%{transform:translateY(0) scaleY(.3) scaleX(1.5)}10%{transform:scaleY(.8) scaleX(1.2)}to{transform:translateY(-400%) scaleY(1.1)}}._wrapper_1sgwe_12{position:relative;display:flex;justify-content:space-around;align-items:flex-end}._wrapper_1sgwe_12 ._dot_1sgwe_18{width:20%;height:20%;border-radius:50%;animation-name:_bounce_1sgwe_1;animation-duration:.4s;animation-iteration-count:infinite;animation-direction:alternate;animation-timing-function:ease-out;transition:background-color .4s;background-color:#606875}[data-theme=dark] ._wrapper_1sgwe_12 ._dot_1sgwe_18{background-color:#b0b5be}._wrapper_1sgwe_12 ._dot_1sgwe_18:nth-last-of-type(1){animation-delay:-.1s}._wrapper_1sgwe_12 ._dot_1sgwe_18:nth-last-of-type(2){animation-delay:0ms}._wrapper_1sgwe_12 ._dot_1sgwe_18:nth-last-of-type(3){animation-delay:.1s}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const wrapper = "
|
|
14
|
-
const dot = "
|
|
15
|
-
const bounce = "
|
|
13
|
+
const wrapper = "_wrapper_1sgwe_12";
|
|
14
|
+
const dot = "_dot_1sgwe_18";
|
|
15
|
+
const bounce = "_bounce_1sgwe_1";
|
|
16
16
|
const style0 = {
|
|
17
17
|
wrapper,
|
|
18
18
|
dot,
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._icon_1ta1m_1{fill:#555b67;fill:var(--color, #555b67)}[data-theme=dark] ._icon_1ta1m_1{fill:#b0b5be;fill:var(--dark-color, #b0b5be)}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const icon = "
|
|
13
|
+
const icon = "_icon_1ta1m_1";
|
|
14
14
|
const style0 = {
|
|
15
15
|
icon
|
|
16
16
|
};
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._icon_17of1_1{box-sizing:border-box;padding:.25rem;color:#555b67;border-radius:50%;cursor:pointer;box-shadow:0 0 .125rem #0000004d;background-color:#fff3}[data-theme=dark] ._icon_17of1_1{box-shadow:0 0 .125rem #0009;background-color:#0003;box-sizing:border-box;padding:.25rem;color:#b0b5be;border-radius:50%;cursor:pointer}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const icon = "
|
|
13
|
+
const icon = "_icon_17of1_1";
|
|
14
14
|
const style0 = {
|
|
15
15
|
icon
|
|
16
16
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, unref } from "vue";
|
|
2
2
|
import { useWindowScroll } from "@vueuse/core";
|
|
3
|
+
import textStyle from "../../styles/text.module.scss.mjs";
|
|
3
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
5
|
__name: "ElmPagetop",
|
|
5
6
|
props: {
|
|
@@ -40,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
41
|
class: normalizeClass(_ctx.$style.partial)
|
|
41
42
|
}, null, 2),
|
|
42
43
|
createElementVNode("span", {
|
|
43
|
-
class: normalizeClass(_ctx.$style.text)
|
|
44
|
+
class: normalizeClass([_ctx.$style.text, unref(textStyle).text])
|
|
44
45
|
}, "Back to Top", 2)
|
|
45
46
|
], 6);
|
|
46
47
|
};
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode('.
|
|
6
|
+
elementStyle.appendChild(document.createTextNode('._wrapper_11hrj_1{--const-margin: 1rem;z-index:50;display:block;position:fixed;bottom:0;margin:1rem .5rem;margin:var(--const-margin) .5rem;width:var(--size);height:var(--size);left:auto;left:var(--left, auto);right:auto;right:var(---right, auto);opacity:1;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .7s,opacity .4s;transform-origin:50% 50%;transform:translateY(250%) rotate(180deg)}._wrapper--visible_11hrj_20{transition:transform .7s,opacity .2s;transform:translateY(0) rotate(0)}._wrapper_11hrj_1:hover{opacity:.8}._wrapper_11hrj_1:active{opacity:.4}@keyframes _move_11hrj_1{0%{opacity:0;transform:translateY(600%)}25%{opacity:1;transform:translateY(220%)}42%{opacity:1;transform:translateY(200%)}67%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-50%) scale(.5)}}._wrapper_11hrj_1 ._partial_11hrj_52{position:absolute;width:var(--size);height:20px;opacity:0;transform:scale3d(.5,.5,.5);animation:_move_11hrj_1 3s ease-out infinite}._wrapper_11hrj_1 ._partial_11hrj_52:nth-of-type(1){animation:_move_11hrj_1 3s ease-out 1s infinite}._wrapper_11hrj_1 ._partial_11hrj_52:nth-of-type(2){animation:_move_11hrj_1 3s ease-out 2s infinite}._wrapper_11hrj_1 ._partial_11hrj_52:before,._wrapper_11hrj_1 ._partial_11hrj_52:after{content:"";position:absolute;top:0;height:100%;width:50%;background-color:#494f59}[data-theme=dark] ._wrapper_11hrj_1 ._partial_11hrj_52:before,[data-theme=dark] ._wrapper_11hrj_1 ._partial_11hrj_52:after{background-color:#bec2ca}._wrapper_11hrj_1 ._partial_11hrj_52:before{left:0;transform:skew(0,-30deg)}._wrapper_11hrj_1 ._partial_11hrj_52:after{right:0;transform:skew(0,30deg)}._wrapper_11hrj_1 ._text_11hrj_85{transition:opacity .2s ease .4s;width:100%;text-align:center;font-family:sans-serif;position:absolute;z-index:50;bottom:calc(0px - var(--const-margin));font-size:12px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}'));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const wrapper = "
|
|
14
|
-
const partial = "
|
|
15
|
-
const move = "
|
|
16
|
-
const text = "
|
|
13
|
+
const wrapper = "_wrapper_11hrj_1";
|
|
14
|
+
const partial = "_partial_11hrj_52";
|
|
15
|
+
const move = "_move_11hrj_1";
|
|
16
|
+
const text = "_text_11hrj_85";
|
|
17
17
|
const style0 = {
|
|
18
18
|
wrapper,
|
|
19
|
-
"wrapper--visible": "_wrapper--
|
|
19
|
+
"wrapper--visible": "_wrapper--visible_11hrj_20",
|
|
20
20
|
partial,
|
|
21
21
|
move,
|
|
22
22
|
text
|
|
@@ -20,6 +20,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
style: normalizeStyle({ "--color": color.code })
|
|
21
21
|
}, toDisplayString(color.name), 7),
|
|
22
22
|
(openBlock(), createElementBlock(Fragment, null, renderList([
|
|
23
|
+
-3,
|
|
24
|
+
-0.25,
|
|
23
25
|
-0.2,
|
|
24
26
|
-0.15,
|
|
25
27
|
-0.1,
|
|
@@ -28,7 +30,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
30
|
0.05,
|
|
29
31
|
0.1,
|
|
30
32
|
0.15,
|
|
31
|
-
0.2
|
|
33
|
+
0.2,
|
|
34
|
+
0.25,
|
|
35
|
+
0.3
|
|
32
36
|
], (darkness) => {
|
|
33
37
|
return createVNode(ElmColorSample, {
|
|
34
38
|
color: unref(darken)(darkness, color.code)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-610548e5],.v-leave-from[data-v-610548e5]{opacity:1}.v-enter-active[data-v-610548e5],.v-leave-active[data-v-610548e5]{transition:opacity .1s}.v-enter-from[data-v-610548e5],.v-leave-to[data-v-610548e5]{opacity:0}\n.v-enter-to[data-v-
|
|
6
|
+
elementStyle.appendChild(document.createTextNode(".v-enter-to[data-v-610548e5],.v-leave-from[data-v-610548e5]{opacity:1}.v-enter-active[data-v-610548e5],.v-leave-active[data-v-610548e5]{transition:opacity .1s}.v-enter-from[data-v-610548e5],.v-leave-to[data-v-610548e5]{opacity:0}\n.v-enter-to[data-v-ea96c386],.v-leave-from[data-v-ea96c386]{opacity:1}.v-enter-active[data-v-ea96c386],.v-leave-active[data-v-ea96c386]{transition:opacity .15s}.v-enter-from[data-v-ea96c386],.v-leave-to[data-v-ea96c386]{opacity:0}\n.v-enter-to[data-v-83a74154],.v-leave-from[data-v-83a74154]{opacity:1}.v-enter-active[data-v-83a74154],.v-leave-active[data-v-83a74154]{transition:opacity .2s}.v-enter-from[data-v-83a74154],.v-leave-to[data-v-83a74154]{opacity:0}\n.fade-enter-active[data-v-12f55baa],.fade-leave-active[data-v-12f55baa]{transition:all .3s ease}.fade-enter-from[data-v-12f55baa],.fade-leave-to[data-v-12f55baa]{opacity:0;transform:translate(30px)}\n.v-enter-to[data-v-cd939485],.v-leave-from[data-v-cd939485]{transform:scale(1);opacity:1}.v-enter-active[data-v-cd939485],.v-leave-active[data-v-cd939485]{transition:opacity .1s,transform .2s}.v-enter-from[data-v-cd939485],.v-leave-to[data-v-cd939485]{transform:scale(.5);opacity:0}\n.v-enter-to[data-v-84bc9c5d],.v-leave-from[data-v-84bc9c5d]{opacity:1}.v-enter-active[data-v-84bc9c5d],.v-leave-active[data-v-84bc9c5d]{transition:opacity .15s}.v-enter-from[data-v-84bc9c5d],.v-leave-to[data-v-84bc9c5d]{opacity:0}\n.v-enter-to[data-v-f6774eea],.v-leave-from[data-v-f6774eea]{opacity:1}.v-enter-active[data-v-f6774eea],.v-leave-active[data-v-f6774eea]{transition:opacity .1s}.v-enter-from[data-v-f6774eea],.v-leave-to[data-v-f6774eea]{opacity:0}\n.v-enter-to[data-v-a6508d78],.v-leave-from[data-v-a6508d78]{opacity:1}.v-enter-active[data-v-a6508d78],.v-leave-active[data-v-a6508d78]{transition:opacity .3s}.v-enter-from[data-v-a6508d78],.v-leave-to[data-v-a6508d78]{opacity:0}\n.v-enter-to[data-v-4e995755],.v-leave-from[data-v-4e995755]{opacity:1}.v-enter-active[data-v-4e995755],.v-leave-active[data-v-4e995755]{transition:opacity .3s}.v-enter-from[data-v-4e995755],.v-leave-to[data-v-4e995755]{opacity:0}\n.elmethis-list-common{margin-block:1rem;opacity:var(--opacity);transition:opacity .8s;box-sizing:border-box;padding-left:1.25rem}.elmethis-bulleted-list li{box-sizing:border-box;padding-left:.5rem;margin-block:.75rem}.elmethis-bulleted-list li::marker{content:url(data:image/svg+xml;base64,ICA8c3ZnCiAgICB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnCiAgICB2aWV3Qm94PScwIDAgMTYgMTYnCiAgICB3aWR0aD0nMTJweCcKICAgIGhlaWdodD0nMTJweCcKICA+CiAgICA8cGF0aAogICAgICBmaWxsPScjNDQ5NzYzJwogICAgICBvcGFjaXR5PScwLjgnCiAgICAgIGQ9J00zIDMuNzMyYTEuNSAxLjUgMCAwIDEgMi4zMDUtMS4yNjVsNi43MDYgNC4yNjdhMS41IDEuNSAwIDAgMSAwIDIuNTMxbC02LjcwNiA0LjI2OEExLjUgMS41IDAgMCAxIDMgMTIuMjY3VjMuNzMyWicKICAgIC8+CiAgPC9zdmc+)}.elmethis-bulleted-list li ul li::marker{content:url(data:image/svg+xml;base64,ICA8c3ZnCiAgICB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnCiAgICB2aWV3Qm94PScwIDAgMjQgMjQnCiAgICB3aWR0aD0nMTJweCcKICAgIGhlaWdodD0nMTJweCcKICAgIHN0cm9rZT0nIzQ0OTc2MycKICAgIGZpbGw9J3RyYW5zcGFyZW50JwogID4KICAgIDxwYXRoCiAgICAgIHN0cm9rZUxpbmVjYXA9J3JvdW5kJwogICAgICBzdHJva2VMaW5lam9pbj0ncm91bmQnCiAgICAgIGQ9J001LjI1IDUuNjUzYzAtLjg1Ni45MTctMS4zOTggMS42NjctLjk4NmwxMS41NCA2LjM0N2ExLjEyNSAxLjEyNSAwIDAgMSAwIDEuOTcybC0xMS41NCA2LjM0N2ExLjEyNSAxLjEyNSAwIDAgMS0xLjY2Ny0uOTg2VjUuNjUzWicKICAgIC8+CiAgPC9zdmc+)}.elmethis-bulleted-list li ul li ul li::marker{content:url(data:image/svg+xml;base64,ICA8c3ZnCiAgICB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnCiAgICB2aWV3Qm94PScwIDAgMjAgMjAnCiAgICB3aWR0aD0nMTJweCcKICAgIGhlaWdodD0nMTJweCcKICAgIHN0cm9rZT0nIzQ0OTc2MycKICAgIGZpbGw9JyM0NDk3NjMnCiAgPgogICAgPHBhdGgKICAgICAgZmlsbFJ1bGU9J2V2ZW5vZGQnCiAgICAgIGQ9J004LjIyIDUuMjJhLjc1Ljc1IDAgMCAxIDEuMDYgMGw0LjI1IDQuMjVhLjc1Ljc1IDAgMCAxIDAgMS4wNmwtNC4yNSA0LjI1YS43NS43NSAwIDAgMS0xLjA2LTEuMDZMMTEuOTQgMTAgOC4yMiA2LjI4YS43NS43NSAwIDAgMSAwLTEuMDZaJwogICAgICBjbGlwUnVsZT0nZXZlbm9kZCcKICAgIC8+CiAgPC9zdmc+)}.elmethis-numbered-list li{box-sizing:border-box;padding-left:.25rem;margin-block:.75rem;margin-left:.25rem;list-style-type:decimal}.elmethis-numbered-list li::marker{font-weight:700;color:#9771bd}.elmethis-numbered-list li ol li{list-style-type:lower-alpha}.elmethis-numbered-list li ol li ol li{list-style-type:lower-roman}.elmethis-numbered-list li ol li ol li ol li{list-style-type:lower-greek}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
@@ -22,7 +22,6 @@ import "@vueuse/core";
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
|
|
26
25
|
import "nanoid";
|
|
27
26
|
import "lodash-es";
|
|
28
27
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, computed, provide, useSlots, createElementBlock, openBlock, normalizeStyle, normalizeClass, createCommentVNode, renderSlot, createElementVNode, createVNode
|
|
1
|
+
import { defineComponent, computed, provide, useSlots, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createCommentVNode, renderSlot, createElementVNode, createVNode } from "vue";
|
|
2
2
|
import ElmInlineText from "../typography/ElmInlineText.vue.mjs";
|
|
3
3
|
import { mdiTable } from "@mdi/js";
|
|
4
|
+
import textStyle from "../../styles/text.module.scss.mjs";
|
|
4
5
|
const _hoisted_1 = { key: 0 };
|
|
5
6
|
const _hoisted_2 = {
|
|
6
7
|
viewBox: "0 0 24 24",
|
|
@@ -22,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
23
|
const slots = useSlots();
|
|
23
24
|
return (_ctx, _cache) => {
|
|
24
25
|
return openBlock(), createElementBlock("table", {
|
|
25
|
-
class: normalizeClass(_ctx.$style.table),
|
|
26
|
+
class: normalizeClass([_ctx.$style.table, unref(textStyle).text]),
|
|
26
27
|
style: normalizeStyle({
|
|
27
28
|
"--margin-block": _ctx.margin
|
|
28
29
|
})
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._table_x2nyq_1{margin-block:var(--margin-block);border-collapse:collapse;border-spacing:0;box-shadow:0 0 .125rem #0003}._caption_x2nyq_8{position:relative;width:100%;display:inline-flex;justify-content:center;align-items:center;gap:1rem;margin-block-end:1rem}._caption-inner_x2nyq_18{display:inline-flex;justify-content:center;align-items:center;gap:.25rem}._spacing_x2nyq_25{flex-grow:1;height:1px;background-color:#80808033}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const table = "
|
|
14
|
-
const caption = "
|
|
15
|
-
const spacing = "
|
|
13
|
+
const table = "_table_x2nyq_1";
|
|
14
|
+
const caption = "_caption_x2nyq_8";
|
|
15
|
+
const spacing = "_spacing_x2nyq_25";
|
|
16
16
|
const style0 = {
|
|
17
17
|
table,
|
|
18
18
|
caption,
|
|
19
|
-
"caption-inner": "_caption-
|
|
19
|
+
"caption-inner": "_caption-inner_x2nyq_18",
|
|
20
20
|
spacing
|
|
21
21
|
};
|
|
22
22
|
export {
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode(".
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._blockquote_aha6d_1{position:relative;margin-block:2rem;opacity:var(--opacity);transition:opacity .8s;box-sizing:border-box;margin:0;padding:1.5rem .5rem 1.5rem 1.5rem;background-color:#868e9c0d;border-left:4px solid rgba(0,0,0,.2)}[data-theme=dark] ._blockquote_aha6d_1{border-left-color:#bec2ca33}._cite_aha6d_16{position:absolute;font-size:.75rem;line-height:.75rem;bottom:.5rem;right:2rem}._cite_aha6d_16 a{all:unset;color:#6987b8;padding:0 .25rem;border-radius:.125rem;cursor:pointer;transition:background-color .1s}._cite_aha6d_16 a:hover{background-color:#6987b826}._icon_aha6d_35{position:absolute;padding:0;margin:0;width:1rem;height:1rem;fill:#868e9c}"));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const blockquote = "
|
|
14
|
-
const cite = "
|
|
15
|
-
const icon = "
|
|
13
|
+
const blockquote = "_blockquote_aha6d_1";
|
|
14
|
+
const cite = "_cite_aha6d_16";
|
|
15
|
+
const icon = "_icon_aha6d_35";
|
|
16
16
|
const style0 = {
|
|
17
17
|
blockquote,
|
|
18
18
|
cite,
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode('.
|
|
6
|
+
elementStyle.appendChild(document.createTextNode('._divider_154tk_1{margin-block:var(--margin-block);position:relative;display:block;width:100%;overflow:visible;border:none;border-bottom:1px solid #555b67;transform:scaleX(var(--scale));transition:transform 1.2s}[data-theme=dark] ._divider_154tk_1{border-bottom-color:#bec2ca}._divider_154tk_1:before{position:absolute;content:"";height:5px;width:5px;top:-2px;border-radius:50%;background-color:#555b67;left:0}[data-theme=dark] ._divider_154tk_1:before{background-color:#bec2ca}._divider_154tk_1:after{position:absolute;content:"";height:5px;width:5px;top:-2px;border-radius:50%;background-color:#555b67;right:0}[data-theme=dark] ._divider_154tk_1:after{background-color:#bec2ca}'));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const divider = "
|
|
13
|
+
const divider = "_divider_154tk_1";
|
|
14
14
|
const style0 = {
|
|
15
15
|
divider
|
|
16
16
|
};
|
|
@@ -2,6 +2,7 @@ import { defineComponent, ref, useSlots, createElementBlock, openBlock, Fragment
|
|
|
2
2
|
import { useIntersectionObserver } from "@vueuse/core";
|
|
3
3
|
import { kebabCase } from "lodash-es";
|
|
4
4
|
import ElmFragmentIdentifier from "./ElmFragmentIdentifier.vue.mjs";
|
|
5
|
+
import textStyle from "../../styles/text.module.scss.mjs";
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "ElmHeading",
|
|
7
8
|
props: {
|
|
@@ -41,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
42
|
(openBlock(), createBlock(resolveDynamicComponent(`h${_ctx.level}`), {
|
|
42
43
|
ref_key: "target",
|
|
43
44
|
ref: target,
|
|
44
|
-
class: normalizeClass([_ctx.$style[`h${_ctx.level}`], _ctx.$style["heading-common"]]),
|
|
45
|
+
class: normalizeClass([_ctx.$style[`h${_ctx.level}`], _ctx.$style["heading-common"], unref(textStyle).text]),
|
|
45
46
|
id: _ctx.id ?? unref(kebabCase)(_ctx.text),
|
|
46
47
|
style: normalizeStyle({
|
|
47
48
|
"--font-size": _ctx.size ?? `${unref(SIZE_MAP)[_ctx.level]}rem`,
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode('._heading-
|
|
6
|
+
elementStyle.appendChild(document.createTextNode('._heading-common_1kxg6_1{margin-block-start:1.5rem;position:relative;font-size:var(--font-size);line-height:var(--font-size);opacity:var(--opacity);transition:color .4s,opacity .8s}._h1_1kxg6_10{margin-block-start:.5rem}._h1_1kxg6_10:after{position:absolute;content:"";bottom:-10px;left:0;width:100%;height:.25px;background-color:#00000080;transition:transform .8s;transform:scaleX(var(--scale))}[data-theme=dark] ._h1_1kxg6_10:after{background-color:#ffffff80}._h1_1kxg6_10:before{position:absolute;content:"";bottom:-12px;left:45%;width:10%;height:2px;background-color:#0009;transition:transform .8s;transform:scaleY(var(--scale));transform-origin:top}[data-theme=dark] ._h1_1kxg6_10:before{background-color:#fff9}._h2_1kxg6_43:after{position:absolute;content:"";right:2px;bottom:-4px;width:6px;height:8px;opacity:.8;transform:skew(-25deg);background-color:#000c}[data-theme=dark] ._h2_1kxg6_43:after{background-color:#fffc}._h2_1kxg6_43:before{position:absolute;content:"";right:10px;bottom:-4px;width:6px;height:8px;opacity:.8;transform:skew(-25deg);background-color:#000c}[data-theme=dark] ._h2_1kxg6_43:before{background-color:#fffc}._h2__underline_1kxg6_71{overflow:hidden;position:absolute;content:"";bottom:-6px;left:0;width:100%;height:.25px;background-color:#00000080;transition:transform .8s;transform:scaleX(var(--scale));transform-origin:left}[data-theme=dark] ._h2__underline_1kxg6_71{background-color:#ffffff80}._h3_1kxg6_88{box-sizing:border-box;padding-left:.75rem}._h3_1kxg6_88:after{position:absolute;content:"";width:3px;height:50%;top:25%;left:0;background-color:#000c}[data-theme=dark] ._h3_1kxg6_88:after{background-color:#fffc}._h4_1kxg6_105,._h5_1kxg6_109,._h6_1kxg6_113{position:relative}'));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const h1 = "
|
|
14
|
-
const h2 = "
|
|
15
|
-
const h2__underline = "
|
|
16
|
-
const h3 = "
|
|
17
|
-
const h4 = "
|
|
18
|
-
const h5 = "
|
|
19
|
-
const h6 = "
|
|
13
|
+
const h1 = "_h1_1kxg6_10";
|
|
14
|
+
const h2 = "_h2_1kxg6_43";
|
|
15
|
+
const h2__underline = "_h2__underline_1kxg6_71";
|
|
16
|
+
const h3 = "_h3_1kxg6_88";
|
|
17
|
+
const h4 = "_h4_1kxg6_105";
|
|
18
|
+
const h5 = "_h5_1kxg6_109";
|
|
19
|
+
const h6 = "_h6_1kxg6_113";
|
|
20
20
|
const style0 = {
|
|
21
|
-
"heading-common": "_heading-
|
|
21
|
+
"heading-common": "_heading-common_1kxg6_1",
|
|
22
22
|
h1,
|
|
23
23
|
h2,
|
|
24
24
|
h2__underline,
|
|
@@ -3,6 +3,7 @@ import { getLuminance } from "polished";
|
|
|
3
3
|
import ElmInlineIcon from "../icon/ElmInlineIcon.vue.mjs";
|
|
4
4
|
import ElmMdiIcon from "../icon/ElmMdiIcon.vue.mjs";
|
|
5
5
|
import { mdiOpenInNew } from "@mdi/js";
|
|
6
|
+
import textStyle from "../../styles/text.module.scss.mjs";
|
|
6
7
|
const _hoisted_1 = ["href"];
|
|
7
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
9
|
__name: "ElmInlineText",
|
|
@@ -29,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
30
|
let vnode = h(
|
|
30
31
|
"span",
|
|
31
32
|
{
|
|
32
|
-
class: style.text,
|
|
33
|
+
class: [style.text, textStyle.text],
|
|
33
34
|
style: {
|
|
34
35
|
"--color": props.color ?? backgroundColor,
|
|
35
36
|
"--font-size": props.size,
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode('.
|
|
6
|
+
elementStyle.appendChild(document.createTextNode('._text_1qgzv_1{padding:0;margin:0;white-space:pre-line;font-size:1em;font-size:var(--font-size, 1em);line-height:1em;line-height:var(--font-size, 1em);background-color:var(--background-color)}._code_1qgzv_10{margin-inline:.25rem;padding:2px .5em;font-size:calc(1em - 2px);border-radius:.125rem;background-color:#00000013;font-family:"Source Code Pro" monospace}._kbd_1qgzv_19{padding:.125rem .25rem;position:relative;border-radius:.125rem;background-color:#e6e6e6}[data-theme=dark] ._kbd_1qgzv_19{background-color:#404040}._kbd_1qgzv_19:before{z-index:-1;position:absolute;content:"";bottom:-.25em;left:0;height:100%;width:100%;background-color:#ccc;border-radius:0 0 .125rem .125rem;box-shadow:0 0 .125em #00000080}[data-theme=dark] ._kbd_1qgzv_19:before{background-color:#595959;box-shadow:0 0 .125em #ffffff80}._link_1qgzv_45{all:unset;box-sizing:border-box;padding:0 .25rem;font-size:var(--font-size);display:inline-flex;align-items:center;gap:.25rem;cursor:pointer;color:#6987b8;border-radius:.125rem .125rem 0 0;border-bottom:dashed 1px #6987b8;transition:background-color .2s,color .2s}._link_1qgzv_45:hover{background-color:#6987b833}._link_1qgzv_45:active{color:#59b57c;background-color:#59b57c33}._link_1qgzv_45:visited{color:#9771bd;border-bottom:dashed 1px #9771bd}._link_1qgzv_45:visited:hover{background-color:#9771bd33}._link_1qgzv_45:visited:active{color:#59b57c;background-color:#59b57c33}'));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
10
10
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
|
-
const text = "
|
|
14
|
-
const code = "
|
|
15
|
-
const kbd = "
|
|
16
|
-
const link = "
|
|
13
|
+
const text = "_text_1qgzv_1";
|
|
14
|
+
const code = "_code_1qgzv_10";
|
|
15
|
+
const kbd = "_kbd_1qgzv_19";
|
|
16
|
+
const link = "_link_1qgzv_45";
|
|
17
17
|
const style0 = {
|
|
18
18
|
text,
|
|
19
19
|
code,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
"use strict";
|
|
3
|
+
try {
|
|
4
|
+
if (typeof document != "undefined") {
|
|
5
|
+
var elementStyle = document.createElement("style");
|
|
6
|
+
elementStyle.appendChild(document.createTextNode("._text_xs510_1{color:#555b67;color:var(--color, #555b67)}._text_xs510_1::-moz-selection{color:#bec2ca;background-color:#555b67;background-color:var(--color, #555b67)}._text_xs510_1::selection{color:#bec2ca;background-color:#555b67;background-color:var(--color, #555b67)}[data-theme=dark] ._text_xs510_1{color:#bec2ca;color:var(--color, #bec2ca)}[data-theme=dark] ._text_xs510_1::-moz-selection{color:#555b67;background-color:#bec2ca;background-color:var(--color, #bec2ca)}[data-theme=dark] ._text_xs510_1::selection{color:#555b67;background-color:#bec2ca;background-color:var(--color, #bec2ca)}"));
|
|
7
|
+
document.head.appendChild(elementStyle);
|
|
8
|
+
}
|
|
9
|
+
} catch (e) {
|
|
10
|
+
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
+
}
|
|
12
|
+
})();
|
|
13
|
+
const text = "_text_xs510_1";
|
|
14
|
+
const textStyle = {
|
|
15
|
+
text
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
textStyle as default,
|
|
19
|
+
text
|
|
20
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elmethis/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"@types/lodash-es": "^4.17.12",
|
|
40
40
|
"@types/prismjs": "^1.26.5",
|
|
41
41
|
"@vitejs/plugin-vue": "^5.2.3",
|
|
42
|
-
"@vitejs/plugin-vue-jsx": "^4.1.2",
|
|
43
42
|
"csstype": "^3.1.3",
|
|
44
43
|
"jarkup-ts": "^0.2.1",
|
|
45
44
|
"openapi-types": "^12.1.3",
|