aq-fe-framework 0.1.464 → 0.1.465

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.
@@ -16,8 +16,9 @@ interface BasicAppShellProps {
16
16
  menu: I_BasicAppShell_LinkItem[];
17
17
  extraTopRight?: ReactNode;
18
18
  title?: string;
19
+ logoutRedirect?: string;
19
20
  }
20
- declare function BasicAppShell({ children, menu, extraTopRight, title }: BasicAppShellProps): react_jsx_runtime.JSX.Element;
21
+ declare function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect }: BasicAppShellProps): react_jsx_runtime.JSX.Element;
21
22
  declare const groupToTwoLevels: (menu: I_BasicAppShell_LinkItem[]) => I_BasicAppShell_LinkItem[];
22
23
  declare function utils_layout_getItemsWithoutLinks(menu: I_BasicAppShell_LinkItem[]): I_BasicAppShell_LinkItem[];
23
24
 
@@ -2,7 +2,7 @@ import {
2
2
  MyDataTable,
3
3
  MyFlexColumn,
4
4
  MyFlexRow
5
- } from "./chunk-5A5AGS35.mjs";
5
+ } from "./chunk-R6UM63WF.mjs";
6
6
  import {
7
7
  const_object_colors
8
8
  } from "./chunk-OMJJAHOC.mjs";
@@ -7339,7 +7339,7 @@ function BasicAppShell_transformMenuToEnum(prefixProjectName, menu) {
7339
7339
  return acc;
7340
7340
  }, {});
7341
7341
  }
7342
- function BasicAppShell({ children, menu, extraTopRight, title }) {
7342
+ function BasicAppShell({ children, menu, extraTopRight, title, logoutRedirect }) {
7343
7343
  var _a, _b;
7344
7344
  const pathName = usePathname2();
7345
7345
  const basicAppShellStore = useS_BasicAppShell();
@@ -7482,7 +7482,7 @@ function BasicAppShell({ children, menu, extraTopRight, title }) {
7482
7482
  /* @__PURE__ */ jsx51(AppShell.Section, { grow: true, component: ScrollArea3, p: 5, children: /* @__PURE__ */ jsx51(RenderNavLinks, { items: menu }) }),
7483
7483
  /* @__PURE__ */ jsxs28(AppShell.Section, { px: "md", children: [
7484
7484
  /* @__PURE__ */ jsx51(Divider2, {}),
7485
- /* @__PURE__ */ jsx51(F_authenticate_Logout, {}),
7485
+ /* @__PURE__ */ jsx51(F_authenticate_Logout, { redirectURL: logoutRedirect }),
7486
7486
  process.env.NEXT_PUBLIC_APP_PROTOTYPE == "1" ? /* @__PURE__ */ jsx51(
7487
7487
  Image3,
7488
7488
  {
@@ -6,8 +6,8 @@ import { M as MyApiResponse } from '../createBaseApi-D9OK2lA_.mjs';
6
6
  import { AxiosResponse } from 'axios';
7
7
  import { useDisclosure, useListState } from '@mantine/hooks';
8
8
  import { UseFormReturnType, useForm } from '@mantine/form';
9
- import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-CGKvZ5wV.mjs';
10
- export { a as BasicAppShell, B as BasicAppShell_transformMenuToEnum, g as groupToTwoLevels, u as utils_layout_getItemsWithoutLinks } from '../BasicAppShell-CGKvZ5wV.mjs';
9
+ import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-D3LIC6va.mjs';
10
+ export { a as BasicAppShell, B as BasicAppShell_transformMenuToEnum, g as groupToTwoLevels, u as utils_layout_getItemsWithoutLinks } from '../BasicAppShell-D3LIC6va.mjs';
11
11
  import { I as IUtils_Excel_ColumnConfig, a as IAQFileDetail } from '../utils_file-G8NTHCO-.mjs';
12
12
  import { MRT_ColumnDef, MRT_RowData, MRT_TableOptions, MRT_TableInstance } from 'mantine-react-table';
13
13
  import { ConfigOptions } from 'export-to-csv';
@@ -65,7 +65,7 @@ import {
65
65
  useS_BasicAppShell,
66
66
  useS_ButtonImport,
67
67
  utils_layout_getItemsWithoutLinks
68
- } from "../chunk-5A5AGS35.mjs";
68
+ } from "../chunk-R6UM63WF.mjs";
69
69
  import "../chunk-U62R2QKJ.mjs";
70
70
  import "../chunk-5U2JSHSJ.mjs";
71
71
  import "../chunk-OMJJAHOC.mjs";
@@ -16,8 +16,8 @@ import {
16
16
  MyStatsCard,
17
17
  MyTextInput,
18
18
  MyWeeklySessionSchedulerPicker
19
- } from "../chunk-GTZU2RDA.mjs";
20
- import "../chunk-5A5AGS35.mjs";
19
+ } from "../chunk-6UDHYMG5.mjs";
20
+ import "../chunk-R6UM63WF.mjs";
21
21
  import "../chunk-U62R2QKJ.mjs";
22
22
  import "../chunk-5U2JSHSJ.mjs";
23
23
  import "../chunk-GFEMKKFH.mjs";
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-CGKvZ5wV.mjs';
2
+ import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-D3LIC6va.mjs';
3
3
  import { I as IBaseEntity } from '../IBaseEntity-BprRafT5.mjs';
4
4
  import { SelectProps, ButtonProps } from '@mantine/core';
5
5
  import { I as IEmailConfig } from '../IEmailConfig-Bza2PzTi.mjs';
@@ -15,7 +15,7 @@ import {
15
15
  MyButton as MyButton2,
16
16
  MyDataTableSelectOne,
17
17
  MyTextInput as MyTextInput2
18
- } from "../chunk-GTZU2RDA.mjs";
18
+ } from "../chunk-6UDHYMG5.mjs";
19
19
  import {
20
20
  F_authenticate_Logout,
21
21
  MyActionIconDelete,
@@ -41,7 +41,7 @@ import {
41
41
  groupToTwoLevels,
42
42
  useS_authenticate,
43
43
  utils_layout_getItemsWithoutLinks
44
- } from "../chunk-5A5AGS35.mjs";
44
+ } from "../chunk-R6UM63WF.mjs";
45
45
  import {
46
46
  createGenericStore
47
47
  } from "../chunk-U62R2QKJ.mjs";
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.464",
45
+ "version": "0.1.465",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"