@daffodil/order 0.39.11 → 0.40.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (394) hide show
  1. package/daffodil-order.d.ts +1 -0
  2. package/driver/daffodil-order-driver.d.ts +1 -0
  3. package/driver/in-memory/backend/order.service.d.ts +3 -0
  4. package/driver/in-memory/daffodil-order-driver-in-memory.d.ts +1 -0
  5. package/driver/in-memory/drivers/order-driver.module.d.ts +5 -0
  6. package/driver/in-memory/drivers/order.service.d.ts +3 -0
  7. package/driver/in-memory/package.json +5 -6
  8. package/driver/magento/2.4.0/README.md +5 -0
  9. package/driver/magento/2.4.0/daffodil-order-driver-magento-2.4.0.d.ts +1 -0
  10. package/driver/magento/2.4.0/errors/transform.d.ts +1 -1
  11. package/driver/magento/2.4.0/order-driver.module.d.ts +5 -0
  12. package/driver/magento/2.4.0/order.service.d.ts +4 -1
  13. package/driver/magento/2.4.0/package.json +5 -6
  14. package/driver/magento/2.4.0/queries/fragments/order-address.d.ts +1 -1
  15. package/driver/magento/2.4.0/queries/fragments/order-invoice.d.ts +1 -1
  16. package/driver/magento/2.4.0/queries/fragments/order-item.d.ts +1 -1
  17. package/driver/magento/2.4.0/queries/fragments/order-payment.d.ts +1 -1
  18. package/driver/magento/2.4.0/queries/fragments/order-shipment-item.d.ts +1 -1
  19. package/driver/magento/2.4.0/queries/fragments/order-shipment-tracking.d.ts +1 -1
  20. package/driver/magento/2.4.0/queries/fragments/order-shipment.d.ts +1 -1
  21. package/driver/magento/2.4.0/queries/fragments/order.d.ts +1 -1
  22. package/driver/magento/2.4.0/queries/get-guest-orders.d.ts +1 -1
  23. package/driver/magento/2.4.1/README.md +5 -0
  24. package/driver/magento/2.4.1/daffodil-order-driver-magento-2.4.1.d.ts +1 -0
  25. package/driver/magento/2.4.1/errors/transform.d.ts +1 -1
  26. package/driver/magento/2.4.1/models/responses/order-address.d.ts +1 -1
  27. package/driver/magento/2.4.1/order-driver.module.d.ts +5 -0
  28. package/driver/magento/2.4.1/order.service.d.ts +4 -1
  29. package/driver/magento/2.4.1/package.json +5 -6
  30. package/driver/magento/2.4.1/queries/fragments/order-address.d.ts +1 -1
  31. package/driver/magento/2.4.1/queries/fragments/order-credit-item.d.ts +1 -1
  32. package/driver/magento/2.4.1/queries/fragments/order-credit-total.d.ts +1 -1
  33. package/driver/magento/2.4.1/queries/fragments/order-credit.d.ts +1 -1
  34. package/driver/magento/2.4.1/queries/fragments/order-invoice-item.d.ts +1 -1
  35. package/driver/magento/2.4.1/queries/fragments/order-invoice-total.d.ts +1 -1
  36. package/driver/magento/2.4.1/queries/fragments/order-invoice.d.ts +1 -1
  37. package/driver/magento/2.4.1/queries/fragments/order-item.d.ts +2 -2
  38. package/driver/magento/2.4.1/queries/fragments/order-payment.d.ts +1 -1
  39. package/driver/magento/2.4.1/queries/fragments/order-shipment-item.d.ts +1 -1
  40. package/driver/magento/2.4.1/queries/fragments/order-shipment-tracking.d.ts +1 -1
  41. package/driver/magento/2.4.1/queries/fragments/order-shipment.d.ts +1 -1
  42. package/driver/magento/2.4.1/queries/fragments/order-total.d.ts +1 -1
  43. package/driver/magento/2.4.1/queries/fragments/order.d.ts +1 -1
  44. package/driver/magento/2.4.1/queries/get-guest-orders.d.ts +1 -1
  45. package/driver/package.json +5 -6
  46. package/driver/testing/daffodil-order-driver-testing.d.ts +1 -0
  47. package/driver/testing/drivers/order-driver.module.d.ts +5 -0
  48. package/driver/testing/drivers/order.service.d.ts +3 -0
  49. package/driver/testing/package.json +5 -6
  50. package/{esm2015/daffodil-order.js → esm2020/daffodil-order.mjs} +0 -0
  51. package/{esm2015/driver/daffodil-order-driver.js → esm2020/driver/daffodil-order-driver.mjs} +0 -0
  52. package/{esm2015/driver/errors/invalid-api-response.js → esm2020/driver/errors/invalid-api-response.mjs} +0 -0
  53. package/{esm2015/driver/errors/order-not-found.js → esm2020/driver/errors/order-not-found.mjs} +0 -0
  54. package/{esm2015/driver/errors/public_api.js → esm2020/driver/errors/public_api.mjs} +0 -0
  55. package/esm2020/driver/in-memory/backend/order.service.mjs +57 -0
  56. package/{esm2015/driver/in-memory/daffodil-order-driver-in-memory.js → esm2020/driver/in-memory/daffodil-order-driver-in-memory.mjs} +0 -0
  57. package/esm2020/driver/in-memory/drivers/order-driver.module.mjs +32 -0
  58. package/esm2020/driver/in-memory/drivers/order.service.mjs +28 -0
  59. package/{esm2015/driver/in-memory/drivers/public_api.js → esm2020/driver/in-memory/drivers/public_api.mjs} +0 -0
  60. package/{esm2015/driver/in-memory/index.js → esm2020/driver/in-memory/index.mjs} +0 -0
  61. package/{esm2015/driver/in-memory/public_api.js → esm2020/driver/in-memory/public_api.mjs} +0 -0
  62. package/{esm2015/driver/index.js → esm2020/driver/index.mjs} +0 -0
  63. package/{esm2015/driver/interfaces/order-service.interface.js → esm2020/driver/interfaces/order-service.interface.mjs} +0 -0
  64. package/{esm2015/driver/magento/2.4.0/daffodil-order-driver-magento-2.4.0.js → esm2020/driver/magento/2.4.0/daffodil-order-driver-magento-2.4.0.mjs} +0 -0
  65. package/{esm2015/driver/magento/2.4.0/errors/codes.js → esm2020/driver/magento/2.4.0/errors/codes.mjs} +0 -0
  66. package/{esm2015/driver/magento/2.4.0/errors/map.js → esm2020/driver/magento/2.4.0/errors/map.mjs} +0 -0
  67. package/{esm2015/driver/magento/2.4.0/errors/transform.js → esm2020/driver/magento/2.4.0/errors/transform.mjs} +0 -0
  68. package/{esm2015/driver/magento/2.4.0/index.js → esm2020/driver/magento/2.4.0/index.mjs} +0 -0
  69. package/{esm2015/driver/magento/2.4.0/injection-tokens/fragments/order.js → esm2020/driver/magento/2.4.0/injection-tokens/fragments/order.mjs} +0 -0
  70. package/{esm2015/driver/magento/2.4.0/injection-tokens/public_api.js → esm2020/driver/magento/2.4.0/injection-tokens/public_api.mjs} +0 -0
  71. package/{esm2015/driver/magento/2.4.0/models/responses/order-address.js → esm2020/driver/magento/2.4.0/models/responses/order-address.mjs} +0 -0
  72. package/{esm2015/driver/magento/2.4.0/models/responses/order-invoice.js → esm2020/driver/magento/2.4.0/models/responses/order-invoice.mjs} +0 -0
  73. package/{esm2015/driver/magento/2.4.0/models/responses/order-item.js → esm2020/driver/magento/2.4.0/models/responses/order-item.mjs} +0 -0
  74. package/{esm2015/driver/magento/2.4.0/models/responses/order-payment.js → esm2020/driver/magento/2.4.0/models/responses/order-payment.mjs} +0 -0
  75. package/{esm2015/driver/magento/2.4.0/models/responses/order-shipment-item.js → esm2020/driver/magento/2.4.0/models/responses/order-shipment-item.mjs} +0 -0
  76. package/{esm2015/driver/magento/2.4.0/models/responses/order-shipment-tracking.js → esm2020/driver/magento/2.4.0/models/responses/order-shipment-tracking.mjs} +0 -0
  77. package/{esm2015/driver/magento/2.4.0/models/responses/order-shipment.js → esm2020/driver/magento/2.4.0/models/responses/order-shipment.mjs} +0 -0
  78. package/{esm2015/driver/magento/2.4.0/models/responses/order.js → esm2020/driver/magento/2.4.0/models/responses/order.mjs} +0 -0
  79. package/{esm2015/driver/magento/2.4.0/models/responses/public_api.js → esm2020/driver/magento/2.4.0/models/responses/public_api.mjs} +0 -0
  80. package/esm2020/driver/magento/2.4.0/order-driver.module.mjs +32 -0
  81. package/esm2020/driver/magento/2.4.0/order.service.mjs +54 -0
  82. package/{esm2015/driver/magento/2.4.0/public_api.js → esm2020/driver/magento/2.4.0/public_api.mjs} +0 -0
  83. package/{esm2015/driver/magento/2.4.0/queries/fragments/order-address.js → esm2020/driver/magento/2.4.0/queries/fragments/order-address.mjs} +2 -2
  84. package/{esm2015/driver/magento/2.4.0/queries/fragments/order-invoice.js → esm2020/driver/magento/2.4.0/queries/fragments/order-invoice.mjs} +2 -2
  85. package/esm2020/driver/magento/2.4.0/queries/fragments/order-item.mjs +27 -0
  86. package/{esm2015/driver/magento/2.4.0/queries/fragments/order-payment.js → esm2020/driver/magento/2.4.0/queries/fragments/order-payment.mjs} +2 -2
  87. package/{esm2015/driver/magento/2.4.0/queries/fragments/order-shipment-item.js → esm2020/driver/magento/2.4.0/queries/fragments/order-shipment-item.mjs} +2 -2
  88. package/{esm2015/driver/magento/2.4.0/queries/fragments/order-shipment-tracking.js → esm2020/driver/magento/2.4.0/queries/fragments/order-shipment-tracking.mjs} +2 -2
  89. package/{esm2015/driver/magento/2.4.0/queries/fragments/order-shipment.js → esm2020/driver/magento/2.4.0/queries/fragments/order-shipment.mjs} +2 -2
  90. package/{esm2015/driver/magento/2.4.0/queries/fragments/order.js → esm2020/driver/magento/2.4.0/queries/fragments/order.mjs} +2 -2
  91. package/{esm2015/driver/magento/2.4.0/queries/fragments/public_api.js → esm2020/driver/magento/2.4.0/queries/fragments/public_api.mjs} +0 -0
  92. package/{esm2015/driver/magento/2.4.0/queries/get-guest-orders.js → esm2020/driver/magento/2.4.0/queries/get-guest-orders.mjs} +2 -2
  93. package/{esm2015/driver/magento/2.4.0/queries/public_api.js → esm2020/driver/magento/2.4.0/queries/public_api.mjs} +0 -0
  94. package/{esm2015/driver/magento/2.4.0/queries/responses/get-guest-orders.js → esm2020/driver/magento/2.4.0/queries/responses/get-guest-orders.mjs} +0 -0
  95. package/{esm2015/driver/magento/2.4.0/queries/responses/public_api.js → esm2020/driver/magento/2.4.0/queries/responses/public_api.mjs} +0 -0
  96. package/{esm2015/driver/magento/2.4.0/transforms/responses/order.js → esm2020/driver/magento/2.4.0/transforms/responses/order.mjs} +0 -0
  97. package/esm2020/driver/magento/2.4.0/validators/get-orders.mjs +17 -0
  98. package/{esm2015/driver/magento/2.4.0/validators/public_api.js → esm2020/driver/magento/2.4.0/validators/public_api.mjs} +0 -0
  99. package/{esm2015/driver/magento/2.4.1/daffodil-order-driver-magento-2.4.1.js → esm2020/driver/magento/2.4.1/daffodil-order-driver-magento-2.4.1.mjs} +0 -0
  100. package/{esm2015/driver/magento/2.4.1/errors/codes.js → esm2020/driver/magento/2.4.1/errors/codes.mjs} +0 -0
  101. package/{esm2015/driver/magento/2.4.1/errors/map.js → esm2020/driver/magento/2.4.1/errors/map.mjs} +0 -0
  102. package/{esm2015/driver/magento/2.4.1/errors/transform.js → esm2020/driver/magento/2.4.1/errors/transform.mjs} +0 -0
  103. package/{esm2015/driver/magento/2.4.1/index.js → esm2020/driver/magento/2.4.1/index.mjs} +0 -0
  104. package/{esm2015/driver/magento/2.4.1/injection-tokens/fragments/order.js → esm2020/driver/magento/2.4.1/injection-tokens/fragments/order.mjs} +0 -0
  105. package/{esm2015/driver/magento/2.4.1/injection-tokens/public_api.js → esm2020/driver/magento/2.4.1/injection-tokens/public_api.mjs} +0 -0
  106. package/{esm2015/driver/magento/2.4.1/models/responses/discount.js → esm2020/driver/magento/2.4.1/models/responses/discount.mjs} +0 -0
  107. package/{esm2015/driver/magento/2.4.1/models/responses/order-address.js → esm2020/driver/magento/2.4.1/models/responses/order-address.mjs} +1 -1
  108. package/{esm2015/driver/magento/2.4.1/models/responses/order-credit-item.js → esm2020/driver/magento/2.4.1/models/responses/order-credit-item.mjs} +0 -0
  109. package/{esm2015/driver/magento/2.4.1/models/responses/order-credit.js → esm2020/driver/magento/2.4.1/models/responses/order-credit.mjs} +0 -0
  110. package/{esm2015/driver/magento/2.4.1/models/responses/order-invoice-item.js → esm2020/driver/magento/2.4.1/models/responses/order-invoice-item.mjs} +0 -0
  111. package/{esm2015/driver/magento/2.4.1/models/responses/order-invoice.js → esm2020/driver/magento/2.4.1/models/responses/order-invoice.mjs} +0 -0
  112. package/{esm2015/driver/magento/2.4.1/models/responses/order-item.js → esm2020/driver/magento/2.4.1/models/responses/order-item.mjs} +0 -0
  113. package/{esm2015/driver/magento/2.4.1/models/responses/order-payment.js → esm2020/driver/magento/2.4.1/models/responses/order-payment.mjs} +0 -0
  114. package/{esm2015/driver/magento/2.4.1/models/responses/order-shipment-item.js → esm2020/driver/magento/2.4.1/models/responses/order-shipment-item.mjs} +0 -0
  115. package/{esm2015/driver/magento/2.4.1/models/responses/order-shipment-tracking.js → esm2020/driver/magento/2.4.1/models/responses/order-shipment-tracking.mjs} +0 -0
  116. package/{esm2015/driver/magento/2.4.1/models/responses/order-shipment.js → esm2020/driver/magento/2.4.1/models/responses/order-shipment.mjs} +0 -0
  117. package/{esm2015/driver/magento/2.4.1/models/responses/order-total.js → esm2020/driver/magento/2.4.1/models/responses/order-total.mjs} +0 -0
  118. package/{esm2015/driver/magento/2.4.1/models/responses/order.js → esm2020/driver/magento/2.4.1/models/responses/order.mjs} +0 -0
  119. package/{esm2015/driver/magento/2.4.1/models/responses/public_api.js → esm2020/driver/magento/2.4.1/models/responses/public_api.mjs} +0 -0
  120. package/esm2020/driver/magento/2.4.1/order-driver.module.mjs +32 -0
  121. package/esm2020/driver/magento/2.4.1/order.service.mjs +54 -0
  122. package/{esm2015/driver/magento/2.4.1/public_api.js → esm2020/driver/magento/2.4.1/public_api.mjs} +0 -0
  123. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-address.js → esm2020/driver/magento/2.4.1/queries/fragments/order-address.mjs} +3 -3
  124. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-credit-item.js → esm2020/driver/magento/2.4.1/queries/fragments/order-credit-item.mjs} +2 -2
  125. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-credit-total.js → esm2020/driver/magento/2.4.1/queries/fragments/order-credit-total.mjs} +2 -2
  126. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-credit.js → esm2020/driver/magento/2.4.1/queries/fragments/order-credit.mjs} +2 -2
  127. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-invoice-item.js → esm2020/driver/magento/2.4.1/queries/fragments/order-invoice-item.mjs} +2 -2
  128. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-invoice-total.js → esm2020/driver/magento/2.4.1/queries/fragments/order-invoice-total.mjs} +2 -2
  129. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-invoice.js → esm2020/driver/magento/2.4.1/queries/fragments/order-invoice.mjs} +2 -2
  130. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-item.js → esm2020/driver/magento/2.4.1/queries/fragments/order-item.mjs} +2 -2
  131. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-payment.js → esm2020/driver/magento/2.4.1/queries/fragments/order-payment.mjs} +2 -2
  132. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-shipment-item.js → esm2020/driver/magento/2.4.1/queries/fragments/order-shipment-item.mjs} +2 -2
  133. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-shipment-tracking.js → esm2020/driver/magento/2.4.1/queries/fragments/order-shipment-tracking.mjs} +2 -2
  134. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-shipment.js → esm2020/driver/magento/2.4.1/queries/fragments/order-shipment.mjs} +2 -2
  135. package/{esm2015/driver/magento/2.4.1/queries/fragments/order-total.js → esm2020/driver/magento/2.4.1/queries/fragments/order-total.mjs} +2 -2
  136. package/{esm2015/driver/magento/2.4.1/queries/fragments/order.js → esm2020/driver/magento/2.4.1/queries/fragments/order.mjs} +2 -2
  137. package/{esm2015/driver/magento/2.4.1/queries/fragments/public_api.js → esm2020/driver/magento/2.4.1/queries/fragments/public_api.mjs} +0 -0
  138. package/{esm2015/driver/magento/2.4.1/queries/get-guest-orders.js → esm2020/driver/magento/2.4.1/queries/get-guest-orders.mjs} +2 -2
  139. package/{esm2015/driver/magento/2.4.1/queries/public_api.js → esm2020/driver/magento/2.4.1/queries/public_api.mjs} +0 -0
  140. package/{esm2015/driver/magento/2.4.1/queries/responses/get-guest-orders.js → esm2020/driver/magento/2.4.1/queries/responses/get-guest-orders.mjs} +0 -0
  141. package/{esm2015/driver/magento/2.4.1/queries/responses/public_api.js → esm2020/driver/magento/2.4.1/queries/responses/public_api.mjs} +0 -0
  142. package/esm2020/driver/magento/2.4.1/transforms/responses/order.mjs +234 -0
  143. package/esm2020/driver/magento/2.4.1/validators/get-orders.mjs +17 -0
  144. package/{esm2015/driver/magento/2.4.1/validators/public_api.js → esm2020/driver/magento/2.4.1/validators/public_api.mjs} +0 -0
  145. package/{esm2015/driver/testing/daffodil-order-driver-testing.js → esm2020/driver/testing/daffodil-order-driver-testing.mjs} +0 -0
  146. package/esm2020/driver/testing/drivers/order-driver.module.mjs +32 -0
  147. package/esm2020/driver/testing/drivers/order.service.mjs +28 -0
  148. package/{esm2015/driver/testing/drivers/public_api.js → esm2020/driver/testing/drivers/public_api.mjs} +0 -0
  149. package/{esm2015/driver/testing/index.js → esm2020/driver/testing/index.mjs} +0 -0
  150. package/{esm2015/driver/testing/public_api.js → esm2020/driver/testing/public_api.mjs} +0 -0
  151. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  152. package/{esm2015/injection-tokens/error-matcher.token.js → esm2020/injection-tokens/error-matcher.token.mjs} +0 -0
  153. package/{esm2015/injection-tokens/public_api.js → esm2020/injection-tokens/public_api.mjs} +0 -0
  154. package/{esm2015/models/composite-order-item.js → esm2020/models/composite-order-item.mjs} +0 -0
  155. package/{esm2015/models/configurable-order-item.js → esm2020/models/configurable-order-item.mjs} +0 -0
  156. package/{esm2015/models/order-address.js → esm2020/models/order-address.mjs} +0 -0
  157. package/{esm2015/models/order-coupon.js → esm2020/models/order-coupon.mjs} +0 -0
  158. package/{esm2015/models/order-credit.js → esm2020/models/order-credit.mjs} +0 -0
  159. package/{esm2015/models/order-invoice.js → esm2020/models/order-invoice.mjs} +0 -0
  160. package/{esm2015/models/order-item.js → esm2020/models/order-item.mjs} +0 -0
  161. package/{esm2015/models/order-payment.js → esm2020/models/order-payment.mjs} +0 -0
  162. package/{esm2015/models/order-shipment-item.js → esm2020/models/order-shipment-item.mjs} +0 -0
  163. package/{esm2015/models/order-shipment-tracking.js → esm2020/models/order-shipment-tracking.mjs} +0 -0
  164. package/{esm2015/models/order-shipment.js → esm2020/models/order-shipment.mjs} +0 -0
  165. package/{esm2015/models/order-shipping-method.js → esm2020/models/order-shipping-method.mjs} +0 -0
  166. package/{esm2015/models/order-total.js → esm2020/models/order-total.mjs} +0 -0
  167. package/{esm2015/models/order.js → esm2020/models/order.mjs} +0 -0
  168. package/{esm2015/models/public_api.js → esm2020/models/public_api.mjs} +0 -0
  169. package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
  170. package/{esm2015/routing/daffodil-order-routing.js → esm2020/routing/daffodil-order-routing.mjs} +0 -0
  171. package/{esm2015/routing/guards/placed-order/placed-order-guard-redirect.token.js → esm2020/routing/guards/placed-order/placed-order-guard-redirect.token.mjs} +0 -0
  172. package/esm2020/routing/guards/placed-order/placed-order.guard.mjs +38 -0
  173. package/{esm2015/routing/guards/public_api.js → esm2020/routing/guards/public_api.mjs} +0 -0
  174. package/{esm2015/routing/index.js → esm2020/routing/index.mjs} +0 -0
  175. package/esm2020/routing/order-routing.module.mjs +19 -0
  176. package/{esm2015/routing/public_api.js → esm2020/routing/public_api.mjs} +0 -0
  177. package/{esm2015/state/actions/order.actions.js → esm2020/state/actions/order.actions.mjs} +0 -0
  178. package/esm2020/state/daffodil-order-state.mjs +5 -0
  179. package/esm2020/state/effects/order.effects.mjs +36 -0
  180. package/{esm2015/state/facades/order/order-facade.interface.js → esm2020/state/facades/order/order-facade.interface.mjs} +0 -0
  181. package/{esm2015/state/facades/order/order.facade.js → esm2020/state/facades/order/order.facade.mjs} +9 -11
  182. package/{esm2015/state/facades/public_api.js → esm2020/state/facades/public_api.mjs} +0 -0
  183. package/{esm2015/state/index.js → esm2020/state/index.mjs} +0 -0
  184. package/esm2020/state/order-state.module.mjs +33 -0
  185. package/{esm2015/state/public_api.js → esm2020/state/public_api.mjs} +0 -0
  186. package/{esm2015/state/reducers/order/order-initial-state.js → esm2020/state/reducers/order/order-initial-state.mjs} +0 -0
  187. package/{esm2015/state/reducers/order/order-reducer.interface.js → esm2020/state/reducers/order/order-reducer.interface.mjs} +0 -0
  188. package/esm2020/state/reducers/order/order.reducer.mjs +32 -0
  189. package/{esm2015/state/reducers/order/public_api.js → esm2020/state/reducers/order/public_api.mjs} +0 -0
  190. package/{esm2015/state/reducers/order-entities/order-entities-adapter.js → esm2020/state/reducers/order-entities/order-entities-adapter.mjs} +5 -7
  191. package/{esm2015/state/reducers/order-entities/order-entities-initial-state.js → esm2020/state/reducers/order-entities/order-entities-initial-state.mjs} +0 -0
  192. package/{esm2015/state/reducers/order-entities/order-entities-state.interface.js → esm2020/state/reducers/order-entities/order-entities-state.interface.mjs} +0 -0
  193. package/{esm2015/state/reducers/order-entities/order-entities.reducer.js → esm2020/state/reducers/order-entities/order-entities.reducer.mjs} +0 -0
  194. package/{esm2015/state/reducers/order-entities/public_api.js → esm2020/state/reducers/order-entities/public_api.mjs} +0 -0
  195. package/{esm2015/state/reducers/order-reducers.interface.js → esm2020/state/reducers/order-reducers.interface.mjs} +0 -0
  196. package/{esm2015/state/reducers/order-reducers.js → esm2020/state/reducers/order-reducers.mjs} +0 -0
  197. package/{esm2015/state/reducers/order-store-feature-key.js → esm2020/state/reducers/order-store-feature-key.mjs} +0 -0
  198. package/{esm2015/state/reducers/public_api.js → esm2020/state/reducers/public_api.mjs} +0 -0
  199. package/esm2020/state/selectors/order-all.selector.mjs +12 -0
  200. package/esm2020/state/selectors/order-entities.selector.mjs +76 -0
  201. package/esm2020/state/selectors/order-feature.selector.mjs +9 -0
  202. package/esm2020/state/selectors/order.selector.mjs +18 -0
  203. package/{esm2015/state/selectors/public_api.js → esm2020/state/selectors/public_api.mjs} +0 -0
  204. package/{esm2015/state/testing/daffodil-order-state-testing.js → esm2020/state/testing/daffodil-order-state-testing.mjs} +0 -0
  205. package/{esm2015/state/testing/index.js → esm2020/state/testing/index.mjs} +0 -0
  206. package/esm2020/state/testing/mock-order-facade.mjs +81 -0
  207. package/esm2020/state/testing/order-testing.module.mjs +20 -0
  208. package/{esm2015/state/testing/public_api.js → esm2020/state/testing/public_api.mjs} +0 -0
  209. package/{esm2015/testing/daffodil-order-testing.js → esm2020/testing/daffodil-order-testing.mjs} +0 -0
  210. package/esm2020/testing/factories/composite-order-item.factory.mjs +36 -0
  211. package/esm2020/testing/factories/configurable-order-item.factory.mjs +35 -0
  212. package/esm2020/testing/factories/order-address.factory.mjs +25 -0
  213. package/esm2020/testing/factories/order-coupon.factory.mjs +24 -0
  214. package/esm2020/testing/factories/order-invoice.factory.mjs +28 -0
  215. package/{esm2015/testing/factories/order-item.factory.js → esm2020/testing/factories/order-item.factory.mjs} +9 -9
  216. package/{esm2015/testing/factories/order-payment.factory.js → esm2020/testing/factories/order-payment.factory.mjs} +9 -9
  217. package/esm2020/testing/factories/order-shipment-item.factory.mjs +25 -0
  218. package/esm2020/testing/factories/order-shipment-tracking.factory.mjs +28 -0
  219. package/esm2020/testing/factories/order-shipment.factory.mjs +30 -0
  220. package/{esm2015/testing/factories/order-shipping-rate.factory.js → esm2020/testing/factories/order-shipping-rate.factory.mjs} +9 -9
  221. package/esm2020/testing/factories/order-total.factory.mjs +28 -0
  222. package/{esm2015/testing/factories/order.factory.js → esm2020/testing/factories/order.factory.mjs} +9 -9
  223. package/{esm2015/testing/factories/public_api.js → esm2020/testing/factories/public_api.mjs} +0 -0
  224. package/{esm2015/testing/helpers/order-helper.js → esm2020/testing/helpers/order-helper.mjs} +0 -0
  225. package/{esm2015/testing/helpers/public_api.js → esm2020/testing/helpers/public_api.mjs} +0 -0
  226. package/{esm2015/testing/index.js → esm2020/testing/index.mjs} +0 -0
  227. package/{esm2015/testing/public_api.js → esm2020/testing/public_api.mjs} +0 -0
  228. package/fesm2015/daffodil-order-driver-in-memory.mjs +117 -0
  229. package/fesm2015/daffodil-order-driver-in-memory.mjs.map +1 -0
  230. package/fesm2015/{daffodil-order-driver-magento-2.4.0.js → daffodil-order-driver-magento-2.4.0.mjs} +31 -21
  231. package/fesm2015/daffodil-order-driver-magento-2.4.0.mjs.map +1 -0
  232. package/fesm2015/{daffodil-order-driver-magento-2.4.1.js → daffodil-order-driver-magento-2.4.1.mjs} +33 -23
  233. package/fesm2015/daffodil-order-driver-magento-2.4.1.mjs.map +1 -0
  234. package/fesm2015/daffodil-order-driver-testing.mjs +63 -0
  235. package/fesm2015/daffodil-order-driver-testing.mjs.map +1 -0
  236. package/fesm2015/{daffodil-order-driver.js → daffodil-order-driver.mjs} +1 -1
  237. package/fesm2015/daffodil-order-driver.mjs.map +1 -0
  238. package/fesm2015/daffodil-order-routing.mjs +62 -0
  239. package/fesm2015/daffodil-order-routing.mjs.map +1 -0
  240. package/fesm2015/{daffodil-order-state-testing.js → daffodil-order-state-testing.mjs} +22 -13
  241. package/fesm2015/daffodil-order-state-testing.mjs.map +1 -0
  242. package/fesm2015/{daffodil-order-state.js → daffodil-order-state.mjs} +64 -73
  243. package/fesm2015/daffodil-order-state.mjs.map +1 -0
  244. package/fesm2015/daffodil-order-testing.mjs +387 -0
  245. package/fesm2015/daffodil-order-testing.mjs.map +1 -0
  246. package/fesm2015/{daffodil-order.js → daffodil-order.mjs} +1 -1
  247. package/fesm2015/daffodil-order.mjs.map +1 -0
  248. package/fesm2020/daffodil-order-driver-in-memory.mjs +117 -0
  249. package/fesm2020/daffodil-order-driver-in-memory.mjs.map +1 -0
  250. package/fesm2020/daffodil-order-driver-magento-2.4.0.mjs +459 -0
  251. package/fesm2020/daffodil-order-driver-magento-2.4.0.mjs.map +1 -0
  252. package/fesm2020/daffodil-order-driver-magento-2.4.1.mjs +646 -0
  253. package/fesm2020/daffodil-order-driver-magento-2.4.1.mjs.map +1 -0
  254. package/fesm2020/daffodil-order-driver-testing.mjs +63 -0
  255. package/fesm2020/daffodil-order-driver-testing.mjs.map +1 -0
  256. package/fesm2020/daffodil-order-driver.mjs +27 -0
  257. package/fesm2020/daffodil-order-driver.mjs.map +1 -0
  258. package/fesm2020/daffodil-order-routing.mjs +60 -0
  259. package/fesm2020/daffodil-order-routing.mjs.map +1 -0
  260. package/fesm2020/daffodil-order-state-testing.mjs +105 -0
  261. package/fesm2020/daffodil-order-state-testing.mjs.map +1 -0
  262. package/fesm2020/daffodil-order-state.mjs +400 -0
  263. package/fesm2020/daffodil-order-state.mjs.map +1 -0
  264. package/fesm2020/daffodil-order-testing.mjs +387 -0
  265. package/fesm2020/daffodil-order-testing.mjs.map +1 -0
  266. package/fesm2020/daffodil-order.mjs +31 -0
  267. package/fesm2020/daffodil-order.mjs.map +1 -0
  268. package/package.json +98 -14
  269. package/routing/daffodil-order-routing.d.ts +1 -0
  270. package/routing/guards/placed-order/placed-order.guard.d.ts +3 -0
  271. package/routing/order-routing.module.d.ts +4 -0
  272. package/routing/package.json +5 -6
  273. package/state/daffodil-order-state.d.ts +1 -1
  274. package/state/effects/order.effects.d.ts +5 -2
  275. package/state/facades/order/order.facade.d.ts +3 -0
  276. package/state/order-state.module.d.ts +7 -0
  277. package/state/package.json +5 -6
  278. package/state/testing/daffodil-order-state-testing.d.ts +1 -0
  279. package/state/testing/mock-order-facade.d.ts +3 -0
  280. package/state/testing/order-testing.module.d.ts +4 -0
  281. package/state/testing/package.json +5 -6
  282. package/testing/daffodil-order-testing.d.ts +1 -0
  283. package/testing/factories/composite-order-item.factory.d.ts +3 -0
  284. package/testing/factories/configurable-order-item.factory.d.ts +3 -0
  285. package/testing/factories/order-address.factory.d.ts +3 -0
  286. package/testing/factories/order-coupon.factory.d.ts +3 -0
  287. package/testing/factories/order-invoice.factory.d.ts +3 -0
  288. package/testing/factories/order-item.factory.d.ts +3 -0
  289. package/testing/factories/order-payment.factory.d.ts +3 -0
  290. package/testing/factories/order-shipment-item.factory.d.ts +3 -0
  291. package/testing/factories/order-shipment-tracking.factory.d.ts +3 -0
  292. package/testing/factories/order-shipment.factory.d.ts +3 -0
  293. package/testing/factories/order-shipping-rate.factory.d.ts +3 -0
  294. package/testing/factories/order-total.factory.d.ts +3 -0
  295. package/testing/factories/order.factory.d.ts +3 -0
  296. package/testing/package.json +5 -6
  297. package/bundles/daffodil-order-driver-in-memory.umd.js +0 -125
  298. package/bundles/daffodil-order-driver-in-memory.umd.js.map +0 -1
  299. package/bundles/daffodil-order-driver-in-memory.umd.min.js +0 -2
  300. package/bundles/daffodil-order-driver-in-memory.umd.min.js.map +0 -1
  301. package/bundles/daffodil-order-driver-magento-2.4.0.umd.js +0 -657
  302. package/bundles/daffodil-order-driver-magento-2.4.0.umd.js.map +0 -1
  303. package/bundles/daffodil-order-driver-magento-2.4.0.umd.min.js +0 -16
  304. package/bundles/daffodil-order-driver-magento-2.4.0.umd.min.js.map +0 -1
  305. package/bundles/daffodil-order-driver-magento-2.4.1.umd.js +0 -737
  306. package/bundles/daffodil-order-driver-magento-2.4.1.umd.js.map +0 -1
  307. package/bundles/daffodil-order-driver-magento-2.4.1.umd.min.js +0 -2
  308. package/bundles/daffodil-order-driver-magento-2.4.1.umd.min.js.map +0 -1
  309. package/bundles/daffodil-order-driver-testing.umd.js +0 -67
  310. package/bundles/daffodil-order-driver-testing.umd.js.map +0 -1
  311. package/bundles/daffodil-order-driver-testing.umd.min.js +0 -2
  312. package/bundles/daffodil-order-driver-testing.umd.min.js.map +0 -1
  313. package/bundles/daffodil-order-driver.umd.js +0 -360
  314. package/bundles/daffodil-order-driver.umd.js.map +0 -1
  315. package/bundles/daffodil-order-driver.umd.min.js +0 -16
  316. package/bundles/daffodil-order-driver.umd.min.js.map +0 -1
  317. package/bundles/daffodil-order-routing.umd.js +0 -66
  318. package/bundles/daffodil-order-routing.umd.js.map +0 -1
  319. package/bundles/daffodil-order-routing.umd.min.js +0 -2
  320. package/bundles/daffodil-order-routing.umd.min.js.map +0 -1
  321. package/bundles/daffodil-order-state-testing.umd.js +0 -107
  322. package/bundles/daffodil-order-state-testing.umd.js.map +0 -1
  323. package/bundles/daffodil-order-state-testing.umd.min.js +0 -2
  324. package/bundles/daffodil-order-state-testing.umd.min.js.map +0 -1
  325. package/bundles/daffodil-order-state.umd.js +0 -748
  326. package/bundles/daffodil-order-state.umd.js.map +0 -1
  327. package/bundles/daffodil-order-state.umd.min.js +0 -16
  328. package/bundles/daffodil-order-state.umd.min.js.map +0 -1
  329. package/bundles/daffodil-order-testing.umd.js +0 -766
  330. package/bundles/daffodil-order-testing.umd.js.map +0 -1
  331. package/bundles/daffodil-order-testing.umd.min.js +0 -16
  332. package/bundles/daffodil-order-testing.umd.min.js.map +0 -1
  333. package/bundles/daffodil-order.umd.js +0 -36
  334. package/bundles/daffodil-order.umd.js.map +0 -1
  335. package/bundles/daffodil-order.umd.min.js +0 -2
  336. package/bundles/daffodil-order.umd.min.js.map +0 -1
  337. package/daffodil-order.metadata.json +0 -1
  338. package/driver/daffodil-order-driver.metadata.json +0 -1
  339. package/driver/in-memory/daffodil-order-driver-in-memory.metadata.json +0 -1
  340. package/driver/magento/2.4.0/daffodil-order-driver-magento-2.4.0.metadata.json +0 -1
  341. package/driver/magento/2.4.1/daffodil-order-driver-magento-2.4.1.metadata.json +0 -1
  342. package/driver/testing/daffodil-order-driver-testing.metadata.json +0 -1
  343. package/esm2015/driver/in-memory/backend/order.service.js +0 -59
  344. package/esm2015/driver/in-memory/drivers/order-driver.module.js +0 -25
  345. package/esm2015/driver/in-memory/drivers/order.service.js +0 -30
  346. package/esm2015/driver/magento/2.4.0/order-driver.module.js +0 -25
  347. package/esm2015/driver/magento/2.4.0/order.service.js +0 -55
  348. package/esm2015/driver/magento/2.4.0/queries/fragments/order-item.js +0 -27
  349. package/esm2015/driver/magento/2.4.0/validators/get-orders.js +0 -18
  350. package/esm2015/driver/magento/2.4.1/order-driver.module.js +0 -25
  351. package/esm2015/driver/magento/2.4.1/order.service.js +0 -55
  352. package/esm2015/driver/magento/2.4.1/transforms/responses/order.js +0 -207
  353. package/esm2015/driver/magento/2.4.1/validators/get-orders.js +0 -18
  354. package/esm2015/driver/testing/drivers/order-driver.module.js +0 -25
  355. package/esm2015/driver/testing/drivers/order.service.js +0 -30
  356. package/esm2015/routing/guards/placed-order/placed-order.guard.js +0 -40
  357. package/esm2015/routing/order-routing.module.js +0 -12
  358. package/esm2015/state/daffodil-order-state.js +0 -6
  359. package/esm2015/state/effects/order.effects.js +0 -49
  360. package/esm2015/state/order-state.module.js +0 -20
  361. package/esm2015/state/reducers/order/order.reducer.js +0 -21
  362. package/esm2015/state/selectors/order-all.selector.js +0 -10
  363. package/esm2015/state/selectors/order-entities.selector.js +0 -79
  364. package/esm2015/state/selectors/order-feature.selector.js +0 -11
  365. package/esm2015/state/selectors/order.selector.js +0 -21
  366. package/esm2015/state/testing/mock-order-facade.js +0 -79
  367. package/esm2015/state/testing/order-testing.module.js +0 -13
  368. package/esm2015/testing/factories/composite-order-item.factory.js +0 -36
  369. package/esm2015/testing/factories/configurable-order-item.factory.js +0 -35
  370. package/esm2015/testing/factories/order-address.factory.js +0 -25
  371. package/esm2015/testing/factories/order-coupon.factory.js +0 -24
  372. package/esm2015/testing/factories/order-invoice.factory.js +0 -28
  373. package/esm2015/testing/factories/order-shipment-item.factory.js +0 -25
  374. package/esm2015/testing/factories/order-shipment-tracking.factory.js +0 -28
  375. package/esm2015/testing/factories/order-shipment.factory.js +0 -30
  376. package/esm2015/testing/factories/order-total.factory.js +0 -28
  377. package/fesm2015/daffodil-order-driver-in-memory.js +0 -114
  378. package/fesm2015/daffodil-order-driver-in-memory.js.map +0 -1
  379. package/fesm2015/daffodil-order-driver-magento-2.4.0.js.map +0 -1
  380. package/fesm2015/daffodil-order-driver-magento-2.4.1.js.map +0 -1
  381. package/fesm2015/daffodil-order-driver-testing.js +0 -58
  382. package/fesm2015/daffodil-order-driver-testing.js.map +0 -1
  383. package/fesm2015/daffodil-order-driver.js.map +0 -1
  384. package/fesm2015/daffodil-order-routing.js +0 -54
  385. package/fesm2015/daffodil-order-routing.js.map +0 -1
  386. package/fesm2015/daffodil-order-state-testing.js.map +0 -1
  387. package/fesm2015/daffodil-order-state.js.map +0 -1
  388. package/fesm2015/daffodil-order-testing.js +0 -386
  389. package/fesm2015/daffodil-order-testing.js.map +0 -1
  390. package/fesm2015/daffodil-order.js.map +0 -1
  391. package/routing/daffodil-order-routing.metadata.json +0 -1
  392. package/state/daffodil-order-state.metadata.json +0 -1
  393. package/state/testing/daffodil-order-state-testing.metadata.json +0 -1
  394. package/testing/daffodil-order-testing.metadata.json +0 -1
@@ -0,0 +1,81 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * @inheritdoc
6
+ */
7
+ export class MockDaffOrderFacade {
8
+ constructor() {
9
+ this.loading$ = new BehaviorSubject(null);
10
+ this.errors$ = new BehaviorSubject([]);
11
+ this.orders$ = new BehaviorSubject([]);
12
+ this.orderIds$ = new BehaviorSubject([]);
13
+ this.orderCount$ = new BehaviorSubject(null);
14
+ this.orderEntities$ = new BehaviorSubject({});
15
+ this.placedOrder$ = new BehaviorSubject(null);
16
+ this.hasPlacedOrder$ = new BehaviorSubject(false);
17
+ }
18
+ getOrder$(orderId) {
19
+ return new BehaviorSubject(null);
20
+ }
21
+ getTotals$(orderId) {
22
+ return new BehaviorSubject([]);
23
+ }
24
+ getAppliedCodes$(orderId) {
25
+ return new BehaviorSubject([]);
26
+ }
27
+ getItems$(orderId) {
28
+ return new BehaviorSubject([]);
29
+ }
30
+ getBillingAddresses$(orderId) {
31
+ return new BehaviorSubject([]);
32
+ }
33
+ getShippingAddresses$(orderId) {
34
+ return new BehaviorSubject([]);
35
+ }
36
+ getShipments$(orderId) {
37
+ return new BehaviorSubject([]);
38
+ }
39
+ getPayment$(orderId) {
40
+ return new BehaviorSubject(null);
41
+ }
42
+ getInvoices$(orderId) {
43
+ return new BehaviorSubject([]);
44
+ }
45
+ getCredits$(orderId) {
46
+ return new BehaviorSubject([]);
47
+ }
48
+ getGrandTotal$(orderId) {
49
+ return new BehaviorSubject(null);
50
+ }
51
+ ;
52
+ getSubtotal$(orderId) {
53
+ return new BehaviorSubject(null);
54
+ }
55
+ ;
56
+ getShippingTotal$(orderId) {
57
+ return new BehaviorSubject(null);
58
+ }
59
+ ;
60
+ getDiscountTotal$(orderId) {
61
+ return new BehaviorSubject(null);
62
+ }
63
+ ;
64
+ hasDiscount$(orderId) {
65
+ return new BehaviorSubject(false);
66
+ }
67
+ ;
68
+ getTaxTotal$(orderId) {
69
+ return new BehaviorSubject(null);
70
+ }
71
+ ;
72
+ dispatch(action) { }
73
+ ;
74
+ }
75
+ /** @nocollapse */ /** @nocollapse */ MockDaffOrderFacade.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: MockDaffOrderFacade, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
76
+ /** @nocollapse */ /** @nocollapse */ MockDaffOrderFacade.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: MockDaffOrderFacade, providedIn: 'root' });
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: MockDaffOrderFacade, decorators: [{
78
+ type: Injectable,
79
+ args: [{ providedIn: 'root' }]
80
+ }] });
81
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9jay1vcmRlci1mYWNhZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL29yZGVyL3N0YXRlL3Rlc3Rpbmcvc3JjL21vY2stb3JkZXItZmFjYWRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7QUFTdkM7O0dBRUc7QUFFSCxNQUFNLE9BQU8sbUJBQW1CO0lBRGhDO1FBRUUsYUFBUSxHQUE2QixJQUFJLGVBQWUsQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUMvRCxZQUFPLEdBQXNDLElBQUksZUFBZSxDQUFDLEVBQUUsQ0FBQyxDQUFDO1FBRXJFLFlBQU8sR0FBaUMsSUFBSSxlQUFlLENBQUMsRUFBRSxDQUFDLENBQUM7UUFDaEUsY0FBUyxHQUF1QyxJQUFJLGVBQWUsQ0FBQyxFQUFFLENBQUMsQ0FBQztRQUN4RSxnQkFBVyxHQUE0QixJQUFJLGVBQWUsQ0FBQyxJQUFJLENBQUMsQ0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k9yZGVyVG90YWw+IHtcbiAgICByZXR1cm4gbmV3IEJlaGF2aW9yU3ViamVjdChudWxsKTtcbiAgfTtcbiAgZ2V0U3VidG90YWwkKG9yZGVySWQ6IERhZmZPcmRlclsnaWQnXSk6IEJlaGF2aW9yU3ViamVjdDxEYWZmT3JkZXJUb3RhbD4ge1xuICAgIHJldHVybiBuZXcgQmVoYXZpb3JTdWJqZWN0KG51bGwpO1xuICB9O1xuICBnZXRTaGlwcGluZ1RvdGFsJChvcmRlcklkOiBEYWZmT3JkZXJbJ2lkJ10pOiBCZWhhdmlvclN1YmplY3Q8RGFmZk9yZGVyVG90YWw+IHtcbiAgICByZXR1cm4gbmV3IEJlaGF2aW9yU3ViamVjdChudWxsKTtcbiAgfTtcbiAgZ2V0RGlzY291bnRUb3RhbCQob3JkZXJJZDogRGFmZk9yZGVyWydpZCddKTogQmVoYXZpb3JTdWJqZWN0PERhZmZPcmRlclRvdGFsPiB7XG4gICAgcmV0dXJuIG5ldyBCZWhhdmlvclN1YmplY3QobnVsbCk7XG4gIH07XG4gIGhhc0Rpc2NvdW50JChvcmRlcklkOiBEYWZmT3JkZXJbJ2lkJ10pOiBCZWhhdmlvclN1YmplY3Q8Ym9vbGVhbj4ge1xuICAgIHJldHVybiBuZXcgQmVoYXZpb3JTdWJqZWN0KGZhbHNlKTtcbiAgfTtcbiAgZ2V0VGF4VG90YWwkKG9yZGVySWQ6IERhZmZPcmRlclsnaWQnXSk6IEJlaGF2aW9yU3ViamVjdDxEYWZmT3JkZXJUb3RhbD4ge1xuICAgIHJldHVybiBuZXcgQmVoYXZpb3JTdWJqZWN0KG51bGwpO1xuICB9O1xuXG4gIGRpc3BhdGNoKGFjdGlvbjogQWN0aW9uKSB7fTtcbn1cbiJdfQ==
@@ -0,0 +1,20 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { DaffOrderFacade } from '@daffodil/order/state';
3
+ import { MockDaffOrderFacade } from './mock-order-facade';
4
+ import * as i0 from "@angular/core";
5
+ export class DaffOrderTestingModule {
6
+ }
7
+ /** @nocollapse */ /** @nocollapse */ DaffOrderTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ /** @nocollapse */ /** @nocollapse */ DaffOrderTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderTestingModule });
9
+ /** @nocollapse */ /** @nocollapse */ DaffOrderTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderTestingModule, providers: [
10
+ { provide: DaffOrderFacade, useExisting: MockDaffOrderFacade },
11
+ ] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderTestingModule, decorators: [{
13
+ type: NgModule,
14
+ args: [{
15
+ providers: [
16
+ { provide: DaffOrderFacade, useExisting: MockDaffOrderFacade },
17
+ ],
18
+ }]
19
+ }] });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItdGVzdGluZy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL29yZGVyL3N0YXRlL3Rlc3Rpbmcvc3JjL29yZGVyLXRlc3RpbmcubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBRXhELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHFCQUFxQixDQUFDOztBQU8xRCxNQUFNLE9BQU8sc0JBQXNCOzt5SkFBdEIsc0JBQXNCOzBKQUF0QixzQkFBc0I7MEpBQXRCLHNCQUFzQixhQUp0QjtRQUNULEVBQUUsT0FBTyxFQUFFLGVBQWUsRUFBRSxXQUFXLEVBQUUsbUJBQW1CLEVBQUU7S0FDL0Q7MkZBRVUsc0JBQXNCO2tCQUxsQyxRQUFRO21CQUFDO29CQUNSLFNBQVMsRUFBRTt3QkFDVCxFQUFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsV0FBVyxFQUFFLG1CQUFtQixFQUFFO3FCQUMvRDtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IERhZmZPcmRlckZhY2FkZSB9IGZyb20gJ0BkYWZmb2RpbC9vcmRlci9zdGF0ZSc7XG5cbmltcG9ydCB7IE1vY2tEYWZmT3JkZXJGYWNhZGUgfSBmcm9tICcuL21vY2stb3JkZXItZmFjYWRlJztcblxuQE5nTW9kdWxlKHtcbiAgcHJvdmlkZXJzOiBbXG4gICAgeyBwcm92aWRlOiBEYWZmT3JkZXJGYWNhZGUsIHVzZUV4aXN0aW5nOiBNb2NrRGFmZk9yZGVyRmFjYWRlIH0sXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIERhZmZPcmRlclRlc3RpbmdNb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,36 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
+ import { DaffModelFactory } from '@daffodil/core/testing';
4
+ import { DaffOrderItemType, } from '@daffodil/order';
5
+ import { MockOrderItem } from './order-item.factory';
6
+ import * as i0 from "@angular/core";
7
+ export class MockCompositeOrderItem extends MockOrderItem {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.type = DaffOrderItemType.Composite;
11
+ this.options = [
12
+ {
13
+ option_label: faker.random.word(),
14
+ value_label: faker.random.word(),
15
+ },
16
+ {
17
+ option_label: faker.random.word(),
18
+ value_label: faker.random.word(),
19
+ },
20
+ ];
21
+ }
22
+ }
23
+ export class DaffCompositeOrderItemFactory extends DaffModelFactory {
24
+ constructor() {
25
+ super(MockCompositeOrderItem);
26
+ }
27
+ }
28
+ /** @nocollapse */ /** @nocollapse */ DaffCompositeOrderItemFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCompositeOrderItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
29
+ /** @nocollapse */ /** @nocollapse */ DaffCompositeOrderItemFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCompositeOrderItemFactory, providedIn: 'root' });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffCompositeOrderItemFactory, decorators: [{
31
+ type: Injectable,
32
+ args: [{
33
+ providedIn: 'root',
34
+ }]
35
+ }], ctorParameters: function () { return []; } });
36
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9zaXRlLW9yZGVyLWl0ZW0uZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvdGVzdGluZy9zcmMvZmFjdG9yaWVzL2NvbXBvc2l0ZS1vcmRlci1pdGVtLmZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEtBQUssS0FBSyxNQUFNLDhCQUE4QixDQUFDO0FBRXRELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzFELE9BQU8sRUFFTCxpQkFBaUIsR0FDbEIsTUFBTSxpQkFBaUIsQ0FBQztBQUV6QixPQUFPLEVBQU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mcm9tICdAZGFmZm9kaWwvb3JkZXInO1xuXG5pbXBvcnQgeyBNb2NrT3JkZXJJdGVtIH0gZnJvbSAnLi9vcmRlci1pdGVtLmZhY3RvcnknO1xuXG5leHBvcnQgY2xhc3MgTW9ja0NvbXBvc2l0ZU9yZGVySXRlbSBleHRlbmRzIE1vY2tPcmRlckl0ZW0gaW1wbGVtZW50cyBEYWZmQ29tcG9zaXRlT3JkZXJJdGVtIHtcblx0dHlwZSA9IERhZmZPcmRlckl0ZW1UeXBlLkNvbXBvc2l0ZTtcblx0b3B0aW9ucyA9IFtcblx0ICB7XG5cdCAgICBvcHRpb25fbGFiZWw6IGZha2VyLnJhbmRvbS53b3JkKCksXG5cdCAgICB2YWx1ZV9sYWJlbDogZmFrZXIucmFuZG9tLndvcmQoKSxcblx0ICB9LFxuXHQgIHtcblx0ICAgIG9wdGlvbl9sYWJlbDogZmFrZXIucmFuZG9tLndvcmQoKSxcblx0ICAgIHZhbHVlX2xhYmVsOiBmYWtlci5yYW5kb20ud29yZCgpLFxuXHQgIH0sXG5cdF07XG59XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmQ29tcG9zaXRlT3JkZXJJdGVtRmFjdG9yeSBleHRlbmRzIERhZmZNb2RlbEZhY3Rvcnk8RGFmZkNvbXBvc2l0ZU9yZGVySXRlbT4ge1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcihNb2NrQ29tcG9zaXRlT3JkZXJJdGVtKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,35 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { DaffModelFactory } from '@daffodil/core/testing';
3
+ import { DaffOrderItemType, } from '@daffodil/order';
4
+ import { MockOrderItem } from './order-item.factory';
5
+ import * as i0 from "@angular/core";
6
+ export class MockConfigurableOrderItem extends MockOrderItem {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.type = DaffOrderItemType.Configurable;
10
+ this.attributes = [
11
+ {
12
+ attribute_label: 'Color',
13
+ value_label: 'Red',
14
+ },
15
+ {
16
+ attribute_label: 'Size',
17
+ value_label: 'M',
18
+ },
19
+ ];
20
+ }
21
+ }
22
+ export class DaffConfigurableOrderItemFactory extends DaffModelFactory {
23
+ constructor() {
24
+ super(MockConfigurableOrderItem);
25
+ }
26
+ }
27
+ /** @nocollapse */ /** @nocollapse */ DaffConfigurableOrderItemFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffConfigurableOrderItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
28
+ /** @nocollapse */ /** @nocollapse */ DaffConfigurableOrderItemFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffConfigurableOrderItemFactory, providedIn: 'root' });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffConfigurableOrderItemFactory, decorators: [{
30
+ type: Injectable,
31
+ args: [{
32
+ providedIn: 'root',
33
+ }]
34
+ }], ctorParameters: function () { return []; } });
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlndXJhYmxlLW9yZGVyLWl0ZW0uZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvdGVzdGluZy9zcmMvZmFjdG9yaWVzL2NvbmZpZ3VyYWJsZS1vcmRlci1pdGVtLmZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUczQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRCxPQUFPLEVBRUwsaUJ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i9vcmRlci1pdGVtLmZhY3RvcnknO1xuXG5leHBvcnQgY2xhc3MgTW9ja0NvbmZpZ3VyYWJsZU9yZGVySXRlbSBleHRlbmRzIE1vY2tPcmRlckl0ZW0gaW1wbGVtZW50cyBEYWZmQ29uZmlndXJhYmxlT3JkZXJJdGVtIHtcblx0dHlwZSA9IERhZmZPcmRlckl0ZW1UeXBlLkNvbmZpZ3VyYWJsZTtcblx0YXR0cmlidXRlcyA9IFtcblx0ICB7XG5cdCAgICBhdHRyaWJ1dGVfbGFiZWw6ICdDb2xvcicsXG5cdCAgICB2YWx1ZV9sYWJlbDogJ1JlZCcsXG5cdCAgfSxcblx0ICB7XG5cdCAgICBhdHRyaWJ1dGVfbGFiZWw6ICdTaXplJyxcblx0ICAgIHZhbHVlX2xhYmVsOiAnTScsXG5cdCAgfSxcblx0XTtcbn1cblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZDb25maWd1cmFibGVPcmRlckl0ZW1GYWN0b3J5IGV4dGVuZHMgRGFmZk1vZGVsRmFjdG9yeTxEYWZmQ29uZmlndXJhYmxlT3JkZXJJdGVtPiB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKE1vY2tDb25maWd1cmFibGVPcmRlckl0ZW0pO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,25 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
+ import { DaffModelFactory } from '@daffodil/core/testing';
4
+ import { MockDaffPersonalAddress } from '@daffodil/geography/testing';
5
+ import * as i0 from "@angular/core";
6
+ export class MockOrderAddress extends MockDaffPersonalAddress {
7
+ constructor() {
8
+ super(...arguments);
9
+ this.order_id = faker.datatype.uuid();
10
+ }
11
+ }
12
+ export class DaffOrderAddressFactory extends DaffModelFactory {
13
+ constructor() {
14
+ super(MockOrderAddress);
15
+ }
16
+ }
17
+ /** @nocollapse */ /** @nocollapse */ DaffOrderAddressFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderAddressFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18
+ /** @nocollapse */ /** @nocollapse */ DaffOrderAddressFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderAddressFactory, providedIn: 'root' });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderAddressFactory, decorators: [{
20
+ type: Injectable,
21
+ args: [{
22
+ providedIn: 'root',
23
+ }]
24
+ }], ctorParameters: function () { return []; } });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItYWRkcmVzcy5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItYWRkcmVzcy5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxLQUFLLEtBQUssTUFBTSw4QkFBOEIsQ0FBQztBQUV0RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7QUFHdEUsTUFBTSxPQUFPLGdCQUFpQixTQUFRLHVCQUF1QjtJQUE3RDs7UUFDRSxhQUFRLEdBQUcsS0FBSyxDQUFDLFFBQVEsQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUNuQyxDQUFDO0NBQUE7QUFLRCxNQUFNLE9BQU8sdUJBQXdCLFNBQVE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0 +1,24 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
+ import { DaffModelFactory } from '@daffodil/core/testing';
4
+ import * as i0 from "@angular/core";
5
+ export class MockOrderCoupon {
6
+ constructor() {
7
+ this.code = faker.random.alphaNumeric(10);
8
+ }
9
+ }
10
+ ;
11
+ export class DaffOrderCouponFactory extends DaffModelFactory {
12
+ constructor() {
13
+ super(MockOrderCoupon);
14
+ }
15
+ }
16
+ /** @nocollapse */ /** @nocollapse */ DaffOrderCouponFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderCouponFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17
+ /** @nocollapse */ /** @nocollapse */ DaffOrderCouponFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderCouponFactory, providedIn: 'root' });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderCouponFactory, decorators: [{
19
+ type: Injectable,
20
+ args: [{
21
+ providedIn: 'root',
22
+ }]
23
+ }], ctorParameters: function () { return []; } });
24
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItY291cG9uLmZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL29yZGVyL3Rlc3Rpbmcvc3JjL2ZhY3Rvcmllcy9vcmRlci1jb3Vwb24uZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sS0FBSyxLQUFLLE1BQU0sOEJBQThCLENBQUM7QUFFdEQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sd0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oTW9ja09yZGVyQ291cG9uKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,28 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { DaffModelFactory } from '@daffodil/core/testing';
3
+ import * as i0 from "@angular/core";
4
+ export class MockOrderInvoice {
5
+ constructor() {
6
+ this.items = [];
7
+ this.totals = [];
8
+ this.billing_address = null;
9
+ this.shipping_address = null;
10
+ this.payment = null;
11
+ this.shipping_method = null;
12
+ }
13
+ }
14
+ ;
15
+ export class DaffOrderInvoiceFactory extends DaffModelFactory {
16
+ constructor() {
17
+ super(MockOrderInvoice);
18
+ }
19
+ }
20
+ /** @nocollapse */ /** @nocollapse */ DaffOrderInvoiceFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderInvoiceFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
21
+ /** @nocollapse */ /** @nocollapse */ DaffOrderInvoiceFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderInvoiceFactory, providedIn: 'root' });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderInvoiceFactory, decorators: [{
23
+ type: Injectable,
24
+ args: [{
25
+ providedIn: 'root',
26
+ }]
27
+ }], ctorParameters: function () { return []; } });
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItaW52b2ljZS5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItaW52b2ljZS5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFM0MsT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WxsO1xufTtcblxuXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290Jyxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZk9yZGVySW52b2ljZUZhY3RvcnkgZXh0ZW5kcyBEYWZmTW9kZWxGYWN0b3J5PERhZmZPcmRlckludm9pY2U+IHtcbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoTW9ja09yZGVySW52b2ljZSk7XG4gIH1cbn1cbiJdfQ==
@@ -41,12 +41,12 @@ export class DaffOrderItemFactory extends DaffModelFactory {
41
41
  super(MockOrderItem);
42
42
  }
43
43
  }
44
- /** @nocollapse */ DaffOrderItemFactory.ɵprov = i0.ɵɵdefineInjectable({ factory: function DaffOrderItemFactory_Factory() { return new DaffOrderItemFactory(); }, token: DaffOrderItemFactory, providedIn: "root" });
45
- DaffOrderItemFactory.decorators = [
46
- { type: Injectable, args: [{
47
- providedIn: 'root',
48
- },] }
49
- ];
50
- /** @nocollapse */
51
- DaffOrderItemFactory.ctorParameters = () => [];
52
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItaXRlbS5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItaXRlbS5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxLQUFLLEtBQUssTUFBTSw4QkFBOEIsQ0FBQztBQUV0RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRCxPQUFPLEVBRUwsaUJBQWlCLEdBQ2xCLE1BQU0saUJBQWlCLENBQUM7O0FBRXpCLE1BQU0sT0FBTyxhQUFh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5IGV4dGVuZHMgRGFmZk1vZGVsRmFjdG9yeTxEYWZmT3JkZXJJdGVtPiB7XG5cbiAgY29uc3RydWN0b3IoKXtcbiAgICBzdXBlcihNb2NrT3JkZXJJdGVtKTtcbiAgfVxufVxuIl19
44
+ /** @nocollapse */ /** @nocollapse */ DaffOrderItemFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
45
+ /** @nocollapse */ /** @nocollapse */ DaffOrderItemFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderItemFactory, providedIn: 'root' });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderItemFactory, decorators: [{
47
+ type: Injectable,
48
+ args: [{
49
+ providedIn: 'root',
50
+ }]
51
+ }], ctorParameters: function () { return []; } });
52
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItaXRlbS5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItaXRlbS5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxLQUFLLEtBQUssTUFBTSw4QkFBOEIsQ0FBQztBQUV0RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRCxPQUFPLEVBRUwsaUJBQWlCLEdBQ2xCLE1BQU0saUJBQWlCLENBQUM7O0FBRXpCLE1BQU0sT0FBTyxhQUFhO0lBQTFCO1FBQ0Us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290Jyxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZk9yZGVySXRlbUZhY3RvcnkgZXh0ZW5kcyBEYWZmTW9kZWxGYWN0b3J5PERhZmZPcmRlckl0ZW0+IHtcblxuICBjb25zdHJ1Y3Rvcigpe1xuICAgIHN1cGVyKE1vY2tPcmRlckl0ZW0pO1xuICB9XG59XG4iXX0=
@@ -22,12 +22,12 @@ export class DaffOrderPaymentFactory extends DaffModelFactory {
22
22
  super(MockOrderPayment);
23
23
  }
24
24
  }
25
- /** @nocollapse */ DaffOrderPaymentFactory.ɵprov = i0.ɵɵdefineInjectable({ factory: function DaffOrderPaymentFactory_Factory() { return new DaffOrderPaymentFactory(); }, token: DaffOrderPaymentFactory, providedIn: "root" });
26
- DaffOrderPaymentFactory.decorators = [
27
- { type: Injectable, args: [{
28
- providedIn: 'root',
29
- },] }
30
- ];
31
- /** @nocollapse */
32
- DaffOrderPaymentFactory.ctorParameters = () => [];
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItcGF5bWVudC5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItcGF5bWVudC5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxLQUFLLEtBQUssTUFBTSw4QkFBOEIsQ0FBQztBQUV0RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFHMUQsTUFBTSxPQUFPLGdCQUFnQjtJQUE3QjtRQUNFLE9BQUUsR0FBRyxLQUFLLENBQUMsUUFBUSxDQUFDLElBQUksRUFBRSxDQUFDO1FBQzNCLGVBQVUsR0FBRyxJQUF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gRGFmZk9yZGVyUGF5bWVudCB9IGZyb20gJ0BkYWZmb2RpbC9vcmRlcic7XG5cbmV4cG9ydCBjbGFzcyBNb2NrT3JkZXJQYXltZW50IGltcGxlbWVudHMgRGFmZk9yZGVyUGF5bWVudCB7XG4gIGlkID0gZmFrZXIuZGF0YXR5cGUudXVpZCgpO1xuICBwYXltZW50X2lkID0gdGhpcy5pZDtcbiAgb3JkZXJfaWQgPSBmYWtlci5kYXRhdHlwZS51dWlkKCk7XG4gIGNyZWF0ZWRfYXQgPSBmYWtlci5kYXRlLnBhc3QoKS50b1N0cmluZygpO1xuICB1cGRhdGVkX2F0ID0gZmFrZXIuZGF0ZS5wYXN0KCkudG9TdHJpbmcoKTtcbiAgbWV0aG9kID0gJ2NhcmQnO1xuICBjY190eXBlID0gJ3Zpc2EnO1xuICBjY19sYXN0NCA9IGZha2VyLmRhdGF0eXBlLm51bWJlcih7IG1pbjogMTAwMCwgbWF4OiA5OTk5IH0pLnRvU3RyaW5nKCk7XG4gIGNjX293bmVyID0gJ293bmVyJztcbiAgY2NfZXhwX21vbnRoID0gJ21vbnRoJztcbiAgY2NfZXhwX3llYXIgPSAneWVhcic7XG59XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmT3JkZXJQYXltZW50RmFjdG9yeSBleHRlbmRzIERhZmZNb2RlbEZhY3Rvcnk8RGFmZk9yZGVyUGF5bWVudD57XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKE1vY2tPcmRlclBheW1lbnQpO1xuICB9XG59XG4iXX0=
25
+ /** @nocollapse */ /** @nocollapse */ DaffOrderPaymentFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderPaymentFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
26
+ /** @nocollapse */ /** @nocollapse */ DaffOrderPaymentFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderPaymentFactory, providedIn: 'root' });
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderPaymentFactory, decorators: [{
28
+ type: Injectable,
29
+ args: [{
30
+ providedIn: 'root',
31
+ }]
32
+ }], ctorParameters: function () { return []; } });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItcGF5bWVudC5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItcGF5bWVudC5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxLQUFLLEtBQUssTUFBTSw4QkFBOEIsQ0FBQztBQUV0RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFHMUQsTUFBTSxPQUFPLGdCQUFnQjtJQUE3QjtRQUNFLE9BQUUsR0FBRyxLQUFLLENBQUMsUUFBUSxDQUFDLElBQUksRUFBRSxDQUFDO1FBQzNCLGVBQVUsR0FBRyxJQUFJLENBQUMsRUFBRSxDQUFDO1FBQ3JCLGFBQVEsR0FBRyxLQUFLLENBQUMsUUFBUSxDQUFDLElBQUksRUFBRSxDQUFDO1FBQ2pDLGVBQVUsR0FBRyxLQUFLLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxDQUFDLFFBQVEsRUFBRSxDQUFDO1FBQzFDLGVBQVUsR0FBRyxLQUFLLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxDQUFDLFFBQVEsRUFBRSxDQUFDO1FBQzFDLFd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vcmRlcl9pZCA9IGZha2VyLmRhdGF0eXBlLnV1aWQoKTtcbiAgY3JlYXRlZF9hdCA9IGZha2VyLmRhdGUucGFzdCgpLnRvU3RyaW5nKCk7XG4gIHVwZGF0ZWRfYXQgPSBmYWtlci5kYXRlLnBhc3QoKS50b1N0cmluZygpO1xuICBtZXRob2QgPSAnY2FyZCc7XG4gIGNjX3R5cGUgPSAndmlzYSc7XG4gIGNjX2xhc3Q0ID0gZmFrZXIuZGF0YXR5cGUubnVtYmVyKHsgbWluOiAxMDAwLCBtYXg6IDk5OTkgfSkudG9TdHJpbmcoKTtcbiAgY2Nfb3duZXIgPSAnb3duZXInO1xuICBjY19leHBfbW9udGggPSAnbW9udGgnO1xuICBjY19leHBfeWVhciA9ICd5ZWFyJztcbn1cblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZPcmRlclBheW1lbnRGYWN0b3J5IGV4dGVuZHMgRGFmZk1vZGVsRmFjdG9yeTxEYWZmT3JkZXJQYXltZW50PntcbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoTW9ja09yZGVyUGF5bWVudCk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,25 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
+ import { DaffModelFactory } from '@daffodil/core/testing';
4
+ import * as i0 from "@angular/core";
5
+ export class MockOrderShipmentItem {
6
+ constructor() {
7
+ this.item = null;
8
+ this.qty = faker.datatype.number({ min: 1, max: 100 });
9
+ }
10
+ }
11
+ ;
12
+ export class DaffOrderShipmentItemFactory extends DaffModelFactory {
13
+ constructor() {
14
+ super(MockOrderShipmentItem);
15
+ }
16
+ }
17
+ /** @nocollapse */ /** @nocollapse */ DaffOrderShipmentItemFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShipmentItemFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
18
+ /** @nocollapse */ /** @nocollapse */ DaffOrderShipmentItemFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShipmentItemFactory, providedIn: 'root' });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShipmentItemFactory, decorators: [{
20
+ type: Injectable,
21
+ args: [{
22
+ providedIn: 'root',
23
+ }]
24
+ }], ctorParameters: function () { return []; } });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcG1lbnQtaXRlbS5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItc2hpcG1lbnQtaXRlbS5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxLQUFLLEtBQUssTUFBTSw4QkFBOEIsQ0FBQztBQUV0RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFHMUQsTUFBTSxPQUFPLHFCQUFxQjtJQUFsQztRQUNFLFNBQUksR0FBRyxJQUFJLENBQUM7UUFDWixRQUFHLEdBQUcsS0FBSyxDQUFDLFFBQVEsQ0FBQyxNQUFNLENBQUMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsQ0FBQyxDQUFDO0lBQ3BELENBQUM7Q0FBQTtBQUFBLENBQUM7QUFLRixNQUFNLE9BQU8sNEJBQTZCLFNBQVEsZ0JBQXVDO0lBQ3ZGO1FBQ0UsS0FBSyxDQUFDLHFCQUFxQixDQUFDLENBQUM7SUFDL0IsQ0FBQzs7K0pBSFUsNEJBQTRCO21LQUE1Qiw0QkFBNEIsY0FGM0IsTUFBTTsyRkFFUCw0QkFBNEI7a0JBSHhDLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0ICogYXMgZmFrZXIgZnJvbSAnQGZha2VyLWpzL2Zha2VyL2xvY2FsZS9lbl9VUyc7XG5cbmltcG9ydCB7IERhZmZNb2RlbEZhY3RvcnkgfSBmcm9tICdAZGFmZm9kaWwvY29yZS90ZXN0aW5nJztcbmltcG9ydCB7IERhZmZPcmRlclNoaXBtZW50SXRlbSB9IGZyb20gJ0BkYWZmb2RpbC9vcmRlcic7XG5cbmV4cG9ydCBjbGFzcyBNb2NrT3JkZXJTaGlwbWVudEl0ZW0gaW1wbGVtZW50cyBEYWZmT3JkZXJTaGlwbWVudEl0ZW0ge1xuICBpdGVtID0gbnVsbDtcbiAgcXR5ID0gZmFrZXIuZGF0YXR5cGUubnVtYmVyKHsgbWluOiAxLCBtYXg6IDEwMCB9KTtcbn07XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmT3JkZXJTaGlwbWVudEl0ZW1GYWN0b3J5IGV4dGVuZHMgRGFmZk1vZGVsRmFjdG9yeTxEYWZmT3JkZXJTaGlwbWVudEl0ZW0+IHtcbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoTW9ja09yZGVyU2hpcG1lbnRJdGVtKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,28 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
+ import { DaffModelFactory } from '@daffodil/core/testing';
4
+ import * as i0 from "@angular/core";
5
+ export class MockOrderShipmentTracking {
6
+ constructor() {
7
+ this.tracking_number = faker.random.alphaNumeric(16);
8
+ this.tracking_url = faker.internet.url();
9
+ this.carrier = faker.random.word();
10
+ this.carrier_logo = faker.internet.url();
11
+ this.title = faker.random.word();
12
+ }
13
+ }
14
+ ;
15
+ export class DaffOrderShipmentTrackingFactory extends DaffModelFactory {
16
+ constructor() {
17
+ super(MockOrderShipmentTracking);
18
+ }
19
+ }
20
+ /** @nocollapse */ /** @nocollapse */ DaffOrderShipmentTrackingFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShipmentTrackingFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
21
+ /** @nocollapse */ /** @nocollapse */ DaffOrderShipmentTrackingFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShipmentTrackingFactory, providedIn: 'root' });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShipmentTrackingFactory, decorators: [{
23
+ type: Injectable,
24
+ args: [{
25
+ providedIn: 'root',
26
+ }]
27
+ }], ctorParameters: function () { return []; } });
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcG1lbnQtdHJhY2tpbmcuZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvdGVzdGluZy9zcmMvZmFjdG9yaWVzL29yZGVyLXNoaXBtZW50LXRyYWNraW5nLmZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEtBQUssS0FBSy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fSBmcm9tICdAZGFmZm9kaWwvb3JkZXInO1xuXG5leHBvcnQgY2xhc3MgTW9ja09yZGVyU2hpcG1lbnRUcmFja2luZyBpbXBsZW1lbnRzIERhZmZPcmRlclNoaXBtZW50VHJhY2tpbmcge1xuICB0cmFja2luZ19udW1iZXIgPSBmYWtlci5yYW5kb20uYWxwaGFOdW1lcmljKDE2KTtcbiAgdHJhY2tpbmdfdXJsID0gZmFrZXIuaW50ZXJuZXQudXJsKCk7XG4gIGNhcnJpZXIgPSBmYWtlci5yYW5kb20ud29yZCgpO1xuICBjYXJyaWVyX2xvZ28gPSBmYWtlci5pbnRlcm5ldC51cmwoKTtcbiAgdGl0bGUgPSBmYWtlci5yYW5kb20ud29yZCgpO1xufTtcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZPcmRlclNoaXBtZW50VHJhY2tpbmdGYWN0b3J5IGV4dGVuZHMgRGFmZk1vZGVsRmFjdG9yeTxEYWZmT3JkZXJTaGlwbWVudFRyYWNraW5nPiB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKE1vY2tPcmRlclNoaXBtZW50VHJhY2tpbmcpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,30 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
+ import { DaffModelFactory } from '@daffodil/core/testing';
4
+ import * as i0 from "@angular/core";
5
+ export class MockOrderShipment {
6
+ constructor() {
7
+ this.tracking = [];
8
+ this.items = [];
9
+ this.carrier = faker.random.word();
10
+ this.carrier_title = faker.random.word();
11
+ this.code = faker.random.word();
12
+ this.method = faker.random.word();
13
+ this.method_description = faker.random.word();
14
+ }
15
+ }
16
+ ;
17
+ export class DaffOrderShipmentFactory extends DaffModelFactory {
18
+ constructor() {
19
+ super(MockOrderShipment);
20
+ }
21
+ }
22
+ /** @nocollapse */ /** @nocollapse */ DaffOrderShipmentFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShipmentFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
23
+ /** @nocollapse */ /** @nocollapse */ DaffOrderShipmentFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShipmentFactory, providedIn: 'root' });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShipmentFactory, decorators: [{
25
+ type: Injectable,
26
+ args: [{
27
+ providedIn: 'root',
28
+ }]
29
+ }], ctorParameters: function () { return []; } });
30
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcG1lbnQuZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvdGVzdGluZy9zcmMvZmFjdG9yaWVzL29yZGVyLXNoaXBtZW50LmZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEtBQUssS0FBSyxNQUFNLDhCQUE4QixDQUFDO0FBRXRELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDOztBQUcxRCxNQUFNLE9BQU8saUJBQWlCO0lBQTlCO1FBQ0UsYUFBUSxHQUFHLEVBQUUsQ0FBQztRQUNkLFVBQUssR0FBRyxFQUFFLENBQUM7UUFDWCxZQUFPLEdBQUcsS0FBSyxDQUFDLE1BQU0sQ0FBQyxJQUFJLEVBQUUsQ0FBQztRQUM5QixrQkFBYSxHQUFHLEtBQUssQ0FBQyxNQUFNLENBQUMsSUFBSSxFQUFFLENBQUM7UUFDcEMsU0FBSS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ID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgbWV0aG9kX2Rlc2NyaXB0aW9uID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbn07XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmT3JkZXJTaGlwbWVudEZhY3RvcnkgZXh0ZW5kcyBEYWZmTW9kZWxGYWN0b3J5PERhZmZPcmRlclNoaXBtZW50PiB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKE1vY2tPcmRlclNoaXBtZW50KTtcbiAgfVxufVxuIl19
@@ -24,12 +24,12 @@ export class DaffOrderShippingMethodFactory extends DaffModelFactory {
24
24
  super(MockOrderShippingMethod);
25
25
  }
26
26
  }
27
- /** @nocollapse */ DaffOrderShippingMethodFactory.ɵprov = i0.ɵɵdefineInjectable({ factory: function DaffOrderShippingMethodFactory_Factory() { return new DaffOrderShippingMethodFactory(); }, token: DaffOrderShippingMethodFactory, providedIn: "root" });
28
- DaffOrderShippingMethodFactory.decorators = [
29
- { type: Injectable, args: [{
30
- providedIn: 'root',
31
- },] }
32
- ];
33
- /** @nocollapse */
34
- DaffOrderShippingMethodFactory.ctorParameters = () => [];
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcHBpbmctcmF0ZS5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItc2hpcHBpbmctcmF0ZS5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxLQUFLLEtBQUssTUFBTSw4QkFBOEIsQ0FBQztBQUV0RCx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tcbiAgbWV0aG9kID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgbWV0aG9kX2Rlc2NyaXB0aW9uID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgcHJpY2UgPSBmYWtlci5kYXRhdHlwZS5udW1iZXIoeyBtaW46IDEsIG1heDogMTAwMCB9KTtcbiAgZXJyb3JfbWVzc2FnZSA9IGZha2VyLnJhbmRvbS53b3JkKCk7XG4gIG1ldGhvZF90aXRsZSA9IGZha2VyLnJhbmRvbS53b3JkKCk7XG59XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmT3JkZXJTaGlwcGluZ01ldGhvZEZhY3RvcnkgZXh0ZW5kcyBEYWZmTW9kZWxGYWN0b3J5PERhZmZPcmRlclNoaXBwaW5nTWV0aG9kPntcbiAgY29uc3RydWN0b3IoKXtcbiAgICBzdXBlcihNb2NrT3JkZXJTaGlwcGluZ01ldGhvZCk7XG4gIH1cbn1cbiJdfQ==
27
+ /** @nocollapse */ /** @nocollapse */ DaffOrderShippingMethodFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShippingMethodFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
28
+ /** @nocollapse */ /** @nocollapse */ DaffOrderShippingMethodFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShippingMethodFactory, providedIn: 'root' });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderShippingMethodFactory, decorators: [{
30
+ type: Injectable,
31
+ args: [{
32
+ providedIn: 'root',
33
+ }]
34
+ }], ctorParameters: function () { return []; } });
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcHBpbmctcm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gZmFrZXIuZGF0YXR5cGUudXVpZCgpO1xuICBhZGRyZXNzX2lkID0gZmFrZXIuZGF0YXR5cGUudXVpZCgpO1xuICBvcmRlcl9pZCA9IGZha2VyLmRhdGF0eXBlLnV1aWQoKTtcbiAgY3JlYXRlZF9hdCA9IGZha2VyLmRhdGUucGFzdCgpLnRvU3RyaW5nKCk7XG4gIHVwZGF0ZWRfYXQgPSBmYWtlci5kYXRlLnBhc3QoKS50b1N0cmluZygpO1xuICBjYXJyaWVyID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgY2Fycmllcl90aXRsZSA9IGZha2VyLnJhbmRvbS53b3JkKCk7XG4gIGNvZGUgPSBmYWtlci5yYW5kb20ud29yZCgpO1xuICBtZXRob2QgPSBmYWtlci5yYW5kb20ud29yZCgpO1xuICBtZXRob2RfZGVzY3JpcHRpb24gPSBmYWtlci5yYW5kb20ud29yZCgpO1xuICBwcmljZSA9IGZha2VyLmRhdGF0eXBlLm51bWJlcih7IG1pbjogMSwgbWF4OiAxMDAwIH0pO1xuICBlcnJvcl9tZXNzYWdlID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgbWV0aG9kX3RpdGxlID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbn1cblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZPcmRlclNoaXBwaW5nTWV0aG9kRmFjdG9yeSBleHRlbmRzIERhZmZNb2RlbEZhY3Rvcnk8RGFmZk9yZGVyU2hpcHBpbmdNZXRob2Q+e1xuICBjb25zdHJ1Y3Rvcigpe1xuICAgIHN1cGVyKE1vY2tPcmRlclNoaXBwaW5nTWV0aG9kKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,28 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
+ import { DaffModelFactory } from '@daffodil/core/testing';
4
+ import { DaffOrderTotalTypeEnum, } from '@daffodil/order';
5
+ import * as i0 from "@angular/core";
6
+ export class MockOrderTotal {
7
+ constructor() {
8
+ this.label = faker.random.word();
9
+ this.value = faker.datatype.number({ min: 1, max: 100 });
10
+ this.sort_order = faker.datatype.number({ min: 1, max: 100 });
11
+ this.type = DaffOrderTotalTypeEnum.GrandTotal;
12
+ }
13
+ }
14
+ ;
15
+ export class DaffOrderTotalFactory extends DaffModelFactory {
16
+ constructor() {
17
+ super(MockOrderTotal);
18
+ }
19
+ }
20
+ /** @nocollapse */ /** @nocollapse */ DaffOrderTotalFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderTotalFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
21
+ /** @nocollapse */ /** @nocollapse */ DaffOrderTotalFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderTotalFactory, providedIn: 'root' });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderTotalFactory, decorators: [{
23
+ type: Injectable,
24
+ args: [{
25
+ providedIn: 'root',
26
+ }]
27
+ }], ctorParameters: function () { return []; } });
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItdG90YWwuZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvdGVzdGluZy9zcmMvZmFjdG9yaWVzL29yZGVyLXRvdGFsLmZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEtBQUssS0FBSyxNQUFNLDhCQUE4QixDQUFDO0FBRXRELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNL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VyVG90YWwsXG4gIERhZmZPcmRlclRvdGFsVHlwZUVudW0sXG59IGZyb20gJ0BkYWZmb2RpbC9vcmRlcic7XG5cbmV4cG9ydCBjbGFzcyBNb2NrT3JkZXJUb3RhbCBpbXBsZW1lbnRzIERhZmZPcmRlclRvdGFsIHtcbiAgbGFiZWwgPSBmYWtlci5yYW5kb20ud29yZCgpO1xuICB2YWx1ZSA9IGZha2VyLmRhdGF0eXBlLm51bWJlcih7IG1pbjogMSwgbWF4OiAxMDAgfSk7XG4gIHNvcnRfb3JkZXIgPSBmYWtlci5kYXRhdHlwZS5udW1iZXIoeyBtaW46IDEsIG1heDogMTAwIH0pO1xuICB0eXBlID0gRGFmZk9yZGVyVG90YWxUeXBlRW51bS5HcmFuZFRvdGFsO1xufTtcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZPcmRlclRvdGFsRmFjdG9yeSBleHRlbmRzIERhZmZNb2RlbEZhY3Rvcnk8RGFmZk9yZGVyVG90YWw+IHtcbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoTW9ja09yZGVyVG90YWwpO1xuICB9XG59XG4iXX0=
@@ -26,12 +26,12 @@ export class DaffOrderFactory extends DaffModelFactory {
26
26
  super(MockOrder);
27
27
  }
28
28
  }
29
- /** @nocollapse */ DaffOrderFactory.ɵprov = i0.ɵɵdefineInjectable({ factory: function DaffOrderFactory_Factory() { return new DaffOrderFactory(); }, token: DaffOrderFactory, providedIn: "root" });
30
- DaffOrderFactory.decorators = [
31
- { type: Injectable, args: [{
32
- providedIn: 'root',
33
- },] }
34
- ];
35
- /** @nocollapse */
36
- DaffOrderFactory.ctorParameters = () => [];
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4u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mlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmT3JkZXJGYWN0b3J5IGV4dGVuZHMgRGFmZk1vZGVsRmFjdG9yeTxEYWZmT3JkZXI+e1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcihNb2NrT3JkZXIpO1xuICB9XG59XG4iXX0=
29
+ /** @nocollapse */ /** @nocollapse */ DaffOrderFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
30
+ /** @nocollapse */ /** @nocollapse */ DaffOrderFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderFactory, providedIn: 'root' });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DaffOrderFactory, decorators: [{
32
+ type: Injectable,
33
+ args: [{
34
+ providedIn: 'root',
35
+ }]
36
+ }], ctorParameters: function () { return []; } });
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvdGVzdGluZy9zcmMvZmFjdG9yaWVzL29yZGVyLmZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEtBQUssS0FBSyxNQUFNLDhCQUE4QixDQUFDO0FBRXRELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDOztBQUcxRCxNQUFNLE9BQU8sU0FBUztJQUF0QjtRQUNFLE9BQUUsR0FBRyxLQUFLLENBQUMsUUFBU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