@prosekit/vue 0.0.7 → 0.0.8
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.
@@ -1,13 +1,18 @@
|
|
1
1
|
// src/components/autocomplete-empty.gen.ts
|
2
2
|
import "@prosekit/lit/components/autocomplete-empty";
|
3
|
+
import { propNames } from "@prosekit/lit/components/autocomplete-empty";
|
3
4
|
import { defineComponent, h } from "vue";
|
4
5
|
var AutocompleteEmpty = defineComponent(
|
5
6
|
(props, { slots }) => {
|
6
7
|
return () => {
|
7
8
|
var _a;
|
8
|
-
|
9
|
+
const webComponentProps = Object.fromEntries(
|
10
|
+
Object.entries(props).filter((entry) => entry[1] !== void 0).map(([key, value]) => [(key === "class" ? "" : ".") + key, value])
|
11
|
+
);
|
12
|
+
return h("prosekit-autocomplete-empty", webComponentProps, (_a = slots.default) == null ? void 0 : _a.call(slots));
|
9
13
|
};
|
10
|
-
}
|
14
|
+
},
|
15
|
+
{ props: ["class", ...propNames] }
|
11
16
|
);
|
12
17
|
export {
|
13
18
|
AutocompleteEmpty
|
@@ -1,13 +1,18 @@
|
|
1
1
|
// src/components/autocomplete-item.gen.ts
|
2
2
|
import "@prosekit/lit/components/autocomplete-item";
|
3
|
+
import { propNames } from "@prosekit/lit/components/autocomplete-item";
|
3
4
|
import { defineComponent, h } from "vue";
|
4
5
|
var AutocompleteItem = defineComponent(
|
5
6
|
(props, { slots }) => {
|
6
7
|
return () => {
|
7
8
|
var _a;
|
8
|
-
|
9
|
+
const webComponentProps = Object.fromEntries(
|
10
|
+
Object.entries(props).filter((entry) => entry[1] !== void 0).map(([key, value]) => [(key === "class" ? "" : ".") + key, value])
|
11
|
+
);
|
12
|
+
return h("prosekit-autocomplete-item", webComponentProps, (_a = slots.default) == null ? void 0 : _a.call(slots));
|
9
13
|
};
|
10
|
-
}
|
14
|
+
},
|
15
|
+
{ props: ["class", ...propNames] }
|
11
16
|
);
|
12
17
|
export {
|
13
18
|
AutocompleteItem
|
@@ -1,13 +1,18 @@
|
|
1
1
|
// src/components/autocomplete-list.gen.ts
|
2
2
|
import "@prosekit/lit/components/autocomplete-list";
|
3
|
+
import { propNames } from "@prosekit/lit/components/autocomplete-list";
|
3
4
|
import { defineComponent, h } from "vue";
|
4
5
|
var AutocompleteList = defineComponent(
|
5
6
|
(props, { slots }) => {
|
6
7
|
return () => {
|
7
8
|
var _a;
|
8
|
-
|
9
|
+
const webComponentProps = Object.fromEntries(
|
10
|
+
Object.entries(props).filter((entry) => entry[1] !== void 0).map(([key, value]) => [(key === "class" ? "" : ".") + key, value])
|
11
|
+
);
|
12
|
+
return h("prosekit-autocomplete-list", webComponentProps, (_a = slots.default) == null ? void 0 : _a.call(slots));
|
9
13
|
};
|
10
|
-
}
|
14
|
+
},
|
15
|
+
{ props: ["class", ...propNames] }
|
11
16
|
);
|
12
17
|
export {
|
13
18
|
AutocompleteList
|
@@ -1,13 +1,18 @@
|
|
1
1
|
// src/components/autocomplete-popover.gen.ts
|
2
2
|
import "@prosekit/lit/components/autocomplete-popover";
|
3
|
+
import { propNames } from "@prosekit/lit/components/autocomplete-popover";
|
3
4
|
import { defineComponent, h } from "vue";
|
4
5
|
var AutocompletePopover = defineComponent(
|
5
6
|
(props, { slots }) => {
|
6
7
|
return () => {
|
7
8
|
var _a;
|
8
|
-
|
9
|
+
const webComponentProps = Object.fromEntries(
|
10
|
+
Object.entries(props).filter((entry) => entry[1] !== void 0).map(([key, value]) => [(key === "class" ? "" : ".") + key, value])
|
11
|
+
);
|
12
|
+
return h("prosekit-autocomplete-popover", webComponentProps, (_a = slots.default) == null ? void 0 : _a.call(slots));
|
9
13
|
};
|
10
|
-
}
|
14
|
+
},
|
15
|
+
{ props: ["class", ...propNames] }
|
11
16
|
);
|
12
17
|
export {
|
13
18
|
AutocompletePopover
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/vue",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.8",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -56,7 +56,7 @@
|
|
56
56
|
],
|
57
57
|
"dependencies": {
|
58
58
|
"@prosekit/core": "^0.0.6",
|
59
|
-
"@prosekit/lit": "^0.0.
|
59
|
+
"@prosekit/lit": "^0.0.8"
|
60
60
|
},
|
61
61
|
"peerDependencies": {
|
62
62
|
"vue": ">= 3.0.0"
|