@voicenter-team/voicenter-ui-plus 3.0.12 → 3.1.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.
Files changed (43) hide show
  1. package/library/assets/assets/sass/main.css +1 -1
  2. package/library/assets/components/VcCheckbox/VcCheckbox.css +1 -1
  3. package/library/assets/components/VcCodeBlock/VcCodeBlock.css +1 -0
  4. package/library/assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css +1 -0
  5. package/library/components/VcCheckbox/VcCheckbox.vue.mjs +7 -4
  6. package/library/components/VcCodeBlock/VcCodeBlock.vue.mjs +243 -0
  7. package/library/components/VcCodeBlock/VcCodeBlock.vue3.mjs +5 -0
  8. package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
  9. package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
  10. package/library/components/VcForm/VcForm.vue.mjs +2 -1
  11. package/library/components/VcForm/VcFormItem.vue.mjs +2 -1
  12. package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
  13. package/library/components/VcInput/VcInput.vue.mjs +2 -1
  14. package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
  15. package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
  16. package/library/components/VcRadio/VcRadio.vue.mjs +2 -1
  17. package/library/components/VcSelect/VcSelect.vue.mjs +2 -1
  18. package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
  19. package/library/entity/components/Table/VcEntityListTable.vue.mjs +61 -43
  20. package/library/index.mjs +169 -167
  21. package/library/index.mjs.br +0 -0
  22. package/library/index.mjs.gz +0 -0
  23. package/library/plugin.mjs +186 -182
  24. package/library/plugin.mjs.br +0 -0
  25. package/library/plugin.mjs.gz +0 -0
  26. package/library/style.css +11 -7
  27. package/library/style.css.br +0 -0
  28. package/library/style.css.gz +0 -0
  29. package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +3 -0
  30. package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +3 -3
  31. package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +92 -0
  32. package/library/types/components/VcTable/VcTable.vue.d.ts +18 -18
  33. package/library/types/components/exports.d.ts +7 -1
  34. package/library/types/directives/click-outside.d.ts +7 -0
  35. package/library/types/directives/input-mask.d.ts +8 -0
  36. package/library/types/directives/long-press.d.ts +8 -0
  37. package/library/types/directives/resize.d.ts +10 -0
  38. package/library/types/index.d.ts +1 -0
  39. package/library/types/types/Entity.basic.types.d.ts +4 -0
  40. package/library/types/utils/element-plus-imports.d.ts +1 -1
  41. package/library/utils/lucideIcon.mjs +4 -1
  42. package/package.json +156 -153
  43. /package/library/assets/node_modules/element-plus/theme-chalk/src/{dropdown-item.css → tooltip.css} +0 -0
@@ -0,0 +1,243 @@
1
+ import '../../assets/components/VcCodeBlock/VcCodeBlock.css';
2
+ import { defineComponent, ref, useTemplateRef, onMounted, computed, onUnmounted, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, unref, createElementVNode, normalizeStyle, Fragment, renderList } from "vue";
3
+ import { Check, Copy } from "@lucide/vue";
4
+ import hljs from "highlight.js/lib/common";
5
+ import { convertToUnit } from "../../utils/helpers.mjs";
6
+ import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
7
+ import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
8
+ const _hoisted_1 = {
9
+ key: 0,
10
+ class: "vc-code-block__header"
11
+ };
12
+ const _hoisted_2 = {
13
+ key: 0,
14
+ class: "vc-code-block__title",
15
+ "data-test": "code-block-title"
16
+ };
17
+ const _hoisted_3 = {
18
+ key: 1,
19
+ class: "vc-code-block__lang",
20
+ "data-test": "code-block-lang"
21
+ };
22
+ const _hoisted_4 = ["aria-label", "title"];
23
+ const _hoisted_5 = {
24
+ key: 1,
25
+ class: "vc-code-block__floating"
26
+ };
27
+ const _hoisted_6 = {
28
+ key: 0,
29
+ class: "vc-code-block__lang",
30
+ "data-test": "code-block-lang"
31
+ };
32
+ const _hoisted_7 = ["aria-label", "title"];
33
+ const _hoisted_8 = { class: "vc-code-block__scroll" };
34
+ const _hoisted_9 = {
35
+ key: 0,
36
+ "aria-hidden": "true",
37
+ class: "vc-code-block__gutter",
38
+ "data-test": "code-block-gutter"
39
+ };
40
+ const _hoisted_10 = { class: "vc-code-block__pre" };
41
+ const _hoisted_11 = ["innerHTML"];
42
+ const _sfc_main = /* @__PURE__ */ defineComponent({
43
+ __name: "VcCodeBlock",
44
+ props: {
45
+ code: { default: "" },
46
+ language: { default: "" },
47
+ title: { default: "" },
48
+ showLanguageLabel: { type: Boolean, default: true },
49
+ copyable: { type: Boolean, default: true },
50
+ lineNumbers: { type: Boolean, default: false },
51
+ wrap: { type: Boolean, default: false },
52
+ maxHeight: { default: "" }
53
+ },
54
+ emits: ["copy"],
55
+ setup(__props, { emit: __emit }) {
56
+ const props = __props;
57
+ const emit = __emit;
58
+ const copied = ref(false);
59
+ let copiedTimeout;
60
+ const blockRef = useTemplateRef("blockRef");
61
+ const surfaceIsDark = ref(false);
62
+ let themeObserver;
63
+ function parseRgb(color) {
64
+ const match = color.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*([\d.]+))?\s*\)/);
65
+ if (!match) {
66
+ return null;
67
+ }
68
+ const alpha = match[4] === void 0 ? 1 : Number(match[4]);
69
+ if (alpha === 0) {
70
+ return null;
71
+ }
72
+ return [Number(match[1]), Number(match[2]), Number(match[3])];
73
+ }
74
+ function measureSurface() {
75
+ if (!blockRef.value) {
76
+ return;
77
+ }
78
+ const background = window.getComputedStyle(blockRef.value).backgroundColor;
79
+ const rgb = parseRgb(background);
80
+ if (!rgb) {
81
+ surfaceIsDark.value = false;
82
+ return;
83
+ }
84
+ const [r, g, b] = rgb;
85
+ const brightness = (0.299 * r + 0.587 * g + 0.114 * b) / 255;
86
+ surfaceIsDark.value = brightness < 0.5;
87
+ }
88
+ onMounted(() => {
89
+ measureSurface();
90
+ themeObserver = new MutationObserver(() => {
91
+ measureSurface();
92
+ });
93
+ themeObserver.observe(document.documentElement, {
94
+ attributes: true,
95
+ attributeFilter: ["style", "class"]
96
+ });
97
+ });
98
+ const normalizedCode = computed(() => {
99
+ return props.code.replace(/^\n+/, "").trimEnd();
100
+ });
101
+ const resolvedLanguage = computed(() => {
102
+ if (props.language && hljs.getLanguage(props.language)) {
103
+ return props.language;
104
+ }
105
+ return "";
106
+ });
107
+ const highlighted = computed(() => {
108
+ if (resolvedLanguage.value) {
109
+ const result2 = hljs.highlight(normalizedCode.value, {
110
+ language: resolvedLanguage.value,
111
+ ignoreIllegals: true
112
+ });
113
+ return {
114
+ value: result2.value,
115
+ language: result2.language ?? resolvedLanguage.value
116
+ };
117
+ }
118
+ const result = hljs.highlightAuto(normalizedCode.value);
119
+ return {
120
+ value: result.value,
121
+ language: result.language ?? ""
122
+ };
123
+ });
124
+ const languageLabel = computed(() => {
125
+ return highlighted.value.language.toLowerCase();
126
+ });
127
+ const lineCount = computed(() => {
128
+ if (!normalizedCode.value) {
129
+ return 0;
130
+ }
131
+ return normalizedCode.value.split("\n").length;
132
+ });
133
+ const hasHeader = computed(() => {
134
+ return Boolean(props.title);
135
+ });
136
+ const floatingControlsVisible = computed(() => {
137
+ return props.copyable || props.showLanguageLabel && Boolean(languageLabel.value);
138
+ });
139
+ const blockClasses = computed(() => {
140
+ return {
141
+ "vc-code-block--wrap": props.wrap && !props.lineNumbers,
142
+ "vc-code-block--with-header": hasHeader.value,
143
+ "vc-code-block--dark-surface": surfaceIsDark.value
144
+ };
145
+ });
146
+ const bodyStyle = computed(() => {
147
+ const maxHeight = convertToUnit(props.maxHeight);
148
+ if (!maxHeight) {
149
+ return {};
150
+ }
151
+ return { maxHeight };
152
+ });
153
+ function copyCode() {
154
+ if (!navigator.clipboard) {
155
+ return;
156
+ }
157
+ navigator.clipboard.writeText(normalizedCode.value).then(() => {
158
+ emit("copy", normalizedCode.value);
159
+ copied.value = true;
160
+ if (copiedTimeout) {
161
+ clearTimeout(copiedTimeout);
162
+ }
163
+ copiedTimeout = setTimeout(() => {
164
+ copied.value = false;
165
+ }, 1500);
166
+ });
167
+ }
168
+ onUnmounted(() => {
169
+ if (copiedTimeout) {
170
+ clearTimeout(copiedTimeout);
171
+ }
172
+ themeObserver == null ? void 0 : themeObserver.disconnect();
173
+ });
174
+ return (_ctx, _cache) => {
175
+ return openBlock(), createElementBlock("div", {
176
+ ref_key: "blockRef",
177
+ ref: blockRef,
178
+ class: normalizeClass(["vc-code-block", blockClasses.value]),
179
+ "data-test": "code-block"
180
+ }, [
181
+ hasHeader.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
182
+ __props.title ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
183
+ __props.showLanguageLabel && languageLabel.value ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(languageLabel.value), 1)) : createCommentVNode("", true),
184
+ __props.copyable ? (openBlock(), createElementBlock("button", {
185
+ key: 2,
186
+ "aria-label": copied.value ? "Copied" : "Copy code",
187
+ title: copied.value ? "Copied!" : "Copy code",
188
+ class: "vc-code-block__copy",
189
+ "data-test": "code-block-copy",
190
+ type: "button",
191
+ onClick: copyCode
192
+ }, [
193
+ createVNode(_sfc_main$1, {
194
+ icon: copied.value ? unref(Check) : unref(Copy),
195
+ size: 14
196
+ }, null, 8, ["icon"])
197
+ ], 8, _hoisted_4)) : createCommentVNode("", true)
198
+ ])) : floatingControlsVisible.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
199
+ __props.showLanguageLabel && languageLabel.value ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(languageLabel.value), 1)) : createCommentVNode("", true),
200
+ __props.copyable ? (openBlock(), createElementBlock("button", {
201
+ key: 1,
202
+ "aria-label": copied.value ? "Copied" : "Copy code",
203
+ title: copied.value ? "Copied!" : "Copy code",
204
+ class: "vc-code-block__copy",
205
+ "data-test": "code-block-copy",
206
+ type: "button",
207
+ onClick: copyCode
208
+ }, [
209
+ createVNode(_sfc_main$1, {
210
+ icon: copied.value ? unref(Check) : unref(Copy),
211
+ size: 14
212
+ }, null, 8, ["icon"])
213
+ ], 8, _hoisted_7)) : createCommentVNode("", true)
214
+ ])) : createCommentVNode("", true),
215
+ createElementVNode("div", {
216
+ style: normalizeStyle(bodyStyle.value),
217
+ class: "vc-code-block__body"
218
+ }, [
219
+ createElementVNode("div", _hoisted_8, [
220
+ __props.lineNumbers ? (openBlock(), createElementBlock("div", _hoisted_9, [
221
+ (openBlock(true), createElementBlock(Fragment, null, renderList(lineCount.value, (line) => {
222
+ return openBlock(), createElementBlock("span", {
223
+ key: line,
224
+ class: "vc-code-block__line-number"
225
+ }, toDisplayString(line), 1);
226
+ }), 128))
227
+ ])) : createCommentVNode("", true),
228
+ createElementVNode("pre", _hoisted_10, [
229
+ createElementVNode("code", {
230
+ class: "vc-code-block__code",
231
+ "data-test": "code-block-code",
232
+ innerHTML: highlighted.value.value
233
+ }, null, 8, _hoisted_11)
234
+ ])
235
+ ])
236
+ ], 4)
237
+ ], 2);
238
+ };
239
+ }
240
+ });
241
+ export {
242
+ _sfc_main as default
243
+ };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from "./VcCodeBlock.vue.mjs";
2
+ import '../../assets/components/VcCodeBlock/VcCodeBlock.css';/* empty css */
3
+ export {
4
+ _sfc_main as default
5
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, markRaw, h, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, renderSlot } from "vue";
2
2
  import { ElDatePicker } from "element-plus";
3
- import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
3
+ import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
4
4
  import '../../assets/components/VcDatePicker/VcDatePicker.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, normalizeClass, renderSlot, createCommentVNode, toDisplayString } from "vue";
2
2
  import { ElDropdownItem } from "element-plus";
3
- import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
3
+ import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
4
4
  import '../../assets/components/VcDropdown/VcDropdownItem.css';/* empty css */
5
5
  /* empty css */
6
6
  import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, inject, ref, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { convertToUnit } from "../../utils/helpers.mjs";
3
3
  import { ElForm } from "element-plus";
4
- import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';/* empty css */
4
+ import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
@@ -18,6 +18,7 @@ import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';impo
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  /* empty css */
21
+ /* empty css */
21
22
  /* empty css */
22
23
  /* empty css */
23
24
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, inject, ref, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, normalizeClass, createSlots, createCommentVNode, createElementBlock, Fragment } from "vue";
2
2
  import { ElFormItem } from "element-plus";
3
- import '../../assets/components/VcForm/UiComponents/VcInputLabel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
3
+ import '../../assets/components/VcForm/UiComponents/VcInputLabel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
4
4
  import '../../assets/components/VcForm/VcFormItem.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
@@ -18,6 +18,7 @@ import '../../assets/components/VcForm/VcFormItem.css';/* empty css
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  /* empty css */
21
+ /* empty css */
21
22
  /* empty css */
22
23
  /* empty css */
23
24
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, unref, toDisplayString, createBlock, createTextVNode, createCommentVNode } from "vue";
2
2
  import { ElTooltip } from "element-plus";
3
- import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/components/VcPopover/VcPopover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';/* empty css */
3
+ import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/components/VcPopover/VcPopover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';/* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  import { htmlHeadingMenuItems, htmlInsertMenuItems, getParameterDisplayLabel } from "./htmlEditor.config.mjs";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, withDirectives, openBlock, createBlock, unref, mergeProps, createSlots, withCtx, createVNode, normalizeStyle, normalizeClass, createCommentVNode } from "vue";
2
2
  import { ElInput } from "element-plus";
3
- import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
3
+ import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
4
4
  import '../../assets/components/VcInput/VcInput.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
@@ -18,6 +18,7 @@ import '../../assets/components/VcInput/VcInput.css';/* empty css
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  /* empty css */
21
+ /* empty css */
21
22
  /* empty css */
22
23
  /* empty css */
23
24
  /* empty css */
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, useAttrs, ref, computed, onMounted, nextTick, openBlock, createBlock, unref, withCtx, createVNode, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, createCommentVNode, mergeProps, isRef } from "vue";
2
2
  import { MilkdownProvider } from "@milkdown/vue";
3
3
  import _sfc_main$3 from "./VcMdEditorContent.vue.mjs";
4
- import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';import '../../assets/components/VcMdEditor/VcMdEditorContent.css';/* empty css */
4
+ import '../../assets/components/VcButton/VcButtonIcon.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';import '../../assets/components/VcMdEditor/VcMdEditorContent.css';/* empty css */
5
5
  import { useVModel } from "@vueuse/core";
6
6
  import { convertToUnit } from "../../utils/helpers.mjs";
7
7
  import { markdown } from "@codemirror/lang-markdown";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, computed, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, Fragment, renderList, unref, toDisplayString, createBlock, createCommentVNode, nextTick } from "vue";
2
2
  import _sfc_main$1 from "../VcPopover/VcPopover.vue.mjs";
3
- import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/cascader-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/virtual-list.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';import '../../assets/components/VcPopover/VcPopover.css';/* empty css */
3
+ import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcButton/VcButton.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/cascader-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/virtual-list.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';import '../../assets/components/VcPopover/VcPopover.css';/* empty css */
4
4
  import { headingMenuItems, listMenuItems, advancedMenuItems } from "./mdEditor.config.mjs";
5
5
  import { isGroupParameter } from "../../types/VcMdEditor.types.mjs";
6
6
  import { ElCascaderPanel, ElTooltip } from "element-plus";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
2
2
  import { ElRadio } from "element-plus";
3
- import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
3
+ import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
4
4
  import '../../assets/components/VcRadio/VcRadio.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
@@ -18,6 +18,7 @@ import '../../assets/components/VcRadio/VcRadio.css';/* empty css
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  /* empty css */
21
+ /* empty css */
21
22
  /* empty css */
22
23
  /* empty css */
23
24
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, markRaw, h, watch, openBlock, createBlock, unref, mergeProps, isRef, createSlots, withCtx, renderSlot, createElementBlock, Fragment, createVNode, createTextVNode, toDisplayString, createCommentVNode, renderList, createElementVNode, normalizeStyle, normalizeClass } from "vue";
2
2
  import { ElSelect } from "element-plus";
3
- import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
3
+ import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
4
4
  import '../../assets/components/VcSelect/VcSelect.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
@@ -18,6 +18,7 @@ import '../../assets/components/VcSelect/VcSelect.css';/* empty css
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  /* empty css */
21
+ /* empty css */
21
22
  /* empty css */
22
23
  /* empty css */
23
24
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps } from "vue";
2
2
  import { ElSlider } from "element-plus";
3
- import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/dropdown-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
3
+ import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tooltip.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
4
4
  import '../../assets/components/VcSlider/VcSlider.css';/* empty css */
5
5
  /* empty css */
6
6
  /* empty css */