zmdms-webui 2.9.2 → 2.9.4

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.
@@ -27,6 +27,8 @@ interface IProps {
27
27
  title?: React__default.ReactNode;
28
28
  /** 标题子元素 */
29
29
  titleChildren?: React__default.ReactNode;
30
+ /** 是否隐藏底部 */
31
+ hideFrame?: boolean;
30
32
  }
31
33
  declare const ContainerButtonWrap: React__default.FC<{
32
34
  children?: React__default.ReactNode;
@@ -16,7 +16,7 @@ var ContainerLoading = function (_a) {
16
16
  className: "ztxk-container__loading", style: { display: loading ? "flex" : "none" } }));
17
17
  };
18
18
  var Container = function (props) {
19
- var className = props.className, style = props.style, isFlex = props.isFlex, children = props.children, loading = props.loading, footerDom = props.footerDom, leftContent = props.leftContent, defaultLeftOpen = props.defaultLeftOpen, defaultLeftWidth = props.defaultLeftWidth, leftContentOut = props.leftContentOut, leftContentProps = props.leftContentProps, title = props.title, titleChildren = props.titleChildren;
19
+ var className = props.className, style = props.style, isFlex = props.isFlex, children = props.children, loading = props.loading, footerDom = props.footerDom, leftContent = props.leftContent, defaultLeftOpen = props.defaultLeftOpen, defaultLeftWidth = props.defaultLeftWidth, leftContentOut = props.leftContentOut, leftContentProps = props.leftContentProps, title = props.title, titleChildren = props.titleChildren, hideFrame = props.hideFrame;
20
20
  var containerRef = useRef(null);
21
21
  var leftContentContainerRef = useRef(null);
22
22
  var classes = classNames("ztxk-container__content", className, {
@@ -26,7 +26,7 @@ var Container = function (props) {
26
26
  var titleContainerClasses = classNames("ztxk-container__content--main", {
27
27
  "ztxk-container__content--main--flex": isFlex,
28
28
  });
29
- return (jsxs("div", __assign({ className: "ztxk-container", ref: containerRef, style: style }, { children: [!leftContentOut && leftContent ? (jsxs(LeftContentMemo.Wrap, __assign({ containerRef: leftContentContainerRef }, { children: [leftContent && (jsx(LeftContentMemo, __assign({ containerRef: leftContentContainerRef, defaultLeftOpen: defaultLeftOpen, width: defaultLeftWidth, isShow: true, showIcon: true }, leftContentProps, { children: leftContent }))), jsx(ContainerLoading, { loading: loading }), jsx("div", __assign({ className: classes }, { children: title ? (jsxs(Fragment, { children: [jsx(TitleCom, __assign({ title: title, bordered: true, whiteBg: true }, { children: titleChildren })), jsx("div", __assign({ className: titleContainerClasses }, { children: children }))] })) : (children) }))] }))) : (jsxs(Fragment, { children: [leftContent && (jsx(LeftContentMemo, __assign({ containerRef: containerRef, defaultLeftOpen: defaultLeftOpen, width: defaultLeftWidth, isShow: true, showIcon: true }, leftContentProps, { children: leftContent }))), jsx(ContainerLoading, { loading: loading }), jsx("div", __assign({ className: classes }, { children: title ? (jsxs(Fragment, { children: [jsx(TitleCom, __assign({ title: title, bordered: true, whiteBg: true }, { children: titleChildren })), jsx("div", __assign({ className: titleContainerClasses }, { children: children }))] })) : (children) }))] })), jsx(Footer, { footerDom: footerDom })] })));
29
+ return (jsxs("div", __assign({ className: "ztxk-container", ref: containerRef, style: style }, { children: [!leftContentOut && leftContent ? (jsxs(LeftContentMemo.Wrap, __assign({ containerRef: leftContentContainerRef }, { children: [leftContent && (jsx(LeftContentMemo, __assign({ containerRef: leftContentContainerRef, defaultLeftOpen: defaultLeftOpen, width: defaultLeftWidth, isShow: true, showIcon: true }, leftContentProps, { children: leftContent }))), jsx(ContainerLoading, { loading: loading }), jsx("div", __assign({ className: classes }, { children: title ? (jsxs(Fragment, { children: [jsx(TitleCom, __assign({ title: title, bordered: true, whiteBg: true }, { children: titleChildren })), jsx("div", __assign({ className: titleContainerClasses }, { children: children }))] })) : (children) }))] }))) : (jsxs(Fragment, { children: [leftContent && (jsx(LeftContentMemo, __assign({ containerRef: containerRef, defaultLeftOpen: defaultLeftOpen, width: defaultLeftWidth, isShow: true, showIcon: true }, leftContentProps, { children: leftContent }))), jsx(ContainerLoading, { loading: loading }), jsx("div", __assign({ className: classes }, { children: title ? (jsxs(Fragment, { children: [jsx(TitleCom, __assign({ title: title, bordered: true, whiteBg: true }, { children: titleChildren })), jsx("div", __assign({ className: titleContainerClasses }, { children: children }))] })) : (children) }))] })), hideFrame ? null : jsx(Footer, { footerDom: footerDom })] })));
30
30
  };
31
31
  var ContainerButtonWrap = memo(function (_a) {
32
32
  var children = _a.children, isMarginTop = _a.isMarginTop, className = _a.className, isFlex = _a.isFlex, flexDirection = _a.flexDirection, flexJustify = _a.flexJustify, style = _a.style;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "2.9.2",
3
+ "version": "2.9.4",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",