aq-fe-framework 0.1.358 → 0.1.360

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.
@@ -3,6 +3,7 @@ var const_object_colors = {
3
3
  mantineBackgroundPrimary: "light-dark(var(--mantine-color-white), var(--mantine-color-dark))",
4
4
  mantineBackgroundSecondary: "light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-8))",
5
5
  mantineBackgroundBlueLight: "var(--mantine-color-blue-light)",
6
+ mantineBackgroundBlue: "var(--mantine-color-blue)",
6
7
  mantineBackgroundTealLight: "var(--mantine-color-teal-light)"
7
8
  };
8
9
 
@@ -3,12 +3,12 @@ import {
3
3
  MyFlexColumn,
4
4
  MyFlexRow
5
5
  } from "./chunk-GEYCGM75.mjs";
6
+ import {
7
+ const_object_colors
8
+ } from "./chunk-7ORPZMGL.mjs";
6
9
  import {
7
10
  enum_daysOfWeek
8
11
  } from "./chunk-K6S7R6LU.mjs";
9
- import {
10
- const_object_colors
11
- } from "./chunk-NWBLJ3W3.mjs";
12
12
  import {
13
13
  useMyReactMutation
14
14
  } from "./chunk-YQPDRFRL.mjs";
@@ -188,7 +188,7 @@ function MyButton(_a) {
188
188
  }
189
189
 
190
190
  // src/core/button/MyButtonCreateUpdate.tsx
191
- import { ActionIcon as ActionIcon2, Button as Button3, Modal, ScrollArea, Space } from "@mantine/core";
191
+ import { ActionIcon as ActionIcon2, Button as Button3, Modal, ScrollArea, Space, useMantineColorScheme } from "@mantine/core";
192
192
  import { useDisclosure } from "@mantine/hooks";
193
193
  import { IconEdit as IconEdit3, IconPlus as IconPlus3 } from "@tabler/icons-react";
194
194
  import { useQueryClient } from "@tanstack/react-query";
@@ -207,6 +207,7 @@ function MyButtonCreateUpdate({
207
207
  disclosure: externalDisclosure,
208
208
  isUpdate = false
209
209
  }) {
210
+ const theme = useMantineColorScheme();
210
211
  const defaultDisclosure = useDisclosure();
211
212
  const disclosure = externalDisclosure != null ? externalDisclosure : defaultDisclosure;
212
213
  const queryClient = useQueryClient();
@@ -269,7 +270,12 @@ function MyButtonCreateUpdate({
269
270
  __spreadProps(__spreadValues({
270
271
  title: isUpdate ? "S\u1EEDa d\u1EEF li\u1EC7u" : "Th\xEAm d\u1EEF li\u1EC7u",
271
272
  opened: disclosure[0],
272
- onClose: disclosure[1].close
273
+ onClose: disclosure[1].close,
274
+ styles: {
275
+ content: {
276
+ backgroundColor: theme.colorScheme === "dark" ? "var(--mantine-color-dark-8)" : "var(--mantine-color-gray-1)"
277
+ }
278
+ }
273
279
  }, modalProps), {
274
280
  children: /* @__PURE__ */ jsxs(
275
281
  "form",
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-GEYCGM75.mjs";
12
12
  import {
13
13
  const_object_colors
14
- } from "./chunk-NWBLJ3W3.mjs";
14
+ } from "./chunk-7ORPZMGL.mjs";
15
15
  import {
16
16
  baseAxios_default,
17
17
  useMyReactMutation,
@@ -62,7 +62,7 @@ import {
62
62
  useS_BasicAppShell,
63
63
  useS_ButtonImport,
64
64
  utils_layout_getItemsWithoutLinks
65
- } from "../chunk-IE6RLE7T.mjs";
65
+ } from "../chunk-VSHEYJ6M.mjs";
66
66
  import "../chunk-Y3YGC5IH.mjs";
67
67
  import "../chunk-5U2JSHSJ.mjs";
68
68
  import {
@@ -70,7 +70,7 @@ import {
70
70
  MyFlexColumn,
71
71
  MyFlexRow
72
72
  } from "../chunk-GEYCGM75.mjs";
73
- import "../chunk-NWBLJ3W3.mjs";
73
+ import "../chunk-7ORPZMGL.mjs";
74
74
  import "../chunk-YQPDRFRL.mjs";
75
75
  import "../chunk-7ZCOFATU.mjs";
76
76
  import "../chunk-FWCSY2DS.mjs";
@@ -4,6 +4,7 @@ declare const const_object_colors: {
4
4
  mantineBackgroundPrimary: string;
5
5
  mantineBackgroundSecondary: string;
6
6
  mantineBackgroundBlueLight: string;
7
+ mantineBackgroundBlue: string;
7
8
  mantineBackgroundTealLight: string;
8
9
  };
9
10
 
@@ -3,7 +3,7 @@ import {
3
3
  } from "../chunk-BZMQOGL6.mjs";
4
4
  import {
5
5
  const_object_colors
6
- } from "../chunk-NWBLJ3W3.mjs";
6
+ } from "../chunk-7ORPZMGL.mjs";
7
7
  import "../chunk-FWCSY2DS.mjs";
8
8
 
9
9
  // src/const/array/const_array_daysOfWeek.ts
@@ -12,10 +12,10 @@ import {
12
12
  MyStatsCard,
13
13
  MyTextInput,
14
14
  MyWeeklySessionSchedulerPicker
15
- } from "../chunk-IB6XK3D2.mjs";
15
+ } from "../chunk-O44DZN3M.mjs";
16
16
  import "../chunk-GEYCGM75.mjs";
17
+ import "../chunk-7ORPZMGL.mjs";
17
18
  import "../chunk-K6S7R6LU.mjs";
18
- import "../chunk-NWBLJ3W3.mjs";
19
19
  import "../chunk-YQPDRFRL.mjs";
20
20
  import "../chunk-7ZCOFATU.mjs";
21
21
  import "../chunk-FWCSY2DS.mjs";
@@ -2,6 +2,10 @@ export { I as IEmailConfig } from '../EmailConfig-Bza2PzTi.mjs';
2
2
  export { I as IAQModule } from '../IAQModule-DfONsRwE.mjs';
3
3
  import { I as IBaseEntity } from '../IBaseEntity-BprRafT5.mjs';
4
4
 
5
+ interface IPageContent extends IBaseEntity {
6
+ description?: string;
7
+ }
8
+
5
9
  interface IFile {
6
10
  fileName?: string | undefined;
7
11
  fileExtension?: string | undefined;
@@ -51,8 +55,4 @@ interface IUser extends IBaseEntity {
51
55
  email?: string;
52
56
  }
53
57
 
54
- interface IPageContent extends IBaseEntity {
55
- description?: string;
56
- }
57
-
58
58
  export { IBaseEntity, type IDocument, type IFile, type IPageContent, type IPagePermission, type IRole, type IUser };
@@ -33,31 +33,31 @@ import {
33
33
  groupToTwoLevels,
34
34
  useS_authenticate,
35
35
  utils_layout_getItemsWithoutLinks
36
- } from "../chunk-IE6RLE7T.mjs";
36
+ } from "../chunk-VSHEYJ6M.mjs";
37
37
  import {
38
38
  createGenericStore
39
39
  } from "../chunk-Y3YGC5IH.mjs";
40
40
  import "../chunk-5U2JSHSJ.mjs";
41
+ import {
42
+ const_object_documentTypes
43
+ } from "../chunk-BZMQOGL6.mjs";
44
+ import {
45
+ enum_emailConfigModule
46
+ } from "../chunk-VH4ZAD6M.mjs";
41
47
  import {
42
48
  MyButton as MyButton2,
43
49
  MyDataTableSelectOne,
44
50
  MyTextInput as MyTextInput2
45
- } from "../chunk-IB6XK3D2.mjs";
51
+ } from "../chunk-O44DZN3M.mjs";
46
52
  import {
47
53
  MyDataTable,
48
54
  MyFlexColumn,
49
55
  MyFlexRow
50
56
  } from "../chunk-GEYCGM75.mjs";
51
- import {
52
- enum_emailConfigModule
53
- } from "../chunk-VH4ZAD6M.mjs";
54
- import "../chunk-K6S7R6LU.mjs";
55
- import {
56
- const_object_documentTypes
57
- } from "../chunk-BZMQOGL6.mjs";
58
57
  import {
59
58
  const_object_colors
60
- } from "../chunk-NWBLJ3W3.mjs";
59
+ } from "../chunk-7ORPZMGL.mjs";
60
+ import "../chunk-K6S7R6LU.mjs";
61
61
  import {
62
62
  baseAxios_default,
63
63
  createBaseApi,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.358",
45
+ "version": "0.1.360",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"