@daffodil/cart 0.84.0 → 0.85.0

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,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable } from '@angular/core';
3
3
  import { faker } from '@faker-js/faker/locale/en_US';
4
- import { DaffModelFactory } from '@daffodil/core/testing';
4
+ import { enforceUnique, DaffModelFactory } from '@daffodil/core/testing';
5
5
  import { MagentoMoneyFactory, MagentoDiscountFactory } from '@daffodil/driver/magento/testing';
6
6
  import { MagentoCartItemTypeEnum } from '@daffodil/cart/driver/magento';
7
7
  import { MagentoProductStockStatusEnum } from '@daffodil/product/driver/magento';
@@ -9,22 +9,22 @@ import { MagentoProductStockStatusEnum } from '@daffodil/product/driver/magento'
9
9
  class MockMagentoCartAddress {
10
10
  constructor() {
11
11
  this.__typename = 'BillingCartAddress';
12
- this.customer_address_id = faker.helpers.unique(faker.datatype.number);
12
+ this.customer_address_id = enforceUnique(faker.number.int);
13
13
  this.region = {
14
14
  __typename: 'CartAddressRegion',
15
- region_id: faker.helpers.unique(faker.datatype.number),
16
- code: faker.address.stateAbbr(),
15
+ region_id: enforceUnique(faker.number.int),
16
+ code: faker.location.state({ abbreviated: true }),
17
17
  };
18
18
  this.country = {
19
19
  __typename: 'CartAddressCountry',
20
- code: faker.address.countryCode(),
21
- label: faker.address.country(),
20
+ code: faker.location.countryCode(),
21
+ label: faker.location.country(),
22
22
  };
23
- this.street = [faker.address.streetAddress()];
23
+ this.street = [faker.location.streetAddress()];
24
24
  this.company = faker.company.name();
25
25
  this.telephone = faker.phone.number();
26
- this.postcode = faker.address.zipCode();
27
- this.city = faker.address.city();
26
+ this.postcode = faker.location.zipCode();
27
+ this.city = faker.location.city();
28
28
  this.firstname = faker.name.firstName();
29
29
  this.lastname = faker.name.lastName();
30
30
  this.email = faker.internet.email();
@@ -34,10 +34,10 @@ class MagentoCartAddressFactory extends DaffModelFactory {
34
34
  constructor() {
35
35
  super(MockMagentoCartAddress);
36
36
  }
37
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartAddressFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
38
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartAddressFactory, providedIn: 'root' }); }
37
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartAddressFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
38
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartAddressFactory, providedIn: 'root' }); }
39
39
  }
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartAddressFactory, decorators: [{
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartAddressFactory, decorators: [{
41
41
  type: Injectable,
42
42
  args: [{
43
43
  providedIn: 'root',
@@ -46,13 +46,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
46
46
 
47
47
  class MockMagentoCartAddressInput {
48
48
  constructor() {
49
- this.region_id = faker.helpers.unique(faker.datatype.number);
50
- this.country_code = faker.address.countryCode();
51
- this.street = [faker.address.streetAddress()];
49
+ this.region_id = enforceUnique(faker.number.int);
50
+ this.country_code = faker.location.countryCode();
51
+ this.street = [faker.location.streetAddress()];
52
52
  this.company = faker.company.name();
53
53
  this.telephone = faker.phone.number();
54
- this.postcode = faker.address.zipCode();
55
- this.city = faker.address.city();
54
+ this.postcode = faker.location.zipCode();
55
+ this.city = faker.location.city();
56
56
  this.firstname = faker.name.firstName();
57
57
  this.lastname = faker.name.lastName();
58
58
  this.save_in_address_book = faker.datatype.boolean();
@@ -62,10 +62,10 @@ class MagentoCartAddressInputFactory extends DaffModelFactory {
62
62
  constructor() {
63
63
  super(MockMagentoCartAddressInput);
64
64
  }
65
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartAddressInputFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
66
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartAddressInputFactory, providedIn: 'root' }); }
65
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartAddressInputFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
66
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartAddressInputFactory, providedIn: 'root' }); }
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartAddressInputFactory, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartAddressInputFactory, decorators: [{
69
69
  type: Injectable,
70
70
  args: [{
71
71
  providedIn: 'root',
@@ -74,7 +74,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
74
74
 
75
75
  class MockMagentoCartCoupon {
76
76
  constructor() {
77
- this.code = faker.random.alphaNumeric(20);
77
+ this.code = faker.string.alphanumeric(20);
78
78
  }
79
79
  }
80
80
  ;
@@ -82,10 +82,10 @@ class MagentoCartCouponFactory extends DaffModelFactory {
82
82
  constructor() {
83
83
  super(MockMagentoCartCoupon);
84
84
  }
85
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartCouponFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
86
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartCouponFactory, providedIn: 'root' }); }
85
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartCouponFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
86
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartCouponFactory, providedIn: 'root' }); }
87
87
  }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartCouponFactory, decorators: [{
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartCouponFactory, decorators: [{
89
89
  type: Injectable,
90
90
  args: [{
91
91
  providedIn: 'root',
@@ -94,19 +94,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
94
94
 
95
95
  class MockMagentoCartPaymentMethod {
96
96
  constructor() {
97
- this.code = faker.random.word();
98
- this.title = faker.random.word();
99
- this.purchase_order_number = faker.random.word();
97
+ this.code = faker.lorem.word();
98
+ this.title = faker.lorem.word();
99
+ this.purchase_order_number = faker.lorem.word();
100
100
  }
101
101
  }
102
102
  class MagentoCartPaymentMethodFactory extends DaffModelFactory {
103
103
  constructor() {
104
104
  super(MockMagentoCartPaymentMethod);
105
105
  }
106
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartPaymentMethodFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
107
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartPaymentMethodFactory, providedIn: 'root' }); }
106
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartPaymentMethodFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
107
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartPaymentMethodFactory, providedIn: 'root' }); }
108
108
  }
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartPaymentMethodFactory, decorators: [{
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartPaymentMethodFactory, decorators: [{
110
110
  type: Injectable,
111
111
  args: [{
112
112
  providedIn: 'root',
@@ -115,10 +115,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
115
115
 
116
116
  class MockCartShippingMethod {
117
117
  constructor() {
118
- this.carrier_code = faker.random.word();
119
- this.carrier_title = faker.random.words(2);
120
- this.method_title = faker.random.words(2);
121
- this.method_code = faker.random.word();
118
+ this.carrier_code = faker.lorem.word();
119
+ this.carrier_title = faker.lorem.words(2);
120
+ this.method_title = faker.lorem.words(2);
121
+ this.method_code = faker.lorem.word();
122
122
  this.amount = this.money();
123
123
  }
124
124
  money() {
@@ -129,10 +129,10 @@ class MagentoCartShippingMethodFactory extends DaffModelFactory {
129
129
  constructor() {
130
130
  super(MockCartShippingMethod);
131
131
  }
132
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartShippingMethodFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
133
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartShippingMethodFactory, providedIn: 'root' }); }
132
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartShippingMethodFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
133
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartShippingMethodFactory, providedIn: 'root' }); }
134
134
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartShippingMethodFactory, decorators: [{
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartShippingMethodFactory, decorators: [{
136
136
  type: Injectable,
137
137
  args: [{
138
138
  providedIn: 'root',
@@ -142,7 +142,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
142
142
  class MockMagentoCart {
143
143
  constructor() {
144
144
  this.__typename = 'Cart';
145
- this.id = faker.datatype.uuid();
145
+ this.id = faker.string.uuid();
146
146
  this.prices = {
147
147
  __typename: 'CartPrices',
148
148
  subtotal_excluding_tax: this.money(),
@@ -177,10 +177,10 @@ class MagentoCartFactory extends DaffModelFactory {
177
177
  constructor() {
178
178
  super(MockMagentoCart);
179
179
  }
180
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
181
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartFactory, providedIn: 'root' }); }
180
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
181
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartFactory, providedIn: 'root' }); }
182
182
  }
183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartFactory, decorators: [{
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartFactory, decorators: [{
184
184
  type: Injectable,
185
185
  args: [{
186
186
  providedIn: 'root',
@@ -190,28 +190,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
190
190
  class MockMagentoCartItem {
191
191
  constructor() {
192
192
  this.__typename = MagentoCartItemTypeEnum.Simple;
193
- this.id = faker.datatype.uuid();
193
+ this.id = faker.string.uuid();
194
194
  this.prices = {
195
195
  __typename: 'CartItemPrices',
196
196
  price: this.money(),
197
197
  row_total: this.money(),
198
- discounts: this.discounts(faker.datatype.number({ min: 0, max: 2 })),
198
+ discounts: this.discounts(faker.number.int({ min: 0, max: 2 })),
199
199
  };
200
200
  this.product = this.createProduct();
201
- this.quantity = faker.datatype.number({ min: 1, max: 20 });
201
+ this.quantity = faker.number.int({ min: 1, max: 20 });
202
202
  }
203
203
  createProduct() {
204
204
  return {
205
205
  __typename: 'SimpleProduct',
206
- id: faker.datatype.number({ min: 1, max: 1500 }),
207
- name: faker.random.word(),
208
- url_key: faker.random.word(),
206
+ id: faker.number.int({ min: 1, max: 1500 }),
207
+ name: faker.lorem.word(),
208
+ url_key: faker.lorem.word(),
209
209
  url_suffix: '.html',
210
210
  sku: faker.commerce.product(),
211
211
  thumbnail: {
212
212
  __typename: 'Thumbnail',
213
- label: faker.random.word(),
214
- url: faker.image.image(),
213
+ label: faker.lorem.word(),
214
+ url: faker.image.url(),
215
215
  },
216
216
  stock_status: MagentoProductStockStatusEnum.InStock,
217
217
  };
@@ -227,10 +227,10 @@ class MagentoCartItemFactory extends DaffModelFactory {
227
227
  constructor() {
228
228
  super(MockMagentoCartItem);
229
229
  }
230
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
231
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartItemFactory, providedIn: 'root' }); }
230
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
231
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartItemFactory, providedIn: 'root' }); }
232
232
  }
233
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoCartItemFactory, decorators: [{
233
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoCartItemFactory, decorators: [{
234
234
  type: Injectable,
235
235
  args: [{
236
236
  providedIn: 'root',
@@ -243,15 +243,15 @@ class MockMagentoBundleCartItem extends MockMagentoCartItem {
243
243
  this.__typename = MagentoCartItemTypeEnum.Bundle;
244
244
  this.bundle_options = [
245
245
  {
246
- id: faker.helpers.unique(faker.datatype.number),
246
+ id: enforceUnique(faker.number.int),
247
247
  type: 'radio',
248
- label: faker.random.word(),
249
- price: faker.datatype.number({ min: 1, max: 99 }),
248
+ label: faker.lorem.word(),
249
+ price: faker.number.int({ min: 1, max: 99 }),
250
250
  quantity: 1,
251
251
  values: [{
252
- id: faker.helpers.unique(faker.datatype.number),
253
- label: faker.random.word(),
254
- price: faker.datatype.number({ min: 1, max: 99 }),
252
+ id: enforceUnique(faker.number.int),
253
+ label: faker.lorem.word(),
254
+ price: faker.number.int({ min: 1, max: 99 }),
255
255
  quantity: 1,
256
256
  }],
257
257
  },
@@ -262,10 +262,10 @@ class MagentoBundleCartItemFactory extends DaffModelFactory {
262
262
  constructor() {
263
263
  super(MockMagentoBundleCartItem);
264
264
  }
265
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoBundleCartItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
266
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoBundleCartItemFactory, providedIn: 'root' }); }
265
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoBundleCartItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
266
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoBundleCartItemFactory, providedIn: 'root' }); }
267
267
  }
268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoBundleCartItemFactory, decorators: [{
268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoBundleCartItemFactory, decorators: [{
269
269
  type: Injectable,
270
270
  args: [{
271
271
  providedIn: 'root',
@@ -292,10 +292,10 @@ class MagentoConfigurableCartItemFactory extends DaffModelFactory {
292
292
  constructor() {
293
293
  super(MockMagentoConfigurableCartItem);
294
294
  }
295
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoConfigurableCartItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
296
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoConfigurableCartItemFactory, providedIn: 'root' }); }
295
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoConfigurableCartItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
296
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoConfigurableCartItemFactory, providedIn: 'root' }); }
297
297
  }
298
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoConfigurableCartItemFactory, decorators: [{
298
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoConfigurableCartItemFactory, decorators: [{
299
299
  type: Injectable,
300
300
  args: [{
301
301
  providedIn: 'root',
@@ -314,10 +314,10 @@ class MagentoShippingAddressFactory extends DaffModelFactory {
314
314
  constructor() {
315
315
  super(MockMagentoShippingAddress);
316
316
  }
317
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoShippingAddressFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
318
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoShippingAddressFactory, providedIn: 'root' }); }
317
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoShippingAddressFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
318
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoShippingAddressFactory, providedIn: 'root' }); }
319
319
  }
320
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImport: i0, type: MagentoShippingAddressFactory, decorators: [{
320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: MagentoShippingAddressFactory, decorators: [{
321
321
  type: Injectable,
322
322
  args: [{
323
323
  providedIn: 'root',
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-cart-driver-magento-testing.mjs","sources":["../../../libs/cart/driver/magento/testing/src/factories/cart-address.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-address-input.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-coupon.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-payment-method.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-shipping-method.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-item/cart-item.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-item/bundle-cart-item.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-item/configurable-cart-item.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/shipping-address.factory.ts","../../../libs/cart/driver/magento/testing/src/daffodil-cart-driver-magento-testing.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCartAddress } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nexport class MockMagentoCartAddress implements MagentoCartAddress {\n __typename = 'BillingCartAddress';\n customer_address_id = faker.helpers.unique(faker.datatype.number);\n region = {\n __typename: 'CartAddressRegion',\n region_id: faker.helpers.unique(faker.datatype.number),\n code: faker.address.stateAbbr(),\n };\n country = {\n __typename: 'CartAddressCountry',\n code: faker.address.countryCode(),\n label: faker.address.country(),\n };\n street = [faker.address.streetAddress()];\n company = faker.company.name();\n telephone = faker.phone.number();\n postcode = faker.address.zipCode();\n city = faker.address.city();\n firstname = faker.name.firstName();\n lastname = faker.name.lastName();\n email = faker.internet.email();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartAddressFactory extends DaffModelFactory<MagentoCartAddress> {\n constructor() {\n super(MockMagentoCartAddress);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCartAddressInput } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nexport class MockMagentoCartAddressInput implements MagentoCartAddressInput {\n region_id = faker.helpers.unique(faker.datatype.number);\n country_code = faker.address.countryCode();\n street = [faker.address.streetAddress()];\n company = faker.company.name();\n telephone = faker.phone.number();\n postcode = faker.address.zipCode();\n city = faker.address.city();\n firstname = faker.name.firstName();\n lastname = faker.name.lastName();\n save_in_address_book = faker.datatype.boolean();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartAddressInputFactory extends DaffModelFactory<MagentoCartAddressInput> {\n constructor() {\n super(MockMagentoCartAddressInput);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCartCoupon } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nexport class MockMagentoCartCoupon implements MagentoCartCoupon {\n code = faker.random.alphaNumeric(20);\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartCouponFactory extends DaffModelFactory<MagentoCartCoupon> {\n constructor() {\n super(MockMagentoCartCoupon);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCartPaymentMethod } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nexport class MockMagentoCartPaymentMethod implements MagentoCartPaymentMethod {\n code = faker.random.word();\n title = faker.random.word();\n purchase_order_number = faker.random.word();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartPaymentMethodFactory extends DaffModelFactory<MagentoCartPaymentMethod> {\n constructor() {\n super(MockMagentoCartPaymentMethod);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCartShippingMethod } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { MagentoMoney } from '@daffodil/driver/magento';\nimport { MagentoMoneyFactory } from '@daffodil/driver/magento/testing';\n\nexport class MockCartShippingMethod implements MagentoCartShippingMethod {\n carrier_code = faker.random.word();\n carrier_title = faker.random.words(2);\n method_title = faker.random.words(2);\n method_code = faker.random.word();\n amount = this.money();\n\n private money(): MagentoMoney {\n return (new MagentoMoneyFactory()).create();\n }\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartShippingMethodFactory extends DaffModelFactory<MagentoCartShippingMethod> {\n constructor() {\n super(MockCartShippingMethod);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCart } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { MagentoMoney } from '@daffodil/driver/magento';\nimport { MagentoMoneyFactory } from '@daffodil/driver/magento/testing';\n\nexport class MockMagentoCart implements MagentoCart {\n __typename = 'Cart';\n id = faker.datatype.uuid();\n prices = {\n __typename: 'CartPrices',\n subtotal_excluding_tax: this.money(),\n grand_total: this.money(),\n subtotal_including_tax: this.money(),\n subtotal_with_discount_excluding_tax: this.money(),\n applied_taxes: [{\n __typename: 'AppliedTax',\n amount: this.money(),\n label: 'tax',\n }],\n discounts: [{\n __typename: 'Discount',\n amount: this.money(),\n label: 'discount',\n }],\n };\n applied_coupons = [];\n items = [];\n billing_address = null;\n shipping_addresses = [];\n available_payment_methods = [];\n selected_payment_method = null;\n email = faker.internet.email();\n\n private money(): MagentoMoney {\n return (new MagentoMoneyFactory()).create();\n }\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartFactory extends DaffModelFactory<MagentoCart> {\n constructor() {\n super(MockMagentoCart);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport {\n MagentoCartItem,\n MagentoCartItemTypeEnum,\n MagentoCartItemProduct,\n} from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n MagentoMoney,\n MagentoDiscount,\n} from '@daffodil/driver/magento';\nimport {\n MagentoMoneyFactory,\n MagentoDiscountFactory,\n} from '@daffodil/driver/magento/testing';\nimport { MagentoProductStockStatusEnum } from '@daffodil/product/driver/magento';\n\nexport class MockMagentoCartItem implements MagentoCartItem {\n __typename = MagentoCartItemTypeEnum.Simple;\n id = faker.datatype.uuid();\n prices = {\n __typename: 'CartItemPrices',\n price: this.money(),\n row_total: this.money(),\n discounts: this.discounts(faker.datatype.number({ min: 0, max: 2 })),\n };\n product = this.createProduct();\n quantity = faker.datatype.number({ min: 1, max: 20 });\n\n private createProduct(): MagentoCartItemProduct {\n return {\n __typename: 'SimpleProduct',\n id: faker.datatype.number({ min: 1, max: 1500 }),\n name: faker.random.word(),\n url_key: faker.random.word(),\n url_suffix: '.html',\n sku: faker.commerce.product(),\n thumbnail: {\n __typename: 'Thumbnail',\n label: faker.random.word(),\n url: faker.image.image(),\n },\n stock_status: MagentoProductStockStatusEnum.InStock,\n };\n }\n\n private money(): MagentoMoney {\n return (new MagentoMoneyFactory()).create();\n }\n\n private discounts(number = 2): MagentoDiscount[] {\n return (new MagentoDiscountFactory()).createMany(number);\n }\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartItemFactory extends DaffModelFactory<MagentoCartItem> {\n\n constructor(){\n super(MockMagentoCartItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport {\n MagentoCartItemTypeEnum,\n MagentoBundleCartItem,\n} from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nimport { MockMagentoCartItem } from './cart-item.factory';\n\nexport class MockMagentoBundleCartItem extends MockMagentoCartItem implements MagentoBundleCartItem {\n __typename = MagentoCartItemTypeEnum.Bundle;\n bundle_options = [\n {\n id: faker.helpers.unique(faker.datatype.number),\n type: 'radio',\n label: faker.random.word(),\n price: faker.datatype.number({ min: 1, max: 99 }),\n quantity: 1,\n values: [{\n id: faker.helpers.unique(faker.datatype.number),\n label: faker.random.word(),\n price: faker.datatype.number({ min: 1, max: 99 }),\n quantity: 1,\n }],\n },\n ];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoBundleCartItemFactory extends DaffModelFactory<MagentoBundleCartItem> {\n\n constructor(){\n super(MockMagentoBundleCartItem);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport {\n MagentoCartItemTypeEnum,\n MagentoConfigurableCartItem,\n} from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nimport { MockMagentoCartItem } from './cart-item.factory';\n\nexport class MockMagentoConfigurableCartItem extends MockMagentoCartItem implements MagentoConfigurableCartItem {\n __typename = MagentoCartItemTypeEnum.Configurable;\n configurable_options = [\n {\n option_label: 'Color',\n value_label: 'Red',\n },\n {\n option_label: 'Size',\n value_label: 'M',\n },\n ];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoConfigurableCartItemFactory extends DaffModelFactory<MagentoConfigurableCartItem> {\n\n constructor(){\n super(MockMagentoConfigurableCartItem);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { MagentoShippingAddress } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nimport { MockMagentoCartAddress } from './cart-address.factory';\n\nexport class MockMagentoShippingAddress extends MockMagentoCartAddress implements MagentoShippingAddress {\n __typename = 'ShippingCartAddress';\n available_shipping_methods = [];\n selected_shipping_method = null;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoShippingAddressFactory extends DaffModelFactory<MagentoShippingAddress> {\n constructor() {\n super(MockMagentoShippingAddress);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAMa,sBAAsB,CAAA;AAAnC,IAAA,WAAA,GAAA;QACE,IAAU,CAAA,UAAA,GAAG,oBAAoB;AACjC,QAAA,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;AACjE,QAAA,IAAA,CAAA,MAAM,GAAG;AACP,YAAA,UAAU,EAAE,mBAAmB;AAC/B,YAAA,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;AACtD,YAAA,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE;SAChC;AACD,QAAA,IAAA,CAAA,OAAO,GAAG;AACR,YAAA,UAAU,EAAE,oBAAoB;AAChC,YAAA,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE;AACjC,YAAA,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE;SAC/B;QACD,IAAM,CAAA,MAAA,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC;AACxC,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE;AAC9B,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE;A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A,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA7B,uBAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,6BAA6B,cAF5B,MAAM,EAAA,CAAA,CAAA;;2FAEP,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAHzC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACfD;;AAEG;;;;"}
1
+ {"version":3,"file":"daffodil-cart-driver-magento-testing.mjs","sources":["../../../libs/cart/driver/magento/testing/src/factories/cart-address.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-address-input.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-coupon.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-payment-method.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-shipping-method.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-item/cart-item.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-item/bundle-cart-item.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/cart-item/configurable-cart-item.factory.ts","../../../libs/cart/driver/magento/testing/src/factories/shipping-address.factory.ts","../../../libs/cart/driver/magento/testing/src/daffodil-cart-driver-magento-testing.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCartAddress } from '@daffodil/cart/driver/magento';\nimport {\n DaffModelFactory,\n enforceUnique,\n} from '@daffodil/core/testing';\n\nexport class MockMagentoCartAddress implements MagentoCartAddress {\n __typename = 'BillingCartAddress';\n customer_address_id = enforceUnique(faker.number.int);\n region = {\n __typename: 'CartAddressRegion',\n region_id: enforceUnique(faker.number.int),\n code: faker.location.state({ abbreviated: true }),\n };\n country = {\n __typename: 'CartAddressCountry',\n code: faker.location.countryCode(),\n label: faker.location.country(),\n };\n street = [faker.location.streetAddress()];\n company = faker.company.name();\n telephone = faker.phone.number();\n postcode = faker.location.zipCode();\n city = faker.location.city();\n firstname = faker.name.firstName();\n lastname = faker.name.lastName();\n email = faker.internet.email();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartAddressFactory extends DaffModelFactory<MagentoCartAddress> {\n constructor() {\n super(MockMagentoCartAddress);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCartAddressInput } from '@daffodil/cart/driver/magento';\nimport {\n DaffModelFactory,\n enforceUnique,\n} from '@daffodil/core/testing';\n\nexport class MockMagentoCartAddressInput implements MagentoCartAddressInput {\n region_id = enforceUnique(faker.number.int);\n country_code = faker.location.countryCode();\n street = [faker.location.streetAddress()];\n company = faker.company.name();\n telephone = faker.phone.number();\n postcode = faker.location.zipCode();\n city = faker.location.city();\n firstname = faker.name.firstName();\n lastname = faker.name.lastName();\n save_in_address_book = faker.datatype.boolean();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartAddressInputFactory extends DaffModelFactory<MagentoCartAddressInput> {\n constructor() {\n super(MockMagentoCartAddressInput);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCartCoupon } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nexport class MockMagentoCartCoupon implements MagentoCartCoupon {\n code = faker.string.alphanumeric(20);\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartCouponFactory extends DaffModelFactory<MagentoCartCoupon> {\n constructor() {\n super(MockMagentoCartCoupon);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCartPaymentMethod } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nexport class MockMagentoCartPaymentMethod implements MagentoCartPaymentMethod {\n code = faker.lorem.word();\n title = faker.lorem.word();\n purchase_order_number = faker.lorem.word();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartPaymentMethodFactory extends DaffModelFactory<MagentoCartPaymentMethod> {\n constructor() {\n super(MockMagentoCartPaymentMethod);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCartShippingMethod } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { MagentoMoney } from '@daffodil/driver/magento';\nimport { MagentoMoneyFactory } from '@daffodil/driver/magento/testing';\n\nexport class MockCartShippingMethod implements MagentoCartShippingMethod {\n carrier_code = faker.lorem.word();\n carrier_title = faker.lorem.words(2);\n method_title = faker.lorem.words(2);\n method_code = faker.lorem.word();\n amount = this.money();\n\n private money(): MagentoMoney {\n return (new MagentoMoneyFactory()).create();\n }\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartShippingMethodFactory extends DaffModelFactory<MagentoCartShippingMethod> {\n constructor() {\n super(MockCartShippingMethod);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport { MagentoCart } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { MagentoMoney } from '@daffodil/driver/magento';\nimport { MagentoMoneyFactory } from '@daffodil/driver/magento/testing';\n\nexport class MockMagentoCart implements MagentoCart {\n __typename = 'Cart';\n id = faker.string.uuid();\n prices = {\n __typename: 'CartPrices',\n subtotal_excluding_tax: this.money(),\n grand_total: this.money(),\n subtotal_including_tax: this.money(),\n subtotal_with_discount_excluding_tax: this.money(),\n applied_taxes: [{\n __typename: 'AppliedTax',\n amount: this.money(),\n label: 'tax',\n }],\n discounts: [{\n __typename: 'Discount',\n amount: this.money(),\n label: 'discount',\n }],\n };\n applied_coupons = [];\n items = [];\n billing_address = null;\n shipping_addresses = [];\n available_payment_methods = [];\n selected_payment_method = null;\n email = faker.internet.email();\n\n private money(): MagentoMoney {\n return (new MagentoMoneyFactory()).create();\n }\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartFactory extends DaffModelFactory<MagentoCart> {\n constructor() {\n super(MockMagentoCart);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport {\n MagentoCartItem,\n MagentoCartItemTypeEnum,\n MagentoCartItemProduct,\n} from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n MagentoMoney,\n MagentoDiscount,\n} from '@daffodil/driver/magento';\nimport {\n MagentoMoneyFactory,\n MagentoDiscountFactory,\n} from '@daffodil/driver/magento/testing';\nimport { MagentoProductStockStatusEnum } from '@daffodil/product/driver/magento';\n\nexport class MockMagentoCartItem implements MagentoCartItem {\n __typename = MagentoCartItemTypeEnum.Simple;\n id = faker.string.uuid();\n prices = {\n __typename: 'CartItemPrices',\n price: this.money(),\n row_total: this.money(),\n discounts: this.discounts(faker.number.int({ min: 0, max: 2 })),\n };\n product = this.createProduct();\n quantity = faker.number.int({ min: 1, max: 20 });\n\n private createProduct(): MagentoCartItemProduct {\n return {\n __typename: 'SimpleProduct',\n id: faker.number.int({ min: 1, max: 1500 }),\n name: faker.lorem.word(),\n url_key: faker.lorem.word(),\n url_suffix: '.html',\n sku: faker.commerce.product(),\n thumbnail: {\n __typename: 'Thumbnail',\n label: faker.lorem.word(),\n url: faker.image.url(),\n },\n stock_status: MagentoProductStockStatusEnum.InStock,\n };\n }\n\n private money(): MagentoMoney {\n return (new MagentoMoneyFactory()).create();\n }\n\n private discounts(number = 2): MagentoDiscount[] {\n return (new MagentoDiscountFactory()).createMany(number);\n }\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoCartItemFactory extends DaffModelFactory<MagentoCartItem> {\n\n constructor(){\n super(MockMagentoCartItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { faker } from '@faker-js/faker/locale/en_US';\n\nimport {\n MagentoCartItemTypeEnum,\n MagentoBundleCartItem,\n} from '@daffodil/cart/driver/magento';\nimport {\n DaffModelFactory,\n enforceUnique,\n} from '@daffodil/core/testing';\n\nimport { MockMagentoCartItem } from './cart-item.factory';\n\nexport class MockMagentoBundleCartItem extends MockMagentoCartItem implements MagentoBundleCartItem {\n __typename = MagentoCartItemTypeEnum.Bundle;\n bundle_options = [\n {\n id: enforceUnique(faker.number.int),\n type: 'radio',\n label: faker.lorem.word(),\n price: faker.number.int({ min: 1, max: 99 }),\n quantity: 1,\n values: [{\n id: enforceUnique(faker.number.int),\n label: faker.lorem.word(),\n price: faker.number.int({ min: 1, max: 99 }),\n quantity: 1,\n }],\n },\n ];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoBundleCartItemFactory extends DaffModelFactory<MagentoBundleCartItem> {\n\n constructor(){\n super(MockMagentoBundleCartItem);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport {\n MagentoCartItemTypeEnum,\n MagentoConfigurableCartItem,\n} from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nimport { MockMagentoCartItem } from './cart-item.factory';\n\nexport class MockMagentoConfigurableCartItem extends MockMagentoCartItem implements MagentoConfigurableCartItem {\n __typename = MagentoCartItemTypeEnum.Configurable;\n configurable_options = [\n {\n option_label: 'Color',\n value_label: 'Red',\n },\n {\n option_label: 'Size',\n value_label: 'M',\n },\n ];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoConfigurableCartItemFactory extends DaffModelFactory<MagentoConfigurableCartItem> {\n\n constructor(){\n super(MockMagentoConfigurableCartItem);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { MagentoShippingAddress } from '@daffodil/cart/driver/magento';\nimport { DaffModelFactory } from '@daffodil/core/testing';\n\nimport { MockMagentoCartAddress } from './cart-address.factory';\n\nexport class MockMagentoShippingAddress extends MockMagentoCartAddress implements MagentoShippingAddress {\n __typename = 'ShippingCartAddress';\n available_shipping_methods = [];\n selected_shipping_method = null;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class MagentoShippingAddressFactory extends DaffModelFactory<MagentoShippingAddress> {\n constructor() {\n super(MockMagentoShippingAddress);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MASa,sBAAsB,CAAA;AAAnC,IAAA,WAAA,GAAA;QACE,IAAU,CAAA,UAAA,GAAG,oBAAoB;QACjC,IAAmB,CAAA,mBAAA,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC;AACrD,QAAA,IAAA,CAAA,MAAM,GAAG;AACP,YAAA,UAAU,EAAE,mBAAmB;YAC/B,SAAS,EAAE,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC;AAC1C,YAAA,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;SAClD;AACD,QAAA,IAAA,CAAA,OAAO,GAAG;AACR,YAAA,UAAU,EAAE,oBAAoB;AAChC,YAAA,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,WAAW,EAAE;AAClC,YAAA,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,OAAO,EAAE;SAChC;QACD,IAAM,CAAA,MAAA,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,EAAE,CAAC;AACzC,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE;AAC9B,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,EAAE;AACnC,QAAA,I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