datastake-daf 0.6.683 → 0.6.685
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/layouts/index.js
CHANGED
|
@@ -6052,7 +6052,8 @@ const UserDropdownMenu = ({
|
|
|
6052
6052
|
appName = 'app',
|
|
6053
6053
|
userHelpers = {},
|
|
6054
6054
|
isDev = false,
|
|
6055
|
-
theme = {}
|
|
6055
|
+
theme = {},
|
|
6056
|
+
moduleInterfaceConfig = null
|
|
6056
6057
|
}) => {
|
|
6057
6058
|
const resizeContext = useResizeContext();
|
|
6058
6059
|
const {
|
|
@@ -6118,10 +6119,10 @@ const UserDropdownMenu = ({
|
|
|
6118
6119
|
logOut: logOut,
|
|
6119
6120
|
changeNotificationState: changeNotificationState,
|
|
6120
6121
|
appName: appName,
|
|
6121
|
-
theme: theme
|
|
6122
|
+
theme: theme,
|
|
6123
|
+
moduleInterfaceConfig: moduleInterfaceConfig
|
|
6122
6124
|
})]
|
|
6123
6125
|
}) : /*#__PURE__*/jsxRuntime.jsx(antd.Dropdown, {
|
|
6124
|
-
open: true,
|
|
6125
6126
|
trigger: "click",
|
|
6126
6127
|
placement: "bottomLeft",
|
|
6127
6128
|
rootClassName: formatClassname(['user-dropdown-layout', appName, theme.customHeaderColor && 'custom']),
|
|
@@ -8314,7 +8315,8 @@ function AppLayout({
|
|
|
8314
8315
|
appName: appName,
|
|
8315
8316
|
userHelpers: userHelpers,
|
|
8316
8317
|
isDev: isDev,
|
|
8317
|
-
theme: theme
|
|
8318
|
+
theme: theme,
|
|
8319
|
+
moduleInterfaceConfig: moduleInterfaceConfig
|
|
8318
8320
|
})
|
|
8319
8321
|
})]
|
|
8320
8322
|
})]
|
package/package.json
CHANGED
|
@@ -164,9 +164,10 @@ export default function MobileDrawer({
|
|
|
164
164
|
])}
|
|
165
165
|
style={{ width: isCollapsed ? '70px' : '250px', minWidth: isCollapsed ? 'auto' : '250px' }}
|
|
166
166
|
>
|
|
167
|
+
|
|
167
168
|
<div className="flex">
|
|
168
169
|
<div className="flex-1">
|
|
169
|
-
{mod === 'app' || !user ? null : renderModule({
|
|
170
|
+
{(mod === 'app' || !user) ? null : renderModule({
|
|
170
171
|
isCollapsed,
|
|
171
172
|
moduleInterfaceConfig
|
|
172
173
|
})}
|
|
@@ -23,6 +23,7 @@ export const UserDropdownMenu = ({
|
|
|
23
23
|
userHelpers = {},
|
|
24
24
|
isDev = false,
|
|
25
25
|
theme = {},
|
|
26
|
+
moduleInterfaceConfig = null,
|
|
26
27
|
}) => {
|
|
27
28
|
const resizeContext = useResizeContext();
|
|
28
29
|
const { windowWidth } = resizeContext || {};
|
|
@@ -85,11 +86,11 @@ export const UserDropdownMenu = ({
|
|
|
85
86
|
changeNotificationState={changeNotificationState}
|
|
86
87
|
appName={appName}
|
|
87
88
|
theme={theme}
|
|
89
|
+
moduleInterfaceConfig={moduleInterfaceConfig}
|
|
88
90
|
/>
|
|
89
91
|
</div>
|
|
90
92
|
) : (
|
|
91
93
|
<Dropdown
|
|
92
|
-
open={true}
|
|
93
94
|
trigger="click"
|
|
94
95
|
placement="bottomLeft"
|
|
95
96
|
rootClassName={formatClassname(['user-dropdown-layout', appName, theme.customHeaderColor && 'custom'])}
|