andoncloud-station-assignment-widget 1.0.1 → 1.0.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.
@@ -8,6 +8,7 @@ interface OperatorCardProps {
8
8
  draggableId: string;
9
9
  showPresence?: boolean;
10
10
  presenceStatus?: PresenceStatusEnum;
11
+ onRemove?: () => void;
11
12
  }
12
13
  interface DraggingOperatorCardProps {
13
14
  provided: DraggableProvided;
@@ -2,6 +2,9 @@ import React from 'react';
2
2
  import { ListWorkplaceAssignments_WorkplaceWithAssignment } from 'andoncloud-dashboard-toolkit';
3
3
  interface WorkplaceColumnProps {
4
4
  assignment: ListWorkplaceAssignments_WorkplaceWithAssignment;
5
+ registerRef?: (el: HTMLDivElement | null) => void;
6
+ frozenHeight?: number;
7
+ onRemoveOperator?: (userId: string) => void;
5
8
  }
6
9
  declare const WorkplaceColumn: React.FC<WorkplaceColumnProps>;
7
10
  export default WorkplaceColumn;
@@ -1,5 +1,5 @@
1
1
  import { SxProps, Theme } from '@mui/material';
2
- export declare const makeRootStyles: (isOvercapacity: boolean) => SxProps<Theme>;
2
+ export declare const makeRootStyles: (isOvercapacity: boolean, frozenHeight?: number) => SxProps<Theme>;
3
3
  declare const styles: Record<string, SxProps<Theme>>;
4
4
  export declare const makeStatusBadgeStyles: (status: "missing" | "overcapacity" | "ok") => SxProps<Theme>;
5
5
  export default styles;
@@ -2,6 +2,9 @@ import React from 'react';
2
2
  import { ViewState } from '@/types';
3
3
  interface NavigationProps {
4
4
  viewState: ViewState;
5
+ departmentName?: string;
6
+ canPrev?: boolean;
7
+ canNext?: boolean;
5
8
  onNavigate: (direction: 'prev' | 'next') => void;
6
9
  }
7
10
  declare const Navigation: React.FC<NavigationProps>;