'use strict';
import { WorkspaceResource } from '../../meta/core/resources/workspace/workspace-resource.js';
import { resourceMetaId } from '../../meta/decorators/resource-id.js';
import { resourceIds } from '../../../fd-toolbox/constants/resource-id-constants.js';
import { descriptionProperty } from '../../meta/decorators/description-property.js';
import { productProps } from '../products/product-props.js';
import { richText } from '../../meta/decorators/rich-text.js';
import { searchable } from '../../meta/decorators/searchable.js';
import { label } from '../../meta/decorators/label.js';
import { notDisplayable } from '../../meta/decorators/not-displayable.js';
import { currency } from '../../meta/decorators/currency.js';
import { fileUpload } from '../../meta/decorators/file-upload.js';
import { icon } from '../../meta/decorators/icon.js';
import { iconNames } from '../../fd-component-toolbox/icon/Icon.js';
import { notFilterDisplayable } from '../../meta/decorators/not-filter-displayable.js';
import { notColorful } from '../../meta/decorators/not-colorful.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x203b85,_0x351f9e)=>__defProp(_0x203b85,'name',{'value':_0x351f9e,'configurable':!![]}),__decorateClass=(_0x329177,_0x4a6d75,_0x2887b5,_0x52bada)=>{var _0x369fcc=_0x52bada>-0x605*-0x2+0x22c9+-0x2ed2?void(-0x4f*0x54+-0x1b0f+0x19b*0x21):_0x52bada?__getOwnPropDesc(_0x4a6d75,_0x2887b5):_0x4a6d75;for(var _0x713d2a=_0x329177['length']-(-0x88b+-0x1542+-0x5f6*-0x5),_0x2a1fe3;_0x713d2a>=-0x31*0x36+-0xb4b*0x1+-0x31*-0x71;_0x713d2a--)if(_0x2a1fe3=_0x329177[_0x713d2a])_0x369fcc=(_0x52bada?_0x2a1fe3(_0x4a6d75,_0x2887b5,_0x369fcc):_0x2a1fe3(_0x369fcc))||_0x369fcc;if(_0x52bada&&_0x369fcc)__defProp(_0x4a6d75,_0x2887b5,_0x369fcc);return _0x369fcc;};let Product=class extends WorkspaceResource{['name'];['description'];['productCategoryId'];['productCategory'];['storeId'];['status'];['store'];['freightShipment'];['notes'];['price'];['blobList'];};__name(Product,'Product'),__decorateClass([searchable()],Product['prototype'],'name',-0x1*-0x25b3+0x1b61+-0x4112),__decorateClass([richText()],Product['prototype'],'description',0x2108+-0x929+-0x29*0x95),__decorateClass([notDisplayable()],Product['prototype'],'productCategoryId',-0x2*-0xbe0+-0x2710+-0x35*-0x4a),__decorateClass([notDisplayable()],Product['prototype'],'productCategory',-0x1*0x1da7+-0xd78+-0x2b21*-0x1),__decorateClass([notColorful(),notDisplayable()],Product['prototype'],'status',0x1*0x1165+-0x232c+0x11c9),__decorateClass([notDisplayable()],Product['prototype'],'notes',0xf05*-0x1+-0x11ac+0x20b3),__decorateClass([currency(),notFilterDisplayable()],Product['prototype'],'price',0x174d+0x2432+-0x3b7d),__decorateClass([label('Media'),fileUpload()],Product['prototype'],'blobList',0x117a+-0x22ec+0x1174),Product=__decorateClass([descriptionProperty(productProps['name']),resourceMetaId(resourceIds['product']),icon(iconNames['cube'])],Product);

export { Product };
