@shopgate/webpack 7.32.2-alpha.9 → 7.33.0-beta.2

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.
@@ -1,584 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`components/ProductCharacteristics should render 1`] = `
4
- <Component
5
- render={
6
- [MockFunction] {
7
- "calls": [
8
- [
9
- {
10
- "charRef": {
11
- "current": null,
12
- },
13
- "disabled": false,
14
- "highlight": false,
15
- "id": "1",
16
- "key": "1",
17
- "label": "Color",
18
- "resetHighlight": [Function],
19
- "select": [Function],
20
- "selected": null,
21
- "swatch": false,
22
- "values": [
23
- {
24
- "id": "1",
25
- "label": "BLACK-WHITE (9000)",
26
- "selectable": true,
27
- "selected": false,
28
- },
29
- {
30
- "id": "2",
31
- "label": "RED-WHITE (1000)",
32
- "selectable": true,
33
- "selected": false,
34
- },
35
- ],
36
- },
37
- ],
38
- [
39
- {
40
- "charRef": {
41
- "current": null,
42
- },
43
- "disabled": true,
44
- "highlight": false,
45
- "id": "2",
46
- "key": "2",
47
- "label": "Size",
48
- "resetHighlight": [Function],
49
- "select": [Function],
50
- "selected": null,
51
- "swatch": false,
52
- "values": [
53
- {
54
- "id": "11",
55
- "label": "7",
56
- "selectable": false,
57
- "selected": false,
58
- },
59
- {
60
- "id": "12",
61
- "label": "7.5",
62
- "selectable": false,
63
- "selected": false,
64
- },
65
- ],
66
- },
67
- ],
68
- ],
69
- "results": [
70
- {
71
- "type": "return",
72
- "value": undefined,
73
- },
74
- {
75
- "type": "return",
76
- "value": undefined,
77
- },
78
- ],
79
- }
80
- }
81
- >
82
- <WithProductContext
83
- WrappedComponent={[Function]}
84
- render={
85
- [MockFunction] {
86
- "calls": [
87
- [
88
- {
89
- "charRef": {
90
- "current": null,
91
- },
92
- "disabled": false,
93
- "highlight": false,
94
- "id": "1",
95
- "key": "1",
96
- "label": "Color",
97
- "resetHighlight": [Function],
98
- "select": [Function],
99
- "selected": null,
100
- "swatch": false,
101
- "values": [
102
- {
103
- "id": "1",
104
- "label": "BLACK-WHITE (9000)",
105
- "selectable": true,
106
- "selected": false,
107
- },
108
- {
109
- "id": "2",
110
- "label": "RED-WHITE (1000)",
111
- "selectable": true,
112
- "selected": false,
113
- },
114
- ],
115
- },
116
- ],
117
- [
118
- {
119
- "charRef": {
120
- "current": null,
121
- },
122
- "disabled": true,
123
- "highlight": false,
124
- "id": "2",
125
- "key": "2",
126
- "label": "Size",
127
- "resetHighlight": [Function],
128
- "select": [Function],
129
- "selected": null,
130
- "swatch": false,
131
- "values": [
132
- {
133
- "id": "11",
134
- "label": "7",
135
- "selectable": false,
136
- "selected": false,
137
- },
138
- {
139
- "id": "12",
140
- "label": "7.5",
141
- "selectable": false,
142
- "selected": false,
143
- },
144
- ],
145
- },
146
- ],
147
- ],
148
- "results": [
149
- {
150
- "type": "return",
151
- "value": undefined,
152
- },
153
- {
154
- "type": "return",
155
- "value": undefined,
156
- },
157
- ],
158
- }
159
- }
160
- >
161
- <Theme>
162
- <children
163
- AppBar={[Function]}
164
- Drawer={[Function]}
165
- View={[Function]}
166
- contexts={
167
- {
168
- "ProductContext": {
169
- "Consumer": [Function],
170
- },
171
- }
172
- }
173
- >
174
- <Consumer>
175
- <children
176
- conditioner={
177
- Conditioner {
178
- "conditions": Map {
179
- "product-variants" => {
180
- "conditioner": [Function],
181
- "priority": 1,
182
- },
183
- },
184
- }
185
- }
186
- options={{}}
187
- productId="123"
188
- setCharacteristics={
189
- [MockFunction] {
190
- "calls": [
191
- [
192
- {},
193
- ],
194
- ],
195
- "results": [
196
- {
197
- "type": "return",
198
- "value": undefined,
199
- },
200
- ],
201
- }
202
- }
203
- variantId="123-45"
204
- >
205
- <Component
206
- productContext={
207
- {
208
- "conditioner": Conditioner {
209
- "conditions": Map {
210
- "product-variants" => {
211
- "conditioner": [Function],
212
- "priority": 1,
213
- },
214
- },
215
- },
216
- "options": {},
217
- "productId": "123",
218
- "setCharacteristics": [MockFunction] {
219
- "calls": [
220
- [
221
- {},
222
- ],
223
- ],
224
- "results": [
225
- {
226
- "type": "return",
227
- "value": undefined,
228
- },
229
- ],
230
- },
231
- "variantId": "123-45",
232
- }
233
- }
234
- render={
235
- [MockFunction] {
236
- "calls": [
237
- [
238
- {
239
- "charRef": {
240
- "current": null,
241
- },
242
- "disabled": false,
243
- "highlight": false,
244
- "id": "1",
245
- "key": "1",
246
- "label": "Color",
247
- "resetHighlight": [Function],
248
- "select": [Function],
249
- "selected": null,
250
- "swatch": false,
251
- "values": [
252
- {
253
- "id": "1",
254
- "label": "BLACK-WHITE (9000)",
255
- "selectable": true,
256
- "selected": false,
257
- },
258
- {
259
- "id": "2",
260
- "label": "RED-WHITE (1000)",
261
- "selectable": true,
262
- "selected": false,
263
- },
264
- ],
265
- },
266
- ],
267
- [
268
- {
269
- "charRef": {
270
- "current": null,
271
- },
272
- "disabled": true,
273
- "highlight": false,
274
- "id": "2",
275
- "key": "2",
276
- "label": "Size",
277
- "resetHighlight": [Function],
278
- "select": [Function],
279
- "selected": null,
280
- "swatch": false,
281
- "values": [
282
- {
283
- "id": "11",
284
- "label": "7",
285
- "selectable": false,
286
- "selected": false,
287
- },
288
- {
289
- "id": "12",
290
- "label": "7.5",
291
- "selectable": false,
292
- "selected": false,
293
- },
294
- ],
295
- },
296
- ],
297
- ],
298
- "results": [
299
- {
300
- "type": "return",
301
- "value": undefined,
302
- },
303
- {
304
- "type": "return",
305
- "value": undefined,
306
- },
307
- ],
308
- }
309
- }
310
- >
311
- <Component
312
- conditioner={
313
- Conditioner {
314
- "conditions": Map {
315
- "product-variants" => {
316
- "conditioner": [Function],
317
- "priority": 1,
318
- },
319
- },
320
- }
321
- }
322
- options={{}}
323
- productId="123"
324
- render={
325
- [MockFunction] {
326
- "calls": [
327
- [
328
- {
329
- "charRef": {
330
- "current": null,
331
- },
332
- "disabled": false,
333
- "highlight": false,
334
- "id": "1",
335
- "key": "1",
336
- "label": "Color",
337
- "resetHighlight": [Function],
338
- "select": [Function],
339
- "selected": null,
340
- "swatch": false,
341
- "values": [
342
- {
343
- "id": "1",
344
- "label": "BLACK-WHITE (9000)",
345
- "selectable": true,
346
- "selected": false,
347
- },
348
- {
349
- "id": "2",
350
- "label": "RED-WHITE (1000)",
351
- "selectable": true,
352
- "selected": false,
353
- },
354
- ],
355
- },
356
- ],
357
- [
358
- {
359
- "charRef": {
360
- "current": null,
361
- },
362
- "disabled": true,
363
- "highlight": false,
364
- "id": "2",
365
- "key": "2",
366
- "label": "Size",
367
- "resetHighlight": [Function],
368
- "select": [Function],
369
- "selected": null,
370
- "swatch": false,
371
- "values": [
372
- {
373
- "id": "11",
374
- "label": "7",
375
- "selectable": false,
376
- "selected": false,
377
- },
378
- {
379
- "id": "12",
380
- "label": "7.5",
381
- "selectable": false,
382
- "selected": false,
383
- },
384
- ],
385
- },
386
- ],
387
- ],
388
- "results": [
389
- {
390
- "type": "return",
391
- "value": undefined,
392
- },
393
- {
394
- "type": "return",
395
- "value": undefined,
396
- },
397
- ],
398
- }
399
- }
400
- setCharacteristics={
401
- [MockFunction] {
402
- "calls": [
403
- [
404
- {},
405
- ],
406
- ],
407
- "results": [
408
- {
409
- "type": "return",
410
- "value": undefined,
411
- },
412
- ],
413
- }
414
- }
415
- variantId="123-45"
416
- >
417
- <ProductCharacteristics
418
- characteristics={null}
419
- conditioner={
420
- Conditioner {
421
- "conditions": Map {
422
- "product-variants" => {
423
- "conditioner": [Function],
424
- "priority": 1,
425
- },
426
- },
427
- }
428
- }
429
- finishTimeout={0}
430
- navigate={[MockFunction]}
431
- options={{}}
432
- productId="123"
433
- render={
434
- [MockFunction] {
435
- "calls": [
436
- [
437
- {
438
- "charRef": {
439
- "current": null,
440
- },
441
- "disabled": false,
442
- "highlight": false,
443
- "id": "1",
444
- "key": "1",
445
- "label": "Color",
446
- "resetHighlight": [Function],
447
- "select": [Function],
448
- "selected": null,
449
- "swatch": false,
450
- "values": [
451
- {
452
- "id": "1",
453
- "label": "BLACK-WHITE (9000)",
454
- "selectable": true,
455
- "selected": false,
456
- },
457
- {
458
- "id": "2",
459
- "label": "RED-WHITE (1000)",
460
- "selectable": true,
461
- "selected": false,
462
- },
463
- ],
464
- },
465
- ],
466
- [
467
- {
468
- "charRef": {
469
- "current": null,
470
- },
471
- "disabled": true,
472
- "highlight": false,
473
- "id": "2",
474
- "key": "2",
475
- "label": "Size",
476
- "resetHighlight": [Function],
477
- "select": [Function],
478
- "selected": null,
479
- "swatch": false,
480
- "values": [
481
- {
482
- "id": "11",
483
- "label": "7",
484
- "selectable": false,
485
- "selected": false,
486
- },
487
- {
488
- "id": "12",
489
- "label": "7.5",
490
- "selectable": false,
491
- "selected": false,
492
- },
493
- ],
494
- },
495
- ],
496
- ],
497
- "results": [
498
- {
499
- "type": "return",
500
- "value": undefined,
501
- },
502
- {
503
- "type": "return",
504
- "value": undefined,
505
- },
506
- ],
507
- }
508
- }
509
- setCharacteristics={
510
- [MockFunction] {
511
- "calls": [
512
- [
513
- {},
514
- ],
515
- ],
516
- "results": [
517
- {
518
- "type": "return",
519
- "value": undefined,
520
- },
521
- ],
522
- }
523
- }
524
- variantId="123-45"
525
- variants={
526
- {
527
- "characteristics": [
528
- {
529
- "id": "1",
530
- "label": "Color",
531
- "values": [
532
- {
533
- "id": "1",
534
- "label": "BLACK-WHITE (9000)",
535
- },
536
- {
537
- "id": "2",
538
- "label": "RED-WHITE (1000)",
539
- },
540
- ],
541
- },
542
- {
543
- "id": "2",
544
- "label": "Size",
545
- "values": [
546
- {
547
- "id": "11",
548
- "label": "7",
549
- },
550
- {
551
- "id": "12",
552
- "label": "7.5",
553
- },
554
- ],
555
- },
556
- ],
557
- "products": [
558
- {
559
- "characteristics": {
560
- "1": "1",
561
- "2": "11",
562
- },
563
- "id": "32050590001000",
564
- },
565
- {
566
- "characteristics": {
567
- "1": "2",
568
- "2": "12",
569
- },
570
- "id": "32050590000950",
571
- },
572
- ],
573
- }
574
- }
575
- />
576
- </Component>
577
- </Component>
578
- </children>
579
- </Consumer>
580
- </children>
581
- </Theme>
582
- </WithProductContext>
583
- </Component>
584
- `;