@prismicio/vue 6.1.4 → 6.1.5-canary.4a0111f
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 +7 -1
- package/dist/PrismicImage.vue.d.cts +2 -2
- package/dist/PrismicImage.vue.d.cts.map +1 -1
- package/dist/PrismicImage.vue.d.ts +2 -2
- package/dist/PrismicImage.vue.d.ts.map +1 -1
- package/dist/PrismicLink.vue.d.cts +2 -2
- package/dist/PrismicLink.vue.d.cts.map +1 -1
- package/dist/PrismicLink.vue.d.ts +2 -2
- package/dist/PrismicLink.vue.d.ts.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.vue.d.cts +2 -2
- package/dist/PrismicRichText/PrismicRichText.vue.d.cts.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.vue.d.ts +2 -2
- package/dist/PrismicRichText/PrismicRichText.vue.d.ts.map +1 -1
- package/dist/PrismicRichText/getRichTextComponentProps.d.cts +1 -2
- package/dist/PrismicRichText/getRichTextComponentProps.d.cts.map +1 -1
- package/dist/PrismicRichText/getRichTextComponentProps.d.ts +1 -2
- package/dist/PrismicRichText/getRichTextComponentProps.d.ts.map +1 -1
- package/dist/PrismicRichText/types.d.cts +3 -4
- package/dist/PrismicRichText/types.d.cts.map +1 -1
- package/dist/PrismicRichText/types.d.ts +3 -4
- package/dist/PrismicRichText/types.d.ts.map +1 -1
- package/dist/PrismicTable/PrismicTable.vue.d.cts +2 -2
- package/dist/PrismicTable/PrismicTable.vue.d.cts.map +1 -1
- package/dist/PrismicTable/PrismicTable.vue.d.ts +2 -2
- package/dist/PrismicTable/PrismicTable.vue.d.ts.map +1 -1
- package/dist/PrismicTable/getTableComponentProps.d.cts +7 -7
- package/dist/PrismicTable/getTableComponentProps.d.cts.map +1 -1
- package/dist/PrismicTable/getTableComponentProps.d.ts +7 -7
- package/dist/PrismicTable/getTableComponentProps.d.ts.map +1 -1
- package/dist/PrismicTable/types.d.cts +1 -2
- package/dist/PrismicTable/types.d.cts.map +1 -1
- package/dist/PrismicTable/types.d.ts +1 -2
- package/dist/PrismicTable/types.d.ts.map +1 -1
- package/dist/PrismicText.vue.d.cts +2 -2
- package/dist/PrismicText.vue.d.cts.map +1 -1
- package/dist/PrismicText.vue.d.ts +2 -2
- package/dist/PrismicText.vue.d.ts.map +1 -1
- package/dist/SliceSimulator.vue.d.cts +2 -2
- package/dist/SliceSimulator.vue.d.cts.map +1 -1
- package/dist/SliceSimulator.vue.d.ts +2 -2
- package/dist/SliceSimulator.vue.d.ts.map +1 -1
- package/dist/SliceZone/SliceZone.vue.d.cts +2 -2
- package/dist/SliceZone/SliceZone.vue.d.cts.map +1 -1
- package/dist/SliceZone/SliceZone.vue.d.ts +2 -2
- package/dist/SliceZone/SliceZone.vue.d.ts.map +1 -1
- package/dist/SliceZone/TODOSliceComponent.d.cts +1 -2
- package/dist/SliceZone/TODOSliceComponent.d.cts.map +1 -1
- package/dist/SliceZone/TODOSliceComponent.d.ts +1 -2
- package/dist/SliceZone/TODOSliceComponent.d.ts.map +1 -1
- package/dist/SliceZone/defineSliceZoneComponents.d.cts +1 -2
- package/dist/SliceZone/defineSliceZoneComponents.d.cts.map +1 -1
- package/dist/SliceZone/defineSliceZoneComponents.d.ts +1 -2
- package/dist/SliceZone/defineSliceZoneComponents.d.ts.map +1 -1
- package/dist/SliceZone/getSliceComponentProps.d.cts +1 -2
- package/dist/SliceZone/getSliceComponentProps.d.cts.map +1 -1
- package/dist/SliceZone/getSliceComponentProps.d.ts +1 -2
- package/dist/SliceZone/getSliceComponentProps.d.ts.map +1 -1
- package/dist/SliceZone/types.d.cts +7 -8
- package/dist/SliceZone/types.d.cts.map +1 -1
- package/dist/SliceZone/types.d.ts +7 -8
- package/dist/SliceZone/types.d.ts.map +1 -1
- package/dist/createPrismic.d.cts +4 -5
- package/dist/createPrismic.d.cts.map +1 -1
- package/dist/createPrismic.d.ts +4 -5
- package/dist/createPrismic.d.ts.map +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.js +1 -1
- package/dist/types.d.cts +3 -3
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/types.d.ts.map +1 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -27,6 +27,12 @@ Replace all on all files (README.md, CONTRIBUTING.md, bug_report.md, package.jso
|
|
|
27
27
|
npm install @prismicio/vue
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
+
Using an AI agent? Teach it how to use `@prismicio/vue` by installing the Prismic skill:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npx skills add --global --yes prismicio/skills
|
|
34
|
+
```
|
|
35
|
+
|
|
30
36
|
## Documentation
|
|
31
37
|
|
|
32
38
|
To discover what's new on this package check out [the changelog][changelog]. For full documentation, visit the [official Prismic documentation][prismic-docs].
|
|
@@ -48,7 +54,7 @@ For more clarity on this project and its structure you can also check out the de
|
|
|
48
54
|
## License
|
|
49
55
|
|
|
50
56
|
```
|
|
51
|
-
Copyright 2013-
|
|
57
|
+
Copyright 2013-2026 Prismic <contact@prismic.io> (https://prismic.io)
|
|
52
58
|
|
|
53
59
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
54
60
|
you may not use this file except in compliance with the License.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ImageField, asImagePixelDensitySrcSet, asImageSrc, asImageWidthSrcSet } from "@prismicio/client";
|
|
2
2
|
//#region src/PrismicImage.vue.d.ts
|
|
3
3
|
/** Props for `<PrismicImage />`. */
|
|
4
|
-
type PrismicImageProps = {
|
|
4
|
+
export type PrismicImageProps = {
|
|
5
5
|
/** The Prismic image field or thumbnail to render. */
|
|
6
6
|
field: ImageField | ImageField<string>;
|
|
7
7
|
/**
|
|
@@ -238,5 +238,5 @@ declare const __VLS_export: import("vue").DefineComponent<({
|
|
|
238
238
|
})> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
239
239
|
declare const _default: typeof __VLS_export;
|
|
240
240
|
//#endregion
|
|
241
|
-
export {
|
|
241
|
+
export { _default as default };
|
|
242
242
|
//# sourceMappingURL=PrismicImage.vue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicImage.vue.d.cts","names":[],"sources":["../src/PrismicImage.vue"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PrismicImage.vue.d.cts","names":[],"sources":["../src/PrismicImage.vue"],"mappings":";;;YAgMY;;EAEX,OAAO,aAAa;;;;;;EAOpB,cAAc,kBAAkB;;;;;;EAOhC;;;;;;;EAQA;;;;;;EAOA;;;;;;EAOA;;;;;;;;;;;EAYE,SACG,YAAY,kBAAkB;EAGjC;;EAGA;;;;;;;EAOA,gBACG,YAAY,kBAAkB;;cA+H9B,4BAAY;;EA9LV,OAAA,aAAa;;;;;;EAON,cAAA,kBAAkB;;;;;;EAO1B;;;;;;;EAQQ;;;;;;EAON;;;;;;EAOC;;;;;;;;;;;EAaJ,SAAA,YAAY,kBAAkB;EAGhB;;;EApDZ,OAAA,aAAa;;;;;;EAON,cAAA,kBAAkB;;;;;;EAO1B;;;;;;;EAQQ;;;;;;EAON;;;;;;EAOC;;EAmBE;;;;;;;EAQN,gBAAA,YAAY,kBAAkB;;;EA/D5B,OAAA,aAAa;;;;;;EAON,cAAA,kBAAkB;;;;;;EAO1B;;;;;;;EAQQ;;;;;;EAON;;;;;;EAOC;;;;;;;;;;;EAaJ,SAAA,YAAY,kBAAkB;EAGhB;;;EApDZ,OAAA,aAAa;;;;;;EAON,cAAA,kBAAkB;;;;;;EAO1B;;;;;;;EAQQ;;;;;;EAON;;;;;;EAOC;;EAmBE;;;;;;;EAQN,gBAAA,YAAY,kBAAkB;MAiIlC,oDAAA;cACmB,iBAAO"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ImageField, asImagePixelDensitySrcSet, asImageSrc, asImageWidthSrcSet } from "@prismicio/client";
|
|
2
2
|
//#region src/PrismicImage.vue.d.ts
|
|
3
3
|
/** Props for `<PrismicImage />`. */
|
|
4
|
-
type PrismicImageProps = {
|
|
4
|
+
export type PrismicImageProps = {
|
|
5
5
|
/** The Prismic image field or thumbnail to render. */
|
|
6
6
|
field: ImageField | ImageField<string>;
|
|
7
7
|
/**
|
|
@@ -238,5 +238,5 @@ declare const __VLS_export: import("vue").DefineComponent<({
|
|
|
238
238
|
})> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
239
239
|
declare const _default: typeof __VLS_export;
|
|
240
240
|
//#endregion
|
|
241
|
-
export {
|
|
241
|
+
export { _default as default };
|
|
242
242
|
//# sourceMappingURL=PrismicImage.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicImage.vue.d.ts","names":[],"sources":["../src/PrismicImage.vue"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PrismicImage.vue.d.ts","names":[],"sources":["../src/PrismicImage.vue"],"mappings":";;;YAgMY;;EAEX,OAAO,aAAa;;;;;;EAOpB,cAAc,kBAAkB;;;;;;EAOhC;;;;;;;EAQA;;;;;;EAOA;;;;;;EAOA;;;;;;;;;;;EAYE,SACG,YAAY,kBAAkB;EAGjC;;EAGA;;;;;;;EAOA,gBACG,YAAY,kBAAkB;;cA+H9B,4BAAY;;EA9LV,OAAA,aAAa;;;;;;EAON,cAAA,kBAAkB;;;;;;EAO1B;;;;;;;EAQQ;;;;;;EAON;;;;;;EAOC;;;;;;;;;;;EAaJ,SAAA,YAAY,kBAAkB;EAGhB;;;EApDZ,OAAA,aAAa;;;;;;EAON,cAAA,kBAAkB;;;;;;EAO1B;;;;;;;EAQQ;;;;;;EAON;;;;;;EAOC;;EAmBE;;;;;;;EAQN,gBAAA,YAAY,kBAAkB;;;EA/D5B,OAAA,aAAa;;;;;;EAON,cAAA,kBAAkB;;;;;;EAO1B;;;;;;;EAQQ;;;;;;EAON;;;;;;EAOC;;;;;;;;;;;EAaJ,SAAA,YAAY,kBAAkB;EAGhB;;;EApDZ,OAAA,aAAa;;;;;;EAON,cAAA,kBAAkB;;;;;;EAO1B;;;;;;;EAQQ;;;;;;EAON;;;;;;EAOC;;EAmBE;;;;;;;EAQN,gBAAA,YAAY,kBAAkB;MAiIlC,oDAAA;cACmB,iBAAO"}
|
|
@@ -2,7 +2,7 @@ import { ComponentOrTagName } from "./types.cjs";
|
|
|
2
2
|
import { AsLinkAttrsConfig, LinkField, LinkResolverFunction, PrismicDocument } from "@prismicio/client";
|
|
3
3
|
//#region src/PrismicLink.vue.d.ts
|
|
4
4
|
/** Props for `<PrismicLink />`. */
|
|
5
|
-
type PrismicLinkProps = {
|
|
5
|
+
export type PrismicLinkProps = {
|
|
6
6
|
/**
|
|
7
7
|
* The link resolver used to resolve links.
|
|
8
8
|
*
|
|
@@ -195,5 +195,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
197
|
//#endregion
|
|
198
|
-
export {
|
|
198
|
+
export { _default as default };
|
|
199
199
|
//# sourceMappingURL=PrismicLink.vue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicLink.vue.d.cts","names":[],"sources":["../src/PrismicLink.vue"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"PrismicLink.vue.d.cts","names":[],"sources":["../src/PrismicLink.vue"],"mappings":";;;;YAgJY;;;;;;;;;EASX,eAAe;;;;;;EAOf,eAAe;;;;;;;;;EAUf,oBAAoB;;;;;;EAOpB,oBAAoB;;;EAIlB,OAAO;EACP;;;EAIA,UAAU;EACV;;YA+EC;KACC;EACD,WAAW,cAAc;;cAKvB,0BAAU;;;;;;;;;EAxHA,eAAA;;;;;;EAOT,eAAS;;;;;;;;;EAUK,oBAAA;;;;;;EAOA,oBAAA;;;EAIX,OAAA;EACI;;;;;;;;;;EA7BE,eAAA;;;;;;EAOT,eAAS;;;;;;;;;EAUK,oBAAA;;;;;;EAOA,oBAAA;;;EASR,UAAA;EACF;;;;;;;;;;EAlCK,eAAA;;;;;;EAOT,eAAS;;;;;;;;;EAUK,oBAAA;;;;;;EAOA,oBAAA;;;EAIX,OAAA;EACI;;;;;;;;;;EA7BE,eAAA;;;;;;EAOT,eAAS;;;;;;;;;EAUK,oBAAA;;;;;;EAOA,oBAAA;;;EASR,UAAA;EACF;MAwFT,oDAAA;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -2,7 +2,7 @@ import { ComponentOrTagName } from "./types.js";
|
|
|
2
2
|
import { AsLinkAttrsConfig, LinkField, LinkResolverFunction, PrismicDocument } from "@prismicio/client";
|
|
3
3
|
//#region src/PrismicLink.vue.d.ts
|
|
4
4
|
/** Props for `<PrismicLink />`. */
|
|
5
|
-
type PrismicLinkProps = {
|
|
5
|
+
export type PrismicLinkProps = {
|
|
6
6
|
/**
|
|
7
7
|
* The link resolver used to resolve links.
|
|
8
8
|
*
|
|
@@ -195,5 +195,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
197
|
//#endregion
|
|
198
|
-
export {
|
|
198
|
+
export { _default as default };
|
|
199
199
|
//# sourceMappingURL=PrismicLink.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicLink.vue.d.ts","names":[],"sources":["../src/PrismicLink.vue"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"PrismicLink.vue.d.ts","names":[],"sources":["../src/PrismicLink.vue"],"mappings":";;;;YAgJY;;;;;;;;;EASX,eAAe;;;;;;EAOf,eAAe;;;;;;;;;EAUf,oBAAoB;;;;;;EAOpB,oBAAoB;;;EAIlB,OAAO;EACP;;;EAIA,UAAU;EACV;;YA+EC;KACC;EACD,WAAW,cAAc;;cAKvB,0BAAU;;;;;;;;;EAxHA,eAAA;;;;;;EAOT,eAAS;;;;;;;;;EAUK,oBAAA;;;;;;EAOA,oBAAA;;;EAIX,OAAA;EACI;;;;;;;;;;EA7BE,eAAA;;;;;;EAOT,eAAS;;;;;;;;;EAUK,oBAAA;;;;;;EAOA,oBAAA;;;EASR,UAAA;EACF;;;;;;;;;;EAlCK,eAAA;;;;;;EAOT,eAAS;;;;;;;;;EAUK,oBAAA;;;;;;EAOA,oBAAA;;;EAIX,OAAA;EACI;;;;;;;;;;EA7BE,eAAA;;;;;;EAOT,eAAS;;;;;;;;;EAUK,oBAAA;;;;;;EAOA,oBAAA;;;EASR,UAAA;EACF;MAwFT,oDAAA;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -4,7 +4,7 @@ import { LinkResolverFunction, RichTextField } from "@prismicio/client";
|
|
|
4
4
|
import { PropType } from "vue";
|
|
5
5
|
//#region src/PrismicRichText/PrismicRichText.vue.d.ts
|
|
6
6
|
/** Props for `<PrismicRichText />`. */
|
|
7
|
-
type PrismicRichTextProps = {
|
|
7
|
+
export type PrismicRichTextProps = {
|
|
8
8
|
/** The Prismic rich text field to render. */
|
|
9
9
|
field: RichTextField | null | undefined;
|
|
10
10
|
/**
|
|
@@ -64,5 +64,5 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
64
64
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
65
|
declare const _default: typeof __VLS_export;
|
|
66
66
|
//#endregion
|
|
67
|
-
export {
|
|
67
|
+
export { _default as default };
|
|
68
68
|
//# sourceMappingURL=PrismicRichText.vue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicRichText.vue.d.cts","names":[],"sources":["../../src/PrismicRichText/PrismicRichText.vue"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"PrismicRichText.vue.d.cts","names":[],"sources":["../../src/PrismicRichText/PrismicRichText.vue"],"mappings":";;;;;;YAiJY;;EAEX,OAAO;;;;;;;;;EAUP,eAAe;;;;;;;;;;;;;EAcf,aAAa;;;;;EAMb,WAAW;;cAwHN,4BAAY,8BAAA;;IAGU,MAAA,SAAS;;;IAGjB,MAAA,SAAS;;;IAGX,MAAA,SAAS;;;IAGW,MAAA,SAAS;;;;IATnB,MAAA,SAAS;;;IAGjB,MAAA,SAAS;;;IAGX,MAAA,SAAS;;;IAGW,MAAA,SAAS;;MAG7C,oDAAA;cACmB,iBAAO"}
|
|
@@ -4,7 +4,7 @@ import { PropType } from "vue";
|
|
|
4
4
|
import { LinkResolverFunction, RichTextField } from "@prismicio/client";
|
|
5
5
|
//#region src/PrismicRichText/PrismicRichText.vue.d.ts
|
|
6
6
|
/** Props for `<PrismicRichText />`. */
|
|
7
|
-
type PrismicRichTextProps = {
|
|
7
|
+
export type PrismicRichTextProps = {
|
|
8
8
|
/** The Prismic rich text field to render. */
|
|
9
9
|
field: RichTextField | null | undefined;
|
|
10
10
|
/**
|
|
@@ -64,5 +64,5 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
64
64
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
65
|
declare const _default: typeof __VLS_export;
|
|
66
66
|
//#endregion
|
|
67
|
-
export {
|
|
67
|
+
export { _default as default };
|
|
68
68
|
//# sourceMappingURL=PrismicRichText.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicRichText.vue.d.ts","names":[],"sources":["../../src/PrismicRichText/PrismicRichText.vue"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"PrismicRichText.vue.d.ts","names":[],"sources":["../../src/PrismicRichText/PrismicRichText.vue"],"mappings":";;;;;;YAiJY;;EAEX,OAAO;;;;;;;;;EAUP,eAAe;;;;;;;;;;;;;EAcf,aAAa;;;;;EAMb,WAAW;;cAwHN,4BAAY,8BAAA;;IAGU,MAAA,SAAS;;;IAGjB,MAAA,SAAS;;;IAGX,MAAA,SAAS;;;IAGW,MAAA,SAAS;;;;IATnB,MAAA,SAAS;;;IAGjB,MAAA,SAAS;;;IAGX,MAAA,SAAS;;;IAGW,MAAA,SAAS;;MAG7C,oDAAA;cACmB,iBAAO"}
|
|
@@ -40,9 +40,8 @@ type DefineComponentRichTextComponentProps<TRTNode extends RTAnyNode = RTAnyNode
|
|
|
40
40
|
* @param type - The type of rich text node this component handles
|
|
41
41
|
* @returns Props object to use with `defineProps()`
|
|
42
42
|
*/
|
|
43
|
-
declare const getRichTextComponentProps: <TRTType extends RTAnyNode["type"]>(type?: TRTType) => DefineComponentRichTextComponentProps<Extract<RTAnyNode, {
|
|
43
|
+
export declare const getRichTextComponentProps: <TRTType extends RTAnyNode["type"]>(type?: TRTType) => DefineComponentRichTextComponentProps<Extract<RTAnyNode, {
|
|
44
44
|
type: TRTType;
|
|
45
45
|
}>>;
|
|
46
46
|
//#endregion
|
|
47
|
-
export { getRichTextComponentProps };
|
|
48
47
|
//# sourceMappingURL=getRichTextComponentProps.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRichTextComponentProps.d.cts","names":[],"sources":["../../src/PrismicRichText/getRichTextComponentProps.ts"],"mappings":";;;;;;;;;;KAWK,sCAAsC,gBAAgB,YAAY;EACtE;IACC,MAAM,SAAS,uBAAuB;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getRichTextComponentProps.d.cts","names":[],"sources":["../../src/PrismicRichText/getRichTextComponentProps.ts"],"mappings":";;;;;;;;;;KAWK,sCAAsC,gBAAgB,YAAY;EACtE;IACC,MAAM,SAAS,uBAAuB;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA8BW,4BAA6B,gBAAgB,mBAEzD,OAAO,YACL,sCAAsC,QAAQ;EAAa,MAAM"}
|
|
@@ -40,9 +40,8 @@ type DefineComponentRichTextComponentProps<TRTNode extends RTAnyNode = RTAnyNode
|
|
|
40
40
|
* @param type - The type of rich text node this component handles
|
|
41
41
|
* @returns Props object to use with `defineProps()`
|
|
42
42
|
*/
|
|
43
|
-
declare const getRichTextComponentProps: <TRTType extends RTAnyNode["type"]>(type?: TRTType) => DefineComponentRichTextComponentProps<Extract<RTAnyNode, {
|
|
43
|
+
export declare const getRichTextComponentProps: <TRTType extends RTAnyNode["type"]>(type?: TRTType) => DefineComponentRichTextComponentProps<Extract<RTAnyNode, {
|
|
44
44
|
type: TRTType;
|
|
45
45
|
}>>;
|
|
46
46
|
//#endregion
|
|
47
|
-
export { getRichTextComponentProps };
|
|
48
47
|
//# sourceMappingURL=getRichTextComponentProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRichTextComponentProps.d.ts","names":[],"sources":["../../src/PrismicRichText/getRichTextComponentProps.ts"],"mappings":";;;;;;;;;;KAWK,sCAAsC,gBAAgB,YAAY;EACtE;IACC,MAAM,SAAS,uBAAuB;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getRichTextComponentProps.d.ts","names":[],"sources":["../../src/PrismicRichText/getRichTextComponentProps.ts"],"mappings":";;;;;;;;;;KAWK,sCAAsC,gBAAgB,YAAY;EACtE;IACC,MAAM,SAAS,uBAAuB;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA8BW,4BAA6B,gBAAgB,mBAEzD,OAAO,YACL,sCAAsC,QAAQ;EAAa,MAAM"}
|
|
@@ -6,7 +6,7 @@ import { LinkResolverFunction, RTAnyNode, RTEmNode, RTEmbedNode, RTHeading1Node,
|
|
|
6
6
|
*
|
|
7
7
|
* @see Templating Rich Text and title fields from Prismic {@link https://prismic.io/docs/rich-text}
|
|
8
8
|
*/
|
|
9
|
-
type RichTextComponents = {
|
|
9
|
+
export type RichTextComponents = {
|
|
10
10
|
heading1?: RichTextComponent<RTHeading1Node> | ComponentShorthand;
|
|
11
11
|
heading2?: RichTextComponent<RTHeading2Node> | ComponentShorthand;
|
|
12
12
|
heading3?: RichTextComponent<RTHeading3Node> | ComponentShorthand;
|
|
@@ -28,7 +28,7 @@ type RichTextComponents = {
|
|
|
28
28
|
span?: RichTextComponent<RTSpanNode>;
|
|
29
29
|
};
|
|
30
30
|
/** Props for a component rendering nodes from a Prismic rich text field. */
|
|
31
|
-
type RichTextComponentProps<TRTNode extends RTAnyNode = RTAnyNode> = {
|
|
31
|
+
export type RichTextComponentProps<TRTNode extends RTAnyNode = RTAnyNode> = {
|
|
32
32
|
node: TRTNode;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
@@ -36,7 +36,6 @@ type RichTextComponentProps<TRTNode extends RTAnyNode = RTAnyNode> = {
|
|
|
36
36
|
*
|
|
37
37
|
* @typeParam TRTNode - The type of rich text node(s) this component handles
|
|
38
38
|
*/
|
|
39
|
-
type RichTextComponent<TRTNode extends RTAnyNode = RTAnyNode> = Component<RichTextComponentProps<TRTNode>>;
|
|
39
|
+
export type RichTextComponent<TRTNode extends RTAnyNode = RTAnyNode> = Component<RichTextComponentProps<TRTNode>>;
|
|
40
40
|
//#endregion
|
|
41
|
-
export { RichTextComponent, RichTextComponentProps, RichTextComponents };
|
|
42
41
|
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/PrismicRichText/types.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/PrismicRichText/types.ts"],"mappings":";;;;;;;;YAgCY;EACX,WAAW,kBAAkB,kBAAkB;EAC/C,WAAW,kBAAkB,kBAAkB;EAC/C,WAAW,kBAAkB,kBAAkB;EAC/C,WAAW,kBAAkB,kBAAkB;EAC/C,WAAW,kBAAkB,kBAAkB;EAC/C,WAAW,kBAAkB,kBAAkB;EAC/C,YAAY,kBAAkB,mBAAmB;EACjD,eAAe,kBAAkB,sBAAsB;EACvD,SAAS,kBAAkB,gBAAgB;EAC3C,KAAK,kBAAkB,YAAY;EACnC,WAAW,kBAAkB,kBAAkB;EAC/C,YAAY,kBAAkB,mBAAmB;EACjD,OAAO,kBAAkB,cAAc;EACvC,QAAQ,kBAAkB,eAAe;EACzC,QAAQ,kBAAkB,eAAe,KAAK;EAC9C,QAAQ,kBAAkB,eAAe;EACzC,YAAY,kBAAkB,cAAc,KAAK;EACjD,QAAQ,kBAAkB,eAAe,KAAK;EAC9C,OAAO,kBAAkB;;;YAId,uBAAuB,gBAAgB,YAAY;EAC9D,MAAM;;;;;;;YAQK,kBAAkB,gBAAgB,YAAY,aAAa,UACtE,uBAAuB"}
|
|
@@ -6,7 +6,7 @@ import { LinkResolverFunction, RTAnyNode, RTEmNode, RTEmbedNode, RTHeading1Node,
|
|
|
6
6
|
*
|
|
7
7
|
* @see Templating Rich Text and title fields from Prismic {@link https://prismic.io/docs/rich-text}
|
|
8
8
|
*/
|
|
9
|
-
type RichTextComponents = {
|
|
9
|
+
export type RichTextComponents = {
|
|
10
10
|
heading1?: RichTextComponent<RTHeading1Node> | ComponentShorthand;
|
|
11
11
|
heading2?: RichTextComponent<RTHeading2Node> | ComponentShorthand;
|
|
12
12
|
heading3?: RichTextComponent<RTHeading3Node> | ComponentShorthand;
|
|
@@ -28,7 +28,7 @@ type RichTextComponents = {
|
|
|
28
28
|
span?: RichTextComponent<RTSpanNode>;
|
|
29
29
|
};
|
|
30
30
|
/** Props for a component rendering nodes from a Prismic rich text field. */
|
|
31
|
-
type RichTextComponentProps<TRTNode extends RTAnyNode = RTAnyNode> = {
|
|
31
|
+
export type RichTextComponentProps<TRTNode extends RTAnyNode = RTAnyNode> = {
|
|
32
32
|
node: TRTNode;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
@@ -36,7 +36,6 @@ type RichTextComponentProps<TRTNode extends RTAnyNode = RTAnyNode> = {
|
|
|
36
36
|
*
|
|
37
37
|
* @typeParam TRTNode - The type of rich text node(s) this component handles
|
|
38
38
|
*/
|
|
39
|
-
type RichTextComponent<TRTNode extends RTAnyNode = RTAnyNode> = Component<RichTextComponentProps<TRTNode>>;
|
|
39
|
+
export type RichTextComponent<TRTNode extends RTAnyNode = RTAnyNode> = Component<RichTextComponentProps<TRTNode>>;
|
|
40
40
|
//#endregion
|
|
41
|
-
export { RichTextComponent, RichTextComponentProps, RichTextComponents };
|
|
42
41
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../src/PrismicRichText/types.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../src/PrismicRichText/types.ts"],"mappings":";;;;;;;;YAgCY;EACX,WAAW,kBAAkB,kBAAkB;EAC/C,WAAW,kBAAkB,kBAAkB;EAC/C,WAAW,kBAAkB,kBAAkB;EAC/C,WAAW,kBAAkB,kBAAkB;EAC/C,WAAW,kBAAkB,kBAAkB;EAC/C,WAAW,kBAAkB,kBAAkB;EAC/C,YAAY,kBAAkB,mBAAmB;EACjD,eAAe,kBAAkB,sBAAsB;EACvD,SAAS,kBAAkB,gBAAgB;EAC3C,KAAK,kBAAkB,YAAY;EACnC,WAAW,kBAAkB,kBAAkB;EAC/C,YAAY,kBAAkB,mBAAmB;EACjD,OAAO,kBAAkB,cAAc;EACvC,QAAQ,kBAAkB,eAAe;EACzC,QAAQ,kBAAkB,eAAe,KAAK;EAC9C,QAAQ,kBAAkB,eAAe;EACzC,YAAY,kBAAkB,cAAc,KAAK;EACjD,QAAQ,kBAAkB,eAAe,KAAK;EAC9C,OAAO,kBAAkB;;;YAId,uBAAuB,gBAAgB,YAAY;EAC9D,MAAM;;;;;;;YAQK,kBAAkB,gBAAgB,YAAY,aAAa,UACtE,uBAAuB"}
|
|
@@ -5,7 +5,7 @@ import { TableComponents } from "./types.cjs";
|
|
|
5
5
|
import { TableField } from "@prismicio/client";
|
|
6
6
|
//#region src/PrismicTable/PrismicTable.vue.d.ts
|
|
7
7
|
/** Props for `<PrismicTable />`. */
|
|
8
|
-
type PrismicTableProps = {
|
|
8
|
+
export type PrismicTableProps = {
|
|
9
9
|
/** The Prismic table field to render. */
|
|
10
10
|
field: TableField | undefined;
|
|
11
11
|
/**
|
|
@@ -30,5 +30,5 @@ type PrismicTableProps = {
|
|
|
30
30
|
declare const __VLS_export: import("vue").DefineComponent<PrismicTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PrismicTableProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
//#endregion
|
|
33
|
-
export {
|
|
33
|
+
export { _default as default };
|
|
34
34
|
//# sourceMappingURL=PrismicTable.vue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicTable.vue.d.cts","names":[],"sources":["../../src/PrismicTable/PrismicTable.vue"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"PrismicTable.vue.d.cts","names":[],"sources":["../../src/PrismicTable/PrismicTable.vue"],"mappings":";;;;;;;YA8HY;;EAEX,OAAO;;;;;;;;;;;;;EAcP,aAAa,kBAAkB;;;;;EAM/B,WAAW;;cA4JN,4BAAY,gBAAA,iDAAA,qCAAA,iDAAA,aAAA,SAAA,qBAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -5,7 +5,7 @@ import { TableComponents } from "./types.js";
|
|
|
5
5
|
import { TableField } from "@prismicio/client";
|
|
6
6
|
//#region src/PrismicTable/PrismicTable.vue.d.ts
|
|
7
7
|
/** Props for `<PrismicTable />`. */
|
|
8
|
-
type PrismicTableProps = {
|
|
8
|
+
export type PrismicTableProps = {
|
|
9
9
|
/** The Prismic table field to render. */
|
|
10
10
|
field: TableField | undefined;
|
|
11
11
|
/**
|
|
@@ -30,5 +30,5 @@ type PrismicTableProps = {
|
|
|
30
30
|
declare const __VLS_export: import("vue").DefineComponent<PrismicTableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PrismicTableProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
//#endregion
|
|
33
|
-
export {
|
|
33
|
+
export { _default as default };
|
|
34
34
|
//# sourceMappingURL=PrismicTable.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicTable.vue.d.ts","names":[],"sources":["../../src/PrismicTable/PrismicTable.vue"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"PrismicTable.vue.d.ts","names":[],"sources":["../../src/PrismicTable/PrismicTable.vue"],"mappings":";;;;;;;YA8HY;;EAEX,OAAO;;;;;;;;;;;;;EAcP,aAAa,kBAAkB;;;;;EAM/B,WAAW;;cA4JN,4BAAY,gBAAA,iDAAA,qCAAA,iDAAA,aAAA,SAAA,qBAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -17,7 +17,7 @@ declare namespace getTableComponentProps_d_exports {
|
|
|
17
17
|
* defineProps(getTableComponentProps.table())
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
declare const table: () => {
|
|
20
|
+
export declare const table: () => {
|
|
21
21
|
table: {
|
|
22
22
|
type: PropType<TableField<"filled">>;
|
|
23
23
|
required: true;
|
|
@@ -37,7 +37,7 @@ declare const table: () => {
|
|
|
37
37
|
* defineProps(getTableComponentProps.thead())
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
|
-
declare const thead: () => {
|
|
40
|
+
export declare const thead: () => {
|
|
41
41
|
head: {
|
|
42
42
|
type: PropType<TableFieldHead>;
|
|
43
43
|
required: true;
|
|
@@ -57,7 +57,7 @@ declare const thead: () => {
|
|
|
57
57
|
* defineProps(getTableComponentProps.body())
|
|
58
58
|
* ```
|
|
59
59
|
*/
|
|
60
|
-
declare const tbody: () => {
|
|
60
|
+
export declare const tbody: () => {
|
|
61
61
|
body: {
|
|
62
62
|
type: PropType<TableFieldBody>;
|
|
63
63
|
required: true;
|
|
@@ -77,7 +77,7 @@ declare const tbody: () => {
|
|
|
77
77
|
* defineProps(getTableComponentProps.tr())
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
declare const tr: () => {
|
|
80
|
+
export declare const tr: () => {
|
|
81
81
|
row: {
|
|
82
82
|
type: PropType<TableFieldHeadRow | TableFieldBodyRow>;
|
|
83
83
|
required: true;
|
|
@@ -97,7 +97,7 @@ declare const tr: () => {
|
|
|
97
97
|
* defineProps(getTableComponentProps.th())
|
|
98
98
|
* ```
|
|
99
99
|
*/
|
|
100
|
-
declare const th: () => {
|
|
100
|
+
export declare const th: () => {
|
|
101
101
|
cell: {
|
|
102
102
|
type: PropType<TableFieldHeaderCell>;
|
|
103
103
|
required: true;
|
|
@@ -117,12 +117,12 @@ declare const th: () => {
|
|
|
117
117
|
* defineProps(getTableComponentProps.td())
|
|
118
118
|
* ```
|
|
119
119
|
*/
|
|
120
|
-
declare const td: () => {
|
|
120
|
+
export declare const td: () => {
|
|
121
121
|
cell: {
|
|
122
122
|
type: PropType<TableFieldDataCell>;
|
|
123
123
|
required: true;
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
//#endregion
|
|
127
|
-
export { getTableComponentProps_d_exports
|
|
127
|
+
export { getTableComponentProps_d_exports };
|
|
128
128
|
//# sourceMappingURL=getTableComponentProps.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTableComponentProps.d.cts","names":[],"sources":["../../src/PrismicTable/getTableComponentProps.ts"],"mappings":";;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getTableComponentProps.d.cts","names":[],"sources":["../../src/PrismicTable/getTableComponentProps.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBAyBa;EACZ;IAAS,MAAM,SAAS;IAAuB;;;;;;;;;;;;;;;;;qBAmBnC;EACZ;IAAQ,MAAM,SAAS;IAAiB;;;;;;;;;;;;;;;;;qBAmB5B;EACZ;IAAQ,MAAM,SAAS;IAAiB;;;;;;;;;;;;;;;;;qBAmB5B;EACZ;IACC,MAAM,SAAS,oBAAoB;IACnC;;;;;;;;;;;;;;;;;qBAuBW;EACZ;IAAQ,MAAM,SAAS;IAAuB;;;;;;;;;;;;;;;;;qBAmBlC;EACZ;IAAQ,MAAM,SAAS;IAAqB"}
|
|
@@ -17,7 +17,7 @@ declare namespace getTableComponentProps_d_exports {
|
|
|
17
17
|
* defineProps(getTableComponentProps.table())
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
declare const table: () => {
|
|
20
|
+
export declare const table: () => {
|
|
21
21
|
table: {
|
|
22
22
|
type: PropType<TableField<"filled">>;
|
|
23
23
|
required: true;
|
|
@@ -37,7 +37,7 @@ declare const table: () => {
|
|
|
37
37
|
* defineProps(getTableComponentProps.thead())
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
|
-
declare const thead: () => {
|
|
40
|
+
export declare const thead: () => {
|
|
41
41
|
head: {
|
|
42
42
|
type: PropType<TableFieldHead>;
|
|
43
43
|
required: true;
|
|
@@ -57,7 +57,7 @@ declare const thead: () => {
|
|
|
57
57
|
* defineProps(getTableComponentProps.body())
|
|
58
58
|
* ```
|
|
59
59
|
*/
|
|
60
|
-
declare const tbody: () => {
|
|
60
|
+
export declare const tbody: () => {
|
|
61
61
|
body: {
|
|
62
62
|
type: PropType<TableFieldBody>;
|
|
63
63
|
required: true;
|
|
@@ -77,7 +77,7 @@ declare const tbody: () => {
|
|
|
77
77
|
* defineProps(getTableComponentProps.tr())
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
declare const tr: () => {
|
|
80
|
+
export declare const tr: () => {
|
|
81
81
|
row: {
|
|
82
82
|
type: PropType<TableFieldHeadRow | TableFieldBodyRow>;
|
|
83
83
|
required: true;
|
|
@@ -97,7 +97,7 @@ declare const tr: () => {
|
|
|
97
97
|
* defineProps(getTableComponentProps.th())
|
|
98
98
|
* ```
|
|
99
99
|
*/
|
|
100
|
-
declare const th: () => {
|
|
100
|
+
export declare const th: () => {
|
|
101
101
|
cell: {
|
|
102
102
|
type: PropType<TableFieldHeaderCell>;
|
|
103
103
|
required: true;
|
|
@@ -117,12 +117,12 @@ declare const th: () => {
|
|
|
117
117
|
* defineProps(getTableComponentProps.td())
|
|
118
118
|
* ```
|
|
119
119
|
*/
|
|
120
|
-
declare const td: () => {
|
|
120
|
+
export declare const td: () => {
|
|
121
121
|
cell: {
|
|
122
122
|
type: PropType<TableFieldDataCell>;
|
|
123
123
|
required: true;
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
//#endregion
|
|
127
|
-
export { getTableComponentProps_d_exports
|
|
127
|
+
export { getTableComponentProps_d_exports };
|
|
128
128
|
//# sourceMappingURL=getTableComponentProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTableComponentProps.d.ts","names":[],"sources":["../../src/PrismicTable/getTableComponentProps.ts"],"mappings":";;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getTableComponentProps.d.ts","names":[],"sources":["../../src/PrismicTable/getTableComponentProps.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBAyBa;EACZ;IAAS,MAAM,SAAS;IAAuB;;;;;;;;;;;;;;;;;qBAmBnC;EACZ;IAAQ,MAAM,SAAS;IAAiB;;;;;;;;;;;;;;;;;qBAmB5B;EACZ;IAAQ,MAAM,SAAS;IAAiB;;;;;;;;;;;;;;;;;qBAmB5B;EACZ;IACC,MAAM,SAAS,oBAAoB;IACnC;;;;;;;;;;;;;;;;;qBAuBW;EACZ;IAAQ,MAAM,SAAS;IAAuB;;;;;;;;;;;;;;;;;qBAmBlC;EACZ;IAAQ,MAAM,SAAS;IAAqB"}
|
|
@@ -6,7 +6,7 @@ import { TableField, TableFieldBody, TableFieldBodyRow, TableFieldDataCell, Tabl
|
|
|
6
6
|
*
|
|
7
7
|
* @see Templating Table fields from Prismic {@link https://prismic.io/docs/table}
|
|
8
8
|
*/
|
|
9
|
-
type TableComponents = {
|
|
9
|
+
export type TableComponents = {
|
|
10
10
|
table?: Component<{
|
|
11
11
|
table: TableField<"filled">;
|
|
12
12
|
}> | Omit<ComponentShorthand, "as">;
|
|
@@ -27,5 +27,4 @@ type TableComponents = {
|
|
|
27
27
|
}> | Omit<ComponentShorthand, "as">;
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
30
|
-
export { TableComponents };
|
|
31
30
|
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/PrismicTable/types.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/PrismicTable/types.ts"],"mappings":";;;;;;;;YAiBY;EACX,QAAQ;IAAY,OAAO;OAA0B,KAAK;EAC1D,QAAQ;IAAY,MAAM;OAAoB,KAAK;EACnD,QAAQ;IAAY,MAAM;OAAoB,KAAK;EACnD,KAAK;IAAY,KAAK,oBAAoB;OAAuB,KAAK;EACtE,KAAK;IAAY,MAAM;OAA0B,KAAK;EACtD,KAAK;IAAY,MAAM;OAAwB,KAAK"}
|
|
@@ -6,7 +6,7 @@ import { TableField, TableFieldBody, TableFieldBodyRow, TableFieldDataCell, Tabl
|
|
|
6
6
|
*
|
|
7
7
|
* @see Templating Table fields from Prismic {@link https://prismic.io/docs/table}
|
|
8
8
|
*/
|
|
9
|
-
type TableComponents = {
|
|
9
|
+
export type TableComponents = {
|
|
10
10
|
table?: Component<{
|
|
11
11
|
table: TableField<"filled">;
|
|
12
12
|
}> | Omit<ComponentShorthand, "as">;
|
|
@@ -27,5 +27,4 @@ type TableComponents = {
|
|
|
27
27
|
}> | Omit<ComponentShorthand, "as">;
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
30
|
-
export { TableComponents };
|
|
31
30
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../src/PrismicTable/types.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../src/PrismicTable/types.ts"],"mappings":";;;;;;;;YAiBY;EACX,QAAQ;IAAY,OAAO;OAA0B,KAAK;EAC1D,QAAQ;IAAY,MAAM;OAAoB,KAAK;EACnD,QAAQ;IAAY,MAAM;OAAoB,KAAK;EACnD,KAAK;IAAY,KAAK,oBAAoB;OAAuB,KAAK;EACtE,KAAK;IAAY,MAAM;OAA0B,KAAK;EACtD,KAAK;IAAY,MAAM;OAAwB,KAAK"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RichTextField } from "@prismicio/client";
|
|
2
2
|
//#region src/PrismicText.vue.d.ts
|
|
3
3
|
/** Props for `<PrismicText />`. */
|
|
4
|
-
type PrismicTextProps = {
|
|
4
|
+
export type PrismicTextProps = {
|
|
5
5
|
/** The Prismic rich text field to render. */
|
|
6
6
|
field: RichTextField | null | undefined;
|
|
7
7
|
/**
|
|
@@ -19,5 +19,5 @@ type PrismicTextProps = {
|
|
|
19
19
|
declare const __VLS_export: import("vue").DefineComponent<PrismicTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PrismicTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
//#endregion
|
|
22
|
-
export {
|
|
22
|
+
export { _default as default };
|
|
23
23
|
//# sourceMappingURL=PrismicText.vue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicText.vue.d.cts","names":[],"sources":["../src/PrismicText.vue"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PrismicText.vue.d.cts","names":[],"sources":["../src/PrismicText.vue"],"mappings":";;;YAyDY;;EAEX,OAAO;;;;;EAMP;;;;;;EAOA;;cAuCK,4BAAY,gBAAA,gDAAA,qCAAA,iDAAA,aAAA,SAAA,oBAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RichTextField } from "@prismicio/client";
|
|
2
2
|
//#region src/PrismicText.vue.d.ts
|
|
3
3
|
/** Props for `<PrismicText />`. */
|
|
4
|
-
type PrismicTextProps = {
|
|
4
|
+
export type PrismicTextProps = {
|
|
5
5
|
/** The Prismic rich text field to render. */
|
|
6
6
|
field: RichTextField | null | undefined;
|
|
7
7
|
/**
|
|
@@ -19,5 +19,5 @@ type PrismicTextProps = {
|
|
|
19
19
|
declare const __VLS_export: import("vue").DefineComponent<PrismicTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PrismicTextProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
//#endregion
|
|
22
|
-
export {
|
|
22
|
+
export { _default as default };
|
|
23
23
|
//# sourceMappingURL=PrismicText.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicText.vue.d.ts","names":[],"sources":["../src/PrismicText.vue"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PrismicText.vue.d.ts","names":[],"sources":["../src/PrismicText.vue"],"mappings":";;;YAyDY;;EAEX,OAAO;;;;;EAMP;;;;;;EAOA;;cAuCK,4BAAY,gBAAA,gDAAA,qCAAA,iDAAA,aAAA,SAAA,oBAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/SliceSimulator.vue.d.ts
|
|
2
2
|
/** Props for `<SliceSimulator />`. */
|
|
3
|
-
type SliceSimulatorProps = {
|
|
3
|
+
export type SliceSimulatorProps = {
|
|
4
4
|
/** The z-index value of the simulator so that it's displayed above layout elements. */
|
|
5
5
|
zIndex?: number;
|
|
6
6
|
/** The background color of the simulator to match website design. */
|
|
@@ -49,5 +49,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
//#endregion
|
|
52
|
-
export {
|
|
52
|
+
export { _default as default };
|
|
53
53
|
//# sourceMappingURL=SliceSimulator.vue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliceSimulator.vue.d.cts","names":[],"sources":["../src/SliceSimulator.vue"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"SliceSimulator.vue.d.cts","names":[],"sources":["../src/SliceSimulator.vue"],"mappings":";;YAmGY;;EAEX;;EAEA;;YA0FG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KACC;EACD,WAAW,cAAc;;cAKvB,0BAAU,gBAAA,mDAAA,qCAAA,iDAAA,aAAA,SAAA,uBAAA,oDAAA;cAGV,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/SliceSimulator.vue.d.ts
|
|
2
2
|
/** Props for `<SliceSimulator />`. */
|
|
3
|
-
type SliceSimulatorProps = {
|
|
3
|
+
export type SliceSimulatorProps = {
|
|
4
4
|
/** The z-index value of the simulator so that it's displayed above layout elements. */
|
|
5
5
|
zIndex?: number;
|
|
6
6
|
/** The background color of the simulator to match website design. */
|
|
@@ -49,5 +49,5 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
//#endregion
|
|
52
|
-
export {
|
|
52
|
+
export { _default as default };
|
|
53
53
|
//# sourceMappingURL=SliceSimulator.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliceSimulator.vue.d.ts","names":[],"sources":["../src/SliceSimulator.vue"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"SliceSimulator.vue.d.ts","names":[],"sources":["../src/SliceSimulator.vue"],"mappings":";;YAmGY;;EAEX;;EAEA;;YA0FG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KACC;EACD,WAAW,cAAc;;cAKvB,0BAAU,gBAAA,mDAAA,qCAAA,iDAAA,aAAA,SAAA,uBAAA,oDAAA;cAGV,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -5,7 +5,7 @@ import { SliceComponentType, SliceLike, SliceZoneComponents, SliceZoneLike } fro
|
|
|
5
5
|
*
|
|
6
6
|
* @typeParam TContext - Arbitrary data made available to all Slice components
|
|
7
7
|
*/
|
|
8
|
-
type SliceZoneProps<TContext = unknown> = {
|
|
8
|
+
export type SliceZoneProps<TContext = unknown> = {
|
|
9
9
|
/** List of slice data from the slice zone. */
|
|
10
10
|
slices: SliceZoneLike<SliceLike | (SliceLike & Record<string, unknown>)>;
|
|
11
11
|
/** A record mapping slice types to React components. */
|
|
@@ -19,5 +19,5 @@ type __VLS_Props = SliceZoneProps;
|
|
|
19
19
|
declare const __VLS_export: 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>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
//#endregion
|
|
22
|
-
export {
|
|
22
|
+
export { _default as default };
|
|
23
23
|
//# sourceMappingURL=SliceZone.vue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliceZone.vue.d.cts","names":[],"sources":["../../src/SliceZone/SliceZone.vue"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"SliceZone.vue.d.cts","names":[],"sources":["../../src/SliceZone/SliceZone.vue"],"mappings":";;;;;;;YA6FY,eAAe;;EAE1B,QAAQ,cAAc,aAAa,YAAY;;EAG/C,aAAa;;EAIb,mBAAmB,wBAAwB;;EAG3C,UAAU;;KAGN,cAAc;cA6Eb,4BAAY,gBAAA,2CAAA,qCAAA,iDAAA,aAAA,SAAA,eAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -5,7 +5,7 @@ import { SliceComponentType, SliceLike, SliceZoneComponents, SliceZoneLike } fro
|
|
|
5
5
|
*
|
|
6
6
|
* @typeParam TContext - Arbitrary data made available to all Slice components
|
|
7
7
|
*/
|
|
8
|
-
type SliceZoneProps<TContext = unknown> = {
|
|
8
|
+
export type SliceZoneProps<TContext = unknown> = {
|
|
9
9
|
/** List of slice data from the slice zone. */
|
|
10
10
|
slices: SliceZoneLike<SliceLike | (SliceLike & Record<string, unknown>)>;
|
|
11
11
|
/** A record mapping slice types to React components. */
|
|
@@ -19,5 +19,5 @@ type __VLS_Props = SliceZoneProps;
|
|
|
19
19
|
declare const __VLS_export: 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>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
//#endregion
|
|
22
|
-
export {
|
|
22
|
+
export { _default as default };
|
|
23
23
|
//# sourceMappingURL=SliceZone.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliceZone.vue.d.ts","names":[],"sources":["../../src/SliceZone/SliceZone.vue"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"SliceZone.vue.d.ts","names":[],"sources":["../../src/SliceZone/SliceZone.vue"],"mappings":";;;;;;;YA6FY,eAAe;;EAE1B,QAAQ,cAAc,aAAa,YAAY;;EAG/C,aAAa;;EAIb,mBAAmB,wBAAwB;;EAG3C,UAAU;;KAGN,cAAc;cA6Eb,4BAAY,gBAAA,2CAAA,qCAAA,iDAAA,aAAA,SAAA,eAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -6,7 +6,6 @@ import { SliceComponentType } from "./types.cjs";
|
|
|
6
6
|
* This is also the default Vue component rendered when a component mapping cannot be found in
|
|
7
7
|
* `<SliceZone />`.
|
|
8
8
|
*/
|
|
9
|
-
declare const TODOSliceComponent: SliceComponentType;
|
|
9
|
+
export declare const TODOSliceComponent: SliceComponentType;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { TODOSliceComponent };
|
|
12
11
|
//# sourceMappingURL=TODOSliceComponent.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TODOSliceComponent.d.cts","names":[],"sources":["../../src/SliceZone/TODOSliceComponent.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"TODOSliceComponent.d.cts","names":[],"sources":["../../src/SliceZone/TODOSliceComponent.ts"],"mappings":";;;;;;;;qBAaa,oBAAkB"}
|
|
@@ -6,7 +6,6 @@ import { SliceComponentType } from "./types.js";
|
|
|
6
6
|
* This is also the default Vue component rendered when a component mapping cannot be found in
|
|
7
7
|
* `<SliceZone />`.
|
|
8
8
|
*/
|
|
9
|
-
declare const TODOSliceComponent: SliceComponentType;
|
|
9
|
+
export declare const TODOSliceComponent: SliceComponentType;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { TODOSliceComponent };
|
|
12
11
|
//# sourceMappingURL=TODOSliceComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TODOSliceComponent.d.ts","names":[],"sources":["../../src/SliceZone/TODOSliceComponent.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"TODOSliceComponent.d.ts","names":[],"sources":["../../src/SliceZone/TODOSliceComponent.ts"],"mappings":";;;;;;;;qBAaa,oBAAkB"}
|
|
@@ -30,7 +30,6 @@ import { SliceLike, SliceZoneComponents } from "./types.cjs";
|
|
|
30
30
|
* @param components - {@link SliceZoneComponents}
|
|
31
31
|
* @returns A new optimized record of {@link SliceZoneComponents}
|
|
32
32
|
*/
|
|
33
|
-
declare const defineSliceZoneComponents: <TSlice extends SliceLike = any, TContext = unknown>(components: SliceZoneComponents<TSlice, TContext>) => SliceZoneComponents<TSlice, TContext>;
|
|
33
|
+
export declare const defineSliceZoneComponents: <TSlice extends SliceLike = any, TContext = unknown>(components: SliceZoneComponents<TSlice, TContext>) => SliceZoneComponents<TSlice, TContext>;
|
|
34
34
|
//#endregion
|
|
35
|
-
export { defineSliceZoneComponents };
|
|
36
35
|
//# sourceMappingURL=defineSliceZoneComponents.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defineSliceZoneComponents.d.cts","names":[],"sources":["../../src/SliceZone/defineSliceZoneComponents.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"defineSliceZoneComponents.d.cts","names":[],"sources":["../../src/SliceZone/defineSliceZoneComponents.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAkCa,4BAEZ,eAAe,iBACf,oBAEA,YAAY,oBAAoB,QAAQ,cACtC,oBAAoB,QAAQ"}
|
|
@@ -30,7 +30,6 @@ import { SliceLike, SliceZoneComponents } from "./types.js";
|
|
|
30
30
|
* @param components - {@link SliceZoneComponents}
|
|
31
31
|
* @returns A new optimized record of {@link SliceZoneComponents}
|
|
32
32
|
*/
|
|
33
|
-
declare const defineSliceZoneComponents: <TSlice extends SliceLike = any, TContext = unknown>(components: SliceZoneComponents<TSlice, TContext>) => SliceZoneComponents<TSlice, TContext>;
|
|
33
|
+
export declare const defineSliceZoneComponents: <TSlice extends SliceLike = any, TContext = unknown>(components: SliceZoneComponents<TSlice, TContext>) => SliceZoneComponents<TSlice, TContext>;
|
|
34
34
|
//#endregion
|
|
35
|
-
export { defineSliceZoneComponents };
|
|
36
35
|
//# sourceMappingURL=defineSliceZoneComponents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defineSliceZoneComponents.d.ts","names":[],"sources":["../../src/SliceZone/defineSliceZoneComponents.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"defineSliceZoneComponents.d.ts","names":[],"sources":["../../src/SliceZone/defineSliceZoneComponents.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAkCa,4BAEZ,eAAe,iBACf,oBAEA,YAAY,oBAAoB,QAAQ,cACtC,oBAAoB,QAAQ"}
|
|
@@ -56,7 +56,6 @@ type DefineComponentSliceComponentProps<TSlice extends SliceLike = any, TContext
|
|
|
56
56
|
* hint of which props are made available to the slice, this parameters doesn't have any effect
|
|
57
57
|
* @returns Props object to use with `defineProps()`
|
|
58
58
|
*/
|
|
59
|
-
declare const getSliceComponentProps: <TSlice extends SliceLike = any, TContext = unknown>(propsHint?: ["slice", "index", "slices", "context"]) => DefineComponentSliceComponentProps<TSlice, TContext>;
|
|
59
|
+
export declare const getSliceComponentProps: <TSlice extends SliceLike = any, TContext = unknown>(propsHint?: ["slice", "index", "slices", "context"]) => DefineComponentSliceComponentProps<TSlice, TContext>;
|
|
60
60
|
//#endregion
|
|
61
|
-
export { getSliceComponentProps };
|
|
62
61
|
//# sourceMappingURL=getSliceComponentProps.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSliceComponentProps.d.cts","names":[],"sources":["../../src/SliceZone/getSliceComponentProps.ts"],"mappings":";;;;;;;;;;;KAYK,mCAEJ,eAAe,iBACf;EAEA;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getSliceComponentProps.d.cts","names":[],"sources":["../../src/SliceZone/getSliceComponentProps.ts"],"mappings":";;;;;;;;;;;KAYK,mCAEJ,eAAe,iBACf;EAEA;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAiCW,yBAEZ,eAAe,iBACf,oBAGA,wDACE,mCAAmC,QAAQ"}
|
|
@@ -56,7 +56,6 @@ type DefineComponentSliceComponentProps<TSlice extends SliceLike = any, TContext
|
|
|
56
56
|
* hint of which props are made available to the slice, this parameters doesn't have any effect
|
|
57
57
|
* @returns Props object to use with `defineProps()`
|
|
58
58
|
*/
|
|
59
|
-
declare const getSliceComponentProps: <TSlice extends SliceLike = any, TContext = unknown>(propsHint?: ["slice", "index", "slices", "context"]) => DefineComponentSliceComponentProps<TSlice, TContext>;
|
|
59
|
+
export declare const getSliceComponentProps: <TSlice extends SliceLike = any, TContext = unknown>(propsHint?: ["slice", "index", "slices", "context"]) => DefineComponentSliceComponentProps<TSlice, TContext>;
|
|
60
60
|
//#endregion
|
|
61
|
-
export { getSliceComponentProps };
|
|
62
61
|
//# sourceMappingURL=getSliceComponentProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSliceComponentProps.d.ts","names":[],"sources":["../../src/SliceZone/getSliceComponentProps.ts"],"mappings":";;;;;;;;;;;KAYK,mCAEJ,eAAe,iBACf;EAEA;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getSliceComponentProps.d.ts","names":[],"sources":["../../src/SliceZone/getSliceComponentProps.ts"],"mappings":";;;;;;;;;;;KAYK,mCAEJ,eAAe,iBACf;EAEA;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;EAED;IACC,MAAM,SAAS,oBAAoB,QAAQ;IAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAiCW,yBAEZ,eAAe,iBACf,oBAGA,wDACE,mCAAmC,QAAQ"}
|
|
@@ -13,14 +13,14 @@ type ExtractSliceType<TSlice extends SliceLike> = TSlice extends SliceLikeRestV2
|
|
|
13
13
|
*
|
|
14
14
|
* @typeParam SliceType - Type name of the Slice.
|
|
15
15
|
*/
|
|
16
|
-
type SliceLikeRestV2<TSliceType extends string = string> = Pick<Slice<TSliceType>, "id" | "slice_type">;
|
|
16
|
+
export type SliceLikeRestV2<TSliceType extends string = string> = Pick<Slice<TSliceType>, "id" | "slice_type">;
|
|
17
17
|
/**
|
|
18
18
|
* The minimum required properties to represent a Prismic Slice from the Prismic GraphQL API for the
|
|
19
19
|
* `unstable_mapSliceZone()` helper.
|
|
20
20
|
*
|
|
21
21
|
* @typeParam SliceType - Type name of the Slice.
|
|
22
22
|
*/
|
|
23
|
-
type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
23
|
+
export type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
24
24
|
type: Slice<TSliceType>["slice_type"];
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
@@ -31,7 +31,7 @@ type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
|
31
31
|
*
|
|
32
32
|
* @typeParam TSliceType - Type name of the Slice
|
|
33
33
|
*/
|
|
34
|
-
type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType> | SliceLikeGraphQL<TSliceType>) & {
|
|
34
|
+
export type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType> | SliceLikeGraphQL<TSliceType>) & {
|
|
35
35
|
/**
|
|
36
36
|
* If `true`, this Slice has been modified from its original value using a mapper and
|
|
37
37
|
* `@prismicio/client`'s `mapSliceZone()`.
|
|
@@ -48,7 +48,7 @@ type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType
|
|
|
48
48
|
*
|
|
49
49
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
50
50
|
*/
|
|
51
|
-
type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
51
|
+
export type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
52
52
|
/**
|
|
53
53
|
* Vue props for a component rendering content from a Prismic Slice using the `<SliceZone />`
|
|
54
54
|
* component.
|
|
@@ -57,7 +57,7 @@ type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
|
57
57
|
* @typeParam TContext - Arbitrary data passed to `<SliceZone />` and made available to all Slice
|
|
58
58
|
* components
|
|
59
59
|
*/
|
|
60
|
-
type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknown> = {
|
|
60
|
+
export type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknown> = {
|
|
61
61
|
/** Slice data for this component. */
|
|
62
62
|
slice: TSlice;
|
|
63
63
|
/** The index of the Slice in the Slice Zone. */
|
|
@@ -73,7 +73,7 @@ type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknow
|
|
|
73
73
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
74
74
|
* @typeParam TContext - Arbitrary data made available to all Slice components
|
|
75
75
|
*/
|
|
76
|
-
type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Component<SliceComponentProps<TSlice, TContext>>;
|
|
76
|
+
export type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Component<SliceComponentProps<TSlice, TContext>>;
|
|
77
77
|
/**
|
|
78
78
|
* A record of Slice types mapped to Vue components. Each components will be rendered for each
|
|
79
79
|
* instance of their Slice type.
|
|
@@ -81,7 +81,6 @@ type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Co
|
|
|
81
81
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
82
82
|
* @typeParam TContext - Arbitrary data made available to all Slice components
|
|
83
83
|
*/
|
|
84
|
-
type SliceZoneComponents<TSlice extends SliceLike = SliceLike, TContext = unknown> = { [SliceType in ExtractSliceType<TSlice>]: SliceComponentType<Extract<TSlice, SliceLike<SliceType>> extends never ? SliceLike : Extract<TSlice, SliceLike<SliceType>>, TContext> | string; };
|
|
84
|
+
export type SliceZoneComponents<TSlice extends SliceLike = SliceLike, TContext = unknown> = { [SliceType in ExtractSliceType<TSlice>]: SliceComponentType<Extract<TSlice, SliceLike<SliceType>> extends never ? SliceLike : Extract<TSlice, SliceLike<SliceType>>, TContext> | string; };
|
|
85
85
|
//#endregion
|
|
86
|
-
export { SliceComponentProps, SliceComponentType, SliceLike, SliceLikeGraphQL, SliceLikeRestV2, SliceZoneComponents, SliceZoneLike };
|
|
87
86
|
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/SliceZone/types.ts"],"mappings":";;;;;;;;KASK,iBAAiB,eAAe,aAAa,eAAe,kBAC9D,uBACA,eAAe,mBACd;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/SliceZone/types.ts"],"mappings":";;;;;;;;KASK,iBAAiB,eAAe,aAAa,eAAe,kBAC9D,uBACA,eAAe,mBACd;;;;;;;YASQ,gBAAgB,sCAAsC,KACjE,MAAM;;;;;;;YAUK,iBAAiB;EAC5B,MAAM,MAAM;;;;;;;;;;YAWD,UAAU,uCACnB,gBAAgB,cAChB,iBAAiB;;;;;;;EAQnB;;;;;;;;;;YAWW,cAAc,eAAe,YAAY,sBAAsB;;;;;;;;;YAU/D,oBAAoB,eAAe,YAAY,WAAW;;EAErE,OAAO;;EAGP;;EAOA,QAAQ,cAAc,eAAe,mBAAmB,mBAAmB;;EAG3E,SAAS;;;;;;;;YASE,mBAEX,eAAe,iBACf,sBACG,UAAU,oBAAoB,QAAQ;;;;;;;;YAS9B,oBAAoB,eAAe,YAAY,WAAW,yBAWnE,aAAa,iBAAiB,UAC5B,mBACA,QAAQ,QAAQ,UAAU,4BACvB,YACA,QAAQ,QAAQ,UAAU,aAC7B"}
|
|
@@ -13,14 +13,14 @@ type ExtractSliceType<TSlice extends SliceLike> = TSlice extends SliceLikeRestV2
|
|
|
13
13
|
*
|
|
14
14
|
* @typeParam SliceType - Type name of the Slice.
|
|
15
15
|
*/
|
|
16
|
-
type SliceLikeRestV2<TSliceType extends string = string> = Pick<Slice<TSliceType>, "id" | "slice_type">;
|
|
16
|
+
export type SliceLikeRestV2<TSliceType extends string = string> = Pick<Slice<TSliceType>, "id" | "slice_type">;
|
|
17
17
|
/**
|
|
18
18
|
* The minimum required properties to represent a Prismic Slice from the Prismic GraphQL API for the
|
|
19
19
|
* `unstable_mapSliceZone()` helper.
|
|
20
20
|
*
|
|
21
21
|
* @typeParam SliceType - Type name of the Slice.
|
|
22
22
|
*/
|
|
23
|
-
type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
23
|
+
export type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
24
24
|
type: Slice<TSliceType>["slice_type"];
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
@@ -31,7 +31,7 @@ type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
|
31
31
|
*
|
|
32
32
|
* @typeParam TSliceType - Type name of the Slice
|
|
33
33
|
*/
|
|
34
|
-
type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType> | SliceLikeGraphQL<TSliceType>) & {
|
|
34
|
+
export type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType> | SliceLikeGraphQL<TSliceType>) & {
|
|
35
35
|
/**
|
|
36
36
|
* If `true`, this Slice has been modified from its original value using a mapper and
|
|
37
37
|
* `@prismicio/client`'s `mapSliceZone()`.
|
|
@@ -48,7 +48,7 @@ type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType
|
|
|
48
48
|
*
|
|
49
49
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
50
50
|
*/
|
|
51
|
-
type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
51
|
+
export type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
52
52
|
/**
|
|
53
53
|
* Vue props for a component rendering content from a Prismic Slice using the `<SliceZone />`
|
|
54
54
|
* component.
|
|
@@ -57,7 +57,7 @@ type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
|
57
57
|
* @typeParam TContext - Arbitrary data passed to `<SliceZone />` and made available to all Slice
|
|
58
58
|
* components
|
|
59
59
|
*/
|
|
60
|
-
type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknown> = {
|
|
60
|
+
export type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknown> = {
|
|
61
61
|
/** Slice data for this component. */
|
|
62
62
|
slice: TSlice;
|
|
63
63
|
/** The index of the Slice in the Slice Zone. */
|
|
@@ -73,7 +73,7 @@ type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknow
|
|
|
73
73
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
74
74
|
* @typeParam TContext - Arbitrary data made available to all Slice components
|
|
75
75
|
*/
|
|
76
|
-
type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Component<SliceComponentProps<TSlice, TContext>>;
|
|
76
|
+
export type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Component<SliceComponentProps<TSlice, TContext>>;
|
|
77
77
|
/**
|
|
78
78
|
* A record of Slice types mapped to Vue components. Each components will be rendered for each
|
|
79
79
|
* instance of their Slice type.
|
|
@@ -81,7 +81,6 @@ type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Co
|
|
|
81
81
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
82
82
|
* @typeParam TContext - Arbitrary data made available to all Slice components
|
|
83
83
|
*/
|
|
84
|
-
type SliceZoneComponents<TSlice extends SliceLike = SliceLike, TContext = unknown> = { [SliceType in ExtractSliceType<TSlice>]: SliceComponentType<Extract<TSlice, SliceLike<SliceType>> extends never ? SliceLike : Extract<TSlice, SliceLike<SliceType>>, TContext> | string; };
|
|
84
|
+
export type SliceZoneComponents<TSlice extends SliceLike = SliceLike, TContext = unknown> = { [SliceType in ExtractSliceType<TSlice>]: SliceComponentType<Extract<TSlice, SliceLike<SliceType>> extends never ? SliceLike : Extract<TSlice, SliceLike<SliceType>>, TContext> | string; };
|
|
85
85
|
//#endregion
|
|
86
|
-
export { SliceComponentProps, SliceComponentType, SliceLike, SliceLikeGraphQL, SliceLikeRestV2, SliceZoneComponents, SliceZoneLike };
|
|
87
86
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../src/SliceZone/types.ts"],"mappings":";;;;;;;;KASK,iBAAiB,eAAe,aAAa,eAAe,kBAC9D,uBACA,eAAe,mBACd;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../src/SliceZone/types.ts"],"mappings":";;;;;;;;KASK,iBAAiB,eAAe,aAAa,eAAe,kBAC9D,uBACA,eAAe,mBACd;;;;;;;YASQ,gBAAgB,sCAAsC,KACjE,MAAM;;;;;;;YAUK,iBAAiB;EAC5B,MAAM,MAAM;;;;;;;;;;YAWD,UAAU,uCACnB,gBAAgB,cAChB,iBAAiB;;;;;;;EAQnB;;;;;;;;;;YAWW,cAAc,eAAe,YAAY,sBAAsB;;;;;;;;;YAU/D,oBAAoB,eAAe,YAAY,WAAW;;EAErE,OAAO;;EAGP;;EAOA,QAAQ,cAAc,eAAe,mBAAmB,mBAAmB;;EAG3E,SAAS;;;;;;;;YASE,mBAEX,eAAe,iBACf,sBACG,UAAU,oBAAoB,QAAQ;;;;;;;;YAS9B,oBAAoB,eAAe,YAAY,WAAW,yBAWnE,aAAa,iBAAiB,UAC5B,mBACA,QAAQ,QAAQ,UAAU,4BACvB,YACA,QAAQ,QAAQ,UAAU,aAC7B"}
|
package/dist/createPrismic.d.cts
CHANGED
|
@@ -21,7 +21,7 @@ type ComponentsConfig = {
|
|
|
21
21
|
richTextComponents?: RichTextComponents & TableComponents;
|
|
22
22
|
};
|
|
23
23
|
/** Prismic Vue plugin configuration. */
|
|
24
|
-
type PrismicPluginConfig = {
|
|
24
|
+
export type PrismicPluginConfig = {
|
|
25
25
|
/** A Prismic client instance to inject into the Vue app. */
|
|
26
26
|
client: ReturnType<CreateClient>;
|
|
27
27
|
/**
|
|
@@ -34,7 +34,7 @@ type PrismicPluginConfig = {
|
|
|
34
34
|
components?: ComponentsConfig;
|
|
35
35
|
};
|
|
36
36
|
/** Prismic Vue plugin interface accessible through `usePrismic()` and `$prismic`. */
|
|
37
|
-
type PrismicPlugin = {
|
|
37
|
+
export type PrismicPlugin = {
|
|
38
38
|
/** A Prismic client that can be used to query content from a repository. */
|
|
39
39
|
client: ReturnType<CreateClient>;
|
|
40
40
|
/** Helpers to determine if a field is filled. */
|
|
@@ -51,7 +51,7 @@ type PrismicPlugin = {
|
|
|
51
51
|
install: (app: App) => void;
|
|
52
52
|
};
|
|
53
53
|
/** Creates a Prismic Vue plugin instance that can be used by a Vue app. */
|
|
54
|
-
declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
54
|
+
export declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
55
55
|
/**
|
|
56
56
|
* Access the Prismic Vue plugin interface.
|
|
57
57
|
*
|
|
@@ -60,7 +60,7 @@ declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
|
60
60
|
* const { client, isFilled } = usePrismic()
|
|
61
61
|
* ```
|
|
62
62
|
*/
|
|
63
|
-
declare const usePrismic: () => PrismicPlugin;
|
|
63
|
+
export declare const usePrismic: () => PrismicPlugin;
|
|
64
64
|
declare module "vue" {
|
|
65
65
|
interface ComponentCustomProperties {
|
|
66
66
|
/** The Prismic Vue plugin interface. */
|
|
@@ -68,5 +68,4 @@ declare module "vue" {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
//#endregion
|
|
71
|
-
export { PrismicPlugin, PrismicPluginConfig, createPrismic, usePrismic };
|
|
72
71
|
//# sourceMappingURL=createPrismic.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPrismic.d.cts","names":[],"sources":["../src/createPrismic.ts"],"mappings":";;;;;;;;;KAYK;;EAEJ,wBAAwB;;EAGxB,wBAAwB;;;;;;;EAQxB,qBAAqB,qBAAqB;;;
|
|
1
|
+
{"version":3,"file":"createPrismic.d.cts","names":[],"sources":["../src/createPrismic.ts"],"mappings":";;;;;;;;;KAYK;;EAEJ,wBAAwB;;EAGxB,wBAAwB;;;;;;;EAQxB,qBAAqB,qBAAqB;;;YAI/B;;EAEX,QAAQ,WAAW;;;;;;EAOnB,eAAe;;EAGf,aAAa;;;YAIF;;EAEX,QAAQ,WAAW;;EAGnB,iBAAiB;;;;;;EAOjB,eAAe;;WAGN,YAAY;;EAGrB,UAAU,KAAK;;;qBAIH,gBAAiB,QAAQ,wBAAsB;;;;;;;;;qBAoB/C,kBAAiB;;YAKZ;;IAEhB,UAAU"}
|
package/dist/createPrismic.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ type ComponentsConfig = {
|
|
|
21
21
|
richTextComponents?: RichTextComponents & TableComponents;
|
|
22
22
|
};
|
|
23
23
|
/** Prismic Vue plugin configuration. */
|
|
24
|
-
type PrismicPluginConfig = {
|
|
24
|
+
export type PrismicPluginConfig = {
|
|
25
25
|
/** A Prismic client instance to inject into the Vue app. */
|
|
26
26
|
client: ReturnType<CreateClient>;
|
|
27
27
|
/**
|
|
@@ -34,7 +34,7 @@ type PrismicPluginConfig = {
|
|
|
34
34
|
components?: ComponentsConfig;
|
|
35
35
|
};
|
|
36
36
|
/** Prismic Vue plugin interface accessible through `usePrismic()` and `$prismic`. */
|
|
37
|
-
type PrismicPlugin = {
|
|
37
|
+
export type PrismicPlugin = {
|
|
38
38
|
/** A Prismic client that can be used to query content from a repository. */
|
|
39
39
|
client: ReturnType<CreateClient>;
|
|
40
40
|
/** Helpers to determine if a field is filled. */
|
|
@@ -51,7 +51,7 @@ type PrismicPlugin = {
|
|
|
51
51
|
install: (app: App) => void;
|
|
52
52
|
};
|
|
53
53
|
/** Creates a Prismic Vue plugin instance that can be used by a Vue app. */
|
|
54
|
-
declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
54
|
+
export declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
55
55
|
/**
|
|
56
56
|
* Access the Prismic Vue plugin interface.
|
|
57
57
|
*
|
|
@@ -60,7 +60,7 @@ declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
|
60
60
|
* const { client, isFilled } = usePrismic()
|
|
61
61
|
* ```
|
|
62
62
|
*/
|
|
63
|
-
declare const usePrismic: () => PrismicPlugin;
|
|
63
|
+
export declare const usePrismic: () => PrismicPlugin;
|
|
64
64
|
declare module "vue" {
|
|
65
65
|
interface ComponentCustomProperties {
|
|
66
66
|
/** The Prismic Vue plugin interface. */
|
|
@@ -68,5 +68,4 @@ declare module "vue" {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
//#endregion
|
|
71
|
-
export { PrismicPlugin, PrismicPluginConfig, createPrismic, usePrismic };
|
|
72
71
|
//# sourceMappingURL=createPrismic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPrismic.d.ts","names":[],"sources":["../src/createPrismic.ts"],"mappings":";;;;;;;;;KAYK;;EAEJ,wBAAwB;;EAGxB,wBAAwB;;;;;;;EAQxB,qBAAqB,qBAAqB;;;
|
|
1
|
+
{"version":3,"file":"createPrismic.d.ts","names":[],"sources":["../src/createPrismic.ts"],"mappings":";;;;;;;;;KAYK;;EAEJ,wBAAwB;;EAGxB,wBAAwB;;;;;;;EAQxB,qBAAqB,qBAAqB;;;YAI/B;;EAEX,QAAQ,WAAW;;;;;;EAOnB,eAAe;;EAGf,aAAa;;;YAIF;;EAEX,QAAQ,WAAW;;EAGnB,iBAAiB;;;;;;EAOjB,eAAe;;WAGN,YAAY;;EAGrB,UAAU,KAAK;;;qBAIH,gBAAiB,QAAQ,wBAAsB;;;;;;;;;qBAoB/C,kBAAiB;;YAKZ;;IAEhB,UAAU"}
|
package/dist/package.cjs
CHANGED
package/dist/package.js
CHANGED
package/dist/types.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Component } from "vue";
|
|
2
2
|
//#region src/types.d.ts
|
|
3
|
-
type ComponentOrTagName = string | Component;
|
|
3
|
+
export type ComponentOrTagName = string | Component;
|
|
4
4
|
type Component$1<TProps> = Component | Component<TProps>;
|
|
5
5
|
/** A shorthand definition for `<PrismicRichText />` and `<PrismicTable />` component types. */
|
|
6
|
-
type ComponentShorthand = {
|
|
6
|
+
export type ComponentShorthand = {
|
|
7
7
|
/** The HTML element type rendered for this node type. */
|
|
8
8
|
as?: string;
|
|
9
9
|
/** Other attributes to apply to the element type. */
|
|
10
10
|
[Attribute: string]: string | boolean | null | undefined;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
13
|
-
export { Component$1 as Component
|
|
13
|
+
export { Component$1 as Component };
|
|
14
14
|
//# sourceMappingURL=types.d.cts.map
|
package/dist/types.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../src/types.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../src/types.ts"],"mappings":";;YAEY,8BAA8B;KAG9B,YAAU,UAAU,YAAa,UAAW;;YAG5C;;EAEX;;GAGC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Component } from "vue";
|
|
2
2
|
//#region src/types.d.ts
|
|
3
|
-
type ComponentOrTagName = string | Component;
|
|
3
|
+
export type ComponentOrTagName = string | Component;
|
|
4
4
|
type Component$1<TProps> = Component | Component<TProps>;
|
|
5
5
|
/** A shorthand definition for `<PrismicRichText />` and `<PrismicTable />` component types. */
|
|
6
|
-
type ComponentShorthand = {
|
|
6
|
+
export type ComponentShorthand = {
|
|
7
7
|
/** The HTML element type rendered for this node type. */
|
|
8
8
|
as?: string;
|
|
9
9
|
/** Other attributes to apply to the element type. */
|
|
10
10
|
[Attribute: string]: string | boolean | null | undefined;
|
|
11
11
|
};
|
|
12
12
|
//#endregion
|
|
13
|
-
export { Component$1 as Component
|
|
13
|
+
export { Component$1 as Component };
|
|
14
14
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../src/types.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../src/types.ts"],"mappings":";;YAEY,8BAA8B;KAG9B,YAAU,UAAU,YAAa,UAAW;;YAG5C;;EAEX;;GAGC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismicio/vue",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.5-canary.4a0111f",
|
|
4
4
|
"description": "Vue plugin, components, and composables to fetch and present Prismic content",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plugin",
|
|
@@ -56,22 +56,22 @@
|
|
|
56
56
|
"esm-env": "^1.2.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@prismicio/client": "^7.22.
|
|
59
|
+
"@prismicio/client": "^7.22.1",
|
|
60
60
|
"@prismicio/mock": "^0.7.2",
|
|
61
61
|
"@types/jsdom-global": "^3.0.7",
|
|
62
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
63
|
-
"@vitest/coverage-v8": "^
|
|
64
|
-
"@vue/test-utils": "^2.5.
|
|
65
|
-
"jsdom": "^30.0
|
|
62
|
+
"@vitejs/plugin-vue": "^6.0.9",
|
|
63
|
+
"@vitest/coverage-v8": "^5.0.1",
|
|
64
|
+
"@vue/test-utils": "^2.5.1",
|
|
65
|
+
"jsdom": "^30.1.0",
|
|
66
66
|
"jsdom-global": "^3.0.2",
|
|
67
|
-
"oxfmt": "0.
|
|
68
|
-
"oxlint": "1.
|
|
69
|
-
"tsdown": "^0.
|
|
67
|
+
"oxfmt": "0.68.0",
|
|
68
|
+
"oxlint": "1.83.0",
|
|
69
|
+
"tsdown": "^0.23.0",
|
|
70
70
|
"typescript": "^6.0.3",
|
|
71
|
-
"vite": "^8.
|
|
72
|
-
"vitest": "^
|
|
73
|
-
"vue": "^3.5.
|
|
74
|
-
"vue-router": "^5.3.
|
|
71
|
+
"vite": "^8.3.0",
|
|
72
|
+
"vitest": "^5.0.1",
|
|
73
|
+
"vue": "^3.5.43",
|
|
74
|
+
"vue-router": "^5.3.1",
|
|
75
75
|
"vue-tsc": "^3.3.11"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|