import * as __WEBPACK_EXTERNAL_MODULE_antd_style__ from "antd-style";
function _tagged_template_literal(strings, raw) {
    if (!raw) raw = strings.slice(0);
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    const data = _tagged_template_literal([
        "\n      position: relative;\n      display: inline-block;\n      margin-left: -24px;\n      margin-right: -34px;\n      padding: 0 34px 0 24px;\n      width: calc(100% + 58px);\n      height: 100%;\n      overflow: hidden;\n      text-overflow: ellipsis;\n      &:hover {\n        > .general-schema-designer {\n          display: block;\n        }\n      }\n      &.tb-action-link {\n        > .general-schema-designer {\n          top: -10px;\n          bottom: -10px;\n          left: -10px;\n          right: -10px;\n        }\n      }\n      > .general-schema-designer {\n        position: absolute;\n        z-index: 999;\n        top: 0;\n        bottom: 0;\n        left: 0;\n        right: 0;\n        display: none;\n        background: var(--colorBgSettingsHover);\n        border: 0;\n        pointer-events: none;\n        > .general-schema-designer-icons {\n          position: absolute;\n          right: 2px;\n          top: 2px;\n          line-height: 16px;\n          pointer-events: all;\n          .ant-space-item {\n            background-color: var(--colorSettings);\n            color: #fff;\n            line-height: 16px;\n            width: 16px;\n            padding-left: 1px;\n            align-self: stretch;\n          }\n        }\n      }\n    "
    ]);
    _templateObject = function() {
        return data;
    };
    return data;
}
function _templateObject1() {
    const data = _tagged_template_literal([
        "\n      position: relative;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      margin-left: -20px;\n      margin-right: -20px;\n      padding: 0 20px;\n      width: calc(100% + 40px);\n      height: 100%;\n      &:hover {\n        > .general-schema-designer {\n          display: block;\n        }\n      }\n      &.tb-action-link {\n        > .general-schema-designer {\n          top: -10px;\n          bottom: -10px;\n          left: -10px;\n          right: -10px;\n        }\n      }\n      > .general-schema-designer {\n        position: absolute;\n        z-index: 999;\n        top: 0;\n        bottom: 0;\n        left: 0;\n        right: 0;\n        display: none;\n        background: var(--colorBgSettingsHover);\n        border: 0;\n        pointer-events: none;\n        > .general-schema-designer-icons {\n          position: absolute;\n          right: 2px;\n          top: 2px;\n          line-height: 16px;\n          pointer-events: all;\n          .ant-space-item {\n            background-color: var(--colorSettings);\n            color: #fff;\n            line-height: 16px;\n            width: 16px;\n            padding-left: 1px;\n            align-self: stretch;\n          }\n        }\n      }\n    "
    ]);
    _templateObject1 = function() {
        return data;
    };
    return data;
}
function _templateObject2() {
    const data = _tagged_template_literal([
        "\n      .ant-menu-item:hover {\n        > .ant-menu-title-content > div {\n          .general-schema-designer {\n            display: block;\n          }\n        }\n      }\n    "
    ]);
    _templateObject2 = function() {
        return data;
    };
    return data;
}
function _templateObject3() {
    const data = _tagged_template_literal([
        "\n      height: 100%;\n      overflow-y: auto;\n      overflow-x: hidden;\n      .ant-menu-item {\n        > .ant-menu-title-content {\n          height: 100%;\n          margin-left: -24px;\n          margin-right: -16px;\n          padding: 0 16px 0 24px;\n          > div {\n            > .general-schema-designer {\n              right: 6px !important;\n            }\n          }\n        }\n      }\n      .ant-menu-submenu-title {\n        .ant-menu-title-content {\n          height: 100%;\n          margin-left: -24px;\n          margin-right: -34px;\n          padding: 0 34px 0 24px;\n          > div {\n            > .general-schema-designer {\n              right: 6px !important;\n            }\n            > span.anticon {\n              margin-right: 10px;\n            }\n          }\n        }\n      }\n    "
    ]);
    _templateObject3 = function() {
        return data;
    };
    return data;
}
function _templateObject4() {
    const data = _tagged_template_literal([
        "\n      :active {\n        background: inherit;\n      }\n    "
    ]);
    _templateObject4 = function() {
        return data;
    };
    return data;
}
function _templateObject5() {
    const data = _tagged_template_literal([
        "\n      &:hover {\n        border-radius: ",
        "px;\n        background: rgba(0, 0, 0, 0.045);\n        overflow: hidden;\n      }\n      .ant-btn {\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        justify-content: center;\n        border: none;\n        box-shadow: none;\n        padding-left: 0;\n        padding-right: 0;\n        width: 100%;\n        span {\n          display: block;\n          text-align: center;\n          font-size: ",
        "px;\n        }\n        .anticon {\n          font-size: 1.2rem;\n          margin-bottom: 0.3rem;\n          text-align: center;\n        }\n      }\n      .ant-btn-default {\n        box-shadow: none;\n      }\n      .general-schema-designer {\n        background: none;\n      }\n    "
    ]);
    _templateObject5 = function() {
        return data;
    };
    return data;
}
const useStyles = (0, __WEBPACK_EXTERNAL_MODULE_antd_style__.createStyles)((param)=>{
    let { css, token } = param;
    return {
        subMenuDesignerCss: css(_templateObject()),
        designerCss: css(_templateObject1()),
        headerMenuClass: css(_templateObject2()),
        sideMenuClass: css(_templateObject3()),
        menuItemClass: css(_templateObject4()),
        menuItem: css(_templateObject5(), token.borderRadius, token.fontSizeSM)
    };
});
export { useStyles };
