'use strict';
import { createBaseResourceProperties } from '../../utils/base-resource-properties.js';
import { workspaceConstants } from '../../../../fd-toolbox/server/constants/workspace-constants.js';
import { getNewUuid } from '../../../../fd-toolbox/uuids.js';
import { commonLowerCaseWords, cssPropertyNames } from '../../../../base-repo/constants/internal-common-strings.js';

var __defProp=Object['defineProperty'],__name=(_0x26d8a7,_0x558439)=>__defProp(_0x26d8a7,'name',{'value':_0x558439,'configurable':!![]});const productDimensions={'length':commonLowerCaseWords['length']};function getAllProductParameters(_0x5f061b){const _0x50ca0b=[getLengthParameterProduct(_0x5f061b),getWidthParameterProduct(_0x5f061b),getThicknessParameterProduct(_0x5f061b),getAngleParameterProduct(_0x5f061b)];return _0x50ca0b;}__name(getAllProductParameters,'getAllProductParameters');function getLengthParameterProduct(_0x1517ec){return {...createBaseResourceProperties(getNewUuid()),'productId':_0x1517ec,'externalId':'ext_101','name':productDimensions['length'],'minValue':0xa,'maxValue':0x64,'defaultValue':0x32,'step':0xa,'unit':0x0,'type':0x0,'workspaceId':workspaceConstants['defaultWorkspaceId']};}__name(getLengthParameterProduct,'getLengthParameterProduct');function getWidthParameterProduct(_0x3f0f0e){return {...createBaseResourceProperties(getNewUuid()),'productId':_0x3f0f0e,'externalId':'ext_102','name':cssPropertyNames['width'],'minValue':0x5,'maxValue':0x32,'defaultValue':0x19,'step':0xa,'unit':0x0,'type':0x0,'workspaceId':workspaceConstants['defaultWorkspaceId']};}__name(getWidthParameterProduct,'getWidthParameterProduct');function getThicknessParameterProduct(_0x34e69d){return {...createBaseResourceProperties(getNewUuid()),'productId':_0x34e69d,'externalId':'ext_103','name':'thickness','minValue':0x1,'maxValue':0xc8,'defaultValue':0x64,'step':0xa,'unit':0x0,'type':0x0,'workspaceId':workspaceConstants['defaultWorkspaceId']};}__name(getThicknessParameterProduct,'getThicknessParameterProduct');function getAngleParameterProduct(_0x441215){return {...createBaseResourceProperties(getNewUuid()),'productId':_0x441215,'externalId':'ext_104','name':'angle','minValue':0x0,'maxValue':0x168,'defaultValue':0x0,'step':0xa,'unit':0x0,'type':0x0,'workspaceId':workspaceConstants['defaultWorkspaceId']};}__name(getAngleParameterProduct,'getAngleParameterProduct');

export { getAllProductParameters, getAngleParameterProduct, getLengthParameterProduct, getThicknessParameterProduct, getWidthParameterProduct };
