'use strict';
import { outsideExcluded } from '../../../decorators/outside-excluded.js';
import { notDisplayable } from '../../../decorators/not-displayable.js';
import { accessByUserId } from '../../../decorators/access-by-user-id.js';
import { resourceMetaId } from '../../../decorators/resource-id.js';
import { descriptionProperty } from '../../../decorators/description-property.js';
import { resourceIds } from '../../../../../fd-toolbox/constants/resource-id-constants.js';
import { unique } from '../../../decorators/unique.js';
import { uiPriority } from '../../../decorators/ui-priority.js';
import { notEditableFromOutside } from '../../../decorators/not-editable-from-outside.js';
import { notEditDisplayable } from '../../../decorators/not-edit-displayable.js';
import { userProps } from './props/user-props.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x2560bb,_0x5ae308)=>__defProp(_0x2560bb,'name',{'value':_0x5ae308,'configurable':!![]}),__decorateClass=(_0x277c6f,_0xe8934,_0x6d8ed4,_0x3d40f5)=>{var _0x4d0db8=_0x3d40f5>0x3*-0x33f+0x2c6+0x37c*0x2?void(0xa13+-0x1*0x1685+-0x426*-0x3):_0x3d40f5?__getOwnPropDesc(_0xe8934,_0x6d8ed4):_0xe8934;for(var _0x863796=_0x277c6f['length']-(-0x1b89+0x2*0x15f+0x18cc),_0x3c19c5;_0x863796>=0xef8*0x2+-0x5*0x432+-0x8f6;_0x863796--)if(_0x3c19c5=_0x277c6f[_0x863796])_0x4d0db8=(_0x3d40f5?_0x3c19c5(_0xe8934,_0x6d8ed4,_0x4d0db8):_0x3c19c5(_0x4d0db8))||_0x4d0db8;if(_0x3d40f5&&_0x4d0db8)__defProp(_0xe8934,_0x6d8ed4,_0x4d0db8);return _0x4d0db8;};let User=class{['id'];['userId'];['homeWorkspaceId'];['homeWorkspace'];['email'];['isDisabled'];['phoneNumber'];['passwordHash'];['securityStamp'];['imageUrl'];['firstName'];['lastName'];['userRoleList'];['userFeatureList'];['currentWorkspaceId'];['currentWorkspace'];['lastLoginDate'];};__name(User,'User'),__decorateClass([notDisplayable(),notEditableFromOutside()],User['prototype'],'id',-0x20ae+-0x5*-0x67f+0x1*0x35),__decorateClass([notDisplayable()],User['prototype'],'homeWorkspaceId',0x443+-0x204d+0x1c0c),__decorateClass([unique(),uiPriority(-0x1*0x1ca7+0x2*-0x96f+-0x1*-0x3115)],User['prototype'],'email',-0x1e18+-0xe3b*0x1+-0x27*-0x123),__decorateClass([outsideExcluded()],User['prototype'],'isDisabled',0x25d0+0x837+-0x2b5*0x11),__decorateClass([uiPriority(0xf27+0x20c0+-0x2df3)],User['prototype'],'phoneNumber',-0xf59*-0x2+-0x1*0x1e61+-0x1*0x4f),__decorateClass([outsideExcluded()],User['prototype'],'passwordHash',0x2509+0x465+-0x2*0x14b6),__decorateClass([outsideExcluded()],User['prototype'],'securityStamp',-0x3*-0x2f6+0x761*-0x5+-0x1*-0x1c05),__decorateClass([uiPriority(0x17*0x137+-0xc1*0x10+-0xf19)],User['prototype'],'firstName',0x502*0x6+-0x1*-0x1439+-0x3243),__decorateClass([uiPriority(0x2547+0x2099+0x1*-0x44b4)],User['prototype'],'lastName',0x5*-0x7c3+-0x1616+0x3ce7),__decorateClass([outsideExcluded()],User['prototype'],'userRoleList',0x2*-0x1231+-0x20e3+0x4547),__decorateClass([outsideExcluded()],User['prototype'],'userFeatureList',-0x1a42+0x22ca+0x2*-0x443),__decorateClass([notDisplayable()],User['prototype'],'currentWorkspaceId',-0x3b6+-0x9*-0x11c+-0x4*0x191),__decorateClass([notEditDisplayable()],User['prototype'],'lastLoginDate',-0x14*-0x1f4+0x3*0x5a7+0x1*-0x3803),User=__decorateClass([descriptionProperty(userProps['firstName']),accessByUserId(),resourceMetaId(resourceIds['user'])],User);

export { User };
