@fluxo-dev/shell-reporting 26.1.4 → 26.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.esm.js +5011 -796
- package/package.json +4 -4
- package/src/index.d.ts +2 -0
- package/src/lib/print-button/index.d.ts +2 -0
- package/src/lib/print-button/print-button-configuration.d.ts +15 -0
- package/src/lib/print-button/print-button.d.ts +18 -0
- package/src/lib/print-profile/index.d.ts +4 -0
- package/src/lib/print-profile/print-profile-browse.d.ts +5 -0
- package/src/lib/print-profile/print-profile-create.d.ts +6 -0
- package/src/lib/print-profile/print-profile-edit.d.ts +11 -0
- package/src/lib/print-profile/print-profile-users-section.d.ts +5 -0
- package/src/lib/print-profile/print-rule-condition-editor.d.ts +9 -0
- package/src/lib/print-profile/print-rule-edit.d.ts +10 -0
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxo-dev/shell-reporting",
|
|
3
|
-
"version": "26.1
|
|
3
|
+
"version": "26.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": "^26.1
|
|
11
|
-
"@fluxo-dev/state": "^26.1
|
|
12
|
-
"@fluxo-dev/ui-components": "^26.1
|
|
10
|
+
"@fluxo-dev/api-client-base": "^26.2.1",
|
|
11
|
+
"@fluxo-dev/state": "^26.2.1",
|
|
12
|
+
"@fluxo-dev/ui-components": "^26.2.1",
|
|
13
13
|
"@devexpress/analytics-core": "23.1.3",
|
|
14
14
|
"devexpress-reporting": "23.1.3",
|
|
15
15
|
"devextreme": "23.1.3",
|
package/src/index.d.ts
CHANGED
|
@@ -5,3 +5,5 @@ export { ReportDesigner } from './lib/designer';
|
|
|
5
5
|
export { FiltersPanel } from './lib/filters-panel/filters-panel';
|
|
6
6
|
export { PrintReportButton } from './lib/print-report-button/print-report-button';
|
|
7
7
|
export { PrintReportConfiguration } from './lib/print-report-button/print-report-configuration';
|
|
8
|
+
export * from './lib/print-button';
|
|
9
|
+
export * from './lib/print-profile';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface PrintButtonConfigurationProps {
|
|
2
|
+
reportScope: string;
|
|
3
|
+
reportPackageName: string;
|
|
4
|
+
reportNamespace: string;
|
|
5
|
+
reportId: string;
|
|
6
|
+
initialParameters?: {
|
|
7
|
+
key: string;
|
|
8
|
+
value: string | number | boolean | Date;
|
|
9
|
+
}[];
|
|
10
|
+
onlyPreviewMode?: boolean;
|
|
11
|
+
onCancel: () => void;
|
|
12
|
+
onPreview: (reportId: string, parameters: string) => void;
|
|
13
|
+
onPrintFinished: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare function PrintButtonConfiguration(props: PrintButtonConfigurationProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ButtonVariant } from "@mantine/core";
|
|
3
|
+
export interface PrintButtonProps {
|
|
4
|
+
reportScope: string;
|
|
5
|
+
reportPackageName: string;
|
|
6
|
+
reportNamespace: string;
|
|
7
|
+
reportId: string;
|
|
8
|
+
initialParameters?: {
|
|
9
|
+
key: string;
|
|
10
|
+
value: string | number | boolean | Date;
|
|
11
|
+
}[];
|
|
12
|
+
onlyPreviewMode?: boolean;
|
|
13
|
+
label?: string;
|
|
14
|
+
icon?: React.ReactNode;
|
|
15
|
+
variant?: string | ButtonVariant | undefined;
|
|
16
|
+
onPreview?: (reportId: string, parameters: string) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare function PrintButton(props: PrintButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { PrintProfile } from "@fluxo-dev/api-client-base";
|
|
3
|
+
import { ShellPageRef } from "@fluxo-dev/ui-components";
|
|
4
|
+
interface PrintProfileEditProps {
|
|
5
|
+
profile: PrintProfile;
|
|
6
|
+
shellPageRef?: React.RefObject<ShellPageRef>;
|
|
7
|
+
onUpdated: () => void;
|
|
8
|
+
onCancel: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function PrintProfileEdit(props: PrintProfileEditProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface PrintRuleConditionEditorProps {
|
|
2
|
+
reportFullIdentifier: string;
|
|
3
|
+
value: string;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
onChange: (value: string) => void;
|
|
6
|
+
onSupportsConditionsChange: (supportsConditions: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function PrintRuleConditionEditor({ reportFullIdentifier, value, disabled, onChange, onSupportsConditionsChange, }: PrintRuleConditionEditorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PrintRule } from "@fluxo-dev/api-client-base";
|
|
2
|
+
interface PrintRuleEditProps {
|
|
3
|
+
mode: 'create' | 'edit';
|
|
4
|
+
printProfileId: number;
|
|
5
|
+
rule?: PrintRule;
|
|
6
|
+
onSaved: () => void;
|
|
7
|
+
onCancel: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function PrintRuleEdit(props: PrintRuleEditProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|