@prismicio/vue 6.1.5 → 6.2.0-canary.cbd4ec1
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.cjs +1 -2
- package/dist/PrismicImage.cjs.map +1 -1
- package/dist/PrismicImage.js +1 -2
- package/dist/PrismicImage.js.map +1 -1
- package/dist/PrismicImage.vue.d.cts +2 -4
- package/dist/PrismicImage.vue.d.cts.map +1 -1
- package/dist/PrismicImage.vue.d.ts +2 -4
- package/dist/PrismicImage.vue.d.ts.map +1 -1
- package/dist/PrismicImage.vue_vue_type_script_setup_true_lang.cjs +1 -2
- package/dist/PrismicImage.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/PrismicImage.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/PrismicImage.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/PrismicLink.cjs +1 -2
- package/dist/PrismicLink.cjs.map +1 -1
- package/dist/PrismicLink.js +1 -2
- package/dist/PrismicLink.js.map +1 -1
- package/dist/PrismicLink.vue.d.cts +4 -6
- package/dist/PrismicLink.vue.d.cts.map +1 -1
- package/dist/PrismicLink.vue.d.ts +4 -6
- package/dist/PrismicLink.vue.d.ts.map +1 -1
- package/dist/PrismicLink.vue_vue_type_script_setup_true_lang.cjs +1 -2
- package/dist/PrismicLink.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/PrismicLink.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/PrismicLink.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.cjs +1 -2
- package/dist/PrismicRichText/PrismicRichText.cjs.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.js +1 -2
- package/dist/PrismicRichText/PrismicRichText.js.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.vue.d.cts +2 -4
- package/dist/PrismicRichText/PrismicRichText.vue.d.cts.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.vue.d.ts +2 -4
- package/dist/PrismicRichText/PrismicRichText.vue.d.ts.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.vue_vue_type_script_setup_true_lang.cjs +1 -2
- package/dist/PrismicRichText/PrismicRichText.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/PrismicRichText/PrismicRichText.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/PrismicRichText/PrismicRichTextDefaultComponent.cjs +1 -2
- package/dist/PrismicRichText/PrismicRichTextDefaultComponent.cjs.map +1 -1
- package/dist/PrismicRichText/PrismicRichTextDefaultComponent.js +1 -2
- package/dist/PrismicRichText/PrismicRichTextDefaultComponent.js.map +1 -1
- package/dist/PrismicRichText/PrismicRichTextDefaultComponent.vue_vue_type_script_setup_true_lang.cjs +1 -2
- package/dist/PrismicRichText/PrismicRichTextDefaultComponent.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/PrismicRichText/PrismicRichTextDefaultComponent.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/PrismicRichText/PrismicRichTextDefaultComponent.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/PrismicRichText/PrismicRichTextSerialize.cjs +1 -2
- package/dist/PrismicRichText/PrismicRichTextSerialize.cjs.map +1 -1
- package/dist/PrismicRichText/PrismicRichTextSerialize.js +1 -2
- package/dist/PrismicRichText/PrismicRichTextSerialize.js.map +1 -1
- package/dist/PrismicRichText/PrismicRichTextSerialize.vue_vue_type_script_setup_true_lang.cjs +1 -2
- package/dist/PrismicRichText/PrismicRichTextSerialize.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/PrismicRichText/PrismicRichTextSerialize.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/PrismicRichText/PrismicRichTextSerialize.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/PrismicRichText/getRichTextComponentProps.cjs +1 -2
- package/dist/PrismicRichText/getRichTextComponentProps.d.cts +2 -4
- package/dist/PrismicRichText/getRichTextComponentProps.d.cts.map +1 -1
- package/dist/PrismicRichText/getRichTextComponentProps.d.ts +2 -4
- package/dist/PrismicRichText/getRichTextComponentProps.d.ts.map +1 -1
- package/dist/PrismicRichText/getRichTextComponentProps.js +1 -2
- package/dist/PrismicRichText/types.d.cts +3 -6
- package/dist/PrismicRichText/types.d.cts.map +1 -1
- package/dist/PrismicRichText/types.d.ts +3 -6
- package/dist/PrismicRichText/types.d.ts.map +1 -1
- package/dist/PrismicTable/PrismicTable.cjs +1 -2
- package/dist/PrismicTable/PrismicTable.cjs.map +1 -1
- package/dist/PrismicTable/PrismicTable.js +1 -2
- package/dist/PrismicTable/PrismicTable.js.map +1 -1
- package/dist/PrismicTable/PrismicTable.vue.d.cts +2 -4
- package/dist/PrismicTable/PrismicTable.vue.d.cts.map +1 -1
- package/dist/PrismicTable/PrismicTable.vue.d.ts +2 -4
- package/dist/PrismicTable/PrismicTable.vue.d.ts.map +1 -1
- package/dist/PrismicTable/PrismicTable.vue_vue_type_script_setup_true_lang.cjs +1 -2
- package/dist/PrismicTable/PrismicTable.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/PrismicTable/PrismicTable.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/PrismicTable/PrismicTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/PrismicTable/PrismicTableDefaultComponents.cjs +1 -2
- package/dist/PrismicTable/PrismicTableDefaultComponents.js +1 -2
- package/dist/PrismicTable/PrismicTableRow.cjs +1 -2
- package/dist/PrismicTable/PrismicTableRow.cjs.map +1 -1
- package/dist/PrismicTable/PrismicTableRow.js +1 -2
- package/dist/PrismicTable/PrismicTableRow.js.map +1 -1
- package/dist/PrismicTable/PrismicTableRow.vue_vue_type_script_setup_true_lang.cjs +1 -2
- package/dist/PrismicTable/PrismicTableRow.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/PrismicTable/PrismicTableRow.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/PrismicTable/PrismicTableRow.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/PrismicTable/getTableComponentProps.cjs +1 -2
- package/dist/PrismicTable/getTableComponentProps.d.cts +7 -8
- package/dist/PrismicTable/getTableComponentProps.d.cts.map +1 -1
- package/dist/PrismicTable/getTableComponentProps.d.ts +7 -8
- package/dist/PrismicTable/getTableComponentProps.d.ts.map +1 -1
- package/dist/PrismicTable/getTableComponentProps.js +1 -2
- package/dist/PrismicTable/types.d.cts +1 -4
- package/dist/PrismicTable/types.d.cts.map +1 -1
- package/dist/PrismicTable/types.d.ts +1 -4
- package/dist/PrismicTable/types.d.ts.map +1 -1
- package/dist/PrismicText.cjs +1 -2
- package/dist/PrismicText.cjs.map +1 -1
- package/dist/PrismicText.js +1 -2
- package/dist/PrismicText.js.map +1 -1
- package/dist/PrismicText.vue.d.cts +2 -4
- package/dist/PrismicText.vue.d.cts.map +1 -1
- package/dist/PrismicText.vue.d.ts +2 -4
- package/dist/PrismicText.vue.d.ts.map +1 -1
- package/dist/PrismicText.vue_vue_type_script_setup_true_lang.cjs +1 -2
- 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 -2
- package/dist/PrismicText.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/SliceSimulator.cjs +1 -2
- package/dist/SliceSimulator.cjs.map +1 -1
- package/dist/SliceSimulator.js +1 -2
- package/dist/SliceSimulator.js.map +1 -1
- package/dist/SliceSimulator.vue.d.cts +2 -4
- package/dist/SliceSimulator.vue.d.cts.map +1 -1
- package/dist/SliceSimulator.vue.d.ts +2 -4
- package/dist/SliceSimulator.vue.d.ts.map +1 -1
- package/dist/SliceSimulator.vue_vue_type_script_setup_true_lang.cjs +1 -2
- package/dist/SliceSimulator.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/SliceSimulator.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/SliceSimulator.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/SliceZone/SliceBoundary.cjs +11 -0
- package/dist/SliceZone/SliceBoundary.cjs.map +1 -0
- package/dist/SliceZone/SliceBoundary.js +11 -0
- package/dist/SliceZone/SliceBoundary.js.map +1 -0
- package/dist/SliceZone/SliceZone.cjs +1 -2
- package/dist/SliceZone/SliceZone.cjs.map +1 -1
- package/dist/SliceZone/SliceZone.js +1 -2
- package/dist/SliceZone/SliceZone.js.map +1 -1
- package/dist/SliceZone/SliceZone.vue.d.cts +2 -4
- package/dist/SliceZone/SliceZone.vue.d.cts.map +1 -1
- package/dist/SliceZone/SliceZone.vue.d.ts +2 -4
- package/dist/SliceZone/SliceZone.vue.d.ts.map +1 -1
- package/dist/SliceZone/SliceZone.vue_vue_type_script_setup_true_lang.cjs +17 -4
- package/dist/SliceZone/SliceZone.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/SliceZone/SliceZone.vue_vue_type_script_setup_true_lang.js +18 -5
- package/dist/SliceZone/SliceZone.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/SliceZone/TODOSliceComponent.cjs +1 -2
- package/dist/SliceZone/TODOSliceComponent.cjs.map +1 -1
- package/dist/SliceZone/TODOSliceComponent.d.cts +1 -4
- package/dist/SliceZone/TODOSliceComponent.d.cts.map +1 -1
- package/dist/SliceZone/TODOSliceComponent.d.ts +1 -4
- package/dist/SliceZone/TODOSliceComponent.d.ts.map +1 -1
- package/dist/SliceZone/TODOSliceComponent.js +1 -2
- package/dist/SliceZone/defineSliceZoneComponents.cjs +1 -2
- package/dist/SliceZone/defineSliceZoneComponents.d.cts +1 -4
- package/dist/SliceZone/defineSliceZoneComponents.d.cts.map +1 -1
- package/dist/SliceZone/defineSliceZoneComponents.d.ts +1 -4
- package/dist/SliceZone/defineSliceZoneComponents.d.ts.map +1 -1
- package/dist/SliceZone/defineSliceZoneComponents.js +1 -2
- package/dist/SliceZone/getSliceComponentProps.cjs +1 -2
- package/dist/SliceZone/getSliceComponentProps.d.cts +2 -4
- package/dist/SliceZone/getSliceComponentProps.d.cts.map +1 -1
- package/dist/SliceZone/getSliceComponentProps.d.ts +2 -4
- package/dist/SliceZone/getSliceComponentProps.d.ts.map +1 -1
- package/dist/SliceZone/getSliceComponentProps.js +1 -2
- package/dist/SliceZone/types.d.cts +8 -10
- package/dist/SliceZone/types.d.cts.map +1 -1
- package/dist/SliceZone/types.d.ts +8 -10
- package/dist/SliceZone/types.d.ts.map +1 -1
- package/dist/_virtual/_rolldown/runtime.cjs +1 -2
- package/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/createPrismic.cjs +1 -2
- package/dist/createPrismic.d.cts +5 -7
- package/dist/createPrismic.d.cts.map +1 -1
- package/dist/createPrismic.d.ts +5 -7
- package/dist/createPrismic.d.ts.map +1 -1
- package/dist/createPrismic.js +1 -2
- package/dist/lib/devMsg.cjs +1 -2
- package/dist/lib/devMsg.js +1 -2
- package/dist/lib/isInternalURL.cjs +1 -2
- package/dist/lib/isInternalURL.js +1 -2
- package/dist/package.cjs +2 -3
- package/dist/package.js +2 -3
- package/dist/types.cjs +1 -2
- package/dist/types.d.cts +3 -5
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.ts +3 -5
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -2
- package/package.json +14 -14
- package/src/SliceZone/SliceBoundary.ts +10 -0
- package/src/SliceZone/SliceZone.vue +13 -10
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { SliceBoundary } from "./SliceBoundary.js";
|
|
1
2
|
import { TODOSliceComponent } from "./TODOSliceComponent.js";
|
|
2
|
-
import { Fragment, computed, createBlock, createElementBlock, defineComponent, mergeProps, openBlock, renderList, resolveDynamicComponent } from "vue";
|
|
3
|
-
|
|
3
|
+
import { Fragment, computed, createBlock, createElementBlock, defineComponent, mergeProps, openBlock, renderList, resolveDynamicComponent, unref, withCtx } from "vue";
|
|
4
|
+
// src/SliceZone/SliceZone.vue?vue&type=script&setup=true&lang.ts
|
|
4
5
|
var SliceZone_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
5
6
|
name: "SliceZone",
|
|
6
7
|
__name: "SliceZone",
|
|
@@ -29,11 +30,13 @@ var SliceZone_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
29
30
|
if (!props.slices) return [];
|
|
30
31
|
return props.slices.map((slice, index) => {
|
|
31
32
|
const type = "slice_type" in slice ? slice.slice_type : slice.type;
|
|
32
|
-
const
|
|
33
|
+
const id = "id" in slice && typeof slice.id === "string" ? slice.id : void 0;
|
|
34
|
+
const key = id ?? `${index}-${JSON.stringify(slice)}`;
|
|
33
35
|
const is = props.components?.[type] || props.defaultComponent;
|
|
34
36
|
if (!is) return {
|
|
35
37
|
is: TODOSliceComponent,
|
|
36
38
|
key,
|
|
39
|
+
id,
|
|
37
40
|
props: { slice }
|
|
38
41
|
};
|
|
39
42
|
if (slice.__mapped) {
|
|
@@ -41,12 +44,14 @@ var SliceZone_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
41
44
|
return {
|
|
42
45
|
is,
|
|
43
46
|
key,
|
|
47
|
+
id,
|
|
44
48
|
props: mappedProps
|
|
45
49
|
};
|
|
46
50
|
}
|
|
47
51
|
return {
|
|
48
52
|
is,
|
|
49
53
|
key,
|
|
54
|
+
id,
|
|
50
55
|
props: {
|
|
51
56
|
slice,
|
|
52
57
|
index,
|
|
@@ -58,12 +63,20 @@ var SliceZone_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
58
63
|
});
|
|
59
64
|
return (_ctx, _cache) => {
|
|
60
65
|
return openBlock(true), createElementBlock(Fragment, null, renderList(renderedSlices.value, (renderedSlice) => {
|
|
61
|
-
return openBlock(),
|
|
66
|
+
return openBlock(), createElementBlock(Fragment, { key: renderedSlice.key }, [renderedSlice.id ? (openBlock(), createBlock(unref(SliceBoundary), {
|
|
67
|
+
key: 0,
|
|
68
|
+
"slice-id": renderedSlice.id
|
|
69
|
+
}, {
|
|
70
|
+
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(renderedSlice.is), mergeProps({ ref_for: true }, renderedSlice.props), null, 16))]),
|
|
71
|
+
_: 2
|
|
72
|
+
}, 1032, ["slice-id"])) : (openBlock(), createBlock(resolveDynamicComponent(renderedSlice.is), mergeProps({
|
|
73
|
+
key: 1,
|
|
74
|
+
ref_for: true
|
|
75
|
+
}, renderedSlice.props), null, 16))], 64);
|
|
62
76
|
}), 128);
|
|
63
77
|
};
|
|
64
78
|
}
|
|
65
79
|
});
|
|
66
|
-
//#endregion
|
|
67
80
|
export { SliceZone_vue_vue_type_script_setup_true_lang_default as default };
|
|
68
81
|
|
|
69
82
|
//# sourceMappingURL=SliceZone.vue_vue_type_script_setup_true_lang.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliceZone.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../src/SliceZone/SliceZone.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { computed } from \"vue\"\n\nimport type { ComponentOrTagName } from \"../types\"\nimport { TODOSliceComponent } from \"./TODOSliceComponent\"\nimport type { SliceComponentType, SliceLike, SliceZoneComponents, SliceZoneLike } from \"./types\"\n\n/**\n * Props for `<SliceZone />`.\n *\n * @typeParam TContext - Arbitrary data made available to all Slice components\n */\nexport type SliceZoneProps<TContext = unknown> = {\n\t/** List of slice data from the slice zone. */\n\tslices: SliceZoneLike<SliceLike | (SliceLike & Record<string, unknown>)>\n\n\t/** A record mapping slice types to React components. */\n\tcomponents?: SliceZoneComponents\n\n\t/** The Vue component rendered if a component mapping from the `components` prop cannot be found. */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tdefaultComponent?: SliceComponentType<any, TContext>\n\n\t/** Arbitrary data made available to all slice components. */\n\tcontext?: TContext\n}\n\nconst props = defineProps<SliceZoneProps>()\ndefineOptions({ name: \"SliceZone\" })\n\nconst renderedSlices = computed<\n\t{\n\t\tis: ComponentOrTagName\n\t\tkey: string\n\t\tprops: Record<string, unknown>\n\t}[]\n>(() => {\n\tif (!props.slices) return []\n\n\treturn props.slices.map((slice, index) => {\n\t\tconst type = \"slice_type\" in slice ? (slice.slice_type as string) : slice.type\n\n\t\tconst
|
|
1
|
+
{"version":3,"file":"SliceZone.vue_vue_type_script_setup_true_lang.js","names":["_openBlock","_createElementBlock","_Fragment","_renderList","_createBlock","_unref","_withCtx","_resolveDynamicComponent","_mergeProps"],"sources":["../../src/SliceZone/SliceZone.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { computed } from \"vue\"\n\nimport type { ComponentOrTagName } from \"../types\"\nimport { SliceBoundary } from \"./SliceBoundary\"\nimport { TODOSliceComponent } from \"./TODOSliceComponent\"\nimport type { SliceComponentType, SliceLike, SliceZoneComponents, SliceZoneLike } from \"./types\"\n\n/**\n * Props for `<SliceZone />`.\n *\n * @typeParam TContext - Arbitrary data made available to all Slice components\n */\nexport type SliceZoneProps<TContext = unknown> = {\n\t/** List of slice data from the slice zone. */\n\tslices: SliceZoneLike<SliceLike | (SliceLike & Record<string, unknown>)>\n\n\t/** A record mapping slice types to React components. */\n\tcomponents?: SliceZoneComponents\n\n\t/** The Vue component rendered if a component mapping from the `components` prop cannot be found. */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tdefaultComponent?: SliceComponentType<any, TContext>\n\n\t/** Arbitrary data made available to all slice components. */\n\tcontext?: TContext\n}\n\nconst props = defineProps<SliceZoneProps>()\ndefineOptions({ name: \"SliceZone\" })\n\nconst renderedSlices = computed<\n\t{\n\t\tis: ComponentOrTagName\n\t\tkey: string\n\t\tid?: string\n\t\tprops: Record<string, unknown>\n\t}[]\n>(() => {\n\tif (!props.slices) return []\n\n\treturn props.slices.map((slice, index) => {\n\t\tconst type = \"slice_type\" in slice ? (slice.slice_type as string) : slice.type\n\n\t\tconst id = \"id\" in slice && typeof slice.id === \"string\" ? slice.id : undefined\n\t\tconst key = id ?? `${index}-${JSON.stringify(slice)}`\n\n\t\tconst is = props.components?.[type] || props.defaultComponent\n\n\t\tif (!is) {\n\t\t\treturn { is: TODOSliceComponent, key, id, props: { slice } }\n\t\t}\n\n\t\tif (slice.__mapped) {\n\t\t\tconst { __mapped, ...mappedProps } = slice\n\n\t\t\treturn { is, key, id, props: mappedProps }\n\t\t}\n\n\t\treturn {\n\t\t\tis,\n\t\t\tkey,\n\t\t\tid,\n\t\t\tprops: {\n\t\t\t\tslice,\n\t\t\t\tindex,\n\t\t\t\tcontext: props.context,\n\t\t\t\tslices: props.slices,\n\t\t\t},\n\t\t}\n\t})\n})\n</script>\n\n<template>\n\t<template v-for=\"renderedSlice in renderedSlices\" :key=\"renderedSlice.key\">\n\t\t<SliceBoundary v-if=\"renderedSlice.id\" :slice-id=\"renderedSlice.id\">\n\t\t\t<component :is=\"renderedSlice.is\" v-bind=\"renderedSlice.props\" />\n\t\t</SliceBoundary>\n\t\t<component v-else :is=\"renderedSlice.is\" v-bind=\"renderedSlice.props\" />\n\t</template>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BA,MAAM,QAAQ;EAGd,MAAM,iBAAiB,eAOf;GACP,IAAI,CAAC,MAAM,QAAQ,OAAO,CAAC;GAE3B,OAAO,MAAM,OAAO,KAAK,OAAO,UAAU;IACzC,MAAM,OAAO,gBAAgB,QAAS,MAAM,aAAwB,MAAM;IAE1E,MAAM,KAAK,QAAQ,SAAS,OAAO,MAAM,OAAO,WAAW,MAAM,KAAK,KAAA;IACtE,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,KAAK,UAAU,KAAK;IAElD,MAAM,KAAK,MAAM,aAAa,SAAS,MAAM;IAE7C,IAAI,CAAC,IACJ,OAAO;KAAE,IAAI;KAAoB;KAAK;KAAI,OAAO,EAAE,MAAM;IAAE;IAG5D,IAAI,MAAM,UAAU;KACnB,MAAM,EAAE,UAAU,GAAG,gBAAgB;KAErC,OAAO;MAAE;MAAI;MAAK;MAAI,OAAO;KAAY;IAC1C;IAEA,OAAO;KACN;KACA;KACA;KACA,OAAO;MACN;MACA;MACA,SAAS,MAAM;MACf,QAAQ,MAAM;KACf;IACD;GACD,CAAC;EACF,CAAC;;GAIA,OAAAA,UAAA,IAAA,GAAAC,mBAKWC,UAAA,MAAAC,WALuB,eAAA,QAAjB,kBAAa;I,mDAA0B,KAAA,cAAc,I,IAChD,cAAc,MAAnCH,UAAA,GAAAI,YAEgBC,MAAA,aAAA,GAAA;;KAFwB,YAAU,cAAc;;KAC/D,SAAAC,cAAiE,EAAjEN,UAAA,GAAAI,YAAiEG,wBAAjD,cAAc,EAAE,GAAhCC,WAAiE,EAAA,SAAA,KAAA,GAAvB,cAAc,KAAK,GAAA,MAAA,EAAA,E;;I,2BAE9DR,UAAA,GAAAI,YAAwEG,wBAAjD,cAAc,EAAE,GAAvCC,WAAwE;;;IAAvB,GAAA,cAAc,KAAK,GAAA,MAAA,EAAA,E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
let vue = require("vue");
|
|
2
|
-
|
|
2
|
+
// src/SliceZone/TODOSliceComponent.ts
|
|
3
3
|
/**
|
|
4
4
|
* This Slice component can be used as a reminder to provide a proper implementation.
|
|
5
5
|
*
|
|
@@ -27,7 +27,6 @@ const TODOSliceComponent = require("esm-env").DEV ? /* @__PURE__ */ (0, vue.defi
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
}) : (() => null);
|
|
30
|
-
//#endregion
|
|
31
30
|
exports.TODOSliceComponent = TODOSliceComponent;
|
|
32
31
|
|
|
33
32
|
//# sourceMappingURL=TODOSliceComponent.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TODOSliceComponent.cjs","names":["DEV","computed","h"],"sources":["../../src/SliceZone/TODOSliceComponent.ts"],"sourcesContent":["import { DEV } from \"esm-env\"\nimport { computed, defineComponent, h, watchEffect } from \"vue\"\nimport type { PropType } from \"vue\"\n\nimport type { SliceComponentType, SliceLike } from \"./types\"\n\n/**\n * This Slice component can be used as a reminder to provide a proper implementation.\n *\n * This is also the default Vue component rendered when a component mapping cannot be found in\n * `<SliceZone />`.\n */\n// oxlint-disable-next-line explicit-module-boundary-types\nexport const TODOSliceComponent = DEV\n\t? /*#__PURE__*/ (defineComponent({\n\t\t\tname: \"TODOSliceComponent\",\n\t\t\tprops: {\n\t\t\t\tslice: {\n\t\t\t\t\ttype: Object as PropType<SliceLike>,\n\t\t\t\t\trequired: true,\n\t\t\t\t},\n\t\t\t},\n\t\t\tsetup(props) {\n\t\t\t\tconst type = computed(() => {\n\t\t\t\t\treturn \"slice_type\" in props.slice ? props.slice.slice_type : props.slice.type\n\t\t\t\t})\n\n\t\t\t\twatchEffect(() => {\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\t`[SliceZone] Could not find a component for Slice type \"${type.value}\"`,\n\t\t\t\t\t\tprops.slice,\n\t\t\t\t\t)\n\t\t\t\t})\n\n\t\t\t\treturn () => {\n\t\t\t\t\treturn h(\n\t\t\t\t\t\t\"section\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"data-slice-zone-todo-component\": \"\",\n\t\t\t\t\t\t\t\"data-slice-type\": type.value,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t[`Could not find a component for Slice type \"${type.value}\"`],\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t},\n\t\t}) as SliceComponentType)\n\t: ((() => null) as SliceComponentType)\n"],"mappings":";;;;;;;;AAaA,MAAa,
|
|
1
|
+
{"version":3,"file":"TODOSliceComponent.cjs","names":["DEV","computed","h"],"sources":["../../src/SliceZone/TODOSliceComponent.ts"],"sourcesContent":["import { DEV } from \"esm-env\"\nimport { computed, defineComponent, h, watchEffect } from \"vue\"\nimport type { PropType } from \"vue\"\n\nimport type { SliceComponentType, SliceLike } from \"./types\"\n\n/**\n * This Slice component can be used as a reminder to provide a proper implementation.\n *\n * This is also the default Vue component rendered when a component mapping cannot be found in\n * `<SliceZone />`.\n */\n// oxlint-disable-next-line explicit-module-boundary-types\nexport const TODOSliceComponent = DEV\n\t? /*#__PURE__*/ (defineComponent({\n\t\t\tname: \"TODOSliceComponent\",\n\t\t\tprops: {\n\t\t\t\tslice: {\n\t\t\t\t\ttype: Object as PropType<SliceLike>,\n\t\t\t\t\trequired: true,\n\t\t\t\t},\n\t\t\t},\n\t\t\tsetup(props) {\n\t\t\t\tconst type = computed(() => {\n\t\t\t\t\treturn \"slice_type\" in props.slice ? props.slice.slice_type : props.slice.type\n\t\t\t\t})\n\n\t\t\t\twatchEffect(() => {\n\t\t\t\t\tconsole.warn(\n\t\t\t\t\t\t`[SliceZone] Could not find a component for Slice type \"${type.value}\"`,\n\t\t\t\t\t\tprops.slice,\n\t\t\t\t\t)\n\t\t\t\t})\n\n\t\t\t\treturn () => {\n\t\t\t\t\treturn h(\n\t\t\t\t\t\t\"section\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\"data-slice-zone-todo-component\": \"\",\n\t\t\t\t\t\t\t\"data-slice-type\": type.value,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t[`Could not find a component for Slice type \"${type.value}\"`],\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t},\n\t\t}) as SliceComponentType)\n\t: ((() => null) as SliceComponentType)\n"],"mappings":";;;;;;;;AAaA,MAAa,qB,iBAAqBA,CAAAA,CAAAA,MAChB,iBAAA,GAAA,IAAA,gBAAA,CAAgB;CAC/B,MAAM;CACN,OAAO,EACN,OAAO;EACN,MAAM;EACN,UAAU;CACX,EACD;CACA,MAAM,OAAO;EACZ,MAAM,QAAA,GAAOC,IAAAA,SAAAA,OAAe;GAC3B,OAAO,gBAAgB,MAAM,QAAQ,MAAM,MAAM,aAAa,MAAM,MAAM;EAC3E,CAAC;EAED,CAAA,GAAA,IAAA,YAAA,OAAkB;GACjB,QAAQ,KACP,0DAA0D,KAAK,MAAM,IACrE,MAAM,KACP;EACD,CAAC;EAED,aAAa;GACZ,QAAA,GAAOC,IAAAA,EAAAA,CACN,WACA;IACC,kCAAkC;IAClC,mBAAmB,KAAK;GACzB,GACA,CAAC,8CAA8C,KAAK,MAAM,EAAE,CAC7D;EACD;CACD;AACD,CAAC,WACQ"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { SliceComponentType } from "./types.cjs";
|
|
2
|
-
//#region src/SliceZone/TODOSliceComponent.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* This Slice component can be used as a reminder to provide a proper implementation.
|
|
5
4
|
*
|
|
6
5
|
* This is also the default Vue component rendered when a component mapping cannot be found in
|
|
7
6
|
* `<SliceZone />`.
|
|
8
7
|
*/
|
|
9
|
-
declare const TODOSliceComponent: SliceComponentType;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { TODOSliceComponent };
|
|
8
|
+
export declare const TODOSliceComponent: SliceComponentType;
|
|
12
9
|
//# 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"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { SliceComponentType } from "./types.js";
|
|
2
|
-
//#region src/SliceZone/TODOSliceComponent.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* This Slice component can be used as a reminder to provide a proper implementation.
|
|
5
4
|
*
|
|
6
5
|
* This is also the default Vue component rendered when a component mapping cannot be found in
|
|
7
6
|
* `<SliceZone />`.
|
|
8
7
|
*/
|
|
9
|
-
declare const TODOSliceComponent: SliceComponentType;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { TODOSliceComponent };
|
|
8
|
+
export declare const TODOSliceComponent: SliceComponentType;
|
|
12
9
|
//# 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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, defineComponent, h, watchEffect } from "vue";
|
|
2
2
|
import { DEV } from "esm-env";
|
|
3
|
-
|
|
3
|
+
// src/SliceZone/TODOSliceComponent.ts
|
|
4
4
|
/**
|
|
5
5
|
* This Slice component can be used as a reminder to provide a proper implementation.
|
|
6
6
|
*
|
|
@@ -28,7 +28,6 @@ const TODOSliceComponent = DEV ? /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
}) : (() => null);
|
|
31
|
-
//#endregion
|
|
32
31
|
export { TODOSliceComponent };
|
|
33
32
|
|
|
34
33
|
//# sourceMappingURL=TODOSliceComponent.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
let vue = require("vue");
|
|
2
|
-
|
|
2
|
+
// src/SliceZone/defineSliceZoneComponents.ts
|
|
3
3
|
/**
|
|
4
4
|
* Gets an optimized record of Slice types mapped to Vue components. Each components will be
|
|
5
5
|
* rendered for each instance of their Slice type.
|
|
@@ -39,7 +39,6 @@ const defineSliceZoneComponents = (components) => {
|
|
|
39
39
|
}
|
|
40
40
|
return result;
|
|
41
41
|
};
|
|
42
|
-
//#endregion
|
|
43
42
|
exports.defineSliceZoneComponents = defineSliceZoneComponents;
|
|
44
43
|
|
|
45
44
|
//# sourceMappingURL=defineSliceZoneComponents.cjs.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SliceLike, SliceZoneComponents } from "./types.cjs";
|
|
2
|
-
//#region src/SliceZone/defineSliceZoneComponents.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Gets an optimized record of Slice types mapped to Vue components. Each components will be
|
|
5
4
|
* rendered for each instance of their Slice type.
|
|
@@ -30,7 +29,5 @@ import { SliceLike, SliceZoneComponents } from "./types.cjs";
|
|
|
30
29
|
* @param components - {@link SliceZoneComponents}
|
|
31
30
|
* @returns A new optimized record of {@link SliceZoneComponents}
|
|
32
31
|
*/
|
|
33
|
-
declare const defineSliceZoneComponents: <TSlice extends SliceLike = any, TContext = unknown>(components: SliceZoneComponents<TSlice, TContext>) => SliceZoneComponents<TSlice, TContext>;
|
|
34
|
-
//#endregion
|
|
35
|
-
export { defineSliceZoneComponents };
|
|
32
|
+
export declare const defineSliceZoneComponents: <TSlice extends SliceLike = any, TContext = unknown>(components: SliceZoneComponents<TSlice, TContext>) => SliceZoneComponents<TSlice, TContext>;
|
|
36
33
|
//# 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"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SliceLike, SliceZoneComponents } from "./types.js";
|
|
2
|
-
//#region src/SliceZone/defineSliceZoneComponents.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Gets an optimized record of Slice types mapped to Vue components. Each components will be
|
|
5
4
|
* rendered for each instance of their Slice type.
|
|
@@ -30,7 +29,5 @@ import { SliceLike, SliceZoneComponents } from "./types.js";
|
|
|
30
29
|
* @param components - {@link SliceZoneComponents}
|
|
31
30
|
* @returns A new optimized record of {@link SliceZoneComponents}
|
|
32
31
|
*/
|
|
33
|
-
declare const defineSliceZoneComponents: <TSlice extends SliceLike = any, TContext = unknown>(components: SliceZoneComponents<TSlice, TContext>) => SliceZoneComponents<TSlice, TContext>;
|
|
34
|
-
//#endregion
|
|
35
|
-
export { defineSliceZoneComponents };
|
|
32
|
+
export declare const defineSliceZoneComponents: <TSlice extends SliceLike = any, TContext = unknown>(components: SliceZoneComponents<TSlice, TContext>) => SliceZoneComponents<TSlice, TContext>;
|
|
36
33
|
//# 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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { markRaw } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/SliceZone/defineSliceZoneComponents.ts
|
|
3
3
|
/**
|
|
4
4
|
* Gets an optimized record of Slice types mapped to Vue components. Each components will be
|
|
5
5
|
* rendered for each instance of their Slice type.
|
|
@@ -39,7 +39,6 @@ const defineSliceZoneComponents = (components) => {
|
|
|
39
39
|
}
|
|
40
40
|
return result;
|
|
41
41
|
};
|
|
42
|
-
//#endregion
|
|
43
42
|
export { defineSliceZoneComponents };
|
|
44
43
|
|
|
45
44
|
//# sourceMappingURL=defineSliceZoneComponents.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/SliceZone/getSliceComponentProps.ts
|
|
2
2
|
/**
|
|
3
3
|
* Gets native Vue props for a component rendering content from a Prismic Slice using the
|
|
4
4
|
* `<SliceZone />` component.
|
|
@@ -46,7 +46,6 @@ const getSliceComponentProps = (propsHint) => ({
|
|
|
46
46
|
required: true
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
//#endregion
|
|
50
49
|
exports.getSliceComponentProps = getSliceComponentProps;
|
|
51
50
|
|
|
52
51
|
//# sourceMappingURL=getSliceComponentProps.cjs.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SliceComponentProps, SliceLike } from "./types.cjs";
|
|
2
2
|
import { PropType } from "vue";
|
|
3
|
-
//#region src/SliceZone/getSliceComponentProps.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Native Vue props for a component rendering content from a Prismic Slice using the `<SliceZone />`
|
|
6
5
|
* component.
|
|
@@ -56,7 +55,6 @@ type DefineComponentSliceComponentProps<TSlice extends SliceLike = any, TContext
|
|
|
56
55
|
* hint of which props are made available to the slice, this parameters doesn't have any effect
|
|
57
56
|
* @returns Props object to use with `defineProps()`
|
|
58
57
|
*/
|
|
59
|
-
declare const getSliceComponentProps: <TSlice extends SliceLike = any, TContext = unknown>(propsHint?: ["slice", "index", "slices", "context"]) => DefineComponentSliceComponentProps<TSlice, TContext>;
|
|
60
|
-
|
|
61
|
-
export { getSliceComponentProps };
|
|
58
|
+
export declare const getSliceComponentProps: <TSlice extends SliceLike = any, TContext = unknown>(propsHint?: ["slice", "index", "slices", "context"]) => DefineComponentSliceComponentProps<TSlice, TContext>;
|
|
59
|
+
export {};
|
|
62
60
|
//# sourceMappingURL=getSliceComponentProps.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSliceComponentProps.d.cts","names":[],"sources":["../../src/SliceZone/getSliceComponentProps.ts"],"mappings":"
|
|
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"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SliceComponentProps, SliceLike } from "./types.js";
|
|
2
2
|
import { PropType } from "vue";
|
|
3
|
-
//#region src/SliceZone/getSliceComponentProps.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Native Vue props for a component rendering content from a Prismic Slice using the `<SliceZone />`
|
|
6
5
|
* component.
|
|
@@ -56,7 +55,6 @@ type DefineComponentSliceComponentProps<TSlice extends SliceLike = any, TContext
|
|
|
56
55
|
* hint of which props are made available to the slice, this parameters doesn't have any effect
|
|
57
56
|
* @returns Props object to use with `defineProps()`
|
|
58
57
|
*/
|
|
59
|
-
declare const getSliceComponentProps: <TSlice extends SliceLike = any, TContext = unknown>(propsHint?: ["slice", "index", "slices", "context"]) => DefineComponentSliceComponentProps<TSlice, TContext>;
|
|
60
|
-
|
|
61
|
-
export { getSliceComponentProps };
|
|
58
|
+
export declare const getSliceComponentProps: <TSlice extends SliceLike = any, TContext = unknown>(propsHint?: ["slice", "index", "slices", "context"]) => DefineComponentSliceComponentProps<TSlice, TContext>;
|
|
59
|
+
export {};
|
|
62
60
|
//# sourceMappingURL=getSliceComponentProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSliceComponentProps.d.ts","names":[],"sources":["../../src/SliceZone/getSliceComponentProps.ts"],"mappings":"
|
|
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/SliceZone/getSliceComponentProps.ts
|
|
2
2
|
/**
|
|
3
3
|
* Gets native Vue props for a component rendering content from a Prismic Slice using the
|
|
4
4
|
* `<SliceZone />` component.
|
|
@@ -46,7 +46,6 @@ const getSliceComponentProps = (propsHint) => ({
|
|
|
46
46
|
required: true
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
//#endregion
|
|
50
49
|
export { getSliceComponentProps };
|
|
51
50
|
|
|
52
51
|
//# sourceMappingURL=getSliceComponentProps.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Component } from "../types.cjs";
|
|
2
2
|
import { Slice } from "@prismicio/client";
|
|
3
|
-
//#region src/SliceZone/types.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Returns the type of a `SliceLike` type.
|
|
6
5
|
*
|
|
@@ -13,14 +12,14 @@ type ExtractSliceType<TSlice extends SliceLike> = TSlice extends SliceLikeRestV2
|
|
|
13
12
|
*
|
|
14
13
|
* @typeParam SliceType - Type name of the Slice.
|
|
15
14
|
*/
|
|
16
|
-
type SliceLikeRestV2<TSliceType extends string = string> = Pick<Slice<TSliceType>, "id" | "slice_type">;
|
|
15
|
+
export type SliceLikeRestV2<TSliceType extends string = string> = Pick<Slice<TSliceType>, "id" | "slice_type">;
|
|
17
16
|
/**
|
|
18
17
|
* The minimum required properties to represent a Prismic Slice from the Prismic GraphQL API for the
|
|
19
18
|
* `unstable_mapSliceZone()` helper.
|
|
20
19
|
*
|
|
21
20
|
* @typeParam SliceType - Type name of the Slice.
|
|
22
21
|
*/
|
|
23
|
-
type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
22
|
+
export type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
24
23
|
type: Slice<TSliceType>["slice_type"];
|
|
25
24
|
};
|
|
26
25
|
/**
|
|
@@ -31,7 +30,7 @@ type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
|
31
30
|
*
|
|
32
31
|
* @typeParam TSliceType - Type name of the Slice
|
|
33
32
|
*/
|
|
34
|
-
type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType> | SliceLikeGraphQL<TSliceType>) & {
|
|
33
|
+
export type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType> | SliceLikeGraphQL<TSliceType>) & {
|
|
35
34
|
/**
|
|
36
35
|
* If `true`, this Slice has been modified from its original value using a mapper and
|
|
37
36
|
* `@prismicio/client`'s `mapSliceZone()`.
|
|
@@ -48,7 +47,7 @@ type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType
|
|
|
48
47
|
*
|
|
49
48
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
50
49
|
*/
|
|
51
|
-
type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
50
|
+
export type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
52
51
|
/**
|
|
53
52
|
* Vue props for a component rendering content from a Prismic Slice using the `<SliceZone />`
|
|
54
53
|
* component.
|
|
@@ -57,7 +56,7 @@ type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
|
57
56
|
* @typeParam TContext - Arbitrary data passed to `<SliceZone />` and made available to all Slice
|
|
58
57
|
* components
|
|
59
58
|
*/
|
|
60
|
-
type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknown> = {
|
|
59
|
+
export type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknown> = {
|
|
61
60
|
/** Slice data for this component. */
|
|
62
61
|
slice: TSlice;
|
|
63
62
|
/** The index of the Slice in the Slice Zone. */
|
|
@@ -73,7 +72,7 @@ type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknow
|
|
|
73
72
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
74
73
|
* @typeParam TContext - Arbitrary data made available to all Slice components
|
|
75
74
|
*/
|
|
76
|
-
type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Component<SliceComponentProps<TSlice, TContext>>;
|
|
75
|
+
export type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Component<SliceComponentProps<TSlice, TContext>>;
|
|
77
76
|
/**
|
|
78
77
|
* A record of Slice types mapped to Vue components. Each components will be rendered for each
|
|
79
78
|
* instance of their Slice type.
|
|
@@ -81,7 +80,6 @@ type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Co
|
|
|
81
80
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
82
81
|
* @typeParam TContext - Arbitrary data made available to all Slice components
|
|
83
82
|
*/
|
|
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; };
|
|
85
|
-
|
|
86
|
-
export { SliceComponentProps, SliceComponentType, SliceLike, SliceLikeGraphQL, SliceLikeRestV2, SliceZoneComponents, SliceZoneLike };
|
|
83
|
+
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; };
|
|
84
|
+
export {};
|
|
87
85
|
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/SliceZone/types.ts"],"mappings":"
|
|
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"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Component } from "../types.js";
|
|
2
2
|
import { Slice } from "@prismicio/client";
|
|
3
|
-
//#region src/SliceZone/types.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Returns the type of a `SliceLike` type.
|
|
6
5
|
*
|
|
@@ -13,14 +12,14 @@ type ExtractSliceType<TSlice extends SliceLike> = TSlice extends SliceLikeRestV2
|
|
|
13
12
|
*
|
|
14
13
|
* @typeParam SliceType - Type name of the Slice.
|
|
15
14
|
*/
|
|
16
|
-
type SliceLikeRestV2<TSliceType extends string = string> = Pick<Slice<TSliceType>, "id" | "slice_type">;
|
|
15
|
+
export type SliceLikeRestV2<TSliceType extends string = string> = Pick<Slice<TSliceType>, "id" | "slice_type">;
|
|
17
16
|
/**
|
|
18
17
|
* The minimum required properties to represent a Prismic Slice from the Prismic GraphQL API for the
|
|
19
18
|
* `unstable_mapSliceZone()` helper.
|
|
20
19
|
*
|
|
21
20
|
* @typeParam SliceType - Type name of the Slice.
|
|
22
21
|
*/
|
|
23
|
-
type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
22
|
+
export type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
24
23
|
type: Slice<TSliceType>["slice_type"];
|
|
25
24
|
};
|
|
26
25
|
/**
|
|
@@ -31,7 +30,7 @@ type SliceLikeGraphQL<TSliceType extends string = string> = {
|
|
|
31
30
|
*
|
|
32
31
|
* @typeParam TSliceType - Type name of the Slice
|
|
33
32
|
*/
|
|
34
|
-
type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType> | SliceLikeGraphQL<TSliceType>) & {
|
|
33
|
+
export type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType> | SliceLikeGraphQL<TSliceType>) & {
|
|
35
34
|
/**
|
|
36
35
|
* If `true`, this Slice has been modified from its original value using a mapper and
|
|
37
36
|
* `@prismicio/client`'s `mapSliceZone()`.
|
|
@@ -48,7 +47,7 @@ type SliceLike<TSliceType extends string = string> = (SliceLikeRestV2<TSliceType
|
|
|
48
47
|
*
|
|
49
48
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
50
49
|
*/
|
|
51
|
-
type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
50
|
+
export type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
52
51
|
/**
|
|
53
52
|
* Vue props for a component rendering content from a Prismic Slice using the `<SliceZone />`
|
|
54
53
|
* component.
|
|
@@ -57,7 +56,7 @@ type SliceZoneLike<TSlice extends SliceLike = SliceLike> = readonly TSlice[];
|
|
|
57
56
|
* @typeParam TContext - Arbitrary data passed to `<SliceZone />` and made available to all Slice
|
|
58
57
|
* components
|
|
59
58
|
*/
|
|
60
|
-
type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknown> = {
|
|
59
|
+
export type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknown> = {
|
|
61
60
|
/** Slice data for this component. */
|
|
62
61
|
slice: TSlice;
|
|
63
62
|
/** The index of the Slice in the Slice Zone. */
|
|
@@ -73,7 +72,7 @@ type SliceComponentProps<TSlice extends SliceLike = SliceLike, TContext = unknow
|
|
|
73
72
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
74
73
|
* @typeParam TContext - Arbitrary data made available to all Slice components
|
|
75
74
|
*/
|
|
76
|
-
type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Component<SliceComponentProps<TSlice, TContext>>;
|
|
75
|
+
export type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Component<SliceComponentProps<TSlice, TContext>>;
|
|
77
76
|
/**
|
|
78
77
|
* A record of Slice types mapped to Vue components. Each components will be rendered for each
|
|
79
78
|
* instance of their Slice type.
|
|
@@ -81,7 +80,6 @@ type SliceComponentType<TSlice extends SliceLike = any, TContext = unknown> = Co
|
|
|
81
80
|
* @typeParam TSlice - The type(s) of slices in the Slice Zone
|
|
82
81
|
* @typeParam TContext - Arbitrary data made available to all Slice components
|
|
83
82
|
*/
|
|
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; };
|
|
85
|
-
|
|
86
|
-
export { SliceComponentProps, SliceComponentType, SliceLike, SliceLikeGraphQL, SliceLikeRestV2, SliceZoneComponents, SliceZoneLike };
|
|
83
|
+
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; };
|
|
84
|
+
export {};
|
|
87
85
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../src/SliceZone/types.ts"],"mappings":"
|
|
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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __exportAll = (all, no_symbols) => {
|
|
4
4
|
let target = {};
|
|
@@ -9,5 +9,4 @@ var __exportAll = (all, no_symbols) => {
|
|
|
9
9
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
10
|
return target;
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
exports.__exportAll = __exportAll;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __exportAll = (all, no_symbols) => {
|
|
4
4
|
let target = {};
|
|
@@ -9,5 +9,4 @@ var __exportAll = (all, no_symbols) => {
|
|
|
9
9
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
10
|
return target;
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { __exportAll };
|
package/dist/createPrismic.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
let vue = require("vue");
|
|
2
2
|
let _prismicio_client = require("@prismicio/client");
|
|
3
|
-
|
|
3
|
+
// src/createPrismic.ts
|
|
4
4
|
const prismicKey = Symbol.for("@prismicio/vue/plugin");
|
|
5
5
|
/** Creates a Prismic Vue plugin instance that can be used by a Vue app. */
|
|
6
6
|
const createPrismic = (config) => {
|
|
@@ -25,7 +25,6 @@ const createPrismic = (config) => {
|
|
|
25
25
|
const usePrismic = () => {
|
|
26
26
|
return (0, vue.inject)(prismicKey, { components: {} });
|
|
27
27
|
};
|
|
28
|
-
//#endregion
|
|
29
28
|
exports.createPrismic = createPrismic;
|
|
30
29
|
exports.usePrismic = usePrismic;
|
|
31
30
|
|
package/dist/createPrismic.d.cts
CHANGED
|
@@ -5,7 +5,6 @@ import { TableComponents } from "./PrismicTable/types.cjs";
|
|
|
5
5
|
import "./PrismicTable/index.cjs";
|
|
6
6
|
import { CreateClient, LinkResolverFunction, isFilled } from "@prismicio/client";
|
|
7
7
|
import { App } from "vue";
|
|
8
|
-
//#region src/createPrismic.d.ts
|
|
9
8
|
/** Components configuration. */
|
|
10
9
|
type ComponentsConfig = {
|
|
11
10
|
/** The default component rendered for internal URLs. */
|
|
@@ -21,7 +20,7 @@ type ComponentsConfig = {
|
|
|
21
20
|
richTextComponents?: RichTextComponents & TableComponents;
|
|
22
21
|
};
|
|
23
22
|
/** Prismic Vue plugin configuration. */
|
|
24
|
-
type PrismicPluginConfig = {
|
|
23
|
+
export type PrismicPluginConfig = {
|
|
25
24
|
/** A Prismic client instance to inject into the Vue app. */
|
|
26
25
|
client: ReturnType<CreateClient>;
|
|
27
26
|
/**
|
|
@@ -34,7 +33,7 @@ type PrismicPluginConfig = {
|
|
|
34
33
|
components?: ComponentsConfig;
|
|
35
34
|
};
|
|
36
35
|
/** Prismic Vue plugin interface accessible through `usePrismic()` and `$prismic`. */
|
|
37
|
-
type PrismicPlugin = {
|
|
36
|
+
export type PrismicPlugin = {
|
|
38
37
|
/** A Prismic client that can be used to query content from a repository. */
|
|
39
38
|
client: ReturnType<CreateClient>;
|
|
40
39
|
/** Helpers to determine if a field is filled. */
|
|
@@ -51,7 +50,7 @@ type PrismicPlugin = {
|
|
|
51
50
|
install: (app: App) => void;
|
|
52
51
|
};
|
|
53
52
|
/** Creates a Prismic Vue plugin instance that can be used by a Vue app. */
|
|
54
|
-
declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
53
|
+
export declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
55
54
|
/**
|
|
56
55
|
* Access the Prismic Vue plugin interface.
|
|
57
56
|
*
|
|
@@ -60,13 +59,12 @@ declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
|
60
59
|
* const { client, isFilled } = usePrismic()
|
|
61
60
|
* ```
|
|
62
61
|
*/
|
|
63
|
-
declare const usePrismic: () => PrismicPlugin;
|
|
62
|
+
export declare const usePrismic: () => PrismicPlugin;
|
|
64
63
|
declare module "vue" {
|
|
65
64
|
interface ComponentCustomProperties {
|
|
66
65
|
/** The Prismic Vue plugin interface. */
|
|
67
66
|
$prismic: PrismicPlugin;
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
|
-
|
|
71
|
-
export { PrismicPlugin, PrismicPluginConfig, createPrismic, usePrismic };
|
|
69
|
+
export {};
|
|
72
70
|
//# sourceMappingURL=createPrismic.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPrismic.d.cts","names":[],"sources":["../src/createPrismic.ts"],"mappings":"
|
|
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
|
@@ -5,7 +5,6 @@ import { TableComponents } from "./PrismicTable/types.js";
|
|
|
5
5
|
import "./PrismicTable/index.js";
|
|
6
6
|
import { App } from "vue";
|
|
7
7
|
import { CreateClient, LinkResolverFunction, isFilled } from "@prismicio/client";
|
|
8
|
-
//#region src/createPrismic.d.ts
|
|
9
8
|
/** Components configuration. */
|
|
10
9
|
type ComponentsConfig = {
|
|
11
10
|
/** The default component rendered for internal URLs. */
|
|
@@ -21,7 +20,7 @@ type ComponentsConfig = {
|
|
|
21
20
|
richTextComponents?: RichTextComponents & TableComponents;
|
|
22
21
|
};
|
|
23
22
|
/** Prismic Vue plugin configuration. */
|
|
24
|
-
type PrismicPluginConfig = {
|
|
23
|
+
export type PrismicPluginConfig = {
|
|
25
24
|
/** A Prismic client instance to inject into the Vue app. */
|
|
26
25
|
client: ReturnType<CreateClient>;
|
|
27
26
|
/**
|
|
@@ -34,7 +33,7 @@ type PrismicPluginConfig = {
|
|
|
34
33
|
components?: ComponentsConfig;
|
|
35
34
|
};
|
|
36
35
|
/** Prismic Vue plugin interface accessible through `usePrismic()` and `$prismic`. */
|
|
37
|
-
type PrismicPlugin = {
|
|
36
|
+
export type PrismicPlugin = {
|
|
38
37
|
/** A Prismic client that can be used to query content from a repository. */
|
|
39
38
|
client: ReturnType<CreateClient>;
|
|
40
39
|
/** Helpers to determine if a field is filled. */
|
|
@@ -51,7 +50,7 @@ type PrismicPlugin = {
|
|
|
51
50
|
install: (app: App) => void;
|
|
52
51
|
};
|
|
53
52
|
/** Creates a Prismic Vue plugin instance that can be used by a Vue app. */
|
|
54
|
-
declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
53
|
+
export declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
55
54
|
/**
|
|
56
55
|
* Access the Prismic Vue plugin interface.
|
|
57
56
|
*
|
|
@@ -60,13 +59,12 @@ declare const createPrismic: (config: PrismicPluginConfig) => PrismicPlugin;
|
|
|
60
59
|
* const { client, isFilled } = usePrismic()
|
|
61
60
|
* ```
|
|
62
61
|
*/
|
|
63
|
-
declare const usePrismic: () => PrismicPlugin;
|
|
62
|
+
export declare const usePrismic: () => PrismicPlugin;
|
|
64
63
|
declare module "vue" {
|
|
65
64
|
interface ComponentCustomProperties {
|
|
66
65
|
/** The Prismic Vue plugin interface. */
|
|
67
66
|
$prismic: PrismicPlugin;
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
|
-
|
|
71
|
-
export { PrismicPlugin, PrismicPluginConfig, createPrismic, usePrismic };
|
|
69
|
+
export {};
|
|
72
70
|
//# sourceMappingURL=createPrismic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPrismic.d.ts","names":[],"sources":["../src/createPrismic.ts"],"mappings":"
|
|
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"}
|