mui-toolpad-extended-tuni 3.0.3 → 3.1.0
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/dist/index.cjs +289 -118
- package/dist/index.es.js +42420 -33860
- package/dist/src/LMSToolpad/components/Microservices/MicroserviceNavigationBuilder.d.ts +1 -1
- package/dist/src/LMSToolpad/components/Microservices/MicroserviceSubsections.d.ts +1 -1
- package/dist/src/LMSToolpad/components/tools/addActions.d.ts +1 -1
- package/dist/src/LMSToolpad/components/tools/addIcons.d.ts +1 -1
- package/dist/src/LMSToolpad/store/useThemeStore.d.ts +1 -1
- package/dist/src/index.d.ts +12 -35
- package/package.json +2 -1
- package/dist/mui-toolpad-extended-tuni.css +0 -1
- package/dist/src/LMSToolpad/components/Dialogs/DialogOpener.d.ts +0 -9
- package/dist/src/LMSToolpad/components/Dialogs/Dialogs.d.ts +0 -3
- package/dist/src/LMSToolpad/components/Dialogs/ExtendedDialog.d.ts +0 -8
- package/dist/src/LMSToolpad/components/Dialogs/FormDialog.d.ts +0 -14
- package/dist/src/LMSToolpad/components/Dialogs/dialogRegistry.d.ts +0 -3
- package/dist/src/LMSToolpad/components/Events/EventBus.d.ts +0 -34
- package/dist/src/LMSToolpad/components/Events/UserBus.d.ts +0 -111
- package/dist/src/LMSToolpad/components/Events/hooks/useCurrentUser.d.ts +0 -11
- package/dist/src/LMSToolpad/components/Events/hooks/useUserActions.d.ts +0 -15
- package/dist/src/LMSToolpad/components/Events/hooks/useUserPreferences.d.ts +0 -22
- package/dist/src/LMSToolpad/components/Events/index.d.ts +0 -10
- package/dist/src/LMSToolpad/components/Events/types.d.ts +0 -16
- package/dist/src/LMSToolpad/components/Events/userTypes.d.ts +0 -78
- package/dist/src/LMSToolpad/components/Navigation/NavigationBuilder.d.ts +0 -6
- package/dist/src/LMSToolpad/components/Navigation/NavigationFilter.d.ts +0 -1
- package/dist/src/LMSToolpad/components/Navigation/NavigationRegistry.d.ts +0 -116
- package/dist/src/LMSToolpad/components/Navigation/hooks/useMicroserviceNavigation.d.ts +0 -4
- package/dist/src/LMSToolpad/components/Navigation/hooks/useMicroserviceRoutes.d.ts +0 -6
- package/dist/src/LMSToolpad/components/Navigation/hooks/useNavigationSectionManager.d.ts +0 -23
- package/dist/src/LMSToolpad/components/Navigation/hooks/useSyncNavigationFilters.d.ts +0 -1
- package/dist/src/LMSToolpad/components/Navigation/store/microserviceUtils.d.ts +0 -9
- package/dist/src/LMSToolpad/components/Navigation/store/navigationCalculator.d.ts +0 -11
- package/dist/src/LMSToolpad/components/Navigation/store/sectionManager.d.ts +0 -9
- package/dist/src/LMSToolpad/components/Navigation/store/types.d.ts +0 -90
- package/dist/src/LMSToolpad/components/Navigation/store/useNavigationFilterStore.d.ts +0 -6
- package/dist/src/LMSToolpad/components/Navigation/store/useNavigationStore.d.ts +0 -50
- package/dist/src/LMSToolpad/components/Notifications/Notifications.d.ts +0 -3
- package/dist/src/LMSToolpad/components/Notifications/store/useNotificationsStore.d.ts +0 -22
- package/dist/src/LMSToolpad/utils/apiPrefix.d.ts +0 -2
- package/dist/src/LMSToolpad/utils/caseConverter.d.ts +0 -17
- package/dist/src/LMSToolpad/utils/cookieUtils.d.ts +0 -27
- package/dist/src/LMSToolpad/utils/parseDate.d.ts +0 -2
- package/dist/src/LMSToolpad/utils/slugify.d.ts +0 -1
- package/dist/src/common/components/index.d.ts +0 -2
- package/dist/src/common/components/layout/GridLayout/GridItem.d.ts +0 -17
- package/dist/src/common/components/layout/GridLayout/GridItemContext.d.ts +0 -26
- package/dist/src/common/components/layout/GridLayout/ResponsiveGridLayout.d.ts +0 -16
- package/dist/src/common/components/layout/GridLayout/Tools/BreakpointIndicator.d.ts +0 -8
- package/dist/src/common/components/layout/GridLayout/Tools/EditModeToggler.d.ts +0 -7
- package/dist/src/common/components/layout/GridLayout/hooks/useGridLayoutManagement.d.ts +0 -27
- package/dist/src/common/components/layout/GridLayout/index.d.ts +0 -12
- package/dist/src/common/components/layout/GridLayout/layoutStorageUtils.d.ts +0 -52
- package/dist/src/common/components/layout/GridLayout/layoutUtils.d.ts +0 -78
- package/dist/src/common/components/layout/GridLayout/store/usePanelStore.d.ts +0 -27
- package/dist/src/common/components/layout/GridLayout/useGridLayout.d.ts +0 -11
- package/dist/src/common/components/layout/index.d.ts +0 -1
- package/dist/src/common/components/ui/CenteredHeading/CenteredHeading.d.ts +0 -7
- package/dist/src/common/components/ui/CollapsingButtons/CollapsingButtons.d.ts +0 -11
- package/dist/src/common/components/ui/CompoundPanel/CompoundPanel.d.ts +0 -86
- package/dist/src/common/components/ui/LoadingScreen/LoadingScreen.d.ts +0 -2
- package/dist/src/common/components/ui/Panel/Expandable/Expandable.d.ts +0 -4
- package/dist/src/common/components/ui/Panel/Expandable/context/ExpandableContextProvider.d.ts +0 -10
- package/dist/src/common/components/ui/Panel/Expandable/hooks/useCollapseHandler.d.ts +0 -2
- package/dist/src/common/components/ui/Panel/Expandable/hooks/useExpandable.d.ts +0 -17
- package/dist/src/common/components/ui/Panel/Expandable/hooks/useExpansionAnimation.d.ts +0 -5
- package/dist/src/common/components/ui/Panel/Expandable/hooks/useInitialSetup.d.ts +0 -6
- package/dist/src/common/components/ui/Panel/Expandable/hooks/useResizeHandler.d.ts +0 -1
- package/dist/src/common/components/ui/Panel/Expandable/store/useExpandablePanelStore.d.ts +0 -7
- package/dist/src/common/components/ui/Panel/Main/Context/PanelContextProvider.d.ts +0 -50
- package/dist/src/common/components/ui/Panel/Main/Panel.d.ts +0 -3
- package/dist/src/common/components/ui/Panel/Main/hooks/useDimensionManagement.d.ts +0 -13
- package/dist/src/common/components/ui/Panel/Main/hooks/usePersistentDimensions.d.ts +0 -19
- package/dist/src/common/components/ui/Panel/Main/tools/BlurOverlay.d.ts +0 -6
- package/dist/src/common/components/ui/Panel/Main/tools/ToolsContainer.d.ts +0 -11
- package/dist/src/common/components/ui/Panel/Movable/DraggableItem.d.ts +0 -6
- package/dist/src/common/components/ui/Panel/Movable/MovablePanel.d.ts +0 -9
- package/dist/src/common/components/ui/Panel/Movable/MoveToggler.d.ts +0 -3
- package/dist/src/common/components/ui/Panel/Movable/context/MovableContextProvider.d.ts +0 -10
- package/dist/src/common/components/ui/Panel/Movable/hooks/usePersistentOrder.d.ts +0 -3
- package/dist/src/common/components/ui/Panel/Resizable/Context/ResizableContextProvider.d.ts +0 -27
- package/dist/src/common/components/ui/Panel/Resizable/Hooks/useResizeHandlers.d.ts +0 -26
- package/dist/src/common/components/ui/Panel/Resizable/Hooks/useResponsiveResize.d.ts +0 -14
- package/dist/src/common/components/ui/Panel/Resizable/Resizable.d.ts +0 -3
- package/dist/src/common/components/ui/Panel/Resizable/ResizeHandlers.d.ts +0 -7
- package/dist/src/common/components/ui/Panel/Resizable/ResizeIndicator.d.ts +0 -9
- package/dist/src/common/components/ui/Panel/Scrollable/InternalScrolling.d.ts +0 -11
- package/dist/src/common/components/ui/Panel/Scrollable/PaginationDots.d.ts +0 -13
- package/dist/src/common/components/ui/Panel/Scrollable/Scrollable.d.ts +0 -5
- package/dist/src/common/components/ui/Panel/Scrollable/context/ScrollerContextProvider.d.ts +0 -15
- package/dist/src/common/components/ui/Panel/Scrollable/hooks/useScrollControls.d.ts +0 -28
- package/dist/src/common/components/ui/Panel/TBR/PanelContent.d.ts +0 -24
- package/dist/src/common/components/ui/Panel/TBR/ResizablePanel.d.ts +0 -3
- package/dist/src/common/components/ui/Panel/TBR/ResizeHandlers.d.ts +0 -10
- package/dist/src/common/components/ui/Panel/TBR/ResizeIndicator.d.ts +0 -10
- package/dist/src/common/components/ui/Panel/TBR/useResizablePanel.d.ts +0 -32
- package/dist/src/common/components/ui/Panel/types.d.ts +0 -9
- package/dist/src/common/components/ui/Scroller/PaginationDots.d.ts +0 -13
- package/dist/src/common/components/ui/Scroller/Scroller.d.ts +0 -14
- package/dist/src/common/components/ui/Scroller/context/ScrollerContextProvider.d.ts +0 -15
- package/dist/src/common/components/ui/Scroller/hooks/useScrollControls.d.ts +0 -28
- package/dist/src/common/components/ui/Scroller/types.d.ts +0 -1
- package/dist/src/common/components/ui/SpeedDialButton/SpeedDialButton.d.ts +0 -20
- package/dist/src/common/components/ui/index.d.ts +0 -15
- package/dist/src/common/hooks/index.d.ts +0 -1
- package/dist/src/common/hooks/useRetry.d.ts +0 -12
- package/dist/src/common/index.d.ts +0 -2
- /package/dist/src/{common/components/ui → LMSToolpad/components}/ThemeToggle/ThemeToggle.d.ts +0 -0
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
interface ScrollControlsOptions {
|
|
2
|
-
direction: "horizontal" | "vertical";
|
|
3
|
-
itemSize: number;
|
|
4
|
-
itemsPerPage?: number;
|
|
5
|
-
itemCount?: number;
|
|
6
|
-
}
|
|
7
|
-
export declare const useScrollControls: ({ direction: scrollAxis, itemSize, itemsPerPage, itemCount, }: ScrollControlsOptions) => {
|
|
8
|
-
containerRef: import('react').RefObject<HTMLDivElement | null>;
|
|
9
|
-
showStartButton: boolean;
|
|
10
|
-
showEndButton: boolean;
|
|
11
|
-
isDragging: boolean;
|
|
12
|
-
hasDragged: boolean;
|
|
13
|
-
setHasDragged: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
14
|
-
scroll: (scrollDirection: "start" | "end") => void;
|
|
15
|
-
handleMouseDown: (e: React.MouseEvent) => void;
|
|
16
|
-
handleMouseMove: (e: React.MouseEvent) => void;
|
|
17
|
-
handleMouseUp: (e: React.MouseEvent) => void;
|
|
18
|
-
currentPage: number;
|
|
19
|
-
totalPages: number;
|
|
20
|
-
scrollToPage: (page: number) => void;
|
|
21
|
-
disableStartButton: boolean;
|
|
22
|
-
disableEndButton: boolean;
|
|
23
|
-
handleTouchStart: (e: React.TouchEvent) => void;
|
|
24
|
-
handleTouchMove: (e: React.TouchEvent) => void;
|
|
25
|
-
handleTouchEnd: () => void;
|
|
26
|
-
canScroll: boolean;
|
|
27
|
-
};
|
|
28
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type priority = "high" | "low" | "normal";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { default as SpeedDialAction } from '@mui/material/SpeedDialAction';
|
|
3
|
-
interface SpeedDialAction {
|
|
4
|
-
icon: React.ReactNode;
|
|
5
|
-
name: string;
|
|
6
|
-
value: string;
|
|
7
|
-
}
|
|
8
|
-
interface SpeedDialButtonProps {
|
|
9
|
-
actions: SpeedDialAction[];
|
|
10
|
-
value: string;
|
|
11
|
-
direction?: "up" | "down" | "left" | "right";
|
|
12
|
-
onChange: (value: string) => void;
|
|
13
|
-
icons: {
|
|
14
|
-
[key: string]: React.ReactNode;
|
|
15
|
-
};
|
|
16
|
-
openIcon?: React.ReactNode;
|
|
17
|
-
size?: number;
|
|
18
|
-
}
|
|
19
|
-
export declare const SpeedDialButton: ({ actions, value, direction, onChange, icons, openIcon, size, }: SpeedDialButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export { default as CenteredHeading } from './CenteredHeading/CenteredHeading';
|
|
2
|
-
export { default as Scroller } from './Scroller/Scroller';
|
|
3
|
-
export { default as LoadingScreen } from './LoadingScreen/LoadingScreen';
|
|
4
|
-
export { default as CompoundPanel, Section } from './CompoundPanel/CompoundPanel';
|
|
5
|
-
export type { SectionProps } from './CompoundPanel/CompoundPanel';
|
|
6
|
-
export { ScrollerProvider, useScrollContext } from './Scroller/context/ScrollerContextProvider';
|
|
7
|
-
export type { ItemCounts } from './Scroller/context/ScrollerContextProvider';
|
|
8
|
-
export type { priority } from './Scroller/types';
|
|
9
|
-
export { CollapsingButtons } from './CollapsingButtons/CollapsingButtons';
|
|
10
|
-
export { SpeedDialButton } from './SpeedDialButton/SpeedDialButton';
|
|
11
|
-
export { default as ThemeToggle } from './ThemeToggle/ThemeToggle';
|
|
12
|
-
export { default as Panel } from './Panel/Main/Panel';
|
|
13
|
-
export { PanelProvider, usePanelContext } from './Panel/Main/Context/PanelContextProvider';
|
|
14
|
-
export type { PanelProps, PanelDimensions } from './Panel/Main/Context/PanelContextProvider';
|
|
15
|
-
export * from './Panel/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useRetry } from './useRetry';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface UseRetryProps {
|
|
2
|
-
action: () => Promise<any> | void;
|
|
3
|
-
maxAttempts?: number;
|
|
4
|
-
delay?: number;
|
|
5
|
-
successMessage?: string;
|
|
6
|
-
errorMessage?: string;
|
|
7
|
-
condition?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const useRetry: ({ action, maxAttempts, delay, successMessage, errorMessage, condition, }: UseRetryProps) => {
|
|
10
|
-
attempts: number;
|
|
11
|
-
};
|
|
12
|
-
export {};
|
/package/dist/src/{common/components/ui → LMSToolpad/components}/ThemeToggle/ThemeToggle.d.ts
RENAMED
|
File without changes
|