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.
Files changed (107) hide show
  1. package/dist/index.cjs +289 -118
  2. package/dist/index.es.js +42420 -33860
  3. package/dist/src/LMSToolpad/components/Microservices/MicroserviceNavigationBuilder.d.ts +1 -1
  4. package/dist/src/LMSToolpad/components/Microservices/MicroserviceSubsections.d.ts +1 -1
  5. package/dist/src/LMSToolpad/components/tools/addActions.d.ts +1 -1
  6. package/dist/src/LMSToolpad/components/tools/addIcons.d.ts +1 -1
  7. package/dist/src/LMSToolpad/store/useThemeStore.d.ts +1 -1
  8. package/dist/src/index.d.ts +12 -35
  9. package/package.json +2 -1
  10. package/dist/mui-toolpad-extended-tuni.css +0 -1
  11. package/dist/src/LMSToolpad/components/Dialogs/DialogOpener.d.ts +0 -9
  12. package/dist/src/LMSToolpad/components/Dialogs/Dialogs.d.ts +0 -3
  13. package/dist/src/LMSToolpad/components/Dialogs/ExtendedDialog.d.ts +0 -8
  14. package/dist/src/LMSToolpad/components/Dialogs/FormDialog.d.ts +0 -14
  15. package/dist/src/LMSToolpad/components/Dialogs/dialogRegistry.d.ts +0 -3
  16. package/dist/src/LMSToolpad/components/Events/EventBus.d.ts +0 -34
  17. package/dist/src/LMSToolpad/components/Events/UserBus.d.ts +0 -111
  18. package/dist/src/LMSToolpad/components/Events/hooks/useCurrentUser.d.ts +0 -11
  19. package/dist/src/LMSToolpad/components/Events/hooks/useUserActions.d.ts +0 -15
  20. package/dist/src/LMSToolpad/components/Events/hooks/useUserPreferences.d.ts +0 -22
  21. package/dist/src/LMSToolpad/components/Events/index.d.ts +0 -10
  22. package/dist/src/LMSToolpad/components/Events/types.d.ts +0 -16
  23. package/dist/src/LMSToolpad/components/Events/userTypes.d.ts +0 -78
  24. package/dist/src/LMSToolpad/components/Navigation/NavigationBuilder.d.ts +0 -6
  25. package/dist/src/LMSToolpad/components/Navigation/NavigationFilter.d.ts +0 -1
  26. package/dist/src/LMSToolpad/components/Navigation/NavigationRegistry.d.ts +0 -116
  27. package/dist/src/LMSToolpad/components/Navigation/hooks/useMicroserviceNavigation.d.ts +0 -4
  28. package/dist/src/LMSToolpad/components/Navigation/hooks/useMicroserviceRoutes.d.ts +0 -6
  29. package/dist/src/LMSToolpad/components/Navigation/hooks/useNavigationSectionManager.d.ts +0 -23
  30. package/dist/src/LMSToolpad/components/Navigation/hooks/useSyncNavigationFilters.d.ts +0 -1
  31. package/dist/src/LMSToolpad/components/Navigation/store/microserviceUtils.d.ts +0 -9
  32. package/dist/src/LMSToolpad/components/Navigation/store/navigationCalculator.d.ts +0 -11
  33. package/dist/src/LMSToolpad/components/Navigation/store/sectionManager.d.ts +0 -9
  34. package/dist/src/LMSToolpad/components/Navigation/store/types.d.ts +0 -90
  35. package/dist/src/LMSToolpad/components/Navigation/store/useNavigationFilterStore.d.ts +0 -6
  36. package/dist/src/LMSToolpad/components/Navigation/store/useNavigationStore.d.ts +0 -50
  37. package/dist/src/LMSToolpad/components/Notifications/Notifications.d.ts +0 -3
  38. package/dist/src/LMSToolpad/components/Notifications/store/useNotificationsStore.d.ts +0 -22
  39. package/dist/src/LMSToolpad/utils/apiPrefix.d.ts +0 -2
  40. package/dist/src/LMSToolpad/utils/caseConverter.d.ts +0 -17
  41. package/dist/src/LMSToolpad/utils/cookieUtils.d.ts +0 -27
  42. package/dist/src/LMSToolpad/utils/parseDate.d.ts +0 -2
  43. package/dist/src/LMSToolpad/utils/slugify.d.ts +0 -1
  44. package/dist/src/common/components/index.d.ts +0 -2
  45. package/dist/src/common/components/layout/GridLayout/GridItem.d.ts +0 -17
  46. package/dist/src/common/components/layout/GridLayout/GridItemContext.d.ts +0 -26
  47. package/dist/src/common/components/layout/GridLayout/ResponsiveGridLayout.d.ts +0 -16
  48. package/dist/src/common/components/layout/GridLayout/Tools/BreakpointIndicator.d.ts +0 -8
  49. package/dist/src/common/components/layout/GridLayout/Tools/EditModeToggler.d.ts +0 -7
  50. package/dist/src/common/components/layout/GridLayout/hooks/useGridLayoutManagement.d.ts +0 -27
  51. package/dist/src/common/components/layout/GridLayout/index.d.ts +0 -12
  52. package/dist/src/common/components/layout/GridLayout/layoutStorageUtils.d.ts +0 -52
  53. package/dist/src/common/components/layout/GridLayout/layoutUtils.d.ts +0 -78
  54. package/dist/src/common/components/layout/GridLayout/store/usePanelStore.d.ts +0 -27
  55. package/dist/src/common/components/layout/GridLayout/useGridLayout.d.ts +0 -11
  56. package/dist/src/common/components/layout/index.d.ts +0 -1
  57. package/dist/src/common/components/ui/CenteredHeading/CenteredHeading.d.ts +0 -7
  58. package/dist/src/common/components/ui/CollapsingButtons/CollapsingButtons.d.ts +0 -11
  59. package/dist/src/common/components/ui/CompoundPanel/CompoundPanel.d.ts +0 -86
  60. package/dist/src/common/components/ui/LoadingScreen/LoadingScreen.d.ts +0 -2
  61. package/dist/src/common/components/ui/Panel/Expandable/Expandable.d.ts +0 -4
  62. package/dist/src/common/components/ui/Panel/Expandable/context/ExpandableContextProvider.d.ts +0 -10
  63. package/dist/src/common/components/ui/Panel/Expandable/hooks/useCollapseHandler.d.ts +0 -2
  64. package/dist/src/common/components/ui/Panel/Expandable/hooks/useExpandable.d.ts +0 -17
  65. package/dist/src/common/components/ui/Panel/Expandable/hooks/useExpansionAnimation.d.ts +0 -5
  66. package/dist/src/common/components/ui/Panel/Expandable/hooks/useInitialSetup.d.ts +0 -6
  67. package/dist/src/common/components/ui/Panel/Expandable/hooks/useResizeHandler.d.ts +0 -1
  68. package/dist/src/common/components/ui/Panel/Expandable/store/useExpandablePanelStore.d.ts +0 -7
  69. package/dist/src/common/components/ui/Panel/Main/Context/PanelContextProvider.d.ts +0 -50
  70. package/dist/src/common/components/ui/Panel/Main/Panel.d.ts +0 -3
  71. package/dist/src/common/components/ui/Panel/Main/hooks/useDimensionManagement.d.ts +0 -13
  72. package/dist/src/common/components/ui/Panel/Main/hooks/usePersistentDimensions.d.ts +0 -19
  73. package/dist/src/common/components/ui/Panel/Main/tools/BlurOverlay.d.ts +0 -6
  74. package/dist/src/common/components/ui/Panel/Main/tools/ToolsContainer.d.ts +0 -11
  75. package/dist/src/common/components/ui/Panel/Movable/DraggableItem.d.ts +0 -6
  76. package/dist/src/common/components/ui/Panel/Movable/MovablePanel.d.ts +0 -9
  77. package/dist/src/common/components/ui/Panel/Movable/MoveToggler.d.ts +0 -3
  78. package/dist/src/common/components/ui/Panel/Movable/context/MovableContextProvider.d.ts +0 -10
  79. package/dist/src/common/components/ui/Panel/Movable/hooks/usePersistentOrder.d.ts +0 -3
  80. package/dist/src/common/components/ui/Panel/Resizable/Context/ResizableContextProvider.d.ts +0 -27
  81. package/dist/src/common/components/ui/Panel/Resizable/Hooks/useResizeHandlers.d.ts +0 -26
  82. package/dist/src/common/components/ui/Panel/Resizable/Hooks/useResponsiveResize.d.ts +0 -14
  83. package/dist/src/common/components/ui/Panel/Resizable/Resizable.d.ts +0 -3
  84. package/dist/src/common/components/ui/Panel/Resizable/ResizeHandlers.d.ts +0 -7
  85. package/dist/src/common/components/ui/Panel/Resizable/ResizeIndicator.d.ts +0 -9
  86. package/dist/src/common/components/ui/Panel/Scrollable/InternalScrolling.d.ts +0 -11
  87. package/dist/src/common/components/ui/Panel/Scrollable/PaginationDots.d.ts +0 -13
  88. package/dist/src/common/components/ui/Panel/Scrollable/Scrollable.d.ts +0 -5
  89. package/dist/src/common/components/ui/Panel/Scrollable/context/ScrollerContextProvider.d.ts +0 -15
  90. package/dist/src/common/components/ui/Panel/Scrollable/hooks/useScrollControls.d.ts +0 -28
  91. package/dist/src/common/components/ui/Panel/TBR/PanelContent.d.ts +0 -24
  92. package/dist/src/common/components/ui/Panel/TBR/ResizablePanel.d.ts +0 -3
  93. package/dist/src/common/components/ui/Panel/TBR/ResizeHandlers.d.ts +0 -10
  94. package/dist/src/common/components/ui/Panel/TBR/ResizeIndicator.d.ts +0 -10
  95. package/dist/src/common/components/ui/Panel/TBR/useResizablePanel.d.ts +0 -32
  96. package/dist/src/common/components/ui/Panel/types.d.ts +0 -9
  97. package/dist/src/common/components/ui/Scroller/PaginationDots.d.ts +0 -13
  98. package/dist/src/common/components/ui/Scroller/Scroller.d.ts +0 -14
  99. package/dist/src/common/components/ui/Scroller/context/ScrollerContextProvider.d.ts +0 -15
  100. package/dist/src/common/components/ui/Scroller/hooks/useScrollControls.d.ts +0 -28
  101. package/dist/src/common/components/ui/Scroller/types.d.ts +0 -1
  102. package/dist/src/common/components/ui/SpeedDialButton/SpeedDialButton.d.ts +0 -20
  103. package/dist/src/common/components/ui/index.d.ts +0 -15
  104. package/dist/src/common/hooks/index.d.ts +0 -1
  105. package/dist/src/common/hooks/useRetry.d.ts +0 -12
  106. package/dist/src/common/index.d.ts +0 -2
  107. /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 {};
@@ -1,2 +0,0 @@
1
- export * from './components';
2
- export * from './hooks';