Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-12 09:12:41 +00:00
parent a4605e311a
commit a6ae5199b0
29756 changed files with 2526222 additions and 278 deletions

30
node_modules/@ant-design/pro-layout/es/WrapContent.js generated vendored Normal file
View File

@@ -0,0 +1,30 @@
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import { ProProvider } from '@ant-design/pro-provider';
import { ErrorBoundary } from '@ant-design/pro-utils';
import { Layout } from 'antd';
import classNames from 'classnames';
import React, { useContext } from 'react';
import { jsx as _jsx } from "react/jsx-runtime";
var WrapContent = function WrapContent(props) {
var _useContext = useContext(ProProvider),
hashId = _useContext.hashId;
var style = props.style,
prefixCls = props.prefixCls,
children = props.children,
_props$hasPageContain = props.hasPageContainer,
hasPageContainer = _props$hasPageContain === void 0 ? 0 : _props$hasPageContain;
var contentClassName = classNames("".concat(prefixCls, "-content"), hashId, _defineProperty(_defineProperty({}, "".concat(prefixCls, "-has-header"), props.hasHeader), "".concat(prefixCls, "-content-has-page-container"), hasPageContainer > 0));
var ErrorComponent = props.ErrorBoundary || ErrorBoundary;
return props.ErrorBoundary === false ? /*#__PURE__*/_jsx(Layout.Content, {
className: contentClassName,
style: style,
children: children
}) : /*#__PURE__*/_jsx(ErrorComponent, {
children: /*#__PURE__*/_jsx(Layout.Content, {
className: contentClassName,
style: style,
children: children
})
});
};
export { WrapContent };