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

/***/ 5435:
/***/ ((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 */ TagPage)
/* 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_entityEdit_EntityEdit__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4342);
/* harmony import */ var _components_entity_entityEdit_helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9198);
/* harmony import */ var _constants_PageInfos__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(379);
var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_components_entity_entityEdit_EntityEdit__WEBPACK_IMPORTED_MODULE_4__, _components_entity_entityEdit_helpers__WEBPACK_IMPORTED_MODULE_5__]);
([_components_entity_entityEdit_EntityEdit__WEBPACK_IMPORTED_MODULE_4__, _components_entity_entityEdit_helpers__WEBPACK_IMPORTED_MODULE_5__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);







function TagPage() {
    const client = (0,_cromwell_core_frontend__WEBPACK_IMPORTED_MODULE_2__.getGraphQLClient)();
    return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_entity_entityEdit_EntityEdit__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
        entityCategory: _cromwell_core__WEBPACK_IMPORTED_MODULE_1__.EDBEntity.Tag,
        entityListRoute: _constants_PageInfos__WEBPACK_IMPORTED_MODULE_6__/* .tagListPageInfo.route */ .zJ.route,
        entityBaseRoute: _constants_PageInfos__WEBPACK_IMPORTED_MODULE_6__/* .tagPageInfo.baseRoute */ .O_.baseRoute,
        listLabel: "Tags",
        entityLabel: "Tag",
        defaultPageName: "tag",
        getById: client.getTagById,
        update: client.updateTag,
        create: client.createTag,
        deleteOne: client.deleteTag,
        fields: [
            {
                key: "name",
                type: "Simple text",
                label: "Name",
                required: true,
                width: {
                    sm: 6
                }
            },
            {
                key: "color",
                type: "Color",
                label: "Color",
                width: {
                    sm: 6
                }
            },
            {
                key: "description",
                type: "Text editor",
                label: "Description",
                width: {
                    sm: 6
                },
                saveValue: _components_entity_entityEdit_helpers__WEBPACK_IMPORTED_MODULE_5__/* .setValueOfTextEditorField */ .al,
                getInitialValue: _components_entity_entityEdit_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getInitialValueOfTextEditorField */ .Js,
                customGraphQlFragment: `description \n descriptionDelta`
            },
            {
                key: "image",
                type: "Image",
                label: "Image",
                width: {
                    sm: 6
                }
            }
        ]
    });
}

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

/***/ })

};
;