@shopware/composables 0.0.0-canary-20250116155626

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.
Files changed (137) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +172 -0
  3. package/composables/index.ts +1 -0
  4. package/dist/index.d.mts +2239 -0
  5. package/dist/index.d.ts +2239 -0
  6. package/dist/index.mjs +2686 -0
  7. package/nuxt.config.ts +14 -0
  8. package/package.json +83 -0
  9. package/src/_test/index.ts +1 -0
  10. package/src/_test/useSetup.ts +43 -0
  11. package/src/cms/README.md +9 -0
  12. package/src/cms/cmsAssociations.ts +28 -0
  13. package/src/cms/index.ts +2 -0
  14. package/src/cms/useCmsElementConfig.test.ts +145 -0
  15. package/src/cms/useCmsElementConfig.ts +29 -0
  16. package/src/cms/useCmsElementImage.test.ts +179 -0
  17. package/src/cms/useCmsElementImage.ts +103 -0
  18. package/src/cms/useCmsElementProductBox.test.ts +15 -0
  19. package/src/cms/useCmsElementProductBox.ts +25 -0
  20. package/src/createShopwareContext.test.ts +23 -0
  21. package/src/createShopwareContext.ts +43 -0
  22. package/src/devtools/plugin.ts +201 -0
  23. package/src/helpers/ContextError.spec.ts +20 -0
  24. package/src/helpers/ContextError.ts +6 -0
  25. package/src/index.test.ts +54 -0
  26. package/src/index.ts +111 -0
  27. package/src/mocks/Cart.ts +774 -0
  28. package/src/mocks/CmsPage.ts +544 -0
  29. package/src/mocks/CmsProductBox.ts +377 -0
  30. package/src/mocks/Configurator.ts +123 -0
  31. package/src/mocks/Country.ts +184 -0
  32. package/src/mocks/CrossSellingResponse.ts +552 -0
  33. package/src/mocks/LandingPage.ts +62 -0
  34. package/src/mocks/Menu.ts +598 -0
  35. package/src/mocks/Order.ts +1151 -0
  36. package/src/mocks/Product.ts +473 -0
  37. package/src/mocks/ProductTierPrices.ts +771 -0
  38. package/src/mocks/Salutations.ts +51 -0
  39. package/src/mocks/Search.ts +518 -0
  40. package/src/types/cmsBlockTypes.ts +80 -0
  41. package/src/types/cmsElementTypes.ts +381 -0
  42. package/src/types/cmsSectionTypes.ts +15 -0
  43. package/src/types/index.ts +52 -0
  44. package/src/useAddToCart/useAddToCart.test.ts +39 -0
  45. package/src/useAddToCart/useAddToCart.ts +90 -0
  46. package/src/useAddress/useAddress.test.ts +134 -0
  47. package/src/useAddress/useAddress.ts +202 -0
  48. package/src/useB2bQuoteManagement/useB2bQuoteManagement.test.ts +137 -0
  49. package/src/useB2bQuoteManagement/useB2bQuoteManagement.ts +225 -0
  50. package/src/useBreadcrumbs/useBreadcrumbs.test.ts +71 -0
  51. package/src/useBreadcrumbs/useBreadcrumbs.ts +89 -0
  52. package/src/useCart/useCart.test.ts +251 -0
  53. package/src/useCart/useCart.ts +314 -0
  54. package/src/useCartErrorParamsResolver/useCartErrorParamsResolver.test.ts +122 -0
  55. package/src/useCartErrorParamsResolver/useCartErrorParamsResolver.ts +80 -0
  56. package/src/useCartItem/useCartItem.test.ts +168 -0
  57. package/src/useCartItem/useCartItem.ts +157 -0
  58. package/src/useCartNotification/useCartNotification.test.ts +129 -0
  59. package/src/useCartNotification/useCartNotification.ts +63 -0
  60. package/src/useCategory/useCategory.test.ts +14 -0
  61. package/src/useCategory/useCategory.ts +32 -0
  62. package/src/useCategorySearch/useCategorySearch.test.ts +98 -0
  63. package/src/useCategorySearch/useCategorySearch.ts +81 -0
  64. package/src/useCheckout/useCheckout.test.ts +104 -0
  65. package/src/useCheckout/useCheckout.ts +163 -0
  66. package/src/useCmsBlock/useCmsBlock.test.ts +25 -0
  67. package/src/useCmsBlock/useCmsBlock.ts +36 -0
  68. package/src/useCmsMeta/useCmsMeta.test.ts +17 -0
  69. package/src/useCmsMeta/useCmsMeta.ts +46 -0
  70. package/src/useCmsSection/useCmsSection.test.ts +18 -0
  71. package/src/useCmsSection/useCmsSection.ts +39 -0
  72. package/src/useCmsTranslations/useCmsTranslations.test.ts +10 -0
  73. package/src/useCmsTranslations/useCmsTranslations.ts +9 -0
  74. package/src/useContext/useContext.ts +36 -0
  75. package/src/useCountries/useCountries.test.ts +64 -0
  76. package/src/useCountries/useCountries.ts +64 -0
  77. package/src/useCustomerOrders/useCustomerOrders.test.ts +47 -0
  78. package/src/useCustomerOrders/useCustomerOrders.ts +89 -0
  79. package/src/useCustomerPassword/useCustomerPassword.test.ts +164 -0
  80. package/src/useCustomerPassword/useCustomerPassword.ts +57 -0
  81. package/src/useDefaultOrderAssociations/useDefaultOrderAssociations.test.ts +41 -0
  82. package/src/useDefaultOrderAssociations/useDefaultOrderAssociations.ts +45 -0
  83. package/src/useInternationalization/useInternationalization.test.ts +155 -0
  84. package/src/useInternationalization/useInternationalization.ts +159 -0
  85. package/src/useLandingSearch/useLandingSearch.test.ts +30 -0
  86. package/src/useLandingSearch/useLandingSearch.ts +58 -0
  87. package/src/useListing/useListing.test.ts +249 -0
  88. package/src/useListing/useListing.ts +592 -0
  89. package/src/useLocalWishlist/useLocalWishlist.test.ts +54 -0
  90. package/src/useLocalWishlist/useLocalWishlist.ts +95 -0
  91. package/src/useNavigation/useNavigation.test.ts +68 -0
  92. package/src/useNavigation/useNavigation.ts +83 -0
  93. package/src/useNavigationContext/useNavigationContext.test.ts +48 -0
  94. package/src/useNavigationContext/useNavigationContext.ts +39 -0
  95. package/src/useNavigationSearch/useNavigationSearch.test.ts +110 -0
  96. package/src/useNavigationSearch/useNavigationSearch.ts +60 -0
  97. package/src/useNewsletter/useNewsletter.test.ts +55 -0
  98. package/src/useNewsletter/useNewsletter.ts +109 -0
  99. package/src/useNotifications/useNotifications.test.ts +56 -0
  100. package/src/useNotifications/useNotifications.ts +119 -0
  101. package/src/useOrderDetails/useOrderDetails.test.ts +224 -0
  102. package/src/useOrderDetails/useOrderDetails.ts +329 -0
  103. package/src/useOrderPayment/useOrderPayment.test.ts +80 -0
  104. package/src/useOrderPayment/useOrderPayment.ts +119 -0
  105. package/src/usePrice/usePrice.test.ts +97 -0
  106. package/src/usePrice/usePrice.ts +106 -0
  107. package/src/useProduct/useProduct.test.ts +36 -0
  108. package/src/useProduct/useProduct.ts +56 -0
  109. package/src/useProductAssociations/useProductAssociations.spec.ts +105 -0
  110. package/src/useProductAssociations/useProductAssociations.ts +107 -0
  111. package/src/useProductConfigurator/useProductConfigurator.spec.ts +77 -0
  112. package/src/useProductConfigurator/useProductConfigurator.ts +134 -0
  113. package/src/useProductPrice/useProductPrice.test.ts +126 -0
  114. package/src/useProductPrice/useProductPrice.ts +131 -0
  115. package/src/useProductReviews/useProductReviews.test.ts +45 -0
  116. package/src/useProductReviews/useProductReviews.ts +80 -0
  117. package/src/useProductSearch/useProductSearch.test.ts +37 -0
  118. package/src/useProductSearch/useProductSearch.ts +58 -0
  119. package/src/useProductSearchSuggest/useProductSearchSuggest.test.ts +19 -0
  120. package/src/useProductSearchSuggest/useProductSearchSuggest.ts +67 -0
  121. package/src/useProductWishlist/useProductWishlist.test.ts +63 -0
  122. package/src/useProductWishlist/useProductWishlist.ts +74 -0
  123. package/src/useSalutations/useSalutations.spec.ts +37 -0
  124. package/src/useSalutations/useSalutations.ts +55 -0
  125. package/src/useSessionContext/useSessionContext.test.ts +221 -0
  126. package/src/useSessionContext/useSessionContext.ts +281 -0
  127. package/src/useShopwareContext/useShopwareContext.test.ts +8 -0
  128. package/src/useShopwareContext/useShopwareContext.ts +31 -0
  129. package/src/useSyncWishlist/useSyncWishlist.test.ts +117 -0
  130. package/src/useSyncWishlist/useSyncWishlist.ts +117 -0
  131. package/src/useUrlResolver/useUrlResolver.test.ts +25 -0
  132. package/src/useUrlResolver/useUrlResolver.ts +31 -0
  133. package/src/useUser/useUser.test.ts +290 -0
  134. package/src/useUser/useUser.ts +321 -0
  135. package/src/useWishlist/useWishlist.test.ts +178 -0
  136. package/src/useWishlist/useWishlist.ts +128 -0
  137. package/types/api-types.ts +11 -0
@@ -0,0 +1,544 @@
1
+ const CmsPage = {
2
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
3
+ translated: {
4
+ breadcrumb: ["Home", "Welcome to Shopware Frontends!"],
5
+ name: "Welcome to Shopware Frontends!",
6
+ customFields: {},
7
+ linkType: null,
8
+ internalLink: null,
9
+ externalLink: null,
10
+ linkNewTab: null,
11
+ description: null,
12
+ metaTitle: "Welcome to Shopware Frontends!",
13
+ metaDescription: null,
14
+ keywords: null,
15
+ },
16
+ createdAt: "2020-08-06T06:26:25.019+00:00",
17
+ updatedAt: "2023-09-08T07:52:19.129+00:00",
18
+ afterCategoryId: "018a73c6d73573d8b1be70d608736208",
19
+ parentId: "525abe8981214bd2ba94fd33942333ec",
20
+ mediaId: null,
21
+ name: "Welcome to Shopware Frontends!",
22
+ breadcrumb: ["Home", "Welcome to Shopware Frontends!"],
23
+ path: "|525abe8981214bd2ba94fd33942333ec|",
24
+ level: 2,
25
+ active: true,
26
+ childCount: 6,
27
+ visibleChildCount: 0,
28
+ displayNestedProducts: true,
29
+ parent: null,
30
+ children: null,
31
+ translations: null,
32
+ media: null,
33
+ tags: null,
34
+ cmsPageId: "91ed0260fd7a493882668fd444f5fb48",
35
+ cmsPageIdSwitched: false,
36
+ cmsPage: {
37
+ extensions: {
38
+ swagCmsExtensionsScrollNavigationPageSettings: {
39
+ translated: [],
40
+ id: "91ed0260fd7a493882668fd444f5fb48",
41
+ active: false,
42
+ duration: 1000,
43
+ easing: "inOut",
44
+ bouncy: false,
45
+ easingDegree: 3,
46
+ nativeScrolling: true,
47
+ cmsPageId: null,
48
+ cmsPageVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
49
+ cmsPage: null,
50
+ createdAt: "2022-09-13T11:01:25.907+00:00",
51
+ updatedAt: null,
52
+ apiAlias: "swag_cms_extensions_scroll_navigation_page_settings",
53
+ },
54
+ },
55
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
56
+ translated: {
57
+ name: "Home",
58
+ customFields: {},
59
+ },
60
+ createdAt: "2020-08-06T06:26:23.938+00:00",
61
+ updatedAt: "2024-05-06T09:42:38.583+00:00",
62
+ name: "Home",
63
+ type: "landingpage",
64
+ entity: null,
65
+ sections: [
66
+ {
67
+ translated: [],
68
+ createdAt: "2020-08-06T06:26:23.880+00:00",
69
+ updatedAt: "2024-05-06T09:42:38.583+00:00",
70
+ type: "default",
71
+ blocks: [
72
+ {
73
+ extensions: {
74
+ swagCmsExtensionsBlockRule: {
75
+ translated: [],
76
+ id: "4757cbdc8846404681b245b85795ca42",
77
+ inverted: false,
78
+ visibilityRuleId: null,
79
+ cmsBlockId: "f70fd96a17b944cb8e6d9cd153cf74bd",
80
+ cmsBlockVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
81
+ visibilityRule: null,
82
+ cmsBlock: null,
83
+ createdAt: "2021-04-14T12:43:52.970+00:00",
84
+ updatedAt: null,
85
+ apiAlias: "swag_cms_extensions_block_rule",
86
+ },
87
+ },
88
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
89
+ translated: [],
90
+ createdAt: "2020-08-06T06:26:23.880+00:00",
91
+ updatedAt: "2024-05-06T09:42:38.583+00:00",
92
+ type: "image-simple-grid",
93
+ slots: [
94
+ {
95
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
96
+ translated: {
97
+ config: {
98
+ content: {
99
+ value:
100
+ "\u003Ch1\u003EFresh ideas for\u0026nbsp;\u003Cbr\u003Ehot summer days\u003C/h1\u003E\u003Cbr\u003E\u003Cbr\u003E\u003Ch3\u003ESummer is finally here and lures us outside with its warm rays of sunshine.\u003Cbr\u003EThe heat is better tolerated with cool snacks, drinks and fresh treats.\u003C/h3\u003E\u003Cbr\u003E\u003Cbr\u003E",
101
+ source: "static",
102
+ },
103
+ verticalAlign: {
104
+ value: "",
105
+ source: "static",
106
+ },
107
+ },
108
+ customFields: {},
109
+ },
110
+ createdAt: "2020-08-06T06:26:23.880+00:00",
111
+ updatedAt: "2024-05-06T09:42:38.581+00:00",
112
+ type: "text",
113
+ slot: "left-bottom",
114
+ block: null,
115
+ blockId: "f70fd96a17b944cb8e6d9cd153cf74bd",
116
+ config: {
117
+ content: {
118
+ value:
119
+ "\u003Ch1\u003EFresh ideas for\u0026nbsp;\u003Cbr\u003Ehot summer days\u003C/h1\u003E\u003Cbr\u003E\u003Cbr\u003E\u003Ch3\u003ESummer is finally here and lures us outside with its warm rays of sunshine.\u003Cbr\u003EThe heat is better tolerated with cool snacks, drinks and fresh treats.\u003C/h3\u003E\u003Cbr\u003E\u003Cbr\u003E",
120
+ source: "static",
121
+ },
122
+ verticalAlign: {
123
+ value: "",
124
+ source: "static",
125
+ },
126
+ },
127
+ fieldConfig: [
128
+ {
129
+ name: "content",
130
+ source: "static",
131
+ value:
132
+ "\u003Ch1\u003EFresh ideas for\u0026nbsp;\u003Cbr\u003Ehot summer days\u003C/h1\u003E\u003Cbr\u003E\u003Cbr\u003E\u003Ch3\u003ESummer is finally here and lures us outside with its warm rays of sunshine.\u003Cbr\u003EThe heat is better tolerated with cool snacks, drinks and fresh treats.\u003C/h3\u003E\u003Cbr\u003E\u003Cbr\u003E",
133
+ apiAlias: "cms_data_resolver_field_config",
134
+ },
135
+ {
136
+ name: "verticalAlign",
137
+ source: "static",
138
+ value: "",
139
+ apiAlias: "cms_data_resolver_field_config",
140
+ },
141
+ ],
142
+ translations: null,
143
+ data: {
144
+ content:
145
+ "\u003Ch1\u003EFresh ideas for\u00a0\u003Cbr /\u003Ehot summer days\u003C/h1\u003E\u003Cbr /\u003E\u003Cbr /\u003E\u003Ch3\u003ESummer is finally here and lures us outside with its warm rays of sunshine.\u003Cbr /\u003EThe heat is better tolerated with cool snacks, drinks and fresh treats.\u003C/h3\u003E\u003Cbr /\u003E\u003Cbr /\u003E",
146
+ apiAlias: "cms_text",
147
+ },
148
+ locked: false,
149
+ cmsBlockVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
150
+ customFields: null,
151
+ apiAlias: "cms_slot",
152
+ },
153
+ {
154
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
155
+ translated: {
156
+ config: {
157
+ url: {
158
+ value: null,
159
+ source: "static",
160
+ },
161
+ media: {
162
+ value: "b6fcf0907ff94ad8832dfc1af33c21a1",
163
+ source: "static",
164
+ },
165
+ newTab: {
166
+ value: false,
167
+ source: "static",
168
+ },
169
+ minHeight: {
170
+ value: "540px",
171
+ source: "static",
172
+ },
173
+ displayMode: {
174
+ value: "cover",
175
+ source: "static",
176
+ },
177
+ verticalAlign: {
178
+ value: "",
179
+ source: "static",
180
+ },
181
+ horizontalAlign: {
182
+ value: null,
183
+ source: "static",
184
+ },
185
+ },
186
+ customFields: {},
187
+ },
188
+ createdAt: "2020-08-06T06:26:23.875+00:00",
189
+ updatedAt: "2024-04-03T07:25:19.966+00:00",
190
+ type: "image",
191
+ slot: "left-top",
192
+ block: null,
193
+ blockId: "f70fd96a17b944cb8e6d9cd153cf74bd",
194
+ config: {
195
+ url: {
196
+ value: null,
197
+ source: "static",
198
+ },
199
+ media: {
200
+ value: "b6fcf0907ff94ad8832dfc1af33c21a1",
201
+ source: "static",
202
+ },
203
+ newTab: {
204
+ value: false,
205
+ source: "static",
206
+ },
207
+ minHeight: {
208
+ value: "540px",
209
+ source: "static",
210
+ },
211
+ displayMode: {
212
+ value: "cover",
213
+ source: "static",
214
+ },
215
+ verticalAlign: {
216
+ value: "",
217
+ source: "static",
218
+ },
219
+ horizontalAlign: {
220
+ value: null,
221
+ source: "static",
222
+ },
223
+ },
224
+ fieldConfig: [
225
+ {
226
+ name: "url",
227
+ source: "static",
228
+ value: null,
229
+ apiAlias: "cms_data_resolver_field_config",
230
+ },
231
+ {
232
+ name: "media",
233
+ source: "static",
234
+ value: "b6fcf0907ff94ad8832dfc1af33c21a1",
235
+ apiAlias: "cms_data_resolver_field_config",
236
+ },
237
+ {
238
+ name: "newTab",
239
+ source: "static",
240
+ value: false,
241
+ apiAlias: "cms_data_resolver_field_config",
242
+ },
243
+ {
244
+ name: "minHeight",
245
+ source: "static",
246
+ value: "540px",
247
+ apiAlias: "cms_data_resolver_field_config",
248
+ },
249
+ {
250
+ name: "displayMode",
251
+ source: "static",
252
+ value: "cover",
253
+ apiAlias: "cms_data_resolver_field_config",
254
+ },
255
+ {
256
+ name: "verticalAlign",
257
+ source: "static",
258
+ value: "",
259
+ apiAlias: "cms_data_resolver_field_config",
260
+ },
261
+ {
262
+ name: "horizontalAlign",
263
+ source: "static",
264
+ value: null,
265
+ apiAlias: "cms_data_resolver_field_config",
266
+ },
267
+ ],
268
+ translations: null,
269
+ data: {
270
+ mediaId: "b6fcf0907ff94ad8832dfc1af33c21a1",
271
+ url: "",
272
+ newTab: false,
273
+ media: {
274
+ translated: {
275
+ alt: null,
276
+ title: null,
277
+ customFields: {},
278
+ },
279
+ createdAt: "2022-09-06T08:45:14.161+00:00",
280
+ updatedAt: "2022-09-06T08:45:14.384+00:00",
281
+ mimeType: "image/webp",
282
+ fileExtension: "webp",
283
+ fileSize: 71660,
284
+ title: null,
285
+ metaData: {
286
+ hash: "5858e1bb87751193b3fb2aa50514cc4b",
287
+ type: 18,
288
+ width: 1920,
289
+ height: 1280,
290
+ },
291
+ uploadedAt: "2022-09-06T08:45:14.382+00:00",
292
+ alt: null,
293
+ url: "https://cdn.shopware.store/a/B/m/pPkDE/media/e9/c0/a6/1662453914/rekamatyas_1920x1920.webp?1662453914",
294
+ fileName: "rekamatyas_1920x1920",
295
+ translations: null,
296
+ thumbnails: [],
297
+ hasFile: true,
298
+ private: false,
299
+ path: "media/e9/c0/a6/1662453914/rekamatyas_1920x1920.webp",
300
+ config: null,
301
+ customFields: null,
302
+ id: "b6fcf0907ff94ad8832dfc1af33c21a1",
303
+ apiAlias: "media",
304
+ },
305
+ apiAlias: "cms_image",
306
+ },
307
+ locked: false,
308
+ cmsBlockVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
309
+ customFields: null,
310
+ apiAlias: "cms_slot",
311
+ },
312
+ {
313
+ versionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
314
+ translated: {
315
+ config: {
316
+ url: {
317
+ value: null,
318
+ source: "static",
319
+ },
320
+ media: {
321
+ value: "c105f437eef64dfb8e43b06b247f3ca3",
322
+ source: "static",
323
+ },
324
+ newTab: {
325
+ value: false,
326
+ source: "static",
327
+ },
328
+ minHeight: {
329
+ value: "800px",
330
+ source: "static",
331
+ },
332
+ displayMode: {
333
+ value: "cover",
334
+ source: "static",
335
+ },
336
+ verticalAlign: {
337
+ value: "",
338
+ source: "static",
339
+ },
340
+ horizontalAlign: {
341
+ value: null,
342
+ source: "static",
343
+ },
344
+ },
345
+ customFields: {},
346
+ },
347
+ createdAt: "2020-08-06T06:26:23.878+00:00",
348
+ updatedAt: "2024-04-03T07:25:19.970+00:00",
349
+ type: "image",
350
+ slot: "right",
351
+ block: null,
352
+ blockId: "f70fd96a17b944cb8e6d9cd153cf74bd",
353
+ config: {
354
+ url: {
355
+ value: null,
356
+ source: "static",
357
+ },
358
+ media: {
359
+ value: "c105f437eef64dfb8e43b06b247f3ca3",
360
+ source: "static",
361
+ },
362
+ newTab: {
363
+ value: false,
364
+ source: "static",
365
+ },
366
+ minHeight: {
367
+ value: "800px",
368
+ source: "static",
369
+ },
370
+ displayMode: {
371
+ value: "cover",
372
+ source: "static",
373
+ },
374
+ verticalAlign: {
375
+ value: "",
376
+ source: "static",
377
+ },
378
+ horizontalAlign: {
379
+ value: null,
380
+ source: "static",
381
+ },
382
+ },
383
+ fieldConfig: [
384
+ {
385
+ name: "url",
386
+ source: "static",
387
+ value: null,
388
+ apiAlias: "cms_data_resolver_field_config",
389
+ },
390
+ {
391
+ name: "media",
392
+ source: "static",
393
+ value: "c105f437eef64dfb8e43b06b247f3ca3",
394
+ apiAlias: "cms_data_resolver_field_config",
395
+ },
396
+ {
397
+ name: "newTab",
398
+ source: "static",
399
+ value: false,
400
+ apiAlias: "cms_data_resolver_field_config",
401
+ },
402
+ {
403
+ name: "minHeight",
404
+ source: "static",
405
+ value: "800px",
406
+ apiAlias: "cms_data_resolver_field_config",
407
+ },
408
+ {
409
+ name: "displayMode",
410
+ source: "static",
411
+ value: "cover",
412
+ apiAlias: "cms_data_resolver_field_config",
413
+ },
414
+ {
415
+ name: "verticalAlign",
416
+ source: "static",
417
+ value: "",
418
+ apiAlias: "cms_data_resolver_field_config",
419
+ },
420
+ {
421
+ name: "horizontalAlign",
422
+ source: "static",
423
+ value: null,
424
+ apiAlias: "cms_data_resolver_field_config",
425
+ },
426
+ ],
427
+ translations: null,
428
+ data: {
429
+ mediaId: "c105f437eef64dfb8e43b06b247f3ca3",
430
+ url: "",
431
+ newTab: false,
432
+ media: {
433
+ translated: {
434
+ alt: null,
435
+ title: null,
436
+ customFields: {},
437
+ },
438
+ createdAt: "2022-09-06T08:50:46.938+00:00",
439
+ updatedAt: "2022-09-06T08:50:47.141+00:00",
440
+ mimeType: "image/webp",
441
+ fileExtension: "webp",
442
+ fileSize: 231780,
443
+ title: null,
444
+ metaData: {
445
+ hash: "11f7c2286f5228dc24161476a9e8a733",
446
+ type: 18,
447
+ width: 1920,
448
+ height: 1282,
449
+ },
450
+ uploadedAt: "2022-09-06T08:50:47.138+00:00",
451
+ alt: null,
452
+ url: "https://cdn.shopware.store/a/B/m/pPkDE/media/03/ac/ab/1662454247/eric-nopanen-624212-unsplash_1920x1920.webp?1662454247",
453
+ fileName: "eric-nopanen-624212-unsplash_1920x1920",
454
+ translations: null,
455
+ thumbnails: [],
456
+ hasFile: true,
457
+ private: false,
458
+ path: "media/03/ac/ab/1662454247/eric-nopanen-624212-unsplash_1920x1920.webp",
459
+ config: null,
460
+ customFields: null,
461
+ id: "c105f437eef64dfb8e43b06b247f3ca3",
462
+ apiAlias: "media",
463
+ },
464
+ apiAlias: "cms_image",
465
+ },
466
+ locked: false,
467
+ cmsBlockVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
468
+ customFields: null,
469
+ apiAlias: "cms_slot",
470
+ },
471
+ ],
472
+ sectionId: "2b47d99ea7534358b3a28c81d2a55f79",
473
+ position: 0,
474
+ name: null,
475
+ sectionPosition: "main",
476
+ marginTop: "5%",
477
+ marginBottom: "5%",
478
+ marginLeft: "5%",
479
+ marginRight: "5%",
480
+ backgroundColor: "#fafbfcff",
481
+ backgroundMediaId: null,
482
+ backgroundMedia: null,
483
+ backgroundMediaMode: "cover",
484
+ cssClass: null,
485
+ cmsSectionVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
486
+ visibility: {
487
+ mobile: true,
488
+ tablet: true,
489
+ desktop: true,
490
+ },
491
+ customFields: null,
492
+ apiAlias: "cms_block",
493
+ },
494
+ ],
495
+ pageId: "91ed0260fd7a493882668fd444f5fb48",
496
+ page: null,
497
+ position: 0,
498
+ name: null,
499
+ sizingMode: "full_width",
500
+ mobileBehavior: "wrap",
501
+ backgroundColor: null,
502
+ backgroundMediaId: null,
503
+ backgroundMedia: null,
504
+ backgroundMediaMode: "cover",
505
+ cssClass: null,
506
+ cmsPageVersionId: "0fa91ce3e96a4bc2be4bd9ce752c3425",
507
+ visibility: {
508
+ mobile: true,
509
+ tablet: true,
510
+ desktop: true,
511
+ },
512
+ customFields: null,
513
+ apiAlias: "cms_section",
514
+ },
515
+ ],
516
+ translations: null,
517
+ cssClass: null,
518
+ config: null,
519
+ previewMediaId: "7cb3c37e196e4af08a11d25aa30126e1",
520
+ previewMedia: null,
521
+ landingPages: null,
522
+ customFields: null,
523
+ id: "91ed0260fd7a493882668fd444f5fb48",
524
+ apiAlias: "cms_page",
525
+ },
526
+ linkType: null,
527
+ linkNewTab: null,
528
+ internalLink: null,
529
+ externalLink: null,
530
+ visible: true,
531
+ type: "page",
532
+ productAssignmentType: "product",
533
+ description: null,
534
+ metaTitle: "Welcome to Shopware Frontends!",
535
+ metaDescription: null,
536
+ keywords: null,
537
+ seoUrls: null,
538
+ customEntityTypeId: null,
539
+ customFields: {},
540
+ id: "bda4b60e845240b2b9d6b60e71196e14",
541
+ apiAlias: "category",
542
+ };
543
+
544
+ export default CmsPage;