aq-fe-framework 0.1.458 → 0.1.459

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,13 +16,13 @@ import {
16
16
  MyStatsCard,
17
17
  MyTextInput,
18
18
  MyWeeklySessionSchedulerPicker
19
- } from "../chunk-GTZU2RDA.mjs";
19
+ } from "../chunk-DNCEJ7WI.mjs";
20
20
  import "../chunk-5A5AGS35.mjs";
21
21
  import "../chunk-U62R2QKJ.mjs";
22
22
  import "../chunk-5U2JSHSJ.mjs";
23
+ import "../chunk-K6S7R6LU.mjs";
23
24
  import "../chunk-GFEMKKFH.mjs";
24
25
  import "../chunk-OMJJAHOC.mjs";
25
- import "../chunk-K6S7R6LU.mjs";
26
26
  import "../chunk-KFSAV44B.mjs";
27
27
  import "../chunk-7ZCOFATU.mjs";
28
28
  import "../chunk-FWCSY2DS.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-DNCEJ7WI.mjs";
19
19
  import {
20
20
  F_authenticate_Logout,
21
21
  MyActionIconDelete,
@@ -46,16 +46,16 @@ import {
46
46
  createGenericStore
47
47
  } from "../chunk-U62R2QKJ.mjs";
48
48
  import "../chunk-5U2JSHSJ.mjs";
49
+ import {
50
+ enum_emailConfigModule
51
+ } from "../chunk-VH4ZAD6M.mjs";
52
+ import "../chunk-K6S7R6LU.mjs";
49
53
  import {
50
54
  const_object_documentTypes
51
55
  } from "../chunk-GFEMKKFH.mjs";
52
56
  import {
53
57
  const_object_colors
54
58
  } from "../chunk-OMJJAHOC.mjs";
55
- import {
56
- enum_emailConfigModule
57
- } from "../chunk-VH4ZAD6M.mjs";
58
- import "../chunk-K6S7R6LU.mjs";
59
59
  import {
60
60
  baseAxios_default,
61
61
  createBaseApi,
@@ -4467,11 +4467,14 @@ function F_pageContentConfig_Save({ menuValues }) {
4467
4467
 
4468
4468
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig_ReadMenu.tsx
4469
4469
  import { jsx as jsx85, jsxs as jsxs54 } from "react/jsx-runtime";
4470
- function F_pageContentConfig_ReadMenu() {
4470
+ function F_pageContentConfig_ReadMenu({ menudataPrototype }) {
4471
4471
  const pageContentQuery = useMyReactQuery({
4472
4472
  queryKey: ["pageContents"],
4473
4473
  axiosFn: () => service_pageContent.getAll(),
4474
- mockData: mockData4
4474
+ mockData: groupToTwoLevels(menudataPrototype || []).flatMap((item) => item.links).map((item) => ({
4475
+ name: item == null ? void 0 : item.label,
4476
+ description: ""
4477
+ }))
4475
4478
  });
4476
4479
  const device = useMyDevice();
4477
4480
  const columns = useMemo18(() => [
@@ -4503,15 +4506,11 @@ function F_pageContentConfig_ReadMenu() {
4503
4506
  }
4504
4507
  );
4505
4508
  }
4506
- var mockData4 = groupToTwoLevels(menuData).flatMap((item) => item.links).map((item) => ({
4507
- name: item == null ? void 0 : item.label,
4508
- description: ""
4509
- }));
4510
4509
 
4511
4510
  // src/modules-features/admin/core/pageContentConfig/F_pageContentConfig.tsx
4512
4511
  import { jsx as jsx86 } from "react/jsx-runtime";
4513
4512
  function F_pageContentConfig() {
4514
- return /* @__PURE__ */ jsx86(F_pageContentConfig_ReadMenu, {});
4513
+ return /* @__PURE__ */ jsx86(F_pageContentConfig_ReadMenu, { menudataPrototype: menuData });
4515
4514
  }
4516
4515
 
4517
4516
  // src/modules-features/admin/core/roleCatalog/F_roleCatalog_Read.tsx
@@ -4588,13 +4587,13 @@ function useQ_core47643_GetAdminRole2() {
4588
4587
  queryKey: ["useQ_core47643_GetAdminRole"],
4589
4588
  queryFn: async () => {
4590
4589
  const res = await baseAxios_default.get("/Role/GetAdminRole");
4591
- if (process.env.NEXT_PUBLIC_APP_PROTOTYPE == "1") return mockData5;
4590
+ if (process.env.NEXT_PUBLIC_APP_PROTOTYPE == "1") return mockData4;
4592
4591
  return res.data.data;
4593
4592
  }
4594
4593
  });
4595
4594
  return query;
4596
4595
  }
4597
- var mockData5 = [
4596
+ var mockData4 = [
4598
4597
  {
4599
4598
  "aqModuleId": 3,
4600
4599
  "id": 6,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.458",
45
+ "version": "0.1.459",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"
@@ -3,12 +3,12 @@ import {
3
3
  MyFlexColumn,
4
4
  MyFlexRow
5
5
  } from "./chunk-5A5AGS35.mjs";
6
- import {
7
- const_object_colors
8
- } from "./chunk-OMJJAHOC.mjs";
9
6
  import {
10
7
  enum_daysOfWeek
11
8
  } from "./chunk-K6S7R6LU.mjs";
9
+ import {
10
+ const_object_colors
11
+ } from "./chunk-OMJJAHOC.mjs";
12
12
  import {
13
13
  useMyReactMutation,
14
14
  useMyReactQuery