mhz-ui 1.3.19 → 1.3.20
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/UiEditor/UiEditor.js +5 -5
- package/package.json +15 -15
|
@@ -13024,10 +13024,10 @@ var tm = class extends Kp {
|
|
|
13024
13024
|
const r = n.editor;
|
|
13025
13025
|
r && r.options.element && e.value && Vc(() => {
|
|
13026
13026
|
var s;
|
|
13027
|
-
if (!e.value || !((s = r.view.dom) != null && s.
|
|
13027
|
+
if (!e.value || !((s = r.view.dom) != null && s.parentNode))
|
|
13028
13028
|
return;
|
|
13029
13029
|
const i = hs(e.value);
|
|
13030
|
-
e.value.append(r.view.dom), r.contentComponent = t.ctx._, t && (r.appContext = {
|
|
13030
|
+
e.value.append(...r.view.dom.parentNode.childNodes), r.contentComponent = t.ctx._, t && (r.appContext = {
|
|
13031
13031
|
...t.appContext,
|
|
13032
13032
|
// Vue internally uses prototype chain to forward/shadow injects across the entire component chain
|
|
13033
13033
|
// so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext
|
|
@@ -13099,9 +13099,9 @@ var rm = (n = {}) => {
|
|
|
13099
13099
|
return Bc(() => {
|
|
13100
13100
|
e.value = new tm(n);
|
|
13101
13101
|
}), js(() => {
|
|
13102
|
-
var t, r, s;
|
|
13103
|
-
const
|
|
13104
|
-
(
|
|
13102
|
+
var t, r, s, i;
|
|
13103
|
+
const o = (r = (t = e.value) == null ? void 0 : t.view.dom) == null ? void 0 : r.parentNode, l = o?.cloneNode(!0);
|
|
13104
|
+
(s = o?.parentNode) == null || s.replaceChild(l, o), (i = e.value) == null || i.destroy();
|
|
13105
13105
|
}), e;
|
|
13106
13106
|
};
|
|
13107
13107
|
hn({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mhz-ui",
|
|
3
3
|
"description": "Mhz ui kit",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.20",
|
|
5
5
|
"author": "Alexandr Dergunov <dergunovs@mail.ru> (https://github.com/dergunovs)",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"test:cov": "vitest run --coverage"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@tiptap/pm": "3.
|
|
29
|
-
"@tiptap/starter-kit": "3.
|
|
30
|
-
"@tiptap/vue-3": "3.
|
|
28
|
+
"@tiptap/pm": "3.14.0",
|
|
29
|
+
"@tiptap/starter-kit": "3.14.0",
|
|
30
|
+
"@tiptap/vue-3": "3.14.0",
|
|
31
31
|
"@vueform/slider": "2.1.10",
|
|
32
32
|
"@vueuse/core": "14.1.0",
|
|
33
33
|
"@vueuse/integrations": "14.1.0",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@eslint/js": "9.39.2",
|
|
43
|
-
"@storybook/addon-docs": "10.1.
|
|
44
|
-
"@storybook/addon-themes": "10.1.
|
|
45
|
-
"@storybook/vue3": "10.1.
|
|
46
|
-
"@storybook/vue3-vite": "10.1.
|
|
43
|
+
"@storybook/addon-docs": "10.1.11",
|
|
44
|
+
"@storybook/addon-themes": "10.1.11",
|
|
45
|
+
"@storybook/vue3": "10.1.11",
|
|
46
|
+
"@storybook/vue3-vite": "10.1.11",
|
|
47
47
|
"@types/node": "25.0.3",
|
|
48
48
|
"@vitejs/plugin-vue": "6.0.3",
|
|
49
49
|
"@vitest/coverage-v8": "4.0.16",
|
|
@@ -56,29 +56,29 @@
|
|
|
56
56
|
"eslint-plugin-sonarjs": "3.0.5",
|
|
57
57
|
"eslint-plugin-unicorn": "62.0.0",
|
|
58
58
|
"eslint-plugin-vue": "10.6.2",
|
|
59
|
-
"globals": "
|
|
59
|
+
"globals": "17.0.0",
|
|
60
60
|
"happy-dom": "20.0.11",
|
|
61
61
|
"postcss-html": "1.8.0",
|
|
62
62
|
"postcss-scss": "4.0.9",
|
|
63
63
|
"prettier": "3.7.4",
|
|
64
|
-
"sass-embedded": "1.97.
|
|
65
|
-
"storybook": "10.1.
|
|
64
|
+
"sass-embedded": "1.97.1",
|
|
65
|
+
"storybook": "10.1.11",
|
|
66
66
|
"stylelint": "16.26.1",
|
|
67
67
|
"stylelint-config-recess-order": "7.4.0",
|
|
68
68
|
"stylelint-config-recommended-scss": "16.0.2",
|
|
69
69
|
"stylelint-config-recommended-vue": "1.6.1",
|
|
70
|
-
"stylelint-order": "7.0.
|
|
70
|
+
"stylelint-order": "7.0.1",
|
|
71
71
|
"stylelint-prettier": "5.0.3",
|
|
72
72
|
"typescript": "5.9.3",
|
|
73
|
-
"typescript-eslint": "8.
|
|
73
|
+
"typescript-eslint": "8.51.0",
|
|
74
74
|
"vite": "7.3.0",
|
|
75
75
|
"vite-plugin-dts": "4.5.4",
|
|
76
76
|
"vite-plugin-static-copy": "3.1.4",
|
|
77
77
|
"vite-svg-loader": "5.1.0",
|
|
78
78
|
"vitest": "4.0.16",
|
|
79
79
|
"vue-eslint-parser": "10.2.0",
|
|
80
|
-
"vue-linters-config": "0.5.
|
|
81
|
-
"vue-tsc": "3.1
|
|
80
|
+
"vue-linters-config": "0.5.5",
|
|
81
|
+
"vue-tsc": "3.2.1"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"vue": "3.5.26",
|