@fastkit/vui 0.12.2 → 0.12.4
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/vui.mjs
CHANGED
|
@@ -4923,7 +4923,7 @@ const VDataTable = /* @__PURE__ */ defineComponent({
|
|
|
4923
4923
|
selected
|
|
4924
4924
|
};
|
|
4925
4925
|
let _children = cellSlot(cellPayload);
|
|
4926
|
-
if (_children && !Array.isArray(_children) && typeof _children === 'object') {
|
|
4926
|
+
if (_children && !Array.isArray(_children) && typeof _children === 'object' && !isVNode(_children)) {
|
|
4927
4927
|
_children = JSON.stringify(_children);
|
|
4928
4928
|
}
|
|
4929
4929
|
cellChildren = _children;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fastkit/vui",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"description": "A simple, extensible UI kit for Vue applications.",
|
|
5
5
|
"buildOptions": {
|
|
6
6
|
"name": "Vui",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"vue": "^3.2.45"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@fastkit/color-scheme": "0.12.
|
|
63
|
-
"@fastkit/icon-font": "0.12.
|
|
64
|
-
"@fastkit/tiny-logger": "0.12.
|
|
65
|
-
"@fastkit/vite-kit": "0.12.
|
|
66
|
-
"@fastkit/vue-kit": "0.12.
|
|
62
|
+
"@fastkit/color-scheme": "0.12.4",
|
|
63
|
+
"@fastkit/icon-font": "0.12.4",
|
|
64
|
+
"@fastkit/tiny-logger": "0.12.4",
|
|
65
|
+
"@fastkit/vite-kit": "0.12.4",
|
|
66
|
+
"@fastkit/vue-kit": "0.12.4",
|
|
67
67
|
"@tiptap/extension-link": "^2.0.0-beta.209",
|
|
68
68
|
"@tiptap/extension-text-style": "^2.0.0-beta.209",
|
|
69
69
|
"@tiptap/extension-underline": "^2.0.0-beta.209",
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
VNodeArrayChildren,
|
|
13
13
|
withDirectives,
|
|
14
14
|
Transition,
|
|
15
|
+
isVNode,
|
|
15
16
|
} from 'vue';
|
|
16
17
|
import { useVui } from '../../injections';
|
|
17
18
|
import type { VuiService } from '../../service';
|
|
@@ -657,7 +658,8 @@ export const VDataTable = defineComponent({
|
|
|
657
658
|
if (
|
|
658
659
|
_children &&
|
|
659
660
|
!Array.isArray(_children) &&
|
|
660
|
-
typeof _children === 'object'
|
|
661
|
+
typeof _children === 'object' &&
|
|
662
|
+
!isVNode(_children)
|
|
661
663
|
) {
|
|
662
664
|
_children = JSON.stringify(_children);
|
|
663
665
|
}
|