'use strict';
import { resourceIds } from '../../../fd-toolbox/constants/resource-id-constants.js';
import { resourceMetaId } from '../../meta/decorators/resource-id.js';
import { expandDescription } from '../../meta/decorators/expand-description-properties.js';
import { descriptionProperty } from '../../meta/decorators/description-property.js';
import { orderProps } from '../orders/order-props.js';
import { accessByUserId } from '../../meta/decorators/access-by-user-id.js';
import { WorkspaceResource } from '../../meta/core/resources/workspace/workspace-resource.js';
import { icon } from '../../meta/decorators/icon.js';
import { iconNames } from '../../fd-component-toolbox/icon/Icon.js';
import { searchable } from '../../meta/decorators/searchable.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x1e6a8f,_0x1b710f)=>__defProp(_0x1e6a8f,'name',{'value':_0x1b710f,'configurable':!![]}),__decorateClass=(_0x228c57,_0x22791a,_0x50bc4c,_0x59631e)=>{var _0x5a5b9c=_0x59631e>-0x1c06+0x556+0x16b1?void(0xd7*0x2b+-0x1*0x1f67+-0x3*0x192):_0x59631e?__getOwnPropDesc(_0x22791a,_0x50bc4c):_0x22791a;for(var _0x58ed67=_0x228c57['length']-(-0x52*0x26+0x86*-0x2+0xd39),_0x2f22d6;_0x58ed67>=0x355*0xb+-0xf9a+-0x11*0x13d;_0x58ed67--)if(_0x2f22d6=_0x228c57[_0x58ed67])_0x5a5b9c=(_0x59631e?_0x2f22d6(_0x22791a,_0x50bc4c,_0x5a5b9c):_0x2f22d6(_0x5a5b9c))||_0x5a5b9c;if(_0x59631e&&_0x5a5b9c)__defProp(_0x22791a,_0x50bc4c,_0x5a5b9c);return _0x5a5b9c;};let Order=class extends WorkspaceResource{['name'];['customerId'];['customer'];['storeId'];['store'];['status'];['userId'];};__name(Order,'Order'),__decorateClass([searchable()],Order['prototype'],'name',-0x2*0xee6+-0x2d6+0x2*0x1052),__decorateClass([expandDescription()],Order['prototype'],'customerId',-0xc6d+0x13bd*0x1+-0x74e),__decorateClass([expandDescription()],Order['prototype'],'storeId',-0x5*-0x64+0x1256*-0x1+0x1064),Order=__decorateClass([accessByUserId(),descriptionProperty(orderProps['name']),resourceMetaId(resourceIds['order']),icon(iconNames['fileText'])],Order);

export { Order };
