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C,aAAaC,mBAA8B,UAAC,KAC5Cf,EAAQE,iCCnEvBc,EAAOC,QAAUC,2BCAjBF,EAAOC,QAAUE","sources":["webpack://msdyn365.commerce.online/./src/actions/get-payment-onbill-value.action.ts?df19","webpack://msdyn365.commerce.online/./src/actions/savesubmit-enabledisable.action.ts?d0df","webpack://msdyn365.commerce.online/./src/modules/c-search-result-container/actions/c-get-dimension-availabilities-for-product-search-result.action.ts?9bd1","webpack://msdyn365.commerce.online/./lib/__local__/module-registration.js?8a42","webpack://msdyn365.commerce.online/external var \"React\"?0d3b","webpack://msdyn365.commerce.online/external var \"ReactDOM\"?853b"],"sourcesContent":["/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport * as Msdyn365 from '@msdyn365-commerce/core';\r\n\r\n/**\r\n * GetPaymentOnbillValue Input Action\r\n */\r\nexport class GetPaymentOnbillValueInput implements Msdyn365.IActionInput {\r\n // TODO: Construct the input needed to run the action\r\n constructor() {}\r\n\r\n // TODO: Determine if the results of this get action should cache the results and if so provide\r\n // a cache object type and an appropriate cache key\r\n public getCacheKey = () => `GetPaymentOnbillValue`;\r\n public getCacheObjectType = () => 'GetPaymentOnbillValue';\r\n public dataCacheType = (): Msdyn365.CacheType => 'request';\r\n}\r\n\r\n// TODO: Create a data model here or import one to capture the response of the action\r\nexport interface IGetPaymentOnbillValueData {\r\n onBill: boolean;\r\n}\r\n\r\n/**\r\n * TODO: Use this function to create the input required to make the action call\r\n */\r\nconst createInput = (args: Msdyn365.ICreateActionContext): Msdyn365.IActionInput => {\r\n return new GetPaymentOnbillValueInput();\r\n};\r\n\r\n/**\r\n * TODO: Use this function to call your action and process the results as needed\r\n */\r\nasync function action(input: GetPaymentOnbillValueInput, ctx: Msdyn365.IActionContext): Promise {\r\n // const apiSettings = Msdyn365.msdyn365Commerce.apiSettings;\r\n\r\n // TODO: Uncomment the below line to get the value from a service\r\n // const response = await Msdyn365.sendRequest('/get/example/id/1', 'get');\r\n return { onBill: false };\r\n}\r\n\r\nexport default Msdyn365.createObservableDataAction({\r\n action: >action,\r\n // TODO: Give your data action a unique id\r\n id: 'GetPaymentOnbillValue',\r\n input: createInput\r\n // TODO: Uncomment the below line if this is a meant to be a batched data action\r\n // isBatched: true\r\n});\r\n","/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\n\r\nimport * as Msdyn365 from '@msdyn365-commerce/core';\r\n\r\n/**\r\n * SavesubmitEnabledisable Input Action\r\n */\r\nexport class SavesubmitEnabledisableInput implements Msdyn365.IActionInput {\r\n // TODO: Construct the input needed to run the action\r\n constructor() {}\r\n\r\n // TODO: Determine if the results of this get action should cache the results and if so provide\r\n // a cache object type and an appropriate cache key\r\n public getCacheKey = () => `SavesubmitEnabledisable`;\r\n public getCacheObjectType = () => 'SavesubmitEnabledisable';\r\n public dataCacheType = (): Msdyn365.CacheType => 'request';\r\n}\r\n\r\n// TODO: Create a data model here or import one to capture the response of the action\r\nexport interface ISavesubmitEnabledisableData {\r\n disableButton: boolean;\r\n}\r\n\r\n/**\r\n * TODO: Use this function to create the input required to make the action call\r\n */\r\nconst createInput = (args: Msdyn365.ICreateActionContext): Msdyn365.IActionInput => {\r\n return new SavesubmitEnabledisableInput();\r\n};\r\n\r\n/**\r\n * TODO: Use this function to call your action and process the results as needed\r\n */\r\nasync function action(input: SavesubmitEnabledisableInput, ctx: Msdyn365.IActionContext): Promise {\r\n // const apiSettings = Msdyn365.msdyn365Commerce.apiSettings;\r\n\r\n // TODO: Uncomment the below line to get the value from a service\r\n // const response = await Msdyn365.sendRequest('/get/example/id/1', 'get');\r\n return { disableButton: false };\r\n}\r\n\r\nexport default Msdyn365.createObservableDataAction({\r\n action: >action,\r\n // TODO: Give your data action a unique id\r\n id: 'SavesubmitEnabledisable',\r\n input: createInput\r\n // TODO: Uncomment the below line if this is a meant to be a batched data action\r\n // isBatched: true\r\n});","/* eslint-disable security/detect-object-injection */\r\n/*!\r\n * Copyright (c) Microsoft Corporation.\r\n * All rights reserved. See LICENSE in the project root for license information.\r\n */\r\nimport { CacheType, createObservableDataAction, IAction, IActionContext, IActionInput, ICoreContext } from '@msdyn365-commerce/core';\r\nimport { ProductDimensionType, ProductDimensionValueInventoryAvailability, ProductSearchResult } from '@msdyn365-commerce/retail-proxy';\r\nimport {\r\n ArrayExtensions,\r\n checkIfShouldDisplayAsSwatch,\r\n DimensionTypes,\r\n getInventoryLevelCodeFromDimensionValue,\r\n IDimensionsApp,\r\n InventoryLevelValues,\r\n getDimensionAvailabilitiesForProductsAction,\r\n ProductsDimensionAvailabilitiesInput\r\n} from '@msdyn365-commerce-modules/retail-actions';\r\n\r\n/**\r\n * CGetDimensionAvailabilitiesForProductSearchResult Input Action\r\n */\r\nexport class CGetDimensionAvailabilitiesForProductSearchResultInput implements IActionInput {\r\n public products: ProductSearchResult[];\r\n\r\n public dimensionContext: ICoreContext;\r\n // TODO: Construct the input needed to run the action\r\n constructor(products: ProductSearchResult[], dimensionContext: ICoreContext) {\r\n this.products = products;\r\n this.dimensionContext = dimensionContext;\r\n }\r\n\r\n // TODO: Determine if the results of this get action should cache the results and if so provide\r\n // a cache object type and an appropriate cache key\r\n /**\r\n * Get the cache key.\r\n * @returns The cache key.\r\n */\r\n public getCacheKey = (): string => 'DimensionAvailabilitiesForProductSearchResult';\r\n\r\n /**\r\n * Get the cache object type.\r\n * @returns The cache object type.\r\n */\r\n public getCacheObjectType = (): string => 'ProductDimensionValueInventoryAvailability';\r\n\r\n /**\r\n * Define the data cache type.\r\n * @returns The cache type.\r\n */\r\n public dataCacheType = (): CacheType => 'none';\r\n}\r\n\r\n/**\r\n * The createInput method for the GetDimensionAvailabilitiesForProductSearchResultDataAction.\r\n * @param products -- The product search result.\r\n * @param dimensionContext -- The dimension app context.\r\n * @returns The input.\r\n */\r\n\r\n// TODO: Create a data model here or import one to capture the response of the action\r\nexport interface ICGetDimensionAvailabilitiesForProductSearchResultData {\r\n text: string;\r\n}\r\n\r\n/**\r\n * TODO: Use this function to create the input required to make the action call\r\n */\r\n\r\nexport const createDimensionAvailabilitiesForProductSearchResultInput = (\r\n products: ProductSearchResult[],\r\n dimensionContext: ICoreContext\r\n): CGetDimensionAvailabilitiesForProductSearchResultInput => {\r\n return new CGetDimensionAvailabilitiesForProductSearchResultInput(products, dimensionContext);\r\n};\r\n\r\n/**\r\n * TODO: Use this function to call your action and process the results as needed\r\n */\r\nexport interface ICProductsDimensionsAvailabilities {\r\n value: string;\r\n isDisabled?: boolean;\r\n masterProductId?: number;\r\n NB?: boolean;\r\n typeCode?: number;\r\n}\r\nexport async function cgetDimensionAvailabilitiesForProductSearchResultAction(\r\n input: CGetDimensionAvailabilitiesForProductSearchResultInput,\r\n context: IActionContext\r\n): Promise {\r\n const products = input.products;\r\n const productsDimensionInputs: ProductsDimensionAvailabilitiesInput[] = [];\r\n const inventoryLevel = input.dimensionContext.app.config.inventoryLevel;\r\n\r\n for (const product of products) {\r\n const filteredProductAttributes = product.AttributeValues?.filter(attributeValue => {\r\n return (\r\n checkIfShouldDisplayAsSwatch((attributeValue.Name?.toLocaleLowerCase() ?? '') as DimensionTypes, input.dimensionContext) &&\r\n context.requestContext.app.config.dimensionsInProductCard.includes(attributeValue.Name?.toLocaleLowerCase())\r\n );\r\n });\r\n\r\n if (ArrayExtensions.hasElements(filteredProductAttributes)) {\r\n for (const attributeValue of filteredProductAttributes) {\r\n if (attributeValue.Name) {\r\n const productionDimensionType: ProductDimensionType =\r\n ProductDimensionType[attributeValue.Name as keyof typeof ProductDimensionType];\r\n\r\n productsDimensionInputs.push(\r\n new ProductsDimensionAvailabilitiesInput(product.MasterProductId ?? product.RecordId, productionDimensionType)\r\n );\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (!ArrayExtensions.hasElements(productsDimensionInputs)) {\r\n return Promise.resolve([]);\r\n }\r\n\r\n try {\r\n const disableStockCheckInAppForBackorderableProducts =\r\n context.requestContext.app.config.disableStockCheckInAppForBackorderableProducts;\r\n const enableStockCheck = context.requestContext.app.config.enableStockCheck;\r\n // context.requestContext.apiSettings.oun = '5001';\r\n const dimensionForProducts: ProductDimensionValueInventoryAvailability[][] = await getDimensionAvailabilitiesForProductsAction(\r\n productsDimensionInputs,\r\n context\r\n );\r\n const productsDimensionAvailabilities = productsDimensionInputs.map((dimensionInput, index) => {\r\n let OOSandNBDimensionIDs: string[] = [];\r\n const dimensionValuesOfProduct = dimensionForProducts[index].map(dimensionValuesWithInventory => {\r\n const inventoryLevelCode = getInventoryLevelCodeFromDimensionValue(dimensionValuesWithInventory, inventoryLevel);\r\n const dimensionValue = dimensionValuesWithInventory.DimensionValue!;\r\n const NBFlag =\r\n dimensionValue.ExtensionProperties &&\r\n dimensionValue.ExtensionProperties[1] &&\r\n dimensionValue.ExtensionProperties[1].Key === 'IsDimensionAvailableFlag'\r\n ? !dimensionValue.ExtensionProperties[1].Value?.BooleanValue\r\n : true;\r\n let isDisable = inventoryLevelCode === InventoryLevelValues.outOfStock;\r\n if (NBFlag && isDisable) {\r\n OOSandNBDimensionIDs = OOSandNBDimensionIDs\r\n ? [...OOSandNBDimensionIDs, dimensionValue.RecordId.toString()]\r\n : [dimensionValue.RecordId.toString()];\r\n } else if (enableStockCheck && disableStockCheckInAppForBackorderableProducts && !NBFlag && isDisable) {\r\n isDisable = false;\r\n }\r\n return {\r\n id: dimensionValue.RecordId.toString(),\r\n value: dimensionValue.Value ?? '',\r\n isDisabled: isDisable,\r\n NB: NBFlag,\r\n typeCode: dimensionValuesWithInventory.DimensionTypeValue,\r\n masterProductId: dimensionInput.masterProductId\r\n };\r\n });\r\n const newDimensionValuesOfProduct = dimensionValuesOfProduct.filter(cDimensions => {\r\n return !OOSandNBDimensionIDs.includes(cDimensions.id);\r\n });\r\n return newDimensionValuesOfProduct;\r\n });\r\n\r\n if (!ArrayExtensions.hasElements(productsDimensionAvailabilities)) {\r\n context.telemetry.warning('ProductsDimensionAvailabilities is empty');\r\n return Promise.resolve([]);\r\n }\r\n console.log('Products Dimension Availabilities', productsDimensionAvailabilities);\r\n return Promise.resolve(productsDimensionAvailabilities);\r\n } catch (error) {\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument -- existing error.\r\n if (typeof error === 'string') {\r\n context.telemetry.warning(error);\r\n }\r\n }\r\n\r\n return Promise.resolve([]);\r\n}\r\n\r\n/**\r\n * The GetDimensionAvailabilitiesForProductSearchResult data action.\r\n */\r\nexport const cgetDimensionAvailabilitiesForProductSearchResultDataAction = createObservableDataAction({\r\n id: 'CGetDimensionAvailabilitiesForProductSearchResult',\r\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions -- existing pattern.\r\n action: >cgetDimensionAvailabilitiesForProductSearchResultAction,\r\n input: createDimensionAvailabilitiesForProductSearchResultInput\r\n});\r\n\r\nexport default cgetDimensionAvailabilitiesForProductSearchResultDataAction;\r\n","const binding = { modules: {}, dataActions: {} };\n\n const registerActionId = (actionPath) => {\n if (binding.dataActions[actionPath] &&\n binding.dataActions[actionPath].default &&\n binding.dataActions[actionPath].default.prototype &&\n binding.dataActions[actionPath].default.prototype.id) {\n binding.dataActions[binding.dataActions[actionPath].default.prototype.id] = binding.dataActions[actionPath];\n } else {\n Object.keys(binding.dataActions[actionPath] || {}).forEach(exportName => {\n if (binding.dataActions[actionPath][exportName] &&\n binding.dataActions[actionPath][exportName].prototype &&\n binding.dataActions[actionPath][exportName].prototype.Action) {\n binding.dataActions[binding.dataActions[actionPath][exportName].prototype.id] = binding.dataActions[actionPath][exportName];\n }\n })\n }\n };\n\n const registerSanitizedActionPath = (sanitizedActionPath, dataAction) => {\n if (process.env.NODE_ENV === 'development') {\n if (!dataAction.default) {\n throw new Error('Data action path does not have a default export');\n }\n if (!(dataAction.default.prototype.id && binding.dataActions[dataAction.default.prototype.id]) || !binding.dataActions[sanitizedActionPath]) {\n binding.dataActions[sanitizedActionPath] = dataAction;\n }\n } else {\n binding.dataActions[sanitizedActionPath] = dataAction;\n if (!binding.dataActions[sanitizedActionPath].default) {\n throw new Error('Data action path ' + sanitizedActionPath + ' does not have a default export');\n }\n binding.dataActions[sanitizedActionPath].default.prototype.RegistrationId = sanitizedActionPath;\n if (binding.dataActions[sanitizedActionPath].default.prototype.id) {\n binding.dataActions[binding.dataActions[sanitizedActionPath].default.prototype.id] = sanitizedActionPath;\n }\n }\n };\n \n\n { \n const actionPath = 'actions/get-payment-onbill-value.action';\n binding.dataActions[actionPath] = require('partner/actions/get-payment-onbill-value.action');\n registerActionId(actionPath);\n }\n\n { \n const actionPath = 'actions/savesubmit-enabledisable.action';\n binding.dataActions[actionPath] = require('partner/actions/savesubmit-enabledisable.action');\n registerActionId(actionPath);\n }\n\n { \n const actionPath = 'modules/c-search-result-container/actions/c-get-dimension-availabilities-for-product-search-result.action';\n binding.dataActions[actionPath] = require('partner/modules/c-search-result-container/actions/c-get-dimension-availabilities-for-product-search-result.action');\n registerActionId(actionPath);\n }\n\n \n window.__bindings__ = window.__bindings__ || {};\n window.__bindings__.modules = {\n ...window.__bindings__.modules || {},\n ...binding.modules\n };\n \n window.__bindings__.packageDataActions = {};\n window.__bindings__.packageDataActions['__local__'] = {\n ...binding.dataActions\n };","module.exports = React;","module.exports = ReactDOM;"],"names":["GetPaymentOnbillValueInput","constructor","getCacheKey","getCacheObjectType","dataCacheType","Msdyn365","action","async","input","ctx","onBill","id","args","SavesubmitEnabledisableInput","disableButton","CGetDimensionAvailabilitiesForProductSearchResultInput","products","dimensionContext","this","createDimensionAvailabilitiesForProductSearchResultInput","cgetDimensionAvailabilitiesForProductSearchResultAction","context","productsDimensionInputs","inventoryLevel","app","config","product","filteredProductAttributes","AttributeValues","filter","attributeValue","checkIfShouldDisplayAsSwatch","Name","toLocaleLowerCase","requestContext","dimensionsInProductCard","includes","ArrayExtensions","hasElements","productionDimensionType","ProductDimensionType","push","ProductsDimensionAvailabilitiesInput","MasterProductId","RecordId","Promise","resolve","disableStockCheckInAppForBackorderableProducts","enableStockCheck","dimensionForProducts","getDimensionAvailabilitiesForProductsAction","productsDimensionAvailabilities","map","dimensionInput","index","OOSandNBDimensionIDs","dimensionValuesWithInventory","inventoryLevelCode","getInventoryLevelCodeFromDimensionValue","dimensionValue","DimensionValue","NBFlag","ExtensionProperties","Key","Value","BooleanValue","isDisable","InventoryLevelValues","outOfStock","toString","value","isDisabled","NB","typeCode","DimensionTypeValue","masterProductId","cDimensions","console","log","telemetry","warning","error","cgetDimensionAvailabilitiesForProductSearchResultDataAction","createObservableDataAction","binding","modules","dataActions","registerActionId","actionPath","default","prototype","Object","keys","forEach","exportName","Action","require","window","__bindings__","packageDataActions","module","exports","React","ReactDOM"],"sourceRoot":""}