{"version":3,"sources":["webpack:///./node_modules/lodash/_baseForOwn.js","webpack:///./src/http/requests/finance/itemChargeService.js","webpack:///./src/libs/app/current-user.js","webpack:///./node_modules/lodash/_baseEach.js","webpack:///./node_modules/lodash/_baseFor.js","webpack:///./src/http/requests/prep-material/prepMaterialInventoryService.js","webpack:///./node_modules/lodash/filter.js","webpack:///./src/enums/companyType.enum.js","webpack:///./node_modules/lodash/_createBaseEach.js","webpack:///./node_modules/lodash/_createBaseFor.js","webpack:///./node_modules/lodash/_baseFilter.js"],"names":["baseFor","keys","baseForOwn","object","iteratee","module","exports","_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","_typeof","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","asyncGeneratorStep","_asyncToGenerator","arguments","apply","_next","_throw","fetchById","id","_callee","promise","_context","reject","axios","get","endpoints","itemCharge","Controller","findById","response","data","body","error","result","fetchAllByItemId","_callee2","_context2","findAllByItemId","itemId","_callee3","_context3","post","delete","_callee4","_context4","useCurrentUser","_membershipInfo$modul","_Object$keys$map","currentUser","getUserData","ability","fullname","username","accountNo","suiteNumber","companyId","companyType","company","tenantId","tenantType","warehouse","membershipInfo","role","audience","userId","ref","userAbility","userFullname","userUsername","userAccountNo","userSuiteNumber","userCompanyId","userCompanyType","userTenantId","userTenantType","userCompanyName","userRoleName","roleName","userAudience","warehouseId","warehouseName","userWarehouseId","userWarehouseName","plans","modulesState","planStates","map","key","_objectSpread","planId","remainingTrialDays","computed","_planStates$value$fil","filter","el","state","sort","b","trialRemaining","duePlans","dueTrialPlans","duePlanExists","dueTrialPlanExists","subscribedMembershipPlans","isServingTenant","TenantTypeEnum","SERVING","isIndividualTenant","INDIVIDUAL","isCompanyTypeWarehouse","CompanyTypeEnum","Warehouse","isCustomerAudience","AUDIENCE","CUSTOMER","createBaseEach","baseEach","createBaseFor","fetchAll","_arguments","pageable","undefined","prepMaterialInventory","findAll","getByQuery","_arguments2","fetchByTitle","title","findByTitle","_callee5","_context5","update","_callee6","_context6","put","deleteById","_callee7","_context7","adjust","_callee8","_context8","decrement","_callee9","_context9","getChargeSelect","_callee10","_context10","arrayFilter","baseFilter","baseIteratee","isArray","collection","predicate","func","freeze","text","Customer","Franchise","Vendor","MainSoftwareCompany","SoftwareServiceVendor","list","find","query","isArrayLike","eachFunc","fromRight","index","iterable","keysFunc","props"],"mappings":"sHAAA,IAAIA,EAAU,EAAQ,QAClBC,EAAO,EAAQ,QAUnB,SAASC,EAAWC,EAAQC,GAC1B,OAAOD,GAAUH,EAAQG,EAAQC,EAAUH,GAG7CI,EAAOC,QAAUJ,G,ucCdjBK,EAAA,kBAAAC,GAAA,IAAAC,EAAAD,EAAA,GAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAA,SAAAP,EAAAD,EAAAE,GAAAD,EAAAD,GAAAE,EAAAO,OAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAA,kBAAAC,EAAAN,EAAAO,aAAA,yBAAAC,EAAAjB,EAAAD,EAAAE,GAAA,OAAAC,OAAAK,eAAAP,EAAAD,EAAA,CAAAS,MAAAP,EAAAiB,YAAA,EAAAC,cAAA,EAA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GAAK,OAAI3P,OAAOuC,OAAO+J,GAC1BoD,MAAK,SAAApP,GAAK,MAAqB,WAAjBwC,EAAOxC,IAAuBA,EAAMA,QAAUqP,QAGlDrD,U,uBCvBf,IAAIsD,EAAc,EAAQ,QAU1B,SAASjD,EAAekD,EAAUC,GAChC,OAAO,SAASf,EAAYtP,GAC1B,GAAkB,MAAdsP,EACF,OAAOA,EAET,IAAKa,EAAYb,GACf,OAAOc,EAASd,EAAYtP,GAE9B,IAAImF,EAASmK,EAAWnK,OACpBmL,EAAQD,EAAYlL,GAAU,EAC9BoL,EAAWhQ,OAAO+O,GAEtB,MAAQe,EAAYC,MAAYA,EAAQnL,EACtC,IAAmD,IAA/CnF,EAASuQ,EAASD,GAAQA,EAAOC,GACnC,MAGJ,OAAOjB,GAIXrP,EAAOC,QAAUgN,G,qBCxBjB,SAASE,EAAciD,GACrB,OAAO,SAAStQ,EAAQC,EAAUwQ,GAChC,IAAIF,GAAS,EACTC,EAAWhQ,OAAOR,GAClB0Q,EAAQD,EAASzQ,GACjBoF,EAASsL,EAAMtL,OAEnB,MAAOA,IAAU,CACf,IAAImG,EAAMmF,EAAMJ,EAAYlL,IAAWmL,GACvC,IAA+C,IAA3CtQ,EAASuQ,EAASjF,GAAMA,EAAKiF,GAC/B,MAGJ,OAAOxQ,GAIXE,EAAOC,QAAUkN,G,uBCxBjB,IAAID,EAAW,EAAQ,QAUvB,SAASgC,EAAWG,EAAYC,GAC9B,IAAIvH,EAAS,GAMb,OALAmF,EAASmC,GAAY,SAASzO,EAAOyP,EAAOhB,GACtCC,EAAU1O,EAAOyP,EAAOhB,IAC1BtH,EAAOlD,KAAKjE,MAGTmH,EAGT/H,EAAOC,QAAUiP","file":"js/chunk-48a3e7ed.6875e369.js","sourcesContent":["var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n","import axios from '@axios'\nimport endpoints from '@/http/endpoints/index'\n\nexport default {\n // get prep item cost by id\n async fetchById(id) {\n const promise = new Promise((resolve, reject) => {\n axios\n .get(endpoints.itemCharge.Controller.findById(id))\n .then(response => {\n resolve({\n data: response.data.body,\n })\n })\n .catch(error => reject(error))\n })\n\n promise.then(\n result => result,\n error => error,\n )\n\n return promise\n },\n\n // get charges by item id\n async fetchAllByItemId(id) {\n const promise = new Promise((resolve, reject) => {\n axios\n .get(endpoints.itemCharge.Controller.findAllByItemId(id))\n .then(response => {\n resolve({\n data: response.data.body,\n })\n })\n .catch(error => reject(error))\n })\n\n promise.then(\n result => result,\n error => error,\n )\n\n return promise\n },\n\n async create(itemId, data) {\n const promise = new Promise((resolve, reject) => {\n axios\n .post(endpoints.itemCharge.Controller.create(itemId), data)\n .then(response => {\n resolve(response)\n })\n .catch(error => reject(error))\n })\n\n promise.then(\n result => result,\n error => error,\n )\n\n return promise\n },\n async delete(id) {\n const result = await axios.delete(endpoints.itemCharge.Controller.delete(id))\n return result\n },\n\n}\n","/* eslint-disable no-unused-vars */\nimport { ref, computed } from '@vue/composition-api'\nimport { getUserData } from '@/auth/utils'\nimport { TenantTypeEnum } from '@/enums'\nimport CompanyTypeEnum from '@/enums/companyType.enum'\nimport { AUDIENCE } from '../acl/permissions'\n\nexport default function useCurrentUser() {\n const currentUser = getUserData()\n\n const {\n id,\n ability,\n fullname,\n username,\n accountNo,\n suiteNumber,\n companyId,\n companyType,\n company,\n tenantId,\n tenantType,\n warehouse,\n membershipInfo,\n role,\n audience,\n } = currentUser\n\n const userId = ref(id)\n const userAbility = ref(ability)\n const userFullname = ref(fullname)\n const userUsername = ref(username)\n const userAccountNo = ref(accountNo)\n const userSuiteNumber = ref(suiteNumber)\n const userCompanyId = ref(companyId)\n const userCompanyType = ref(companyType)\n const userTenantId = ref(tenantId)\n const userTenantType = ref(tenantType)\n const userCompanyName = ref(company)\n const userRoleName = ref(role.roleName)\n const userAudience = ref(audience)\n\n const warehouseId = (warehouse && warehouse.id) ? warehouse.id : 0\n const warehouseName = (warehouse && warehouse.name) ? warehouse.name : ''\n const userWarehouseId = ref(warehouseId)\n const userWarehouseName = ref(warehouseName)\n\n const plans = membershipInfo?.modulesState ?? {}\n const planStates = ref(Object.keys(plans).map(key => ({\n planId: key,\n ...plans[key],\n })) ?? [])\n const remainingTrialDays = computed(() => planStates.value\n .filter(el => el.state === 'TRIAL')\n .sort((a, b) => a.trialRemaining - b.trialRemaining) ?? [])\n\n const duePlans = computed(() => planStates.value.filter(el => el.state === 'DUE_FAIL'))\n const dueTrialPlans = computed(() => planStates.value.filter(el => el.state === 'DUE_NOT_TRIAL'))\n const duePlanExists = computed(() => duePlans.value.length > 0)\n const dueTrialPlanExists = computed(() => dueTrialPlans.value.length > 0)\n const subscribedMembershipPlans = planStates.value\n const isServingTenant = computed(() => userTenantType.value === TenantTypeEnum.SERVING.value)\n const isIndividualTenant = computed(() => userTenantType.value === TenantTypeEnum.INDIVIDUAL.value)\n\n // Check if the user is a warehouse type company\n const isCompanyTypeWarehouse = computed(() => userCompanyType.value === CompanyTypeEnum.Warehouse.value)\n\n const isCustomerAudience = computed(() => userAudience.value === AUDIENCE.CUSTOMER)\n\n return {\n userId,\n userAbility,\n userFullname,\n userUsername,\n userAccountNo,\n userSuiteNumber,\n userCompanyId,\n userCompanyType,\n userCompanyName,\n userTenantId,\n userTenantType,\n userWarehouseId,\n userWarehouseName,\n userRoleName,\n userAudience,\n duePlans,\n duePlanExists,\n dueTrialPlans,\n dueTrialPlanExists,\n remainingTrialDays,\n subscribedMembershipPlans,\n isServingTenant,\n isIndividualTenant,\n isCompanyTypeWarehouse,\n isCustomerAudience,\n }\n}\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n","import axios from '@axios'\nimport endpoints from '@/http/endpoints/index'\n\nexport default {\n // get all prep material inventory\n async fetchAll(pageable = {}) {\n const promise = new Promise((resolve, reject) => {\n axios\n .get(endpoints.prepMaterialInventory.Controller.findAll(pageable))\n .then(response => {\n resolve({\n data: response.data.body,\n })\n })\n .catch(error => reject(error))\n })\n\n promise.then(\n result => result,\n error => error,\n )\n\n return promise\n },\n async getByQuery(filter, pageable = {}) {\n const promise = new Promise((resolve, reject) => {\n axios\n .post(endpoints.prepMaterialInventory.Controller.getByQuery(pageable), filter)\n .then(response => {\n resolve({\n data: response.data.body,\n })\n })\n .catch(error => reject(error))\n })\n promise.then(\n result => result,\n error => error,\n )\n return promise\n },\n // get prep material inventory by id\n async fetchById(id) {\n const promise = new Promise((resolve, reject) => {\n axios\n .get(endpoints.prepMaterialInventory.Controller.findById(id))\n .then(response => {\n resolve({\n data: response.data.body,\n })\n })\n .catch(error => reject(error))\n })\n\n promise.then(\n result => result,\n error => error,\n )\n\n return promise\n },\n\n // get prep material inventory by title\n async fetchByTitle(title) {\n const promise = new Promise((resolve, reject) => {\n axios\n .get(endpoints.prepMaterialInventory.Controller.findByTitle(title))\n .then(response => {\n resolve({\n data: response.data.body,\n })\n })\n .catch(error => reject(error))\n })\n\n promise.then(\n result => result,\n error => error,\n )\n\n return promise\n },\n\n // create prep material inventory\n async create(data) {\n const promise = new Promise((resolve, reject) => {\n axios\n .post(endpoints.prepMaterialInventory.Controller.create(), data)\n .then(response => {\n resolve(response)\n })\n .catch(error => reject(error))\n })\n\n promise.then(\n result => result,\n error => error,\n )\n\n return promise\n },\n\n // update prep material inventory\n async update(data) {\n const promise = new Promise((resolve, reject) => {\n axios\n .put(endpoints.prepMaterialInventory.Controller.update(), data)\n .then(response => {\n resolve(response)\n })\n .catch(error => reject(error))\n })\n\n promise.then(\n result => result,\n error => error,\n )\n\n return promise\n },\n\n // delete prep material inventory\n async deleteById(id) {\n const promise = new Promise((resolve, reject) => {\n axios\n .delete(endpoints.prepMaterialInventory.Controller.delete(id))\n .then(response => {\n resolve(response)\n })\n .catch(error => reject(error))\n })\n\n promise.then(\n result => result,\n error => error,\n )\n\n return promise\n },\n async adjust(data) {\n const result = await axios.put(endpoints.prepMaterialInventory.Controller.adjust(), data)\n return result.data.body\n },\n async decrement(data) {\n const result = await axios.put(endpoints.prepMaterialInventory.Controller.decrement(), data)\n return result.data.body\n },\n async getChargeSelect() {\n const result = await axios.get(endpoints.prepMaterialInventory.Controller.getChargeSelect())\n return result.data.body\n },\n\n}\n","var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n","/**\n * Enum for Customer Types\n * @readonly\n * @enum {{key: string, value: string, text: string}}\n */\n\nconst CompanyTypeEnum = Object.freeze({\n Warehouse: { value: 'warehouse', text: 'Warehouse' },\n Customer: { value: 'customer', text: 'Customer' },\n Franchise: { value: 'franchise', text: 'Franchise' },\n Vendor: { value: 'vendor', text: 'Vendor' },\n MainSoftwareCompany: { value: 'mainsoftwarecompany', text: 'Main Software Company' },\n SoftwareServiceVendor: { value: 'softwareservicevendor', text: 'Software Service Vendor' },\n list: () => Object.values(CompanyTypeEnum)\n .filter(value => typeof value === 'object')\n .map(value => ({\n value: value.value,\n text: value.text,\n })),\n find: query => Object.values(CompanyTypeEnum)\n .find(value => typeof value === 'object' && (value.value === query)),\n})\n\nexport default CompanyTypeEnum\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var baseEach = require('./_baseEach');\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n}\n\nmodule.exports = baseFilter;\n"],"sourceRoot":""}