@moh-sso/report-scheduler 0.6.0 → 0.6.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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Portal module for scheduling reports that are defined and generated by Health BI.
4
4
 
5
5
  - Frontend: `frontend/apps/report-scheduler`, mounted at `/apps/dwh/report-scheduler`.
6
- - Backend: `backend/internal/adapters/modules/report_scheduler`.
6
+ - Backend: `backend/modules/report-scheduler`.
7
7
  - Parent system: `data-statistics`.
8
8
  - Access role: `data-statistics:report-scheduler_access`.
9
9
 
@@ -46,7 +46,7 @@ The `dwh_visualization` scheduler adapter uses the application base
46
46
  Health Portal Keycloak realm. Users retain their
47
47
  portal session and module permissions. Background jobs use a dedicated backend
48
48
  Keycloak service account with automatically refreshed bearer tokens. See the
49
- [backend configuration and contract](../../../backend/internal/adapters/modules/report_scheduler/README.md).
49
+ [backend configuration and contract](../../../docs/scheduler-backend.md).
50
50
 
51
51
  The form loads report detail before saving and offers only supported periods and
52
52
  formats. The current adapter supports PDF/CSV and whole calendar periods in
@@ -1,10 +1,11 @@
1
1
  import { type RefObject } from "react";
2
2
  type FocusTrapOptions = {
3
3
  active: boolean;
4
+ trapFocus?: boolean;
4
5
  containerRef: RefObject<HTMLElement | null>;
5
6
  restoreFocus?: boolean;
6
7
  initialFocusRef?: RefObject<HTMLElement | HTMLButtonElement | null>;
7
8
  initialFocusSelector?: string;
8
9
  };
9
- export declare function useFocusTrap({ active, containerRef, restoreFocus, initialFocusRef, initialFocusSelector, }: FocusTrapOptions): void;
10
+ export declare function useFocusTrap({ active, trapFocus, containerRef, restoreFocus, initialFocusRef, initialFocusSelector, }: FocusTrapOptions): void;
10
11
  export {};
@@ -1,6 +1,7 @@
1
1
  import type { PanelSize } from "./header-panel.context";
2
2
  type Props = {
3
3
  isOpen: boolean;
4
+ dockOnDesktop?: boolean;
4
5
  title?: string;
5
6
  content?: React.ReactNode;
6
7
  onClose: () => void;
@@ -13,5 +14,5 @@ type Props = {
13
14
  maximizable?: boolean;
14
15
  defaultMaximized?: boolean;
15
16
  };
16
- export declare function ReusableHeaderPanel({ isOpen, title, content, onClose, size, primaryActionLabel, secondaryActionLabel, onPrimaryAction, onSecondaryAction, disablePrimaryAction, maximizable, defaultMaximized, }: Props): import("react").JSX.Element;
17
+ export declare function ReusableHeaderPanel({ isOpen, dockOnDesktop, title, content, onClose, size, primaryActionLabel, secondaryActionLabel, onPrimaryAction, onSecondaryAction, disablePrimaryAction, maximizable, defaultMaximized, }: Props): import("react").JSX.Element;
17
18
  export {};
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  export type PanelSize = "sm" | "md" | "lg";
3
3
  type OpenPanelOptions = {
4
+ dockOnDesktop?: boolean;
4
5
  title?: string;
5
6
  content: React.ReactNode;
6
7
  size?: PanelSize;
@@ -16,8 +17,9 @@ type HeaderPanelContextType = {
16
17
  openPanel: (opts: OpenPanelOptions) => void;
17
18
  closePanel: () => void;
18
19
  };
19
- export declare function HeaderPanelProvider({ children }: {
20
+ export declare function HeaderPanelProvider({ children, dockOnDesktop, }: {
20
21
  children: React.ReactNode;
22
+ dockOnDesktop?: boolean;
21
23
  }): React.JSX.Element;
22
24
  export declare function useHeaderPanel(): HeaderPanelContextType;
23
25
  export {};
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "import": "./dist/types.js"
26
26
  }
27
27
  },
28
- "version": "0.6.0",
28
+ "version": "0.6.1",
29
29
  "license": "UNLICENSED",
30
30
  "module": "./dist/index.js",
31
31
  "files": [
@@ -42,10 +42,10 @@
42
42
  "access": "public"
43
43
  },
44
44
  "dependencies": {
45
- "@moh-sso/api": "^1.5.0",
46
- "@moh-sso/auth": "^1.5.0",
47
- "@moh-sso/microfrontend": "^1.5.0",
48
- "@moh-sso/ui": "^1.5.0"
45
+ "@moh-sso/api": "^1.6.0",
46
+ "@moh-sso/auth": "^1.6.0",
47
+ "@moh-sso/microfrontend": "^1.6.0",
48
+ "@moh-sso/ui": "^1.6.0"
49
49
  },
50
50
  "private": false,
51
51
  "peerDependencies": {