@zgfe/business-lib 1.1.7-path.2 → 1.1.7-path.3

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.
@@ -3,5 +3,6 @@ declare const DemoContent: React.FC<{
3
3
  children?: ReactNode;
4
4
  needMeta?: boolean;
5
5
  currentApp?: number;
6
+ isDemo?: boolean;
6
7
  }>;
7
8
  export default DemoContent;
@@ -51,7 +51,8 @@ function ajax(url, options) {
51
51
  var DemoContent = function DemoContent(_ref3) {
52
52
  var children = _ref3.children,
53
53
  currentApp = _ref3.currentApp,
54
- needMeta = _ref3.needMeta;
54
+ needMeta = _ref3.needMeta,
55
+ isDemo = _ref3.isDemo;
55
56
 
56
57
  var _useState = useState([]),
57
58
  _useState2 = _slicedToArray(_useState, 2),
@@ -188,7 +189,8 @@ var DemoContent = function DemoContent(_ref3) {
188
189
  eventGroupList: store === null || store === void 0 ? void 0 : store.eventGroupList,
189
190
  userPropList: store === null || store === void 0 ? void 0 : store.userPropList,
190
191
  eventEnvList: store === null || store === void 0 ? void 0 : store.envPropList,
191
- userGroupList: userGroups
192
+ userGroupList: userGroups,
193
+ isDemo: isDemo
192
194
  }
193
195
  }, children));
194
196
  };
@@ -23,7 +23,8 @@ var DemoWrapper = function DemoWrapper(_ref) {
23
23
  var children = _ref.children,
24
24
  className = _ref.className,
25
25
  defaultApp = _ref.defaultApp,
26
- needMeta = _ref.needMeta;
26
+ needMeta = _ref.needMeta,
27
+ isDemo = _ref.isDemo;
27
28
 
28
29
  var _useState = useState(true),
29
30
  _useState2 = _slicedToArray(_useState, 2),
@@ -74,7 +75,8 @@ var DemoWrapper = function DemoWrapper(_ref) {
74
75
  className: className
75
76
  }, /*#__PURE__*/React.createElement(DemoContent, {
76
77
  currentApp: appId,
77
- needMeta: needMeta
78
+ needMeta: needMeta,
79
+ isDemo: isDemo
78
80
  }, children));
79
81
  };
80
82
 
@@ -4,6 +4,7 @@ declare namespace DemoWrapperTypes {
4
4
  className?: string;
5
5
  defaultApp?: number;
6
6
  needMeta?: boolean;
7
+ isDemo?: boolean;
7
8
  children?: ReactNode;
8
9
  }
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.1.7-path.2",
3
+ "version": "1.1.7-path.3",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -60,5 +60,5 @@
60
60
  "react": "^16.12.0 || ^17.0.0",
61
61
  "yorkie": "^2.0.0"
62
62
  },
63
- "gitHead": "95422f3e7c8cecda1260307f999c7dfa18eeac28"
63
+ "gitHead": "78eee745228df2d67ce4d30f4d7b77fd8372c9ca"
64
64
  }