nuxt-strapi-blocks-renderer 1.0.17 → 1.0.19
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/README.md +4 -0
- package/dist/module.json +1 -1
- package/dist/runtime/components/blocks/CodeNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/ParagraphNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/QuoteNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/heading/Heading1Node.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/heading/Heading2Node.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/heading/Heading3Node.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/heading/Heading4Node.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/heading/Heading5Node.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/heading/Heading6Node.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/inline/BoldInlineNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/inline/CodeInlineNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/inline/ItalicInlineNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/inline/LinkInlineNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/inline/ListItemInlineNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/inline/StrikethroughInlineNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/inline/UnderlineInlineNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/list/OrderedListNode.vue.d.ts +2 -4
- package/dist/runtime/components/blocks/list/UnorderedListNode.vue.d.ts +2 -4
- package/dist/runtime/composables/useBlocksText.d.ts +1 -1
- package/dist/runtime/types/index.d.ts +7 -7
- package/dist/runtime/utils/index.d.ts +1 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
[![Github Actions][github-actions-src]][github-actions-href]
|
|
8
8
|
[![NPM version][npm-version-src]][npm-version-href]
|
|
9
9
|
[![NPM downloads][npm-downloads-src]][npm-downloads-href]
|
|
10
|
+
[![NPM last update][npm-last-update-src]][npm-last-update-href]
|
|
10
11
|
[![License][license-src]][license-href]
|
|
11
12
|
|
|
12
13
|
A fully customizable Nuxt 3 module for rendering text with the new Blocks rich text editor element from Strapi CMS.
|
|
@@ -405,5 +406,8 @@ To release a new version of the strapi blocks renderer nuxt module, take the fol
|
|
|
405
406
|
[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-strapi-blocks-renderer.svg?style=flat&colorA=18181B&colorB=31C553
|
|
406
407
|
[npm-downloads-href]: https://npmjs.com/package/nuxt-strapi-blocks-renderer
|
|
407
408
|
|
|
409
|
+
[npm-last-update-src]: https://img.shields.io/npm/last-update/nuxt-strapi-blocks-renderer.svg?style=flat&colorA=18181B&colorB=31C553
|
|
410
|
+
[npm-last-update-href]: https://npmjs.com/package/nuxt-strapi-blocks-renderer
|
|
411
|
+
|
|
408
412
|
[license-src]: https://img.shields.io/github/license/freb97/nuxt-strapi-blocks-renderer.svg?style=flat&colorA=18181B&colorB=31C553
|
|
409
413
|
[license-href]: https://github.com/freb97/nuxt-strapi-blocks-renderer/blob/main/LICENSE
|
package/dist/module.json
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
url: string;
|
|
3
3
|
};
|
|
4
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
5
4
|
declare var __VLS_1: {};
|
|
6
|
-
type __VLS_Slots =
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
7
6
|
default?: (props: typeof __VLS_1) => any;
|
|
8
|
-
}
|
|
9
|
-
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
};
|
|
10
8
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
9
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
10
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2
1
|
declare var __VLS_1: {};
|
|
3
|
-
type __VLS_Slots =
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_1) => any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_self: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
};
|
|
7
5
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
6
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
7
|
export default _default;
|
|
@@ -58,10 +58,10 @@ export interface ImageBlockNode {
|
|
|
58
58
|
children: [{ type: 'text'; text: '' }];
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
export type BlockNode
|
|
62
|
-
ParagraphBlockNode
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
export type BlockNode
|
|
62
|
+
= ParagraphBlockNode
|
|
63
|
+
| QuoteBlockNode
|
|
64
|
+
| CodeBlockNode
|
|
65
|
+
| HeadingBlockNode
|
|
66
|
+
| ListBlockNode
|
|
67
|
+
| ImageBlockNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BlockNode, CodeBlockNode, DefaultInlineNode, HeadingBlockNode, ImageBlockNode, LinkInlineNode, ListBlockNode, ListItemInlineNode, ParagraphBlockNode, QuoteBlockNode, TextInlineNode } from '#strapi-blocks-renderer/types';
|
|
2
1
|
import type { VNode } from 'vue';
|
|
2
|
+
import type { BlockNode, CodeBlockNode, DefaultInlineNode, HeadingBlockNode, ImageBlockNode, LinkInlineNode, ListBlockNode, ListItemInlineNode, ParagraphBlockNode, QuoteBlockNode, TextInlineNode } from '#strapi-blocks-renderer/types';
|
|
3
3
|
export declare const textInlineNode: (node: TextInlineNode, prefix: string) => (VNode | string)[] | VNode;
|
|
4
4
|
export declare const linkInlineNode: (node: LinkInlineNode, prefix: string) => VNode;
|
|
5
5
|
export declare const defaultInlineNode: (node: DefaultInlineNode, prefix: string) => (VNode | string)[] | VNode | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-strapi-blocks-renderer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "Renderer for the strapi CMS blocks text content element.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -44,21 +44,21 @@
|
|
|
44
44
|
"renovate:config:validate": "renovate-config-validator"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@nuxt/kit": "^3.
|
|
47
|
+
"@nuxt/kit": "^3.17.6",
|
|
48
48
|
"defu": "^6.1.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@nuxt/devtools": "^2.
|
|
52
|
-
"@nuxt/eslint-config": "^1.
|
|
51
|
+
"@nuxt/devtools": "^2.6.2",
|
|
52
|
+
"@nuxt/eslint-config": "^1.5.2",
|
|
53
53
|
"@nuxt/module-builder": "^1.0.1",
|
|
54
|
-
"@nuxt/schema": "^3.
|
|
55
|
-
"@nuxt/test-utils": "^3.
|
|
56
|
-
"@nuxtjs/tailwindcss": "^6.
|
|
57
|
-
"eslint": "^9.
|
|
58
|
-
"nuxt": "^3.
|
|
59
|
-
"renovate": "^
|
|
60
|
-
"vitest": "^3.
|
|
61
|
-
"vue-tsc": "^
|
|
54
|
+
"@nuxt/schema": "^3.17.6",
|
|
55
|
+
"@nuxt/test-utils": "^3.19.2",
|
|
56
|
+
"@nuxtjs/tailwindcss": "^6.14.0",
|
|
57
|
+
"eslint": "^9.31.0",
|
|
58
|
+
"nuxt": "^3.17.6",
|
|
59
|
+
"renovate": "^41.31.1",
|
|
60
|
+
"vitest": "^3.2.4",
|
|
61
|
+
"vue-tsc": "^3.0.1"
|
|
62
62
|
},
|
|
63
63
|
"keywords": [
|
|
64
64
|
"nuxt",
|
|
@@ -78,4 +78,4 @@
|
|
|
78
78
|
"stackblitz": {
|
|
79
79
|
"startCommand": "npm run dev:prepare && npm run dev:custom"
|
|
80
80
|
}
|
|
81
|
-
}
|
|
81
|
+
}
|