@ant-design/pro-components 2.0.0-experimental.25 → 2.0.0-experimental.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.js +13 -20
- package/dist/components.min.js +1 -1
- package/es/version.js +10 -10
- package/package.json +2 -2
package/dist/components.js
CHANGED
|
@@ -72697,7 +72697,7 @@ var PageContainer = function PageContainer(props) {
|
|
|
72697
72697
|
|
|
72698
72698
|
return dom;
|
|
72699
72699
|
}, [props.waterMarkProps, value.waterMarkProps, loadingDom, content]);
|
|
72700
|
-
var containerClassName = classnames_default()(basePageContainer, hashId, className, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(basePageContainer, "-
|
|
72700
|
+
var containerClassName = classnames_default()(basePageContainer, hashId, className, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(basePageContainer, "-ghost"), true), defineProperty_defineProperty(_classNames, "".concat(basePageContainer, "-with-footer"), footer), defineProperty_defineProperty(_classNames, "".concat(basePageContainer, "-with-affix"), fixedHeader && pageHeaderDom), _classNames));
|
|
72701
72701
|
var token = (0,external_React_.useContext)(ProLayoutContext);
|
|
72702
72702
|
return wrapSSR((0,jsx_runtime.jsxs)(ConfigProviderWrap, {
|
|
72703
72703
|
children: [(0,jsx_runtime.jsxs)("div", {
|
|
@@ -79702,13 +79702,10 @@ var useCurrentMenuLayoutProps = function useCurrentMenuLayoutProps(currentMenu)
|
|
|
79702
79702
|
|
|
79703
79703
|
|
|
79704
79704
|
var WrapContent = function WrapContent(props) {
|
|
79705
|
-
var _classNames;
|
|
79706
|
-
|
|
79707
79705
|
var style = props.style,
|
|
79708
79706
|
prefixCls = props.prefixCls,
|
|
79709
|
-
children = props.children
|
|
79710
|
-
|
|
79711
|
-
var contentClassName = classnames_default()("".concat(prefixCls, "-content"), (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-has-header"), props.hasHeader), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-content-has-margin"), !disableContentMargin), _classNames));
|
|
79707
|
+
children = props.children;
|
|
79708
|
+
var contentClassName = classnames_default()("".concat(prefixCls, "-content"), defineProperty_defineProperty({}, "".concat(prefixCls, "-has-header"), props.hasHeader));
|
|
79712
79709
|
var ErrorComponent = props.ErrorBoundary || ErrorBoundary;
|
|
79713
79710
|
return props.ErrorBoundary === false ? (0,jsx_runtime.jsx)(external_antd_.Layout.Content, {
|
|
79714
79711
|
className: contentClassName,
|
|
@@ -79905,8 +79902,6 @@ var BaseProLayout = function BaseProLayout(props) {
|
|
|
79905
79902
|
route = _ref3.route,
|
|
79906
79903
|
defaultCollapsed = _ref3.defaultCollapsed,
|
|
79907
79904
|
style = _ref3.style,
|
|
79908
|
-
_ref3$disableContentM = _ref3.disableContentMargin,
|
|
79909
|
-
disableContentMargin = _ref3$disableContentM === void 0 ? true : _ref3$disableContentM,
|
|
79910
79905
|
propsSiderWidth = _ref3.siderWidth,
|
|
79911
79906
|
menu = _ref3.menu,
|
|
79912
79907
|
siderMenuType = _ref3.siderMenuType,
|
|
@@ -80177,7 +80172,6 @@ var BaseProLayout = function BaseProLayout(props) {
|
|
|
80177
80172
|
hasHeader: !!headerDom,
|
|
80178
80173
|
siderWidth: leftSiderWidth,
|
|
80179
80174
|
hasFooter: !!footerDom,
|
|
80180
|
-
disableContentMargin: disableContentMargin,
|
|
80181
80175
|
hasFooterToolbar: hasFooterToolbar,
|
|
80182
80176
|
setHasFooterToolbar: setHasFooterToolbar,
|
|
80183
80177
|
pageTitleInfo: pageTitleInfo,
|
|
@@ -80200,7 +80194,6 @@ var BaseProLayout = function BaseProLayout(props) {
|
|
|
80200
80194
|
style: genLayoutStyle,
|
|
80201
80195
|
className: context.getPrefixCls('layout'),
|
|
80202
80196
|
children: [headerDom, (0,jsx_runtime.jsx)(WrapContent, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
|
|
80203
|
-
disableContentMargin: disableContentMargin,
|
|
80204
80197
|
autoClearCache: false,
|
|
80205
80198
|
isChildrenLayout: isChildrenLayout
|
|
80206
80199
|
}, rest), {}, {
|
|
@@ -106863,17 +106856,17 @@ function BaseProList(props) {
|
|
|
106863
106856
|
/* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
|
|
106864
106857
|
;// CONCATENATED MODULE: ./packages/components/src/version.ts
|
|
106865
106858
|
var version_version = {
|
|
106866
|
-
"@ant-design/pro-card": "2.0.0-experimental.
|
|
106867
|
-
"@ant-design/pro-components": "2.0.0-experimental.
|
|
106868
|
-
"@ant-design/pro-descriptions": "2.0.0-experimental.
|
|
106869
|
-
"@ant-design/pro-field": "2.0.0-experimental.
|
|
106870
|
-
"@ant-design/pro-form": "2.0.0-experimental.
|
|
106871
|
-
"@ant-design/pro-layout": "7.0.0-experimental.
|
|
106872
|
-
"@ant-design/pro-list": "2.0.0-experimental.
|
|
106873
|
-
"@ant-design/pro-provider": "2.0.0-experimental.
|
|
106859
|
+
"@ant-design/pro-card": "2.0.0-experimental.15",
|
|
106860
|
+
"@ant-design/pro-components": "2.0.0-experimental.25",
|
|
106861
|
+
"@ant-design/pro-descriptions": "2.0.0-experimental.15",
|
|
106862
|
+
"@ant-design/pro-field": "2.0.0-experimental.15",
|
|
106863
|
+
"@ant-design/pro-form": "2.0.0-experimental.15",
|
|
106864
|
+
"@ant-design/pro-layout": "7.0.0-experimental.25",
|
|
106865
|
+
"@ant-design/pro-list": "2.0.0-experimental.16",
|
|
106866
|
+
"@ant-design/pro-provider": "2.0.0-experimental.10",
|
|
106874
106867
|
"@ant-design/pro-skeleton": "2.0.0-experimental.7",
|
|
106875
|
-
"@ant-design/pro-table": "3.0.0-experimental.
|
|
106876
|
-
"@ant-design/pro-utils": "2.0.0-experimental.
|
|
106868
|
+
"@ant-design/pro-table": "3.0.0-experimental.16",
|
|
106869
|
+
"@ant-design/pro-utils": "2.0.0-experimental.15"
|
|
106877
106870
|
};
|
|
106878
106871
|
;// CONCATENATED MODULE: ./packages/components/src/index.tsx
|
|
106879
106872
|
|