prometeo-design-system 4.0.0 → 4.1.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.
Files changed (47) hide show
  1. package/dist/{CardProfile-y9Knsg26.js → CardProfile-C1F83KJV.js} +1 -1
  2. package/dist/CardProfile.es.js +1 -1
  3. package/dist/{DatePicker-6eb-0Ns5.js → DatePicker-QuBgR5DQ.js} +799 -794
  4. package/dist/DatePicker.es.js +1 -1
  5. package/dist/DialogModal.es.js +25 -22
  6. package/dist/PlainTooltip.d.ts +6 -0
  7. package/dist/PlainTooltip.es.js +72 -0
  8. package/dist/PyrionLayout.es.js +791 -742
  9. package/dist/RecurrentDatePicker.es.js +1 -1
  10. package/dist/RecurrentDatePickerRRule.es.js +1 -1
  11. package/dist/Scrollable.es.js +1 -1
  12. package/dist/Select.es.js +524 -524
  13. package/dist/SelectSearch.es.js +44 -43
  14. package/dist/TabLinks.d.ts +2 -0
  15. package/dist/TabLinks.es.js +81 -52
  16. package/dist/{badge-B1IK_-i5.js → badge-CbqYNrl4.js} +28 -28
  17. package/dist/components/DatePicker/DatePicker.d.ts +1 -0
  18. package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +2 -1
  19. package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +4 -3
  20. package/dist/components/NavigationDrawer/NavigationDrawerActions.d.ts +3 -4
  21. package/dist/components/NavigationDrawer/NavigationDrawerItemBase.d.ts +1 -0
  22. package/dist/components/NavigationDrawer/NavigationDrawerLinkItem.d.ts +3 -2
  23. package/dist/components/NavigationDrawer/NavigationDrawerNavlinks.d.ts +2 -2
  24. package/dist/components/PlainTooltip/PlainTooltip.d.ts +11 -0
  25. package/dist/components/PyrionNavigationDrawer/PLContent.d.ts +4 -4
  26. package/dist/components/PyrionNavigationDrawer/PLFooter.d.ts +3 -2
  27. package/dist/components/PyrionNavigationDrawer/PLSidebarContent.d.ts +2 -2
  28. package/dist/components/PyrionNavigationDrawer/PLayoutBase.d.ts +7 -6
  29. package/dist/components/PyrionNavigationDrawer/PyrionLayout.d.ts +15 -12
  30. package/dist/components/PyrionNavigationDrawer/index.d.ts +2 -2
  31. package/dist/components/Select/Select.d.ts +1 -0
  32. package/dist/components/TabLinks/TabLinks.d.ts +10 -1
  33. package/dist/components/TabSwitch/TabSwitch.d.ts +2 -0
  34. package/dist/exports/PlainTooltip.d.ts +2 -0
  35. package/dist/exports/TabLinks.d.ts +1 -0
  36. package/dist/hooks/useDevice.d.ts +1 -0
  37. package/dist/index.d.ts +0 -1
  38. package/dist/prometeo-design-system.es.js +50 -52
  39. package/dist/styles.css +1 -1
  40. package/dist/useDevice-vwn4GLwK.js +16 -0
  41. package/dist/useDevice.es.js +2 -11
  42. package/package.json +6 -6
  43. package/src/styles/base.css +1 -0
  44. package/dist/SwipeContainer.d.ts +0 -4
  45. package/dist/SwipeContainer.es.js +0 -185
  46. package/dist/components/SwipeContainer/SwipeContainer.d.ts +0 -19
  47. package/dist/exports/SwipeContainer.d.ts +0 -1
@@ -1,9 +1,9 @@
1
- import { NavigationDrawerActionItemProps } from '../NavigationDrawer/NavigationDrawerActionItem';
2
- import { NavigationDrawerLinkItemProps } from '../NavigationDrawer/NavigationDrawerLinkItem';
1
+ import { PyrionLayoutActionItemProps } from '../NavigationDrawer/NavigationDrawerActionItem';
2
+ import { PyrionLayoutLinkItemProps } from '../NavigationDrawer/NavigationDrawerLinkItem';
3
3
  declare const DrawerContent: import('react').MemoExoticComponent<({ navlinks, handleNavigation, allActions, activeActionId, onActionClick }: {
4
- navlinks?: NavigationDrawerLinkItemProps[];
4
+ navlinks?: PyrionLayoutLinkItemProps[];
5
5
  handleNavigation: (path: string) => void;
6
- allActions: NavigationDrawerActionItemProps[];
6
+ allActions: PyrionLayoutActionItemProps[];
7
7
  activeActionId?: string;
8
8
  onActionClick?: (id: string, payload?: any) => void;
9
9
  }) => import("react/jsx-runtime").JSX.Element>;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { TicketCardHandlerProps } from '../TicketCard';
3
- import { AuthSession, PyrionNavigationDrawerOptions, PyrionNavigationDrawerProps } from './PyrionLayout';
3
+ import { AuthSession, PyrionLayoutOptions, PyrionNavigationDrawerProps } from './PyrionLayout';
4
4
  export interface DrawerFooterProps<TAppMetadata> {
5
5
  state: PyrionNavigationDrawerProps<TAppMetadata>['state'];
6
6
  currentAppSessions: AuthSession<TAppMetadata>[];
@@ -8,7 +8,8 @@ export interface DrawerFooterProps<TAppMetadata> {
8
8
  resolveSessionSecondarySlot: (session: AuthSession<TAppMetadata>) => ReactNode | string | null;
9
9
  onSessionClick?: (session: AuthSession<TAppMetadata>) => void;
10
10
  onLogoutClick?: () => void;
11
- options?: PyrionNavigationDrawerOptions<TAppMetadata>;
11
+ onProfileClick?: (collapsed: boolean) => void;
12
+ options?: PyrionLayoutOptions<TAppMetadata>;
12
13
  currentSystemId: string;
13
14
  userOptionsControls: React.RefObject<TicketCardHandlerProps | null>;
14
15
  mobileAppSwitcherControls: React.RefObject<TicketCardHandlerProps | null>;
@@ -1,12 +1,12 @@
1
1
  import { ReactElement, ReactNode, ForwardedRef } from 'react';
2
- import { PyrionNavigationDrawerOptions } from './PyrionLayout';
2
+ import { PyrionLayoutOptions } from './PyrionLayout';
3
3
  import { NotificationsListControlsHandler } from './PLNotificationsList';
4
4
  export type PLSidebarContentHandle = {
5
5
  setActiveSection: (section: 'notifications' | 'help') => void;
6
6
  };
7
7
  export type PLSidebarContentProps<TNotificationMetadata = unknown> = {
8
8
  closeSidebar: () => void;
9
- options?: PyrionNavigationDrawerOptions<any>;
9
+ options?: PyrionLayoutOptions<any>;
10
10
  helpSection?: ReactNode | (() => ReactNode);
11
11
  initialSection?: 'notifications' | 'help';
12
12
  notificationsListControls?: React.RefObject<NotificationsListControlsHandler<TNotificationMetadata> | null>;
@@ -1,15 +1,15 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
- import { NavigationDrawerActionItemProps } from '../NavigationDrawer/NavigationDrawerActionItem';
3
- import { NavigationDrawerLinkItemProps } from '../NavigationDrawer/NavigationDrawerLinkItem';
2
+ import { PyrionLayoutActionItemProps } from '../NavigationDrawer/NavigationDrawerActionItem';
3
+ import { PyrionLayoutLinkItemProps } from '../NavigationDrawer/NavigationDrawerLinkItem';
4
4
  import { TabSwitchElement } from '../TabSwitch/TabSwitch';
5
5
  import { TicketCardHandlerProps } from '../TicketCard';
6
6
  import { NotificationsListControlsHandler } from './PLNotificationsList';
7
7
  import { PLSidebarContentHandle } from './PLSidebarContent';
8
- import { AuthSession, PyrionNavigationControls, PyrionNavigationDrawerOptions, PyrionNavigationDrawerProps } from './PyrionLayout';
8
+ import { AuthSession, PyrionNavigationControls, PyrionLayoutOptions, PyrionNavigationDrawerProps } from './PyrionLayout';
9
9
  export type TLayoutBaseProps<TAppMetadata = unknown, TNotificationMetadata = unknown> = {
10
- links?: NavigationDrawerLinkItemProps[];
10
+ links?: PyrionLayoutLinkItemProps[];
11
11
  handleNavigation: (path: string) => void;
12
- allActions: NavigationDrawerActionItemProps[];
12
+ allActions: PyrionLayoutActionItemProps[];
13
13
  activeActionId?: string;
14
14
  onActionClick?: (id: string, payload?: any) => void;
15
15
  state: PyrionNavigationDrawerProps<TAppMetadata, TNotificationMetadata>['state'];
@@ -18,7 +18,7 @@ export type TLayoutBaseProps<TAppMetadata = unknown, TNotificationMetadata = unk
18
18
  resolveSessionSecondarySlot: (session: AuthSession<TAppMetadata>) => ReactNode | string | null;
19
19
  onSessionClick?: (session: AuthSession<TAppMetadata>) => void;
20
20
  onLogoutClick?: () => void;
21
- options?: PyrionNavigationDrawerOptions<TAppMetadata>;
21
+ options?: PyrionLayoutOptions<TAppMetadata>;
22
22
  currentSystemId: string;
23
23
  userOptionsControls: React.RefObject<TicketCardHandlerProps | null>;
24
24
  mobileAppSwitcherControls: React.RefObject<TicketCardHandlerProps | null>;
@@ -30,6 +30,7 @@ export type TLayoutBaseProps<TAppMetadata = unknown, TNotificationMetadata = unk
30
30
  navigationControlsRef: React.RefObject<PyrionNavigationControls<TNotificationMetadata>>;
31
31
  notificationsListControls?: React.RefObject<NotificationsListControlsHandler<TNotificationMetadata> | null>;
32
32
  outletRef: React.RefObject<HTMLDivElement | null>;
33
+ onProfileClick?: (collapsed: boolean) => void;
33
34
  };
34
35
  type LayoutBaseComponent = <TAppMetadata = unknown, TNotificationMetadata = unknown>(props: TLayoutBaseProps<TAppMetadata, TNotificationMetadata> & {
35
36
  children?: ReactNode;
@@ -1,11 +1,11 @@
1
1
  import { default as React, ReactNode } from 'react';
2
- import { NavigationDrawerActionItemProps } from '../NavigationDrawer/NavigationDrawerActionItem';
3
- import { NavigationDrawerLinkItemProps } from '../NavigationDrawer/NavigationDrawerLinkItem';
2
+ import { PyrionLayoutActionItemProps } from '../NavigationDrawer/NavigationDrawerActionItem';
3
+ import { PyrionLayoutLinkItemProps } from '../NavigationDrawer/NavigationDrawerLinkItem';
4
+ import { NavigationDrawerSidebarProps } from '../NavigationDrawer/NavigationDrawerSidebar';
4
5
  import { NotificationCardProps } from '../NotificationCard/NotificationCard';
5
6
  import { AllOptionAccessor } from '../Shared/types';
6
7
  import { TabSwitchElement } from '../TabSwitch/TabSwitch';
7
8
  import { subImageUrlAccessor } from './PLSystemSessions';
8
- import { NavigationDrawerSidebarProps } from '../NavigationDrawer/NavigationDrawerSidebar';
9
9
  type TProduct = {
10
10
  name: string;
11
11
  domain: string;
@@ -43,7 +43,7 @@ export interface AuthSession<TAppMetadata> {
43
43
  auth_id: TAuthUser;
44
44
  metadata?: TAppMetadata;
45
45
  }
46
- export interface NavigationDrawerTabsProps {
46
+ export interface PyrionLayoutTabsProps {
47
47
  currentTabName?: string;
48
48
  customTabs?: TabSwitchElement[];
49
49
  onTabClick?: (name: string) => void;
@@ -83,22 +83,23 @@ export interface ConfigurationActionOptions {
83
83
  hideActionButton?: boolean;
84
84
  onClick: VoidFunction;
85
85
  }
86
- export interface PyrionNavigationDrawerOptions<TAppMetadata> {
86
+ export interface PyrionLayoutOptions<TAppMetadata> {
87
87
  userCardOptions?: UserCardOptions<TAppMetadata>;
88
88
  sessionCardOptions?: SessionCardOptions<TAppMetadata>;
89
89
  notificationsDrawerOptions?: NotificationsDrawerOptions;
90
90
  helpSectionDrawerOptions?: HelpSectionDrawerOptions;
91
91
  configurationActionOptions?: ConfigurationActionOptions;
92
- sidebarOptions: Pick<NavigationDrawerSidebarProps, 'modal' | 'closeOnOverlayClick'>;
92
+ sidebarOptions?: Pick<NavigationDrawerSidebarProps, 'modal' | 'closeOnOverlayClick'>;
93
+ closeDrawerOnNavigate?: boolean;
93
94
  disableDragOpen?: {
94
95
  drawer?: boolean;
95
96
  sidebar?: boolean;
96
97
  };
97
98
  }
98
99
  export interface PyrionNavigationDrawerProps<TAppMetadata, TNotificationMetadata = unknown> {
99
- links?: NavigationDrawerLinkItemProps[];
100
- actions?: NavigationDrawerActionItemProps[];
101
- tabsProps?: NavigationDrawerTabsProps;
100
+ links?: PyrionLayoutLinkItemProps[];
101
+ actions?: PyrionLayoutActionItemProps[];
102
+ tabsProps?: PyrionLayoutTabsProps;
102
103
  activeActionId?: string;
103
104
  currentSystemId: string;
104
105
  helpSection?: ReactNode | (() => ReactNode);
@@ -110,13 +111,14 @@ export interface PyrionNavigationDrawerProps<TAppMetadata, TNotificationMetadata
110
111
  sessions?: AuthSession<TAppMetadata>[];
111
112
  metadata?: TAppMetadata;
112
113
  };
113
- options?: PyrionNavigationDrawerOptions<TAppMetadata>;
114
+ options?: PyrionLayoutOptions<TAppMetadata>;
114
115
  onActionClick?: (id: string, payload?: any) => void;
115
116
  onLinkClick?: (path: string) => void;
116
117
  onSessionClick?: (session: AuthSession<TAppMetadata>) => void;
117
118
  onNavigate?: (from: string, to: string) => void;
118
119
  onSystemLogoClick?: (collapsed?: boolean) => void;
119
120
  onLogoutClick?: () => void;
121
+ onProfileClick?: (collapsed: boolean) => void;
120
122
  }
121
123
  export type PyrionNavigationControls<TNotificationMetadata = unknown> = {
122
124
  toggleCollapse?: () => void;
@@ -131,7 +133,8 @@ export type PyrionNavigationControls<TNotificationMetadata = unknown> = {
131
133
  setSidebarDragEnabled?: (enabled: boolean) => void;
132
134
  openHelp?: () => void;
133
135
  openNotifications?: () => void;
134
- showErrorModal?: (disableDrawer: boolean) => void;
136
+ showErrorModal?: (node: (ReactNode | (() => ReactNode)), disableDrawer: boolean, hideCloseButton?: boolean) => void;
137
+ closeErrorModal?: () => void;
135
138
  addNewNotification?: (notification: NotificationCardProps<TNotificationMetadata> | NotificationCardProps<TNotificationMetadata>[]) => void;
136
139
  subscribeToNotificationsUpdates?: (callback: (notifications: NotificationCardProps<TNotificationMetadata>[], count: number) => void) => () => void;
137
140
  setNotifications?: (notifications: NotificationCardProps<TNotificationMetadata>[]) => void;
@@ -139,5 +142,5 @@ export type PyrionNavigationControls<TNotificationMetadata = unknown> = {
139
142
  removeNotification?: (id: string | string[]) => void;
140
143
  };
141
144
  export declare const usePyrionNavigation: <TNotificationMetadata = unknown>() => PyrionNavigationControls<TNotificationMetadata>;
142
- declare const PyrionNavigationDrawer: <TAppMetadata = unknown, TNotificationMetadata = unknown>({ children, helpSection, state, links: navlinks, onLinkClick, onNavigate, onLogoutClick, actions, activeActionId, onActionClick, tabsProps, currentSystemId, onSessionClick, options, onSystemLogoClick }: PyrionNavigationDrawerProps<TAppMetadata, TNotificationMetadata>) => import("react/jsx-runtime").JSX.Element;
145
+ declare const PyrionNavigationDrawer: <TAppMetadata = unknown, TNotificationMetadata = unknown>({ children, helpSection, state, links: navlinks, onLinkClick, onNavigate, onLogoutClick, actions, activeActionId, onActionClick, tabsProps, currentSystemId, onSessionClick, onSystemLogoClick, onProfileClick, ...props }: PyrionNavigationDrawerProps<TAppMetadata, TNotificationMetadata>) => import("react/jsx-runtime").JSX.Element;
143
146
  export default PyrionNavigationDrawer;
@@ -1,4 +1,4 @@
1
- import { default as PyrionNavigationDrawer, PyrionNavigationDrawerProps, PyrionNavigationDrawerOptions, NavigationDrawerTabsProps, AuthSession } from './PyrionLayout';
1
+ import { default as PyrionNavigationDrawer, PyrionNavigationDrawerProps, PyrionLayoutOptions, PyrionLayoutTabsProps, AuthSession } from './PyrionLayout';
2
2
  import { NotificationCardProps } from '../NotificationCard';
3
- export { type PyrionNavigationDrawerProps, type PyrionNavigationDrawerOptions, type NavigationDrawerTabsProps, type AuthSession, type NotificationCardProps };
3
+ export { type PyrionNavigationDrawerProps, type PyrionLayoutOptions as PyrionNavigationDrawerOptions, type PyrionLayoutTabsProps as NavigationDrawerTabsProps, type AuthSession, type NotificationCardProps };
4
4
  export default PyrionNavigationDrawer;
@@ -67,6 +67,7 @@ export interface DropdownOptionsProps {
67
67
  footer?: React.ReactNode;
68
68
  loadingComponent?: React.ReactNode;
69
69
  enableGroupToggle?: boolean;
70
+ focusSearchInputOnOpen?: boolean;
70
71
  }
71
72
  export interface BaseSelectProps<T, TContext = unknown> {
72
73
  id?: string;
@@ -1,8 +1,17 @@
1
+ import { IconComponent } from '../../Icons';
2
+ import { PlainTooltipProps } from '../PlainTooltip/PlainTooltip';
1
3
  export interface TabItem {
2
4
  id: string | number;
3
5
  title: string;
4
6
  disabled?: boolean;
5
7
  description?: string;
8
+ icon?: IconComponent | React.ReactNode | (() => React.ReactNode);
9
+ iconPosition?: "left" | "right" | "top";
10
+ onIconClick?: () => void;
11
+ onIconHover?: () => void;
12
+ iconTooltipTitle?: string;
13
+ iconTooltipProps?: PlainTooltipProps;
14
+ iconSize?: number;
6
15
  }
7
16
  export interface TabLinksProps {
8
17
  readonly items: TabItem[];
@@ -13,7 +22,7 @@ export interface TabLinksProps {
13
22
  readonly activeTabClassName?: string;
14
23
  readonly indicatorClassName?: string;
15
24
  readonly animated?: boolean;
16
- readonly renderTab?: (item: TabItem, isActive: boolean, onClick: () => void) => React.ReactNode;
25
+ readonly renderTab?: (item: TabItem, isActive: boolean, onClick: () => void, onIconClick?: () => void, onIconHover?: () => void, iconTooltipTitle?: string, iconTooltipProps?: PlainTooltipProps, iconSize?: number) => React.ReactNode;
17
26
  }
18
27
  declare function TabLinks({ items, activeTab, onTabChange, className, tabClassName, activeTabClassName, indicatorClassName, animated, renderTab, }: TabLinksProps): import("react/jsx-runtime").JSX.Element;
19
28
  declare namespace TabLinks {
@@ -5,11 +5,13 @@ export interface TabSwitchElement {
5
5
  className?: string;
6
6
  onClick?: (name: string) => void;
7
7
  disabled?: boolean;
8
+ id?: string;
8
9
  }
9
10
  export interface TabsSwitchProps {
10
11
  tabs: TabSwitchElement[];
11
12
  className?: string;
12
13
  currentTabName?: string;
14
+ currentSystemId?: string;
13
15
  activeColor?: string;
14
16
  }
15
17
  declare const TabsSwitch: import('react').ForwardRefExoticComponent<TabsSwitchProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export { default } from '../components/PlainTooltip/PlainTooltip';
2
+ export type { PlainTooltipProps } from '../components/PlainTooltip/PlainTooltip';
@@ -1 +1,2 @@
1
1
  export { default } from '../components/TabLinks/TabLinks';
2
+ export type { TabLinksProps, TabItem } from '../components/TabLinks/TabLinks';
@@ -1 +1,2 @@
1
1
  export declare const useIsMobile: () => boolean;
2
+ export declare const getIsMobile: () => boolean;
package/dist/index.d.ts CHANGED
@@ -19,7 +19,6 @@ export { default as Select } from './components/Select/Select';
19
19
  export { default as ChangueAccount } from './components/Sidebar/components/changue-account';
20
20
  export { default as Spinner } from './components/Spinner/Spinner';
21
21
  export { default as Steps } from './components/Steps/Steps';
22
- export { default as SwipeContainer } from './components/SwipeContainer/SwipeContainer';
23
22
  export { default as Switch } from './components/Switch/Switch';
24
23
  export { default as DatePicker } from './components/DatePicker/DatePicker';
25
24
  export { default as RecurrentDatePicker } from './components/RecurrentDatePicker/RecurrentDatePicker';
@@ -1,6 +1,6 @@
1
1
  import { default as pa } from "./Avatar.es.js";
2
2
  import { default as ga } from "./Button.es.js";
3
- import { C as xa, a as va } from "./CardProfile-y9Knsg26.js";
3
+ import { C as xa, a as va } from "./CardProfile-C1F83KJV.js";
4
4
  import { default as wa } from "./CheckBox.es.js";
5
5
  import { default as Sa, useDialogControl as Ca } from "./DialogModal.es.js";
6
6
  import { default as ka, useDrawerDesktop as Oa } from "./DrawerDesktop.es.js";
@@ -16,34 +16,33 @@ import { default as Ga } from "./ProgressBar.es.js";
16
16
  import { default as Ha } from "./Select.es.js";
17
17
  import { default as Za } from "./Spinner.es.js";
18
18
  import { default as Ja } from "./Steps.es.js";
19
- import { default as eo } from "./SwipeContainer.es.js";
20
- import { default as io } from "./Switch.es.js";
21
- import { D as so } from "./DatePicker-6eb-0Ns5.js";
22
- import { RecurrentDatePicker as oo } from "./RecurrentDatePicker.es.js";
23
- import { RecurrentDatePickerRRule as lo } from "./RecurrentDatePickerRRule.es.js";
24
- import { Table as co, TableBody as ho, TableCaption as _o, TableCell as po, TableFooter as mo, TableHead as go, TableHeader as yo, TableRow as xo } from "./Table.es.js";
25
- import { default as bo } from "./TabLinks.es.js";
26
- import { default as To } from "./TextArea.es.js";
27
- import { default as Co } from "./Tooltip.es.js";
28
- import { default as ko } from "./Skeleton.es.js";
29
- import { default as Ro } from "./SegmentedButton.es.js";
19
+ import { default as eo } from "./Switch.es.js";
20
+ import { D as io } from "./DatePicker-QuBgR5DQ.js";
21
+ import { RecurrentDatePicker as so } from "./RecurrentDatePicker.es.js";
22
+ import { RecurrentDatePickerRRule as oo } from "./RecurrentDatePickerRRule.es.js";
23
+ import { Table as lo, TableBody as fo, TableCaption as co, TableCell as ho, TableFooter as _o, TableHead as po, TableHeader as mo, TableRow as go } from "./Table.es.js";
24
+ import { default as xo } from "./TabLinks.es.js";
25
+ import { default as bo } from "./TextArea.es.js";
26
+ import { default as To } from "./Tooltip.es.js";
27
+ import { default as Co } from "./Skeleton.es.js";
28
+ import { default as ko } from "./SegmentedButton.es.js";
30
29
  import { j as P } from "./jsx-runtime-GkKLlHH4.js";
31
30
  import rn, { useRef as _t, createContext as Hr, useContext as Kr, memo as nn, useLayoutEffect as Zr, useEffect as Ce, useState as Ge, forwardRef as Qr, useCallback as sn } from "react";
32
- import { I as Mo } from "./ImageGallery-DG9ovlQ-.js";
33
- import { default as No } from "./Image.es.js";
34
- import { default as zo, toastpyrion as Io } from "./Toast.es.js";
35
- import { default as Fo } from "./ToastProvider.es.js";
36
- import { default as Bo } from "./SelectSearch.es.js";
37
- import { default as Vo } from "./FAButton.es.js";
38
- import { default as Yo } from "./RadioButton.es.js";
31
+ import { I as Ro } from "./ImageGallery-DG9ovlQ-.js";
32
+ import { default as Mo } from "./Image.es.js";
33
+ import { default as No, toastpyrion as Eo } from "./Toast.es.js";
34
+ import { default as Io } from "./ToastProvider.es.js";
35
+ import { default as Fo } from "./SelectSearch.es.js";
36
+ import { default as Bo } from "./FAButton.es.js";
37
+ import { default as Vo } from "./RadioButton.es.js";
39
38
  import { c as et } from "./cn-B6yFEsav.js";
40
- import { T as an, B as Jr } from "./badge-B1IK_-i5.js";
39
+ import { T as an, B as Jr } from "./badge-CbqYNrl4.js";
41
40
  import { CloseNavBarDesktop as Pe } from "./Icons/CloseNavBarDesktop.es.js";
42
41
  import { motion as Ft, AnimatePresence as on } from "framer-motion";
43
- import { default as Xo } from "./OtpInput.es.js";
42
+ import { default as Yo } from "./OtpInput.es.js";
44
43
  import { useDropzone as un } from "react-dropzone";
45
- import { useIsMobile as $o } from "./useDevice.es.js";
46
- import { default as Ko } from "./DropZone.es.js";
44
+ import { u as Xo } from "./useDevice-vwn4GLwK.js";
45
+ import { default as $o } from "./DropZone.es.js";
47
46
  const ti = Hr(null), ln = ({ children: o }) => {
48
47
  const t = _t(null), e = _t(null), r = (n) => {
49
48
  n.current && t && (t.current = n.current);
@@ -2875,15 +2874,15 @@ export {
2875
2874
  va as ChangueAccount,
2876
2875
  wa as CheckBox,
2877
2876
  fa as CompanyLogo,
2878
- so as DatePicker,
2877
+ io as DatePicker,
2879
2878
  Sa as DialogModal,
2880
2879
  ka as DrawerDesktop,
2881
2880
  Da as DrawerMobile,
2882
- Ko as DropZone,
2883
- Vo as FAButton,
2881
+ $o as DropZone,
2882
+ Bo as FAButton,
2884
2883
  Na as Header,
2885
- No as Image,
2886
- Mo as ImageGallery,
2884
+ Mo as Image,
2885
+ Ro as ImageGallery,
2887
2886
  za as Input,
2888
2887
  La as InputMultiple,
2889
2888
  ta as LayoutGeneric,
@@ -2893,46 +2892,45 @@ export {
2893
2892
  la as NavbarCollapseButton,
2894
2893
  aa as NavbarLinks,
2895
2894
  na as NavigationLink,
2896
- Xo as OtpInput,
2895
+ Yo as OtpInput,
2897
2896
  Ua as Pagination,
2898
2897
  Wa as ProfilePictureUpload,
2899
2898
  Ga as ProgressBar,
2900
- Yo as RadioButton,
2901
- oo as RecurrentDatePicker,
2902
- lo as RecurrentDatePickerRRule,
2899
+ Vo as RadioButton,
2900
+ so as RecurrentDatePicker,
2901
+ oo as RecurrentDatePickerRRule,
2903
2902
  ea as SecondaryBar,
2904
- Ro as SegmentedButton,
2903
+ ko as SegmentedButton,
2905
2904
  Ha as Select,
2906
- Bo as SelectSearch,
2905
+ Fo as SelectSearch,
2907
2906
  ia as Sidebar,
2908
2907
  zs as SidebarProvider,
2909
2908
  ln as SidebarRefProvider,
2910
- ko as Skeleton,
2909
+ Co as Skeleton,
2911
2910
  Za as Spinner,
2912
2911
  Ja as Steps,
2913
- eo as SwipeContainer,
2914
- io as Switch,
2915
- bo as TabLinks,
2916
- co as Table,
2917
- ho as TableBody,
2918
- _o as TableCaption,
2919
- po as TableCell,
2920
- mo as TableFooter,
2921
- go as TableHead,
2922
- yo as TableHeader,
2923
- xo as TableRow,
2924
- To as TextArea,
2925
- zo as Toast,
2926
- Fo as ToastProvider,
2927
- Co as Tooltip,
2928
- Io as toastpyrion,
2912
+ eo as Switch,
2913
+ xo as TabLinks,
2914
+ lo as Table,
2915
+ fo as TableBody,
2916
+ co as TableCaption,
2917
+ ho as TableCell,
2918
+ _o as TableFooter,
2919
+ po as TableHead,
2920
+ mo as TableHeader,
2921
+ go as TableRow,
2922
+ bo as TextArea,
2923
+ No as Toast,
2924
+ Io as ToastProvider,
2925
+ To as Tooltip,
2926
+ Eo as toastpyrion,
2929
2927
  oa as useActionsNavbar,
2930
2928
  ha as useClickOutside,
2931
2929
  Ca as useDialogControl,
2932
2930
  Oa as useDrawerDesktop,
2933
2931
  Ma as useDrawerMobile,
2934
2932
  ca as useFileDropzone,
2935
- $o as useIsMobile,
2933
+ Xo as useIsMobile,
2936
2934
  ua as useNavbarCollapse,
2937
2935
  ra as useSidebar,
2938
2936
  ei as useSidebarContext