@fluxo-dev/shell-reporting 26.1.5 → 26.2.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.
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@fluxo-dev/shell-reporting",
3
- "version": "26.1.5",
3
+ "version": "26.2.2",
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.5",
11
- "@fluxo-dev/state": "^26.1.5",
12
- "@fluxo-dev/ui-components": "^26.1.5",
10
+ "@fluxo-dev/api-client-base": "^26.2.2",
11
+ "@fluxo-dev/state": "^26.2.2",
12
+ "@fluxo-dev/ui-components": "^26.2.2",
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,2 @@
1
+ export * from './print-button';
2
+ export * from './print-button-configuration';
@@ -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,4 @@
1
+ export * from './print-profile-browse';
2
+ export * from './print-profile-create';
3
+ export * from './print-profile-edit';
4
+ export * from './print-rule-edit';
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { ShellPageRef } from '@fluxo-dev/ui-components';
3
+ export declare function PrintProfileBrowse(props: {
4
+ shellPageRef?: React.RefObject<ShellPageRef>;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ interface PrintProfileCreateProps {
2
+ onCreated: () => void;
3
+ onCancel: () => void;
4
+ }
5
+ export declare function PrintProfileCreate(props: PrintProfileCreateProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -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,5 @@
1
+ interface PrintProfileUsersSectionProps {
2
+ printProfileId: number;
3
+ }
4
+ export declare function PrintProfileUsersSection(props: PrintProfileUsersSectionProps): import("react/jsx-runtime").JSX.Element;
5
+ 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 {};