@zgfe/modules-event 0.1.7-heyh.0 → 0.1.7-heyh.2
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.
|
@@ -19,7 +19,6 @@ var TopBar = function TopBar(props) {
|
|
|
19
19
|
var _useContext = useContext(EventContext),
|
|
20
20
|
panelId = _useContext.panelId,
|
|
21
21
|
afterEditTarget = _useContext.afterEditTarget,
|
|
22
|
-
enableAddScene = _useContext.enableAddScene,
|
|
23
22
|
loading = _useContext.loading,
|
|
24
23
|
onLossWarning = _useContext.onLossWarning,
|
|
25
24
|
showWarning = _useContext.showWarning,
|
|
@@ -109,7 +108,7 @@ var TopBar = function TopBar(props) {
|
|
|
109
108
|
onOk: function onOk(data) {
|
|
110
109
|
return _onOk('panel', data);
|
|
111
110
|
}
|
|
112
|
-
})),
|
|
111
|
+
})), !panelId && /*#__PURE__*/React.createElement("div", {
|
|
113
112
|
className: "".concat(classPrefix, "-scene")
|
|
114
113
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
115
114
|
disabled: !authority[100048],
|
package/es/modules/home/index.js
CHANGED
|
@@ -149,7 +149,6 @@ var ModuleEvent = function ModuleEvent(props) {
|
|
|
149
149
|
panelName: title,
|
|
150
150
|
includeToday: props.includeToday,
|
|
151
151
|
showWarning: props.showWarning,
|
|
152
|
-
enableAddScene: props.defaultValue && props.defaultValue.enableAddScene === false ? false : true,
|
|
153
152
|
afterEditTarget: props.afterEditTarget,
|
|
154
153
|
onUserDrill: props.onUserDrill,
|
|
155
154
|
onLossWarning: props.onLossWarning,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-event",
|
|
3
|
-
"version": "0.1.7-heyh.
|
|
3
|
+
"version": "0.1.7-heyh.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react": "^16.12.0 || ^17.0.0",
|
|
50
50
|
"yorkie": "^2.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "a6d558ffb7c4485f2fcd84494558c08aa8280734",
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"react-copy-to-clipboard": "^5.1.0",
|
|
55
55
|
"react-highlight": "^0.15.0"
|