@vunk/plus 0.0.0-alpha.4 → 0.0.1
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/components/lottie-animation/index.mjs +3 -4
- package/components/monaco-editor/index.mjs +1 -1
- package/components/monaco-environment/index.mjs +1 -1
- package/components/typing-markdown/index.mjs +9 -7
- package/components/vditor/index.css +12 -0
- package/components/vditor/index.mjs +15872 -0
- package/index.css +13 -0
- package/package.json +8 -1
- package/components/lottie-animation/index.d.ts +0 -4
- package/components/lottie-animation/src/ctx.d.ts +0 -10
- package/components/lottie-animation/src/index.vue.d.ts +0 -21
- package/components/lottie-animation/src/types.d.ts +0 -4
- package/components/monaco-editor/index.d.ts +0 -4
- package/components/monaco-editor/src/ctx.d.ts +0 -19
- package/components/monaco-editor/src/index.vue.d.ts +0 -40
- package/components/monaco-editor/src/types.d.ts +0 -1
- package/components/monaco-environment/index.d.ts +0 -4
- package/components/monaco-environment/src/ctx.d.ts +0 -8
- package/components/monaco-environment/src/index.vue.d.ts +0 -2
- package/components/monaco-environment/src/types.d.ts +0 -1
- package/components/typing-markdown/index.d.ts +0 -4
- package/components/typing-markdown/src/core.d.ts +0 -3
- package/components/typing-markdown/src/ctx.d.ts +0 -24
- package/components/typing-markdown/src/index.vue.d.ts +0 -48
- package/components/typing-markdown/src/types.d.ts +0 -1
|
@@ -22,14 +22,13 @@ var _sfc_main = defineComponent({
|
|
|
22
22
|
const animation = lottie.loadAnimation({
|
|
23
23
|
container: lottieNode.value,
|
|
24
24
|
renderer: "svg",
|
|
25
|
-
loop:
|
|
26
|
-
autoplay:
|
|
25
|
+
loop: true,
|
|
26
|
+
autoplay: true,
|
|
27
27
|
path: props2.path
|
|
28
28
|
});
|
|
29
29
|
animation.addEventListener("complete", () => {
|
|
30
30
|
emit("load", { animation });
|
|
31
31
|
});
|
|
32
|
-
animation.goToAndPlay(50 * animation.totalFrames / 100);
|
|
33
32
|
});
|
|
34
33
|
return {
|
|
35
34
|
lottieNode
|
|
@@ -59,7 +58,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59
58
|
/* STABLE_FRAGMENT */
|
|
60
59
|
);
|
|
61
60
|
}
|
|
62
|
-
var VkLottieAnimation = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
61
|
+
var VkLottieAnimation = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/lottie-animation/src/index.vue"]]);
|
|
63
62
|
|
|
64
63
|
var types = /*#__PURE__*/Object.freeze({
|
|
65
64
|
__proto__: null
|
|
@@ -70,7 +70,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
70
70
|
/* NEED_PATCH */
|
|
71
71
|
);
|
|
72
72
|
}
|
|
73
|
-
var VkMonacoEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
73
|
+
var VkMonacoEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/monaco-editor/src/index.vue"]]);
|
|
74
74
|
|
|
75
75
|
var types = /*#__PURE__*/Object.freeze({
|
|
76
76
|
__proto__: null
|
|
@@ -33,7 +33,7 @@ var _sfc_main = defineComponent({
|
|
|
33
33
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
34
34
|
return renderSlot(_ctx.$slots, "default");
|
|
35
35
|
}
|
|
36
|
-
var VkMonacoEnvironment = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
36
|
+
var VkMonacoEnvironment = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/monaco-environment/src/index.vue"]]);
|
|
37
37
|
|
|
38
38
|
var types = /*#__PURE__*/Object.freeze({
|
|
39
39
|
__proto__: null
|
|
@@ -30,14 +30,16 @@ const emits = {
|
|
|
30
30
|
typing: null
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
+
const highlightPromise = highlight({
|
|
34
|
+
dark: "github-dark",
|
|
35
|
+
light: "github-light"
|
|
36
|
+
}, {}, {
|
|
37
|
+
warn: noop
|
|
38
|
+
});
|
|
33
39
|
const createMarkdownIt = async () => {
|
|
40
|
+
const highlight2 = await highlightPromise;
|
|
34
41
|
const md = new MarkdownIt({
|
|
35
|
-
highlight:
|
|
36
|
-
dark: "github-dark",
|
|
37
|
-
light: "github-light"
|
|
38
|
-
}, {}, {
|
|
39
|
-
warn: noop
|
|
40
|
-
})
|
|
42
|
+
highlight: highlight2
|
|
41
43
|
});
|
|
42
44
|
md.core.ruler.after("inline", "add-is-last-class", (state) => {
|
|
43
45
|
const tokens = state.tokens;
|
|
@@ -122,7 +124,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
122
124
|
innerHTML: _ctx.htmlText
|
|
123
125
|
}, null, 10, _hoisted_1);
|
|
124
126
|
}
|
|
125
|
-
var VkTypingMarkdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "
|
|
127
|
+
var VkTypingMarkdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/vunk-plus/vunk-plus/packages/components/typing-markdown/src/index.vue"]]);
|
|
126
128
|
|
|
127
129
|
var types = /*#__PURE__*/Object.freeze({
|
|
128
130
|
__proto__: null
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.vkf-vditor ul li {
|
|
2
|
+
list-style: initial;
|
|
3
|
+
}
|
|
4
|
+
.vkf-vditor ol li {
|
|
5
|
+
list-style: decimal;
|
|
6
|
+
}
|
|
7
|
+
.vkf-vditor.vditor{
|
|
8
|
+
--textarea-background-color: var(--el-fill-color-extra-light);
|
|
9
|
+
}
|
|
10
|
+
.vkf-vditor-footer.is-textarea-focus{
|
|
11
|
+
background-color: var(--textarea-background-color);
|
|
12
|
+
}
|