"use strict";
exports.id = 202;
exports.ids = [202];
exports.modules = {

/***/ 7202:
/***/ ((module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (/* binding */ TagTable)
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2322);
/* harmony import */ var _cromwell_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1815);
/* harmony import */ var _cromwell_core_frontend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4536);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6689);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);
/* harmony import */ var _components_entity_entityTable_EntityTable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(256);
/* harmony import */ var _constants_PageInfos__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(379);
/* harmony import */ var _helpers_customEntities__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4531);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_components_entity_entityTable_EntityTable__WEBPACK_IMPORTED_MODULE_4__, _helpers_customEntities__WEBPACK_IMPORTED_MODULE_6__]);
([_components_entity_entityTable_EntityTable__WEBPACK_IMPORTED_MODULE_4__, _helpers_customEntities__WEBPACK_IMPORTED_MODULE_6__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);







function TagTable() {
    const client = (0,_cromwell_core_frontend__WEBPACK_IMPORTED_MODULE_2__.getGraphQLClient)();
    return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_entity_entityTable_EntityTable__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
        entityCategory: _cromwell_core__WEBPACK_IMPORTED_MODULE_1__.EDBEntity.Tag,
        entityListRoute: _constants_PageInfos__WEBPACK_IMPORTED_MODULE_5__/* .tagListPageInfo.route */ .zJ.route,
        entityBaseRoute: _constants_PageInfos__WEBPACK_IMPORTED_MODULE_5__/* .tagPageInfo.baseRoute */ .O_.baseRoute,
        listLabel: "Tags",
        entityLabel: "Tag",
        nameProperty: "name",
        getMany: client.getTags,
        deleteOne: client.deleteTag,
        deleteMany: client.deleteManyTags,
        columns: [
            {
                name: "image",
                label: "Image",
                type: "Image",
                visible: true
            },
            {
                name: "name",
                label: "Name",
                type: "Simple text",
                visible: true
            },
            {
                name: "color",
                label: "Color",
                type: "Color",
                visible: true
            },
            ..._helpers_customEntities__WEBPACK_IMPORTED_MODULE_6__/* .baseEntityColumns.map */ .xz.map((col)=>{
                if (col.name === "createDate") return {
                    ...col,
                    visible: true
                };
                return {
                    ...col,
                    visible: false
                };
            })
        ]
    });
}

__webpack_async_result__();
} catch(e) { __webpack_async_result__(e); } });

/***/ })

};
;