@prismicio/vue 6.2.0-canary.bcebbfc → 6.2.0-canary.c47f166
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PrismicImage.vue.d.cts.map +1 -1
- package/dist/PrismicImage.vue.d.ts.map +1 -1
- package/dist/PrismicLink.vue.d.cts +5 -3
- package/dist/PrismicLink.vue.d.cts.map +1 -1
- package/dist/PrismicLink.vue.d.ts +5 -3
- package/dist/PrismicLink.vue.d.ts.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.vue.d.cts.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.vue.d.ts.map +1 -1
- package/dist/PrismicRichText/index.d.cts +1 -1
- package/dist/PrismicRichText/index.d.ts +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/index.d.cts +1 -1
- package/dist/PrismicTable/index.d.ts +1 -1
- package/dist/PrismicText.cjs.map +1 -1
- package/dist/PrismicText.js.map +1 -1
- package/dist/PrismicText.vue.d.cts.map +1 -1
- package/dist/PrismicText.vue.d.ts.map +1 -1
- package/dist/PrismicText.vue_vue_type_script_setup_true_lang.cjs +1 -1
- package/dist/PrismicText.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/PrismicText.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/PrismicText.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/SliceSimulator.vue.d.cts +35 -33
- package/dist/SliceSimulator.vue.d.cts.map +1 -1
- package/dist/SliceSimulator.vue.d.ts +35 -33
- package/dist/SliceSimulator.vue.d.ts.map +1 -1
- package/dist/SliceZone/SliceZone.vue.d.cts.map +1 -1
- package/dist/SliceZone/SliceZone.vue.d.ts.map +1 -1
- package/dist/SliceZone/index.d.cts +1 -1
- package/dist/SliceZone/index.d.ts +1 -1
- package/dist/createPrismic.d.cts +3 -3
- package/dist/createPrismic.d.ts +3 -3
- package/dist/index.cjs +6 -6
- package/dist/index.js +6 -6
- package/dist/package.cjs +1 -1
- package/dist/package.js +1 -1
- package/package.json +17 -19
- package/src/PrismicText.vue +1 -1
|
@@ -1 +1 @@
|
|
|
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;;
|
|
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;;cAgI9B,4BAAY;;EA/LV,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;MAkIlC,oDAAA;cACmB,iBAAO"}
|
|
@@ -1 +1 @@
|
|
|
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;;
|
|
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;;cAgI9B,4BAAY;;EA/LV,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;MAkIlC,oDAAA;cACmB,iBAAO"}
|
|
@@ -41,10 +41,12 @@ export type PrismicLinkProps = {
|
|
|
41
41
|
document: PrismicDocument;
|
|
42
42
|
field?: never;
|
|
43
43
|
});
|
|
44
|
-
declare
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
declare const __VLS_template: () => {
|
|
45
|
+
__VLS_Slots: {
|
|
46
|
+
default?: (props: {}) => any;
|
|
47
|
+
};
|
|
47
48
|
};
|
|
49
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
48
50
|
declare const __VLS_base: import("vue").DefineComponent<({
|
|
49
51
|
/**
|
|
50
52
|
* The link resolver used to resolve links.
|
|
@@ -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":";;;YAkJY;;;;;;;;;EASX,eAAe;;;;;;EAOf,eAAe;;;;;;;;;EAUf,oBAAoB;;;;;;EAOpB,oBAAoB;;;EAIlB,OAAO;EACP;;;EAIA,UAAU;EACV;;cA0DG;;IAkBQ,WAAC;;;KAOV,cAAc,kBAAkB;cAE/B,0BAAU;;;;;;;;;EAvHA,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;MAuFT,oDAAA;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -41,10 +41,12 @@ export type PrismicLinkProps = {
|
|
|
41
41
|
document: PrismicDocument;
|
|
42
42
|
field?: never;
|
|
43
43
|
});
|
|
44
|
-
declare
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
declare const __VLS_template: () => {
|
|
45
|
+
__VLS_Slots: {
|
|
46
|
+
default?: (props: {}) => any;
|
|
47
|
+
};
|
|
47
48
|
};
|
|
49
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
48
50
|
declare const __VLS_base: import("vue").DefineComponent<({
|
|
49
51
|
/**
|
|
50
52
|
* The link resolver used to resolve links.
|
|
@@ -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":";;;YAkJY;;;;;;;;;EASX,eAAe;;;;;;EAOf,eAAe;;;;;;;;;EAUf,oBAAoB;;;;;;EAOpB,oBAAoB;;;EAIlB,OAAO;EACP;;;EAIA,UAAU;EACV;;cA0DG;;IAkBQ,WAAC;;;KAOV,cAAc,kBAAkB;cAE/B,0BAAU;;;;;;;;;EAvHA,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;MAuFT,oDAAA;cACI,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicRichText.vue.d.cts","names":[],"sources":["../../src/PrismicRichText/PrismicRichText.vue"],"mappings":";;;;;YAiJY;;EAEX,OAAO;;;;;;;;;EAUP,eAAe;;;;;;;;;;;;;EAcf,aAAa;;;;;EAMb,WAAW;;
|
|
1
|
+
{"version":3,"file":"PrismicRichText.vue.d.cts","names":[],"sources":["../../src/PrismicRichText/PrismicRichText.vue"],"mappings":";;;;;YAiJY;;EAEX,OAAO;;;;;;;;;EAUP,eAAe;;;;;;;;;;;;;EAcf,aAAa;;;;;EAMb,WAAW;;cAqHN,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicRichText.vue.d.ts","names":[],"sources":["../../src/PrismicRichText/PrismicRichText.vue"],"mappings":";;;;;YAiJY;;EAEX,OAAO;;;;;;;;;EAUP,eAAe;;;;;;;;;;;;;EAcf,aAAa;;;;;EAMb,WAAW;;
|
|
1
|
+
{"version":3,"file":"PrismicRichText.vue.d.ts","names":[],"sources":["../../src/PrismicRichText/PrismicRichText.vue"],"mappings":";;;;;YAiJY;;EAEX,OAAO;;;;;;;;;EAUP,eAAe;;;;;;;;;;;;;EAcf,aAAa;;;;;EAMb,WAAW;;cAqHN,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"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { RichTextComponentProps, RichTextComponents } from "./types.cjs";
|
|
2
1
|
import { getRichTextComponentProps } from "./getRichTextComponentProps.cjs";
|
|
2
|
+
import { RichTextComponentProps, RichTextComponents } from "./types.cjs";
|
|
3
3
|
export { type RichTextComponentProps, type RichTextComponents, getRichTextComponentProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { RichTextComponentProps, RichTextComponents } from "./types.js";
|
|
2
1
|
import { getRichTextComponentProps } from "./getRichTextComponentProps.js";
|
|
2
|
+
import { RichTextComponentProps, RichTextComponents } from "./types.js";
|
|
3
3
|
export { type RichTextComponentProps, type RichTextComponents, getRichTextComponentProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentOrTagName } from "../types.cjs";
|
|
2
|
-
import { RichTextComponents } from "../PrismicRichText/types.cjs";
|
|
3
1
|
import "../PrismicRichText/index.cjs";
|
|
2
|
+
import { RichTextComponents } from "../PrismicRichText/types.cjs";
|
|
3
|
+
import { ComponentOrTagName } from "../types.cjs";
|
|
4
4
|
import { TableComponents } from "./types.cjs";
|
|
5
5
|
import { TableField } from "@prismicio/client";
|
|
6
6
|
/** Props for `<PrismicTable />`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicTable.vue.d.cts","names":[],"sources":["../../src/PrismicTable/PrismicTable.vue"],"mappings":";;;;;;YA8HY;;EAEX,OAAO;;;;;;;;;;;;;EAcP,aAAa,kBAAkB;;;;;EAM/B,WAAW;;
|
|
1
|
+
{"version":3,"file":"PrismicTable.vue.d.cts","names":[],"sources":["../../src/PrismicTable/PrismicTable.vue"],"mappings":";;;;;;YA8HY;;EAEX,OAAO;;;;;;;;;;;;;EAcP,aAAa,kBAAkB;;;;;EAM/B,WAAW;;cAqJN,4BAAY,gBAAA,iDAAA,qCAAA,iDAAA,aAAA,SAAA,qBAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentOrTagName } from "../types.js";
|
|
2
|
-
import { RichTextComponents } from "../PrismicRichText/types.js";
|
|
3
1
|
import "../PrismicRichText/index.js";
|
|
2
|
+
import { RichTextComponents } from "../PrismicRichText/types.js";
|
|
3
|
+
import { ComponentOrTagName } from "../types.js";
|
|
4
4
|
import { TableComponents } from "./types.js";
|
|
5
5
|
import { TableField } from "@prismicio/client";
|
|
6
6
|
/** Props for `<PrismicTable />`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicTable.vue.d.ts","names":[],"sources":["../../src/PrismicTable/PrismicTable.vue"],"mappings":";;;;;;YA8HY;;EAEX,OAAO;;;;;;;;;;;;;EAcP,aAAa,kBAAkB;;;;;EAM/B,WAAW;;
|
|
1
|
+
{"version":3,"file":"PrismicTable.vue.d.ts","names":[],"sources":["../../src/PrismicTable/PrismicTable.vue"],"mappings":";;;;;;YA8HY;;EAEX,OAAO;;;;;;;;;;;;;EAcP,aAAa,kBAAkB;;;;;EAM/B,WAAW;;cAqJN,4BAAY,gBAAA,iDAAA,qCAAA,iDAAA,aAAA,SAAA,qBAAA,oDAAA;cAGG,iBAAO"}
|
package/dist/PrismicText.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicText.cjs","names":["_sfc_main"],"sources":["../src/PrismicText.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { RichTextField } from \"@prismicio/client\"\nimport { asText } from \"@prismicio/client\"\nimport { DEV } from \"esm-env\"\nimport { watchEffect } from \"vue\"\n\nimport { devMsg } from \"./lib/devMsg\"\n\n/** Props for `<PrismicText />`. */\nexport type PrismicTextProps = {\n\t/** The Prismic rich text field to render. */\n\tfield: RichTextField | null | undefined\n\n\t/**\n\t * The string value to be rendered when the field is empty. If a fallback is not given, `\"\"`\n\t * (nothing) will be rendered.\n\t */\n\tfallback?: string\n\n\t/**\n\t * The separator used between blocks.\n\t *\n\t * @defaultValue `\" \"` (a whitespace)\n\t */\n\tseparator?: string\n}\n\nconst props = defineProps<PrismicTextProps>()\ndefineOptions({ name: \"PrismicText\" })\n\nif (DEV) {\n\twatchEffect(() => {\n\t\tif (typeof props.field === \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t`[PrismicText] The \"field\" prop only accepts a Rich Text or title field's value but was provided a different type of field instead (e.g. a Key Text or Select field). You can resolve this error by rendering the field value inline without <PrismicText>. For more details, see ${devMsg(\n\t\t\t\t\t\"prismictext-works-only-with-rich-text-and-title-fields\",\n\t\t\t\t)}`,\n\t\t\t)\n\t\t}\n\t}, {})\n}\n</script>\n\n<template>\n\t{{ asText(field) || fallback || \"\" }}\n</template>\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"PrismicText.cjs","names":["_sfc_main"],"sources":["../src/PrismicText.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { RichTextField } from \"@prismicio/client\"\nimport { asText } from \"@prismicio/client\"\nimport { DEV } from \"esm-env\"\nimport { watchEffect } from \"vue\"\n\nimport { devMsg } from \"./lib/devMsg\"\n\n/** Props for `<PrismicText />`. */\nexport type PrismicTextProps = {\n\t/** The Prismic rich text field to render. */\n\tfield: RichTextField | null | undefined\n\n\t/**\n\t * The string value to be rendered when the field is empty. If a fallback is not given, `\"\"`\n\t * (nothing) will be rendered.\n\t */\n\tfallback?: string\n\n\t/**\n\t * The separator used between blocks.\n\t *\n\t * @defaultValue `\" \"` (a whitespace)\n\t */\n\tseparator?: string\n}\n\nconst props = defineProps<PrismicTextProps>()\ndefineOptions({ name: \"PrismicText\" })\n\nif (DEV) {\n\twatchEffect(() => {\n\t\tif (typeof props.field === \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t`[PrismicText] The \"field\" prop only accepts a Rich Text or title field's value but was provided a different type of field instead (e.g. a Key Text or Select field). You can resolve this error by rendering the field value inline without <PrismicText>. For more details, see ${devMsg(\n\t\t\t\t\t\"prismictext-works-only-with-rich-text-and-title-fields\",\n\t\t\t\t)}`,\n\t\t\t)\n\t\t}\n\t}, {})\n}\n</script>\n\n<template>\n\t{{ asText(field, { separator }) || fallback || \"\" }}\n</template>\n"],"mappings":""}
|
package/dist/PrismicText.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicText.js","names":["_sfc_main"],"sources":["../src/PrismicText.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { RichTextField } from \"@prismicio/client\"\nimport { asText } from \"@prismicio/client\"\nimport { DEV } from \"esm-env\"\nimport { watchEffect } from \"vue\"\n\nimport { devMsg } from \"./lib/devMsg\"\n\n/** Props for `<PrismicText />`. */\nexport type PrismicTextProps = {\n\t/** The Prismic rich text field to render. */\n\tfield: RichTextField | null | undefined\n\n\t/**\n\t * The string value to be rendered when the field is empty. If a fallback is not given, `\"\"`\n\t * (nothing) will be rendered.\n\t */\n\tfallback?: string\n\n\t/**\n\t * The separator used between blocks.\n\t *\n\t * @defaultValue `\" \"` (a whitespace)\n\t */\n\tseparator?: string\n}\n\nconst props = defineProps<PrismicTextProps>()\ndefineOptions({ name: \"PrismicText\" })\n\nif (DEV) {\n\twatchEffect(() => {\n\t\tif (typeof props.field === \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t`[PrismicText] The \"field\" prop only accepts a Rich Text or title field's value but was provided a different type of field instead (e.g. a Key Text or Select field). You can resolve this error by rendering the field value inline without <PrismicText>. For more details, see ${devMsg(\n\t\t\t\t\t\"prismictext-works-only-with-rich-text-and-title-fields\",\n\t\t\t\t)}`,\n\t\t\t)\n\t\t}\n\t}, {})\n}\n</script>\n\n<template>\n\t{{ asText(field) || fallback || \"\" }}\n</template>\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"PrismicText.js","names":["_sfc_main"],"sources":["../src/PrismicText.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { RichTextField } from \"@prismicio/client\"\nimport { asText } from \"@prismicio/client\"\nimport { DEV } from \"esm-env\"\nimport { watchEffect } from \"vue\"\n\nimport { devMsg } from \"./lib/devMsg\"\n\n/** Props for `<PrismicText />`. */\nexport type PrismicTextProps = {\n\t/** The Prismic rich text field to render. */\n\tfield: RichTextField | null | undefined\n\n\t/**\n\t * The string value to be rendered when the field is empty. If a fallback is not given, `\"\"`\n\t * (nothing) will be rendered.\n\t */\n\tfallback?: string\n\n\t/**\n\t * The separator used between blocks.\n\t *\n\t * @defaultValue `\" \"` (a whitespace)\n\t */\n\tseparator?: string\n}\n\nconst props = defineProps<PrismicTextProps>()\ndefineOptions({ name: \"PrismicText\" })\n\nif (DEV) {\n\twatchEffect(() => {\n\t\tif (typeof props.field === \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t`[PrismicText] The \"field\" prop only accepts a Rich Text or title field's value but was provided a different type of field instead (e.g. a Key Text or Select field). You can resolve this error by rendering the field value inline without <PrismicText>. For more details, see ${devMsg(\n\t\t\t\t\t\"prismictext-works-only-with-rich-text-and-title-fields\",\n\t\t\t\t)}`,\n\t\t\t)\n\t\t}\n\t}, {})\n}\n</script>\n\n<template>\n\t{{ asText(field, { separator }) || fallback || \"\" }}\n</template>\n"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicText.vue.d.cts","names":[],"sources":["../src/PrismicText.vue"],"mappings":";;YAyDY;;EAEX,OAAO;;;;;EAMP;;;;;;EAOA;;
|
|
1
|
+
{"version":3,"file":"PrismicText.vue.d.cts","names":[],"sources":["../src/PrismicText.vue"],"mappings":";;YAyDY;;EAEX,OAAO;;;;;EAMP;;;;;;EAOA;;cAyCK,4BAAY,gBAAA,gDAAA,qCAAA,iDAAA,aAAA,SAAA,oBAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicText.vue.d.ts","names":[],"sources":["../src/PrismicText.vue"],"mappings":";;YAyDY;;EAEX,OAAO;;;;;EAMP;;;;;;EAOA;;
|
|
1
|
+
{"version":3,"file":"PrismicText.vue.d.ts","names":[],"sources":["../src/PrismicText.vue"],"mappings":";;YAyDY;;EAEX,OAAO;;;;;EAMP;;;;;;EAOA;;cAyCK,4BAAY,gBAAA,gDAAA,qCAAA,iDAAA,aAAA,SAAA,oBAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -26,7 +26,7 @@ var PrismicText_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0,
|
|
|
26
26
|
if (typeof props.field === "string") throw new Error(`[PrismicText] The "field" prop only accepts a Rich Text or title field's value but was provided a different type of field instead (e.g. a Key Text or Select field). You can resolve this error by rendering the field value inline without <PrismicText>. For more details, see ${require_devMsg.devMsg("prismictext-works-only-with-rich-text-and-title-fields")}`);
|
|
27
27
|
}, {});
|
|
28
28
|
return (_ctx, _cache) => {
|
|
29
|
-
return (0, vue.toDisplayString)((0, vue.unref)(_prismicio_client.asText)(__props.field) || __props.fallback || "");
|
|
29
|
+
return (0, vue.toDisplayString)((0, vue.unref)(_prismicio_client.asText)(__props.field, { separator: __props.separator }) || __props.fallback || "");
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicText.vue_vue_type_script_setup_true_lang.cjs","names":["DEV","devMsg","_toDisplayString","_unref","asText"],"sources":["../src/PrismicText.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { RichTextField } from \"@prismicio/client\"\nimport { asText } from \"@prismicio/client\"\nimport { DEV } from \"esm-env\"\nimport { watchEffect } from \"vue\"\n\nimport { devMsg } from \"./lib/devMsg\"\n\n/** Props for `<PrismicText />`. */\nexport type PrismicTextProps = {\n\t/** The Prismic rich text field to render. */\n\tfield: RichTextField | null | undefined\n\n\t/**\n\t * The string value to be rendered when the field is empty. If a fallback is not given, `\"\"`\n\t * (nothing) will be rendered.\n\t */\n\tfallback?: string\n\n\t/**\n\t * The separator used between blocks.\n\t *\n\t * @defaultValue `\" \"` (a whitespace)\n\t */\n\tseparator?: string\n}\n\nconst props = defineProps<PrismicTextProps>()\ndefineOptions({ name: \"PrismicText\" })\n\nif (DEV) {\n\twatchEffect(() => {\n\t\tif (typeof props.field === \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t`[PrismicText] The \"field\" prop only accepts a Rich Text or title field's value but was provided a different type of field instead (e.g. a Key Text or Select field). You can resolve this error by rendering the field value inline without <PrismicText>. For more details, see ${devMsg(\n\t\t\t\t\t\"prismictext-works-only-with-rich-text-and-title-fields\",\n\t\t\t\t)}`,\n\t\t\t)\n\t\t}\n\t}, {})\n}\n</script>\n\n<template>\n\t{{ asText(field) || fallback || \"\" }}\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;EA2BA,MAAM,QAAQ;EAGd,IAAIA,QAAAA,KACH,CAAA,GAAA,IAAA,YAAA,OAAkB;GACjB,IAAI,OAAO,MAAM,UAAU,UAC1B,MAAM,IAAI,MACT,oRAAoRC,eAAAA,OACnR,wDACD,GACD;EAEF,GAAG,CAAC,CAAC;;GAKF,QAAA,GAAAC,IAAAA,gBAAAA,EAAAA,GAAAC,IAAAA,MAAAA,CAAAC,kBAAAA,MAAA,CAAM,CAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"PrismicText.vue_vue_type_script_setup_true_lang.cjs","names":["DEV","devMsg","_toDisplayString","_unref","asText"],"sources":["../src/PrismicText.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { RichTextField } from \"@prismicio/client\"\nimport { asText } from \"@prismicio/client\"\nimport { DEV } from \"esm-env\"\nimport { watchEffect } from \"vue\"\n\nimport { devMsg } from \"./lib/devMsg\"\n\n/** Props for `<PrismicText />`. */\nexport type PrismicTextProps = {\n\t/** The Prismic rich text field to render. */\n\tfield: RichTextField | null | undefined\n\n\t/**\n\t * The string value to be rendered when the field is empty. If a fallback is not given, `\"\"`\n\t * (nothing) will be rendered.\n\t */\n\tfallback?: string\n\n\t/**\n\t * The separator used between blocks.\n\t *\n\t * @defaultValue `\" \"` (a whitespace)\n\t */\n\tseparator?: string\n}\n\nconst props = defineProps<PrismicTextProps>()\ndefineOptions({ name: \"PrismicText\" })\n\nif (DEV) {\n\twatchEffect(() => {\n\t\tif (typeof props.field === \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t`[PrismicText] The \"field\" prop only accepts a Rich Text or title field's value but was provided a different type of field instead (e.g. a Key Text or Select field). You can resolve this error by rendering the field value inline without <PrismicText>. For more details, see ${devMsg(\n\t\t\t\t\t\"prismictext-works-only-with-rich-text-and-title-fields\",\n\t\t\t\t)}`,\n\t\t\t)\n\t\t}\n\t}, {})\n}\n</script>\n\n<template>\n\t{{ asText(field, { separator }) || fallback || \"\" }}\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;EA2BA,MAAM,QAAQ;EAGd,IAAIA,QAAAA,KACH,CAAA,GAAA,IAAA,YAAA,OAAkB;GACjB,IAAI,OAAO,MAAM,UAAU,UAC1B,MAAM,IAAI,MACT,oRAAoRC,eAAAA,OACnR,wDACD,GACD;EAEF,GAAG,CAAC,CAAC;;GAKF,QAAA,GAAAC,IAAAA,gBAAAA,EAAAA,GAAAC,IAAAA,MAAAA,CAAAC,kBAAAA,MAAA,CAAM,CAAC,QAAA,OAAK,EAAA,WAAI,QAAA,UAAS,CAAA,KAAO,QAAA,YAAQ,EAAA"}
|
|
@@ -26,7 +26,7 @@ var PrismicText_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
26
26
|
if (typeof props.field === "string") throw new Error(`[PrismicText] The "field" prop only accepts a Rich Text or title field's value but was provided a different type of field instead (e.g. a Key Text or Select field). You can resolve this error by rendering the field value inline without <PrismicText>. For more details, see ${devMsg("prismictext-works-only-with-rich-text-and-title-fields")}`);
|
|
27
27
|
}, {});
|
|
28
28
|
return (_ctx, _cache) => {
|
|
29
|
-
return toDisplayString(unref(asText)(__props.field) || __props.fallback || "");
|
|
29
|
+
return toDisplayString(unref(asText)(__props.field, { separator: __props.separator }) || __props.fallback || "");
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicText.vue_vue_type_script_setup_true_lang.js","names":["_toDisplayString","_unref"],"sources":["../src/PrismicText.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { RichTextField } from \"@prismicio/client\"\nimport { asText } from \"@prismicio/client\"\nimport { DEV } from \"esm-env\"\nimport { watchEffect } from \"vue\"\n\nimport { devMsg } from \"./lib/devMsg\"\n\n/** Props for `<PrismicText />`. */\nexport type PrismicTextProps = {\n\t/** The Prismic rich text field to render. */\n\tfield: RichTextField | null | undefined\n\n\t/**\n\t * The string value to be rendered when the field is empty. If a fallback is not given, `\"\"`\n\t * (nothing) will be rendered.\n\t */\n\tfallback?: string\n\n\t/**\n\t * The separator used between blocks.\n\t *\n\t * @defaultValue `\" \"` (a whitespace)\n\t */\n\tseparator?: string\n}\n\nconst props = defineProps<PrismicTextProps>()\ndefineOptions({ name: \"PrismicText\" })\n\nif (DEV) {\n\twatchEffect(() => {\n\t\tif (typeof props.field === \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t`[PrismicText] The \"field\" prop only accepts a Rich Text or title field's value but was provided a different type of field instead (e.g. a Key Text or Select field). You can resolve this error by rendering the field value inline without <PrismicText>. For more details, see ${devMsg(\n\t\t\t\t\t\"prismictext-works-only-with-rich-text-and-title-fields\",\n\t\t\t\t)}`,\n\t\t\t)\n\t\t}\n\t}, {})\n}\n</script>\n\n<template>\n\t{{ asText(field) || fallback || \"\" }}\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;EA2BA,MAAM,QAAQ;EAGd,IAAI,KACH,kBAAkB;GACjB,IAAI,OAAO,MAAM,UAAU,UAC1B,MAAM,IAAI,MACT,oRAAoR,OACnR,wDACD,GACD;EAEF,GAAG,CAAC,CAAC;;GAKF,OAAAA,gBAAAC,MAAA,MAAA,CAAM,CAAC,QAAA,
|
|
1
|
+
{"version":3,"file":"PrismicText.vue_vue_type_script_setup_true_lang.js","names":["_toDisplayString","_unref"],"sources":["../src/PrismicText.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { RichTextField } from \"@prismicio/client\"\nimport { asText } from \"@prismicio/client\"\nimport { DEV } from \"esm-env\"\nimport { watchEffect } from \"vue\"\n\nimport { devMsg } from \"./lib/devMsg\"\n\n/** Props for `<PrismicText />`. */\nexport type PrismicTextProps = {\n\t/** The Prismic rich text field to render. */\n\tfield: RichTextField | null | undefined\n\n\t/**\n\t * The string value to be rendered when the field is empty. If a fallback is not given, `\"\"`\n\t * (nothing) will be rendered.\n\t */\n\tfallback?: string\n\n\t/**\n\t * The separator used between blocks.\n\t *\n\t * @defaultValue `\" \"` (a whitespace)\n\t */\n\tseparator?: string\n}\n\nconst props = defineProps<PrismicTextProps>()\ndefineOptions({ name: \"PrismicText\" })\n\nif (DEV) {\n\twatchEffect(() => {\n\t\tif (typeof props.field === \"string\") {\n\t\t\tthrow new Error(\n\t\t\t\t`[PrismicText] The \"field\" prop only accepts a Rich Text or title field's value but was provided a different type of field instead (e.g. a Key Text or Select field). You can resolve this error by rendering the field value inline without <PrismicText>. For more details, see ${devMsg(\n\t\t\t\t\t\"prismictext-works-only-with-rich-text-and-title-fields\",\n\t\t\t\t)}`,\n\t\t\t)\n\t\t}\n\t}, {})\n}\n</script>\n\n<template>\n\t{{ asText(field, { separator }) || fallback || \"\" }}\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;EA2BA,MAAM,QAAQ;EAGd,IAAI,KACH,kBAAkB;GACjB,IAAI,OAAO,MAAM,UAAU,UAC1B,MAAM,IAAI,MACT,oRAAoR,OACnR,wDACD,GACD;EAEF,GAAG,CAAC,CAAC;;GAKF,OAAAA,gBAAAC,MAAA,MAAA,CAAM,CAAC,QAAA,OAAK,EAAA,WAAI,QAAA,UAAS,CAAA,KAAO,QAAA,YAAQ,EAAA"}
|
|
@@ -5,40 +5,42 @@ export type SliceSimulatorProps = {
|
|
|
5
5
|
/** The background color of the simulator to match website design. */
|
|
6
6
|
background?: string;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
8
|
+
declare const __VLS_template: () => {
|
|
9
|
+
__VLS_Slots: {
|
|
10
|
+
default?: (props: {
|
|
11
|
+
slices: [] | [{
|
|
12
|
+
slice_type: string;
|
|
13
|
+
slice_label: string | null;
|
|
14
|
+
id: string;
|
|
15
|
+
primary: Record<string, import("@prismicio/client").AnyRegularField>;
|
|
16
|
+
items: Record<string, import("@prismicio/client").AnyRegularField>[];
|
|
17
|
+
} | {
|
|
18
|
+
slice_type: string;
|
|
19
|
+
slice_label: null;
|
|
20
|
+
id: string;
|
|
21
|
+
variation: string;
|
|
22
|
+
version: string;
|
|
23
|
+
primary: Record<string, import("@prismicio/client").AnySlicePrimaryField>;
|
|
24
|
+
items: Record<string, import("@prismicio/client").AnyRegularField>[];
|
|
25
|
+
}, ...({
|
|
26
|
+
slice_type: string;
|
|
27
|
+
slice_label: string | null;
|
|
28
|
+
id: string;
|
|
29
|
+
primary: Record<string, import("@prismicio/client").AnyRegularField>;
|
|
30
|
+
items: Record<string, import("@prismicio/client").AnyRegularField>[];
|
|
31
|
+
} | {
|
|
32
|
+
slice_type: string;
|
|
33
|
+
slice_label: null;
|
|
34
|
+
id: string;
|
|
35
|
+
variation: string;
|
|
36
|
+
version: string;
|
|
37
|
+
primary: Record<string, import("@prismicio/client").AnySlicePrimaryField>;
|
|
38
|
+
items: Record<string, import("@prismicio/client").AnyRegularField>[];
|
|
39
|
+
})[]];
|
|
40
|
+
}) => any;
|
|
41
|
+
};
|
|
41
42
|
};
|
|
43
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
42
44
|
declare const __VLS_base: import("vue").DefineComponent<SliceSimulatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliceSimulatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
45
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
46
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliceSimulator.vue.d.cts","names":[],"sources":["../src/SliceSimulator.vue"],"mappings":";YAmGY;;EAEX;;EAEA;;
|
|
1
|
+
{"version":3,"file":"SliceSimulator.vue.d.cts","names":[],"sources":["../src/SliceSimulator.vue"],"mappings":";YAmGY;;EAEX;;EAEA;;cAmDK;;IAoCQ,WAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAOV,cAAc,kBAAkB;cAE/B,0BAAU,gBAAA,mDAAA,qCAAA,iDAAA,aAAA,SAAA,uBAAA,oDAAA;cAGV,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -5,40 +5,42 @@ export type SliceSimulatorProps = {
|
|
|
5
5
|
/** The background color of the simulator to match website design. */
|
|
6
6
|
background?: string;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
8
|
+
declare const __VLS_template: () => {
|
|
9
|
+
__VLS_Slots: {
|
|
10
|
+
default?: (props: {
|
|
11
|
+
slices: [] | [{
|
|
12
|
+
slice_type: string;
|
|
13
|
+
slice_label: string | null;
|
|
14
|
+
id: string;
|
|
15
|
+
primary: Record<string, import("@prismicio/client").AnyRegularField>;
|
|
16
|
+
items: Record<string, import("@prismicio/client").AnyRegularField>[];
|
|
17
|
+
} | {
|
|
18
|
+
slice_type: string;
|
|
19
|
+
slice_label: null;
|
|
20
|
+
id: string;
|
|
21
|
+
variation: string;
|
|
22
|
+
version: string;
|
|
23
|
+
primary: Record<string, import("@prismicio/client").AnySlicePrimaryField>;
|
|
24
|
+
items: Record<string, import("@prismicio/client").AnyRegularField>[];
|
|
25
|
+
}, ...({
|
|
26
|
+
slice_type: string;
|
|
27
|
+
slice_label: string | null;
|
|
28
|
+
id: string;
|
|
29
|
+
primary: Record<string, import("@prismicio/client").AnyRegularField>;
|
|
30
|
+
items: Record<string, import("@prismicio/client").AnyRegularField>[];
|
|
31
|
+
} | {
|
|
32
|
+
slice_type: string;
|
|
33
|
+
slice_label: null;
|
|
34
|
+
id: string;
|
|
35
|
+
variation: string;
|
|
36
|
+
version: string;
|
|
37
|
+
primary: Record<string, import("@prismicio/client").AnySlicePrimaryField>;
|
|
38
|
+
items: Record<string, import("@prismicio/client").AnyRegularField>[];
|
|
39
|
+
})[]];
|
|
40
|
+
}) => any;
|
|
41
|
+
};
|
|
41
42
|
};
|
|
43
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
42
44
|
declare const __VLS_base: import("vue").DefineComponent<SliceSimulatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SliceSimulatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
45
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
46
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliceSimulator.vue.d.ts","names":[],"sources":["../src/SliceSimulator.vue"],"mappings":";YAmGY;;EAEX;;EAEA;;
|
|
1
|
+
{"version":3,"file":"SliceSimulator.vue.d.ts","names":[],"sources":["../src/SliceSimulator.vue"],"mappings":";YAmGY;;EAEX;;EAEA;;cAmDK;;IAoCQ,WAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAOV,cAAc,kBAAkB;cAE/B,0BAAU,gBAAA,mDAAA,qCAAA,iDAAA,aAAA,SAAA,uBAAA,oDAAA;cAGV,cAAqB,uBAAuB,YAAY;cACzC,iBAAO;KACvB,gBAAgB,GAAG,KAAK;;IAE3B,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliceZone.vue.d.cts","names":[],"sources":["../../src/SliceZone/SliceZone.vue"],"mappings":";;;;;;YAiGY,eAAe;;EAE1B,QAAQ,cAAc,aAAa,YAAY;;EAG/C,aAAa;;EAIb,mBAAmB,wBAAwB;;EAG3C,UAAU;;
|
|
1
|
+
{"version":3,"file":"SliceZone.vue.d.cts","names":[],"sources":["../../src/SliceZone/SliceZone.vue"],"mappings":";;;;;;YAiGY,eAAe;;EAE1B,QAAQ,cAAc,aAAa,YAAY;;EAG/C,aAAa;;EAIb,mBAAmB,wBAAwB;;EAG3C,UAAU;;KAKN,cAAc;cA6Gb,4BAAY,gBAAA,2CAAA,qCAAA,iDAAA,aAAA,SAAA,eAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliceZone.vue.d.ts","names":[],"sources":["../../src/SliceZone/SliceZone.vue"],"mappings":";;;;;;YAiGY,eAAe;;EAE1B,QAAQ,cAAc,aAAa,YAAY;;EAG/C,aAAa;;EAIb,mBAAmB,wBAAwB;;EAG3C,UAAU;;
|
|
1
|
+
{"version":3,"file":"SliceZone.vue.d.ts","names":[],"sources":["../../src/SliceZone/SliceZone.vue"],"mappings":";;;;;;YAiGY,eAAe;;EAE1B,QAAQ,cAAc,aAAa,YAAY;;EAG/C,aAAa;;EAIb,mBAAmB,wBAAwB;;EAG3C,UAAU;;KAKN,cAAc;cA6Gb,4BAAY,gBAAA,2CAAA,qCAAA,iDAAA,aAAA,SAAA,eAAA,oDAAA;cAGG,iBAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SliceComponentProps, SliceComponentType, SliceLike, SliceLikeGraphQL, SliceLikeRestV2, SliceZoneComponents, SliceZoneLike } from "./types.cjs";
|
|
2
1
|
import { TODOSliceComponent } from "./TODOSliceComponent.cjs";
|
|
3
2
|
import { getSliceComponentProps } from "./getSliceComponentProps.cjs";
|
|
4
3
|
import { defineSliceZoneComponents } from "./defineSliceZoneComponents.cjs";
|
|
4
|
+
import { SliceComponentProps, SliceComponentType, SliceLike, SliceLikeGraphQL, SliceLikeRestV2, SliceZoneComponents, SliceZoneLike } from "./types.cjs";
|
|
5
5
|
export { type SliceComponentProps, type SliceComponentType, type SliceLike, type SliceLikeGraphQL, type SliceLikeRestV2, type SliceZoneComponents, type SliceZoneLike, TODOSliceComponent, defineSliceZoneComponents, getSliceComponentProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SliceComponentProps, SliceComponentType, SliceLike, SliceLikeGraphQL, SliceLikeRestV2, SliceZoneComponents, SliceZoneLike } from "./types.js";
|
|
2
1
|
import { TODOSliceComponent } from "./TODOSliceComponent.js";
|
|
3
2
|
import { getSliceComponentProps } from "./getSliceComponentProps.js";
|
|
4
3
|
import { defineSliceZoneComponents } from "./defineSliceZoneComponents.js";
|
|
4
|
+
import { SliceComponentProps, SliceComponentType, SliceLike, SliceLikeGraphQL, SliceLikeRestV2, SliceZoneComponents, SliceZoneLike } from "./types.js";
|
|
5
5
|
export { type SliceComponentProps, type SliceComponentType, type SliceLike, type SliceLikeGraphQL, type SliceLikeRestV2, type SliceZoneComponents, type SliceZoneLike, TODOSliceComponent, defineSliceZoneComponents, getSliceComponentProps };
|
package/dist/createPrismic.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentOrTagName } from "./types.cjs";
|
|
2
|
-
import { RichTextComponents } from "./PrismicRichText/types.cjs";
|
|
3
1
|
import "./PrismicRichText/index.cjs";
|
|
4
|
-
import {
|
|
2
|
+
import { RichTextComponents } from "./PrismicRichText/types.cjs";
|
|
5
3
|
import "./PrismicTable/index.cjs";
|
|
4
|
+
import { TableComponents } from "./PrismicTable/types.cjs";
|
|
5
|
+
import { ComponentOrTagName } from "./types.cjs";
|
|
6
6
|
import { CreateClient, LinkResolverFunction, isFilled } from "@prismicio/client";
|
|
7
7
|
import { App } from "vue";
|
|
8
8
|
/** Components configuration. */
|
package/dist/createPrismic.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentOrTagName } from "./types.js";
|
|
2
|
-
import { RichTextComponents } from "./PrismicRichText/types.js";
|
|
3
1
|
import "./PrismicRichText/index.js";
|
|
4
|
-
import {
|
|
2
|
+
import { RichTextComponents } from "./PrismicRichText/types.js";
|
|
5
3
|
import "./PrismicTable/index.js";
|
|
4
|
+
import { TableComponents } from "./PrismicTable/types.js";
|
|
5
|
+
import { ComponentOrTagName } from "./types.js";
|
|
6
6
|
import { App } from "vue";
|
|
7
7
|
import { CreateClient, LinkResolverFunction, isFilled } from "@prismicio/client";
|
|
8
8
|
/** Components configuration. */
|
package/dist/index.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_createPrismic = require("./createPrismic.cjs");
|
|
3
|
-
const require_PrismicImage = require("./PrismicImage.cjs");
|
|
4
|
-
const require_PrismicLink = require("./PrismicLink.cjs");
|
|
5
2
|
const require_PrismicRichText = require("./PrismicRichText/PrismicRichText.cjs");
|
|
6
3
|
const require_getRichTextComponentProps = require("./PrismicRichText/getRichTextComponentProps.cjs");
|
|
7
|
-
const require_getTableComponentProps = require("./PrismicTable/getTableComponentProps.cjs");
|
|
8
4
|
const require_PrismicTable = require("./PrismicTable/PrismicTable.cjs");
|
|
5
|
+
const require_getTableComponentProps = require("./PrismicTable/getTableComponentProps.cjs");
|
|
6
|
+
const require_PrismicImage = require("./PrismicImage.cjs");
|
|
7
|
+
const require_PrismicLink = require("./PrismicLink.cjs");
|
|
9
8
|
const require_PrismicText = require("./PrismicText.cjs");
|
|
10
|
-
const require_TODOSliceComponent = require("./SliceZone/TODOSliceComponent.cjs");
|
|
11
9
|
const require_SliceZone = require("./SliceZone/SliceZone.cjs");
|
|
12
|
-
const
|
|
10
|
+
const require_TODOSliceComponent = require("./SliceZone/TODOSliceComponent.cjs");
|
|
13
11
|
const require_defineSliceZoneComponents = require("./SliceZone/defineSliceZoneComponents.cjs");
|
|
12
|
+
const require_getSliceComponentProps = require("./SliceZone/getSliceComponentProps.cjs");
|
|
14
13
|
const require_SliceSimulator = require("./SliceSimulator.cjs");
|
|
14
|
+
const require_createPrismic = require("./createPrismic.cjs");
|
|
15
15
|
exports.PrismicImage = require_PrismicImage.default;
|
|
16
16
|
exports.PrismicLink = require_PrismicLink.default;
|
|
17
17
|
exports.PrismicRichText = require_PrismicRichText.default;
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { createPrismic, usePrismic } from "./createPrismic.js";
|
|
2
|
-
import PrismicImage_default from "./PrismicImage.js";
|
|
3
|
-
import PrismicLink_default from "./PrismicLink.js";
|
|
4
1
|
import PrismicRichText_default from "./PrismicRichText/PrismicRichText.js";
|
|
5
2
|
import { getRichTextComponentProps } from "./PrismicRichText/getRichTextComponentProps.js";
|
|
6
|
-
import { getTableComponentProps_exports } from "./PrismicTable/getTableComponentProps.js";
|
|
7
3
|
import PrismicTable_default from "./PrismicTable/PrismicTable.js";
|
|
4
|
+
import { getTableComponentProps_exports } from "./PrismicTable/getTableComponentProps.js";
|
|
5
|
+
import PrismicImage_default from "./PrismicImage.js";
|
|
6
|
+
import PrismicLink_default from "./PrismicLink.js";
|
|
8
7
|
import PrismicText_default from "./PrismicText.js";
|
|
9
|
-
import { TODOSliceComponent } from "./SliceZone/TODOSliceComponent.js";
|
|
10
8
|
import SliceZone_default from "./SliceZone/SliceZone.js";
|
|
11
|
-
import {
|
|
9
|
+
import { TODOSliceComponent } from "./SliceZone/TODOSliceComponent.js";
|
|
12
10
|
import { defineSliceZoneComponents } from "./SliceZone/defineSliceZoneComponents.js";
|
|
11
|
+
import { getSliceComponentProps } from "./SliceZone/getSliceComponentProps.js";
|
|
13
12
|
import SliceSimulator_default from "./SliceSimulator.js";
|
|
13
|
+
import { createPrismic, usePrismic } from "./createPrismic.js";
|
|
14
14
|
export { PrismicImage_default as PrismicImage, PrismicLink_default as PrismicLink, PrismicRichText_default as PrismicRichText, PrismicTable_default as PrismicTable, PrismicText_default as PrismicText, SliceSimulator_default as SliceSimulator, SliceZone_default as SliceZone, TODOSliceComponent, createPrismic, defineSliceZoneComponents, getRichTextComponentProps, getSliceComponentProps, getTableComponentProps_exports as getTableComponentProps, usePrismic };
|
package/dist/package.cjs
CHANGED
package/dist/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismicio/vue",
|
|
3
|
-
"version": "6.2.0-canary.
|
|
3
|
+
"version": "6.2.0-canary.c47f166",
|
|
4
4
|
"description": "Vue plugin, components, and composables to fetch and present Prismic content",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plugin",
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
"type": "git",
|
|
15
15
|
"url": "ssh://git@github.com/prismicio/prismic-vue.git"
|
|
16
16
|
},
|
|
17
|
+
"workspaces": [
|
|
18
|
+
".",
|
|
19
|
+
"e2e-projects/*"
|
|
20
|
+
],
|
|
17
21
|
"files": [
|
|
18
22
|
"./dist",
|
|
19
23
|
"./src"
|
|
@@ -43,36 +47,30 @@
|
|
|
43
47
|
"scripts": {
|
|
44
48
|
"build": "tsdown",
|
|
45
49
|
"dev": "tsdown --watch",
|
|
50
|
+
"e2e": "npm run build && playwright test",
|
|
51
|
+
"e2e:ui": "npm run e2e -- --ui",
|
|
46
52
|
"format": "oxfmt",
|
|
47
53
|
"prepare": "npm run build",
|
|
48
54
|
"lint": "oxlint --deny-warnings",
|
|
49
55
|
"types": "vue-tsc --noEmit",
|
|
50
|
-
"
|
|
51
|
-
"unit:watch": "vitest watch",
|
|
52
|
-
"test": "npm run lint && npm run types && npm run unit && npm run build"
|
|
56
|
+
"test": "npm run lint && npm run types && npm run e2e"
|
|
53
57
|
},
|
|
54
58
|
"dependencies": {
|
|
55
59
|
"@prismicio/simulator": "^0.2.4",
|
|
56
60
|
"esm-env": "^1.2.2"
|
|
57
61
|
},
|
|
58
62
|
"devDependencies": {
|
|
59
|
-
"@
|
|
60
|
-
"@prismicio/
|
|
61
|
-
"@types/
|
|
63
|
+
"@playwright/test": "^1.64.1",
|
|
64
|
+
"@prismicio/client": "^7.23.0",
|
|
65
|
+
"@types/node": "^26.6.6",
|
|
62
66
|
"@vitejs/plugin-vue": "^6.0.10",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"jsdom-global": "^3.0.2",
|
|
67
|
-
"oxfmt": "0.74.0",
|
|
68
|
-
"oxlint": "1.89.0",
|
|
69
|
-
"tsdown": "^0.23.2",
|
|
67
|
+
"oxfmt": "0.76.0",
|
|
68
|
+
"oxlint": "1.91.0",
|
|
69
|
+
"tsdown": "^0.23.5",
|
|
70
70
|
"typescript": "^6.0.3",
|
|
71
|
-
"vite": "^8.3.
|
|
72
|
-
"
|
|
73
|
-
"vue": "^3.
|
|
74
|
-
"vue-router": "^5.4.0",
|
|
75
|
-
"vue-tsc": "^3.3.13"
|
|
71
|
+
"vite": "^8.3.6",
|
|
72
|
+
"vue": "^3.5.45",
|
|
73
|
+
"vue-tsc": "^3.3.14"
|
|
76
74
|
},
|
|
77
75
|
"peerDependencies": {
|
|
78
76
|
"@prismicio/client": "^7",
|
package/src/PrismicText.vue
CHANGED