@fluxo-dev/shell-reporting 25.1.11 → 25.2.1
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/index.esm2.js +6 -2
- package/package.json +4 -4
- package/reports-manager.esm.js +5 -1
package/index.esm2.js
CHANGED
|
@@ -4,7 +4,7 @@ import { lazy, Suspense, forwardRef, createElement as createElement$2, useState,
|
|
|
4
4
|
import { Stack, TextInput, NumberInput, Switch, Loader, Select, Box, Group, Text, Divider, Button, Center, LoadingOverlay, Modal } from '@mantine/core';
|
|
5
5
|
import { DatePickerInput } from '@mantine/dates';
|
|
6
6
|
import { showNotification } from '@mantine/notifications';
|
|
7
|
-
import { NoData, ShellPage } from '@fluxo-dev/ui-components';
|
|
7
|
+
import { NoData, useShellLayout, ShellPage } from '@fluxo-dev/ui-components';
|
|
8
8
|
import { useParams } from 'react-router-dom';
|
|
9
9
|
|
|
10
10
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -2328,6 +2328,7 @@ const reportsNavigation = {
|
|
|
2328
2328
|
},
|
|
2329
2329
|
routes: [{
|
|
2330
2330
|
route: "reports",
|
|
2331
|
+
title: "Gestione reports",
|
|
2331
2332
|
routes: [{
|
|
2332
2333
|
route: "/",
|
|
2333
2334
|
component: jsx(SuspenseWrapper, {
|
|
@@ -5225,6 +5226,9 @@ const ReportDesigner = props => {
|
|
|
5225
5226
|
const designerRef = useRef(null);
|
|
5226
5227
|
const [designerLoaded, setDesignerLoaded] = useState(false);
|
|
5227
5228
|
const [designerInstance, setDesignerInstance] = useState(null);
|
|
5229
|
+
const {
|
|
5230
|
+
calcHeight
|
|
5231
|
+
} = useShellLayout();
|
|
5228
5232
|
const requestOptions = {
|
|
5229
5233
|
host: FluxoClientSys.Instance.clientConfig.fluxoInstanceUrl.replace('/api', ''),
|
|
5230
5234
|
getDesignerModelAction: "/DXXRD/GetDesignerModel"
|
|
@@ -5309,7 +5313,7 @@ const ReportDesigner = props => {
|
|
|
5309
5313
|
}), jsx("div", {
|
|
5310
5314
|
style: {
|
|
5311
5315
|
width: "100%",
|
|
5312
|
-
height:
|
|
5316
|
+
height: calcHeight(16)
|
|
5313
5317
|
},
|
|
5314
5318
|
children: jsx("div", {
|
|
5315
5319
|
ref: designerRef
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxo-dev/shell-reporting",
|
|
3
|
-
"version": "25.1
|
|
3
|
+
"version": "25.2.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "^18.3.1",
|
|
6
6
|
"@mantine/core": "^7.12.2",
|
|
7
7
|
"react-router-dom": "^6.11.2",
|
|
8
8
|
"react-redux": "^8.0.5",
|
|
9
9
|
"@reduxjs/toolkit": "^1.9.1",
|
|
10
|
-
"@fluxo-dev/api-client-base": "^25.1
|
|
11
|
-
"@fluxo-dev/state": "^25.1
|
|
12
|
-
"@fluxo-dev/ui-components": "^25.1
|
|
10
|
+
"@fluxo-dev/api-client-base": "^25.2.1",
|
|
11
|
+
"@fluxo-dev/state": "^25.2.1",
|
|
12
|
+
"@fluxo-dev/ui-components": "^25.2.1",
|
|
13
13
|
"@devexpress/analytics-core": "23.1.3",
|
|
14
14
|
"devexpress-reporting": "23.1.3",
|
|
15
15
|
"devextreme": "23.1.3",
|
package/reports-manager.esm.js
CHANGED
|
@@ -235,7 +235,11 @@ function ReportsManager() {
|
|
|
235
235
|
})]
|
|
236
236
|
}), jsxs(Group, {
|
|
237
237
|
children: [jsx(Button, {
|
|
238
|
-
onClick: () => navigate(r.id.toString()
|
|
238
|
+
onClick: () => navigate(r.id.toString(), {
|
|
239
|
+
state: {
|
|
240
|
+
title: `Report/${r.name}`
|
|
241
|
+
}
|
|
242
|
+
}),
|
|
239
243
|
size: 'xs',
|
|
240
244
|
children: "Modifica"
|
|
241
245
|
}), jsx(Button, {
|