"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7247],{47247:function(e,t,l){l.r(t),l.d(t,{default:function(){return v}});var i=l(85333),n=l(6692),a=l(8226),u=l(52322),r=l(63756),o=l(98317);l(2784);var s=l(1441),b=l(90379),c=l(74531);function v(){var e,t,l=(0,o.getGraphQLClient)();return(0,u.jsx)(s.Z,{entityCategory:r.EDBEntity.Attribute,entityListRoute:b.Cz.route,entityBaseRoute:b.HT.baseRoute,listLabel:"Attributes",entityLabel:"Attribute",getMany:l.getAttributes,deleteOne:l.deleteAttribute,deleteMany:l.deleteManyAttributes,columns:[{name:"key",label:"Key",type:"Simple text",visible:!0},{name:"title",label:"Title",type:"Simple text",visible:!0},{name:"values",label:"Values",type:"Simple text",visible:!0,disableSearch:!0,disableSort:!0,customGraphQlProperty:{values:{id:!0,value:!0,title:!0}},getValueView:function(t){return null==t?void 0:t.map(function(t){return null!==(e=t.title)&&void 0!==e?e:t.value}).join(", ")},getTooltipValueView:function(e){return null==e?void 0:e.map(function(e){return null!==(t=e.title)&&void 0!==t?t:e.value}).join(", ")}},{name:"icon",label:"Icon",type:"Image",visible:!0},{name:"required",label:"Required",type:"Checkbox",searchOptions:[{label:"Required",value:!0},{label:"Optional",value:!1}],visible:!0}].concat((0,a._)(c.xz.map(function(e){return"createDate"===e.name?(0,n._)((0,i._)({},e),{visible:!0}):(0,n._)((0,i._)({},e),{visible:!1})})))})}}}]);