'use strict';
import { resourceNames } from '../../../fd-toolbox/resources/resource-names.js';
import { getDefaultEditResourceConfig, getUserSettingConfig, getProductOrStoreSettingConfig, getItemConfig, refreshDefaultEditResourceConfigs, getEmptyEditResourceConfig } from '../../meta/edit-resource/config/internal-edit-resource-configs.js';
import { defaultGlobalConfig } from '../../meta/providers/global-provider/default-config.js';
import { friendProps } from '../../common/dev/props/friend-props.js';

var __defProp=Object['defineProperty'],__name=(_0x3af7e5,_0x2ecefe)=>__defProp(_0x3af7e5,'name',{'value':_0x2ecefe,'configurable':!![]});function getEditResourceConfig(_0x4986c7){switch(_0x4986c7){case resourceNames['item']:{return getItemConfig();}case resourceNames['product']:{return getProductOrStoreSettingConfig();}case resourceNames['userSetting']:{return getUserSettingConfig();}case resourceNames['friend']:{return getFriendConfig();}default:{return getDefaultEditResourceConfig(_0x4986c7);}}}__name(getEditResourceConfig,'getEditResourceConfig');function setEditResourceConfigs(){refreshDefaultEditResourceConfigs(),defaultGlobalConfig['editResourceConfigs'][resourceNames['friend']]=getFriendConfig();}__name(setEditResourceConfigs,'setEditResourceConfigs');function getFriendConfig(){const _0x11abb8=getEmptyEditResourceConfig();return _0x11abb8['propertyConfigs']['set'](friendProps['name'],{'className':'col-span-2'}),_0x11abb8;}__name(getFriendConfig,'getFriendConfig');

export { getEditResourceConfig, getFriendConfig, setEditResourceConfigs };
