@daffodil/order 0.39.6 → 0.39.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('faker/locale/en_US'), require('@daffodil/core/testing'), require('@daffodil/geography/testing'), require('@daffodil/order')) :
3
- typeof define === 'function' && define.amd ? define('@daffodil/order/testing', ['exports', '@angular/core', 'faker/locale/en_US', '@daffodil/core/testing', '@daffodil/geography/testing', '@daffodil/order'], factory) :
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@faker-js/faker/locale/en_US'), require('@daffodil/core/testing'), require('@daffodil/geography/testing'), require('@daffodil/order')) :
3
+ typeof define === 'function' && define.amd ? define('@daffodil/order/testing', ['exports', '@angular/core', '@faker-js/faker/locale/en_US', '@daffodil/core/testing', '@daffodil/geography/testing', '@daffodil/order'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.daffodil = global.daffodil || {}, global.daffodil.order = global.daffodil.order || {}, global.daffodil.order.testing = {}), global.ng.core, global.faker, global.testing$1, global.testing, global.daffodil.order));
5
5
  }(this, (function (exports, i0, faker, testing$1, testing, order) { 'use strict';
6
6
 
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-order-testing.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../libs/order/testing/src/factories/order-address.factory.ts","../../../libs/order/testing/src/factories/order-coupon.factory.ts","../../../libs/order/testing/src/factories/order-invoice.factory.ts","../../../libs/order/testing/src/factories/order-payment.factory.ts","../../../libs/order/testing/src/factories/order-item.factory.ts","../../../libs/order/testing/src/factories/composite-order-item.factory.ts","../../../libs/order/testing/src/factories/configurable-order-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-tracking.factory.ts","../../../libs/order/testing/src/factories/order-shipment.factory.ts","../../../libs/order/testing/src/factories/order-shipping-rate.factory.ts","../../../libs/order/testing/src/factories/order-total.factory.ts","../../../libs/order/testing/src/factories/order.factory.ts","../../../libs/order/testing/src/helpers/order-helper.ts","../../../libs/order/testing/src/daffodil-order-testing.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { MockDaffPersonalAddress } from '@daffodil/geography/testing';\nimport { DaffOrderAddress } from '@daffodil/order';\n\nexport class MockOrderAddress extends MockDaffPersonalAddress implements DaffOrderAddress {\n order_id = faker.datatype.uuid();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderAddressFactory extends DaffModelFactory<DaffOrderAddress> {\n constructor() {\n super(MockOrderAddress);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderCoupon } from '@daffodil/order';\n\nexport class MockOrderCoupon implements DaffOrderCoupon {\n code = faker.random.alphaNumeric(10);\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderCouponFactory extends DaffModelFactory<DaffOrderCoupon>{\n constructor() {\n super(MockOrderCoupon);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderInvoice } from '@daffodil/order';\n\nexport class MockOrderInvoice implements DaffOrderInvoice {\n items = [];\n totals = [];\n billing_address = null;\n shipping_address = null;\n payment = null;\n shipping_method = null;\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderInvoiceFactory extends DaffModelFactory<DaffOrderInvoice> {\n constructor() {\n super(MockOrderInvoice);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderPayment } from '@daffodil/order';\n\nexport class MockOrderPayment implements DaffOrderPayment {\n id = faker.datatype.uuid();\n payment_id = this.id;\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n method = 'card';\n cc_type = 'visa';\n cc_last4 = faker.datatype.number({ min: 1000, max: 9999 }).toString();\n cc_owner = 'owner';\n cc_exp_month = 'month';\n cc_exp_year = 'year';\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderPaymentFactory extends DaffModelFactory<DaffOrderPayment>{\n constructor() {\n super(MockOrderPayment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nexport class MockOrderItem implements DaffOrderItem {\n id = faker.datatype.uuid();\n item_id = this.id;\n image = {\n url: faker.image.imageUrl(),\n id: faker.datatype.uuid(),\n label: faker.random.word(),\n };\n order_id = faker.datatype.uuid();\n qty_ordered = faker.datatype.number({ min: 1, max: 1000 });\n qty_canceled = faker.datatype.number({ min: 1, max: 1000 });\n qty_fulfilled = faker.datatype.number({ min: 1, max: 1000 });\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n product_id = faker.datatype.uuid();\n parent_item_id = faker.datatype.uuid();\n sku = faker.random.alphaNumeric(20);\n name = faker.random.word();\n weight = faker.datatype.number({ min: 1, max: 1000 });\n qty = faker.datatype.number({ min: 1, max: 10 });\n price = faker.datatype.number({ min: 1, max: 1000 });\n discount_amount = faker.datatype.number({ min: 1, max: this.price });\n discount_percent = Math.floor(this.discount_amount / this.price * 100);\n tax_percent = faker.datatype.number({ min: 1, max: 10 });\n tax_amount = faker.datatype.number({ min: 1, max: 10 });\n row_total = this.price * this.qty;\n row_total_with_discount = (this.price - this.discount_amount) * this.qty;\n row_weight = faker.datatype.number({ min: 1, max: 100 });\n tax_before_discount = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderItemType.Simple;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderItemFactory extends DaffModelFactory<DaffOrderItem> {\n\n constructor(){\n super(MockOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffCompositeOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockCompositeOrderItem extends MockOrderItem implements DaffCompositeOrderItem {\n\ttype = DaffOrderItemType.Composite;\n\toptions = [\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffCompositeOrderItemFactory extends DaffModelFactory<DaffCompositeOrderItem> {\n constructor() {\n super(MockCompositeOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffConfigurableOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockConfigurableOrderItem extends MockOrderItem implements DaffConfigurableOrderItem {\n\ttype = DaffOrderItemType.Configurable;\n\tattributes = [\n\t {\n\t attribute_label: 'Color',\n\t value_label: 'Red',\n\t },\n\t {\n\t attribute_label: 'Size',\n\t value_label: 'M',\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffConfigurableOrderItemFactory extends DaffModelFactory<DaffConfigurableOrderItem> {\n constructor() {\n super(MockConfigurableOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentItem } from '@daffodil/order';\n\nexport class MockOrderShipmentItem implements DaffOrderShipmentItem {\n item = null;\n qty = faker.datatype.number({ min: 1, max: 100 });\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentItemFactory extends DaffModelFactory<DaffOrderShipmentItem> {\n constructor() {\n super(MockOrderShipmentItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentTracking } from '@daffodil/order';\n\nexport class MockOrderShipmentTracking implements DaffOrderShipmentTracking {\n tracking_number = faker.random.alphaNumeric(16);\n tracking_url = faker.internet.url();\n carrier = faker.random.word();\n carrier_logo = faker.internet.url();\n title = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentTrackingFactory extends DaffModelFactory<DaffOrderShipmentTracking> {\n constructor() {\n super(MockOrderShipmentTracking);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipment } from '@daffodil/order';\n\nexport class MockOrderShipment implements DaffOrderShipment {\n tracking = [];\n items = [];\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentFactory extends DaffModelFactory<DaffOrderShipment> {\n constructor() {\n super(MockOrderShipment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShippingMethod } from '@daffodil/order';\n\nexport class MockOrderShippingMethod implements DaffOrderShippingMethod {\n rate_id = faker.datatype.uuid();\n address_id = faker.datatype.uuid();\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n price = faker.datatype.number({ min: 1, max: 1000 });\n error_message = faker.random.word();\n method_title = faker.random.word();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShippingMethodFactory extends DaffModelFactory<DaffOrderShippingMethod>{\n constructor(){\n super(MockOrderShippingMethod);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderTotal,\n DaffOrderTotalTypeEnum,\n} from '@daffodil/order';\n\nexport class MockOrderTotal implements DaffOrderTotal {\n label = faker.random.word();\n value = faker.datatype.number({ min: 1, max: 100 });\n sort_order = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderTotalTypeEnum.GrandTotal;\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderTotalFactory extends DaffModelFactory<DaffOrderTotal> {\n constructor() {\n super(MockOrderTotal);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrder } from '@daffodil/order';\n\nexport class MockOrder implements DaffOrder {\n id = faker.datatype.uuid();\n customer_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n status = faker.random.word();\n totals = [];\n applied_codes = [];\n items = [];\n billing_addresses = [];\n shipping_addresses = [];\n shipments = [];\n payment = null;\n invoices = [];\n credits = [];\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderFactory extends DaffModelFactory<DaffOrder>{\n constructor() {\n super(MockOrder);\n }\n}\n","import { DaffOrder } from '@daffodil/order';\n\n/**\n * A helper function to verify that a model is a Order.\n *\n * @param order\n */\nexport function isOrder(order: DaffOrder): boolean {\n return !!order.id\n && !!order.customer_id\n && !!order.created_at\n && !!order.updated_at\n && !!order.status\n && !!order.applied_codes\n && !!order.totals;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["faker.datatype","MockDaffPersonalAddress","DaffModelFactory","Injectable","faker.random","faker.date","faker.image","DaffOrderItemType","faker.internet","DaffOrderTotalTypeEnum"],"mappings":";;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;gBAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;oBAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtG,OAAO,a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;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"daffodil-order-testing.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../libs/order/testing/src/factories/order-address.factory.ts","../../../libs/order/testing/src/factories/order-coupon.factory.ts","../../../libs/order/testing/src/factories/order-invoice.factory.ts","../../../libs/order/testing/src/factories/order-payment.factory.ts","../../../libs/order/testing/src/factories/order-item.factory.ts","../../../libs/order/testing/src/factories/composite-order-item.factory.ts","../../../libs/order/testing/src/factories/configurable-order-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-tracking.factory.ts","../../../libs/order/testing/src/factories/order-shipment.factory.ts","../../../libs/order/testing/src/factories/order-shipping-rate.factory.ts","../../../libs/order/testing/src/factories/order-total.factory.ts","../../../libs/order/testing/src/factories/order.factory.ts","../../../libs/order/testing/src/helpers/order-helper.ts","../../../libs/order/testing/src/daffodil-order-testing.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { MockDaffPersonalAddress } from '@daffodil/geography/testing';\nimport { DaffOrderAddress } from '@daffodil/order';\n\nexport class MockOrderAddress extends MockDaffPersonalAddress implements DaffOrderAddress {\n order_id = faker.datatype.uuid();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderAddressFactory extends DaffModelFactory<DaffOrderAddress> {\n constructor() {\n super(MockOrderAddress);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderCoupon } from '@daffodil/order';\n\nexport class MockOrderCoupon implements DaffOrderCoupon {\n code = faker.random.alphaNumeric(10);\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderCouponFactory extends DaffModelFactory<DaffOrderCoupon>{\n constructor() {\n super(MockOrderCoupon);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderInvoice } from '@daffodil/order';\n\nexport class MockOrderInvoice implements DaffOrderInvoice {\n items = [];\n totals = [];\n billing_address = null;\n shipping_address = null;\n payment = null;\n shipping_method = null;\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderInvoiceFactory extends DaffModelFactory<DaffOrderInvoice> {\n constructor() {\n super(MockOrderInvoice);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderPayment } from '@daffodil/order';\n\nexport class MockOrderPayment implements DaffOrderPayment {\n id = faker.datatype.uuid();\n payment_id = this.id;\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n method = 'card';\n cc_type = 'visa';\n cc_last4 = faker.datatype.number({ min: 1000, max: 9999 }).toString();\n cc_owner = 'owner';\n cc_exp_month = 'month';\n cc_exp_year = 'year';\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderPaymentFactory extends DaffModelFactory<DaffOrderPayment>{\n constructor() {\n super(MockOrderPayment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nexport class MockOrderItem implements DaffOrderItem {\n id = faker.datatype.uuid();\n item_id = this.id;\n image = {\n url: faker.image.imageUrl(),\n id: faker.datatype.uuid(),\n label: faker.random.word(),\n };\n order_id = faker.datatype.uuid();\n qty_ordered = faker.datatype.number({ min: 1, max: 1000 });\n qty_canceled = faker.datatype.number({ min: 1, max: 1000 });\n qty_fulfilled = faker.datatype.number({ min: 1, max: 1000 });\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n product_id = faker.datatype.uuid();\n parent_item_id = faker.datatype.uuid();\n sku = faker.random.alphaNumeric(20);\n name = faker.random.word();\n weight = faker.datatype.number({ min: 1, max: 1000 });\n qty = faker.datatype.number({ min: 1, max: 10 });\n price = faker.datatype.number({ min: 1, max: 1000 });\n discount_amount = faker.datatype.number({ min: 1, max: this.price });\n discount_percent = Math.floor(this.discount_amount / this.price * 100);\n tax_percent = faker.datatype.number({ min: 1, max: 10 });\n tax_amount = faker.datatype.number({ min: 1, max: 10 });\n row_total = this.price * this.qty;\n row_total_with_discount = (this.price - this.discount_amount) * this.qty;\n row_weight = faker.datatype.number({ min: 1, max: 100 });\n tax_before_discount = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderItemType.Simple;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderItemFactory extends DaffModelFactory<DaffOrderItem> {\n\n constructor(){\n super(MockOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffCompositeOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockCompositeOrderItem extends MockOrderItem implements DaffCompositeOrderItem {\n\ttype = DaffOrderItemType.Composite;\n\toptions = [\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffCompositeOrderItemFactory extends DaffModelFactory<DaffCompositeOrderItem> {\n constructor() {\n super(MockCompositeOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffConfigurableOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockConfigurableOrderItem extends MockOrderItem implements DaffConfigurableOrderItem {\n\ttype = DaffOrderItemType.Configurable;\n\tattributes = [\n\t {\n\t attribute_label: 'Color',\n\t value_label: 'Red',\n\t },\n\t {\n\t attribute_label: 'Size',\n\t value_label: 'M',\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffConfigurableOrderItemFactory extends DaffModelFactory<DaffConfigurableOrderItem> {\n constructor() {\n super(MockConfigurableOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentItem } from '@daffodil/order';\n\nexport class MockOrderShipmentItem implements DaffOrderShipmentItem {\n item = null;\n qty = faker.datatype.number({ min: 1, max: 100 });\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentItemFactory extends DaffModelFactory<DaffOrderShipmentItem> {\n constructor() {\n super(MockOrderShipmentItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentTracking } from '@daffodil/order';\n\nexport class MockOrderShipmentTracking implements DaffOrderShipmentTracking {\n tracking_number = faker.random.alphaNumeric(16);\n tracking_url = faker.internet.url();\n carrier = faker.random.word();\n carrier_logo = faker.internet.url();\n title = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentTrackingFactory extends DaffModelFactory<DaffOrderShipmentTracking> {\n constructor() {\n super(MockOrderShipmentTracking);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipment } from '@daffodil/order';\n\nexport class MockOrderShipment implements DaffOrderShipment {\n tracking = [];\n items = [];\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentFactory extends DaffModelFactory<DaffOrderShipment> {\n constructor() {\n super(MockOrderShipment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShippingMethod } from '@daffodil/order';\n\nexport class MockOrderShippingMethod implements DaffOrderShippingMethod {\n rate_id = faker.datatype.uuid();\n address_id = faker.datatype.uuid();\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n price = faker.datatype.number({ min: 1, max: 1000 });\n error_message = faker.random.word();\n method_title = faker.random.word();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShippingMethodFactory extends DaffModelFactory<DaffOrderShippingMethod>{\n constructor(){\n super(MockOrderShippingMethod);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderTotal,\n DaffOrderTotalTypeEnum,\n} from '@daffodil/order';\n\nexport class MockOrderTotal implements DaffOrderTotal {\n label = faker.random.word();\n value = faker.datatype.number({ min: 1, max: 100 });\n sort_order = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderTotalTypeEnum.GrandTotal;\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderTotalFactory extends DaffModelFactory<DaffOrderTotal> {\n constructor() {\n super(MockOrderTotal);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrder } from '@daffodil/order';\n\nexport class MockOrder implements DaffOrder {\n id = faker.datatype.uuid();\n customer_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n status = faker.random.word();\n totals = [];\n applied_codes = [];\n items = [];\n billing_addresses = [];\n shipping_addresses = [];\n shipments = [];\n payment = null;\n invoices = [];\n credits = [];\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderFactory extends DaffModelFactory<DaffOrder>{\n constructor() {\n super(MockOrder);\n }\n}\n","import { DaffOrder } from '@daffodil/order';\n\n/**\n * A helper function to verify that a model is a Order.\n *\n * @param order\n */\nexport function isOrder(order: DaffOrder): boolean {\n return !!order.id\n && !!order.customer_id\n && !!order.created_at\n && !!order.updated_at\n && !!order.status\n && !!order.applied_codes\n && !!order.totals;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["faker.datatype","MockDaffPersonalAddress","DaffModelFactory","Injectable","faker.random","faker.date","faker.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,aAAQ,GAAG,EAAE,CAAC;YACd,YAAO,GAAG,EAAE,CAAC;SACd;wBAAA;KAAA,IAAA;IAAA,CAAC;;QAMoC,oCAA2B;QAC/D;mBACE,kBAAM,SAAS,CAAC;SACjB;;KAHH,CAAsCF,0BAA2B;;;gBAHhEC,aAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;;;ICxBD;;;;;aAKgB,OAAO,CAAC,KAAgB;QACtC,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE;eACZ,CAAC,CAAC,KAAK,CAAC,WAAW;eACnB,CAAC,CAAC,KAAK,CAAC,UAAU;eAClB,CAAC,CAAC,KAAK,CAAC,UAAU;eAClB,CAAC,CAAC,KAAK,CAAC,MAAM;eACd,CAAC,CAAC,KAAK,CAAC,aAAa;eACrB,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC;IACtB;;ICfA;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- !function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("faker/locale/en_US"),require("@daffodil/core/testing"),require("@daffodil/geography/testing"),require("@daffodil/order")):"function"==typeof define&&define.amd?define("@daffodil/order/testing",["exports","@angular/core","faker/locale/en_US","@daffodil/core/testing","@daffodil/geography/testing","@daffodil/order"],r):r(((t="undefined"!=typeof globalThis?globalThis:t||self).daffodil=t.daffodil||{},t.daffodil.order=t.daffodil.order||{},t.daffodil.order.testing={}),t.ng.core,t.faker,t.testing$1,t.testing,t.daffodil.order)}(this,(function(t,r,e,o,n,a){"use strict";
1
+ !function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@faker-js/faker/locale/en_US"),require("@daffodil/core/testing"),require("@daffodil/geography/testing"),require("@daffodil/order")):"function"==typeof define&&define.amd?define("@daffodil/order/testing",["exports","@angular/core","@faker-js/faker/locale/en_US","@daffodil/core/testing","@daffodil/geography/testing","@daffodil/order"],r):r(((t="undefined"!=typeof globalThis?globalThis:t||self).daffodil=t.daffodil||{},t.daffodil.order=t.daffodil.order||{},t.daffodil.order.testing={}),t.ng.core,t.faker,t.testing$1,t.testing,t.daffodil.order)}(this,(function(t,r,e,o,n,a){"use strict";
2
2
  /*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","../../../libs/order/testing/src/factories/order-address.factory.ts","../../../libs/order/testing/src/factories/order-coupon.factory.ts","../../../libs/order/testing/src/factories/order-invoice.factory.ts","../../../libs/order/testing/src/factories/order-payment.factory.ts","../../../libs/order/testing/src/factories/order-item.factory.ts","../../../libs/order/testing/src/factories/composite-order-item.factory.ts","../../../libs/order/testing/src/factories/configurable-order-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-tracking.factory.ts","../../../libs/order/testing/src/factories/order-shipment.factory.ts","../../../libs/order/testing/src/factories/order-shipping-rate.factory.ts","../../../libs/order/testing/src/factories/order-total.factory.ts","../../../libs/order/testing/src/factories/order.factory.ts","../../../libs/order/testing/src/helpers/order-helper.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__read","o","n","m","Symbol","iterator","r","e","i","ar","next","done","push","value","error","__spread","arguments","length","concat","MockOrderAddress","_super","_this","apply","order_id","faker.datatype","uuid","MockDaffPersonalAddress","DaffOrderAddressFactory","DaffModelFactory","Injectable","args","providedIn","MockOrderCoupon","code","faker.random","alphaNumeric","DaffOrderCouponFactory","MockOrderInvoice","items","totals","billing_address","shipping_address","payment","shipping_method","DaffOrderInvoiceFactory","MockOrderPayment","id","payment_id","created_at","faker.date","past","toString","updated_at","method","cc_type","cc_last4","number","min","max","cc_owner","cc_exp_month","cc_exp_year","DaffOrderPaymentFactory","MockOrderItem","item_id","image","url","faker.image","imageUrl","label","word","qty_ordered","qty_canceled","qty_fulfilled","product_id","parent_item_id","sku","name","weight","qty","price","discount_amount","discount_percent","Math","floor","tax_percent","tax_amount","row_total","row_total_with_discount","row_weight","tax_before_discount","type","DaffOrderItemType","Simple","DaffOrderItemFactory","MockCompositeOrderItem","Composite","options","option_label","value_label","DaffCompositeOrderItemFactory","MockConfigurableOrderItem","Configurable","attributes","attribute_label","DaffConfigurableOrderItemFactory","MockOrderShipmentItem","item","DaffOrderShipmentItemFactory","MockOrderShipmentTracking","tracking_number","tracking_url","faker.internet","carrier","carrier_logo","title","DaffOrderShipmentTrackingFactory","MockOrderShipment","tracking","carrier_title","method_description","DaffOrderShipmentFactory","MockOrderShippingMethod","rate_id","address_id","error_message","method_title","DaffOrderShippingMethodFactory","MockOrderTotal","sort_order","DaffOrderTotalTypeEnum","GrandTotal","DaffOrderTotalFactory","MockOrder","customer_id","status","applied_codes","billing_addresses","shipping_addresses","shipments","invoices","credits","DaffOrderFactory","order"],"mappings":";;;;;;;;;;;;;;oFAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,aAGZS,EAAUV,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAIU,UAAU,uBAAyBC,OAAOX,GAAK,iCAE7D,SAASY,IAAOC,KAAKC,YAAcf,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOc,OAAOf,IAAMY,EAAGN,UAAYN,EAAEM,UAAW,IAAIM,GA+EtDX,OAAOc,gBAwBpBC,EAAOC,EAAGC,GACtB,IAAIC,EAAsB,mBAAXC,QAAyBH,EAAEG,OAAOC,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YACN2F,EAAMR,QACNQ,EAAMP,eACNO,EAAMxG","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { MockDaffPersonalAddress } from '@daffodil/geography/testing';\nimport { DaffOrderAddress } from '@daffodil/order';\n\nexport class MockOrderAddress extends MockDaffPersonalAddress implements DaffOrderAddress {\n order_id = faker.datatype.uuid();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderAddressFactory extends DaffModelFactory<DaffOrderAddress> {\n constructor() {\n super(MockOrderAddress);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderCoupon } from '@daffodil/order';\n\nexport class MockOrderCoupon implements DaffOrderCoupon {\n code = faker.random.alphaNumeric(10);\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderCouponFactory extends DaffModelFactory<DaffOrderCoupon>{\n constructor() {\n super(MockOrderCoupon);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderInvoice } from '@daffodil/order';\n\nexport class MockOrderInvoice implements DaffOrderInvoice {\n items = [];\n totals = [];\n billing_address = null;\n shipping_address = null;\n payment = null;\n shipping_method = null;\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderInvoiceFactory extends DaffModelFactory<DaffOrderInvoice> {\n constructor() {\n super(MockOrderInvoice);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderPayment } from '@daffodil/order';\n\nexport class MockOrderPayment implements DaffOrderPayment {\n id = faker.datatype.uuid();\n payment_id = this.id;\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n method = 'card';\n cc_type = 'visa';\n cc_last4 = faker.datatype.number({ min: 1000, max: 9999 }).toString();\n cc_owner = 'owner';\n cc_exp_month = 'month';\n cc_exp_year = 'year';\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderPaymentFactory extends DaffModelFactory<DaffOrderPayment>{\n constructor() {\n super(MockOrderPayment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nexport class MockOrderItem implements DaffOrderItem {\n id = faker.datatype.uuid();\n item_id = this.id;\n image = {\n url: faker.image.imageUrl(),\n id: faker.datatype.uuid(),\n label: faker.random.word(),\n };\n order_id = faker.datatype.uuid();\n qty_ordered = faker.datatype.number({ min: 1, max: 1000 });\n qty_canceled = faker.datatype.number({ min: 1, max: 1000 });\n qty_fulfilled = faker.datatype.number({ min: 1, max: 1000 });\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n product_id = faker.datatype.uuid();\n parent_item_id = faker.datatype.uuid();\n sku = faker.random.alphaNumeric(20);\n name = faker.random.word();\n weight = faker.datatype.number({ min: 1, max: 1000 });\n qty = faker.datatype.number({ min: 1, max: 10 });\n price = faker.datatype.number({ min: 1, max: 1000 });\n discount_amount = faker.datatype.number({ min: 1, max: this.price });\n discount_percent = Math.floor(this.discount_amount / this.price * 100);\n tax_percent = faker.datatype.number({ min: 1, max: 10 });\n tax_amount = faker.datatype.number({ min: 1, max: 10 });\n row_total = this.price * this.qty;\n row_total_with_discount = (this.price - this.discount_amount) * this.qty;\n row_weight = faker.datatype.number({ min: 1, max: 100 });\n tax_before_discount = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderItemType.Simple;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderItemFactory extends DaffModelFactory<DaffOrderItem> {\n\n constructor(){\n super(MockOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffCompositeOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockCompositeOrderItem extends MockOrderItem implements DaffCompositeOrderItem {\n\ttype = DaffOrderItemType.Composite;\n\toptions = [\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffCompositeOrderItemFactory extends DaffModelFactory<DaffCompositeOrderItem> {\n constructor() {\n super(MockCompositeOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffConfigurableOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockConfigurableOrderItem extends MockOrderItem implements DaffConfigurableOrderItem {\n\ttype = DaffOrderItemType.Configurable;\n\tattributes = [\n\t {\n\t attribute_label: 'Color',\n\t value_label: 'Red',\n\t },\n\t {\n\t attribute_label: 'Size',\n\t value_label: 'M',\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffConfigurableOrderItemFactory extends DaffModelFactory<DaffConfigurableOrderItem> {\n constructor() {\n super(MockConfigurableOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentItem } from '@daffodil/order';\n\nexport class MockOrderShipmentItem implements DaffOrderShipmentItem {\n item = null;\n qty = faker.datatype.number({ min: 1, max: 100 });\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentItemFactory extends DaffModelFactory<DaffOrderShipmentItem> {\n constructor() {\n super(MockOrderShipmentItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentTracking } from '@daffodil/order';\n\nexport class MockOrderShipmentTracking implements DaffOrderShipmentTracking {\n tracking_number = faker.random.alphaNumeric(16);\n tracking_url = faker.internet.url();\n carrier = faker.random.word();\n carrier_logo = faker.internet.url();\n title = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentTrackingFactory extends DaffModelFactory<DaffOrderShipmentTracking> {\n constructor() {\n super(MockOrderShipmentTracking);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipment } from '@daffodil/order';\n\nexport class MockOrderShipment implements DaffOrderShipment {\n tracking = [];\n items = [];\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentFactory extends DaffModelFactory<DaffOrderShipment> {\n constructor() {\n super(MockOrderShipment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShippingMethod } from '@daffodil/order';\n\nexport class MockOrderShippingMethod implements DaffOrderShippingMethod {\n rate_id = faker.datatype.uuid();\n address_id = faker.datatype.uuid();\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n price = faker.datatype.number({ min: 1, max: 1000 });\n error_message = faker.random.word();\n method_title = faker.random.word();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShippingMethodFactory extends DaffModelFactory<DaffOrderShippingMethod>{\n constructor(){\n super(MockOrderShippingMethod);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderTotal,\n DaffOrderTotalTypeEnum,\n} from '@daffodil/order';\n\nexport class MockOrderTotal implements DaffOrderTotal {\n label = faker.random.word();\n value = faker.datatype.number({ min: 1, max: 100 });\n sort_order = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderTotalTypeEnum.GrandTotal;\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderTotalFactory extends DaffModelFactory<DaffOrderTotal> {\n constructor() {\n super(MockOrderTotal);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrder } from '@daffodil/order';\n\nexport class MockOrder implements DaffOrder {\n id = faker.datatype.uuid();\n customer_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n status = faker.random.word();\n totals = [];\n applied_codes = [];\n items = [];\n billing_addresses = [];\n shipping_addresses = [];\n shipments = [];\n payment = null;\n invoices = [];\n credits = [];\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderFactory extends DaffModelFactory<DaffOrder>{\n constructor() {\n super(MockOrder);\n }\n}\n","import { DaffOrder } from '@daffodil/order';\n\n/**\n * A helper function to verify that a model is a Order.\n *\n * @param order\n */\nexport function isOrder(order: DaffOrder): boolean {\n return !!order.id\n && !!order.customer_id\n && !!order.created_at\n && !!order.updated_at\n && !!order.status\n && !!order.applied_codes\n && !!order.totals;\n}\n"]}
1
+ {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","../../../libs/order/testing/src/factories/order-address.factory.ts","../../../libs/order/testing/src/factories/order-coupon.factory.ts","../../../libs/order/testing/src/factories/order-invoice.factory.ts","../../../libs/order/testing/src/factories/order-payment.factory.ts","../../../libs/order/testing/src/factories/order-item.factory.ts","../../../libs/order/testing/src/factories/composite-order-item.factory.ts","../../../libs/order/testing/src/factories/configurable-order-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-tracking.factory.ts","../../../libs/order/testing/src/factories/order-shipment.factory.ts","../../../libs/order/testing/src/factories/order-shipping-rate.factory.ts","../../../libs/order/testing/src/factories/order-total.factory.ts","../../../libs/order/testing/src/factories/order.factory.ts","../../../libs/order/testing/src/helpers/order-helper.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__read","o","n","m","Symbol","iterator","r","e","i","ar","next","done","push","value","error","__spread","arguments","length","concat","MockOrderAddress","_super","_this","apply","order_id","faker.datatype","uuid","MockDaffPersonalAddress","DaffOrderAddressFactory","DaffModelFactory","Injectable","args","providedIn","MockOrderCoupon","code","faker.random","alphaNumeric","DaffOrderCouponFactory","MockOrderInvoice","items","totals","billing_address","shipping_address","payment","shipping_method","DaffOrderInvoiceFactory","MockOrderPayment","id","payment_id","created_at","faker.date","past","toString","updated_at","method","cc_type","cc_last4","number","min","max","cc_owner","cc_exp_month","cc_exp_year","DaffOrderPaymentFactory","MockOrderItem","item_id","image","url","faker.image","imageUrl","label","word","qty_ordered","qty_canceled","qty_fulfilled","product_id","parent_item_id","sku","name","weight","qty","price","discount_amount","discount_percent","Math","floor","tax_percent","tax_amount","row_total","row_total_with_discount","row_weight","tax_before_discount","type","DaffOrderItemType","Simple","DaffOrderItemFactory","MockCompositeOrderItem","Composite","options","option_label","value_label","DaffCompositeOrderItemFactory","MockConfigurableOrderItem","Configurable","attributes","attribute_label","DaffConfigurableOrderItemFactory","MockOrderShipmentItem","item","DaffOrderShipmentItemFactory","MockOrderShipmentTracking","tracking_number","tracking_url","faker.internet","carrier","carrier_logo","title","DaffOrderShipmentTrackingFactory","MockOrderShipment","tracking","carrier_title","method_description","DaffOrderShipmentFactory","MockOrderShippingMethod","rate_id","address_id","error_message","method_title","DaffOrderShippingMethodFactory","MockOrderTotal","sort_order","DaffOrderTotalTypeEnum","GrandTotal","DaffOrderTotalFactory","MockOrder","customer_id","status","applied_codes","billing_addresses","shipping_addresses","shipments","invoices","credits","DaffOrderFactory","order"],"mappings":";;;;;;;;;;;;;;oFAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,aAGZS,EAAUV,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC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Y,GACZ9I,KAAA6C,QAAU,KACV7C,KAAA+I,SAAW,GACX/I,KAAAgJ,QAAU,kBAQV,SAAAC,WACE1H,EAAA5B,KAAAK,KAAMwI,IAAUxI,YAFkBJ,EAAAqJ,EAAA1H,MAAAQ,EAAAA,iIAHrCC,EAAAA,WAAUC,KAAA,CAAC,CACVC,WAAY,wcClBUgH,GACtB,SAASA,EAAMjG,IACRiG,EAAMT,aACNS,EAAM/F,YACN+F,EAAM3F,YACN2F,EAAMR,QACNQ,EAAMP,eACNO,EAAMxG","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { MockDaffPersonalAddress } from '@daffodil/geography/testing';\nimport { DaffOrderAddress } from '@daffodil/order';\n\nexport class MockOrderAddress extends MockDaffPersonalAddress implements DaffOrderAddress {\n order_id = faker.datatype.uuid();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderAddressFactory extends DaffModelFactory<DaffOrderAddress> {\n constructor() {\n super(MockOrderAddress);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderCoupon } from '@daffodil/order';\n\nexport class MockOrderCoupon implements DaffOrderCoupon {\n code = faker.random.alphaNumeric(10);\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderCouponFactory extends DaffModelFactory<DaffOrderCoupon>{\n constructor() {\n super(MockOrderCoupon);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderInvoice } from '@daffodil/order';\n\nexport class MockOrderInvoice implements DaffOrderInvoice {\n items = [];\n totals = [];\n billing_address = null;\n shipping_address = null;\n payment = null;\n shipping_method = null;\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderInvoiceFactory extends DaffModelFactory<DaffOrderInvoice> {\n constructor() {\n super(MockOrderInvoice);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderPayment } from '@daffodil/order';\n\nexport class MockOrderPayment implements DaffOrderPayment {\n id = faker.datatype.uuid();\n payment_id = this.id;\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n method = 'card';\n cc_type = 'visa';\n cc_last4 = faker.datatype.number({ min: 1000, max: 9999 }).toString();\n cc_owner = 'owner';\n cc_exp_month = 'month';\n cc_exp_year = 'year';\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderPaymentFactory extends DaffModelFactory<DaffOrderPayment>{\n constructor() {\n super(MockOrderPayment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nexport class MockOrderItem implements DaffOrderItem {\n id = faker.datatype.uuid();\n item_id = this.id;\n image = {\n url: faker.image.imageUrl(),\n id: faker.datatype.uuid(),\n label: faker.random.word(),\n };\n order_id = faker.datatype.uuid();\n qty_ordered = faker.datatype.number({ min: 1, max: 1000 });\n qty_canceled = faker.datatype.number({ min: 1, max: 1000 });\n qty_fulfilled = faker.datatype.number({ min: 1, max: 1000 });\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n product_id = faker.datatype.uuid();\n parent_item_id = faker.datatype.uuid();\n sku = faker.random.alphaNumeric(20);\n name = faker.random.word();\n weight = faker.datatype.number({ min: 1, max: 1000 });\n qty = faker.datatype.number({ min: 1, max: 10 });\n price = faker.datatype.number({ min: 1, max: 1000 });\n discount_amount = faker.datatype.number({ min: 1, max: this.price });\n discount_percent = Math.floor(this.discount_amount / this.price * 100);\n tax_percent = faker.datatype.number({ min: 1, max: 10 });\n tax_amount = faker.datatype.number({ min: 1, max: 10 });\n row_total = this.price * this.qty;\n row_total_with_discount = (this.price - this.discount_amount) * this.qty;\n row_weight = faker.datatype.number({ min: 1, max: 100 });\n tax_before_discount = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderItemType.Simple;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderItemFactory extends DaffModelFactory<DaffOrderItem> {\n\n constructor(){\n super(MockOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffCompositeOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockCompositeOrderItem extends MockOrderItem implements DaffCompositeOrderItem {\n\ttype = DaffOrderItemType.Composite;\n\toptions = [\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffCompositeOrderItemFactory extends DaffModelFactory<DaffCompositeOrderItem> {\n constructor() {\n super(MockCompositeOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffConfigurableOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockConfigurableOrderItem extends MockOrderItem implements DaffConfigurableOrderItem {\n\ttype = DaffOrderItemType.Configurable;\n\tattributes = [\n\t {\n\t attribute_label: 'Color',\n\t value_label: 'Red',\n\t },\n\t {\n\t attribute_label: 'Size',\n\t value_label: 'M',\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffConfigurableOrderItemFactory extends DaffModelFactory<DaffConfigurableOrderItem> {\n constructor() {\n super(MockConfigurableOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentItem } from '@daffodil/order';\n\nexport class MockOrderShipmentItem implements DaffOrderShipmentItem {\n item = null;\n qty = faker.datatype.number({ min: 1, max: 100 });\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentItemFactory extends DaffModelFactory<DaffOrderShipmentItem> {\n constructor() {\n super(MockOrderShipmentItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentTracking } from '@daffodil/order';\n\nexport class MockOrderShipmentTracking implements DaffOrderShipmentTracking {\n tracking_number = faker.random.alphaNumeric(16);\n tracking_url = faker.internet.url();\n carrier = faker.random.word();\n carrier_logo = faker.internet.url();\n title = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentTrackingFactory extends DaffModelFactory<DaffOrderShipmentTracking> {\n constructor() {\n super(MockOrderShipmentTracking);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipment } from '@daffodil/order';\n\nexport class MockOrderShipment implements DaffOrderShipment {\n tracking = [];\n items = [];\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentFactory extends DaffModelFactory<DaffOrderShipment> {\n constructor() {\n super(MockOrderShipment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShippingMethod } from '@daffodil/order';\n\nexport class MockOrderShippingMethod implements DaffOrderShippingMethod {\n rate_id = faker.datatype.uuid();\n address_id = faker.datatype.uuid();\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n price = faker.datatype.number({ min: 1, max: 1000 });\n error_message = faker.random.word();\n method_title = faker.random.word();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShippingMethodFactory extends DaffModelFactory<DaffOrderShippingMethod>{\n constructor(){\n super(MockOrderShippingMethod);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderTotal,\n DaffOrderTotalTypeEnum,\n} from '@daffodil/order';\n\nexport class MockOrderTotal implements DaffOrderTotal {\n label = faker.random.word();\n value = faker.datatype.number({ min: 1, max: 100 });\n sort_order = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderTotalTypeEnum.GrandTotal;\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderTotalFactory extends DaffModelFactory<DaffOrderTotal> {\n constructor() {\n super(MockOrderTotal);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrder } from '@daffodil/order';\n\nexport class MockOrder implements DaffOrder {\n id = faker.datatype.uuid();\n customer_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n status = faker.random.word();\n totals = [];\n applied_codes = [];\n items = [];\n billing_addresses = [];\n shipping_addresses = [];\n shipments = [];\n payment = null;\n invoices = [];\n credits = [];\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderFactory extends DaffModelFactory<DaffOrder>{\n constructor() {\n super(MockOrder);\n }\n}\n","import { DaffOrder } from '@daffodil/order';\n\n/**\n * A helper function to verify that a model is a Order.\n *\n * @param order\n */\nexport function isOrder(order: DaffOrder): boolean {\n return !!order.id\n && !!order.customer_id\n && !!order.created_at\n && !!order.updated_at\n && !!order.status\n && !!order.applied_codes\n && !!order.totals;\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import { DaffOrderItemType, } from '@daffodil/order';
5
5
  import { MockOrderItem } from './order-item.factory';
@@ -33,4 +33,4 @@ DaffCompositeOrderItemFactory.decorators = [
33
33
  ];
34
34
  /** @nocollapse */
35
35
  DaffCompositeOrderItemFactory.ctorParameters = () => [];
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLC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cdCAgICBvcHRpb25fbGFiZWw6IGZha2VyLnJhbmRvbS53b3JkKCksXG5cdCAgICB2YWx1ZV9sYWJlbDogZmFrZXIucmFuZG9tLndvcmQoKSxcblx0ICB9LFxuXHRdO1xufVxuXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290Jyxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZkNvbXBvc2l0ZU9yZGVySXRlbUZhY3RvcnkgZXh0ZW5kcyBEYWZmTW9kZWxGYWN0b3J5PERhZmZDb21wb3NpdGVPcmRlckl0ZW0+IHtcbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoTW9ja0NvbXBvc2l0ZU9yZGVySXRlbSk7XG4gIH1cbn1cbiJdfQ==
@@ -32,4 +32,4 @@ DaffConfigurableOrderItemFactory.decorators = [
32
32
  ];
33
33
  /** @nocollapse */
34
34
  DaffConfigurableOrderItemFactory.ctorParameters = () => [];
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlndXJhYmxlLW9yZGVyLWl0ZW0uZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvdGVzdGluZy9zcmMvZmFjdG9yaWVzL2NvbmZpZ3VyYWJsZS1vcmRlci1pdGVtLmZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUczQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRCxPQUFPLEVBRUwsaUJBQWlCLEdBQ2xCLE1BQU0saUJBQWlCLENBQUM7QUFFekIsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHNCQUFzQixDQUFDOztBQUVyRCxNQUFNLE9BQU8seUJBQTBCLF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cdGF0dHJpYnV0ZXMgPSBbXG5cdCAge1xuXHQgICAgYXR0cmlidXRlX2xhYmVsOiAnQ29sb3InLFxuXHQgICAgdmFsdWVfbGFiZWw6ICdSZWQnLFxuXHQgIH0sXG5cdCAge1xuXHQgICAgYXR0cmlidXRlX2xhYmVsOiAnU2l6ZScsXG5cdCAgICB2YWx1ZV9sYWJlbDogJ00nLFxuXHQgIH0sXG5cdF07XG59XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmQ29uZmlndXJhYmxlT3JkZXJJdGVtRmFjdG9yeSBleHRlbmRzIERhZmZNb2RlbEZhY3Rvcnk8RGFmZkNvbmZpZ3VyYWJsZU9yZGVySXRlbT4ge1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcihNb2NrQ29uZmlndXJhYmxlT3JkZXJJdGVtKTtcbiAgfVxufVxuIl19
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import { MockDaffPersonalAddress } from '@daffodil/geography/testing';
5
5
  import * as i0 from "@angular/core";
@@ -22,4 +22,4 @@ DaffOrderAddressFactory.decorators = [
22
22
  ];
23
23
  /** @nocollapse */
24
24
  DaffOrderAddressFactory.ctorParameters = () => [];
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItYWRkcmVzcy5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItYWRkcmVzcy5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx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U0FBQztnQkFDVixVQUFVLEVBQUUsTUFBTTthQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCAqIGFzIGZha2VyIGZyb20gJ0BmYWtlci1qcy9mYWtlci9sb2NhbGUvZW5fVVMnO1xuXG5pbXBvcnQgeyBEYWZmTW9kZWxGYWN0b3J5IH0gZnJvbSAnQGRhZmZvZGlsL2NvcmUvdGVzdGluZyc7XG5pbXBvcnQgeyBNb2NrRGFmZlBlcnNvbmFsQWRkcmVzcyB9IGZyb20gJ0BkYWZmb2RpbC9nZW9ncmFwaHkvdGVzdGluZyc7XG5pbXBvcnQgeyBEYWZmT3JkZXJBZGRyZXNzIH0gZnJvbSAnQGRhZmZvZGlsL29yZGVyJztcblxuZXhwb3J0IGNsYXNzIE1vY2tPcmRlckFkZHJlc3MgZXh0ZW5kcyBNb2NrRGFmZlBlcnNvbmFsQWRkcmVzcyBpbXBsZW1lbnRzIERhZmZPcmRlckFkZHJlc3Mge1xuICBvcmRlcl9pZCA9IGZha2VyLmRhdGF0eXBlLnV1aWQoKTtcbn1cblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZPcmRlckFkZHJlc3NGYWN0b3J5IGV4dGVuZHMgRGFmZk1vZGVsRmFjdG9yeTxEYWZmT3JkZXJBZGRyZXNzPiB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKE1vY2tPcmRlckFkZHJlc3MpO1xuICB9XG59XG4iXX0=
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import * as i0 from "@angular/core";
5
5
  export class MockOrderCoupon {
@@ -21,4 +21,4 @@ DaffOrderCouponFactory.decorators = [
21
21
  ];
22
22
  /** @nocollapse */
23
23
  DaffOrderCouponFactory.ctorParameters = () => [];
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItY291cG9uLmZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL29yZGVyL3Rlc3Rpbmcvc3JjL2ZhY3Rvcmllcy9vcmRlci1jb3Vwb24uZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sS0FBSyxLQUFLLE1BQU0sb0JBQW9CLENBQUM7QUFFNUMsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7O0FBRzFELE1BQU0sT0FBTyxlQUFlO0lBQTVCO1FBQ0UsU0FBSSxHQUFHLEtBQUssQ0FBQyxNQUFNLENBQUMsWUFBWSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQ3ZDLENBQUM7Q0FBQTtBQUFBLENBQUM7QUFNRixNQUFNLE9BQU8sc0JBQXVCLFNBQVEsZ0JBQWlDO0lBQzNFO1FBQ0UsS0FBSyxDQUFDLGVBQWUsQ0FBQyxDQUFDO0lBQ3pCLENBQUM7Ozs7WUFORixVQUFVLFNBQUM7Z0JBQ1YsVUFBVSxFQUFFLE1BQU07YUFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgKiBhcyBmYWtlciBmcm9tICdmYWtlci9sb2NhbGUvZW5fVVMnO1xuXG5pbXBvcnQgeyBEYWZmTW9kZWxGYWN0b3J5IH0gZnJvbSAnQGRhZmZvZGlsL2NvcmUvdGVzdGluZyc7XG5pbXBvcnQgeyBEYW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BQ0UsS0FBSyxDQUFDLGVBQWUsQ0FBQyxDQUFDO0lBQ3pCLENBQUM7Ozs7WUFORixVQUFVLFNBQUM7Z0JBQ1YsVUFBVSxFQUFFLE1BQU07YUFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgKiBhcyBmYWtlciBmcm9tICdAZmFrZXItanMvZmFrZXIvbG9jYWxlL2VuX1VTJztcblxuaW1wb3J0IHsgRGFmZk1vZGVsRmFjdG9yeSB9IGZyb20gJ0BkYWZmb2RpbC9jb3JlL3Rlc3RpbmcnO1xuaW1wb3J0IHsgRGFmZk9yZGVyQ291cG9uIH0gZnJvbSAnQGRhZmZvZGlsL29yZGVyJztcblxuZXhwb3J0IGNsYXNzIE1vY2tPcmRlckNvdXBvbiBpbXBsZW1lbnRzIERhZmZPcmRlckNvdXBvbiB7XG4gIGNvZGUgPSBmYWtlci5yYW5kb20uYWxwaGFOdW1lcmljKDEwKTtcbn07XG5cblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZPcmRlckNvdXBvbkZhY3RvcnkgZXh0ZW5kcyBEYWZmTW9kZWxGYWN0b3J5PERhZmZPcmRlckNvdXBvbj57XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKE1vY2tPcmRlckNvdXBvbik7XG4gIH1cbn1cbiJdfQ==
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import { DaffOrderItemType, } from '@daffodil/order';
5
5
  import * as i0 from "@angular/core";
@@ -49,4 +49,4 @@ DaffOrderItemFactory.decorators = [
49
49
  ];
50
50
  /** @nocollapse */
51
51
  DaffOrderItemFactory.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ZTtcbn1cblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIERhZmZPcmRlckl0ZW1GYWN0b3J5IGV4dGVuZHMgRGFmZk1vZGVsRmFjdG9yeTxEYWZmT3JkZXJJdGVtPiB7XG5cbiAgY29uc3RydWN0b3IoKXtcbiAgICBzdXBlcihNb2NrT3JkZXJJdGVtKTtcbiAgfVxufVxuIl19
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import * as i0 from "@angular/core";
5
5
  export class MockOrderPayment {
@@ -30,4 +30,4 @@ DaffOrderPaymentFactory.decorators = [
30
30
  ];
31
31
  /** @nocollapse */
32
32
  DaffOrderPaymentFactory.ctorParameters = () => [];
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItcGF5bWVudC5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItcGF5bWVudC5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxLQUFLLEtBQUssTUFBTSxvQkFBb0IsQ0FBQztBQUU1QyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFHMUQsTUFBTSxPQUFPLGdCQUFnQjtJQUE3QjtRQUNFLE9BQUUsR0FBRyxLQUFLLENBQUMsUUFBUSxDQUFDLElBQUksRUFBRSxDQUFDO1FBQzNCLGVBQVUsR0FBRyxJQUFJLENBQUMsRUF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kZXJQYXltZW50RmFjdG9yeSBleHRlbmRzIERhZmZNb2RlbEZhY3Rvcnk8RGFmZk9yZGVyUGF5bWVudD57XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKE1vY2tPcmRlclBheW1lbnQpO1xuICB9XG59XG4iXX0=
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import * as i0 from "@angular/core";
5
5
  export class MockOrderShipmentItem {
@@ -22,4 +22,4 @@ DaffOrderShipmentItemFactory.decorators = [
22
22
  ];
23
23
  /** @nocollapse */
24
24
  DaffOrderShipmentItemFactory.ctorParameters = () => [];
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcG1lbnQtaXRlbS5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZXMvb3JkZXItc2hpcG1lbnQtaXRlbS5mYWN0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxLQUFLLEtBQUssTUFBTSxvQkFBb0IsQ0FBQztBQUU1QyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFHMUQsTUFBTSxPQUFPLHFCQUFxQjtJQUFsQztRQUNFLFNBQUksR0FBRyxJQUFJLENBQUM7UUFDWixRQUFHLEdBQUcsS0FBSyxDQUFDLFFBQVEsQ0FBQyxNQUFNLENBQUMsRUFBRSxHQUFHLEVBQUUsQ0FBQyxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsQ0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0ZW0gfSBmcm9tICdAZGFmZm9kaWwvb3JkZXInO1xuXG5leHBvcnQgY2xhc3MgTW9ja09yZGVyU2hpcG1lbnRJdGVtIGltcGxlbWVudHMgRGFmZk9yZGVyU2hpcG1lbnRJdGVtIHtcbiAgaXRlbSA9IG51bGw7XG4gIHF0eSA9IGZha2VyLmRhdGF0eXBlLm51bWJlcih7IG1pbjogMSwgbWF4OiAxMDAgfSk7XG59O1xuXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290Jyxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZk9yZGVyU2hpcG1lbnRJdGVtRmFjdG9yeSBleHRlbmRzIERhZmZNb2RlbEZhY3Rvcnk8RGFmZk9yZGVyU2hpcG1lbnRJdGVtPiB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKE1vY2tPcmRlclNoaXBtZW50SXRlbSk7XG4gIH1cbn1cbiJdfQ==
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import * as i0 from "@angular/core";
5
5
  export class MockOrderShipmentTracking {
@@ -25,4 +25,4 @@ DaffOrderShipmentTrackingFactory.decorators = [
25
25
  ];
26
26
  /** @nocollapse */
27
27
  DaffOrderShipmentTrackingFactory.ctorParameters = () => [];
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcG1lbnQtdHJhY2tpbmcuZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvdGVzdGluZy9zcmMvZmFjdG9yaWVzL29yZGVyLXNoaXBtZW50LXRyYWNraW5nLmZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE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HtcbiAgdHJhY2tpbmdfbnVtYmVyID0gZmFrZXIucmFuZG9tLmFscGhhTnVtZXJpYygxNik7XG4gIHRyYWNraW5nX3VybCA9IGZha2VyLmludGVybmV0LnVybCgpO1xuICBjYXJyaWVyID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgY2Fycmllcl9sb2dvID0gZmFrZXIuaW50ZXJuZXQudXJsKCk7XG4gIHRpdGxlID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbn07XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmT3JkZXJTaGlwbWVudFRyYWNraW5nRmFjdG9yeSBleHRlbmRzIERhZmZNb2RlbEZhY3Rvcnk8RGFmZk9yZGVyU2hpcG1lbnRUcmFja2luZz4ge1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcihNb2NrT3JkZXJTaGlwbWVudFRyYWNraW5nKTtcbiAgfVxufVxuIl19
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import * as i0 from "@angular/core";
5
5
  export class MockOrderShipment {
@@ -27,4 +27,4 @@ DaffOrderShipmentFactory.decorators = [
27
27
  ];
28
28
  /** @nocollapse */
29
29
  DaffOrderShipmentFactory.ctorParameters = () => [];
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcG1lbnQuZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvdGVzdGluZy9zcmMvZmFjdG9yaWVzL29yZGVyLXNoaXBtZW50LmZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT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3MgTW9ja09yZGVyU2hpcG1lbnQgaW1wbGVtZW50cyBEYWZmT3JkZXJTaGlwbWVudCB7XG4gIHRyYWNraW5nID0gW107XG4gIGl0ZW1zID0gW107XG4gIGNhcnJpZXIgPSBmYWtlci5yYW5kb20ud29yZCgpO1xuICBjYXJyaWVyX3RpdGxlID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgY29kZSA9IGZha2VyLnJhbmRvbS53b3JkKCk7XG4gIG1ldGhvZCA9IGZha2VyLnJhbmRvbS53b3JkKCk7XG4gIG1ldGhvZF9kZXNjcmlwdGlvbiA9IGZha2VyLnJhbmRvbS53b3JkKCk7XG59O1xuXG5ASW5qZWN0YWJsZSh7XG4gIHByb3ZpZGVkSW46ICdyb290Jyxcbn0pXG5leHBvcnQgY2xhc3MgRGFmZk9yZGVyU2hpcG1lbnRGYWN0b3J5IGV4dGVuZHMgRGFmZk1vZGVsRmFjdG9yeTxEYWZmT3JkZXJTaGlwbWVudD4ge1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcihNb2NrT3JkZXJTaGlwbWVudCk7XG4gIH1cbn1cbiJdfQ==
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import * as i0 from "@angular/core";
5
5
  export class MockOrderShippingMethod {
@@ -32,4 +32,4 @@ DaffOrderShippingMethodFactory.decorators = [
32
32
  ];
33
33
  /** @nocollapse */
34
34
  DaffOrderShippingMethodFactory.ctorParameters = () => [];
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc2hpcHBpbmctcmF0ZS5mYWN0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9vcmRlci90ZXN0aW5nL3NyYy9mYWN0b3JpZ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1xuICBjb2RlID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgbWV0aG9kID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgbWV0aG9kX2Rlc2NyaXB0aW9uID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgcHJpY2UgPSBmYWtlci5kYXRhdHlwZS5udW1iZXIoeyBtaW46IDEsIG1heDogMTAwMCB9KTtcbiAgZXJyb3JfbWVzc2FnZSA9IGZha2VyLnJhbmRvbS53b3JkKCk7XG4gIG1ldGhvZF90aXRsZSA9IGZha2VyLnJhbmRvbS53b3JkKCk7XG59XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmT3JkZXJTaGlwcGluZ01ldGhvZEZhY3RvcnkgZXh0ZW5kcyBEYWZmTW9kZWxGYWN0b3J5PERhZmZPcmRlclNoaXBwaW5nTWV0aG9kPntcbiAgY29uc3RydWN0b3IoKXtcbiAgICBzdXBlcihNb2NrT3JkZXJTaGlwcGluZ01ldGhvZCk7XG4gIH1cbn1cbiJdfQ==
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import { DaffOrderTotalTypeEnum, } from '@daffodil/order';
5
5
  import * as i0 from "@angular/core";
@@ -25,4 +25,4 @@ DaffOrderTotalFactory.decorators = [
25
25
  ];
26
26
  /** @nocollapse */
27
27
  DaffOrderTotalFactory.ctorParameters = () => [];
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItdG90YWwuZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvb3JkZXIvdGVzdGluZy9zcmMvZmFjdG9yaWVzL29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FmZm9kaWwvY29yZS90ZXN0aW5nJztcbmltcG9ydCB7XG4gIERhZmZPcmRlclRvdGFsLFxuICBEYWZmT3JkZXJUb3RhbFR5cGVFbnVtLFxufSBmcm9tICdAZGFmZm9kaWwvb3JkZXInO1xuXG5leHBvcnQgY2xhc3MgTW9ja09yZGVyVG90YWwgaW1wbGVtZW50cyBEYWZmT3JkZXJUb3RhbCB7XG4gIGxhYmVsID0gZmFrZXIucmFuZG9tLndvcmQoKTtcbiAgdmFsdWUgPSBmYWtlci5kYXRhdHlwZS5udW1iZXIoeyBtaW46IDEsIG1heDogMTAwIH0pO1xuICBzb3J0X29yZGVyID0gZmFrZXIuZGF0YXR5cGUubnVtYmVyKHsgbWluOiAxLCBtYXg6IDEwMCB9KTtcbiAgdHlwZSA9IERhZmZPcmRlclRvdGFsVHlwZUVudW0uR3JhbmRUb3RhbDtcbn07XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmT3JkZXJUb3RhbEZhY3RvcnkgZXh0ZW5kcyBEYWZmTW9kZWxGYWN0b3J5PERhZmZPcmRlclRvdGFsPiB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKE1vY2tPcmRlclRvdGFsKTtcbiAgfVxufVxuIl19
@@ -1,5 +1,5 @@
1
1
  import { Injectable } from '@angular/core';
2
- import * as faker from 'faker/locale/en_US';
2
+ import * as faker from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import * as i0 from "@angular/core";
5
5
  export class MockOrder {
@@ -34,4 +34,4 @@ DaffOrderFactory.decorators = [
34
34
  ];
35
35
  /** @nocollapse */
36
36
  DaffOrderFactory.ctorParameters = () => [];
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3V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RlLnBhc3QoKS50b1N0cmluZygpO1xuICBzdGF0dXMgPSBmYWtlci5yYW5kb20ud29yZCgpO1xuICB0b3RhbHMgPSBbXTtcbiAgYXBwbGllZF9jb2RlcyA9IFtdO1xuICBpdGVtcyA9IFtdO1xuICBiaWxsaW5nX2FkZHJlc3NlcyA9IFtdO1xuICBzaGlwcGluZ19hZGRyZXNzZXMgPSBbXTtcbiAgc2hpcG1lbnRzID0gW107XG4gIHBheW1lbnQgPSBudWxsO1xuICBpbnZvaWNlcyA9IFtdO1xuICBjcmVkaXRzID0gW107XG59O1xuXG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBEYWZmT3JkZXJGYWN0b3J5IGV4dGVuZHMgRGFmZk1vZGVsRmFjdG9yeTxEYWZmT3JkZXI+e1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcihNb2NrT3JkZXIpO1xuICB9XG59XG4iXX0=
@@ -1,5 +1,5 @@
1
1
  import { ɵɵdefineInjectable, Injectable } from '@angular/core';
2
- import { datatype, random, date, image, internet } from 'faker/locale/en_US';
2
+ import { datatype, random, date, image, internet } from '@faker-js/faker/locale/en_US';
3
3
  import { DaffModelFactory } from '@daffodil/core/testing';
4
4
  import { MockDaffPersonalAddress } from '@daffodil/geography/testing';
5
5
  import { DaffOrderItemType, DaffOrderTotalTypeEnum } from '@daffodil/order';
@@ -1 +1 @@
1
- {"version":3,"file":"daffodil-order-testing.js","sources":["../../../libs/order/testing/src/factories/order-address.factory.ts","../../../libs/order/testing/src/factories/order-coupon.factory.ts","../../../libs/order/testing/src/factories/order-invoice.factory.ts","../../../libs/order/testing/src/factories/order-payment.factory.ts","../../../libs/order/testing/src/factories/order-item.factory.ts","../../../libs/order/testing/src/factories/composite-order-item.factory.ts","../../../libs/order/testing/src/factories/configurable-order-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-tracking.factory.ts","../../../libs/order/testing/src/factories/order-shipment.factory.ts","../../../libs/order/testing/src/factories/order-shipping-rate.factory.ts","../../../libs/order/testing/src/factories/order-total.factory.ts","../../../libs/order/testing/src/factories/order.factory.ts","../../../libs/order/testing/src/helpers/order-helper.ts","../../../libs/order/testing/src/daffodil-order-testing.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { MockDaffPersonalAddress } from '@daffodil/geography/testing';\nimport { DaffOrderAddress } from '@daffodil/order';\n\nexport class MockOrderAddress extends MockDaffPersonalAddress implements DaffOrderAddress {\n order_id = faker.datatype.uuid();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderAddressFactory extends DaffModelFactory<DaffOrderAddress> {\n constructor() {\n super(MockOrderAddress);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderCoupon } from '@daffodil/order';\n\nexport class MockOrderCoupon implements DaffOrderCoupon {\n code = faker.random.alphaNumeric(10);\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderCouponFactory extends DaffModelFactory<DaffOrderCoupon>{\n constructor() {\n super(MockOrderCoupon);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderInvoice } from '@daffodil/order';\n\nexport class MockOrderInvoice implements DaffOrderInvoice {\n items = [];\n totals = [];\n billing_address = null;\n shipping_address = null;\n payment = null;\n shipping_method = null;\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderInvoiceFactory extends DaffModelFactory<DaffOrderInvoice> {\n constructor() {\n super(MockOrderInvoice);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderPayment } from '@daffodil/order';\n\nexport class MockOrderPayment implements DaffOrderPayment {\n id = faker.datatype.uuid();\n payment_id = this.id;\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n method = 'card';\n cc_type = 'visa';\n cc_last4 = faker.datatype.number({ min: 1000, max: 9999 }).toString();\n cc_owner = 'owner';\n cc_exp_month = 'month';\n cc_exp_year = 'year';\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderPaymentFactory extends DaffModelFactory<DaffOrderPayment>{\n constructor() {\n super(MockOrderPayment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nexport class MockOrderItem implements DaffOrderItem {\n id = faker.datatype.uuid();\n item_id = this.id;\n image = {\n url: faker.image.imageUrl(),\n id: faker.datatype.uuid(),\n label: faker.random.word(),\n };\n order_id = faker.datatype.uuid();\n qty_ordered = faker.datatype.number({ min: 1, max: 1000 });\n qty_canceled = faker.datatype.number({ min: 1, max: 1000 });\n qty_fulfilled = faker.datatype.number({ min: 1, max: 1000 });\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n product_id = faker.datatype.uuid();\n parent_item_id = faker.datatype.uuid();\n sku = faker.random.alphaNumeric(20);\n name = faker.random.word();\n weight = faker.datatype.number({ min: 1, max: 1000 });\n qty = faker.datatype.number({ min: 1, max: 10 });\n price = faker.datatype.number({ min: 1, max: 1000 });\n discount_amount = faker.datatype.number({ min: 1, max: this.price });\n discount_percent = Math.floor(this.discount_amount / this.price * 100);\n tax_percent = faker.datatype.number({ min: 1, max: 10 });\n tax_amount = faker.datatype.number({ min: 1, max: 10 });\n row_total = this.price * this.qty;\n row_total_with_discount = (this.price - this.discount_amount) * this.qty;\n row_weight = faker.datatype.number({ min: 1, max: 100 });\n tax_before_discount = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderItemType.Simple;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderItemFactory extends DaffModelFactory<DaffOrderItem> {\n\n constructor(){\n super(MockOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffCompositeOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockCompositeOrderItem extends MockOrderItem implements DaffCompositeOrderItem {\n\ttype = DaffOrderItemType.Composite;\n\toptions = [\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffCompositeOrderItemFactory extends DaffModelFactory<DaffCompositeOrderItem> {\n constructor() {\n super(MockCompositeOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffConfigurableOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockConfigurableOrderItem extends MockOrderItem implements DaffConfigurableOrderItem {\n\ttype = DaffOrderItemType.Configurable;\n\tattributes = [\n\t {\n\t attribute_label: 'Color',\n\t value_label: 'Red',\n\t },\n\t {\n\t attribute_label: 'Size',\n\t value_label: 'M',\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffConfigurableOrderItemFactory extends DaffModelFactory<DaffConfigurableOrderItem> {\n constructor() {\n super(MockConfigurableOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentItem } from '@daffodil/order';\n\nexport class MockOrderShipmentItem implements DaffOrderShipmentItem {\n item = null;\n qty = faker.datatype.number({ min: 1, max: 100 });\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentItemFactory extends DaffModelFactory<DaffOrderShipmentItem> {\n constructor() {\n super(MockOrderShipmentItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentTracking } from '@daffodil/order';\n\nexport class MockOrderShipmentTracking implements DaffOrderShipmentTracking {\n tracking_number = faker.random.alphaNumeric(16);\n tracking_url = faker.internet.url();\n carrier = faker.random.word();\n carrier_logo = faker.internet.url();\n title = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentTrackingFactory extends DaffModelFactory<DaffOrderShipmentTracking> {\n constructor() {\n super(MockOrderShipmentTracking);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipment } from '@daffodil/order';\n\nexport class MockOrderShipment implements DaffOrderShipment {\n tracking = [];\n items = [];\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentFactory extends DaffModelFactory<DaffOrderShipment> {\n constructor() {\n super(MockOrderShipment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShippingMethod } from '@daffodil/order';\n\nexport class MockOrderShippingMethod implements DaffOrderShippingMethod {\n rate_id = faker.datatype.uuid();\n address_id = faker.datatype.uuid();\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n price = faker.datatype.number({ min: 1, max: 1000 });\n error_message = faker.random.word();\n method_title = faker.random.word();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShippingMethodFactory extends DaffModelFactory<DaffOrderShippingMethod>{\n constructor(){\n super(MockOrderShippingMethod);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderTotal,\n DaffOrderTotalTypeEnum,\n} from '@daffodil/order';\n\nexport class MockOrderTotal implements DaffOrderTotal {\n label = faker.random.word();\n value = faker.datatype.number({ min: 1, max: 100 });\n sort_order = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderTotalTypeEnum.GrandTotal;\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderTotalFactory extends DaffModelFactory<DaffOrderTotal> {\n constructor() {\n super(MockOrderTotal);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from 'faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrder } from '@daffodil/order';\n\nexport class MockOrder implements DaffOrder {\n id = faker.datatype.uuid();\n customer_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n status = faker.random.word();\n totals = [];\n applied_codes = [];\n items = [];\n billing_addresses = [];\n shipping_addresses = [];\n shipments = [];\n payment = null;\n invoices = [];\n credits = [];\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderFactory extends DaffModelFactory<DaffOrder>{\n constructor() {\n super(MockOrder);\n }\n}\n","import { DaffOrder } from '@daffodil/order';\n\n/**\n * A helper function to verify that a model is a Order.\n *\n * @param order\n */\nexport function isOrder(order: DaffOrder): boolean {\n return !!order.id\n && !!order.customer_id\n && !!order.created_at\n && !!order.updated_at\n && !!order.status\n && !!order.applied_codes\n && !!order.totals;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport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-address.factory.ts","../../../libs/order/testing/src/factories/order-coupon.factory.ts","../../../libs/order/testing/src/factories/order-invoice.factory.ts","../../../libs/order/testing/src/factories/order-payment.factory.ts","../../../libs/order/testing/src/factories/order-item.factory.ts","../../../libs/order/testing/src/factories/composite-order-item.factory.ts","../../../libs/order/testing/src/factories/configurable-order-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-item.factory.ts","../../../libs/order/testing/src/factories/order-shipment-tracking.factory.ts","../../../libs/order/testing/src/factories/order-shipment.factory.ts","../../../libs/order/testing/src/factories/order-shipping-rate.factory.ts","../../../libs/order/testing/src/factories/order-total.factory.ts","../../../libs/order/testing/src/factories/order.factory.ts","../../../libs/order/testing/src/helpers/order-helper.ts","../../../libs/order/testing/src/daffodil-order-testing.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { MockDaffPersonalAddress } from '@daffodil/geography/testing';\nimport { DaffOrderAddress } from '@daffodil/order';\n\nexport class MockOrderAddress extends MockDaffPersonalAddress implements DaffOrderAddress {\n order_id = faker.datatype.uuid();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderAddressFactory extends DaffModelFactory<DaffOrderAddress> {\n constructor() {\n super(MockOrderAddress);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderCoupon } from '@daffodil/order';\n\nexport class MockOrderCoupon implements DaffOrderCoupon {\n code = faker.random.alphaNumeric(10);\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderCouponFactory extends DaffModelFactory<DaffOrderCoupon>{\n constructor() {\n super(MockOrderCoupon);\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderInvoice } from '@daffodil/order';\n\nexport class MockOrderInvoice implements DaffOrderInvoice {\n items = [];\n totals = [];\n billing_address = null;\n shipping_address = null;\n payment = null;\n shipping_method = null;\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderInvoiceFactory extends DaffModelFactory<DaffOrderInvoice> {\n constructor() {\n super(MockOrderInvoice);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderPayment } from '@daffodil/order';\n\nexport class MockOrderPayment implements DaffOrderPayment {\n id = faker.datatype.uuid();\n payment_id = this.id;\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n method = 'card';\n cc_type = 'visa';\n cc_last4 = faker.datatype.number({ min: 1000, max: 9999 }).toString();\n cc_owner = 'owner';\n cc_exp_month = 'month';\n cc_exp_year = 'year';\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderPaymentFactory extends DaffModelFactory<DaffOrderPayment>{\n constructor() {\n super(MockOrderPayment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nexport class MockOrderItem implements DaffOrderItem {\n id = faker.datatype.uuid();\n item_id = this.id;\n image = {\n url: faker.image.imageUrl(),\n id: faker.datatype.uuid(),\n label: faker.random.word(),\n };\n order_id = faker.datatype.uuid();\n qty_ordered = faker.datatype.number({ min: 1, max: 1000 });\n qty_canceled = faker.datatype.number({ min: 1, max: 1000 });\n qty_fulfilled = faker.datatype.number({ min: 1, max: 1000 });\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n product_id = faker.datatype.uuid();\n parent_item_id = faker.datatype.uuid();\n sku = faker.random.alphaNumeric(20);\n name = faker.random.word();\n weight = faker.datatype.number({ min: 1, max: 1000 });\n qty = faker.datatype.number({ min: 1, max: 10 });\n price = faker.datatype.number({ min: 1, max: 1000 });\n discount_amount = faker.datatype.number({ min: 1, max: this.price });\n discount_percent = Math.floor(this.discount_amount / this.price * 100);\n tax_percent = faker.datatype.number({ min: 1, max: 10 });\n tax_amount = faker.datatype.number({ min: 1, max: 10 });\n row_total = this.price * this.qty;\n row_total_with_discount = (this.price - this.discount_amount) * this.qty;\n row_weight = faker.datatype.number({ min: 1, max: 100 });\n tax_before_discount = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderItemType.Simple;\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderItemFactory extends DaffModelFactory<DaffOrderItem> {\n\n constructor(){\n super(MockOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffCompositeOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockCompositeOrderItem extends MockOrderItem implements DaffCompositeOrderItem {\n\ttype = DaffOrderItemType.Composite;\n\toptions = [\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t {\n\t option_label: faker.random.word(),\n\t value_label: faker.random.word(),\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffCompositeOrderItemFactory extends DaffModelFactory<DaffCompositeOrderItem> {\n constructor() {\n super(MockCompositeOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffConfigurableOrderItem,\n DaffOrderItemType,\n} from '@daffodil/order';\n\nimport { MockOrderItem } from './order-item.factory';\n\nexport class MockConfigurableOrderItem extends MockOrderItem implements DaffConfigurableOrderItem {\n\ttype = DaffOrderItemType.Configurable;\n\tattributes = [\n\t {\n\t attribute_label: 'Color',\n\t value_label: 'Red',\n\t },\n\t {\n\t attribute_label: 'Size',\n\t value_label: 'M',\n\t },\n\t];\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffConfigurableOrderItemFactory extends DaffModelFactory<DaffConfigurableOrderItem> {\n constructor() {\n super(MockConfigurableOrderItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentItem } from '@daffodil/order';\n\nexport class MockOrderShipmentItem implements DaffOrderShipmentItem {\n item = null;\n qty = faker.datatype.number({ min: 1, max: 100 });\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentItemFactory extends DaffModelFactory<DaffOrderShipmentItem> {\n constructor() {\n super(MockOrderShipmentItem);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipmentTracking } from '@daffodil/order';\n\nexport class MockOrderShipmentTracking implements DaffOrderShipmentTracking {\n tracking_number = faker.random.alphaNumeric(16);\n tracking_url = faker.internet.url();\n carrier = faker.random.word();\n carrier_logo = faker.internet.url();\n title = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentTrackingFactory extends DaffModelFactory<DaffOrderShipmentTracking> {\n constructor() {\n super(MockOrderShipmentTracking);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShipment } from '@daffodil/order';\n\nexport class MockOrderShipment implements DaffOrderShipment {\n tracking = [];\n items = [];\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShipmentFactory extends DaffModelFactory<DaffOrderShipment> {\n constructor() {\n super(MockOrderShipment);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrderShippingMethod } from '@daffodil/order';\n\nexport class MockOrderShippingMethod implements DaffOrderShippingMethod {\n rate_id = faker.datatype.uuid();\n address_id = faker.datatype.uuid();\n order_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n carrier = faker.random.word();\n carrier_title = faker.random.word();\n code = faker.random.word();\n method = faker.random.word();\n method_description = faker.random.word();\n price = faker.datatype.number({ min: 1, max: 1000 });\n error_message = faker.random.word();\n method_title = faker.random.word();\n}\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderShippingMethodFactory extends DaffModelFactory<DaffOrderShippingMethod>{\n constructor(){\n super(MockOrderShippingMethod);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport {\n DaffOrderTotal,\n DaffOrderTotalTypeEnum,\n} from '@daffodil/order';\n\nexport class MockOrderTotal implements DaffOrderTotal {\n label = faker.random.word();\n value = faker.datatype.number({ min: 1, max: 100 });\n sort_order = faker.datatype.number({ min: 1, max: 100 });\n type = DaffOrderTotalTypeEnum.GrandTotal;\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderTotalFactory extends DaffModelFactory<DaffOrderTotal> {\n constructor() {\n super(MockOrderTotal);\n }\n}\n","import { Injectable } from '@angular/core';\nimport * as faker from '@faker-js/faker/locale/en_US';\n\nimport { DaffModelFactory } from '@daffodil/core/testing';\nimport { DaffOrder } from '@daffodil/order';\n\nexport class MockOrder implements DaffOrder {\n id = faker.datatype.uuid();\n customer_id = faker.datatype.uuid();\n created_at = faker.date.past().toString();\n updated_at = faker.date.past().toString();\n status = faker.random.word();\n totals = [];\n applied_codes = [];\n items = [];\n billing_addresses = [];\n shipping_addresses = [];\n shipments = [];\n payment = null;\n invoices = [];\n credits = [];\n};\n\n\n@Injectable({\n providedIn: 'root',\n})\nexport class DaffOrderFactory extends DaffModelFactory<DaffOrder>{\n constructor() {\n super(MockOrder);\n }\n}\n","import { DaffOrder } from '@daffodil/order';\n\n/**\n * A helper function to verify that a model is a Order.\n *\n * @param order\n */\nexport function isOrder(order: DaffOrder): boolean {\n return !!order.id\n && !!order.customer_id\n && !!order.created_at\n && !!order.updated_at\n && !!order.status\n && !!order.applied_codes\n && !!order.totals;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["faker.datatype","faker.random","faker.date","faker.image","faker.internet"],"mappings":";;;;;;MAOa,gBAAiB,SAAQ,uBAAuB;IAA7D;;QACE,aAAQ,GAAGA,QAAc,CAAC,IAAI,EAAE,CAAC;KAClC;CAAA;MAKY,uBAAwB,SAAQ,gBAAkC;IAC7E;QACE,KAAK,CAAC,gBAAgB,CAAC,CAAC;KACzB;;;;YANF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;;MCPY,eAAe;IAA5B;QACE,SAAI,GAAGC,MAAY,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;KACtC;CAAA;AAAA,CAAC;MAMW,sBAAuB,SAAQ,gBAAiC;IAC3E;QACE,KAAK,CAAC,eAAe,CAAC,CAAC;KACxB;;;;YANF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;;;MCRY,gBAAgB;IAA7B;QACE,UAAK,GAAG,EAAE,CAAC;QACX,WAAM,GAAG,EAAE,CAAC;QACZ,oBAAe,GAAG,IAAI,CAAC;QACvB,qBAAgB,GAAG,IAAI,CAAC;QACxB,YAAO,GAAG,IAAI,CAAC;QACf,oBAAe,GAAG,IAAI,CAAC;KACxB;CAAA;AAAA,CAAC;MAMW,uBAAwB,SAAQ,gBAAkC;IAC7E;QACE,KAAK,CAAC,gBAAgB,CAAC,CAAC;KACzB;;;;YANF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;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OAAO,CAAC,CAAC,KAAK,CAAC,EAAE;WACZ,CAAC,CAAC,KAAK,CAAC,WAAW;WACnB,CAAC,CAAC,KAAK,CAAC,UAAU;WAClB,CAAC,CAAC,KAAK,CAAC,UAAU;WAClB,CAAC,CAAC,KAAK,CAAC,MAAM;WACd,CAAC,CAAC,KAAK,CAAC,aAAa;WACrB,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC;AACtB;;ACfA;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daffodil/order",
3
- "version": "0.39.6",
3
+ "version": "0.39.10",
4
4
  "description": "A client-side Angular package for managing ecommerce orders agnostic to the ecommerce platform.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,10 +15,10 @@
15
15
  "peerDependencies": {
16
16
  "@angular/core": "^11.0.0",
17
17
  "@angular/common": "^11.0.0",
18
- "@daffodil/cart": "0.39.6",
19
- "@daffodil/core": "0.39.6",
20
- "@daffodil/geography": "0.39.6",
21
- "@daffodil/product": "0.39.6"
18
+ "@daffodil/cart": "0.39.10",
19
+ "@daffodil/core": "0.39.10",
20
+ "@daffodil/geography": "0.39.10",
21
+ "@daffodil/product": "0.39.10"
22
22
  },
23
23
  "main": "bundles/daffodil-order.umd.js",
24
24
  "module": "fesm2015/daffodil-order.js",