function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
import { createStyleHook } from "../../theme/utils/genStyleHook";
var SubfieldContentStyleFunc = function SubfieldContentStyleFunc(prefix) {
  var prepareComponentToken = function prepareComponentToken(token) {
    return {
      // fontWeight: 400,
    };
  };
  return createStyleHook(prefix, function (token) {
    var prefixCls = ".".concat(prefix);
    // console.log(' new TinyColor(token.colorPrimary).setAlpha(0.1)' ,new TinyColor(token.colorPrimary).setAlpha(0.1).toRgbString(), )
    return [_defineProperty({}, prefixCls, {
      // marginBottom: token.marginMD,
      display: 'flex',
      gap: 8,
      '&.spec-content-footer-no-content': {
        display: 'none'
      },
      '&.spec-content-footer-layout-vertical,&.spec-content-footer-layout-horizontal': {},
      '&.spec-content-footer-layout-vertical': {
        flexDirection: 'column'
      },
      '&.spec-content-footer-layout-horizontal': {
        flexDirection: 'row',
        alignItems: 'center',
        '.spec-content-footer-content, .spec-content-footer-buttonGroup': {
          flex: 1
        }
      },
      '&.spec-content-footer-layout-inline': {
        flexDirection: 'row',
        flexWrap: 'wrap',
        alignItems: 'center',
        '.spec-content-footer-content, .spec-content-footer-button-group': {
          display: 'inline-flex'
        }
      },
      '&.spec-wrapper-content-footer-fixed': {
        // marginTop: 0,
        // gap: `${token.marginXS}px`,
        '&.spec-content-footer-layout-inline': {}
      },
      '.spec-content-footer-content': {},
      '.spec-content-footer-buttonGroup': {
        '&.buttonGroup-align-left': {
          textAlign: 'left'
        },
        '&.buttonGroup-align-center': {
          textAlign: 'center'
        },
        '&.buttonGroup-align-right': {
          textAlign: 'right'
        }
      }
    })];
  }, prepareComponentToken // 当前组件扩展的变量
  );
};
export default SubfieldContentStyleFunc;