@slicemachine/adapter-nuxt 0.3.39-beta.8 → 0.3.39

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.
@@ -36,218 +36,222 @@ export const mocks: SharedSliceContent[] = [
36
36
  },
37
37
  ],
38
38
  },
39
- },
40
- items: [
41
- {
42
- __TYPE__: "GroupItemContent",
39
+ logos: {
40
+ __TYPE__: "GroupContentType",
43
41
  value: [
44
- [
45
- "image",
46
- {
47
- origin: {
48
- id: "main",
49
- url: "https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg",
50
- width: 2545,
51
- height: 2545,
52
- },
53
- url: "https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg",
54
- width: 2545,
55
- height: 2545,
56
- edit: {
57
- zoom: 1,
58
- crop: {
59
- x: 0,
60
- y: 0,
42
+ {
43
+ __TYPE__: "GroupItemContent",
44
+ value: [
45
+ [
46
+ "image",
47
+ {
48
+ origin: {
49
+ id: "main",
50
+ url: "https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg",
51
+ width: 2545,
52
+ height: 2545,
53
+ },
54
+ url: "https://images.prismic.io/slicesexamples/95a608cd-8d3c-40c1-a554-0bec1b89eda5_logo-3.svg",
55
+ width: 2545,
56
+ height: 2545,
57
+ edit: {
58
+ zoom: 1,
59
+ crop: {
60
+ x: 0,
61
+ y: 0,
62
+ },
63
+ background: "transparent",
64
+ },
65
+ credits: null,
66
+ alt: "Customer Logo",
67
+ __TYPE__: "ImageContent",
68
+ thumbnails: {},
61
69
  },
62
- background: "transparent",
63
- },
64
- credits: null,
65
- alt: "Customer Logo",
66
- __TYPE__: "ImageContent",
67
- thumbnails: {},
68
- },
69
- ],
70
- [
71
- "link",
72
- {
73
- __TYPE__: "LinkContent",
74
- value: {
75
- __TYPE__: "ExternalLink",
76
- url: "http://twitter.com",
77
- },
78
- },
79
- ],
80
- ],
81
- },
82
- {
83
- __TYPE__: "GroupItemContent",
84
- value: [
85
- [
86
- "image",
87
- {
88
- url: "https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg",
89
- origin: {
90
- id: "xnRg3xDcNnE",
91
- url: "https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg",
92
- width: 7173,
93
- height: 10041,
94
- },
95
- width: 7173,
96
- height: 10041,
97
- edit: {
98
- background: "transparent",
99
- zoom: 1,
100
- crop: {
101
- x: 0,
102
- y: 0,
70
+ ],
71
+ [
72
+ "link",
73
+ {
74
+ __TYPE__: "LinkContent",
75
+ value: {
76
+ __TYPE__: "ExternalLink",
77
+ url: "http://twitter.com",
78
+ },
103
79
  },
104
- },
105
- credits: null,
106
- alt: "Customer Logo",
107
- __TYPE__: "ImageContent",
108
- thumbnails: {},
109
- },
110
- ],
111
- [
112
- "link",
113
- {
114
- __TYPE__: "LinkContent",
115
- value: {
116
- __TYPE__: "ExternalLink",
117
- url: "https://prismic.io",
118
- target: "_blank",
119
- },
120
- },
121
- ],
122
- ],
123
- },
124
- {
125
- __TYPE__: "GroupItemContent",
126
- value: [
127
- [
128
- "image",
129
- {
130
- url: "https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg",
131
- origin: {
132
- id: "U1iYwZ8Dx7k",
133
- url: "https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg",
134
- width: 3337,
135
- height: 4171,
136
- },
137
- width: 3337,
138
- height: 4171,
139
- edit: {
140
- background: "transparent",
141
- zoom: 1,
142
- crop: {
143
- x: 0,
144
- y: 0,
80
+ ],
81
+ ],
82
+ },
83
+ {
84
+ __TYPE__: "GroupItemContent",
85
+ value: [
86
+ [
87
+ "image",
88
+ {
89
+ url: "https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg",
90
+ origin: {
91
+ id: "xnRg3xDcNnE",
92
+ url: "https://images.prismic.io/slicesexamples/b62a8629-f7f1-4d2e-885a-bd7c6bcff201_logo-2.svg",
93
+ width: 7173,
94
+ height: 10041,
95
+ },
96
+ width: 7173,
97
+ height: 10041,
98
+ edit: {
99
+ background: "transparent",
100
+ zoom: 1,
101
+ crop: {
102
+ x: 0,
103
+ y: 0,
104
+ },
105
+ },
106
+ credits: null,
107
+ alt: "Customer Logo",
108
+ __TYPE__: "ImageContent",
109
+ thumbnails: {},
145
110
  },
146
- },
147
- credits: null,
148
- alt: "Customer Logo",
149
- __TYPE__: "ImageContent",
150
- thumbnails: {},
151
- },
152
- ],
153
- [
154
- "link",
155
- {
156
- __TYPE__: "LinkContent",
157
- value: {
158
- __TYPE__: "ExternalLink",
159
- url: "https://prismic.io",
160
- target: "",
161
- },
162
- },
163
- ],
164
- ],
165
- },
166
- {
167
- __TYPE__: "GroupItemContent",
168
- value: [
169
- [
170
- "image",
171
- {
172
- url: "https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg",
173
- origin: {
174
- id: "nibgG33H0F8",
175
- url: "https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg",
176
- width: 4000,
177
- height: 6000,
178
- },
179
- width: 4000,
180
- height: 6000,
181
- edit: {
182
- background: "transparent",
183
- zoom: 1,
184
- crop: {
185
- x: 0,
186
- y: 0,
111
+ ],
112
+ [
113
+ "link",
114
+ {
115
+ __TYPE__: "LinkContent",
116
+ value: {
117
+ __TYPE__: "ExternalLink",
118
+ url: "https://prismic.io",
119
+ target: "_blank",
120
+ },
187
121
  },
188
- },
189
- credits: null,
190
- alt: "Customer Logo",
191
- __TYPE__: "ImageContent",
192
- thumbnails: {},
193
- },
194
- ],
195
- [
196
- "link",
197
- {
198
- __TYPE__: "LinkContent",
199
- value: {
200
- __TYPE__: "ExternalLink",
201
- url: "https://prismic.io",
202
- target: "",
203
- },
204
- },
205
- ],
206
- ],
207
- },
208
- {
209
- __TYPE__: "GroupItemContent",
210
- value: [
211
- [
212
- "image",
213
- {
214
- url: "https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg",
215
- origin: {
216
- id: "nAOZCYcLND8",
217
- url: "https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg",
218
- width: 2749,
219
- height: 4124,
220
- },
221
- width: 2749,
222
- height: 4124,
223
- edit: {
224
- background: "transparent",
225
- zoom: 1,
226
- crop: {
227
- x: 0,
228
- y: 0,
122
+ ],
123
+ ],
124
+ },
125
+ {
126
+ __TYPE__: "GroupItemContent",
127
+ value: [
128
+ [
129
+ "image",
130
+ {
131
+ url: "https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg",
132
+ origin: {
133
+ id: "U1iYwZ8Dx7k",
134
+ url: "https://images.prismic.io/slicesexamples/4360a72b-bfe4-4144-911c-597146f72c00_logo-5.svg",
135
+ width: 3337,
136
+ height: 4171,
137
+ },
138
+ width: 3337,
139
+ height: 4171,
140
+ edit: {
141
+ background: "transparent",
142
+ zoom: 1,
143
+ crop: {
144
+ x: 0,
145
+ y: 0,
146
+ },
147
+ },
148
+ credits: null,
149
+ alt: "Customer Logo",
150
+ __TYPE__: "ImageContent",
151
+ thumbnails: {},
229
152
  },
230
- },
231
- credits: null,
232
- alt: "Customer Logo",
233
- __TYPE__: "ImageContent",
234
- thumbnails: {},
235
- },
236
- ],
237
- [
238
- "link",
239
- {
240
- __TYPE__: "LinkContent",
241
- value: {
242
- __TYPE__: "ExternalLink",
243
- url: "https://prismic.io",
244
- target: "",
245
- },
246
- },
247
- ],
153
+ ],
154
+ [
155
+ "link",
156
+ {
157
+ __TYPE__: "LinkContent",
158
+ value: {
159
+ __TYPE__: "ExternalLink",
160
+ url: "https://prismic.io",
161
+ target: "",
162
+ },
163
+ },
164
+ ],
165
+ ],
166
+ },
167
+ {
168
+ __TYPE__: "GroupItemContent",
169
+ value: [
170
+ [
171
+ "image",
172
+ {
173
+ url: "https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg",
174
+ origin: {
175
+ id: "nibgG33H0F8",
176
+ url: "https://images.prismic.io/slicesexamples/846576e2-c93c-40dd-8aaa-b97f4e99e7aa_logo-1.svg",
177
+ width: 4000,
178
+ height: 6000,
179
+ },
180
+ width: 4000,
181
+ height: 6000,
182
+ edit: {
183
+ background: "transparent",
184
+ zoom: 1,
185
+ crop: {
186
+ x: 0,
187
+ y: 0,
188
+ },
189
+ },
190
+ credits: null,
191
+ alt: "Customer Logo",
192
+ __TYPE__: "ImageContent",
193
+ thumbnails: {},
194
+ },
195
+ ],
196
+ [
197
+ "link",
198
+ {
199
+ __TYPE__: "LinkContent",
200
+ value: {
201
+ __TYPE__: "ExternalLink",
202
+ url: "https://prismic.io",
203
+ target: "",
204
+ },
205
+ },
206
+ ],
207
+ ],
208
+ },
209
+ {
210
+ __TYPE__: "GroupItemContent",
211
+ value: [
212
+ [
213
+ "image",
214
+ {
215
+ url: "https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg",
216
+ origin: {
217
+ id: "nAOZCYcLND8",
218
+ url: "https://images.prismic.io/slicesexamples/23461395-458d-41f5-be25-bac37a4ff53e_logo-6.svg",
219
+ width: 2749,
220
+ height: 4124,
221
+ },
222
+ width: 2749,
223
+ height: 4124,
224
+ edit: {
225
+ background: "transparent",
226
+ zoom: 1,
227
+ crop: {
228
+ x: 0,
229
+ y: 0,
230
+ },
231
+ },
232
+ credits: null,
233
+ alt: "Customer Logo",
234
+ __TYPE__: "ImageContent",
235
+ thumbnails: {},
236
+ },
237
+ ],
238
+ [
239
+ "link",
240
+ {
241
+ __TYPE__: "LinkContent",
242
+ value: {
243
+ __TYPE__: "ExternalLink",
244
+ url: "https://prismic.io",
245
+ target: "",
246
+ },
247
+ },
248
+ ],
249
+ ],
250
+ },
248
251
  ],
249
252
  },
250
- ],
253
+ },
254
+ items: [],
251
255
  },
252
256
  ];
253
257
 
@@ -289,22 +293,28 @@ export const model: SharedSlice = {
289
293
  select: null,
290
294
  },
291
295
  },
292
- },
293
- items: {
294
- image: {
295
- type: "Image",
296
- config: {
297
- label: "image",
298
- constraint: {},
299
- thumbnails: [],
300
- },
301
- },
302
- link: {
303
- type: "Link",
296
+ logos: {
297
+ type: "Group",
304
298
  config: {
305
- label: "link",
306
- placeholder: "",
307
- select: null,
299
+ label: "logos",
300
+ fields: {
301
+ image: {
302
+ type: "Image",
303
+ config: {
304
+ label: "image",
305
+ constraint: {},
306
+ thumbnails: [],
307
+ },
308
+ },
309
+ link: {
310
+ type: "Link",
311
+ config: {
312
+ label: "link",
313
+ placeholder: "",
314
+ select: null,
315
+ },
316
+ },
317
+ },
308
318
  },
309
319
  },
310
320
  },
@@ -161,12 +161,7 @@ export const mocks: SharedSliceContent[] = [
161
161
  },
162
162
  },
163
163
  },
164
- items: [
165
- {
166
- __TYPE__: "GroupItemContent",
167
- value: [],
168
- },
169
- ],
164
+ items: [],
170
165
  },
171
166
  ];
172
167