aq-fe-framework 0.1.393 → 0.1.396

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.
@@ -1,9 +1,9 @@
1
- import {
2
- utils_pdf_download
3
- } from "./chunk-5U2JSHSJ.mjs";
4
1
  import {
5
2
  createGenericStore
6
3
  } from "./chunk-Y3YGC5IH.mjs";
4
+ import {
5
+ utils_pdf_download
6
+ } from "./chunk-5U2JSHSJ.mjs";
7
7
  import {
8
8
  MyDataTable,
9
9
  MyFlexColumn,
@@ -16,7 +16,7 @@ import {
16
16
  baseAxios_default,
17
17
  useMyReactMutation,
18
18
  useQ_AQ_GetAQModule
19
- } from "./chunk-KZERBMEK.mjs";
19
+ } from "./chunk-PRN7KYPD.mjs";
20
20
  import {
21
21
  utils_notification_show
22
22
  } from "./chunk-7ZCOFATU.mjs";
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  useMyReactMutation,
14
14
  useMyReactQuery
15
- } from "./chunk-KZERBMEK.mjs";
15
+ } from "./chunk-PRN7KYPD.mjs";
16
16
  import {
17
17
  utils_notification_show
18
18
  } from "./chunk-7ZCOFATU.mjs";
@@ -189,11 +189,21 @@ function MyButton(_a) {
189
189
  }
190
190
 
191
191
  // src/core/button/MyButtonCreateUpdate.tsx
192
- import { ActionIcon as ActionIcon2, Button as Button3, Container, Modal, ScrollArea, Space, useMantineColorScheme } from "@mantine/core";
192
+ import { ActionIcon as ActionIcon2, Button as Button3, Modal, ScrollArea, Space, useMantineColorScheme } from "@mantine/core";
193
193
  import { useDisclosure } from "@mantine/hooks";
194
194
  import { IconEdit as IconEdit3, IconPlus as IconPlus3 } from "@tabler/icons-react";
195
195
  import { useQueryClient } from "@tanstack/react-query";
196
- import { Fragment, jsx as jsx3, jsxs } from "react/jsx-runtime";
196
+
197
+ // src/core/layout/MyFlexColumn.tsx
198
+ import { Flex } from "@mantine/core";
199
+ import { jsx as jsx3 } from "react/jsx-runtime";
200
+ function MyFlexColumn2(_a) {
201
+ var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
202
+ return /* @__PURE__ */ jsx3(Flex, __spreadProps(__spreadValues({ direction: "column", gap: "md" }, rest), { children }));
203
+ }
204
+
205
+ // src/core/button/MyButtonCreateUpdate.tsx
206
+ import { Fragment, jsx as jsx4, jsxs } from "react/jsx-runtime";
197
207
  function MyButtonCreateUpdate({
198
208
  modalProps,
199
209
  actionIconProps,
@@ -250,24 +260,24 @@ function MyButtonCreateUpdate({
250
260
  })
251
261
  });
252
262
  return /* @__PURE__ */ jsxs(Fragment, { children: [
253
- isUpdate == true ? /* @__PURE__ */ jsx3(
263
+ isUpdate == true ? /* @__PURE__ */ jsx4(
254
264
  ActionIcon2,
255
265
  __spreadProps(__spreadValues({
256
266
  color: "yellow",
257
267
  onClick: disclosure[1].open
258
268
  }, actionIconProps), {
259
- children: /* @__PURE__ */ jsx3(IconEdit3, {})
269
+ children: /* @__PURE__ */ jsx4(IconEdit3, {})
260
270
  })
261
- ) : /* @__PURE__ */ jsx3(
271
+ ) : /* @__PURE__ */ jsx4(
262
272
  Button3,
263
273
  __spreadProps(__spreadValues({
264
274
  onClick: disclosure[1].open,
265
- leftSection: /* @__PURE__ */ jsx3(IconPlus3, {})
275
+ leftSection: /* @__PURE__ */ jsx4(IconPlus3, {})
266
276
  }, buttonProps), {
267
277
  children: "Th\xEAm"
268
278
  })
269
279
  ),
270
- /* @__PURE__ */ jsx3(
280
+ /* @__PURE__ */ jsx4(
271
281
  Modal,
272
282
  __spreadProps(__spreadValues({
273
283
  title: isUpdate ? "S\u1EEDa d\u1EEF li\u1EC7u" : "Th\xEAm d\u1EEF li\u1EC7u",
@@ -286,16 +296,16 @@ function MyButtonCreateUpdate({
286
296
  mutation.mutate(values);
287
297
  }),
288
298
  children: [
289
- /* @__PURE__ */ jsx3(
299
+ /* @__PURE__ */ jsx4(
290
300
  ScrollArea,
291
301
  __spreadProps(__spreadValues({
292
- h: (modalProps == null ? void 0 : modalProps.fullScreen) ? "calc(100vh - 140px)" : "auto"
302
+ mah: (modalProps == null ? void 0 : modalProps.fullScreen) ? "calc(100vh - 140px)" : "70vh"
293
303
  }, scrollAreaAutosizeProps), {
294
- children: /* @__PURE__ */ jsx3(Container, { w: "100%", fluid: true, pt: "md", children: /* @__PURE__ */ jsx3(MyFlexColumn, { children }) })
304
+ children: /* @__PURE__ */ jsx4(MyFlexColumn2, { children })
295
305
  })
296
306
  ),
297
- /* @__PURE__ */ jsx3(Space, {}),
298
- /* @__PURE__ */ jsx3(MyButton, { fullWidth: true, actionType: "create" })
307
+ /* @__PURE__ */ jsx4(Space, {}),
308
+ /* @__PURE__ */ jsx4(MyButton, { fullWidth: true, actionType: "create" })
299
309
  ]
300
310
  }
301
311
  )
@@ -306,7 +316,7 @@ function MyButtonCreateUpdate({
306
316
 
307
317
  // src/core/button/MyButtonModal.tsx
308
318
  import { Button as Button4, Modal as Modal2 } from "@mantine/core";
309
- import { Fragment as Fragment2, jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
319
+ import { Fragment as Fragment2, jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
310
320
  function MyButtonModal({
311
321
  disclosure,
312
322
  children,
@@ -314,14 +324,14 @@ function MyButtonModal({
314
324
  modalProps
315
325
  }) {
316
326
  return /* @__PURE__ */ jsxs2(Fragment2, { children: [
317
- /* @__PURE__ */ jsx4(Button4, __spreadValues({ onClick: disclosure == null ? void 0 : disclosure[1].open, color: "indigo" }, buttonProps)),
318
- /* @__PURE__ */ jsx4(
327
+ /* @__PURE__ */ jsx5(Button4, __spreadValues({ onClick: disclosure == null ? void 0 : disclosure[1].open, color: "indigo" }, buttonProps)),
328
+ /* @__PURE__ */ jsx5(
319
329
  Modal2,
320
330
  __spreadProps(__spreadValues({
321
331
  opened: disclosure == null ? void 0 : disclosure[0],
322
332
  onClose: disclosure[1].close
323
333
  }, modalProps), {
324
- children: /* @__PURE__ */ jsx4(MyFlexColumn, { children })
334
+ children: /* @__PURE__ */ jsx5(MyFlexColumn, { children })
325
335
  })
326
336
  )
327
337
  ] });
@@ -329,7 +339,7 @@ function MyButtonModal({
329
339
 
330
340
  // src/core/dataDisplay/MyDataTableSelectOne.tsx
331
341
  import { useEffect, useMemo } from "react";
332
- import { jsx as jsx5 } from "react/jsx-runtime";
342
+ import { jsx as jsx6 } from "react/jsx-runtime";
333
343
  function MyDataTableSelectOne({
334
344
  columns,
335
345
  queryResult,
@@ -341,7 +351,7 @@ function MyDataTableSelectOne({
341
351
  if (!queryResult.data) return;
342
352
  setIdSelection(queryResult.data[0].id);
343
353
  }, [queryResult.data]);
344
- return /* @__PURE__ */ jsx5(
354
+ return /* @__PURE__ */ jsx6(
345
355
  MyDataTable,
346
356
  {
347
357
  columns: columnsState,
@@ -367,7 +377,7 @@ function MyDataTableSelectOne({
367
377
 
368
378
  // src/core/dataDisplay/MyLabelValueRow.tsx
369
379
  import { Group, Text } from "@mantine/core";
370
- import { jsx as jsx6, jsxs as jsxs3 } from "react/jsx-runtime";
380
+ import { jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
371
381
  function MyLabelValueRow({
372
382
  label,
373
383
  value,
@@ -380,13 +390,13 @@ function MyLabelValueRow({
380
390
  label,
381
391
  ":"
382
392
  ] })),
383
- /* @__PURE__ */ jsx6(Text, __spreadProps(__spreadValues({}, valueProps), { children: value }))
393
+ /* @__PURE__ */ jsx7(Text, __spreadProps(__spreadValues({}, valueProps), { children: value }))
384
394
  ] }));
385
395
  }
386
396
 
387
397
  // src/core/dataDisplay/MyStatsCartd.tsx
388
398
  import { Box, Card, ThemeIcon } from "@mantine/core";
389
- import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
399
+ import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
390
400
  function MyStatsCard({
391
401
  title,
392
402
  value,
@@ -396,21 +406,21 @@ function MyStatsCard({
396
406
  themeIconProps
397
407
  }) {
398
408
  return /* @__PURE__ */ jsxs4(Card, { children: [
399
- /* @__PURE__ */ jsx7("div", { className: `absolute inset-0 bg-gradient-to-br ${color} opacity-5` }),
400
- /* @__PURE__ */ jsx7(Box, { className: "p-6", children: /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between", children: [
409
+ /* @__PURE__ */ jsx8("div", { className: `absolute inset-0 bg-gradient-to-br ${color} opacity-5` }),
410
+ /* @__PURE__ */ jsx8(Box, { className: "p-6", children: /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between", children: [
401
411
  /* @__PURE__ */ jsxs4("div", { children: [
402
- /* @__PURE__ */ jsx7("p", { className: "text-sm font-medium text-muted-foreground", children: title }),
403
- /* @__PURE__ */ jsx7("p", { className: "text-3xl font-bold", children: value }),
404
- /* @__PURE__ */ jsx7("p", { className: "text-xs text-muted-foreground mt-1", children: subtitle })
412
+ /* @__PURE__ */ jsx8("p", { className: "text-sm font-medium text-muted-foreground", children: title }),
413
+ /* @__PURE__ */ jsx8("p", { className: "text-3xl font-bold", children: value }),
414
+ /* @__PURE__ */ jsx8("p", { className: "text-xs text-muted-foreground mt-1", children: subtitle })
405
415
  ] }),
406
- /* @__PURE__ */ jsx7(ThemeIcon, __spreadProps(__spreadValues({ size: "xl", radius: "xl" }, themeIconProps), { children: icon }))
416
+ /* @__PURE__ */ jsx8(ThemeIcon, __spreadProps(__spreadValues({ size: "xl", radius: "xl" }, themeIconProps), { children: icon }))
407
417
  ] }) })
408
418
  ] });
409
419
  }
410
420
 
411
421
  // src/core/input/MyDayOfWeekPicker.tsx
412
422
  import { Badge, Group as Group2 } from "@mantine/core";
413
- import { jsx as jsx8 } from "react/jsx-runtime";
423
+ import { jsx as jsx9 } from "react/jsx-runtime";
414
424
  var days = Object.entries(enum_daysOfWeek).filter(([key]) => isNaN(Number(key))).map(([label, value]) => ({ label, value }));
415
425
  function MyDayOfWeekPicker({ value = [], onChange }) {
416
426
  const toggle = (val) => {
@@ -418,7 +428,7 @@ function MyDayOfWeekPicker({ value = [], onChange }) {
418
428
  const newValue = value.includes(val) ? value.filter((v) => v !== val) : [...value, val].sort((a, b) => a - b);
419
429
  onChange(newValue);
420
430
  };
421
- return /* @__PURE__ */ jsx8(MyFlexRow, { align: "center", children: /* @__PURE__ */ jsx8(Group2, { gap: "xs", children: days.map((d) => /* @__PURE__ */ jsx8(
431
+ return /* @__PURE__ */ jsx9(MyFlexRow, { align: "center", children: /* @__PURE__ */ jsx9(Group2, { gap: "xs", children: days.map((d) => /* @__PURE__ */ jsx9(
422
432
  Badge,
423
433
  {
424
434
  variant: value.includes(d.value) ? "filled" : "outline",
@@ -446,7 +456,7 @@ import Underline from "@tiptap/extension-underline";
446
456
  import { useEditor } from "@tiptap/react";
447
457
  import StarterKit from "@tiptap/starter-kit";
448
458
  import { useEffect as useEffect2 } from "react";
449
- import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
459
+ import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
450
460
  function MyRichTextEditor(props) {
451
461
  const editor = useEditor({
452
462
  extensions: [
@@ -530,44 +540,44 @@ function MyRichTextEditor(props) {
530
540
  editor.commands.setContent(props.value || "", false);
531
541
  }
532
542
  }, [props.value, editor]);
533
- return /* @__PURE__ */ jsx9(Input.Wrapper, __spreadProps(__spreadValues({}, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs5(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
543
+ return /* @__PURE__ */ jsx10(Input.Wrapper, __spreadProps(__spreadValues({}, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs5(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
534
544
  /* @__PURE__ */ jsxs5(MantineRichTextEditor.Toolbar, __spreadProps(__spreadValues({}, props.richTextEditorToolBarProps), { children: [
535
545
  /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
536
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Bold, {}),
537
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Italic, {}),
538
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Underline, {}),
539
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Strikethrough, {}),
540
- /* @__PURE__ */ jsx9(MantineRichTextEditor.ClearFormatting, {}),
541
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Highlight, {}),
542
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Code, {})
546
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Bold, {}),
547
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Italic, {}),
548
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Underline, {}),
549
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Strikethrough, {}),
550
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.ClearFormatting, {}),
551
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Highlight, {}),
552
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Code, {})
543
553
  ] }),
544
554
  /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
545
- /* @__PURE__ */ jsx9(MantineRichTextEditor.H1, {}),
546
- /* @__PURE__ */ jsx9(MantineRichTextEditor.H2, {}),
547
- /* @__PURE__ */ jsx9(MantineRichTextEditor.H3, {}),
548
- /* @__PURE__ */ jsx9(MantineRichTextEditor.H4, {})
555
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.H1, {}),
556
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.H2, {}),
557
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.H3, {}),
558
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.H4, {})
549
559
  ] }),
550
560
  /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
551
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Blockquote, {}),
552
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Hr, {}),
553
- /* @__PURE__ */ jsx9(MantineRichTextEditor.BulletList, {}),
554
- /* @__PURE__ */ jsx9(MantineRichTextEditor.OrderedList, {}),
555
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Subscript, {}),
556
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Superscript, {})
561
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Blockquote, {}),
562
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Hr, {}),
563
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.BulletList, {}),
564
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.OrderedList, {}),
565
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Subscript, {}),
566
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Superscript, {})
557
567
  ] }),
558
568
  /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
559
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Link, {}),
560
- /* @__PURE__ */ jsx9(MantineRichTextEditor.Unlink, {})
569
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Link, {}),
570
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.Unlink, {})
561
571
  ] }),
562
572
  /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
563
- /* @__PURE__ */ jsx9(MantineRichTextEditor.AlignLeft, {}),
564
- /* @__PURE__ */ jsx9(MantineRichTextEditor.AlignCenter, {}),
565
- /* @__PURE__ */ jsx9(MantineRichTextEditor.AlignJustify, {}),
566
- /* @__PURE__ */ jsx9(MantineRichTextEditor.AlignRight, {})
573
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.AlignLeft, {}),
574
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.AlignCenter, {}),
575
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.AlignJustify, {}),
576
+ /* @__PURE__ */ jsx10(MantineRichTextEditor.AlignRight, {})
567
577
  ] }),
568
578
  props.extraControlsGroup
569
579
  ] })),
570
- /* @__PURE__ */ jsx9(
580
+ /* @__PURE__ */ jsx10(
571
581
  ScrollArea2.Autosize,
572
582
  __spreadProps(__spreadValues({
573
583
  onMouseDown: () => {
@@ -576,7 +586,7 @@ function MyRichTextEditor(props) {
576
586
  mah: "200",
577
587
  style: { cursor: "text" }
578
588
  }, props.scrollAreaAutosizeProps), {
579
- children: /* @__PURE__ */ jsx9(RichTextEditor.Content, __spreadValues({ mih: "200" }, props.richTextEditorContentProps))
589
+ children: /* @__PURE__ */ jsx10(RichTextEditor.Content, __spreadValues({ mih: "200" }, props.richTextEditorContentProps))
580
590
  })
581
591
  )
582
592
  ] })) }));
@@ -584,7 +594,7 @@ function MyRichTextEditor(props) {
584
594
 
585
595
  // src/core/input/MySelect.tsx
586
596
  import { Loader, Select } from "@mantine/core";
587
- import { jsx as jsx10 } from "react/jsx-runtime";
597
+ import { jsx as jsx11 } from "react/jsx-runtime";
588
598
  function MySelect(_a) {
589
599
  var _b = _a, { label, data, isLoading, isError } = _b, rest = __objRest(_b, ["label", "data", "isLoading", "isError"]);
590
600
  let placeholder = "";
@@ -595,7 +605,7 @@ function MySelect(_a) {
595
605
  } else if (label) {
596
606
  placeholder = `Ch\u1ECDn ${label.toLowerCase()}`;
597
607
  }
598
- return /* @__PURE__ */ jsx10(
608
+ return /* @__PURE__ */ jsx11(
599
609
  Select,
600
610
  __spreadValues({
601
611
  searchable: true,
@@ -603,7 +613,7 @@ function MySelect(_a) {
603
613
  placeholder,
604
614
  data: data != null ? data : [],
605
615
  error: isError ? true : void 0,
606
- rightSection: isLoading ? /* @__PURE__ */ jsx10(Loader, { size: "xs" }) : void 0,
616
+ rightSection: isLoading ? /* @__PURE__ */ jsx11(Loader, { size: "xs" }) : void 0,
607
617
  disabled: isLoading || isError
608
618
  }, rest)
609
619
  );
@@ -611,7 +621,7 @@ function MySelect(_a) {
611
621
 
612
622
  // src/core/input/MySelectFromAPI.tsx
613
623
  import { useMemo as useMemo2 } from "react";
614
- import { jsx as jsx11 } from "react/jsx-runtime";
624
+ import { jsx as jsx12 } from "react/jsx-runtime";
615
625
  function MySelectFromAPI(_a) {
616
626
  var _b = _a, {
617
627
  queryKey,
@@ -635,7 +645,7 @@ function MySelectFromAPI(_a) {
635
645
  };
636
646
  })) != null ? _a2 : [];
637
647
  }, [query.data]);
638
- return /* @__PURE__ */ jsx11(
648
+ return /* @__PURE__ */ jsx12(
639
649
  MySelect,
640
650
  __spreadValues({
641
651
  isLoading: query.isLoading,
@@ -647,10 +657,10 @@ function MySelectFromAPI(_a) {
647
657
 
648
658
  // src/core/input/MyTextInput.tsx
649
659
  import { TextInput } from "@mantine/core";
650
- import { jsx as jsx12 } from "react/jsx-runtime";
660
+ import { jsx as jsx13 } from "react/jsx-runtime";
651
661
  function MyTextInput(_a) {
652
662
  var _b = _a, { label, isPhoneNumber } = _b, rest = __objRest(_b, ["label", "isPhoneNumber"]);
653
- return /* @__PURE__ */ jsx12(
663
+ return /* @__PURE__ */ jsx13(
654
664
  TextInput,
655
665
  __spreadValues({
656
666
  onKeyDown: (e) => {
@@ -691,7 +701,7 @@ import {
691
701
  } from "@mantine/core";
692
702
  import { IconPlus as IconPlus4, IconTrash as IconTrash3 } from "@tabler/icons-react";
693
703
  import { useState } from "react";
694
- import { jsx as jsx13, jsxs as jsxs6 } from "react/jsx-runtime";
704
+ import { jsx as jsx14, jsxs as jsxs6 } from "react/jsx-runtime";
695
705
  function MyWeeklySessionSchedulerPicker({
696
706
  value = [],
697
707
  onChange
@@ -722,8 +732,8 @@ function MyWeeklySessionSchedulerPicker({
722
732
  return acc;
723
733
  }, {});
724
734
  const getLabel = (day) => enum_daysOfWeek[day] || `Day ${day}`;
725
- return /* @__PURE__ */ jsx13(Paper, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs6(MyFlexColumn, { children: [
726
- /* @__PURE__ */ jsx13(Center, { children: /* @__PURE__ */ jsx13(
735
+ return /* @__PURE__ */ jsx14(Paper, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs6(MyFlexColumn, { children: [
736
+ /* @__PURE__ */ jsx14(Center, { children: /* @__PURE__ */ jsx14(
727
737
  MyDayOfWeekPicker,
728
738
  {
729
739
  value: selectedDays,
@@ -733,8 +743,8 @@ function MyWeeklySessionSchedulerPicker({
733
743
  }
734
744
  }
735
745
  ) }),
736
- /* @__PURE__ */ jsx13(Divider, { my: "xs" }),
737
- /* @__PURE__ */ jsx13(Center, { children: /* @__PURE__ */ jsx13(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx13(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
746
+ /* @__PURE__ */ jsx14(Divider, { my: "xs" }),
747
+ /* @__PURE__ */ jsx14(Center, { children: /* @__PURE__ */ jsx14(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx14(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
738
748
  var _a;
739
749
  return /* @__PURE__ */ jsxs6(
740
750
  Paper,
@@ -744,18 +754,18 @@ function MyWeeklySessionSchedulerPicker({
744
754
  bg: const_object_colors.mantineBackgroundBlueLight,
745
755
  children: [
746
756
  /* @__PURE__ */ jsxs6(Group3, { gap: "apart", children: [
747
- /* @__PURE__ */ jsx13(Text3, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
748
- /* @__PURE__ */ jsx13(
757
+ /* @__PURE__ */ jsx14(Text3, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
758
+ /* @__PURE__ */ jsx14(
749
759
  Button5,
750
760
  {
751
761
  color: "teal.5",
752
- leftSection: /* @__PURE__ */ jsx13(IconPlus4, { size: 14 }),
762
+ leftSection: /* @__PURE__ */ jsx14(IconPlus4, { size: 14 }),
753
763
  onClick: () => handleAddSession(dayOfWeek),
754
764
  children: "Th\xEAm bu\u1ED5i"
755
765
  }
756
766
  )
757
767
  ] }),
758
- /* @__PURE__ */ jsx13(Divider, { my: "sm" }),
768
+ /* @__PURE__ */ jsx14(Divider, { my: "sm" }),
759
769
  (_a = grouped[dayOfWeek]) == null ? void 0 : _a.map((item, indexInDay) => {
760
770
  const globalIndex = value.findIndex(
761
771
  (v) => v === item
@@ -767,7 +777,7 @@ function MyWeeklySessionSchedulerPicker({
767
777
  gap: "xs",
768
778
  align: "flex-end",
769
779
  children: [
770
- /* @__PURE__ */ jsx13(
780
+ /* @__PURE__ */ jsx14(
771
781
  NumberInput,
772
782
  {
773
783
  label: "Ti\u1EBFt b\u1EAFt \u0111\u1EA7u",
@@ -779,7 +789,7 @@ function MyWeeklySessionSchedulerPicker({
779
789
  )
780
790
  }
781
791
  ),
782
- /* @__PURE__ */ jsx13(
792
+ /* @__PURE__ */ jsx14(
783
793
  NumberInput,
784
794
  {
785
795
  label: "S\u1ED1 ti\u1EBFt",
@@ -791,7 +801,7 @@ function MyWeeklySessionSchedulerPicker({
791
801
  )
792
802
  }
793
803
  ),
794
- /* @__PURE__ */ jsx13(
804
+ /* @__PURE__ */ jsx14(
795
805
  NumberInput,
796
806
  {
797
807
  label: "S\u1ED1 ph\xFAt ",
@@ -800,13 +810,13 @@ function MyWeeklySessionSchedulerPicker({
800
810
  value: item.durationMinutes
801
811
  }
802
812
  ),
803
- /* @__PURE__ */ jsx13(
813
+ /* @__PURE__ */ jsx14(
804
814
  Button5,
805
815
  {
806
816
  variant: "light",
807
817
  color: "red",
808
818
  onClick: () => handleRemove(globalIndex),
809
- leftSection: /* @__PURE__ */ jsx13(IconTrash3, { size: 14 }),
819
+ leftSection: /* @__PURE__ */ jsx14(IconTrash3, { size: 14 }),
810
820
  children: "X\xF3a bu\u1ED5i"
811
821
  }
812
822
  )
@@ -823,17 +833,10 @@ function MyWeeklySessionSchedulerPicker({
823
833
  ] }) });
824
834
  }
825
835
 
826
- // src/core/layout/MyFlexColumn.tsx
827
- import { Flex } from "@mantine/core";
828
- import { jsx as jsx14 } from "react/jsx-runtime";
829
- function MyFlexColumn2(_a) {
830
- var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
831
- return /* @__PURE__ */ jsx14(Flex, __spreadProps(__spreadValues({ direction: "column", gap: "md" }, rest), { children }));
832
- }
833
-
834
836
  export {
835
837
  MyActionIcon,
836
838
  MyButton,
839
+ MyFlexColumn2 as MyFlexColumn,
837
840
  MyButtonCreateUpdate,
838
841
  MyButtonModal,
839
842
  MyDataTableSelectOne,
@@ -844,6 +847,5 @@ export {
844
847
  MySelect,
845
848
  MySelectFromAPI,
846
849
  MyTextInput,
847
- MyWeeklySessionSchedulerPicker,
848
- MyFlexColumn2 as MyFlexColumn
850
+ MyWeeklySessionSchedulerPicker
849
851
  };
@@ -132,6 +132,7 @@ var useLoadAxiosConfig = ({
132
132
  const config = await res.json();
133
133
  const finalUrl = url ? url : config.baseURL;
134
134
  axiosInstance.defaults.baseURL = finalUrl;
135
+ baseAxios_default.defaults.baseURL = finalUrl;
135
136
  console.log("\u2705 baseURL set to", finalUrl);
136
137
  setFlag(true);
137
138
  } catch (err) {
@@ -62,16 +62,16 @@ import {
62
62
  useS_BasicAppShell,
63
63
  useS_ButtonImport,
64
64
  utils_layout_getItemsWithoutLinks
65
- } from "../chunk-XLB5ACVY.mjs";
66
- import "../chunk-5U2JSHSJ.mjs";
65
+ } from "../chunk-KPQFRQ6R.mjs";
67
66
  import "../chunk-Y3YGC5IH.mjs";
67
+ import "../chunk-5U2JSHSJ.mjs";
68
68
  import {
69
69
  MyDataTable,
70
70
  MyFlexColumn,
71
71
  MyFlexRow
72
72
  } from "../chunk-GEYCGM75.mjs";
73
73
  import "../chunk-7ORPZMGL.mjs";
74
- import "../chunk-KZERBMEK.mjs";
74
+ import "../chunk-PRN7KYPD.mjs";
75
75
  import "../chunk-7ZCOFATU.mjs";
76
76
  import "../chunk-FWCSY2DS.mjs";
77
77
  export {
@@ -13,11 +13,11 @@ import {
13
13
  MyStatsCard,
14
14
  MyTextInput,
15
15
  MyWeeklySessionSchedulerPicker
16
- } from "../chunk-FHBYQMXY.mjs";
16
+ } from "../chunk-O25M5H7K.mjs";
17
17
  import "../chunk-GEYCGM75.mjs";
18
18
  import "../chunk-7ORPZMGL.mjs";
19
19
  import "../chunk-K6S7R6LU.mjs";
20
- import "../chunk-KZERBMEK.mjs";
20
+ import "../chunk-PRN7KYPD.mjs";
21
21
  import "../chunk-7ZCOFATU.mjs";
22
22
  import "../chunk-FWCSY2DS.mjs";
23
23
  export {
@@ -7,7 +7,7 @@ import {
7
7
  useMyReactQuery,
8
8
  useMyRouter,
9
9
  useQ_AQ_GetAQModule
10
- } from "../chunk-KZERBMEK.mjs";
10
+ } from "../chunk-PRN7KYPD.mjs";
11
11
  import "../chunk-7ZCOFATU.mjs";
12
12
  import "../chunk-FWCSY2DS.mjs";
13
13
  export {
@@ -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,
@@ -36,16 +33,19 @@ import {
36
33
  groupToTwoLevels,
37
34
  useS_authenticate,
38
35
  utils_layout_getItemsWithoutLinks
39
- } from "../chunk-XLB5ACVY.mjs";
40
- import "../chunk-5U2JSHSJ.mjs";
36
+ } from "../chunk-KPQFRQ6R.mjs";
41
37
  import {
42
38
  createGenericStore
43
39
  } from "../chunk-Y3YGC5IH.mjs";
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-FHBYQMXY.mjs";
48
+ } from "../chunk-O25M5H7K.mjs";
49
49
  import {
50
50
  MyDataTable,
51
51
  MyFlexColumn,
@@ -67,7 +67,7 @@ import {
67
67
  useMyRouter,
68
68
  useQ_AQ_GetAQModule,
69
69
  useQ_SkillCenter_GetAll
70
- } from "../chunk-KZERBMEK.mjs";
70
+ } from "../chunk-PRN7KYPD.mjs";
71
71
  import {
72
72
  utils_notification_show
73
73
  } from "../chunk-7ZCOFATU.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.393",
45
+ "version": "0.1.396",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"