@daffodil/cart 0.79.0 → 0.81.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.
Files changed (493) hide show
  1. package/driver/errors/codes.enum.d.ts +0 -1
  2. package/driver/errors/map.d.ts +0 -2
  3. package/driver/errors/public_api.d.ts +0 -1
  4. package/driver/interfaces/cart-payment-service.interface.d.ts +0 -6
  5. package/driver/interfaces/cart-service.interface.d.ts +0 -7
  6. package/driver/magento/errors/transform.d.ts +2 -2
  7. package/driver/magento/transforms/outputs/cart-coupon-response.service.d.ts +0 -1
  8. package/driver/magento/transforms/outputs/cart.service.d.ts +0 -1
  9. package/fesm2022/daffodil-cart-driver-in-memory.mjs +77 -78
  10. package/fesm2022/daffodil-cart-driver-in-memory.mjs.map +1 -1
  11. package/fesm2022/daffodil-cart-driver-magento-testing.mjs +30 -30
  12. package/fesm2022/daffodil-cart-driver-magento-testing.mjs.map +1 -1
  13. package/fesm2022/daffodil-cart-driver-magento.mjs +78 -92
  14. package/fesm2022/daffodil-cart-driver-magento.mjs.map +1 -1
  15. package/fesm2022/daffodil-cart-driver-testing.mjs +37 -37
  16. package/fesm2022/daffodil-cart-driver-testing.mjs.map +1 -1
  17. package/fesm2022/daffodil-cart-driver.mjs +4 -19
  18. package/fesm2022/daffodil-cart-driver.mjs.map +1 -1
  19. package/fesm2022/daffodil-cart-routing.mjs +37 -37
  20. package/fesm2022/daffodil-cart-routing.mjs.map +1 -1
  21. package/fesm2022/daffodil-cart-state-testing.mjs +16 -17
  22. package/fesm2022/daffodil-cart-state-testing.mjs.map +1 -1
  23. package/fesm2022/daffodil-cart-state.mjs +105 -106
  24. package/fesm2022/daffodil-cart-state.mjs.map +1 -1
  25. package/fesm2022/daffodil-cart-testing.mjs +29 -37
  26. package/fesm2022/daffodil-cart-testing.mjs.map +1 -1
  27. package/fesm2022/daffodil-cart.mjs +3 -4
  28. package/fesm2022/daffodil-cart.mjs.map +1 -1
  29. package/models/cart-coupon.d.ts +1 -7
  30. package/models/cart-item.d.ts +0 -4
  31. package/models/cart-order-result.d.ts +0 -4
  32. package/models/cart.d.ts +0 -8
  33. package/models/composite-cart-item.d.ts +1 -5
  34. package/package.json +1 -1
  35. package/state/effects/cart.effects.d.ts +1 -2
  36. package/testing/factories/cart-coupon.factory.d.ts +0 -1
  37. package/testing/factories/cart-item/cart-item.factory.d.ts +0 -1
  38. package/testing/factories/cart-item/composite-cart-item.factory.d.ts +0 -3
  39. package/testing/factories/cart.factory.d.ts +0 -2
  40. package/driver/errors/product-not-found.d.ts +0 -11
  41. package/esm2022/daffodil-cart.mjs +0 -5
  42. package/esm2022/driver/daffodil-cart-driver.mjs +0 -5
  43. package/esm2022/driver/errors/cart-not-found.mjs +0 -13
  44. package/esm2022/driver/errors/codes.enum.mjs +0 -15
  45. package/esm2022/driver/errors/expired-payment-token.mjs +0 -15
  46. package/esm2022/driver/errors/invalid-api-response.mjs +0 -14
  47. package/esm2022/driver/errors/invalid-country.mjs +0 -13
  48. package/esm2022/driver/errors/invalid-coupon-code.mjs +0 -14
  49. package/esm2022/driver/errors/invalid-email.mjs +0 -12
  50. package/esm2022/driver/errors/invalid-region.mjs +0 -13
  51. package/esm2022/driver/errors/item-exceeds-max-qty.mjs +0 -13
  52. package/esm2022/driver/errors/map.mjs +0 -29
  53. package/esm2022/driver/errors/product-not-found.mjs +0 -15
  54. package/esm2022/driver/errors/product-out-of-stock.mjs +0 -13
  55. package/esm2022/driver/errors/public_api.mjs +0 -14
  56. package/esm2022/driver/errors/unauthorized-for-cart.mjs +0 -12
  57. package/esm2022/driver/in-memory/backend/cart/cart.service.mjs +0 -124
  58. package/esm2022/driver/in-memory/backend/cart-address/cart-address.service.mjs +0 -45
  59. package/esm2022/driver/in-memory/backend/cart-billing-address/cart-billing-address.service.mjs +0 -53
  60. package/esm2022/driver/in-memory/backend/cart-coupon/cart-coupon.service.mjs +0 -91
  61. package/esm2022/driver/in-memory/backend/cart-items/cart-items.service.mjs +0 -144
  62. package/esm2022/driver/in-memory/backend/cart-order/cart-order.service.mjs +0 -34
  63. package/esm2022/driver/in-memory/backend/cart-payment/cart-payment.service.mjs +0 -70
  64. package/esm2022/driver/in-memory/backend/cart-payment-methods/cart-payment-methods.service.mjs +0 -33
  65. package/esm2022/driver/in-memory/backend/cart-root.service.mjs +0 -97
  66. package/esm2022/driver/in-memory/backend/cart-shipping-address/cart-shipping-address.service.mjs +0 -53
  67. package/esm2022/driver/in-memory/backend/cart-shipping-information/cart-shipping-information.service.mjs +0 -71
  68. package/esm2022/driver/in-memory/backend/cart-shipping-methods/cart-shipping-methods.service.mjs +0 -45
  69. package/esm2022/driver/in-memory/backend/public_api.mjs +0 -13
  70. package/esm2022/driver/in-memory/collection-names.mjs +0 -12
  71. package/esm2022/driver/in-memory/daffodil-cart-driver-in-memory.mjs +0 -5
  72. package/esm2022/driver/in-memory/drivers/cart/cart.service.mjs +0 -53
  73. package/esm2022/driver/in-memory/drivers/cart-address/cart-address.service.mjs +0 -29
  74. package/esm2022/driver/in-memory/drivers/cart-billing-address/cart-billing-address.service.mjs +0 -32
  75. package/esm2022/driver/in-memory/drivers/cart-coupon/cart-coupon.service.mjs +0 -38
  76. package/esm2022/driver/in-memory/drivers/cart-driver.module.mjs +0 -50
  77. package/esm2022/driver/in-memory/drivers/cart-item/cart-item.service.mjs +0 -41
  78. package/esm2022/driver/in-memory/drivers/cart-order/cart-order.service.mjs +0 -29
  79. package/esm2022/driver/in-memory/drivers/cart-payment/cart-payment.service.mjs +0 -38
  80. package/esm2022/driver/in-memory/drivers/cart-payment-methods/cart-payment-methods.service.mjs +0 -29
  81. package/esm2022/driver/in-memory/drivers/cart-shipping-address/cart-shipping-address.service.mjs +0 -32
  82. package/esm2022/driver/in-memory/drivers/cart-shipping-information/cart-shipping-information.service.mjs +0 -35
  83. package/esm2022/driver/in-memory/drivers/cart-shipping-methods/cart-shipping-methods.service.mjs +0 -29
  84. package/esm2022/driver/in-memory/drivers/public_api.mjs +0 -12
  85. package/esm2022/driver/in-memory/helpers/compute-cart-item-prices.mjs +0 -7
  86. package/esm2022/driver/in-memory/helpers/compute-cart-totals.mjs +0 -46
  87. package/esm2022/driver/in-memory/index.mjs +0 -2
  88. package/esm2022/driver/in-memory/injection-tokens/extra-attributes-hook.token.mjs +0 -26
  89. package/esm2022/driver/in-memory/injection-tokens/public_api.mjs +0 -2
  90. package/esm2022/driver/in-memory/public_api.mjs +0 -5
  91. package/esm2022/driver/index.mjs +0 -2
  92. package/esm2022/driver/injection-tokens/free-payment-method.mjs +0 -12
  93. package/esm2022/driver/injection-tokens/public_api.mjs +0 -2
  94. package/esm2022/driver/interfaces/cart-address-service.interface.mjs +0 -7
  95. package/esm2022/driver/interfaces/cart-billing-address-service.interface.mjs +0 -7
  96. package/esm2022/driver/interfaces/cart-coupon-service.interface.mjs +0 -7
  97. package/esm2022/driver/interfaces/cart-item-service.interface.mjs +0 -7
  98. package/esm2022/driver/interfaces/cart-order-service.interface.mjs +0 -7
  99. package/esm2022/driver/interfaces/cart-payment-methods-service.interface.mjs +0 -7
  100. package/esm2022/driver/interfaces/cart-payment-service.interface.mjs +0 -7
  101. package/esm2022/driver/interfaces/cart-service.interface.mjs +0 -7
  102. package/esm2022/driver/interfaces/cart-shipping-address-service.interface.mjs +0 -7
  103. package/esm2022/driver/interfaces/cart-shipping-information-service.interface.mjs +0 -7
  104. package/esm2022/driver/interfaces/cart-shipping-methods-service.interface.mjs +0 -7
  105. package/esm2022/driver/interfaces/public_api.mjs +0 -13
  106. package/esm2022/driver/magento/cart-address.service.mjs +0 -75
  107. package/esm2022/driver/magento/cart-billing-address.service.mjs +0 -87
  108. package/esm2022/driver/magento/cart-coupon.service.mjs +0 -71
  109. package/esm2022/driver/magento/cart-driver.module.mjs +0 -81
  110. package/esm2022/driver/magento/cart-item.service.mjs +0 -116
  111. package/esm2022/driver/magento/cart-order.service.mjs +0 -44
  112. package/esm2022/driver/magento/cart-payment-methods.service.mjs +0 -42
  113. package/esm2022/driver/magento/cart-payment.service.mjs +0 -108
  114. package/esm2022/driver/magento/cart-shipping-address.service.mjs +0 -87
  115. package/esm2022/driver/magento/cart-shipping-information.service.mjs +0 -90
  116. package/esm2022/driver/magento/cart-shipping-methods.service.mjs +0 -42
  117. package/esm2022/driver/magento/cart.service.mjs +0 -101
  118. package/esm2022/driver/magento/daffodil-cart-driver-magento.mjs +0 -5
  119. package/esm2022/driver/magento/errors/codes.mjs +0 -8
  120. package/esm2022/driver/magento/errors/map.mjs +0 -25
  121. package/esm2022/driver/magento/errors/transform.mjs +0 -40
  122. package/esm2022/driver/magento/index.mjs +0 -2
  123. package/esm2022/driver/magento/injection-tokens/cart-mutation-queue.token.mjs +0 -13
  124. package/esm2022/driver/magento/injection-tokens/fragments/cart.mjs +0 -20
  125. package/esm2022/driver/magento/injection-tokens/public_api.mjs +0 -4
  126. package/esm2022/driver/magento/injection-tokens/transforms/cart/token.mjs +0 -22
  127. package/esm2022/driver/magento/injection-tokens/transforms/cart-item/token.mjs +0 -22
  128. package/esm2022/driver/magento/interfaces/cart-item-transform.type.mjs +0 -2
  129. package/esm2022/driver/magento/interfaces/cart-transform.type.mjs +0 -2
  130. package/esm2022/driver/magento/interfaces/public_api.mjs +0 -2
  131. package/esm2022/driver/magento/models/public_api.mjs +0 -3
  132. package/esm2022/driver/magento/models/requests/billing-address.mjs +0 -2
  133. package/esm2022/driver/magento/models/requests/cart-address-base.mjs +0 -2
  134. package/esm2022/driver/magento/models/requests/cart-address.mjs +0 -2
  135. package/esm2022/driver/magento/models/requests/cart-item-update.mjs +0 -2
  136. package/esm2022/driver/magento/models/requests/cart-item.mjs +0 -2
  137. package/esm2022/driver/magento/models/requests/payment-method.mjs +0 -2
  138. package/esm2022/driver/magento/models/requests/public_api.mjs +0 -2
  139. package/esm2022/driver/magento/models/requests/shipping-address.mjs +0 -2
  140. package/esm2022/driver/magento/models/requests/shipping-method.mjs +0 -2
  141. package/esm2022/driver/magento/models/responses/cart-address.mjs +0 -2
  142. package/esm2022/driver/magento/models/responses/cart-coupon.mjs +0 -2
  143. package/esm2022/driver/magento/models/responses/cart-item.mjs +0 -7
  144. package/esm2022/driver/magento/models/responses/cart-payment-method.mjs +0 -2
  145. package/esm2022/driver/magento/models/responses/cart-shipping-method.mjs +0 -2
  146. package/esm2022/driver/magento/models/responses/cart.mjs +0 -2
  147. package/esm2022/driver/magento/models/responses/public_api.mjs +0 -3
  148. package/esm2022/driver/magento/models/responses/shipping-address.mjs +0 -2
  149. package/esm2022/driver/magento/models/responses/user-error.enum.mjs +0 -8
  150. package/esm2022/driver/magento/models/responses/user-error.type.mjs +0 -2
  151. package/esm2022/driver/magento/public_api.mjs +0 -17
  152. package/esm2022/driver/magento/queries/add-item/public_api.mjs +0 -4
  153. package/esm2022/driver/magento/queries/add-item/query.mjs +0 -23
  154. package/esm2022/driver/magento/queries/add-item/response.type.mjs +0 -2
  155. package/esm2022/driver/magento/queries/add-item/variables.type.mjs +0 -2
  156. package/esm2022/driver/magento/queries/apply-coupon/public_api.mjs +0 -4
  157. package/esm2022/driver/magento/queries/apply-coupon/query.mjs +0 -21
  158. package/esm2022/driver/magento/queries/apply-coupon/response.type.mjs +0 -2
  159. package/esm2022/driver/magento/queries/apply-coupon/variables.type.mjs +0 -2
  160. package/esm2022/driver/magento/queries/create-cart/public_api.mjs +0 -4
  161. package/esm2022/driver/magento/queries/create-cart/query.mjs +0 -7
  162. package/esm2022/driver/magento/queries/create-cart/response.type.mjs +0 -2
  163. package/esm2022/driver/magento/queries/create-cart/variables.type.mjs +0 -2
  164. package/esm2022/driver/magento/queries/fragments/available-payment-method.mjs +0 -8
  165. package/esm2022/driver/magento/queries/fragments/available-shipping-method.mjs +0 -15
  166. package/esm2022/driver/magento/queries/fragments/cart-address.mjs +0 -22
  167. package/esm2022/driver/magento/queries/fragments/cart-coupon.mjs +0 -7
  168. package/esm2022/driver/magento/queries/fragments/cart-item.mjs +0 -62
  169. package/esm2022/driver/magento/queries/fragments/cart.mjs +0 -58
  170. package/esm2022/driver/magento/queries/fragments/prices.mjs +0 -32
  171. package/esm2022/driver/magento/queries/fragments/public_api.mjs +0 -11
  172. package/esm2022/driver/magento/queries/fragments/selected-payment-method.mjs +0 -9
  173. package/esm2022/driver/magento/queries/fragments/selected-shipping-method.mjs +0 -15
  174. package/esm2022/driver/magento/queries/fragments/user-error.mjs +0 -8
  175. package/esm2022/driver/magento/queries/get-billing-address/public_api.mjs +0 -4
  176. package/esm2022/driver/magento/queries/get-billing-address/query.mjs +0 -17
  177. package/esm2022/driver/magento/queries/get-billing-address/response.type.mjs +0 -2
  178. package/esm2022/driver/magento/queries/get-billing-address/variables.type.mjs +0 -2
  179. package/esm2022/driver/magento/queries/get-cart/public_api.mjs +0 -4
  180. package/esm2022/driver/magento/queries/get-cart/query.mjs +0 -14
  181. package/esm2022/driver/magento/queries/get-cart/response.type.mjs +0 -2
  182. package/esm2022/driver/magento/queries/get-cart/variables.type.mjs +0 -2
  183. package/esm2022/driver/magento/queries/get-selected-payment-method/public_api.mjs +0 -4
  184. package/esm2022/driver/magento/queries/get-selected-payment-method/query.mjs +0 -16
  185. package/esm2022/driver/magento/queries/get-selected-payment-method/response.type.mjs +0 -2
  186. package/esm2022/driver/magento/queries/get-selected-payment-method/variables.type.mjs +0 -2
  187. package/esm2022/driver/magento/queries/get-selected-shipping-method/public_api.mjs +0 -4
  188. package/esm2022/driver/magento/queries/get-selected-shipping-method/query.mjs +0 -18
  189. package/esm2022/driver/magento/queries/get-selected-shipping-method/response.type.mjs +0 -2
  190. package/esm2022/driver/magento/queries/get-selected-shipping-method/variables.type.mjs +0 -2
  191. package/esm2022/driver/magento/queries/get-shipping-address/public_api.mjs +0 -4
  192. package/esm2022/driver/magento/queries/get-shipping-address/query.mjs +0 -17
  193. package/esm2022/driver/magento/queries/get-shipping-address/response.type.mjs +0 -2
  194. package/esm2022/driver/magento/queries/get-shipping-address/variables.type.mjs +0 -2
  195. package/esm2022/driver/magento/queries/list-coupons/public_api.mjs +0 -4
  196. package/esm2022/driver/magento/queries/list-coupons/query.mjs +0 -16
  197. package/esm2022/driver/magento/queries/list-coupons/response.type.mjs +0 -2
  198. package/esm2022/driver/magento/queries/list-coupons/variables.type.mjs +0 -2
  199. package/esm2022/driver/magento/queries/list-items/public_api.mjs +0 -4
  200. package/esm2022/driver/magento/queries/list-items/query.mjs +0 -16
  201. package/esm2022/driver/magento/queries/list-items/response.type.mjs +0 -2
  202. package/esm2022/driver/magento/queries/list-items/variables.type.mjs +0 -2
  203. package/esm2022/driver/magento/queries/list-payment-methods/public_api.mjs +0 -4
  204. package/esm2022/driver/magento/queries/list-payment-methods/query.mjs +0 -16
  205. package/esm2022/driver/magento/queries/list-payment-methods/response.type.mjs +0 -2
  206. package/esm2022/driver/magento/queries/list-payment-methods/variables.type.mjs +0 -2
  207. package/esm2022/driver/magento/queries/list-shipping-methods/public_api.mjs +0 -4
  208. package/esm2022/driver/magento/queries/list-shipping-methods/query.mjs +0 -19
  209. package/esm2022/driver/magento/queries/list-shipping-methods/response.type.mjs +0 -2
  210. package/esm2022/driver/magento/queries/list-shipping-methods/variables.type.mjs +0 -2
  211. package/esm2022/driver/magento/queries/merge-carts/public_api.mjs +0 -4
  212. package/esm2022/driver/magento/queries/merge-carts/query.mjs +0 -17
  213. package/esm2022/driver/magento/queries/merge-carts/response.type.mjs +0 -2
  214. package/esm2022/driver/magento/queries/merge-carts/variables.type.mjs +0 -2
  215. package/esm2022/driver/magento/queries/place-order/public_api.mjs +0 -4
  216. package/esm2022/driver/magento/queries/place-order/query.mjs +0 -15
  217. package/esm2022/driver/magento/queries/place-order/response.type.mjs +0 -2
  218. package/esm2022/driver/magento/queries/place-order/variables.type.mjs +0 -2
  219. package/esm2022/driver/magento/queries/public_api.mjs +0 -29
  220. package/esm2022/driver/magento/queries/remove-all-coupons/public_api.mjs +0 -4
  221. package/esm2022/driver/magento/queries/remove-all-coupons/query.mjs +0 -20
  222. package/esm2022/driver/magento/queries/remove-all-coupons/response.type.mjs +0 -2
  223. package/esm2022/driver/magento/queries/remove-all-coupons/variables.type.mjs +0 -2
  224. package/esm2022/driver/magento/queries/remove-item/public_api.mjs +0 -4
  225. package/esm2022/driver/magento/queries/remove-item/query.mjs +0 -19
  226. package/esm2022/driver/magento/queries/remove-item/response.type.mjs +0 -2
  227. package/esm2022/driver/magento/queries/remove-item/variables.type.mjs +0 -2
  228. package/esm2022/driver/magento/queries/set-selected-payment-method/public_api.mjs +0 -4
  229. package/esm2022/driver/magento/queries/set-selected-payment-method/query.mjs +0 -19
  230. package/esm2022/driver/magento/queries/set-selected-payment-method/response.type.mjs +0 -2
  231. package/esm2022/driver/magento/queries/set-selected-payment-method/variables.type.mjs +0 -2
  232. package/esm2022/driver/magento/queries/set-selected-payment-method-with-billing/public_api.mjs +0 -4
  233. package/esm2022/driver/magento/queries/set-selected-payment-method-with-billing/query.mjs +0 -31
  234. package/esm2022/driver/magento/queries/set-selected-payment-method-with-billing/response.type.mjs +0 -2
  235. package/esm2022/driver/magento/queries/set-selected-payment-method-with-billing/variables.type.mjs +0 -2
  236. package/esm2022/driver/magento/queries/set-selected-payment-method-with-billing-and-email/public_api.mjs +0 -4
  237. package/esm2022/driver/magento/queries/set-selected-payment-method-with-billing-and-email/query.mjs +0 -40
  238. package/esm2022/driver/magento/queries/set-selected-payment-method-with-billing-and-email/response.type.mjs +0 -2
  239. package/esm2022/driver/magento/queries/set-selected-payment-method-with-billing-and-email/variables.type.mjs +0 -2
  240. package/esm2022/driver/magento/queries/set-selected-shipping-method/public_api.mjs +0 -4
  241. package/esm2022/driver/magento/queries/set-selected-shipping-method/query.mjs +0 -19
  242. package/esm2022/driver/magento/queries/set-selected-shipping-method/response.type.mjs +0 -2
  243. package/esm2022/driver/magento/queries/set-selected-shipping-method/variables.type.mjs +0 -2
  244. package/esm2022/driver/magento/queries/update-address/public_api.mjs +0 -4
  245. package/esm2022/driver/magento/queries/update-address/query.mjs +0 -40
  246. package/esm2022/driver/magento/queries/update-address/response.type.mjs +0 -2
  247. package/esm2022/driver/magento/queries/update-address/variables.type.mjs +0 -2
  248. package/esm2022/driver/magento/queries/update-address-with-email/public_api.mjs +0 -4
  249. package/esm2022/driver/magento/queries/update-address-with-email/query.mjs +0 -48
  250. package/esm2022/driver/magento/queries/update-address-with-email/response.type.mjs +0 -2
  251. package/esm2022/driver/magento/queries/update-address-with-email/variables.type.mjs +0 -2
  252. package/esm2022/driver/magento/queries/update-billing-address/public_api.mjs +0 -4
  253. package/esm2022/driver/magento/queries/update-billing-address/query.mjs +0 -22
  254. package/esm2022/driver/magento/queries/update-billing-address/response.type.mjs +0 -2
  255. package/esm2022/driver/magento/queries/update-billing-address/variables.type.mjs +0 -2
  256. package/esm2022/driver/magento/queries/update-billing-address-with-email/public_api.mjs +0 -4
  257. package/esm2022/driver/magento/queries/update-billing-address-with-email/query.mjs +0 -31
  258. package/esm2022/driver/magento/queries/update-billing-address-with-email/response.type.mjs +0 -2
  259. package/esm2022/driver/magento/queries/update-billing-address-with-email/variables.type.mjs +0 -2
  260. package/esm2022/driver/magento/queries/update-item/public_api.mjs +0 -4
  261. package/esm2022/driver/magento/queries/update-item/query.mjs +0 -19
  262. package/esm2022/driver/magento/queries/update-item/response.type.mjs +0 -2
  263. package/esm2022/driver/magento/queries/update-item/variables.type.mjs +0 -2
  264. package/esm2022/driver/magento/queries/update-shipping-address/public_api.mjs +0 -4
  265. package/esm2022/driver/magento/queries/update-shipping-address/query.mjs +0 -22
  266. package/esm2022/driver/magento/queries/update-shipping-address/response.type.mjs +0 -2
  267. package/esm2022/driver/magento/queries/update-shipping-address/variables.type.mjs +0 -2
  268. package/esm2022/driver/magento/queries/update-shipping-address-with-email/public_api.mjs +0 -4
  269. package/esm2022/driver/magento/queries/update-shipping-address-with-email/query.mjs +0 -31
  270. package/esm2022/driver/magento/queries/update-shipping-address-with-email/response.type.mjs +0 -2
  271. package/esm2022/driver/magento/queries/update-shipping-address-with-email/variables.type.mjs +0 -2
  272. package/esm2022/driver/magento/testing/daffodil-cart-driver-magento-testing.mjs +0 -5
  273. package/esm2022/driver/magento/testing/factories/cart-address-input.factory.mjs +0 -32
  274. package/esm2022/driver/magento/testing/factories/cart-address.factory.mjs +0 -42
  275. package/esm2022/driver/magento/testing/factories/cart-coupon.factory.mjs +0 -24
  276. package/esm2022/driver/magento/testing/factories/cart-item/bundle-cart-item.factory.mjs +0 -41
  277. package/esm2022/driver/magento/testing/factories/cart-item/cart-item.factory.mjs +0 -57
  278. package/esm2022/driver/magento/testing/factories/cart-item/configurable-cart-item.factory.mjs +0 -35
  279. package/esm2022/driver/magento/testing/factories/cart-payment-method.factory.mjs +0 -25
  280. package/esm2022/driver/magento/testing/factories/cart-shipping-method.factory.mjs +0 -31
  281. package/esm2022/driver/magento/testing/factories/cart.factory.mjs +0 -53
  282. package/esm2022/driver/magento/testing/factories/public_api.mjs +0 -11
  283. package/esm2022/driver/magento/testing/factories/shipping-address.factory.mjs +0 -26
  284. package/esm2022/driver/magento/testing/index.mjs +0 -2
  285. package/esm2022/driver/magento/testing/public_api.mjs +0 -2
  286. package/esm2022/driver/magento/transforms/inputs/billing-address.service.mjs +0 -29
  287. package/esm2022/driver/magento/transforms/inputs/cart-address.service.mjs +0 -30
  288. package/esm2022/driver/magento/transforms/inputs/cart-item-input-transformers.mjs +0 -20
  289. package/esm2022/driver/magento/transforms/inputs/cart-item-update.service.mjs +0 -19
  290. package/esm2022/driver/magento/transforms/inputs/payment-method.service.mjs +0 -18
  291. package/esm2022/driver/magento/transforms/inputs/shipping-address.service.mjs +0 -29
  292. package/esm2022/driver/magento/transforms/inputs/shipping-method.service.mjs +0 -19
  293. package/esm2022/driver/magento/transforms/outputs/billing-address.service.mjs +0 -32
  294. package/esm2022/driver/magento/transforms/outputs/cart-address.service.mjs +0 -45
  295. package/esm2022/driver/magento/transforms/outputs/cart-coupon-response.service.mjs +0 -59
  296. package/esm2022/driver/magento/transforms/outputs/cart-coupon.mjs +0 -7
  297. package/esm2022/driver/magento/transforms/outputs/cart-item/bundle-cart-item-transformer.mjs +0 -23
  298. package/esm2022/driver/magento/transforms/outputs/cart-item/cart-item-transformer.mjs +0 -23
  299. package/esm2022/driver/magento/transforms/outputs/cart-item/configurable-cart-item-transformer.mjs +0 -21
  300. package/esm2022/driver/magento/transforms/outputs/cart-item/simple-cart-item-transformer.mjs +0 -35
  301. package/esm2022/driver/magento/transforms/outputs/cart-payment.service.mjs +0 -26
  302. package/esm2022/driver/magento/transforms/outputs/cart-shipping-rate.service.mjs +0 -33
  303. package/esm2022/driver/magento/transforms/outputs/cart-totals-transformer.mjs +0 -63
  304. package/esm2022/driver/magento/transforms/outputs/cart.service.mjs +0 -126
  305. package/esm2022/driver/magento/transforms/outputs/shipping-address.service.mjs +0 -32
  306. package/esm2022/driver/magento/transforms/public_api.mjs +0 -13
  307. package/esm2022/driver/operators/handle-cart-not-found.mjs +0 -17
  308. package/esm2022/driver/operators/public_api.mjs +0 -2
  309. package/esm2022/driver/public_api.mjs +0 -6
  310. package/esm2022/driver/services/public_api.mjs +0 -2
  311. package/esm2022/driver/services/resolve.service.mjs +0 -46
  312. package/esm2022/driver/testing/daffodil-cart-driver-testing.mjs +0 -5
  313. package/esm2022/driver/testing/drivers/cart/cart.service.mjs +0 -45
  314. package/esm2022/driver/testing/drivers/cart-address/cart-address.service.mjs +0 -26
  315. package/esm2022/driver/testing/drivers/cart-billing-address/cart-billing-address.service.mjs +0 -29
  316. package/esm2022/driver/testing/drivers/cart-coupon/cart-coupon.service.mjs +0 -35
  317. package/esm2022/driver/testing/drivers/cart-driver.module.mjs +0 -47
  318. package/esm2022/driver/testing/drivers/cart-item/cart-item.service.mjs +0 -38
  319. package/esm2022/driver/testing/drivers/cart-order/cart-order.service.mjs +0 -25
  320. package/esm2022/driver/testing/drivers/cart-payment/cart-payment.service.mjs +0 -35
  321. package/esm2022/driver/testing/drivers/cart-payment-methods/cart-payment-methods.service.mjs +0 -25
  322. package/esm2022/driver/testing/drivers/cart-shipping-address/cart-shipping-address.service.mjs +0 -29
  323. package/esm2022/driver/testing/drivers/cart-shipping-information/cart-shipping-information.service.mjs +0 -32
  324. package/esm2022/driver/testing/drivers/cart-shipping-methods/cart-shipping-methods.service.mjs +0 -25
  325. package/esm2022/driver/testing/drivers/public_api.mjs +0 -13
  326. package/esm2022/driver/testing/index.mjs +0 -2
  327. package/esm2022/driver/testing/public_api.mjs +0 -2
  328. package/esm2022/errors/codes.enum.mjs +0 -12
  329. package/esm2022/errors/map.mjs +0 -12
  330. package/esm2022/errors/public_api.mjs +0 -4
  331. package/esm2022/errors/resolution/cart-not-found-or-created-resolution.mjs +0 -15
  332. package/esm2022/errors/resolution/cart-resolution.mjs +0 -14
  333. package/esm2022/errors/resolution/cart-server-side-resolution.mjs +0 -16
  334. package/esm2022/errors/resolution/cart-storage-resolution.mjs +0 -15
  335. package/esm2022/errors/resolution/public_api.mjs +0 -5
  336. package/esm2022/helpers/get-affected-item.mjs +0 -13
  337. package/esm2022/helpers/get-item-total-discount.mjs +0 -8
  338. package/esm2022/helpers/input-to-item-transform.mjs +0 -19
  339. package/esm2022/helpers/public_api.mjs +0 -4
  340. package/esm2022/index.mjs +0 -2
  341. package/esm2022/injection-tokens/payment-method-map.mjs +0 -15
  342. package/esm2022/injection-tokens/public_api.mjs +0 -2
  343. package/esm2022/models/cart-address.mjs +0 -2
  344. package/esm2022/models/cart-coupon.mjs +0 -2
  345. package/esm2022/models/cart-item-input.mjs +0 -11
  346. package/esm2022/models/cart-item.mjs +0 -2
  347. package/esm2022/models/cart-order-result.mjs +0 -2
  348. package/esm2022/models/cart-payment.mjs +0 -2
  349. package/esm2022/models/cart-shipping-rate.mjs +0 -2
  350. package/esm2022/models/cart-total.mjs +0 -15
  351. package/esm2022/models/cart.mjs +0 -2
  352. package/esm2022/models/composite-cart-item.mjs +0 -2
  353. package/esm2022/models/configurable-cart-item.mjs +0 -2
  354. package/esm2022/models/public_api.mjs +0 -7
  355. package/esm2022/public_api.mjs +0 -6
  356. package/esm2022/routing/cart-routing.module.mjs +0 -45
  357. package/esm2022/routing/config/config.mjs +0 -20
  358. package/esm2022/routing/config/resolution/config.mjs +0 -8
  359. package/esm2022/routing/daffodil-cart-routing.mjs +0 -5
  360. package/esm2022/routing/guards/billing-address/billing-address-guard-redirect.token.mjs +0 -7
  361. package/esm2022/routing/guards/billing-address/billing-address.guard.mjs +0 -40
  362. package/esm2022/routing/guards/cart-items/cart-items-guard-redirect.token.mjs +0 -11
  363. package/esm2022/routing/guards/cart-items/cart-items.guard.mjs +0 -41
  364. package/esm2022/routing/guards/in-stock-items/in-stock-items-guard-redirect.token.mjs +0 -11
  365. package/esm2022/routing/guards/in-stock-items/in-stock-items.guard.mjs +0 -44
  366. package/esm2022/routing/guards/order-result/order-result-guard-redirect.token.mjs +0 -7
  367. package/esm2022/routing/guards/order-result/order-result.guard.mjs +0 -38
  368. package/esm2022/routing/guards/payment-method/payment-method-guard-redirect.token.mjs +0 -7
  369. package/esm2022/routing/guards/payment-method/payment-method.guard.mjs +0 -40
  370. package/esm2022/routing/guards/public_api.mjs +0 -18
  371. package/esm2022/routing/guards/resolve-cart/redirect.token.mjs +0 -7
  372. package/esm2022/routing/guards/resolve-cart/resolve-cart.guard.mjs +0 -75
  373. package/esm2022/routing/guards/resolved-cart/resolved-cart.guard.mjs +0 -42
  374. package/esm2022/routing/guards/shipping-address/shipping-address-guard-redirect.token.mjs +0 -7
  375. package/esm2022/routing/guards/shipping-address/shipping-address.guard.mjs +0 -40
  376. package/esm2022/routing/guards/shipping-method/shipping-method-guard-redirect.token.mjs +0 -7
  377. package/esm2022/routing/guards/shipping-method/shipping-method.guard.mjs +0 -40
  378. package/esm2022/routing/index.mjs +0 -2
  379. package/esm2022/routing/public_api.mjs +0 -5
  380. package/esm2022/routing/resolvers/cart-resolver.service.mjs +0 -47
  381. package/esm2022/routing/resolvers/empty-cart-resolver.service.mjs +0 -41
  382. package/esm2022/routing/resolvers/public_api.mjs +0 -5
  383. package/esm2022/routing/resolvers/tokens/cart-resolver-redirect.token.mjs +0 -7
  384. package/esm2022/routing/resolvers/tokens/empty-cart-resolver-redirect.token.mjs +0 -7
  385. package/esm2022/state/actions/cart-address.actions.mjs +0 -37
  386. package/esm2022/state/actions/cart-billing-address.actions.mjs +0 -66
  387. package/esm2022/state/actions/cart-coupon.actions.mjs +0 -134
  388. package/esm2022/state/actions/cart-item.actions.mjs +0 -203
  389. package/esm2022/state/actions/cart-order.actions.mjs +0 -37
  390. package/esm2022/state/actions/cart-payment-methods.actions.mjs +0 -36
  391. package/esm2022/state/actions/cart-payment.actions.mjs +0 -145
  392. package/esm2022/state/actions/cart-retrieval.mjs +0 -71
  393. package/esm2022/state/actions/cart-shipping-address.actions.mjs +0 -66
  394. package/esm2022/state/actions/cart-shipping-information.actions.mjs +0 -90
  395. package/esm2022/state/actions/cart-shipping-methods.actions.mjs +0 -30
  396. package/esm2022/state/actions/cart.actions.mjs +0 -197
  397. package/esm2022/state/actions/public_api.mjs +0 -13
  398. package/esm2022/state/cart-retrieval/get-response.mjs +0 -12
  399. package/esm2022/state/cart-retrieval/public_api.mjs +0 -4
  400. package/esm2022/state/cart-retrieval/token.mjs +0 -11
  401. package/esm2022/state/cart-retrieval/type.mjs +0 -2
  402. package/esm2022/state/cart-state.module.mjs +0 -84
  403. package/esm2022/state/daffodil-cart-state.mjs +0 -5
  404. package/esm2022/state/effects/cart-address.effects.mjs +0 -35
  405. package/esm2022/state/effects/cart-billing-address.effects.mjs +0 -34
  406. package/esm2022/state/effects/cart-coupon.effects.mjs +0 -44
  407. package/esm2022/state/effects/cart-item.effects.mjs +0 -61
  408. package/esm2022/state/effects/cart-order.effects.mjs +0 -36
  409. package/esm2022/state/effects/cart-payment-methods.effects.mjs +0 -33
  410. package/esm2022/state/effects/cart-payment-processor.effects.mjs +0 -69
  411. package/esm2022/state/effects/cart-payment.effects.mjs +0 -36
  412. package/esm2022/state/effects/cart-resolver.effects.mjs +0 -69
  413. package/esm2022/state/effects/cart-shipping-address.effects.mjs +0 -34
  414. package/esm2022/state/effects/cart-shipping-information.effects.mjs +0 -35
  415. package/esm2022/state/effects/cart-shipping-methods.effects.mjs +0 -33
  416. package/esm2022/state/effects/cart.effects.mjs +0 -52
  417. package/esm2022/state/effects/public_api.mjs +0 -2
  418. package/esm2022/state/facades/cart/cart-facade.interface.mjs +0 -2
  419. package/esm2022/state/facades/cart/cart.facade.mjs +0 -114
  420. package/esm2022/state/helpers/cart-items-entity-transform.mjs +0 -24
  421. package/esm2022/state/helpers/public_api.mjs +0 -2
  422. package/esm2022/state/index.mjs +0 -2
  423. package/esm2022/state/injection-tokens/cart-item-state-debounce-time.mjs +0 -14
  424. package/esm2022/state/injection-tokens/error-matcher.token.mjs +0 -13
  425. package/esm2022/state/injection-tokens/public_api.mjs +0 -3
  426. package/esm2022/state/models/public_api.mjs +0 -2
  427. package/esm2022/state/models/stateful-cart.mjs +0 -2
  428. package/esm2022/state/public_api.mjs +0 -10
  429. package/esm2022/state/reducers/action-types.type.mjs +0 -2
  430. package/esm2022/state/reducers/cart/cart.reducer.mjs +0 -65
  431. package/esm2022/state/reducers/cart/retrieval-actions.reducer.mjs +0 -21
  432. package/esm2022/state/reducers/cart-billing-address/cart-billing-address.reducer.mjs +0 -51
  433. package/esm2022/state/reducers/cart-coupon/cart-coupon.reducer.mjs +0 -59
  434. package/esm2022/state/reducers/cart-initial-state.mjs +0 -43
  435. package/esm2022/state/reducers/cart-item/cart-item.reducer.mjs +0 -90
  436. package/esm2022/state/reducers/cart-item-entities/adapter.mjs +0 -10
  437. package/esm2022/state/reducers/cart-item-entities/cart-item-entities.reducer.mjs +0 -41
  438. package/esm2022/state/reducers/cart-item-entities/retrieval-actions.reducer.mjs +0 -16
  439. package/esm2022/state/reducers/cart-item-entities/set-state-meta-reducer.mjs +0 -23
  440. package/esm2022/state/reducers/cart-operation-type.enum.mjs +0 -18
  441. package/esm2022/state/reducers/cart-order/cart-order-initial-state.mjs +0 -10
  442. package/esm2022/state/reducers/cart-order/cart-order-state.interface.mjs +0 -2
  443. package/esm2022/state/reducers/cart-order/cart-order.reducer.mjs +0 -49
  444. package/esm2022/state/reducers/cart-payment/cart-payment.reducer.mjs +0 -79
  445. package/esm2022/state/reducers/cart-payment/payment.reducer.mjs +0 -16
  446. package/esm2022/state/reducers/cart-payment-methods/cart-payment-methods.reducer.mjs +0 -36
  447. package/esm2022/state/reducers/cart-reducers-state.interface.mjs +0 -2
  448. package/esm2022/state/reducers/cart-reducers.mjs +0 -9
  449. package/esm2022/state/reducers/cart-resolve/cart-resolve-state.enum.mjs +0 -9
  450. package/esm2022/state/reducers/cart-resolve/cart-resolve.reducer.mjs +0 -32
  451. package/esm2022/state/reducers/cart-shipping-address/cart-shipping-address.reducer.mjs +0 -51
  452. package/esm2022/state/reducers/cart-shipping-information/cart-shipping-information.reducer.mjs +0 -51
  453. package/esm2022/state/reducers/cart-shipping-methods/cart-shipping-methods.reducer.mjs +0 -36
  454. package/esm2022/state/reducers/cart-state.interface.mjs +0 -2
  455. package/esm2022/state/reducers/cart-store-feature-key.mjs +0 -2
  456. package/esm2022/state/reducers/cart.reducer.mjs +0 -32
  457. package/esm2022/state/reducers/errors/cart-errors.type.mjs +0 -2
  458. package/esm2022/state/reducers/errors/error-state-helpers.mjs +0 -13
  459. package/esm2022/state/reducers/loading/cart-loading.type.mjs +0 -8
  460. package/esm2022/state/reducers/public_api.mjs +0 -14
  461. package/esm2022/state/reducers/token/config.token.mjs +0 -23
  462. package/esm2022/state/reducers/token/extra.token.mjs +0 -22
  463. package/esm2022/state/reducers/token/meta.token.mjs +0 -22
  464. package/esm2022/state/reducers/token/public_api.mjs +0 -3
  465. package/esm2022/state/reducers/token/reducers.token.mjs +0 -38
  466. package/esm2022/state/selectors/cart/cart.selector.mjs +0 -159
  467. package/esm2022/state/selectors/cart-feature.selector.mjs +0 -11
  468. package/esm2022/state/selectors/cart-item-entities/cart-item-entities.selectors.mjs +0 -74
  469. package/esm2022/state/selectors/cart-order/cart-order.selector.mjs +0 -30
  470. package/esm2022/state/selectors/cart.selector.mjs +0 -17
  471. package/esm2022/state/selectors/public_api.mjs +0 -2
  472. package/esm2022/state/testing/cart-testing.module.mjs +0 -20
  473. package/esm2022/state/testing/daffodil-cart-state-testing.mjs +0 -5
  474. package/esm2022/state/testing/factories/stateful-cart-item.factory.mjs +0 -26
  475. package/esm2022/state/testing/factories/stateful-composite-cart-item.factory.mjs +0 -26
  476. package/esm2022/state/testing/factories/stateful-configurable-cart-item.factory.mjs +0 -26
  477. package/esm2022/state/testing/index.mjs +0 -2
  478. package/esm2022/state/testing/mock-cart-facade.mjs +0 -92
  479. package/esm2022/state/testing/public_api.mjs +0 -6
  480. package/esm2022/storage/cart-storage.service.mjs +0 -49
  481. package/esm2022/testing/daffodil-cart-testing.mjs +0 -5
  482. package/esm2022/testing/factories/cart-address.factory.mjs +0 -38
  483. package/esm2022/testing/factories/cart-coupon.factory.mjs +0 -27
  484. package/esm2022/testing/factories/cart-item/cart-item.factory.mjs +0 -55
  485. package/esm2022/testing/factories/cart-item/composite-cart-item.factory.mjs +0 -42
  486. package/esm2022/testing/factories/cart-item/configurable-cart-item.factory.mjs +0 -35
  487. package/esm2022/testing/factories/cart-payment.factory.mjs +0 -22
  488. package/esm2022/testing/factories/cart-shipping-rate.factory.mjs +0 -29
  489. package/esm2022/testing/factories/cart-total.factory.mjs +0 -97
  490. package/esm2022/testing/factories/cart.factory.mjs +0 -42
  491. package/esm2022/testing/factories/public_api.mjs +0 -10
  492. package/esm2022/testing/index.mjs +0 -2
  493. package/esm2022/testing/public_api.mjs +0 -2
@@ -1,6 +1,5 @@
1
1
  export declare enum DaffCartDriverErrorCodes {
2
2
  CART_NOT_FOUND = "DAFF_CART_NOT_FOUND",
3
- PRODUCT_NOT_FOUND = "DAFF_PRODUCT_NOT_FOUND",
4
3
  PRODUCT_OUT_OF_STOCK = "DAFF_PRODUCT_OUT_OF_STOCK",
5
4
  INVALID_COUPON_CODE = "DAFF_INVALID_COUPON_CODE",
6
5
  INVALID_COUNTRY = "DAFF_INVALID_COUNTRY",
@@ -6,7 +6,6 @@ import { DaffInvalidCouponCodeError } from './invalid-coupon-code';
6
6
  import { DaffInvalidEmailError } from './invalid-email';
7
7
  import { DaffInvalidRegionError } from './invalid-region';
8
8
  import { DaffCartItemExceedsMaxQtyError } from './item-exceeds-max-qty';
9
- import { DaffProductNotFoundError } from './product-not-found';
10
9
  import { DaffProductOutOfStockError } from './product-out-of-stock';
11
10
  import { DaffUnauthorizedForCartError } from './unauthorized-for-cart';
12
11
  /**
@@ -14,7 +13,6 @@ import { DaffUnauthorizedForCartError } from './unauthorized-for-cart';
14
13
  */
15
14
  export declare const DaffCartDriverErrorMap: {
16
15
  DAFF_CART_NOT_FOUND: typeof DaffCartNotFoundError;
17
- DAFF_PRODUCT_NOT_FOUND: typeof DaffProductNotFoundError;
18
16
  DAFF_PRODUCT_OUT_OF_STOCK: typeof DaffProductOutOfStockError;
19
17
  DAFF_INVALID_COUPON_CODE: typeof DaffInvalidCouponCodeError;
20
18
  DAFF_INVALID_COUNTRY: typeof DaffInvalidCountryError;
@@ -7,7 +7,6 @@ export { DaffInvalidCountryError } from './invalid-country';
7
7
  export { DaffInvalidCouponCodeError } from './invalid-coupon-code';
8
8
  export { DaffInvalidEmailError } from './invalid-email';
9
9
  export { DaffInvalidRegionError } from './invalid-region';
10
- export { DaffProductNotFoundError } from './product-not-found';
11
10
  export { DaffProductOutOfStockError } from './product-out-of-stock';
12
11
  export { DaffCartItemExceedsMaxQtyError } from './item-exceeds-max-qty';
13
12
  export { DaffUnauthorizedForCartError } from './unauthorized-for-cart';
@@ -14,12 +14,6 @@ export interface DaffCartPaymentServiceInterface<T extends DaffCart = DaffCart>
14
14
  * If a billing address is provided, the driver will update that simultaneously.
15
15
  */
16
16
  update(cartId: T['id'], payment: Partial<T['payment']>, billingAddress?: Partial<T['billing_address']>): Observable<Partial<T>>;
17
- /**
18
- * Update the billing address and payment method applied to a cart.
19
- *
20
- * @deprecated use `update` with the `billingAddress` parameter instead. Deprecated in version 0.78.0. Will be removed in version 0.81.0.
21
- */
22
- updateWithBilling(cartId: T['id'], payment: Partial<T['payment']>, address: Partial<T['billing_address']>): Observable<Partial<T>>;
23
17
  /**
24
18
  * Remove the payment method applied to a cart.
25
19
  */
@@ -15,13 +15,6 @@ export interface DaffCartServiceInterface<T extends DaffCart = DaffCart> {
15
15
  create(): Observable<{
16
16
  id: T['id'];
17
17
  }>;
18
- /**
19
- * @deprecated Deprecated in version 0.78.0. Will be removed in version 0.81.0.
20
- * Prefer DaffCartItemServiceInterface.add
21
- *
22
- * Add an item to the cart.
23
- */
24
- addToCart(productId: string, qty: number): Observable<T>;
25
18
  /**
26
19
  * Remove all items from a cart.
27
20
  */
@@ -1,4 +1,4 @@
1
- import { GraphQLError } from 'graphql';
1
+ import { GraphQLFormattedError } from 'graphql';
2
2
  import { DaffError } from '@daffodil/core';
3
3
  import { MagentoCartUserInputError } from '../models/public_api';
4
4
  /**
@@ -6,7 +6,7 @@ import { MagentoCartUserInputError } from '../models/public_api';
6
6
  * Optionally accepts a request payload which can be used in certain cases
7
7
  * to add supplemental info to the error.
8
8
  */
9
- export declare function transformMagentoCartGraphQlError(error: GraphQLError, requestPayload?: unknown): DaffError;
9
+ export declare function transformMagentoCartGraphQlError(error: GraphQLFormattedError, requestPayload?: unknown): DaffError;
10
10
  /**
11
11
  * Transforms only the first GraphQL error with the cart magento error transformer,
12
12
  * otherwise falls back to a standard Magento error transform.
@@ -9,7 +9,6 @@ export declare class DaffMagentoCartCouponResponseTransformer {
9
9
  private cartItemTransforms;
10
10
  constructor(cartItemTransforms: DaffCartMagentoCartItemTransform[]);
11
11
  private transformCartItems;
12
- private transformTotals;
13
12
  private transformCoupons;
14
13
  /**
15
14
  * Transforms the MagentoCart from the cart coupon operations into a DaffCart partial.
@@ -20,7 +20,6 @@ export declare class DaffMagentoCartTransformer<T extends MagentoCart = MagentoC
20
20
  private transformShippingAddress;
21
21
  private transformBillingAddress;
22
22
  private transformCartItems;
23
- private transformTotals;
24
23
  private transformCoupons;
25
24
  private transformPayment;
26
25
  private transformShippingInformation;
@@ -58,10 +58,10 @@ class DaffInMemoryCartService extends DaffInMemoryDriverBase {
58
58
  errors: [],
59
59
  })));
60
60
  }
61
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
62
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartService, providedIn: 'root' }); }
61
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
62
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartService, providedIn: 'root' }); }
63
63
  }
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartService, decorators: [{
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartService, decorators: [{
65
65
  type: Injectable,
66
66
  args: [{
67
67
  providedIn: 'root',
@@ -91,10 +91,10 @@ class DaffInMemoryCartItemService extends DaffInMemoryDriverBase {
91
91
  delete(cartId, itemId) {
92
92
  return this.http.delete(`${this.url}/${cartId}/${itemId}`);
93
93
  }
94
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartItemService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
95
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartItemService, providedIn: 'root' }); }
94
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartItemService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
95
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartItemService, providedIn: 'root' }); }
96
96
  }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartItemService, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartItemService, decorators: [{
98
98
  type: Injectable,
99
99
  args: [{
100
100
  providedIn: 'root',
@@ -115,10 +115,10 @@ class DaffInMemoryCartBillingAddressService extends DaffInMemoryDriverBase {
115
115
  update(cartId, address) {
116
116
  return this.http.put(`${this.url}/${cartId}`, address);
117
117
  }
118
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartBillingAddressService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
119
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartBillingAddressService, providedIn: 'root' }); }
118
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartBillingAddressService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
119
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartBillingAddressService, providedIn: 'root' }); }
120
120
  }
121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartBillingAddressService, decorators: [{
121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartBillingAddressService, decorators: [{
122
122
  type: Injectable,
123
123
  args: [{
124
124
  providedIn: 'root',
@@ -145,10 +145,10 @@ class DaffInMemoryCartPaymentService extends DaffInMemoryDriverBase {
145
145
  remove(cartId) {
146
146
  return this.http.delete(`${this.url}/${cartId}`);
147
147
  }
148
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
149
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentService, providedIn: 'root' }); }
148
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartPaymentService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
149
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartPaymentService, providedIn: 'root' }); }
150
150
  }
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentService, decorators: [{
151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartPaymentService, decorators: [{
152
152
  type: Injectable,
153
153
  args: [{
154
154
  providedIn: 'root',
@@ -166,10 +166,10 @@ class DaffInMemoryCartPaymentMethodsService extends DaffInMemoryDriverBase {
166
166
  list(cartId) {
167
167
  return this.http.get(`${this.url}/${cartId}`);
168
168
  }
169
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentMethodsService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
170
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentMethodsService, providedIn: 'root' }); }
169
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartPaymentMethodsService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
170
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartPaymentMethodsService, providedIn: 'root' }); }
171
171
  }
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartPaymentMethodsService, decorators: [{
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartPaymentMethodsService, decorators: [{
173
173
  type: Injectable,
174
174
  args: [{
175
175
  providedIn: 'root',
@@ -190,10 +190,10 @@ class DaffInMemoryCartShippingAddressService extends DaffInMemoryDriverBase {
190
190
  update(cartId, address) {
191
191
  return this.http.put(`${this.url}/${cartId}`, address);
192
192
  }
193
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingAddressService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
194
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingAddressService, providedIn: 'root' }); }
193
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartShippingAddressService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
194
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartShippingAddressService, providedIn: 'root' }); }
195
195
  }
196
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingAddressService, decorators: [{
196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartShippingAddressService, decorators: [{
197
197
  type: Injectable,
198
198
  args: [{
199
199
  providedIn: 'root',
@@ -217,10 +217,10 @@ class DaffInMemoryCartShippingInformationService extends DaffInMemoryDriverBase
217
217
  delete(cartId) {
218
218
  return this.http.delete(`${this.url}/${cartId}`);
219
219
  }
220
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingInformationService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
221
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingInformationService, providedIn: 'root' }); }
220
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartShippingInformationService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
221
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartShippingInformationService, providedIn: 'root' }); }
222
222
  }
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingInformationService, decorators: [{
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartShippingInformationService, decorators: [{
224
224
  type: Injectable,
225
225
  args: [{
226
226
  providedIn: 'root',
@@ -238,10 +238,10 @@ class DaffInMemoryCartShippingMethodsService extends DaffInMemoryDriverBase {
238
238
  list(cartId) {
239
239
  return this.http.get(`${this.url}/${cartId}`);
240
240
  }
241
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingMethodsService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
242
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingMethodsService, providedIn: 'root' }); }
241
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartShippingMethodsService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
242
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartShippingMethodsService, providedIn: 'root' }); }
243
243
  }
244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartShippingMethodsService, decorators: [{
244
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartShippingMethodsService, decorators: [{
245
245
  type: Injectable,
246
246
  args: [{
247
247
  providedIn: 'root',
@@ -259,10 +259,10 @@ class DaffInMemoryCartOrderService extends DaffInMemoryDriverBase {
259
259
  placeOrder(cartId, payment) {
260
260
  return this.http.post(`${this.url}/${cartId}/`, { payment });
261
261
  }
262
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartOrderService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
263
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartOrderService, providedIn: 'root' }); }
262
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartOrderService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
263
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartOrderService, providedIn: 'root' }); }
264
264
  }
265
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartOrderService, decorators: [{
265
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartOrderService, decorators: [{
266
266
  type: Injectable,
267
267
  args: [{
268
268
  providedIn: 'root',
@@ -289,10 +289,10 @@ class DaffInMemoryCartCouponService extends DaffInMemoryDriverBase {
289
289
  removeAll(cartId) {
290
290
  return this.http.delete(`${this.url}/${cartId}/`);
291
291
  }
292
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartCouponService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
293
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartCouponService, providedIn: 'root' }); }
292
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartCouponService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
293
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartCouponService, providedIn: 'root' }); }
294
294
  }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartCouponService, decorators: [{
295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartCouponService, decorators: [{
296
296
  type: Injectable,
297
297
  args: [{
298
298
  providedIn: 'root',
@@ -310,10 +310,10 @@ class DaffInMemoryCartAddressService extends DaffInMemoryDriverBase {
310
310
  update(cartId, address) {
311
311
  return this.http.put(`${this.url}/${cartId}`, address);
312
312
  }
313
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartAddressService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
314
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartAddressService, providedIn: 'root' }); }
313
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartAddressService, deps: [{ token: i1.HttpClient }, { token: i2.InMemoryBackendConfig }], target: i0.ɵɵFactoryTarget.Injectable }); }
314
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartAddressService, providedIn: 'root' }); }
315
315
  }
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryCartAddressService, decorators: [{
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryCartAddressService, decorators: [{
317
317
  type: Injectable,
318
318
  args: [{
319
319
  providedIn: 'root',
@@ -373,15 +373,15 @@ const {
373
373
  * The value returned by the hook function will be set to the returned cart's `extra_attributes` field
374
374
  * for driver calls that return a cart.
375
375
  *
376
- * The following example demonstrates adding the `numberOfCartItems` field to `extra_attributes`:
376
+ * Note that this and any `extra_attributes` features are for advanced users
377
+ * and should be used with care.
378
+ *
379
+ * @example Adding the `numberOfCartItems` field to `extra_attributes`
377
380
  * ```ts
378
381
  * (reqInfo: RequestInfo, cart: DaffCart) => ({
379
382
  * numberOfCartItems: cart.items.length
380
383
  * })
381
384
  * ```
382
- *
383
- * Note that this and any `extra_attributes` features are for advanced users
384
- * and should be used with care.
385
385
  */
386
386
  token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK,
387
387
  /**
@@ -490,10 +490,10 @@ class DaffInMemoryBackendCartService {
490
490
  status: STATUS.NOT_FOUND,
491
491
  };
492
492
  }
493
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartService, deps: [{ token: i1$1.DaffCartFactory }, { token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }, { token: i2$1.DaffInMemoryBackendProductService }], target: i0.ɵɵFactoryTarget.Injectable }); }
494
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartService, providedIn: 'root' }); }
493
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartService, deps: [{ token: i1$1.DaffCartFactory }, { token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }, { token: i2$1.DaffInMemoryBackendProductService }], target: i0.ɵɵFactoryTarget.Injectable }); }
494
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartService, providedIn: 'root' }); }
495
495
  }
496
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartService, decorators: [{
496
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartService, decorators: [{
497
497
  type: Injectable,
498
498
  args: [{
499
499
  providedIn: 'root',
@@ -530,10 +530,10 @@ class DaffInMemoryBackendCartAddressService {
530
530
  extra_attributes: this.extraFieldsHook(reqInfo, cart),
531
531
  };
532
532
  }
533
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartAddressService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
534
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartAddressService, providedIn: 'root' }); }
533
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartAddressService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
534
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartAddressService, providedIn: 'root' }); }
535
535
  }
536
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartAddressService, decorators: [{
536
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartAddressService, decorators: [{
537
537
  type: Injectable,
538
538
  args: [{
539
539
  providedIn: 'root',
@@ -578,10 +578,10 @@ class DaffInMemoryBackendCartBillingAddressService {
578
578
  extra_attributes: this.extraFieldsHook(reqInfo, cart),
579
579
  };
580
580
  }
581
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartBillingAddressService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
582
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartBillingAddressService, providedIn: 'root' }); }
581
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartBillingAddressService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
582
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartBillingAddressService, providedIn: 'root' }); }
583
583
  }
584
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartBillingAddressService, decorators: [{
584
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartBillingAddressService, decorators: [{
585
585
  type: Injectable,
586
586
  args: [{
587
587
  providedIn: 'root',
@@ -664,10 +664,10 @@ class DaffInMemoryBackendCartCouponService {
664
664
  extra_attributes: this.extraFieldsHook(reqInfo, cart),
665
665
  };
666
666
  }
667
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartCouponService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
668
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartCouponService, providedIn: 'root' }); }
667
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartCouponService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
668
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartCouponService, providedIn: 'root' }); }
669
669
  }
670
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartCouponService, decorators: [{
670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartCouponService, decorators: [{
671
671
  type: Injectable,
672
672
  args: [{
673
673
  providedIn: 'root',
@@ -803,10 +803,10 @@ class DaffInMemoryBackendCartItemsService {
803
803
  }, this.productBackend.products);
804
804
  return reqInfo.collection[cartIndex];
805
805
  }
806
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartItemsService, deps: [{ token: i1$1.DaffCartItemFactory }, { token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }, { token: i2$1.DaffInMemoryBackendProductService }], target: i0.ɵɵFactoryTarget.Injectable }); }
807
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartItemsService, providedIn: 'root' }); }
806
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartItemsService, deps: [{ token: i1$1.DaffCartItemFactory }, { token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }, { token: i2$1.DaffInMemoryBackendProductService }], target: i0.ɵɵFactoryTarget.Injectable }); }
807
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartItemsService, providedIn: 'root' }); }
808
808
  }
809
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartItemsService, decorators: [{
809
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartItemsService, decorators: [{
810
810
  type: Injectable,
811
811
  args: [{
812
812
  providedIn: 'root',
@@ -831,15 +831,14 @@ class DaffInMemoryBackendCartOrderService {
831
831
  }
832
832
  placeOrder(reqInfo) {
833
833
  return {
834
- id: '8235422034',
835
834
  cartId: '89fdsa8sadf',
836
835
  orderId: '8235422034',
837
836
  };
838
837
  }
839
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartOrderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
840
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartOrderService, providedIn: 'root' }); }
838
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartOrderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
839
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartOrderService, providedIn: 'root' }); }
841
840
  }
842
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartOrderService, decorators: [{
841
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartOrderService, decorators: [{
843
842
  type: Injectable,
844
843
  args: [{
845
844
  providedIn: 'root',
@@ -898,10 +897,10 @@ class DaffInMemoryBackendCartPaymentService {
898
897
  extra_attributes: this.extraFieldsHook(reqInfo, cart),
899
898
  };
900
899
  }
901
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
902
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentService, providedIn: 'root' }); }
900
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartPaymentService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
901
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartPaymentService, providedIn: 'root' }); }
903
902
  }
904
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentService, decorators: [{
903
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartPaymentService, decorators: [{
905
904
  type: Injectable,
906
905
  args: [{
907
906
  providedIn: 'root',
@@ -930,10 +929,10 @@ class DaffInMemoryBackendCartPaymentMethodsService {
930
929
  listPaymentMethods(reqInfo) {
931
930
  return this.getCart(reqInfo).available_payment_methods;
932
931
  }
933
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentMethodsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
934
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentMethodsService, providedIn: 'root' }); }
932
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartPaymentMethodsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
933
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartPaymentMethodsService, providedIn: 'root' }); }
935
934
  }
936
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartPaymentMethodsService, decorators: [{
935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartPaymentMethodsService, decorators: [{
937
936
  type: Injectable,
938
937
  args: [{
939
938
  providedIn: 'root',
@@ -975,10 +974,10 @@ class DaffInMemoryBackendCartShippingAddressService {
975
974
  extra_attributes: this.extraFieldsHook(reqInfo, cart),
976
975
  };
977
976
  }
978
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingAddressService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
979
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingAddressService, providedIn: 'root' }); }
977
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartShippingAddressService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }], target: i0.ɵɵFactoryTarget.Injectable }); }
978
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartShippingAddressService, providedIn: 'root' }); }
980
979
  }
981
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingAddressService, decorators: [{
980
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartShippingAddressService, decorators: [{
982
981
  type: Injectable,
983
982
  args: [{
984
983
  providedIn: 'root',
@@ -1038,10 +1037,10 @@ class DaffInMemoryBackendCartShippingInformationService {
1038
1037
  extra_attributes: this.extraFieldsHook(reqInfo, cart),
1039
1038
  };
1040
1039
  }
1041
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingInformationService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }, { token: i2$1.DaffInMemoryBackendProductService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1042
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingInformationService, providedIn: 'root' }); }
1040
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartShippingInformationService, deps: [{ token: DAFF_CART_IN_MEMORY_EXTRA_ATTRIBUTES_HOOK }, { token: i2$1.DaffInMemoryBackendProductService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1041
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartShippingInformationService, providedIn: 'root' }); }
1043
1042
  }
1044
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingInformationService, decorators: [{
1043
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartShippingInformationService, decorators: [{
1045
1044
  type: Injectable,
1046
1045
  args: [{
1047
1046
  providedIn: 'root',
@@ -1080,10 +1079,10 @@ class DaffInMemoryBackendCartShippingMethodsService {
1080
1079
  }
1081
1080
  return cart.available_shipping_methods;
1082
1081
  }
1083
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingMethodsService, deps: [{ token: i1$1.DaffCartShippingRateFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }
1084
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingMethodsService, providedIn: 'root' }); }
1082
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartShippingMethodsService, deps: [{ token: i1$1.DaffCartShippingRateFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }
1083
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartShippingMethodsService, providedIn: 'root' }); }
1085
1084
  }
1086
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartShippingMethodsService, decorators: [{
1085
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartShippingMethodsService, decorators: [{
1087
1086
  type: Injectable,
1088
1087
  args: [{
1089
1088
  providedIn: 'root',
@@ -1151,10 +1150,10 @@ class DaffInMemoryBackendCartRootService extends DaffInMemoryBackendDelegate {
1151
1150
  cart: this.carts,
1152
1151
  });
1153
1152
  }
1154
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartRootService, deps: [{ token: DaffInMemoryBackendCartService }, { token: DaffInMemoryBackendCartItemsService }, { token: DaffInMemoryBackendCartOrderService }, { token: DaffInMemoryBackendCartCouponService }, { token: DaffInMemoryBackendCartAddressService }, { token: DaffInMemoryBackendCartShippingAddressService }, { token: DaffInMemoryBackendCartBillingAddressService }, { token: DaffInMemoryBackendCartPaymentMethodsService }, { token: DaffInMemoryBackendCartShippingMethodsService }, { token: DaffInMemoryBackendCartPaymentService }, { token: DaffInMemoryBackendCartShippingInformationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1155
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartRootService, providedIn: 'root' }); }
1153
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartRootService, deps: [{ token: DaffInMemoryBackendCartService }, { token: DaffInMemoryBackendCartItemsService }, { token: DaffInMemoryBackendCartOrderService }, { token: DaffInMemoryBackendCartCouponService }, { token: DaffInMemoryBackendCartAddressService }, { token: DaffInMemoryBackendCartShippingAddressService }, { token: DaffInMemoryBackendCartBillingAddressService }, { token: DaffInMemoryBackendCartPaymentMethodsService }, { token: DaffInMemoryBackendCartShippingMethodsService }, { token: DaffInMemoryBackendCartPaymentService }, { token: DaffInMemoryBackendCartShippingInformationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1154
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartRootService, providedIn: 'root' }); }
1156
1155
  }
1157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffInMemoryBackendCartRootService, decorators: [{
1156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffInMemoryBackendCartRootService, decorators: [{
1158
1157
  type: Injectable,
1159
1158
  args: [{
1160
1159
  providedIn: 'root',
@@ -1181,11 +1180,11 @@ class DaffCartInMemoryDriverModule {
1181
1180
  ],
1182
1181
  };
1183
1182
  }
1184
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCartInMemoryDriverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1185
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: DaffCartInMemoryDriverModule, imports: [CommonModule] }); }
1186
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCartInMemoryDriverModule, imports: [CommonModule] }); }
1183
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffCartInMemoryDriverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1184
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: DaffCartInMemoryDriverModule, imports: [CommonModule] }); }
1185
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffCartInMemoryDriverModule, imports: [CommonModule] }); }
1187
1186
  }
1188
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: DaffCartInMemoryDriverModule, decorators: [{
1187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: DaffCartInMemoryDriverModule, decorators: [{
1189
1188
  type: NgModule,
1190
1189
  args: [{
1191
1190
  imports: [