'use strict';
import { withIdProps } from '../../../fd-toolbox-core/types/resource-with-id.js';
import { personMeta } from './resource-meta-mother.js';
import { personProps } from '../../../level2/common/dev/props/person-props.js';

var __defProp=Object['defineProperty'],__name=(_0x10cd23,_0x5971a8)=>__defProp(_0x10cd23,'name',{'value':_0x5971a8,'configurable':!![]});const uiSettings={'displayable':{'isDisplayable':!![],'isListDisplayable':!![],'isEditDisplayable':!![],'isFilterDisplayable':!![],'isSearchable':![],'colorful':![]},'hidden':{'isDisplayable':![],'isListDisplayable':![],'isEditDisplayable':![],'isFilterDisplayable':![],'isSearchable':![],'colorful':![]},'readOnly':{'isDisplayable':!![],'isListDisplayable':!![],'isEditDisplayable':![],'isFilterDisplayable':!![],'isSearchable':![],'colorful':![]},'editOnly':{'isDisplayable':![],'isListDisplayable':![],'isEditDisplayable':!![],'isFilterDisplayable':![],'isSearchable':![],'colorful':![]}},propertySettingsMap={[withIdProps['id']]:uiSettings['hidden'],[personProps['createdDate']]:uiSettings['hidden'],[personProps['middleName']]:uiSettings['hidden'],[personProps['phoneBrand']]:uiSettings['hidden'],[personProps['workspaceId']]:uiSettings['hidden'],[personProps['workspace']]:uiSettings['hidden'],[personProps['createdByUserId']]:uiSettings['hidden'],[personProps['modifiedDate']]:uiSettings['hidden'],[personProps['modifiedByUserId']]:uiSettings['hidden'],[personProps['imageUrl']]:uiSettings['hidden'],[personProps['lastName']]:uiSettings['readOnly'],[personProps['friendCount']]:uiSettings['readOnly'],[personProps['fullName']]:uiSettings['readOnly'],[personProps['numberOfFamilyMembers']]:uiSettings['editOnly'],[personProps['personToPersonList']]:uiSettings['editOnly'],[personProps['userId']]:{...uiSettings['displayable'],'isListDisplayable':![]},[personProps['maritalStatus']]:{...uiSettings['displayable'],'colorful':!![]},[personProps['friendList']]:{...uiSettings['displayable'],'uiRelation':{'uiRelationPriority':0x1f4}}};async function personUiResourceMeta(){const _0x348970=await personMeta(),_0x26c54e=await createPersonUiPropertyMetas();return {'resourceMeta':_0x348970,'properties':_0x26c54e};}__name(personUiResourceMeta,'personUiResourceMeta');async function createPersonUiPropertyMetas(){const _0xd91cdf=await personMeta(),_0x468cb0=_0xd91cdf['properties'],_0x32dbe0={};return Object['keys'](_0x468cb0)['forEach'](_0xb37cda=>{const _0x14d36a=propertySettingsMap[_0xb37cda]??uiSettings['displayable'];_0x32dbe0[_0xb37cda]={..._0x14d36a,'name':_0xb37cda};}),_0x32dbe0;}__name(createPersonUiPropertyMetas,'createPersonUiPropertyMetas');

export { personUiResourceMeta };
