@prismicio/vue 5.3.0-pr.86.81afa1a → 5.3.0-pr.88.72388e2
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 +30 -58
- package/dist/PrismicImage.vue.d.cts.map +1 -1
- package/dist/PrismicLink.vue.d.cts +60 -52
- package/dist/PrismicLink.vue.d.cts.map +1 -1
- package/dist/PrismicRichText/PrismicRichText.vue.d.cts +18 -41
- package/dist/PrismicRichText/PrismicRichText.vue.d.cts.map +1 -1
- package/dist/PrismicRichText/types.d.cts +3 -3
- package/dist/PrismicRichText/types.d.cts.map +1 -1
- package/dist/PrismicTable/PrismicTable.vue.d.cts +6 -6
- package/dist/PrismicTable/PrismicTable.vue.d.cts.map +1 -1
- package/dist/PrismicTable/types.d.cts +1 -2
- package/dist/PrismicTable/types.d.cts.map +1 -1
- package/dist/PrismicText.vue.d.cts +3 -5
- package/dist/PrismicText.vue.d.cts.map +1 -1
- package/dist/SliceZone/SliceZone.vue.d.cts +5 -16
- package/dist/SliceZone/SliceZone.vue.d.cts.map +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.cjs.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/dist/src/PrismicImage.cjs.map +1 -1
- package/dist/src/PrismicImage.js.map +1 -1
- package/dist/src/PrismicImage.vue.d.ts +30 -58
- package/dist/src/PrismicImage.vue.d.ts.map +1 -1
- package/dist/src/PrismicImage.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/src/PrismicImage.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/src/PrismicLink.cjs.map +1 -1
- package/dist/src/PrismicLink.js.map +1 -1
- package/dist/src/PrismicLink.vue.d.ts +60 -52
- package/dist/src/PrismicLink.vue.d.ts.map +1 -1
- package/dist/src/PrismicLink.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/src/PrismicLink.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichText.cjs.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichText.js.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichText.vue.d.ts +22 -45
- package/dist/src/PrismicRichText/PrismicRichText.vue.d.ts.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichText.vue_vue_type_script_setup_true_lang.cjs +39 -22
- package/dist/src/PrismicRichText/PrismicRichText.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichText.vue_vue_type_script_setup_true_lang.js +39 -22
- package/dist/src/PrismicRichText/PrismicRichText.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichTextDefaultComponent.cjs.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichTextDefaultComponent.js.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichTextDefaultComponent.vue_vue_type_script_setup_true_lang.cjs +6 -26
- package/dist/src/PrismicRichText/PrismicRichTextDefaultComponent.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichTextDefaultComponent.vue_vue_type_script_setup_true_lang.js +6 -26
- package/dist/src/PrismicRichText/PrismicRichTextDefaultComponent.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichTextSerialize.cjs.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichTextSerialize.js.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichTextSerialize.vue_vue_type_script_setup_true_lang.cjs +7 -48
- package/dist/src/PrismicRichText/PrismicRichTextSerialize.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/src/PrismicRichText/PrismicRichTextSerialize.vue_vue_type_script_setup_true_lang.js +7 -48
- package/dist/src/PrismicRichText/PrismicRichTextSerialize.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/src/PrismicRichText/types.d.ts +3 -3
- package/dist/src/PrismicRichText/types.d.ts.map +1 -1
- package/dist/src/PrismicTable/PrismicTable.cjs.map +1 -1
- package/dist/src/PrismicTable/PrismicTable.js.map +1 -1
- package/dist/src/PrismicTable/PrismicTable.vue.d.ts +6 -6
- package/dist/src/PrismicTable/PrismicTable.vue.d.ts.map +1 -1
- package/dist/src/PrismicTable/PrismicTable.vue_vue_type_script_setup_true_lang.cjs +43 -15
- package/dist/src/PrismicTable/PrismicTable.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/src/PrismicTable/PrismicTable.vue_vue_type_script_setup_true_lang.js +44 -16
- package/dist/src/PrismicTable/PrismicTable.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/src/PrismicTable/PrismicTableDefaultComponents.cjs.map +1 -1
- package/dist/src/PrismicTable/PrismicTableDefaultComponents.js.map +1 -1
- package/dist/src/PrismicTable/PrismicTableRow.cjs.map +1 -1
- package/dist/src/PrismicTable/PrismicTableRow.js.map +1 -1
- package/dist/src/PrismicTable/PrismicTableRow.vue_vue_type_script_setup_true_lang.cjs +13 -10
- package/dist/src/PrismicTable/PrismicTableRow.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/src/PrismicTable/PrismicTableRow.vue_vue_type_script_setup_true_lang.js +14 -11
- package/dist/src/PrismicTable/PrismicTableRow.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/src/PrismicTable/types.d.ts +1 -2
- package/dist/src/PrismicTable/types.d.ts.map +1 -1
- package/dist/src/PrismicText.cjs.map +1 -1
- package/dist/src/PrismicText.js.map +1 -1
- package/dist/src/PrismicText.vue.d.ts +3 -5
- package/dist/src/PrismicText.vue.d.ts.map +1 -1
- package/dist/src/PrismicText.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/src/PrismicText.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/src/SliceZone/SliceZone.cjs.map +1 -1
- package/dist/src/SliceZone/SliceZone.js.map +1 -1
- package/dist/src/SliceZone/SliceZone.vue.d.ts +5 -16
- package/dist/src/SliceZone/SliceZone.vue.d.ts.map +1 -1
- package/dist/src/SliceZone/SliceZone.vue_vue_type_script_setup_true_lang.cjs.map +1 -1
- package/dist/src/SliceZone/SliceZone.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/src/types.cjs +9 -0
- package/dist/src/types.cjs.map +1 -0
- package/dist/src/types.d.ts +3 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +8 -0
- package/dist/src/types.js.map +1 -0
- package/dist/types.d.cts +3 -2
- package/dist/types.d.cts.map +1 -1
- package/package.json +1 -1
- package/src/PrismicImage.vue +8 -16
- package/src/PrismicLink.vue +12 -12
- package/src/PrismicRichText/PrismicRichText.vue +69 -49
- package/src/PrismicRichText/PrismicRichTextDefaultComponent.vue +38 -22
- package/src/PrismicRichText/PrismicRichTextSerialize.vue +5 -51
- package/src/PrismicRichText/types.ts +17 -13
- package/src/PrismicTable/PrismicTable.vue +44 -17
- package/src/PrismicTable/PrismicTableDefaultComponents.ts +14 -8
- package/src/PrismicTable/PrismicTableRow.vue +17 -24
- package/src/PrismicTable/types.ts +14 -11
- package/src/PrismicText.vue +1 -3
- package/src/SliceZone/SliceZone.vue +3 -14
- package/src/types.ts +31 -1
- package/src/lib/Wrapper.vue +0 -22
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue11 from "vue";
|
|
2
2
|
import { ImageField, asImagePixelDensitySrcSet, asImageSrc, asImageWidthSrcSet } from "@prismicio/client";
|
|
3
3
|
|
|
4
4
|
//#region src/PrismicImage.vue.d.ts
|
|
@@ -7,9 +7,7 @@ import { ImageField, asImagePixelDensitySrcSet, asImageSrc, asImageWidthSrcSet }
|
|
|
7
7
|
* Props for `<PrismicImage />`.
|
|
8
8
|
*/
|
|
9
9
|
type PrismicImageProps = {
|
|
10
|
-
/**
|
|
11
|
-
* The Prismic image field or thumbnail to render.
|
|
12
|
-
*/
|
|
10
|
+
/** The Prismic image field or thumbnail to render. */
|
|
13
11
|
field: ImageField | ImageField<string>;
|
|
14
12
|
/**
|
|
15
13
|
* An object of Imgix URL API parameters to transform the image.
|
|
@@ -48,25 +46,19 @@ type PrismicImageProps = {
|
|
|
48
46
|
height?: number | string;
|
|
49
47
|
} & ({
|
|
50
48
|
/**
|
|
51
|
-
* Widths used to build a `srcset` value for the image
|
|
49
|
+
* Widths (in pixels) used to build a `srcset` value for the image
|
|
50
|
+
* field.
|
|
52
51
|
*
|
|
53
|
-
* If
|
|
54
|
-
*
|
|
55
|
-
* 3840.
|
|
52
|
+
* If omitted or set to `"defaults"`, the following widths will be used:
|
|
53
|
+
* 640, 750, 828, 1080, 1200, 1920, 2048, 3840.
|
|
56
54
|
*
|
|
57
|
-
* If the image field contains responsive views, each responsive view
|
|
58
|
-
* be used as a width in the resulting `srcset` by passing
|
|
59
|
-
* as the `widths` prop.
|
|
55
|
+
* If the image field contains responsive views, each responsive view
|
|
56
|
+
* can be used as a width in the resulting `srcset` by passing
|
|
57
|
+
* `"thumbnails"` as the `widths` prop.
|
|
60
58
|
*/
|
|
61
59
|
widths?: NonNullable<Parameters<typeof asImageWidthSrcSet>[1]>["widths"] | "thumbnails" | "defaults";
|
|
62
|
-
/**
|
|
63
|
-
* Not used when the `widths` prop is used.
|
|
64
|
-
*/
|
|
65
60
|
pixelDensities?: never;
|
|
66
61
|
} | {
|
|
67
|
-
/**
|
|
68
|
-
* Not used when the `widths` prop is used.
|
|
69
|
-
*/
|
|
70
62
|
widths?: never;
|
|
71
63
|
/**
|
|
72
64
|
* Pixel densities used to build a `srcset` value for the image field.
|
|
@@ -76,10 +68,8 @@ type PrismicImageProps = {
|
|
|
76
68
|
*/
|
|
77
69
|
pixelDensities: NonNullable<Parameters<typeof asImagePixelDensitySrcSet>[1]>["pixelDensities"] | "defaults";
|
|
78
70
|
});
|
|
79
|
-
declare const __VLS_export:
|
|
80
|
-
/**
|
|
81
|
-
* The Prismic image field or thumbnail to render.
|
|
82
|
-
*/
|
|
71
|
+
declare const __VLS_export: vue11.DefineComponent<({
|
|
72
|
+
/** The Prismic image field or thumbnail to render. */
|
|
83
73
|
field: ImageField | ImageField<string>;
|
|
84
74
|
/**
|
|
85
75
|
* An object of Imgix URL API parameters to transform the image.
|
|
@@ -118,25 +108,20 @@ declare const __VLS_export: vue6.DefineComponent<({
|
|
|
118
108
|
height?: number | string;
|
|
119
109
|
} & {
|
|
120
110
|
/**
|
|
121
|
-
* Widths used to build a `srcset` value for the image
|
|
111
|
+
* Widths (in pixels) used to build a `srcset` value for the image
|
|
112
|
+
* field.
|
|
122
113
|
*
|
|
123
|
-
* If
|
|
124
|
-
*
|
|
125
|
-
* 3840.
|
|
114
|
+
* If omitted or set to `"defaults"`, the following widths will be used:
|
|
115
|
+
* 640, 750, 828, 1080, 1200, 1920, 2048, 3840.
|
|
126
116
|
*
|
|
127
|
-
* If the image field contains responsive views, each responsive view
|
|
128
|
-
* be used as a width in the resulting `srcset` by passing
|
|
129
|
-
* as the `widths` prop.
|
|
117
|
+
* If the image field contains responsive views, each responsive view
|
|
118
|
+
* can be used as a width in the resulting `srcset` by passing
|
|
119
|
+
* `"thumbnails"` as the `widths` prop.
|
|
130
120
|
*/
|
|
131
121
|
widths?: NonNullable<Parameters<typeof asImageWidthSrcSet>[1]>["widths"] | "thumbnails" | "defaults";
|
|
132
|
-
/**
|
|
133
|
-
* Not used when the `widths` prop is used.
|
|
134
|
-
*/
|
|
135
122
|
pixelDensities?: never;
|
|
136
123
|
}) | ({
|
|
137
|
-
/**
|
|
138
|
-
* The Prismic image field or thumbnail to render.
|
|
139
|
-
*/
|
|
124
|
+
/** The Prismic image field or thumbnail to render. */
|
|
140
125
|
field: ImageField | ImageField<string>;
|
|
141
126
|
/**
|
|
142
127
|
* An object of Imgix URL API parameters to transform the image.
|
|
@@ -174,9 +159,6 @@ declare const __VLS_export: vue6.DefineComponent<({
|
|
|
174
159
|
*/
|
|
175
160
|
height?: number | string;
|
|
176
161
|
} & {
|
|
177
|
-
/**
|
|
178
|
-
* Not used when the `widths` prop is used.
|
|
179
|
-
*/
|
|
180
162
|
widths?: never;
|
|
181
163
|
/**
|
|
182
164
|
* Pixel densities used to build a `srcset` value for the image field.
|
|
@@ -185,10 +167,8 @@ declare const __VLS_export: vue6.DefineComponent<({
|
|
|
185
167
|
* densities will be used: 1, 2, 3.
|
|
186
168
|
*/
|
|
187
169
|
pixelDensities: NonNullable<Parameters<typeof asImagePixelDensitySrcSet>[1]>["pixelDensities"] | "defaults";
|
|
188
|
-
}), {}, {}, {}, {},
|
|
189
|
-
/**
|
|
190
|
-
* The Prismic image field or thumbnail to render.
|
|
191
|
-
*/
|
|
170
|
+
}), {}, {}, {}, {}, vue11.ComponentOptionsMixin, vue11.ComponentOptionsMixin, {}, string, vue11.PublicProps, Readonly<({
|
|
171
|
+
/** The Prismic image field or thumbnail to render. */
|
|
192
172
|
field: ImageField | ImageField<string>;
|
|
193
173
|
/**
|
|
194
174
|
* An object of Imgix URL API parameters to transform the image.
|
|
@@ -227,25 +207,20 @@ declare const __VLS_export: vue6.DefineComponent<({
|
|
|
227
207
|
height?: number | string;
|
|
228
208
|
} & {
|
|
229
209
|
/**
|
|
230
|
-
* Widths used to build a `srcset` value for the image
|
|
210
|
+
* Widths (in pixels) used to build a `srcset` value for the image
|
|
211
|
+
* field.
|
|
231
212
|
*
|
|
232
|
-
* If
|
|
233
|
-
*
|
|
234
|
-
* 3840.
|
|
213
|
+
* If omitted or set to `"defaults"`, the following widths will be used:
|
|
214
|
+
* 640, 750, 828, 1080, 1200, 1920, 2048, 3840.
|
|
235
215
|
*
|
|
236
|
-
* If the image field contains responsive views, each responsive view
|
|
237
|
-
* be used as a width in the resulting `srcset` by passing
|
|
238
|
-
* as the `widths` prop.
|
|
216
|
+
* If the image field contains responsive views, each responsive view
|
|
217
|
+
* can be used as a width in the resulting `srcset` by passing
|
|
218
|
+
* `"thumbnails"` as the `widths` prop.
|
|
239
219
|
*/
|
|
240
220
|
widths?: NonNullable<Parameters<typeof asImageWidthSrcSet>[1]>["widths"] | "thumbnails" | "defaults";
|
|
241
|
-
/**
|
|
242
|
-
* Not used when the `widths` prop is used.
|
|
243
|
-
*/
|
|
244
221
|
pixelDensities?: never;
|
|
245
222
|
}) | ({
|
|
246
|
-
/**
|
|
247
|
-
* The Prismic image field or thumbnail to render.
|
|
248
|
-
*/
|
|
223
|
+
/** The Prismic image field or thumbnail to render. */
|
|
249
224
|
field: ImageField | ImageField<string>;
|
|
250
225
|
/**
|
|
251
226
|
* An object of Imgix URL API parameters to transform the image.
|
|
@@ -283,9 +258,6 @@ declare const __VLS_export: vue6.DefineComponent<({
|
|
|
283
258
|
*/
|
|
284
259
|
height?: number | string;
|
|
285
260
|
} & {
|
|
286
|
-
/**
|
|
287
|
-
* Not used when the `widths` prop is used.
|
|
288
|
-
*/
|
|
289
261
|
widths?: never;
|
|
290
262
|
/**
|
|
291
263
|
* Pixel densities used to build a `srcset` value for the image field.
|
|
@@ -294,7 +266,7 @@ declare const __VLS_export: vue6.DefineComponent<({
|
|
|
294
266
|
* densities will be used: 1, 2, 3.
|
|
295
267
|
*/
|
|
296
268
|
pixelDensities: NonNullable<Parameters<typeof asImagePixelDensitySrcSet>[1]>["pixelDensities"] | "defaults";
|
|
297
|
-
})> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
269
|
+
})> & Readonly<{}>, {}, {}, {}, {}, string, vue11.ComponentProvideOptions, false, {}, any>;
|
|
298
270
|
declare const _default: typeof __VLS_export;
|
|
299
271
|
//#endregion
|
|
300
272
|
export { PrismicImageProps, _default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicImage.vue.d.cts","names":[],"sources":["../src/PrismicImage.vue"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"PrismicImage.vue.d.cts","names":[],"sources":["../src/PrismicImage.vue"],"sourcesContent":[],"mappings":";;;;;;;AAoNA;AAEQ,KAFI,iBAAA,GAEJ;EAAa;EAOY,KAAA,EAPzB,UAOyB,GAPZ,UAOY,CAAA,MAAA,CAAA;EAAlB;;;;;EA+DT,WAAA,CAAA,EA/DS,UA+DT,CAAA,OA/D2B,UA+D3B,CAAA,CAAA,CAAA,CAAA;EADA;;AAKL;;;;EAnEc,GAAA,CAAA,EAAA,EAAA;EAgDqB;;;;;;;EAeZ,WAAA,CAAA,EAAA,EAAA;EAAlB;;;;;;EAtEe,KAAA,CAAA,EAAA,MAAA,GAAA,MAAA;EAOY;;;;;;EAPZ,MAAA,CAAA,EAAA,MAAA,GAAA,MAAA;CAOY,GAAA,CAAA;EAAlB;;;;;;;;;AA+LG;;WA/IZ,YAAY,kBAAkB;;;;;;;;;;kBAc9B,YACA,kBAAkB;;cAgIlB,oBAAY;;SAtMV,aAAa;;;;;;gBAON,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgD3B,YAAY,kBAAkB;;;;SAvD5B,aAAa;;;;;;gBAON,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA8D3B,YACA,kBAAkB;oBADP,KAAA,CAAA,qBAAA;;SArET,aAAa;;;;;;gBAON,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgD3B,YAAY,kBAAkB;;;;SAvD5B,aAAa;;;;;;gBAON,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA8D3B,YACA,kBAAkB;;cAgIN,iBAGU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentOrTagName } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue16 from "vue";
|
|
3
3
|
import { AsLinkAttrsConfig, LinkField, LinkResolverFunction, PrismicDocument } from "@prismicio/client";
|
|
4
4
|
|
|
5
5
|
//#region src/PrismicLink.vue.d.ts
|
|
@@ -9,12 +9,13 @@ import { AsLinkAttrsConfig, LinkField, LinkResolverFunction, PrismicDocument } f
|
|
|
9
9
|
*/
|
|
10
10
|
type PrismicLinkProps = {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
* resolver parameter with `@prismicio/client`.
|
|
12
|
+
* The link resolver used to resolve links.
|
|
14
13
|
*
|
|
15
|
-
* @
|
|
14
|
+
* @remarks
|
|
15
|
+
* If your app uses route resolvers when querying for your Prismic
|
|
16
|
+
* repository's content, a link resolver does not need to be provided.
|
|
16
17
|
*
|
|
17
|
-
* @see
|
|
18
|
+
* @see Learn about link resolvers and route resolvers {@link https://prismic.io/docs/routes}
|
|
18
19
|
*/
|
|
19
20
|
linkResolver?: LinkResolverFunction;
|
|
20
21
|
/**
|
|
@@ -24,27 +25,26 @@ type PrismicLinkProps = {
|
|
|
24
25
|
*/
|
|
25
26
|
rel?: string | AsLinkAttrsConfig["rel"];
|
|
26
27
|
/**
|
|
27
|
-
* The
|
|
28
|
+
* The component rendered for internal URLs.
|
|
29
|
+
*
|
|
30
|
+
* If your app uses a client-side router that requires a special Link
|
|
31
|
+
* component, provide the Link component to this prop.
|
|
28
32
|
*
|
|
29
33
|
* @defaultValue `<RouterLink>`
|
|
30
34
|
*/
|
|
31
35
|
internalComponent?: ComponentOrTagName;
|
|
32
36
|
/**
|
|
33
|
-
* The
|
|
37
|
+
* The component rendered for external URLs.
|
|
34
38
|
*
|
|
35
39
|
* @defaultValue `<a>`
|
|
36
40
|
*/
|
|
37
41
|
externalComponent?: ComponentOrTagName;
|
|
38
42
|
} & ({
|
|
39
|
-
/**
|
|
40
|
-
* The Prismic link field to render.
|
|
41
|
-
*/
|
|
43
|
+
/** The Prismic link field to render. */
|
|
42
44
|
field: LinkField;
|
|
43
45
|
document?: never;
|
|
44
46
|
} | {
|
|
45
|
-
/**
|
|
46
|
-
* The Prismic document to render as a link.
|
|
47
|
-
*/
|
|
47
|
+
/** The Prismic document to render as a link. */
|
|
48
48
|
document: PrismicDocument;
|
|
49
49
|
field?: never;
|
|
50
50
|
});
|
|
@@ -52,14 +52,15 @@ declare var __VLS_8: {};
|
|
|
52
52
|
type __VLS_Slots = {} & {
|
|
53
53
|
default?: (props: typeof __VLS_8) => any;
|
|
54
54
|
};
|
|
55
|
-
declare const __VLS_base:
|
|
55
|
+
declare const __VLS_base: vue16.DefineComponent<({
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
58
|
-
* resolver parameter with `@prismicio/client`.
|
|
57
|
+
* The link resolver used to resolve links.
|
|
59
58
|
*
|
|
60
|
-
* @
|
|
59
|
+
* @remarks
|
|
60
|
+
* If your app uses route resolvers when querying for your Prismic
|
|
61
|
+
* repository's content, a link resolver does not need to be provided.
|
|
61
62
|
*
|
|
62
|
-
* @see
|
|
63
|
+
* @see Learn about link resolvers and route resolvers {@link https://prismic.io/docs/routes}
|
|
63
64
|
*/
|
|
64
65
|
linkResolver?: LinkResolverFunction;
|
|
65
66
|
/**
|
|
@@ -69,31 +70,33 @@ declare const __VLS_base: vue21.DefineComponent<({
|
|
|
69
70
|
*/
|
|
70
71
|
rel?: string | AsLinkAttrsConfig["rel"];
|
|
71
72
|
/**
|
|
72
|
-
* The
|
|
73
|
+
* The component rendered for internal URLs.
|
|
74
|
+
*
|
|
75
|
+
* If your app uses a client-side router that requires a special Link
|
|
76
|
+
* component, provide the Link component to this prop.
|
|
73
77
|
*
|
|
74
78
|
* @defaultValue `<RouterLink>`
|
|
75
79
|
*/
|
|
76
80
|
internalComponent?: ComponentOrTagName;
|
|
77
81
|
/**
|
|
78
|
-
* The
|
|
82
|
+
* The component rendered for external URLs.
|
|
79
83
|
*
|
|
80
84
|
* @defaultValue `<a>`
|
|
81
85
|
*/
|
|
82
86
|
externalComponent?: ComponentOrTagName;
|
|
83
87
|
} & {
|
|
84
|
-
/**
|
|
85
|
-
* The Prismic link field to render.
|
|
86
|
-
*/
|
|
88
|
+
/** The Prismic link field to render. */
|
|
87
89
|
field: LinkField;
|
|
88
90
|
document?: never;
|
|
89
91
|
}) | ({
|
|
90
92
|
/**
|
|
91
|
-
*
|
|
92
|
-
* resolver parameter with `@prismicio/client`.
|
|
93
|
+
* The link resolver used to resolve links.
|
|
93
94
|
*
|
|
94
|
-
* @
|
|
95
|
+
* @remarks
|
|
96
|
+
* If your app uses route resolvers when querying for your Prismic
|
|
97
|
+
* repository's content, a link resolver does not need to be provided.
|
|
95
98
|
*
|
|
96
|
-
* @see
|
|
99
|
+
* @see Learn about link resolvers and route resolvers {@link https://prismic.io/docs/routes}
|
|
97
100
|
*/
|
|
98
101
|
linkResolver?: LinkResolverFunction;
|
|
99
102
|
/**
|
|
@@ -103,31 +106,33 @@ declare const __VLS_base: vue21.DefineComponent<({
|
|
|
103
106
|
*/
|
|
104
107
|
rel?: string | AsLinkAttrsConfig["rel"];
|
|
105
108
|
/**
|
|
106
|
-
* The
|
|
109
|
+
* The component rendered for internal URLs.
|
|
110
|
+
*
|
|
111
|
+
* If your app uses a client-side router that requires a special Link
|
|
112
|
+
* component, provide the Link component to this prop.
|
|
107
113
|
*
|
|
108
114
|
* @defaultValue `<RouterLink>`
|
|
109
115
|
*/
|
|
110
116
|
internalComponent?: ComponentOrTagName;
|
|
111
117
|
/**
|
|
112
|
-
* The
|
|
118
|
+
* The component rendered for external URLs.
|
|
113
119
|
*
|
|
114
120
|
* @defaultValue `<a>`
|
|
115
121
|
*/
|
|
116
122
|
externalComponent?: ComponentOrTagName;
|
|
117
123
|
} & {
|
|
118
|
-
/**
|
|
119
|
-
* The Prismic document to render as a link.
|
|
120
|
-
*/
|
|
124
|
+
/** The Prismic document to render as a link. */
|
|
121
125
|
document: PrismicDocument;
|
|
122
126
|
field?: never;
|
|
123
|
-
}), {}, {}, {}, {},
|
|
127
|
+
}), {}, {}, {}, {}, vue16.ComponentOptionsMixin, vue16.ComponentOptionsMixin, {}, string, vue16.PublicProps, Readonly<({
|
|
124
128
|
/**
|
|
125
|
-
*
|
|
126
|
-
* resolver parameter with `@prismicio/client`.
|
|
129
|
+
* The link resolver used to resolve links.
|
|
127
130
|
*
|
|
128
|
-
* @
|
|
131
|
+
* @remarks
|
|
132
|
+
* If your app uses route resolvers when querying for your Prismic
|
|
133
|
+
* repository's content, a link resolver does not need to be provided.
|
|
129
134
|
*
|
|
130
|
-
* @see
|
|
135
|
+
* @see Learn about link resolvers and route resolvers {@link https://prismic.io/docs/routes}
|
|
131
136
|
*/
|
|
132
137
|
linkResolver?: LinkResolverFunction;
|
|
133
138
|
/**
|
|
@@ -137,31 +142,33 @@ declare const __VLS_base: vue21.DefineComponent<({
|
|
|
137
142
|
*/
|
|
138
143
|
rel?: string | AsLinkAttrsConfig["rel"];
|
|
139
144
|
/**
|
|
140
|
-
* The
|
|
145
|
+
* The component rendered for internal URLs.
|
|
146
|
+
*
|
|
147
|
+
* If your app uses a client-side router that requires a special Link
|
|
148
|
+
* component, provide the Link component to this prop.
|
|
141
149
|
*
|
|
142
150
|
* @defaultValue `<RouterLink>`
|
|
143
151
|
*/
|
|
144
152
|
internalComponent?: ComponentOrTagName;
|
|
145
153
|
/**
|
|
146
|
-
* The
|
|
154
|
+
* The component rendered for external URLs.
|
|
147
155
|
*
|
|
148
156
|
* @defaultValue `<a>`
|
|
149
157
|
*/
|
|
150
158
|
externalComponent?: ComponentOrTagName;
|
|
151
159
|
} & {
|
|
152
|
-
/**
|
|
153
|
-
* The Prismic link field to render.
|
|
154
|
-
*/
|
|
160
|
+
/** The Prismic link field to render. */
|
|
155
161
|
field: LinkField;
|
|
156
162
|
document?: never;
|
|
157
163
|
}) | ({
|
|
158
164
|
/**
|
|
159
|
-
*
|
|
160
|
-
* resolver parameter with `@prismicio/client`.
|
|
165
|
+
* The link resolver used to resolve links.
|
|
161
166
|
*
|
|
162
|
-
* @
|
|
167
|
+
* @remarks
|
|
168
|
+
* If your app uses route resolvers when querying for your Prismic
|
|
169
|
+
* repository's content, a link resolver does not need to be provided.
|
|
163
170
|
*
|
|
164
|
-
* @see
|
|
171
|
+
* @see Learn about link resolvers and route resolvers {@link https://prismic.io/docs/routes}
|
|
165
172
|
*/
|
|
166
173
|
linkResolver?: LinkResolverFunction;
|
|
167
174
|
/**
|
|
@@ -171,24 +178,25 @@ declare const __VLS_base: vue21.DefineComponent<({
|
|
|
171
178
|
*/
|
|
172
179
|
rel?: string | AsLinkAttrsConfig["rel"];
|
|
173
180
|
/**
|
|
174
|
-
* The
|
|
181
|
+
* The component rendered for internal URLs.
|
|
182
|
+
*
|
|
183
|
+
* If your app uses a client-side router that requires a special Link
|
|
184
|
+
* component, provide the Link component to this prop.
|
|
175
185
|
*
|
|
176
186
|
* @defaultValue `<RouterLink>`
|
|
177
187
|
*/
|
|
178
188
|
internalComponent?: ComponentOrTagName;
|
|
179
189
|
/**
|
|
180
|
-
* The
|
|
190
|
+
* The component rendered for external URLs.
|
|
181
191
|
*
|
|
182
192
|
* @defaultValue `<a>`
|
|
183
193
|
*/
|
|
184
194
|
externalComponent?: ComponentOrTagName;
|
|
185
195
|
} & {
|
|
186
|
-
/**
|
|
187
|
-
* The Prismic document to render as a link.
|
|
188
|
-
*/
|
|
196
|
+
/** The Prismic document to render as a link. */
|
|
189
197
|
document: PrismicDocument;
|
|
190
198
|
field?: never;
|
|
191
|
-
})> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
199
|
+
})> & Readonly<{}>, {}, {}, {}, {}, string, vue16.ComponentProvideOptions, false, {}, any>;
|
|
192
200
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
193
201
|
declare const _default: typeof __VLS_export;
|
|
194
202
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicLink.vue.d.cts","names":[],"sources":["../src/PrismicLink.vue"],"sourcesContent":[],"mappings":";;;;;;;;AA8JA;
|
|
1
|
+
{"version":3,"file":"PrismicLink.vue.d.cts","names":[],"sources":["../src/PrismicLink.vue"],"sourcesContent":[],"mappings":";;;;;;;;AA8JA;AAUgB,KAVJ,gBAAA,GAUI;EAOA;;;;;;AA6Bf;AA0EqB;AAEc;EAhHpB,YAAA,CAAA,EAAA,oBAAA;EAOA;;;;;EAAA,GAAA,CAAA,EAAA,MAAA,GAAA,iBAAA,CAAA,KAAA,CAAA;EAUK;;;;;;;;EAAA,iBAAA,CAAA,EAAA,kBAAA;EAOA;;;;;EAAA,iBAAA,CAAA,EAAA,kBAAA;CASR,GAAA,CAAA;;SALH;;;EAyFM;EAGV,QAAA,EAvFO,eAuF6D;EAAxB,KAAA,CAAA,EAAA,KAAA;CAAY,CAAA;YAV1D,OAUuB,EAAA,CAAA,CAAA;KATtB,WAAA,GASqC,CAAA,CAAA,GAAA;EAAA,OAAA,CAAA,EAAA,CACF,KAAA,EAAA,OATX,OASD,EAAA,GAAY,GAAA;AAAxC,CAAA;cAJM,kBAAU;;;;;;;;;;iBArHA;;;;;;iBAOA;;;;;;;;;sBAUK;;;;;;sBAOA;;;SAIX;;;;;;;;;;;;iBA5BM;;;;;;iBAOA;;;;;;;;;sBAUK;;;;;;sBAOA;;;YASR;;oBAAe,KAAA,CAAA,qBAAA;;;;;;;;;;iBAjCZ;;;;;;iBAOA;;;;;;;;;sBAUK;;;;;;sBAOA;;;SAIX;;;;;;;;;;;;iBA5BM;;;;;;iBAOA;;;;;;;;;sBAUK;;;;;;sBAOA;;;YASR;;;cAuFP,cAAqB,uBAAuB,YAAY;cAApB,iBACd;KACvB,wBAAwB;;YAEnB"}
|
|
@@ -9,46 +9,35 @@ import { LinkResolverFunction, RichTextField } from "@prismicio/client";
|
|
|
9
9
|
* Props for `<PrismicRichText />`.
|
|
10
10
|
*/
|
|
11
11
|
type PrismicRichTextProps = {
|
|
12
|
+
/** The Prismic rich text field to render. */
|
|
13
|
+
field: RichTextField | null | undefined;
|
|
12
14
|
/**
|
|
13
|
-
* The
|
|
15
|
+
* The link resolver used to resolve links.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* If your app uses route resolvers when querying for your Prismic
|
|
19
|
+
* repository's content, a link resolver does not need to be provided.
|
|
20
|
+
*
|
|
21
|
+
* @see Learn about link resolvers and route resolvers {@link https://prismic.io/docs/routes}
|
|
14
22
|
*/
|
|
15
|
-
|
|
23
|
+
linkResolver?: LinkResolverFunction;
|
|
16
24
|
/**
|
|
17
|
-
* An object that maps a rich text block type to a Vue component.
|
|
25
|
+
* An object that maps a rich text block type to a Vue component or a shorthand definition.
|
|
18
26
|
*
|
|
19
27
|
* @example
|
|
20
28
|
*
|
|
21
29
|
* ```javascript
|
|
22
30
|
* {
|
|
23
31
|
* heading1: Heading1,
|
|
32
|
+
* paragraph: { class: 'prose'},
|
|
33
|
+
* strong: { as: 'em', class: 'font-bold' },
|
|
24
34
|
* }
|
|
25
35
|
* ```
|
|
26
36
|
*/
|
|
27
37
|
components?: VueRichTextSerializer;
|
|
28
|
-
/**
|
|
29
|
-
* A link resolver function used to resolve link when not using the route
|
|
30
|
-
* resolver parameter with `@prismicio/client`.
|
|
31
|
-
*
|
|
32
|
-
* @defaultValue The link resolver provided to `@prismicio/vue` plugin if configured.
|
|
33
|
-
*
|
|
34
|
-
* @see Link resolver documentation {@link https://prismic.io/docs/core-concepts/link-resolver-route-resolver#link-resolver}
|
|
35
|
-
*/
|
|
36
|
-
linkResolver?: LinkResolverFunction;
|
|
37
|
-
/**
|
|
38
|
-
* The Vue component rendered for links when the URL is internal.
|
|
39
|
-
*
|
|
40
|
-
* @defaultValue `<RouterLink>`
|
|
41
|
-
*/
|
|
42
|
-
internalLinkComponent?: ComponentOrTagName;
|
|
43
|
-
/**
|
|
44
|
-
* The Vue component rendered for links when the URL is external.
|
|
45
|
-
*
|
|
46
|
-
* @defaultValue `<a>`
|
|
47
|
-
*/
|
|
48
|
-
externalLinkComponent?: ComponentOrTagName;
|
|
49
38
|
/**
|
|
50
39
|
* The value to be rendered when the field is empty. If a fallback is not
|
|
51
|
-
* given, `null`
|
|
40
|
+
* given, `null` will be rendered.
|
|
52
41
|
*/
|
|
53
42
|
fallback?: ComponentOrTagName;
|
|
54
43
|
};
|
|
@@ -56,17 +45,11 @@ declare const __VLS_export: vue0.DefineComponent<vue0.ExtractPropTypes<{
|
|
|
56
45
|
field: {
|
|
57
46
|
type: PropType<PrismicRichTextProps["field"]>;
|
|
58
47
|
};
|
|
59
|
-
components: {
|
|
60
|
-
type: PropType<PrismicRichTextProps["components"]>;
|
|
61
|
-
};
|
|
62
48
|
linkResolver: {
|
|
63
49
|
type: PropType<PrismicRichTextProps["linkResolver"]>;
|
|
64
50
|
};
|
|
65
|
-
|
|
66
|
-
type: PropType<PrismicRichTextProps["
|
|
67
|
-
};
|
|
68
|
-
externalLinkComponent: {
|
|
69
|
-
type: PropType<PrismicRichTextProps["externalLinkComponent"]>;
|
|
51
|
+
components: {
|
|
52
|
+
type: PropType<PrismicRichTextProps["components"]>;
|
|
70
53
|
};
|
|
71
54
|
fallback: {
|
|
72
55
|
type: PropType<PrismicRichTextProps["fallback"]>;
|
|
@@ -75,17 +58,11 @@ declare const __VLS_export: vue0.DefineComponent<vue0.ExtractPropTypes<{
|
|
|
75
58
|
field: {
|
|
76
59
|
type: PropType<PrismicRichTextProps["field"]>;
|
|
77
60
|
};
|
|
78
|
-
components: {
|
|
79
|
-
type: PropType<PrismicRichTextProps["components"]>;
|
|
80
|
-
};
|
|
81
61
|
linkResolver: {
|
|
82
62
|
type: PropType<PrismicRichTextProps["linkResolver"]>;
|
|
83
63
|
};
|
|
84
|
-
|
|
85
|
-
type: PropType<PrismicRichTextProps["
|
|
86
|
-
};
|
|
87
|
-
externalLinkComponent: {
|
|
88
|
-
type: PropType<PrismicRichTextProps["externalLinkComponent"]>;
|
|
64
|
+
components: {
|
|
65
|
+
type: PropType<PrismicRichTextProps["components"]>;
|
|
89
66
|
};
|
|
90
67
|
fallback: {
|
|
91
68
|
type: PropType<PrismicRichTextProps["fallback"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicRichText.vue.d.cts","names":[],"sources":["../../src/PrismicRichText/PrismicRichText.vue"],"sourcesContent":[],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"PrismicRichText.vue.d.cts","names":[],"sources":["../../src/PrismicRichText/PrismicRichText.vue"],"sourcesContent":[],"mappings":";;;;;;;;;;AA6JY,KAAA,oBAAA,GAAoB;EAExB;EAWQ,KAAA,EAXR,aAWQ,GAAA,IAAA,GAAA,SAAA;EAeF;;;AAOb;;;;;;EAwHiB,YAAA,CAAA,EA9IF,oBA8IE;EAIf;;;;;;;;;;;;;EADmC,UAAA,CAAA,EAlIxB,qBAkIwB;EAAQ;;;;UAZ5B,CAAA,EAhHN,kBAgHM;CAAA;AAAA,cAAZ,YAkBsB,OAlBV,eAkBsB,CANM,IAAA,CAZ5B,gBAkBsB,CAAA;;UAfZ,SAAS;;;UAGjB,SAAS;;;UAGX,SAAS;;;UAGW,SACnC;;oBAbe,IAAA,CAAA,qBAAA,qEAY4B,IAAA,CAAA;;UATlB,SAAS;;;UAGjB,SAAS;;;UAGX,SAAS;;;UAGW,SACnC;;;cAbe,iBAkBU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { RTAnyNode, RichTextNodeType } from "@prismicio/client";
|
|
1
|
+
import { VueComponent } from "../types.cjs";
|
|
2
|
+
import { LinkResolverFunction, RTAnyNode, RichTextNodeType } from "@prismicio/client";
|
|
3
3
|
|
|
4
4
|
//#region src/PrismicRichText/types.d.ts
|
|
5
5
|
|
|
@@ -21,7 +21,7 @@ type RichTextComponentProps<TRTNode extends RTAnyNode = RTAnyNode> = {
|
|
|
21
21
|
*
|
|
22
22
|
* @typeParam TRTNode - The type of rich text node(s) this component handles
|
|
23
23
|
*/
|
|
24
|
-
type VueRichTextComponent<TRTNode extends RTAnyNode = RTAnyNode> =
|
|
24
|
+
type VueRichTextComponent<TRTNode extends RTAnyNode = RTAnyNode> = VueComponent<RichTextComponentProps<TRTNode>>;
|
|
25
25
|
/**
|
|
26
26
|
* A shorthand definition for {@link VueRichTextSerializer} component types.
|
|
27
27
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/PrismicRichText/types.ts"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/PrismicRichText/types.ts"],"sourcesContent":[],"mappings":";;;;;;;AAcA;;;;AACC,KADW,qBAAA,GAAwB,OACnC,CAAA,MAAA,CAAA,MAAA,OAAoB,gBAApB,EAAsC,oBAAtC,GAA6D,YAA7D,CAAA,CAAA;;;AAMD;AAAmD,KAAvC,sBAAuC,CAAA,gBAAA,SAAA,GAAY,SAAZ,CAAA,GAAA;EAAY,IAAA,EACxD,OADwD;CACxD;;AACN;;;;KAOI,oBACJ,CAAA,gBADyC,SACzC,GADqD,SACrD,CAAA,GADkE,YAClE,CAAA,sBAAA,CAAuB,OAAvB,CAAA,CAAA;;;AAMD;KAAY,YAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentOrTagName } from "../types.cjs";
|
|
2
2
|
import { VueRichTextSerializer } from "../PrismicRichText/types.cjs";
|
|
3
3
|
import { VueTableComponents } from "./types.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue6 from "vue";
|
|
5
5
|
import { TableField } from "@prismicio/client";
|
|
6
6
|
|
|
7
7
|
//#region src/PrismicTable/PrismicTable.vue.d.ts
|
|
@@ -9,18 +9,18 @@ import { TableField } from "@prismicio/client";
|
|
|
9
9
|
* Props for `<PrismicTable />`.
|
|
10
10
|
*/
|
|
11
11
|
type PrismicTableProps = {
|
|
12
|
-
/**
|
|
13
|
-
* The Prismic table field to render.
|
|
14
|
-
*/
|
|
12
|
+
/** The Prismic table field to render. */
|
|
15
13
|
field: TableField | undefined;
|
|
16
14
|
/**
|
|
17
|
-
* An object that maps a table block type to a Vue component.
|
|
15
|
+
* An object that maps a table block type to a Vue component or a shorthand definition.
|
|
18
16
|
*
|
|
19
17
|
* @example
|
|
20
18
|
*
|
|
21
19
|
* ```javascript
|
|
22
20
|
* {
|
|
23
21
|
* table: Table,
|
|
22
|
+
* thead: { class: 'bg-black text-white' },
|
|
23
|
+
* th: { as: 'td', class: 'font-bold' },
|
|
24
24
|
* }
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
@@ -31,7 +31,7 @@ type PrismicTableProps = {
|
|
|
31
31
|
*/
|
|
32
32
|
fallback?: ComponentOrTagName;
|
|
33
33
|
};
|
|
34
|
-
declare const __VLS_export:
|
|
34
|
+
declare const __VLS_export: vue6.DefineComponent<PrismicTableProps, {}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<PrismicTableProps> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { PrismicTableProps, _default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrismicTable.vue.d.cts","names":[],"sources":["../../src/PrismicTable/PrismicTable.vue"],"sourcesContent":[],"mappings":";;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"PrismicTable.vue.d.cts","names":[],"sources":["../../src/PrismicTable/PrismicTable.vue"],"sourcesContent":[],"mappings":";;;;;;;;;;AA4HY,KAAA,iBAAA,GAAiB;EAErB;EAeM,KAAA,EAfN,UAeM,GAAA,SAAA;EAAqB;;;AAOlC;;;;;;;;;;EAkJiB,UAAA,CAAA,EAzJJ,kBAyJI,GAzJiB,qBAyJjB;EAAA;;;;aAnJN;;cAmJN,cAAY,IAAA,CAAA,gBAAA,mCAAA,IAAA,CAAA,qBAAA,EAAA,IAAA,CAAA,qBAAA,cAAA,IAAA,CAAA,WAAA,EAAA,SAAA,qBAAA,sCAAA,IAAA,CAAA,uBAAA;cAAA,iBAGU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { VueComponent } from "../types.cjs";
|
|
1
2
|
import { VueShorthand } from "../PrismicRichText/types.cjs";
|
|
2
|
-
import { DefineComponent, FunctionalComponent, defineAsyncComponent } from "vue";
|
|
3
3
|
import { TableField, TableFieldBody, TableFieldBodyRow, TableFieldDataCell, TableFieldHead, TableFieldHeadRow, TableFieldHeaderCell } from "@prismicio/client";
|
|
4
4
|
|
|
5
5
|
//#region src/PrismicTable/types.d.ts
|
|
@@ -30,7 +30,6 @@ type VueTableComponents = {
|
|
|
30
30
|
cell: TableFieldDataCell;
|
|
31
31
|
}> | VueShorthand;
|
|
32
32
|
};
|
|
33
|
-
type VueComponent<TProps> = ReturnType<typeof defineAsyncComponent> | DefineComponent<TProps> | FunctionalComponent<TProps>;
|
|
34
33
|
//#endregion
|
|
35
34
|
export { VueTableComponents };
|
|
36
35
|
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/PrismicTable/types.ts"],"sourcesContent":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../src/PrismicTable/types.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAmBA;;;;AAE8B,KAFlB,kBAAA,GAEkB;EAArB,KAAA,CAAA,EADA,YACA,CAAA;IAAyC,KAAA,EADnB,UACmB,CAAA,QAAA,CAAA;EACpB,CAAA,CAAA,GAF2B,YAE3B;EAArB,KAAA,CAAA,EADA,YACA,CAAA;IAAyC,IAAA,EADpB,cACoB;EAE1B,CAAA,CAAA,GAH0B,YAG1B;EAAoB,KAAA,CAAA,EAFnC,YAEmC,CAAA;IAAxC,IAAA,EAF0B,cAE1B;EACA,CAAA,CAAA,GAH8C,YAG9C;EACuB,EAAA,CAAA,EAFvB,YAEuB,CAAA;IAArB,GAAA,EAFkB,iBAElB,GAFsC,iBAEtC;EAA+C,CAAA,CAAA,GADjD,YACiD;EAC1B,EAAA,CAAA,EADrB,YACqB,CAAA;IAArB,IAAA,EADqB,oBACrB;EAA6C,CAAA,CAAA,GADE,YACF;EAAY,EAAA,CAAA,EAAzD,YAAyD,CAAA;UAApC;OAAwB"}
|