@vunk/plus 0.0.0-alpha.2 → 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.
@@ -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: false,
26
- autoplay: false,
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", "D:\\labCode\\vunk-plus\\packages\\components\\lottie-animation\\src\\index.vue"]]);
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", "D:\\labCode\\vunk-plus\\packages\\components\\monaco-editor\\src\\index.vue"]]);
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", "D:\\labCode\\vunk-plus\\packages\\components\\monaco-environment\\src\\index.vue"]]);
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: await 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;
@@ -55,6 +57,7 @@ const createMarkdownIt = async () => {
55
57
  });
56
58
  return md;
57
59
  };
60
+ const markdownItPromise = createMarkdownIt();
58
61
 
59
62
  var _sfc_main = defineComponent({
60
63
  name: "VkTypingMarkdown",
@@ -68,7 +71,6 @@ var _sfc_main = defineComponent({
68
71
  }
69
72
  return props2.source.substring(0, currentIndex.value);
70
73
  });
71
- const markdownItPromise = createMarkdownIt();
72
74
  const htmlText = computedAsync(async () => {
73
75
  currentText.value;
74
76
  const md = await markdownItPromise;
@@ -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", "D:\\labCode\\vunk-plus\\packages\\components\\typing-markdown\\src\\index.vue"]]);
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
+ }