import * as __WEBPACK_EXTERNAL_MODULE__builtins_index_mjs__ from "../__builtins__/index.mjs";
const useStyles = (0, __WEBPACK_EXTERNAL_MODULE__builtins_index_mjs__.genStyleHook)('tb-association-filter-item', (token)=>{
    const { componentCls } = token;
    return {
        [componentCls]: {
            '&.SortableItem': {
                position: 'relative',
                '&:hover': {
                    '> .general-schema-designer': {
                        display: 'block'
                    }
                },
                '&.tb-form-item:hover': {
                    '> .general-schema-designer': {
                        background: 'var(--colorBgSettingsHover) !important',
                        border: '0 !important',
                        top: "-".concat(token.sizeXXS, "px !important"),
                        bottom: "-".concat(token.sizeXXS, "px !important"),
                        left: "-".concat(token.sizeXXS, "px !important"),
                        right: "-".concat(token.sizeXXS, "px !important")
                    }
                },
                '> .general-schema-designer': {
                    position: 'absolute',
                    zIndex: 999,
                    top: '0',
                    bottom: '0',
                    left: '0',
                    right: '0',
                    display: 'none',
                    border: '2px solid var(--colorBorderSettingsHover)',
                    pointerEvents: 'none',
                    '> .general-schema-designer-icons': {
                        position: 'absolute',
                        right: '2px',
                        top: '2px',
                        lineHeight: '16px',
                        pointerEvents: 'all',
                        '.ant-space-item': {
                            backgroundColor: 'var(--colorSettings)',
                            color: '#fff',
                            lineHeight: '16px',
                            width: '16px',
                            paddingLeft: '1px'
                        }
                    }
                }
            },
            '.Panel': {
                '& .ant-collapse-content-box': {
                    padding: "0 ".concat(token.paddingXS, "px !important"),
                    maxHeight: '400px',
                    overflow: 'auto'
                },
                '& .ant-collapse-header.ant-collapse-header.ant-collapse-header': {
                    background: token.colorFillQuaternary,
                    borderRadius: 0
                }
            },
            '.headerRow': {
                alignItems: 'center',
                width: '100%',
                minWidth: '0',
                height: '22px',
                flexWrap: 'nowrap'
            },
            '.headerCol': {
                flex: '1 1 auto',
                overflow: 'hidden',
                textOverflow: 'ellipsis',
                whiteSpace: 'nowrap',
                '.search': {
                    outline: 'none',
                    background: token.colorFillQuaternary,
                    width: '100%',
                    border: 'none',
                    height: '20px',
                    padding: '4px',
                    '&::placeholder': {
                        color: token.colorTextPlaceholder
                    }
                }
            },
            '.CloseOutlined': {
                color: "".concat(token.colorIcon, " !important"),
                fontSize: '11px'
            },
            '.SearchOutlined': {
                color: "".concat(token.colorIcon, " !important")
            },
            '.Tree': {
                padding: "".concat(token.padding, "px 0"),
                '.ant-tree-node-content-wrapper': {
                    overflowX: 'hidden'
                }
            }
        }
    };
});
const AssociationFilter_Item_style_rslib_entry_ = useStyles;
export { AssociationFilter_Item_style_rslib_entry_ as default };
