@codebit-programando-solucoes/codebit-web-antd 1.1.24 → 1.1.26

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.
@@ -7,14 +7,14 @@ export interface LoggedMainContainerProps {
7
7
  }
8
8
 
9
9
  /**
10
- * Container component with sidebar navigation for logged-in users.
10
+ * Container component with sidebar navigation for logged‑in users.
11
11
  *
12
12
  * Provides a responsive layout with:
13
13
  *
14
14
  * - Collapsible sidebar navigation (desktop) or drawer menu (mobile)
15
15
  * - Optional secondary sidebar/drawer for additional content
16
16
  * - Dynamic theme switching (light/dark mode)
17
- * - Role-based menu filtering
17
+ * - Role‑based menu filtering
18
18
  * - User logout functionality
19
19
  * - Application version display
20
20
  *
@@ -1,16 +1,12 @@
1
1
  import * as React from 'react';
2
+ import type { MenuProps } from 'antd';
3
+ import type { ItemType } from 'antd/es/menu/interface';
2
4
 
3
5
  /** Menu item configuration */
4
- export interface MenuItem {
5
- /** Unique identifier for the menu item */
6
- key: string;
7
- /** Icon component to display */
8
- icon?: React.ReactNode;
9
- /** Display text for the menu item */
10
- label: string;
6
+ export type MenuItem = ItemType & {
11
7
  /** Array of roles that can access this item */
12
8
  roles?: string[];
13
- }
9
+ };
14
10
 
15
11
  /** User object type */
16
12
  export interface LoggedUser {
@@ -49,10 +45,19 @@ export interface CodebitConfigContextType {
49
45
  * boolean value.
50
46
  */
51
47
  showVersion: (user?: LoggedUser) => boolean;
52
- /** A function that returns optional secondary sidebar content based on the current user's context. Takes an optional `LoggedUser` object as parameter and returns React nodes. */
48
+ /** Optional secondary sidebar content generator. */
53
49
  secondarySidebar?: (user?: LoggedUser) => React.ReactNode | null;
54
50
  /** Width of the secondary sidebar in pixels (default: 280). */
55
51
  secondarySidebarWidth?: number;
52
+ /** Array of menu items displayed above the logout button in the bottom menu. */
53
+ bottomMenuItems?: MenuProps['items'];
54
+ /**
55
+ * Function invoked when a menu item is clicked. Receives the item's key and **must return a boolean**.
56
+ *
57
+ * - If the callback returns **`false`**, the internal action associated with the click (e.g., navigation, logout) will be **canceled**.
58
+ * - If it returns **`true`** or any other truthy value, the internal processing will **continue** as usual.
59
+ */
60
+ onMenuClick?: (key: string) => boolean;
56
61
  }
57
62
 
58
63
  /**
@@ -68,21 +73,27 @@ export function CodebitConfigProvider(
68
73
  export interface CodebitConfigProviderProps {
69
74
  /** Child components that will have access to the configuration context. */
70
75
  children: React.ReactNode;
71
- /**
72
- * A function that returns menu items configuration for the sidebar based on the current user's context. Takes an optional `LoggedUser` object as parameter and returns an array
73
- * of `MenuItem` objects.
74
- */
76
+ /** Function that returns menu items configuration for the sidebar. */
75
77
  menuItems: (user?: LoggedUser) => MenuItem[];
76
78
  /** Application version string (default: '1.0'). */
77
79
  version?: string;
78
- /** A function that determines whether to display the application version based on user context. Takes an optional `LoggedUser` object as parameter and returns a boolean value. */
80
+ /** Function that determines whether to display the application version based on user context. */
79
81
  showVersion?: (user?: LoggedUser) => boolean;
80
- /** A function that returns optional secondary sidebar content based on user context. Takes an optional `LoggedUser` object as parameter and returns React nodes. */
82
+ /** Optional secondary sidebar content generator. */
81
83
  secondarySidebar?: (user: LoggedUser) => React.ReactNode | null;
82
84
  /** Width of the secondary sidebar in pixels (default: 280). */
83
85
  secondarySidebarWidth?: number;
86
+ /** **New**: Array of bottom‑menu items (Ant Design `MenuItemType`). */
87
+ bottomMenuItems?: ItemType[];
84
88
  /** Function to handle user logout. */
85
89
  doLogout: () => Promise<void>;
86
90
  /** Function to check login status and return user data. */
87
91
  checkLogin: () => Promise<any | null>;
92
+ /**
93
+ * Callback executed when a menu item is clicked. Receives the item's key.
94
+ *
95
+ * - Return **`false`** to **prevent** the default internal handling (navigation, logout, etc.).
96
+ * - Return **`true`** (or any truthy value) to allow the default processing to proceed.
97
+ */
98
+ onMenuClick?: (key: string) => boolean;
88
99
  }
@@ -0,0 +1,11 @@
1
+ import { FC } from 'react';
2
+ import { IconComponentProps } from '@ant-design/icons/lib/components/Icon';
3
+
4
+ /**
5
+ * Ant Design outlined Admin User icon component.
6
+ *
7
+ * This component wraps an SVG representation of an admin user icon using Ant Design's `Icon` component. It accepts all standard properties supported by Ant Design's `Icon`.
8
+ *
9
+ * @public
10
+ */
11
+ export declare const AdminUserOutlinedIcon: FC<IconComponentProps>;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ElectronicBrainOutlinedIcon
3
+ *
4
+ * A React component that renders the custom "Electronic Brain" icon using Ant Design's `Icon` component. It forwards all received props to the underlying Ant Design `Icon`,
5
+ * allowing standard icon properties such as `style`, `className`, `onClick`, etc.
6
+ *
7
+ * @public
8
+ */
9
+ import * as React from 'react';
10
+ import { IconComponentProps } from '@ant-design/icons/lib/components/Icon';
11
+
12
+ /** Props accepted by the component are identical to Ant Design's `IconProps`. */
13
+ export declare const ElectronicBrainOutlinedIcon: React.FC<IconComponentProps>;
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { IconComponentProps } from '@ant-design/icons/lib/components/Icon';
3
+
4
+ /**
5
+ * Ollama outlined icon component.
6
+ *
7
+ * This component is a thin wrapper around Ant Design's `Icon` component that renders the custom Ollama SVG. It accepts all standard `IconProps` defined by Ant Design.
8
+ *
9
+ * @param props - Props passed to the underlying Ant Design `Icon` component.
10
+ * @returns A React element representing the Ollama outlined icon.
11
+ */
12
+ export declare const OllamaOutlinedIcon: React.FC<IconComponentProps>;
@@ -0,0 +1,3 @@
1
+ export * from './AdminUserOutlinedIcon';
2
+ export * from './ElectronicBrainOutlinedIcon';
3
+ export * from './OllamaOutlinedIcon';
package/dist/index.cjs CHANGED
@@ -299,23 +299,27 @@ var __webpack_exports__ = {};
299
299
  CodebitThemeProvider: ()=>CodebitThemeProvider,
300
300
  Login: ()=>Login,
301
301
  useErrorModal: ()=>useErrorModal,
302
- LocalLoginChangePasswordResult: ()=>LocalLoginChangePasswordResult,
303
302
  ErrorRetry: ()=>ErrorRetry,
304
303
  CodebitThemeContext: ()=>CodebitThemeContext,
304
+ LocalLoginChangePasswordResult: ()=>LocalLoginChangePasswordResult,
305
305
  ChangePassword: ()=>ChangePassword,
306
+ ListCard: ()=>ListCard,
306
307
  CodebitConfigContext: ()=>CodebitConfigContext,
307
308
  ForgotPassword: ()=>ForgotPassword,
308
- ListCard: ()=>ListCard,
309
309
  LoginContainer: ()=>LoginContainer,
310
310
  useErrorMessage: ()=>useErrorMessage,
311
311
  LocalLoginRecoveryPasswordResult: ()=>LocalLoginRecoveryPasswordResult,
312
312
  FilterContainer: ()=>FilterContainer,
313
313
  HandleError: ()=>HandleError,
314
+ OllamaOutlinedIcon: ()=>OllamaOutlinedIcon,
315
+ AdminUserOutlinedIcon: ()=>AdminUserOutlinedIcon,
314
316
  CodebitConfigProvider: ()=>CodebitConfigProvider,
317
+ ElectronicBrainOutlinedIcon: ()=>ElectronicBrainOutlinedIcon,
315
318
  ThemeToggle: ()=>ThemeToggle
316
319
  });
317
320
  var jsx_runtime = __webpack_require__("../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js");
318
321
  const icons_namespaceObject = require("@ant-design/icons");
322
+ var icons_default = /*#__PURE__*/ __webpack_require__.n(icons_namespaceObject);
319
323
  const external_antd_namespaceObject = require("antd");
320
324
  const external_prop_types_namespaceObject = require("prop-types");
321
325
  var external_prop_types_default = /*#__PURE__*/ __webpack_require__.n(external_prop_types_namespaceObject);
@@ -325,7 +329,7 @@ var __webpack_exports__ = {};
325
329
  const codebit_web_namespaceObject = require("@codebit-programando-solucoes/codebit-web");
326
330
  const logger = new codebit_web_namespaceObject.Logger('CodebitConfigContext');
327
331
  const CodebitConfigContext = /*#__PURE__*/ (0, external_react_.createContext)(null);
328
- function CodebitConfigProvider({ children, menuItems, version = '1.0', showVersion = ()=>true, secondarySidebar, secondarySidebarWidth = 280, doLogout, checkLogin }) {
332
+ function CodebitConfigProvider({ children, menuItems, version = '1.0', showVersion = ()=>true, secondarySidebar, secondarySidebarWidth = 280, bottomMenuItems = [], doLogout, checkLogin, onMenuClick }) {
329
333
  const [isLogged, setIsLogged] = (0, external_react_.useState)(null);
330
334
  const [user, setUser] = (0, external_react_.useState)(null);
331
335
  const logout = async ()=>{
@@ -368,7 +372,9 @@ var __webpack_exports__ = {};
368
372
  version,
369
373
  showVersion,
370
374
  secondarySidebar,
371
- secondarySidebarWidth
375
+ secondarySidebarWidth,
376
+ bottomMenuItems,
377
+ onMenuClick
372
378
  }), [
373
379
  menuItems,
374
380
  isLogged,
@@ -376,7 +382,9 @@ var __webpack_exports__ = {};
376
382
  version,
377
383
  showVersion,
378
384
  secondarySidebar,
379
- secondarySidebarWidth
385
+ secondarySidebarWidth,
386
+ bottomMenuItems,
387
+ onMenuClick
380
388
  ]);
381
389
  return /*#__PURE__*/ (0, jsx_runtime.jsx)(CodebitConfigContext.Provider, {
382
390
  value: contextValue,
@@ -390,8 +398,10 @@ var __webpack_exports__ = {};
390
398
  showVersion: external_prop_types_default().func,
391
399
  secondarySidebar: external_prop_types_default().func,
392
400
  secondarySidebarWidth: external_prop_types_default().number,
401
+ bottomMenuItems: external_prop_types_default().array,
393
402
  doLogout: external_prop_types_default().func.isRequired,
394
- checkLogin: external_prop_types_default().func.isRequired
403
+ checkLogin: external_prop_types_default().func.isRequired,
404
+ onMenuClick: external_prop_types_default().func
395
405
  };
396
406
  const ThemeToggle = ()=>{
397
407
  const config = (0, external_react_.useContext)(CodebitThemeContext);
@@ -1027,7 +1037,7 @@ var __webpack_exports__ = {};
1027
1037
  menuDescription: "menuDescription-d6BFBO",
1028
1038
  menuSpacer: "menuSpacer-RIB3II",
1029
1039
  versionMenu: "versionMenu-NM4uyG",
1030
- logoutMenu: "logoutMenu-_RLfGo",
1040
+ bottomMenu: "bottomMenu-VtOktS",
1031
1041
  header: "header-vgc67L",
1032
1042
  mobile: "mobile-mKGxb5",
1033
1043
  headerSpace: "headerSpace-Fd_iha",
@@ -1035,142 +1045,194 @@ var __webpack_exports__ = {};
1035
1045
  };
1036
1046
  const { Header, Sider, Content } = external_antd_namespaceObject.Layout;
1037
1047
  const { Text } = external_antd_namespaceObject.Typography;
1048
+ const MENU_KEY_APP_LOGOUT = 'app-logout';
1038
1049
  function LoggedMainContainer({ children }) {
1039
- const [collapsed, setCollapsed] = (0, external_react_.useState)(false);
1050
+ const [collapsed, setCollapsed] = (0, external_react_.useState)(true);
1040
1051
  const [isMobile, setIsMobile] = (0, external_react_.useState)(false);
1041
1052
  const [drawerVisible, setDrawerVisible] = (0, external_react_.useState)(false);
1042
1053
  const [secondarySidebarDrawerVisible, setSecondarySidebarDrawerVisible] = (0, external_react_.useState)(false);
1043
1054
  const { t } = useCodebitWebAntdTranslation();
1044
- const navigate = (0, external_react_router_namespaceObject.useNavigate)();
1045
- const location = (0, external_react_router_namespaceObject.useLocation)();
1046
1055
  const configCodebit = (0, external_react_.useContext)(CodebitConfigContext);
1047
1056
  const configTheme = (0, external_react_.useContext)(CodebitThemeContext);
1057
+ const navigate = (0, external_react_router_namespaceObject.useNavigate)();
1058
+ const location = (0, external_react_router_namespaceObject.useLocation)();
1048
1059
  if (!configCodebit || !configTheme) throw new Error('LoggedContainer must be used within CodebitConfigProvider and CodebitThemeContext');
1049
- const { logout, user, menuItems, version, showVersion, secondarySidebar, secondarySidebarWidth = 280 } = configCodebit;
1060
+ const { logout, user, menuItems, version, showVersion, secondarySidebar, secondarySidebarWidth = 280, bottomMenuItems = [], onMenuClick } = configCodebit;
1050
1061
  const { isDarkMode } = configTheme;
1051
- const systemTheme = isDarkMode ? 'dark' : 'light';
1062
+ const theme = isDarkMode ? 'dark' : 'light';
1063
+ const allMenuItems = (0, external_react_.useMemo)(()=>[
1064
+ ...menuItems(user),
1065
+ ...bottomMenuItems
1066
+ ], [
1067
+ menuItems,
1068
+ user,
1069
+ bottomMenuItems
1070
+ ]);
1052
1071
  const filteredMenuItems = (0, external_react_.useMemo)(()=>menuItems(user).filter((item)=>{
1053
1072
  if (!item.roles) return true;
1054
- if (!user || !user.roles) return false;
1055
- if (item.roles) return item.roles.some((role)=>user.roles.includes(role));
1056
- return false;
1073
+ if (!user?.roles) return false;
1074
+ return item.roles.some((role)=>user.roles.includes(role));
1057
1075
  }), [
1058
1076
  menuItems,
1059
1077
  user
1060
1078
  ]);
1079
+ const memoizedBottomMenuItems = (0, external_react_.useMemo)(()=>[
1080
+ ...bottomMenuItems,
1081
+ {
1082
+ key: MENU_KEY_APP_LOGOUT,
1083
+ icon: /*#__PURE__*/ (0, jsx_runtime.jsx)(icons_namespaceObject.LogoutOutlined, {}),
1084
+ label: t('LoggedMainContainer.logout'),
1085
+ danger: true
1086
+ }
1087
+ ], [
1088
+ bottomMenuItems,
1089
+ t
1090
+ ]);
1091
+ const [selectedKeys, setSelectedKeys] = (0, external_react_.useState)('');
1061
1092
  (0, external_react_.useEffect)(()=>{
1062
- const checkScreenSize = ()=>{
1063
- setIsMobile(window.innerWidth < 768);
1093
+ const computeSelectedKey = ()=>{
1094
+ const match = allMenuItems.find((item)=>item.key ? (0, external_react_router_namespaceObject.matchPath)({
1095
+ path: item.key,
1096
+ end: true
1097
+ }, location.pathname) : false);
1098
+ return match?.key ?? '';
1064
1099
  };
1100
+ setSelectedKeys(computeSelectedKey());
1101
+ }, [
1102
+ location.pathname,
1103
+ allMenuItems
1104
+ ]);
1105
+ const handleLogout = (0, external_react_.useCallback)(async ()=>{
1106
+ await logout?.();
1107
+ if (isMobile) setDrawerVisible(false);
1108
+ navigate('/');
1109
+ }, [
1110
+ logout,
1111
+ isMobile,
1112
+ setDrawerVisible,
1113
+ navigate
1114
+ ]);
1115
+ const handleMenuClick = (0, external_react_.useCallback)(async (key)=>{
1116
+ if (onMenuClick?.(key) === false) return;
1117
+ try {
1118
+ if (key === MENU_KEY_APP_LOGOUT) return void await handleLogout();
1119
+ navigate(key);
1120
+ } finally{
1121
+ if (isMobile) setDrawerVisible(false);
1122
+ }
1123
+ }, [
1124
+ onMenuClick,
1125
+ handleLogout,
1126
+ navigate,
1127
+ isMobile,
1128
+ setDrawerVisible
1129
+ ]);
1130
+ const primaryMenu = (0, external_react_.useMemo)(()=>/*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Menu, {
1131
+ theme: theme,
1132
+ mode: 'inline',
1133
+ selectedKeys: selectedKeys ? [
1134
+ selectedKeys
1135
+ ] : [],
1136
+ onClick: ({ key })=>handleMenuClick(key),
1137
+ items: filteredMenuItems,
1138
+ className: LoggedMainContainer_module.menu
1139
+ }, 'primary-menu'), [
1140
+ selectedKeys,
1141
+ filteredMenuItems,
1142
+ theme,
1143
+ handleMenuClick
1144
+ ]);
1145
+ (0, external_react_.useEffect)(()=>{
1146
+ const checkScreenSize = ()=>setIsMobile(window.innerWidth < 768);
1065
1147
  checkScreenSize();
1066
1148
  window.addEventListener('resize', checkScreenSize);
1067
1149
  return ()=>window.removeEventListener('resize', checkScreenSize);
1068
1150
  }, []);
1069
- const handleLogout = async ()=>{
1070
- await logout?.();
1071
- if (isMobile) setDrawerVisible(false);
1072
- navigate('/');
1073
- };
1074
- const handleMenuClick = (key)=>{
1075
- navigate(key);
1076
- if (isMobile) setDrawerVisible(false);
1077
- };
1078
- const getSelectedKey = ()=>{
1079
- const path = location.pathname;
1080
- const exactMatch = filteredMenuItems.find((item)=>item.key === path);
1081
- if (exactMatch) return exactMatch.key;
1082
- const prefixMatch = filteredMenuItems.find((item)=>path.startsWith(item.key) && '/' !== item.key);
1083
- if (prefixMatch) return prefixMatch.key;
1084
- return path;
1085
- };
1086
1151
  const menuContent = /*#__PURE__*/ (0, jsx_runtime.jsxs)(jsx_runtime.Fragment, {
1087
1152
  children: [
1088
- /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Menu, {
1089
- theme: systemTheme,
1090
- mode: 'inline',
1091
- selectedKeys: [
1092
- getSelectedKey()
1093
- ],
1094
- onClick: ({ key })=>handleMenuClick(key),
1095
- items: filteredMenuItems,
1096
- className: LoggedMainContainer_module.menu
1097
- }),
1153
+ primaryMenu,
1098
1154
  /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Layout.Content, {
1099
1155
  className: LoggedMainContainer_module.menuSpacer
1100
1156
  }),
1101
1157
  showVersion?.(user) && version && /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Menu, {
1102
- theme: systemTheme,
1158
+ motion: false,
1159
+ theme: theme,
1103
1160
  mode: 'horizontal',
1104
1161
  className: LoggedMainContainer_module.versionMenu,
1105
1162
  disabled: true,
1106
1163
  items: [
1107
1164
  {
1108
- icon: collapsed ? `${t('LoggedMainContainer.version')}: ${version}` : version,
1165
+ icon: collapsed ? version : `${t('LoggedMainContainer.version')}: ${version}`,
1109
1166
  title: ''
1110
1167
  }
1111
1168
  ]
1112
- }),
1169
+ }, 'version-menu'),
1113
1170
  /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Menu, {
1114
- theme: systemTheme,
1115
- mode: 'horizontal',
1116
- onClick: handleLogout,
1117
- className: LoggedMainContainer_module.logoutMenu,
1118
- items: [
1119
- {
1120
- key: 'logout',
1121
- icon: /*#__PURE__*/ (0, jsx_runtime.jsx)(icons_namespaceObject.LogoutOutlined, {}),
1122
- label: t('LoggedMainContainer.logout'),
1123
- danger: true
1124
- }
1125
- ]
1126
- })
1171
+ motion: false,
1172
+ theme: theme,
1173
+ mode: 'inline',
1174
+ selectedKeys: selectedKeys ? [
1175
+ selectedKeys
1176
+ ] : [],
1177
+ onClick: ({ key })=>handleMenuClick(key),
1178
+ className: LoggedMainContainer_module.bottomMenu,
1179
+ items: memoizedBottomMenuItems
1180
+ }, 'bottom-menu')
1127
1181
  ]
1128
1182
  });
1183
+ const renderMenuContent = ()=>{
1184
+ if (isMobile) return /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Drawer, {
1185
+ placement: 'left',
1186
+ onClose: ()=>setDrawerVisible(false),
1187
+ open: drawerVisible,
1188
+ width: 250,
1189
+ className: LoggedMainContainer_module.drawer,
1190
+ classNames: {
1191
+ body: LoggedMainContainer_module.drawerBody
1192
+ },
1193
+ children: /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Flex, {
1194
+ vertical: true,
1195
+ className: LoggedMainContainer_module.drawerFlex,
1196
+ children: menuContent
1197
+ })
1198
+ });
1199
+ return /*#__PURE__*/ (0, jsx_runtime.jsx)(Sider, {
1200
+ theme: theme,
1201
+ trigger: null,
1202
+ collapsible: true,
1203
+ collapsed: collapsed,
1204
+ breakpoint: 'lg',
1205
+ collapsedWidth: 80,
1206
+ className: LoggedMainContainer_module.sider,
1207
+ children: /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Layout, {
1208
+ className: LoggedMainContainer_module.siderLayout,
1209
+ children: menuContent
1210
+ })
1211
+ });
1212
+ };
1213
+ const renderSecondarySidebar = ()=>{
1214
+ if (!secondarySidebar) return null;
1215
+ if (isMobile) return /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Drawer, {
1216
+ placement: 'right',
1217
+ onClose: ()=>setSecondarySidebarDrawerVisible(false),
1218
+ open: secondarySidebarDrawerVisible,
1219
+ width: 280,
1220
+ className: LoggedMainContainer_module.drawer,
1221
+ title: null,
1222
+ closeIcon: /*#__PURE__*/ (0, jsx_runtime.jsx)(icons_namespaceObject.CloseOutlined, {}),
1223
+ children: secondarySidebar(user)
1224
+ });
1225
+ return /*#__PURE__*/ (0, jsx_runtime.jsx)(Sider, {
1226
+ theme: theme,
1227
+ width: secondarySidebarWidth,
1228
+ children: secondarySidebar(user)
1229
+ });
1230
+ };
1129
1231
  return /*#__PURE__*/ (0, jsx_runtime.jsxs)(external_antd_namespaceObject.Layout, {
1130
1232
  className: LoggedMainContainer_module.layout,
1131
1233
  children: [
1132
- isMobile ? /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Drawer, {
1133
- placement: 'left',
1134
- onClose: ()=>setDrawerVisible(false),
1135
- open: drawerVisible,
1136
- width: 250,
1137
- className: LoggedMainContainer_module.drawer,
1138
- classNames: {
1139
- body: LoggedMainContainer_module.drawerBody
1140
- },
1141
- children: /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Flex, {
1142
- vertical: true,
1143
- className: LoggedMainContainer_module.drawerFlex,
1144
- children: menuContent
1145
- })
1146
- }) : /*#__PURE__*/ (0, jsx_runtime.jsx)(Sider, {
1147
- theme: systemTheme,
1148
- trigger: null,
1149
- collapsible: true,
1150
- collapsed: !collapsed,
1151
- breakpoint: 'lg',
1152
- collapsedWidth: 80,
1153
- className: LoggedMainContainer_module.sider,
1154
- children: /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Layout, {
1155
- className: LoggedMainContainer_module.siderLayout,
1156
- children: menuContent
1157
- })
1158
- }),
1159
- secondarySidebar && !isMobile ? /*#__PURE__*/ (0, jsx_runtime.jsx)(Sider, {
1160
- theme: systemTheme,
1161
- width: secondarySidebarWidth,
1162
- className: `${LoggedMainContainer_module.secondarySidebar} ${isDarkMode ? LoggedMainContainer_module.secondarySidebarDark : ''}`,
1163
- children: secondarySidebar(user)
1164
- }) : /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Drawer, {
1165
- placement: 'right',
1166
- onClose: ()=>setSecondarySidebarDrawerVisible(false),
1167
- open: secondarySidebarDrawerVisible,
1168
- width: 280,
1169
- className: LoggedMainContainer_module.drawer,
1170
- title: null,
1171
- closeIcon: /*#__PURE__*/ (0, jsx_runtime.jsx)(icons_namespaceObject.CloseOutlined, {}),
1172
- children: secondarySidebar(user)
1173
- }),
1234
+ renderMenuContent(),
1235
+ renderSecondarySidebar(),
1174
1236
  /*#__PURE__*/ (0, jsx_runtime.jsxs)(external_antd_namespaceObject.Layout, {
1175
1237
  children: [
1176
1238
  /*#__PURE__*/ (0, jsx_runtime.jsxs)(Header, {
@@ -1193,7 +1255,7 @@ var __webpack_exports__ = {};
1193
1255
  children: [
1194
1256
  secondarySidebar && isMobile && /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Button, {
1195
1257
  type: 'text',
1196
- icon: /*#__PURE__*/ (0, jsx_runtime.jsx)(icons_namespaceObject.MenuOutlined, {}),
1258
+ icon: /*#__PURE__*/ (0, jsx_runtime.jsx)(icons_namespaceObject.WechatOutlined, {}),
1197
1259
  onClick: ()=>setSecondarySidebarDrawerVisible(true)
1198
1260
  }),
1199
1261
  !isMobile && /*#__PURE__*/ (0, jsx_runtime.jsx)(Text, {
@@ -1516,6 +1578,7 @@ var __webpack_exports__ = {};
1516
1578
  const HandleError_module = {
1517
1579
  container: "container-A_JXAc",
1518
1580
  content: "content-yh3y0U",
1581
+ result: "result-I5O6eq",
1519
1582
  title: "title-rFxsxp",
1520
1583
  errorDetails: "errorDetails-DjtTbH",
1521
1584
  errorStack: "errorStack-DJzbWD"
@@ -1528,21 +1591,21 @@ var __webpack_exports__ = {};
1528
1591
  navigate('/');
1529
1592
  };
1530
1593
  const getErrorStatus = ()=>{
1531
- if (error && 404 === error.status) return 404;
1532
- if (error && 403 === error.status) return 403;
1533
- if (error && 500 === error.status) return 500;
1594
+ if (error?.status === 404) return 404;
1595
+ if (error?.status === 403) return 403;
1596
+ if (error?.status === 500) return 500;
1534
1597
  return 'error';
1535
1598
  };
1536
1599
  const getErrorMessage = ()=>{
1537
- if (error && 404 === error.status) return t('HandleError.notFoundMessage');
1538
- if (error && 403 === error.status) return t('HandleError.forbiddenMessage');
1539
- if (error && 500 === error.status) return t('HandleError.internalMessage');
1540
- return error && error.message || t('HandleError.genericMessage');
1600
+ if (error?.status === 404) return t('HandleError.notFoundMessage');
1601
+ if (error?.status === 403) return t('HandleError.forbiddenMessage');
1602
+ if (error?.status === 500) return t('HandleError.internalMessage');
1603
+ return error?.message || t('HandleError.genericMessage');
1541
1604
  };
1542
1605
  const getErrorTitle = ()=>{
1543
- if (error && 404 === error.status) return t('HandleError.notFoundTitle');
1544
- if (error && 403 === error.status) return t('HandleError.forbiddenTitle');
1545
- if (error && 500 === error.status) return t('HandleError.internalTitle');
1606
+ if (error?.status === 404) return t('HandleError.notFoundTitle');
1607
+ if (error?.status === 403) return t('HandleError.forbiddenTitle');
1608
+ if (error?.status === 500) return t('HandleError.internalTitle');
1546
1609
  return t('HandleError.genericTitle');
1547
1610
  };
1548
1611
  return /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Flex, {
@@ -1552,6 +1615,7 @@ var __webpack_exports__ = {};
1552
1615
  children: /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Flex, {
1553
1616
  className: HandleError_module.content,
1554
1617
  children: /*#__PURE__*/ (0, jsx_runtime.jsx)(external_antd_namespaceObject.Result, {
1618
+ className: HandleError_module.result,
1555
1619
  status: getErrorStatus(),
1556
1620
  title: /*#__PURE__*/ (0, jsx_runtime.jsxs)(jsx_runtime.Fragment, {
1557
1621
  children: [
@@ -1929,13 +1993,76 @@ var __webpack_exports__ = {};
1929
1993
  showErrorModal
1930
1994
  };
1931
1995
  }
1996
+ const AdminUserSvg = ()=>/*#__PURE__*/ (0, jsx_runtime.jsx)("svg", {
1997
+ fill: 'currentColor',
1998
+ fillRule: 'evenodd',
1999
+ height: '1em',
2000
+ viewBox: '0 0 24 24',
2001
+ width: '1em',
2002
+ version: '1.1',
2003
+ children: /*#__PURE__*/ (0, jsx_runtime.jsxs)("g", {
2004
+ id: 'admin-user-icon',
2005
+ children: [
2006
+ /*#__PURE__*/ (0, jsx_runtime.jsx)("path", {
2007
+ id: 'path1',
2008
+ d: "M 22.3,16.7 23.7,15.3 20,11.6 14.2,17.4\nC 13.7,17.1 13.1,17 12.5,17 10.6,17 9,18.6 9,20.5\nc 0,1.9 1.6,3.5 3.5,3.5 1.9,0 3.5,-1.6 3.5,-3.5 0,-0.6 -0.2,-1.2 -0.4,-1.7\nl 1.9,-1.9 2.3,2.3 1.4,-1.4 -2.3,-2.3 1.1,-1.1\nz\n\nM 12.5,22\nC 11.7,22 11,21.3 11,20.5 11,19.7 11.7,19 12.5,19\nc 0.8,0 1.5,0.7 1.5,1.5 0,0.8 -0.7,1.5 -1.5,1.5\nz"
2009
+ }),
2010
+ /*#__PURE__*/ (0, jsx_runtime.jsx)("path", {
2011
+ id: 'path2',
2012
+ d: "m 2,19\nc 0,-3.9 3.1,-7 7,-7 2,0 3.9,0.9 5.3,2.4\nl 1.5,-1.3\nC 14.9,12.1 13.9,11.3 12.7,10.8 14.1,9.7 15,7.9 15,6 15,2.7 12.3,0 9,0 5.7,0 3,2.7 3,6 3,7.9 3.9,9.7 5.4,10.8 2.2,12.2 0,15.3 0,19\nv 5\nH 8\nV 22\nH 2\nZ\n\nM 5,6\nC 5,3.8 6.8,2 9,2\nc 2.2,0 4,1.8 4,4 0,2.2 -1.8,4 -4,4\nC 6.8,10 5,8.2 5,6\nZ"
2013
+ })
2014
+ ]
2015
+ })
2016
+ });
2017
+ const AdminUserOutlinedIcon = (props)=>/*#__PURE__*/ (0, jsx_runtime.jsx)(icons_default(), {
2018
+ component: AdminUserSvg,
2019
+ ...props
2020
+ });
2021
+ AdminUserOutlinedIcon.propTypes = external_prop_types_default().object;
2022
+ const EletronicBrainSvg = ()=>/*#__PURE__*/ (0, jsx_runtime.jsx)("svg", {
2023
+ fill: 'currentColor',
2024
+ fillRule: 'evenodd',
2025
+ height: '1em',
2026
+ viewBox: '0 0 24 24',
2027
+ width: '1em',
2028
+ version: '1.1',
2029
+ children: /*#__PURE__*/ (0, jsx_runtime.jsx)("g", {
2030
+ id: 'admin-user-icon',
2031
+ children: /*#__PURE__*/ (0, jsx_runtime.jsx)("path", {
2032
+ d: "m 11.108988,-0.712093\nc -0.811239,0.0041 -1.622691,0.0033 -2.433603,0.02929 -0.222924,0.01186 -0.440247,0.07126 -0.650706,0.142647\nC 7.349946,-0.304925 6.761766,0.16648 6.380781,0.770551 6.213081,1.03506 6.083799,1.323931 5.998617,1.625325 5.432127,1.727235 4.899198,1.987496 4.454997,2.351337 3.675309,2.987946 3.158661,3.938014 3.053964,4.939653 3.043272,5.041903 3.036342,5.144545 3.032952,5.247297 2.908662,5.305327 2.78523,5.366056 2.666823,5.435659 1.929426,5.864815 1.343454,6.549449 1.037229,7.34615 0.906564,7.687794 0.8208,8.052119 0.815238,8.417629 0.801537,8.812004 0.80433,9.206715 0.801807,9.601268\nc -0.0024,0.836858 -0.00108,1.67372 -0.00144,2.51058 -0.160095,0.207675 -0.295137,0.435855 -0.387798,0.681624 -0.055533,0.140877 -0.107361,0.283677 -0.148218,0.429464 -0.017268,0.105744 -0.0045,0.213147 -0.00867,0.319642 0,1.118598 0,2.237196 0,3.355793 0.083877,0.275573 0.168924,0.554762 0.317619,0.803628 0.299742,0.528205 0.780096,0.955268 1.347204,1.176079 0.015267,0.476294 0.124254,0.950074 0.325431,1.382416 0.249096,0.540809 0.635469,1.016581 1.110252,1.375424 0.54474,0.41445 1.200081,0.678557 1.877817,0.769487 0.24579,0.03417 0.494178,0.04245 0.742044,0.0451 0.016041,0.0041 0.040821,-0.008 0.048888,0.01088 0.36078,0.516829 0.83445,0.958989 1.390809,1.258388 0.147531,0.07948 0.300441,0.149022 0.45765,0.207093 0.06236,0.05335 0.147081,0.0584 0.222414,0.07803 0.188013,0.04402 0.377448,0.09331 0.571944,0.09263 0.702603,0.02237 1.405644,0.0221 2.108517,0.02643 1.228485,0.005 2.457039,0.0032 3.685441,-0.01281 0.219868,-0.0044 0.440066,-0.006 0.659388,-0.02296 0.244672,-0.02931 0.48225,-0.101142 0.712148,-0.18793 0.724014,-0.282484 1.347559,-0.798996 1.788918,-1.435836 0.0068,-0.02131 0.03102,-0.01044 0.04766,-0.01356 0.331938,-0.0063 0.666061,-0.01731 0.992053,-0.08566 0.696771,-0.135361 1.36198,-0.454156 1.884895,-0.936914 0.509274,-0.46658 0.881315,-1.081902 1.05339,-1.751143 0.06822,-0.260347 0.108348,-0.52789 0.122095,-0.796614 0.471997,-0.18331 0.885083,-0.508986 1.182482,-0.917883 0.196907,-0.269037 0.343413,-0.574157 0.433626,-0.894994 0.02936,-0.08919 0.05845,-0.181061 0.05305,-0.276224 -1.5e-4,-1.187051 -2.1e-4,-2.374102 -1.8e-4,-3.561152 -0.107672,-0.313427 -0.212914,-0.633352 -0.397877,-0.911452 -0.04643,-0.07154 -0.09566,-0.141237 -0.146927,-0.209388 -0.0051,-1.332813 -0.01021,-2.665625 -0.01524,-3.998438\nC 22.752562,7.785514 22.671325,7.457665 22.528161,7.153405 22.194202,6.408951 21.613226,5.776392 20.894835,5.388118 20.802775,5.337838 20.708747,5.291218 20.613126,5.248107 20.602006,4.986121 20.575696,4.723753 20.513346,4.468576 20.293618,3.524743 19.706749,2.667825 18.89405,2.136965 18.516567,1.889751 18.091464,1.714489 17.648229,1.62883 17.558589,1.340774 17.441492,1.059828 17.282156,0.802987 16.939471,0.2452 16.425969,-0.210432 15.821206,-0.46492\nc -0.248581,-0.105141 -0.510574,-0.183131 -0.779543,-0.211695 -0.418064,-0.02273 -0.836905,-0.02151 -1.255425,-0.02736 -0.892385,-0.0091 -1.784825,-0.0091 -2.677247,-0.0081\nz\n\nm -1.002597,1.959316\nc 0.246249,0 0.492501,0 0.73875,0 0,2.137969 0,4.275937 0,6.413906 -0.277968,0 -0.555939,0 -0.833907,0 -8.4e-4,-0.236554 0.0048,-0.473285 -0.0041,-0.709709\nC 9.993074,6.748203 9.926384,6.54649 9.802426,6.383524 9.661048,6.18474 9.479503,6.020038 9.310726,5.845414 8.982814,5.516101 8.654899,5.186789 8.326987,4.857477 8.302247,4.635051 8.219053,4.417824 8.078677,4.242531 7.835608,3.932407 7.442047,3.748378 7.048369,3.758271 6.736429,3.763471 6.426271,3.887943 6.203914,4.108096 5.948029,4.355258 5.804314,4.715861 5.827789,5.071637 5.849176,5.468882 6.061978,5.855748 6.398434,6.071832 6.558169,6.175812 6.743338,6.238383 6.932341,6.25986 7.306792,6.634801 7.681246,7.009742 8.0557,7.384684 8.06,7.902574 8.0643,8.420465 8.06847,8.938356\nc 0.10071,0.160456 0.191871,0.334208 0.342798,0.454357 0.09991,0.08121 0.214827,0.140551 0.321477,0.211971 0.704298,0.0039 1.408596,0.0076 2.112891,0.01143 -3e-4,1.394199 -3.9e-4,2.788398 -6e-4,4.182597 -0.248712,-2.4e-4 -0.497421,-4.68e-4 -0.746133,-7.02e-4\nC 9.35877,12.762051 8.622162,11.723678 7.876122,10.692014 7.742034,10.508779 7.607985,10.324759 7.456506,10.155361 7.360104,10.058812 7.242216,9.986157 7.11993,9.927243 7.039773,9.893459 6.951489,9.907478 6.867129,9.904024 6.273714,9.900182 5.680299,9.89634 5.086884,9.892497 4.889259,9.737139 4.648038,9.633758 4.396251,9.61465 4.042437,9.58472 3.676296,9.71101 3.423114,9.961542\nc -0.226758,0.219295 -0.363798,0.527484 -0.376242,0.842582 -0.019338,0.357015 0.111318,0.724574 0.369507,0.975069 0.282735,0.280678 0.708078,0.409399 1.09872,0.328987 0.205401,-0.04 0.399363,-0.131888 0.565047,-0.259062 0.404784,3.9e-4 0.809571,7.8e-4 1.214355,0.0012 0.73179,1.024619 1.46064,2.051227 2.197824,3.071969 0.142932,0.1952 0.284535,0.392262 0.446265,0.572528 0.0935,0.09365 0.207837,0.163766 0.32556,0.222632 0.07584,0.03251 0.159558,0.02659 0.240009,0.02665 0.44697,0.0032 0.89394,0.0064 1.340907,0.0097 0,1.208457 0,2.416914 0,3.625371 -0.0925,0 -0.184998,0 -0.2775,0 -0.743379,-0.743457 -1.486758,-1.486914 -2.230134,-2.230371 -0.0019,-0.260715 0.0066,-0.521831 -0.0096,-0.782206\nC 8.309022,16.172692 8.234292,15.982175 8.10999,15.832574 7.976403,15.659464 7.812969,15.513034 7.661967,15.355792 7.51173,15.204401 7.361496,15.05301 7.211259,14.901619 7.187547,14.690024 7.108932,14.484123 6.979569,14.314445 6.717867,13.962428 6.266847,13.758058 5.829327,13.804083\nc -0.397752,0.03765 -0.76986,0.282133 -0.960201,0.633774 -0.188268,0.34135 -0.202611,0.768446 -0.050193,1.125813 0.112335,0.266929 0.31872,0.496749 0.581847,0.621304 0.12867,0.0623 0.268128,0.102311 0.410265,0.117622 0.190371,0.188965 0.380742,0.37793 0.571113,0.566895 0,0.09311 0,0.18621 0,0.279316 -0.190449,0.189043 -0.380898,0.378086 -0.571347,0.567129 -0.230883,0.02572 -0.457221,0.112156 -0.636702,0.26143 -0.263619,0.214637 -0.428658,0.541541 -0.454608,0.879624 -0.029325,0.346131 0.082767,0.706636 0.320985,0.962279 0.277911,0.304017 0.714669,0.457921 1.121085,0.382088 0.425883,-0.07075 0.810672,-0.368766 0.971931,-0.771235 0.04155,-0.101985 0.06579,-0.210365 0.078576,-0.319538 0.049278,-0.04906 0.098556,-0.09813 0.147834,-0.147187 0.586893,0.586171 1.172616,1.173527 1.760892,1.758309 0.1767,0.171834 0.356055,0.34551 0.568728,0.47275 0.166632,0.09506 0.358425,0.144592 0.550242,0.142618 0.191871,0.0044 0.383736,-0.006 0.575622,-0.0021 0.02094,-0.0027 0.03841,-0.0019 0.03077,0.02403 0,0.269676 -3e-4,0.539351 -3.3e-4,0.809027 -0.610302,-0.0027 -1.220736,0.0013 -1.830897,-0.01425 -0.06159,-0.0021 -0.118716,-0.0042 -0.180801,-0.0092 -0.130542,-0.0082 -0.259176,-0.03691 -0.381687,-0.08246\nC 8.229876,21.98143 8.018916,21.864408 7.841697,21.706454 7.656738,21.544463 7.510899,21.341773 7.399788,21.123298 7.316955,20.963667 7.221324,20.802677 7.073166,20.695135 6.978186,20.625544 6.871647,20.574206 6.773634,20.509276 6.459273,20.501482 6.145104,20.49907 5.831772,20.485208 5.75232,20.480846 5.673138,20.473728 5.595984,20.465341 5.283729,20.428845 4.969494,20.357802 4.692444,20.204295 4.502775,20.100001 4.335636,19.953142 4.215432,19.772518 3.970434,19.406627 3.898263,18.951722 3.8784,18.517264 3.87693,18.481533 3.87549,18.438421 3.873825,18.39973 3.864279,18.144388 3.845493,17.882792 3.745686,17.644452 3.65562,17.437021 3.475851,17.26595 3.25638,17.203888 3.088452,17.150731 2.909868,17.153346 2.738844,17.115657 2.512365,17.065888 2.317839,16.891586 2.243523,16.672012 2.222856,16.615506 2.216934,16.555467 2.215392,16.495721\nc -6e-4,-0.01505 -0.00156,-0.03842 -0.00189,-0.05489 -0.01404,-0.583262 -0.014214,-1.166749 -0.013638,-1.750151 0.00168,-0.371239 0.00304,-0.742611 0.015909,-1.113641 0.011622,-0.109455 0.064701,-0.209498 0.123594,-0.300528 0.049401,-0.07429 0.11352,-0.136736 0.176577,-0.199162 0.080655,-0.0848 0.139602,-0.189722 0.168516,-0.303222 0.047259,-0.169799 0.04803,-0.347508 0.056268,-0.522274 0.0123,-0.389356 0.010344,-0.77897 0.014211,-1.16846 0.00602,-0.803405 0.00587,-1.606899 0.021486,-2.410197 0.00252,-0.09365 0.00534,-0.184476 0.011364,-0.278298 0.00162,-0.02072 0.00297,-0.046 0.00479,-0.06616\nC 2.799809,8.222834 2.830664,8.120312 2.870954,8.022637 2.99543,7.690706 3.216446,7.394958 3.503591,7.186363 3.64415,7.082964 3.803942,6.99829 3.964823,6.939075 4.011872,6.921645 4.065302,6.904435 4.110077,6.891965 4.297295,6.841615 4.490903,6.787071 4.644923,6.663743 4.78526,6.553883 4.881485,6.394026 4.925876,6.222425 4.980332,6.026142 4.984922,5.82095 4.993475,5.618755 4.999715,5.418369 5.0036,5.216891 5.040137,5.019167 5.093879,4.704266 5.206892,4.393978 5.403986,4.139748 5.584232,3.905089 5.83616,3.729846 6.1136,3.629521 6.325949,3.551241 6.551186,3.514754 6.776201,3.498539 6.982769,3.479959 7.193375,3.435289 7.369619,3.320816 7.554593,3.20209 7.680035,3.005012 7.733015,2.793814 7.785295,2.592637 7.779595,2.381327 7.835498,2.180826 7.887858,1.975489 7.98272,1.775392 8.138465,1.628213 8.26022,1.509003 8.40365,1.412107 8.557994,1.340351 8.711693,1.279221 8.87942,1.273541 9.042416,1.262831 9.395267,1.246181 9.751745,1.248581 10.106387,1.247221\nZ\n\nm 3.435644,0\nc 0.283936,8.76e-4 0.567916,4.92e-4 0.851778,0.0079 0.05936,0.002 0.12484,0.0043 0.186504,0.0073 0.08874,0.0043 0.176781,0.01 0.26625,0.02063 0.01724,0.0022 0.04649,0.006 0.06257,0.0088 0.120436,0.01771 0.238817,0.05825 0.338304,0.129608 0.176256,0.112946 0.338382,0.256273 0.442741,0.440031 0.119614,0.210272 0.158576,0.453722 0.183696,0.691029 0.01489,0.155054 0.04915,0.310244 0.12101,0.449439 0.07071,0.14062 0.181384,0.261182 0.318347,0.339419 0.16846,0.09967 0.364233,0.139461 0.557098,0.156686 0.109948,0.01116 0.220359,0.01975 0.32918,0.03967 0.01383,0.0025 0.03005,0.0058 0.04603,0.0093 0.307567,0.06379 0.606913,0.196553 0.836446,0.414613 0.120226,0.113023 0.220533,0.246403 0.299942,0.390869 0.0059,0.01143 0.01484,0.02723 0.02157,0.04072 0.01947,0.03739 0.03909,0.07976 0.05484,0.115729 0.08638,0.200773 0.140341,0.414474 0.169687,0.630762 0.008,0.05729 0.01473,0.12089 0.01941,0.180892 0.01518,0.175788 0.01047,0.354131 0.01532,0.531471 0.0055,0.142452 0.01865,0.287483 0.06933,0.421817 0.06757,0.172923 0.190089,0.32226 0.339493,0.431216 0.162336,0.112479 0.358525,0.154253 0.543133,0.215307 0.05119,0.0159 0.104115,0.03458 0.149245,0.05265 0.07105,0.02816 0.14259,0.06199 0.20663,0.09813 0.114268,0.065 0.22186,0.141815 0.319629,0.229747 0.01318,0.01177 0.03343,0.0307 0.04887,0.04564 0.205639,0.197672 0.35813,0.44693 0.452906,0.715243 0.03053,0.08366 0.05653,0.16965 0.06349,0.258881 0.01195,0.127417 0.01281,0.256846 0.01703,0.383101 0.01188,0.477666 0.01151,0.955524 0.01546,1.433296 0.0048,0.680175 0.005,1.360423 0.01737,2.040515 0.0062,0.198405 0.0095,0.399297 0.05712,0.593046 0.03936,0.142128 0.121666,0.271595 0.233372,0.367812 0.104028,0.105339 0.185208,0.235064 0.228042,0.377098 0.0176,0.07987 0.009,0.16237 0.01387,0.243433 0.01463,0.719953 0.01103,1.44012 0.0054,2.16015 -0.003,0.212383 -0.0051,0.425613 -0.0144,0.636773 -0.01299,0.131441 -0.07209,0.256629 -0.160671,0.354031 -0.0063,0.0066 -0.02106,0.02223 -0.03146,0.03164 -0.139535,0.128354 -0.328826,0.186301 -0.514037,0.205802 -0.104845,0.01065 -0.20943,0.0286 -0.308915,0.06431 -0.173301,0.05969 -0.331165,0.168896 -0.438119,0.318888 -0.06836,0.09246 -0.123155,0.193856 -0.186195,0.289846 -0.0096,0.282529 -0.01311,0.564055 -0.02777,0.845918 -0.0068,0.118391 -0.01835,0.242123 -0.03777,0.361317 -0.0281,0.172334 -0.07547,0.349799 -0.160043,0.506479 -0.106689,0.200642 -0.26105,0.371461 -0.426127,0.525739 -0.15455,0.140313 -0.337301,0.251693 -0.53814,0.311201 -0.219863,0.06934 -0.453828,0.09573 -0.680929,0.109795 -0.249854,0.01408 -0.499859,0.01617 -0.750572,0.02208 -0.09663,0.0019 -0.193251,0.0042 -0.289878,0.0063 -0.149792,0.09248 -0.316237,0.168053 -0.432527,0.304765 -0.162376,0.192706 -0.242411,0.438829 -0.400844,0.634308 -0.113696,0.149541 -0.250257,0.281751 -0.403718,0.390126 -0.01963,0.01383 -0.04655,0.03231 -0.06979,0.04689 -0.202674,0.129841 -0.432801,0.216702 -0.67089,0.252294 -0.01454,0.0019 -0.03987,0.0055 -0.05857,0.0075 -0.115582,0.01268 -0.232101,0.0096 -0.348138,0.01435 -0.506042,0.01076 -1.01224,0.0088 -1.518368,0.0097 -0.05725,3e-5 -0.114507,6e-5 -0.171762,9e-5 0,-1.208047 0,-2.416094 0,-3.624141 0.391539,-10e-4 0.783134,0.0029 1.174627,-0.0034 0.213844,-0.0079 0.433746,-0.04978 0.615363,-0.168643 0.198638,-0.124036 0.352078,-0.303857 0.518952,-0.465138 0.113185,-0.11313 0.22637,-0.22626 0.339555,-0.33939 0.138965,0.138789 0.27793,0.277579 0.416895,0.416368 0,0.0635 0,0.126992 0,0.190488 -0.123616,0.163553 -0.220868,0.350819 -0.258203,0.55379 -0.07512,0.376771 0.03502,0.787692 0.296699,1.070487 0.224978,0.248578 0.553875,0.398038 0.88877,0.407005 0.349767,0.01475 0.708184,-0.114336 0.954084,-0.366534 0.279383,-0.280707 0.408321,-0.701876 0.333873,-1.090922 -0.03827,-0.210858 -0.129293,-0.411336 -0.259422,-0.581326 -0.0017,-0.236529 0.0072,-0.473599 -0.01118,-0.709647 -0.02208,-0.19524 -0.105987,-0.381916 -0.234219,-0.530471 -0.141158,-0.175066 -0.308436,-0.326307 -0.46416,-0.487927 -0.08877,-0.08916 -0.177549,-0.178322 -0.266323,-0.267483 0.138847,-0.139043 0.277695,-0.278085 0.416543,-0.417129 0.246972,0 0.493945,0 0.740918,0 0.200074,0.150803 0.439484,0.254291 0.690588,0.274728 0.332715,0.03054 0.678761,-0.07526 0.928806,-0.298981 0.239518,-0.209736 0.390277,-0.515597 0.414873,-0.832682 0.03321,-0.357043 -0.08241,-0.730622 -0.330632,-0.992527 -0.261323,-0.281111 -0.660046,-0.427939 -1.041253,-0.37998 -0.23886,0.02781 -0.467637,0.126335 -0.657168,0.273466 -0.351269,0.0014 -0.702551,-0.0015 -1.053792,-0.0044 -0.211908,0.0041 -0.426683,0.05542 -0.605641,0.172096 -0.217096,0.132309 -0.395999,0.315447 -0.578655,0.489911 -0.336596,0.328681 -0.66465,0.665938 -0.99878,0.997138 -0.378478,0.378633 -0.757128,0.757021 -1.136042,1.135221 -0.278183,0 -0.556367,0 -0.834551,0 0,-1.208086 0,-2.416171 0,-3.624257 0.511933,-9.48e-4 1.023873,0.0023 1.535797,0.0022 0.231954,-0.0024 0.470557,-0.02067 0.684496,-0.117827 0.223082,-0.100436 0.401648,-0.273158 0.572488,-0.443873 0.368829,-0.372963 0.739631,-0.743967 1.111145,-1.114252 0.279043,0 0.558086,0 0.837129,0 0.189043,0.190449 0.378086,0.380898 0.567129,0.571347 0.02435,0.21869 0.105134,0.432449 0.241908,0.605805 0.243741,0.316352 0.643281,0.503397 1.042031,0.492482 0.307428,-0.0062 0.613139,-0.127637 0.83363,-0.34343 0.264286,-0.251734 0.41026,-0.624156 0.380307,-0.988664 -0.02717,-0.396631 -0.245735,-0.780272 -0.585669,-0.990509 -0.154227,-0.09693 -0.331261,-0.155419 -0.511816,-0.17666\nC 19.243267,10.195846 18.977937,9.925991 18.705684,9.663198 18.54938,9.51983 18.359137,9.405261 18.147583,9.369892\nc -0.238131,-0.04749 -0.482136,-0.03092 -0.72332,-0.03439 -0.334065,0.0016 -0.668169,-0.004 -1.002209,-6e-5 -0.219239,0.0066 -0.443997,0.04617 -0.634278,0.160727 -0.21113,0.122409 -0.379274,0.302527 -0.551377,0.472423 -0.345389,0.348028 -0.692528,0.694311 -1.039585,1.040673 -0.464277,0 -0.928554,0 -1.392831,0 0,-1.486601 0,-2.973203 0,-4.459804 0.172242,0.171417 0.341817,0.345697 0.520312,0.510644 0.155664,0.137359 0.338785,0.252786 0.545297,0.292105 0.224286,0.04749 0.454774,0.03062 0.682276,0.03347 0.253757,-0.0012 0.507516,-6.24e-4 0.761274,-4.41e-4 0.189082,0.190449 0.378164,0.380898 0.567246,0.571347 0.02433,0.21732 0.104067,0.429859 0.239492,0.602579 0.243982,0.318972 0.646136,0.507628 1.047118,0.495628 0.31132,-0.0069 0.620431,-0.132359 0.841334,-0.353229 0.25986,-0.253447 0.401485,-0.624729 0.369346,-0.987033 -0.02985,-0.395748 -0.250077,-0.777387 -0.59042,-0.985663 -0.154794,-0.09606 -0.332033,-0.153965 -0.512749,-0.174371 -0.04897,-0.04908 -0.09793,-0.09816 -0.146894,-0.147246 0.04908,-0.04918 0.09816,-0.09836 0.147246,-0.14754\nC 17.5046,6.234551 17.72899,6.147464 17.908204,6.000199 18.209522,5.757824 18.388937,5.372482 18.381187,4.985907 18.377587,4.667194 18.248417,4.350123 18.02102,4.12557 17.778884,3.880907 17.431947,3.742221 17.087465,3.75956\nc -0.396961,0.01537 -0.78647,0.220951 -1.008926,0.552484 -0.109696,0.162161 -0.176138,0.352048 -0.198502,0.546163 -0.188907,0.190352 -0.377813,0.380704 -0.566719,0.571055 -0.279297,0 -0.558594,0 -0.837891,0 -0.557265,-0.557402 -1.114531,-1.114805 -1.671798,-1.672207 0,-0.836601 0,-1.673203 0,-2.509804 0.246153,0 0.492306,0 0.738458,0\nz"
2033
+ })
2034
+ })
2035
+ });
2036
+ const ElectronicBrainOutlinedIcon = (props)=>/*#__PURE__*/ (0, jsx_runtime.jsx)(icons_default(), {
2037
+ component: EletronicBrainSvg,
2038
+ ...props
2039
+ });
2040
+ ElectronicBrainOutlinedIcon.propTypes = external_prop_types_default().object;
2041
+ const OllamaSvg = ()=>/*#__PURE__*/ (0, jsx_runtime.jsx)("svg", {
2042
+ fill: 'currentColor',
2043
+ fillRule: 'evenodd',
2044
+ height: '1em',
2045
+ viewBox: '0 0 24 24',
2046
+ width: '1em',
2047
+ version: '1.1',
2048
+ children: /*#__PURE__*/ (0, jsx_runtime.jsx)("path", {
2049
+ d: 'm 7.4704097,1.0009411 c -0.0611,5.5e-4 -0.12215,0.006 -0.18252,0.0156 -0.007,7.8e-4 -0.0169,0.003 -0.0234,0.004 -0.052,0.009 -0.10334,0.0213 -0.15401,0.0359 -0.0194,0.006 -0.0415,0.0125 -0.0618,0.0193 -0.19058,0.0639 -0.37161,0.16113 -0.53098,0.28143 -0.16746,0.12586 -0.31421,0.27812 -0.43919,0.44597 -0.22562,0.30161 -0.38308,0.649 -0.49673,1.00668 -0.0644,0.20287 -0.11534,0.41202 -0.15525,0.62116 -0.0223,0.11574 -0.041,0.23213 -0.0577,0.34881 -0.007,0.0532 -0.0148,0.10846 -0.0211,0.1626 -0.0544,0.45805 -0.0697,0.92126 -0.0636,1.38379 0.002,0.16485 0.008,0.32895 0.0162,0.49378 0.015,0.30189 0.0392,0.60373 0.0695,0.90477 7e-5,0.008 0.005,0.0175 -0.005,0.0205 -0.28696,0.19913 -0.55167,0.43477 -0.78156,0.69912 -0.0578,0.0662 -0.1142499,0.13565 -0.1670199,0.2046 -0.14632,0.192 -0.27758,0.39839 -0.38999,0.61311 -0.18659,0.3554 -0.32425,0.73595 -0.41328,1.1272 -0.0476,0.20705 -0.0828,0.41896 -0.10536,0.6301999 -0.0116,0.10743 -0.0196,0.21451 -0.0249,0.32294 -0.005,0.10888 -0.007,0.21908 -0.005,0.32886 0.007,0.51655 0.0884,1.03467 0.24391,1.52842 0.0211,0.0665 0.0437,0.13255 0.0676,0.19733 0.0638,0.17305 0.13896,0.34287 0.22632,0.50604 0.0298,0.0558 0.0621,0.11239 0.0952,0.16721 0.008,0.0127 0.0167,0.0274 0.0249,0.0403 0.0194,0.0312 0.0396,0.0619 0.0598,0.0926 -0.0462,0.10273 -0.0899,0.20691 -0.13069,0.31132 -0.0692,0.17788 -0.13157,0.36054 -0.18597,0.54428 -0.0309,0.10423 -0.06,0.21119 -0.0862,0.31678 -0.0373,0.1502 -0.07,0.30185 -0.0981,0.45349 -0.0388,0.20998 -0.0683,0.42144 -0.0886,0.63313 -0.0146,0.1528 -0.0242,0.30482 -0.0289,0.45819 -0.003,0.10626 -0.004,0.21417 -0.002,0.32105 0.002,0.081 0.005,0.16166 0.0105,0.24294 0.0153,0.23986 0.0457,0.48015 0.091,0.71685 0.0355,0.1845 0.0799,0.36923 0.13448,0.54984 0.0432,0.14088 0.0936,0.27951 0.15075,0.41533 0.10454,0.24786 0.23269,0.48801 0.38105,0.71339 0.006,0.007 0.008,0.0137 0.002,0.0214 -0.044,0.10701 -0.0862,0.21364 -0.1267,0.32215 -0.0769,0.20537 -0.1471,0.41517 -0.20731,0.62678 -0.0222,0.0776 -0.043,0.15602 -0.0627,0.23527 -0.0396,0.15907 -0.0736,0.3206 -0.10086,0.48286 -0.009,0.0566 -0.0185,0.11538 -0.0262,0.17219 -0.0139,0.10099 -0.0248,0.20279 -0.033,0.30374 -0.005,0.0671 -0.009,0.13279 -0.0118,0.20013 -0.009,0.21764 -0.002,0.43802 0.0211,0.65547 0.0167,0.15669 0.0424,0.31338 0.0783,0.46785 0.0297,0.13973 0.0933,0.27397 0.19236,0.37793 0.0853,0.091 0.19609,0.15756 0.31632,0.19075 0.2569199,0.0734 0.5489299,0.005 0.7471999,-0.17365 0.0946,-0.085 0.16642,-0.19567 0.20205,-0.31799 0.0249,-0.0835 0.0341,-0.1715 0.0288,-0.25842 -7.7e-4,-0.0183 -0.003,-0.0395 -0.006,-0.0588 -0.008,-0.0525 -0.0192,-0.10269 -0.0298,-0.15479 -0.0255,-0.12296 -0.0399,-0.24806 -0.0472,-0.37336 -0.0216,-0.39358 0.0347,-0.78773 0.12987,-1.16903 0.10689,-0.42518 0.26323,-0.83647 0.44346,-1.23562 0.0307,-0.0702 0.0668,-0.13856 0.0859,-0.21316 0.0575,-0.21539 0.0129,-0.45707 -0.12318,-0.63447 -0.007,-0.009 -0.0161,-0.0211 -0.0242,-0.0311 -0.0487,-0.0604 -0.0991,-0.11943 -0.14322,-0.18326 -0.21001,-0.29317 -0.35615,-0.62906 -0.44636,-0.97741 -0.098,-0.37755 -0.13274,-0.76946 -0.12461,-1.15881 0.01,-0.42763 0.0711,-0.85351 0.17447,-1.26836 0.0953,-0.37827 0.22379,-0.74964 0.40197,-1.09723 0.033,-0.0651 0.0702,-0.12802 0.10382,-0.19282 0.0611,-0.11995 0.0854,-0.25746 0.0739,-0.39129 -0.005,-0.0569 -0.0162,-0.11327 -0.0337,-0.16765 -0.002,-0.004 -0.005,-0.0145 -0.007,-0.0211 -0.0353,-0.10025 -0.0943,-0.19122 -0.16771,-0.26775 -0.0277,-0.0298 -0.058,-0.0573 -0.0836,-0.089 -0.11992,-0.14158 -0.20864,-0.30655 -0.2828,-0.47582 -0.10707,-0.24817 -0.17798,-0.51086 -0.22355,-0.77692 -0.0838,-0.49446 -0.0711,-1.00498 0.0364,-1.4948199 0.0982,-0.45401 0.29182,-0.89048 0.58319,-1.25383 0.20054,-0.25026 0.44713,-0.46295 0.72237,-0.6273 0.35749,-0.21454 0.75804,-0.35007 1.16656,-0.42716 0.28161,-0.0533 0.56788,-0.0797 0.85426,-0.087 0.0674,-0.002 0.13498,-7.7e-4 0.20237,-0.005 0.24449,-0.0145 0.47663,-0.1595 0.59784,-0.37221 0.0383,-0.0655 0.0622,-0.13735 0.0919,-0.20661 0.11375,-0.25811 0.29118,-0.48439 0.4979,-0.67467 0.2540403,-0.23349 0.5521503,-0.41627 0.8685803,-0.55236 0.33434,-0.14342 0.69052,-0.23489 1.05213,-0.27377 0.15976,-0.0172 0.32058,-0.0263 0.48126,-0.0214 0.43118,0.0124 0.85977,0.1143 1.2499,0.29841 0.290629,0.13747 0.553879,0.33086 0.776809,0.56213 0.1921,0.19984 0.354,0.42784 0.48515,0.67182 0.0368,0.0671 0.0694,0.13639 0.10408,0.20464 0.0874,0.16522 0.24067,0.29304 0.41675,0.3544 0.0887,0.0313 0.18346,0.0434 0.27729,0.0401 0.0146,-4.4e-4 0.0281,-7.7e-4 0.0417,-0.002 0.16364,-0.0102 0.32788,-0.0119 0.4917,-0.005 0.36736,0.0161 0.73489,0.0786 1.07971,0.20879 0.25422,0.0956 0.49495,0.22783 0.70925,0.39491 0.22285,0.17292 0.4174,0.38155 0.57728,0.6138 0.26083,0.37757 0.43305,0.81175 0.53021,1.25901 0.11176,0.5125199 0.12346,1.0467199 0.0338,1.5635799 -0.0365,0.20714 -0.0937,0.41112 -0.17659,0.60462 -0.0555,0.1276 -0.12275,0.25118 -0.21036,0.35975 -0.0504,0.0616 -0.10937,0.11641 -0.17648,0.15939 -0.1082,0.0756 -0.19525,0.18092 -0.24919,0.30141 -0.0213,0.0467 -0.0382,0.0989 -0.0488,0.14703 -0.0247,0.11056 -0.0231,0.22669 0.004,0.33658 0.0229,0.0933 0.0649,0.18139 0.11967,0.2602 0.28401,0.44273 0.51085,0.92555 0.64023,1.43651 0.0842,0.33208 0.12612,0.67507 0.12059,1.01771 -0.005,0.3658 -0.0664,0.73014 -0.17433,1.0795 -0.13172,0.42864 -0.33204,0.83401 -0.57317,1.21127 -0.0437,0.0668 -0.0864,0.13531 -0.11243,0.21124 -0.0641,0.18312 -0.0543,0.3915 0.0303,0.56649 0.0806,0.17611 0.15533,0.35497 0.21981,0.53763 0.13216,0.37163 0.22658,0.7572 0.2729,1.14909 0.0511,0.42995 0.0436,0.86678 -0.0216,1.29477 -0.009,0.0587 -0.018,0.11776 -0.0161,0.17735 1.3e-4,0.0108 7.7e-4,0.0221 7.7e-4,0.0308 0.007,0.11276 0.0402,0.22362 0.0957,0.32193 0.005,0.009 0.012,0.0207 0.0182,0.0305 0.0795,0.12741 0.1989,0.22925 0.33711,0.28797 0.044,0.0188 0.0898,0.0334 0.13653,0.0437 0.005,7.8e-4 0.0152,0.003 0.0222,0.004 0.0724,0.0137 0.14681,0.0168 0.2201,0.009 0.004,-6e-4 0.0135,-0.002 0.0198,-0.002 0.17746,-0.0231 0.34534,-0.11256 0.46313,-0.24736 0.097,-0.10978 0.16097,-0.24843 0.18045,-0.39369 0.0172,-0.10767 0.031,-0.21626 0.0431,-0.3254 0.009,-0.0798 0.0156,-0.15981 0.021,-0.23925 0.007,-0.0989 0.0112,-0.19842 0.0131,-0.29686 0.002,-0.10415 0.002,-0.20834 -7.8e-4,-0.31246 -0.003,-0.10792 -0.009,-0.21903 -0.0181,-0.32668 -0.009,-0.10951 -0.0207,-0.21876 -0.0351,-0.32767 -0.0322,-0.23978 -0.0786,-0.47992 -0.13729,-0.7155 -0.0643,-0.25881 -0.14534,-0.518 -0.23834,-0.76717 -0.0239,-0.0642 -0.0488,-0.12797 -0.0744,-0.19149 0.11733,-0.20428 0.22476,-0.41429 0.3201,-0.62974 0.16584,-0.37473 0.29621,-0.76799 0.37928,-1.17029 0.0318,-0.15274 0.0566,-0.3069 0.0749,-0.46184 0.009,-0.0793 0.0171,-0.16193 0.0226,-0.2416 0.005,-0.064 0.008,-0.12951 0.0101,-0.19266 0.004,-0.10901 0.004,-0.21811 7.7e-4,-0.32713 -0.002,-0.0533 -0.004,-0.10906 -0.007,-0.16325 -0.0131,-0.21501 -0.0395,-0.43164 -0.0785,-0.64442 -0.0243,-0.13307 -0.054,-0.26706 -0.0884,-0.39871 -0.0616,-0.23653 -0.139,-0.47086 -0.23029,-0.69836 -0.0373,-0.0932 -0.0778,-0.18757 -0.11964,-0.27916 -0.0573,-0.12533 -0.11822,-0.24789 -0.18299,-0.36953 0.0849,-0.11003 0.16159,-0.2263 0.22983,-0.34734 0.006,-0.0114 0.0141,-0.0251 0.0205,-0.0369 0.0466,-0.0852 0.0896,-0.17333 0.12832,-0.26148 0.0643,-0.14659 0.11879,-0.29617 0.1648,-0.44966 0.0536,-0.17814 0.0961,-0.36269 0.12756,-0.54751 0.0226,-0.13252 0.0398,-0.26662 0.052,-0.40106 0.01,-0.10721 0.0166,-0.21743 0.0196,-0.32504 0.006,-0.19133 0.002,-0.38193 -0.0121,-0.5726 -0.0117,-0.16256 -0.0307,-0.32649 -0.0565,-0.4881899 -0.0128,-0.08 -0.0278,-0.16274 -0.044,-0.24208 -0.037,-0.18137 -0.0833,-0.36085 -0.13859,-0.53753 -0.0114,-0.0358 -0.0238,-0.0744 -0.0359,-0.11004 -0.0376,-0.11144 -0.0791,-0.22161 -0.12418,-0.33025 -0.0828,-0.19877 -0.17922,-0.39461 -0.28829,-0.58139 -0.0203,-0.035 -0.0423,-0.0712 -0.0634,-0.10556 -0.24899,-0.40108 -0.56068,-0.76434 -0.92665,-1.06317 -0.0485,-0.0398 -0.0981,-0.0782 -0.148,-0.11613 0.038,-0.37857 0.0659,-0.75784 0.0785,-1.13841 0.0134,-0.40524 0.01,-0.81286 -0.0181,-1.2169 -0.0189,-0.2707 -0.0489,-0.53993 -0.0953,-0.80793 -0.0123,-0.0713 -0.0259,-0.14287 -0.0405,-0.21331 -0.033,-0.15846 -0.0717,-0.31562 -0.11854,-0.47102 -0.0465,-0.15471 -0.1015,-0.30869 -0.1661,-0.4575 -0.0214,-0.0493 -0.0439,-0.0982 -0.0678,-0.14695 -0.009,-0.0188 -0.0188,-0.0377 -0.0279,-0.0557 -0.11289,-0.2199 -0.25139,-0.42767 -0.42042,-0.60854 -0.0123,-0.013 -0.0267,-0.0282 -0.0401,-0.0418 -0.0262,-0.0266 -0.0535,-0.053 -0.0803,-0.0775 -0.12019,-0.11056 -0.25377,-0.2067 -0.3977,-0.28395 -0.0245,-0.0131 -0.0528,-0.0275 -0.0778,-0.0395 -0.11839,-0.0565 -0.24291,-0.10048 -0.37108,-0.12872 -0.0202,-0.004 -0.0433,-0.009 -0.0648,-0.0126 -0.28178,-0.0463 -0.57708,0.004 -0.83022,0.13546 -0.0927,0.0469 -0.18232,0.10317 -0.26588,0.16638 -0.0822,0.0622 -0.16077,0.13298 -0.23185,0.20897 -0.10415,0.11066 -0.19864,0.23025 -0.2838,0.35606 -0.0444,0.0656 -0.0876,0.1348 -0.12776,0.20412 -0.12012,0.20781 -0.22145,0.4285 -0.30774,0.65362 -0.0116,0.0298 -0.0221,0.0589 -0.0334,0.0893 -0.0641,0.17732 -0.12073,0.36007 -0.16867,0.54344 -0.0343,0.13179 -0.0643,0.26462 -0.0902,0.39881 -0.0309,0.15967 -0.0562,0.32245 -0.0757,0.48468 -0.002,0.0153 -0.004,0.0307 -0.006,0.046 -0.13431,-0.0765 -0.27224,-0.1467 -0.41411,-0.20808 -0.17482,-0.0758 -0.35468,-0.13993 -0.537719,-0.19287 -0.0267,-0.007 -0.0558,-0.0158 -0.0835,-0.0231 -0.0394,-0.0107 -0.0806,-0.0208 -0.11919,-0.0303 -0.061,-0.0144 -0.12272,-0.028 -0.18343,-0.0398 -0.24782,-0.0488 -0.49958,-0.0772 -0.75198,-0.0861 -0.0805,-0.003 -0.16346,-0.004 -0.24493,-0.002 -0.0538,7.1e-4 -0.10589,0.002 -0.15963,0.005 -0.0433,0.002 -0.0856,0.004 -0.12835,0.007 -0.1909,0.0131 -0.38104,0.037 -0.56932,0.0711 -0.0207,0.004 -0.0443,0.008 -0.0649,0.0123 -0.43176,0.084 -0.85229,0.22477 -1.2482103,0.41629 -0.0482,0.0233 -0.0976,0.0485 -0.14587,0.0732 -0.003,-0.005 -0.002,-0.0159 -0.004,-0.0231 -0.012,-0.10724 -0.026,-0.21381 -0.0429,-0.32066 -0.0249,-0.1579 -0.0554,-0.31485 -0.0918,-0.47104 -0.0798,-0.34094 -0.18678,-0.67747 -0.32584,-0.99962 -0.0643,-0.14844 -0.13592,-0.29361 -0.21693,-0.43401 -0.0343,-0.0594 -0.0707,-0.11869 -0.10876,-0.17647 -0.009,-0.013 -0.0193,-0.0288 -0.0288,-0.0428 -0.06,-0.0879 -0.12299,-0.17113 -0.19235,-0.25193 -0.0509,-0.0591 -0.10563,-0.11741 -0.16277,-0.17157 -0.0385,-0.0365 -0.0787,-0.0722 -0.1205,-0.10601 -0.0407,-0.0329 -0.0813,-0.063 -0.12494,-0.0925 -0.16737,-0.11301 -0.35607,-0.19727 -0.55615,-0.23385 -0.0122,-0.002 -0.0299,-0.005 -0.0422,-0.007 -0.0712,-0.0108 -0.14328,-0.016 -0.21532,-0.0153 z m 0.0173,1.52912 c 0.0922,0.0848 0.16041,0.19136 0.22462,0.29792 0.11765,0.20128 0.20598,0.41834 0.27898,0.63936 0.0917,0.27975 0.15551,0.56831 0.19677,0.85968 0.0521,0.37509 0.0657,0.75626 0.0298,1.13351 -0.007,0.0679 -0.0142,0.13586 -0.0258,0.20313 -0.002,0.0158 -0.0145,0.0269 -0.0218,0.0404 -0.0375,0.0577 -0.0727,0.11677 -0.10764,0.17604 -0.0804,0.005 -0.16026,0.0116 -0.24077,0.0195 -0.0799,0.008 -0.1616,0.0174 -0.24149,0.0283 -0.21462,0.0292 -0.4267,0.069 -0.63687,0.12096 -0.041,0.01 -0.0809,0.0207 -0.12183,0.0313 -0.0342,-0.48703 -0.0481,-0.97615 -0.0229,-1.46398 0.0181,-0.34563 0.0556,-0.69107 0.12964,-1.02947 0.0488,-0.21979 0.11295,-0.43733 0.20824,-0.64177 0.0551,-0.11674 0.12141,-0.22939 0.20702,-0.32653 0.0373,-0.0406 0.0822,-0.0733 0.12919,-0.10185 0.005,0.004 0.01,0.009 0.0149,0.0135 z m 9.1110793,0.0355 c 0.0782,0.048 0.14209,0.11669 0.1912,0.19372 0.0687,0.101 0.12548,0.20977 0.17152,0.32284 0.10798,0.26509 0.17331,0.54544 0.21842,0.82748 0.0625,0.39235 0.0856,0.79001 0.0885,1.18698 0.002,0.32161 -0.01,0.64319 -0.0314,0.96404 -0.0839,-0.0219 -0.16709,-0.0425 -0.25206,-0.0607 -0.13176,-0.0285 -0.26728,-0.0522 -0.40087,-0.0703 -0.098,-0.0133 -0.1964,-0.0238 -0.29437,-0.0316 -0.0808,-0.006 -0.16167,-0.0108 -0.24264,-0.0135 -0.0443,-7.7e-4 -0.0905,-0.002 -0.13556,-0.003 -0.0156,-0.023 -0.0303,-0.0481 -0.0319,-0.0765 -0.0646,-0.35938 -0.0751,-0.72706 -0.0492,-1.09081 0.0254,-0.34989 0.0852,-0.69751 0.18097,-1.03508 0.0756,-0.26379 0.17088,-0.52343 0.30371,-0.76418 0.0575,-0.10291 0.12071,-0.20363 0.19893,-0.29224 0.0212,-0.024 0.0442,-0.0462 0.0676,-0.068 0.006,0.004 0.0114,0.007 0.0172,0.0105 z M 11.97812,10.093201 c -0.29757,0.003 -0.5948,0.0378 -0.88513,0.10318 -0.0247,0.006 -0.0521,0.0119 -0.0777,0.0184 -0.0862,0.0211 -0.17327,0.0456 -0.25691,0.0719 -0.53891,0.17022 -1.0446503,0.45323 -1.4587203,0.83927 -0.12623,0.11787 -0.24395,0.24499 -0.34979,0.38149 -0.008,0.0107 -0.0179,0.0232 -0.026,0.0341 -0.10027,0.13304 -0.18941,0.2746 -0.26446,0.42337 -0.01,0.0194 -0.0205,0.0415 -0.0303,0.0621 -0.0263,0.0559 -0.0506,0.11263 -0.0728,0.1702 -0.003,0.008 -0.008,0.0205 -0.0113,0.0303 -0.0226,0.0616 -0.0429,0.12424 -0.0599,0.18647 -0.0283,0.10329 -0.0491,0.20866 -0.0617,0.31502 -0.003,0.0302 -0.007,0.0629 -0.009,0.0941 -7.8e-4,0.016 -0.002,0.0289 -0.003,0.0449 -7.8e-4,0.0146 -7.8e-4,0.0276 -0.002,0.0428 -0.006,0.2216 0.022,0.44399 0.0809,0.65764 0.0277,0.10044 0.0625,0.19892 0.10357,0.29467 0.008,0.0183 0.0171,0.0392 0.026,0.0583 0.0564,0.12234 0.12414,0.23935 0.20073,0.35016 0.007,0.009 0.0154,0.022 0.0221,0.0314 0.10303,0.14422 0.22142,0.27729 0.3513,0.39783 0.0964,0.0895 0.20126,0.1737 0.30999,0.24954 0.0448,0.0312 0.0904,0.0613 0.13671,0.0903 0.0115,0.007 0.0269,0.0167 0.0387,0.0238 0.17806,0.10773 0.3664603,0.19799 0.5607703,0.27234 0.0238,0.009 0.0501,0.0188 0.0751,0.0277 0.0687,0.0246 0.13812,0.0473 0.20752,0.0679 0.0632,0.0188 0.12777,0.0363 0.19252,0.0523 0.0778,0.0191 0.15808,0.0368 0.23757,0.0518 0.15738,0.03 0.31825,0.0521 0.47857,0.0665 0.0806,0.007 0.16127,0.0127 0.24198,0.0164 0.16075,0.007 0.32268,0.008 0.48403,0.003 0.0652,-0.002 0.13175,-0.005 0.19704,-0.009 0.42591,-0.0252 0.85193,-0.0914 1.260169,-0.21923 0.0997,-0.0313 0.19865,-0.0666 0.29488,-0.10564 0.1098,-0.0445 0.21734,-0.0945 0.32183,-0.15033 0.0225,-0.0122 0.0474,-0.0257 0.0705,-0.039 0.0825,-0.0469 0.16406,-0.0989 0.24063,-0.15333 0.25827,-0.18379 0.48472,-0.41488 0.65159,-0.68512 0.0664,-0.10688 0.1241,-0.22091 0.17114,-0.33658 0.0299,-0.0734 0.0559,-0.14829 0.0781,-0.22434 0.0145,-0.0503 0.0282,-0.10349 0.0395,-0.1556 0.0326,-0.14947 0.052,-0.3018 0.0583,-0.45466 4.4e-4,-0.0136 7.8e-4,-0.0307 7.8e-4,-0.0457 7.7e-4,-0.0572 7.2e-4,-0.11451 -7.8e-4,-0.17173 -6.2e-4,-0.0117 -7.7e-4,-0.0271 -0.002,-0.0403 -0.002,-0.0347 -0.006,-0.0714 -0.009,-0.10455 -0.003,-0.024 -0.006,-0.0454 -0.009,-0.0694 -0.0231,-0.15724 -0.0632,-0.31181 -0.1176,-0.46106 -0.004,-0.0108 -0.01,-0.0257 -0.0137,-0.0366 -0.0683,-0.17853 -0.15769,-0.34857 -0.26221,-0.50845 -0.009,-0.0129 -0.0189,-0.0286 -0.0284,-0.0425 -0.2597,-0.38142 -0.60772,-0.69866 -0.99891,-0.94141 -0.40822,-0.25265 -0.865639,-0.42352 -1.337759,-0.50858 -0.10639,-0.0194 -0.21358,-0.0342 -0.32116,-0.0452 -0.0215,-0.002 -0.0458,-0.004 -0.0684,-0.006 -0.038,-0.003 -0.0758,-0.006 -0.11314,-0.008 -0.0512,-0.003 -0.10297,-0.005 -0.1534,-0.006 -0.0428,-7.8e-4 -0.0857,-7.8e-4 -0.1285,-7.8e-4 z m -4.3242503,0.18566 c -0.26116,0.008 -0.51706,0.12785 -0.6896,0.32425 -0.003,0.004 -0.0114,0.013 -0.0146,0.0168 -0.0462,0.0543 -0.0861,0.11397 -0.11922,0.17712 -0.003,0.005 -0.008,0.0147 -0.0109,0.0216 -0.0714,0.14475 -0.106,0.30755 -0.0983,0.46886 0.009,0.21833 0.0935,0.43366 0.23925,0.59709 0.15675,0.17856 0.38071,0.29796 0.61745,0.32307 0.23922,0.0271 0.48798,-0.0396 0.68052,-0.18447 0.19109,-0.1415 0.32758,-0.35554 0.37233,-0.58934 0.0462,-0.2345 0.003,-0.48596 -0.12187,-0.69007 -0.11769,-0.19404 -0.30498,-0.34553 -0.52088,-0.41645 -0.0844,-0.0281 -0.17266,-0.0443 -0.26149,-0.0481 -0.005,-8e-5 -0.0158,-4.5e-4 -0.023,-6.5e-4 -0.0166,-2.2e-4 -0.0331,-6e-5 -0.0497,3.3e-4 z m 8.6355293,-3.1e-4 c -0.27874,0.005 -0.5524,0.13806 -0.72751,0.35503 -0.14653,0.17901 -0.22633,0.41187 -0.21755,0.64328 0.007,0.23326 0.10085,0.46363 0.26232,0.63268 0.0745,0.0789 0.16227,0.14509 0.25841,0.19534 0.005,0.003 0.0148,0.008 0.0218,0.011 0.0141,0.007 0.0297,0.0142 0.0426,0.0196 0.17334,0.0756 0.36949,0.0966 0.55518,0.0616 0.005,-7.7e-4 0.0153,-0.003 0.0223,-0.004 0.13995,-0.0293 0.27276,-0.0908 0.38611,-0.17789 0.16147,-0.12338 0.28314,-0.29849 0.33983,-0.49384 0.0619,-0.20865 0.051,-0.43814 -0.0314,-0.63967 -0.0723,-0.17899 -0.19942,-0.33552 -0.36067,-0.44189 -0.16192,-0.10782 -0.35677,-0.16561 -0.55143,-0.16087 z m -4.299249,0.91214 c 0.20203,-5.4e-4 0.40442,0.0154 0.6029,0.0538 0.40868,0.0781 0.80282,0.24483 1.132919,0.4997 0.2211,0.17072 0.41455,0.38134 0.5482,0.6277 0.0926,0.17105 0.15537,0.36103 0.1634,0.55635 0.004,0.1768 -0.0164,0.3556 -0.0738,0.52342 -0.0607,0.1795 -0.1675,0.34252 -0.3056,0.472 -0.16415,0.15497 -0.3643,0.26688 -0.57256,0.35111 -0.254169,0.10255 -0.523129,0.16407 -0.793909,0.20285 -0.28883,0.0403 -0.58102,0.0549 -0.87252,0.0486 -0.34578,-0.008 -0.69222,-0.0553 -1.02295,-0.15861 -0.25404,-0.0798 -0.49904,-0.19472 -0.71233,-0.35534 -0.1796403,-0.13542 -0.3362103,-0.30555 -0.4391203,-0.50671 -0.0952,-0.18553 -0.14272,-0.3967 -0.1282,-0.60518 0.0136,-0.18264 0.079,-0.35812 0.1697,-0.51603 0.12743,-0.22175 0.30382,-0.41269 0.5029603,-0.57194 0.11585,-0.092 0.24011,-0.17307 0.36883,-0.24581 0.34434,-0.19355 0.72817,-0.31623 1.12087,-0.35868 0.10334,-0.0114 0.20727,-0.0163 0.31121,-0.0172 z m 0.40515,0.86251 c -0.0382,7.7e-4 -0.0762,0.007 -0.1129,0.0179 -0.004,7.7e-4 -0.0136,0.004 -0.0197,0.006 -0.0653,0.0224 -0.12485,0.0595 -0.17627,0.10527 -0.0375,0.0296 -0.075,0.0593 -0.11254,0.0889 -0.0602,-0.0478 -0.11887,-0.0977 -0.18193,-0.14186 -0.007,-0.005 -0.0171,-0.012 -0.0257,-0.0171 -0.15195,-0.0882 -0.35617,-0.0767 -0.49596,0.0303 -0.12205,0.0897 -0.19405,0.2445 -0.17993,0.39581 0.01,0.12714 0.0765,0.24904 0.17944,0.32462 0.072,0.0582 0.14412,0.11631 0.21626,0.17435 6e-4,0.15128 -0.002,0.30263 0.003,0.45385 0.0174,0.17746 0.14388,0.33959 0.31266,0.39793 0.15291,0.0551 0.33411,0.0272 0.46051,-0.076 0.11381,-0.0906 0.18318,-0.23544 0.17902,-0.38127 5.3e-4,-0.12669 3e-5,-0.25339 2.5e-4,-0.38008 0.0967,-0.0773 0.19626,-0.15126 0.28965,-0.23261 0.12393,-0.12288 0.16508,-0.32191 0.0981,-0.48337 -0.0564,-0.14301 -0.19134,-0.2515 -0.34308,-0.27611 -0.0299,-0.005 -0.0603,-0.007 -0.0907,-0.007 z'
2050
+ })
2051
+ });
2052
+ const OllamaOutlinedIcon = (props)=>/*#__PURE__*/ (0, jsx_runtime.jsx)(icons_default(), {
2053
+ component: OllamaSvg,
2054
+ ...props
2055
+ });
2056
+ OllamaOutlinedIcon.propTypes = external_prop_types_default().object;
1932
2057
  })();
2058
+ exports.AdminUserOutlinedIcon = __webpack_exports__.AdminUserOutlinedIcon;
1933
2059
  exports.ChangePassword = __webpack_exports__.ChangePassword;
1934
2060
  exports.CodebitConfigContext = __webpack_exports__.CodebitConfigContext;
1935
2061
  exports.CodebitConfigProvider = __webpack_exports__.CodebitConfigProvider;
1936
2062
  exports.CodebitThemeContext = __webpack_exports__.CodebitThemeContext;
1937
2063
  exports.CodebitThemeProvider = __webpack_exports__.CodebitThemeProvider;
1938
2064
  exports.CssTokenBridge = __webpack_exports__.CssTokenBridge;
2065
+ exports.ElectronicBrainOutlinedIcon = __webpack_exports__.ElectronicBrainOutlinedIcon;
1939
2066
  exports.ErrorRetry = __webpack_exports__.ErrorRetry;
1940
2067
  exports.FilterContainer = __webpack_exports__.FilterContainer;
1941
2068
  exports.ForgotPassword = __webpack_exports__.ForgotPassword;
@@ -1947,17 +2074,20 @@ exports.LocalLoginRecoveryPasswordResult = __webpack_exports__.LocalLoginRecover
1947
2074
  exports.LoggedMainContainer = __webpack_exports__.LoggedMainContainer;
1948
2075
  exports.Login = __webpack_exports__.Login;
1949
2076
  exports.LoginContainer = __webpack_exports__.LoginContainer;
2077
+ exports.OllamaOutlinedIcon = __webpack_exports__.OllamaOutlinedIcon;
1950
2078
  exports.TableContainer = __webpack_exports__.TableContainer;
1951
2079
  exports.ThemeToggle = __webpack_exports__.ThemeToggle;
1952
2080
  exports.useErrorMessage = __webpack_exports__.useErrorMessage;
1953
2081
  exports.useErrorModal = __webpack_exports__.useErrorModal;
1954
2082
  for(var __rspack_i in __webpack_exports__)if (-1 === [
2083
+ "AdminUserOutlinedIcon",
1955
2084
  "ChangePassword",
1956
2085
  "CodebitConfigContext",
1957
2086
  "CodebitConfigProvider",
1958
2087
  "CodebitThemeContext",
1959
2088
  "CodebitThemeProvider",
1960
2089
  "CssTokenBridge",
2090
+ "ElectronicBrainOutlinedIcon",
1961
2091
  "ErrorRetry",
1962
2092
  "FilterContainer",
1963
2093
  "ForgotPassword",
@@ -1969,6 +2099,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
1969
2099
  "LoggedMainContainer",
1970
2100
  "Login",
1971
2101
  "LoginContainer",
2102
+ "OllamaOutlinedIcon",
1972
2103
  "TableContainer",
1973
2104
  "ThemeToggle",
1974
2105
  "useErrorMessage",
package/dist/index.css CHANGED
@@ -83,7 +83,7 @@ html.dark-theme {
83
83
  padding: 0;
84
84
  }
85
85
 
86
- :is(.drawer-oj0mJX .ant-drawer-header, .drawer-oj0mJX .ant-drawer-header-close-only) {
86
+ .drawer-oj0mJX .ant-drawer-header, .drawer-oj0mJX .ant-drawer-header-close-only {
87
87
  display: none;
88
88
  }
89
89
 
@@ -151,13 +151,9 @@ html.dark-theme {
151
151
  display: flex;
152
152
  }
153
153
 
154
- .logoutMenu-_RLfGo {
154
+ .bottomMenu-VtOktS {
155
155
  border-top: 1px solid var(--antd-color-split);
156
156
  background: none;
157
- justify-content: center;
158
- align-items: center;
159
- margin-top: auto;
160
- display: flex;
161
157
  }
162
158
 
163
159
  .header-vgc67L {
@@ -198,10 +194,10 @@ html.dark-theme {
198
194
 
199
195
  .loginCard-k07Wjb {
200
196
  box-shadow: 0 4px 15px #00000026;
201
- }
202
197
 
203
- .loginCard-k07Wjb.dark-JBf6Fe {
204
- box-shadow: 0 4px 20px #00000080;
198
+ &.dark-JBf6Fe {
199
+ box-shadow: 0 4px 20px #00000080;
200
+ }
205
201
  }
206
202
 
207
203
  .titleRow-XMkFzo {
@@ -235,6 +231,10 @@ html.dark-theme {
235
231
  max-width: 80%;
236
232
  }
237
233
 
234
+ .container-A_JXAc .content-yh3y0U .result-I5O6eq {
235
+ flex: 1;
236
+ }
237
+
238
238
  .container-A_JXAc .title-rFxsxp {
239
239
  margin: 0;
240
240
  }
package/dist/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './components/index';
2
2
  export * from './contexts/index';
3
3
  export * from './public-pages/index';
4
4
  export * from './hooks';
5
+ export * from './icons';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebit-programando-solucoes/codebit-web-antd",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "main": "./dist/index.cjs",
5
5
  "type": "module",
6
6
  "types": "./src/index.d.ts",