aq-fe-framework 0.1.340 → 0.1.342

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.
@@ -188,10 +188,10 @@ 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
192
  import { useDisclosure } from "@mantine/hooks";
192
- import { useQueryClient } from "@tanstack/react-query";
193
- import { ActionIcon as ActionIcon2, Button as Button3, Modal } from "@mantine/core";
194
193
  import { IconEdit as IconEdit3, IconPlus as IconPlus3 } from "@tabler/icons-react";
194
+ import { useQueryClient } from "@tanstack/react-query";
195
195
  import { Fragment, jsx as jsx3, jsxs } from "react/jsx-runtime";
196
196
  function MyButtonCreateUpdate({
197
197
  modalProps,
@@ -271,12 +271,19 @@ function MyButtonCreateUpdate({
271
271
  opened: disclosure[0],
272
272
  onClose: disclosure[1].close
273
273
  }, modalProps), {
274
- children: /* @__PURE__ */ jsx3("form", { onSubmit: form.onSubmit((values) => {
275
- mutation.mutate(values);
276
- }), children: /* @__PURE__ */ jsxs(MyFlexColumn, { children: [
277
- children,
278
- /* @__PURE__ */ jsx3(MyButton, { actionType: "create" })
279
- ] }) })
274
+ children: /* @__PURE__ */ jsxs(
275
+ "form",
276
+ {
277
+ onSubmit: form.onSubmit((values) => {
278
+ mutation.mutate(values);
279
+ }),
280
+ children: [
281
+ /* @__PURE__ */ jsx3(ScrollArea.Autosize, { offsetScrollbars: true, style: { flex: 1 }, mah: (modalProps == null ? void 0 : modalProps.fullScreen) ? "95vh" : "75vh", children: /* @__PURE__ */ jsx3(MyFlexColumn, { children }) }),
282
+ /* @__PURE__ */ jsx3(Space, {}),
283
+ /* @__PURE__ */ jsx3(MyButton, { fullWidth: true, actionType: "create" })
284
+ ]
285
+ }
286
+ )
280
287
  })
281
288
  )
282
289
  ] });
@@ -412,7 +419,7 @@ function MyDayOfWeekPicker({ value = [], onChange }) {
412
419
  }
413
420
 
414
421
  // src/core/input/MyRichTextEditor.tsx
415
- import { Input, ScrollArea } from "@mantine/core";
422
+ import { Input, ScrollArea as ScrollArea2 } from "@mantine/core";
416
423
  import { Link, RichTextEditor as MantineRichTextEditor, RichTextEditor } from "@mantine/tiptap";
417
424
  import FileHandler from "@tiptap-pro/extension-file-handler";
418
425
  import Highlight from "@tiptap/extension-highlight";
@@ -534,7 +541,7 @@ function MyRichTextEditor(props) {
534
541
  ] })
535
542
  ] })),
536
543
  /* @__PURE__ */ jsx9(
537
- ScrollArea.Autosize,
544
+ ScrollArea2.Autosize,
538
545
  __spreadProps(__spreadValues({
539
546
  onMouseDown: () => {
540
547
  editor == null ? void 0 : editor.commands.focus();
@@ -607,7 +614,7 @@ import {
607
614
  Group as Group3,
608
615
  NumberInput,
609
616
  Paper,
610
- ScrollArea as ScrollArea2,
617
+ ScrollArea as ScrollArea3,
611
618
  Text as Text3
612
619
  } from "@mantine/core";
613
620
  import { IconPlus as IconPlus4, IconTrash as IconTrash3 } from "@tabler/icons-react";
@@ -655,7 +662,7 @@ function MyWeeklySessionSchedulerPicker({
655
662
  }
656
663
  ) }),
657
664
  /* @__PURE__ */ jsx12(Divider, { my: "xs" }),
658
- /* @__PURE__ */ jsx12(Center, { children: /* @__PURE__ */ jsx12(ScrollArea2.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx12(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
665
+ /* @__PURE__ */ jsx12(Center, { children: /* @__PURE__ */ jsx12(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx12(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
659
666
  var _a;
660
667
  return /* @__PURE__ */ jsxs6(
661
668
  Paper,
@@ -12,7 +12,7 @@ import {
12
12
  MyStatsCard,
13
13
  MyTextInput,
14
14
  MyWeeklySessionSchedulerPicker
15
- } from "../chunk-274L4UBS.mjs";
15
+ } from "../chunk-DA4ZZ5UL.mjs";
16
16
  import "../chunk-GEYCGM75.mjs";
17
17
  import "../chunk-NWBLJ3W3.mjs";
18
18
  import "../chunk-K6S7R6LU.mjs";
@@ -2,10 +2,6 @@ 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
-
9
5
  interface IFile {
10
6
  fileName?: string | undefined;
11
7
  fileExtension?: string | undefined;
@@ -55,4 +51,8 @@ interface IUser extends IBaseEntity {
55
51
  email?: string;
56
52
  }
57
53
 
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 };
@@ -11,9 +11,6 @@ import {
11
11
  import {
12
12
  U0DateToDDMMYYYString
13
13
  } from "../chunk-I2XIN2R3.mjs";
14
- import {
15
- const_object_documentTypes
16
- } from "../chunk-BZMQOGL6.mjs";
17
14
  import {
18
15
  F_authenticate_Logout,
19
16
  MyActionIconDelete,
@@ -41,11 +38,14 @@ import {
41
38
  createGenericStore
42
39
  } from "../chunk-Y3YGC5IH.mjs";
43
40
  import "../chunk-5U2JSHSJ.mjs";
41
+ import {
42
+ const_object_documentTypes
43
+ } from "../chunk-BZMQOGL6.mjs";
44
44
  import {
45
45
  MyButton as MyButton2,
46
46
  MyDataTableSelectOne,
47
47
  MyTextInput as MyTextInput2
48
- } from "../chunk-274L4UBS.mjs";
48
+ } from "../chunk-DA4ZZ5UL.mjs";
49
49
  import {
50
50
  MyDataTable,
51
51
  MyFlexColumn,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.340",
45
+ "version": "0.1.342",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"