aq-fe-framework 0.1.474 → 0.1.475

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.
@@ -2,7 +2,7 @@ import {
2
2
  MyDataTable,
3
3
  MyFlexColumn,
4
4
  MyFlexRow
5
- } from "./chunk-24COZ2RJ.mjs";
5
+ } from "./chunk-R43BUIMD.mjs";
6
6
  import {
7
7
  const_object_colors
8
8
  } from "./chunk-OMJJAHOC.mjs";
@@ -367,9 +367,13 @@ function MyButtonModalCreateUpdate(props) {
367
367
  return /* @__PURE__ */ jsx8(MyButtonModal, __spreadValues({ disclosure: disc, modalProps: { title: "Chi ti\u1EBFt d\u1EEF li\u1EC7u" } }, props));
368
368
  }
369
369
 
370
+ // src/core/button/MyButtonPrototypeSwitch.tsx
371
+ import { Switch } from "@mantine/core";
372
+ import { jsx as jsx9 } from "react/jsx-runtime";
373
+
370
374
  // src/core/dataDisplay/MyDataTableSelectOne.tsx
371
375
  import { useEffect, useMemo as useMemo2 } from "react";
372
- import { jsx as jsx9 } from "react/jsx-runtime";
376
+ import { jsx as jsx10 } from "react/jsx-runtime";
373
377
  function MyDataTableSelectOne({
374
378
  columns,
375
379
  queryResult,
@@ -381,7 +385,7 @@ function MyDataTableSelectOne({
381
385
  if (!queryResult.data) return;
382
386
  setIdSelection(queryResult.data[0].id);
383
387
  }, [queryResult.data]);
384
- return /* @__PURE__ */ jsx9(
388
+ return /* @__PURE__ */ jsx10(
385
389
  MyDataTable,
386
390
  {
387
391
  columns: columnsState,
@@ -405,22 +409,26 @@ function MyDataTableSelectOne({
405
409
  );
406
410
  }
407
411
 
412
+ // src/core/dataDisplay/MyFlexIconTitle.tsx
413
+ import { Flex as Flex2, Text } from "@mantine/core";
414
+ import { jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
415
+
408
416
  // src/core/dataDisplay/MyInfoBox.tsx
409
- import { Group, Paper, Stack, Text } from "@mantine/core";
410
- import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
417
+ import { Group, Paper, Stack, Text as Text2 } from "@mantine/core";
418
+ import { jsx as jsx12, jsxs as jsxs5 } from "react/jsx-runtime";
411
419
  function MyInfoBox({ title, data, paperProps }) {
412
- return /* @__PURE__ */ jsx10(Paper, __spreadProps(__spreadValues({ withBorder: true, shadow: "xs", radius: "md", p: "md", bg: const_object_colors.mantineBackgroundBlueLight }, paperProps), { children: /* @__PURE__ */ jsxs4(Stack, { children: [
413
- title && /* @__PURE__ */ jsx10(Text, { fw: 600, size: "sm", children: title }),
414
- data.map((item, index) => /* @__PURE__ */ jsxs4(Group, { justify: "space-between", children: [
415
- /* @__PURE__ */ jsx10(Text, { size: "sm", fw: 500, c: "dimmed", children: item.label }),
416
- /* @__PURE__ */ jsx10(Text, { size: "sm", fw: 500, children: item.value })
420
+ return /* @__PURE__ */ jsx12(Paper, __spreadProps(__spreadValues({ withBorder: true, shadow: "xs", radius: "md", p: "md", bg: const_object_colors.mantineBackgroundBlueLight }, paperProps), { children: /* @__PURE__ */ jsxs5(Stack, { children: [
421
+ title && /* @__PURE__ */ jsx12(Text2, { fw: 600, size: "sm", children: title }),
422
+ data.map((item, index) => /* @__PURE__ */ jsxs5(Group, { justify: "space-between", children: [
423
+ /* @__PURE__ */ jsx12(Text2, { size: "sm", fw: 500, c: "dimmed", children: item.label }),
424
+ /* @__PURE__ */ jsx12(Text2, { size: "sm", fw: 500, children: item.value })
417
425
  ] }, index))
418
426
  ] }) }));
419
427
  }
420
428
 
421
429
  // src/core/dataDisplay/MyLabelValueRow.tsx
422
- import { Group as Group2, Text as Text2 } from "@mantine/core";
423
- import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
430
+ import { Group as Group2, Text as Text3 } from "@mantine/core";
431
+ import { jsx as jsx13, jsxs as jsxs6 } from "react/jsx-runtime";
424
432
  function MyLabelValueRow({
425
433
  label,
426
434
  value,
@@ -428,18 +436,18 @@ function MyLabelValueRow({
428
436
  valueProps,
429
437
  groupProps
430
438
  }) {
431
- return /* @__PURE__ */ jsxs5(Group2, __spreadProps(__spreadValues({ gap: 5, wrap: "nowrap" }, groupProps), { children: [
432
- /* @__PURE__ */ jsxs5(Text2, __spreadProps(__spreadValues({ fw: 600 }, labelProps), { children: [
439
+ return /* @__PURE__ */ jsxs6(Group2, __spreadProps(__spreadValues({ gap: 5, wrap: "nowrap" }, groupProps), { children: [
440
+ /* @__PURE__ */ jsxs6(Text3, __spreadProps(__spreadValues({ fw: 600 }, labelProps), { children: [
433
441
  label,
434
442
  ":"
435
443
  ] })),
436
- /* @__PURE__ */ jsx11(Text2, __spreadProps(__spreadValues({}, valueProps), { children: value }))
444
+ /* @__PURE__ */ jsx13(Text3, __spreadProps(__spreadValues({}, valueProps), { children: value }))
437
445
  ] }));
438
446
  }
439
447
 
440
448
  // src/core/dataDisplay/MyStatsCartd.tsx
441
449
  import { Box, Card, ThemeIcon } from "@mantine/core";
442
- import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
450
+ import { jsx as jsx14, jsxs as jsxs7 } from "react/jsx-runtime";
443
451
  function MyStatsCard({
444
452
  title,
445
453
  value,
@@ -448,22 +456,22 @@ function MyStatsCard({
448
456
  color,
449
457
  themeIconProps
450
458
  }) {
451
- return /* @__PURE__ */ jsxs6(Card, { children: [
452
- /* @__PURE__ */ jsx12("div", { className: `absolute inset-0 bg-gradient-to-br ${color} opacity-5` }),
453
- /* @__PURE__ */ jsx12(Box, { className: "p-6", children: /* @__PURE__ */ jsxs6("div", { className: "flex items-center justify-between", children: [
454
- /* @__PURE__ */ jsxs6("div", { children: [
455
- /* @__PURE__ */ jsx12("p", { className: "text-sm font-medium text-muted-foreground", children: title }),
456
- /* @__PURE__ */ jsx12("p", { className: "text-3xl font-bold", children: value }),
457
- /* @__PURE__ */ jsx12("p", { className: "text-xs text-muted-foreground mt-1", children: subtitle })
459
+ return /* @__PURE__ */ jsxs7(Card, { children: [
460
+ /* @__PURE__ */ jsx14("div", { className: `absolute inset-0 bg-gradient-to-br ${color} opacity-5` }),
461
+ /* @__PURE__ */ jsx14(Box, { className: "p-6", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between", children: [
462
+ /* @__PURE__ */ jsxs7("div", { children: [
463
+ /* @__PURE__ */ jsx14("p", { className: "text-sm font-medium text-muted-foreground", children: title }),
464
+ /* @__PURE__ */ jsx14("p", { className: "text-3xl font-bold", children: value }),
465
+ /* @__PURE__ */ jsx14("p", { className: "text-xs text-muted-foreground mt-1", children: subtitle })
458
466
  ] }),
459
- /* @__PURE__ */ jsx12(ThemeIcon, __spreadProps(__spreadValues({ size: "xl", radius: "xl" }, themeIconProps), { children: icon }))
467
+ /* @__PURE__ */ jsx14(ThemeIcon, __spreadProps(__spreadValues({ size: "xl", radius: "xl" }, themeIconProps), { children: icon }))
460
468
  ] }) })
461
469
  ] });
462
470
  }
463
471
 
464
472
  // src/core/input/MyDayOfWeekPicker.tsx
465
473
  import { Badge, Group as Group3 } from "@mantine/core";
466
- import { jsx as jsx13 } from "react/jsx-runtime";
474
+ import { jsx as jsx15 } from "react/jsx-runtime";
467
475
  var days = Object.entries(enum_daysOfWeek).filter(([key]) => isNaN(Number(key))).map(([label, value]) => ({ label, value }));
468
476
  function MyDayOfWeekPicker({ value = [], onChange }) {
469
477
  const toggle = (val) => {
@@ -471,7 +479,7 @@ function MyDayOfWeekPicker({ value = [], onChange }) {
471
479
  const newValue = value.includes(val) ? value.filter((v) => v !== val) : [...value, val].sort((a, b) => a - b);
472
480
  onChange(newValue);
473
481
  };
474
- return /* @__PURE__ */ jsx13(MyFlexRow, { align: "center", children: /* @__PURE__ */ jsx13(Group3, { gap: "xs", children: days.map((d) => /* @__PURE__ */ jsx13(
482
+ return /* @__PURE__ */ jsx15(MyFlexRow, { align: "center", children: /* @__PURE__ */ jsx15(Group3, { gap: "xs", children: days.map((d) => /* @__PURE__ */ jsx15(
475
483
  Badge,
476
484
  {
477
485
  variant: value.includes(d.value) ? "filled" : "outline",
@@ -499,7 +507,7 @@ import Underline from "@tiptap/extension-underline";
499
507
  import { useEditor } from "@tiptap/react";
500
508
  import StarterKit from "@tiptap/starter-kit";
501
509
  import { useEffect as useEffect2 } from "react";
502
- import { jsx as jsx14, jsxs as jsxs7 } from "react/jsx-runtime";
510
+ import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
503
511
  function MyRichTextEditor(props) {
504
512
  const editor = useEditor({
505
513
  extensions: [
@@ -583,44 +591,44 @@ function MyRichTextEditor(props) {
583
591
  editor.commands.setContent(props.value || "", false);
584
592
  }
585
593
  }, [props.value, editor]);
586
- return /* @__PURE__ */ jsx14(Input.Wrapper, __spreadProps(__spreadValues({}, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs7(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
587
- /* @__PURE__ */ jsxs7(MantineRichTextEditor.Toolbar, __spreadProps(__spreadValues({}, props.richTextEditorToolBarProps), { children: [
588
- /* @__PURE__ */ jsxs7(MantineRichTextEditor.ControlsGroup, { children: [
589
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Bold, {}),
590
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Italic, {}),
591
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Underline, {}),
592
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Strikethrough, {}),
593
- /* @__PURE__ */ jsx14(MantineRichTextEditor.ClearFormatting, {}),
594
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Highlight, {}),
595
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Code, {})
594
+ return /* @__PURE__ */ jsx16(Input.Wrapper, __spreadProps(__spreadValues({}, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs8(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
595
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.Toolbar, __spreadProps(__spreadValues({}, props.richTextEditorToolBarProps), { children: [
596
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
597
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Bold, {}),
598
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Italic, {}),
599
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Underline, {}),
600
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Strikethrough, {}),
601
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.ClearFormatting, {}),
602
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Highlight, {}),
603
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Code, {})
596
604
  ] }),
597
- /* @__PURE__ */ jsxs7(MantineRichTextEditor.ControlsGroup, { children: [
598
- /* @__PURE__ */ jsx14(MantineRichTextEditor.H1, {}),
599
- /* @__PURE__ */ jsx14(MantineRichTextEditor.H2, {}),
600
- /* @__PURE__ */ jsx14(MantineRichTextEditor.H3, {}),
601
- /* @__PURE__ */ jsx14(MantineRichTextEditor.H4, {})
605
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
606
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.H1, {}),
607
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.H2, {}),
608
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.H3, {}),
609
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.H4, {})
602
610
  ] }),
603
- /* @__PURE__ */ jsxs7(MantineRichTextEditor.ControlsGroup, { children: [
604
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Blockquote, {}),
605
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Hr, {}),
606
- /* @__PURE__ */ jsx14(MantineRichTextEditor.BulletList, {}),
607
- /* @__PURE__ */ jsx14(MantineRichTextEditor.OrderedList, {}),
608
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Subscript, {}),
609
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Superscript, {})
611
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
612
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Blockquote, {}),
613
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Hr, {}),
614
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.BulletList, {}),
615
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.OrderedList, {}),
616
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Subscript, {}),
617
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Superscript, {})
610
618
  ] }),
611
- /* @__PURE__ */ jsxs7(MantineRichTextEditor.ControlsGroup, { children: [
612
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Link, {}),
613
- /* @__PURE__ */ jsx14(MantineRichTextEditor.Unlink, {})
619
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
620
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Link, {}),
621
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Unlink, {})
614
622
  ] }),
615
- /* @__PURE__ */ jsxs7(MantineRichTextEditor.ControlsGroup, { children: [
616
- /* @__PURE__ */ jsx14(MantineRichTextEditor.AlignLeft, {}),
617
- /* @__PURE__ */ jsx14(MantineRichTextEditor.AlignCenter, {}),
618
- /* @__PURE__ */ jsx14(MantineRichTextEditor.AlignJustify, {}),
619
- /* @__PURE__ */ jsx14(MantineRichTextEditor.AlignRight, {})
623
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
624
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.AlignLeft, {}),
625
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.AlignCenter, {}),
626
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.AlignJustify, {}),
627
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.AlignRight, {})
620
628
  ] }),
621
629
  props.extraControlsGroup
622
630
  ] })),
623
- /* @__PURE__ */ jsx14(
631
+ /* @__PURE__ */ jsx16(
624
632
  ScrollArea2.Autosize,
625
633
  __spreadProps(__spreadValues({
626
634
  onMouseDown: () => {
@@ -629,7 +637,7 @@ function MyRichTextEditor(props) {
629
637
  mah: "200",
630
638
  style: { cursor: "text" }
631
639
  }, props.scrollAreaAutosizeProps), {
632
- children: /* @__PURE__ */ jsx14(RichTextEditor.Content, __spreadValues({ mih: "200" }, props.richTextEditorContentProps))
640
+ children: /* @__PURE__ */ jsx16(RichTextEditor.Content, __spreadValues({ mih: "200" }, props.richTextEditorContentProps))
633
641
  })
634
642
  )
635
643
  ] })) }));
@@ -638,7 +646,7 @@ function MyRichTextEditor(props) {
638
646
  // src/core/input/MySelect.tsx
639
647
  import { Loader, Select } from "@mantine/core";
640
648
  import React from "react";
641
- import { jsx as jsx15 } from "react/jsx-runtime";
649
+ import { jsx as jsx17 } from "react/jsx-runtime";
642
650
  function extractTextFromReactNode(node) {
643
651
  if (typeof node === "string" || typeof node === "number") return String(node);
644
652
  if (Array.isArray(node)) return node.map(extractTextFromReactNode).join(" ");
@@ -656,7 +664,7 @@ function MySelect(_a) {
656
664
  const plainTextLabel = extractTextFromReactNode(label).toLowerCase().trim();
657
665
  placeholder = `Ch\u1ECDn ${plainTextLabel}`;
658
666
  }
659
- return /* @__PURE__ */ jsx15(
667
+ return /* @__PURE__ */ jsx17(
660
668
  Select,
661
669
  __spreadValues({
662
670
  searchable: true,
@@ -664,7 +672,7 @@ function MySelect(_a) {
664
672
  placeholder,
665
673
  data: data != null ? data : [],
666
674
  error: isError ? true : void 0,
667
- rightSection: isLoading ? /* @__PURE__ */ jsx15(Loader, { size: "xs" }) : void 0,
675
+ rightSection: isLoading ? /* @__PURE__ */ jsx17(Loader, { size: "xs" }) : void 0,
668
676
  disabled: isLoading || isError,
669
677
  styles: (theme) => ({
670
678
  input: rest.readOnly ? {
@@ -680,7 +688,7 @@ function MySelect(_a) {
680
688
 
681
689
  // src/core/input/MySelectFromAPI.tsx
682
690
  import { useCallback, useEffect as useEffect3, useMemo as useMemo3, useRef } from "react";
683
- import { jsx as jsx16 } from "react/jsx-runtime";
691
+ import { jsx as jsx18 } from "react/jsx-runtime";
684
692
  function MySelectFromAPI(_a) {
685
693
  var _b = _a, {
686
694
  queryKey,
@@ -744,7 +752,7 @@ function MySelectFromAPI(_a) {
744
752
  hasAutoSelected.current = true;
745
753
  }
746
754
  }, [autoSelectFirstItem, query.data, value, getLabel, onChange, setObjectData]);
747
- return /* @__PURE__ */ jsx16(
755
+ return /* @__PURE__ */ jsx18(
748
756
  MySelect,
749
757
  __spreadValues({
750
758
  isLoading: query.isLoading,
@@ -758,10 +766,10 @@ function MySelectFromAPI(_a) {
758
766
 
759
767
  // src/core/input/MyTextInput.tsx
760
768
  import { TextInput } from "@mantine/core";
761
- import { jsx as jsx17 } from "react/jsx-runtime";
769
+ import { jsx as jsx19 } from "react/jsx-runtime";
762
770
  function MyTextInput(_a) {
763
771
  var _b = _a, { label, isPhoneNumber } = _b, rest = __objRest(_b, ["label", "isPhoneNumber"]);
764
- return /* @__PURE__ */ jsx17(
772
+ return /* @__PURE__ */ jsx19(
765
773
  TextInput,
766
774
  __spreadValues({
767
775
  onKeyDown: (e) => {
@@ -806,11 +814,11 @@ import {
806
814
  NumberInput,
807
815
  Paper as Paper2,
808
816
  ScrollArea as ScrollArea3,
809
- Text as Text4
817
+ Text as Text5
810
818
  } from "@mantine/core";
811
819
  import { IconPlus as IconPlus4, IconTrash as IconTrash3 } from "@tabler/icons-react";
812
820
  import { useState } from "react";
813
- import { jsx as jsx18, jsxs as jsxs8 } from "react/jsx-runtime";
821
+ import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
814
822
  function MyWeeklySessionSchedulerPicker({
815
823
  value = [],
816
824
  onChange
@@ -841,8 +849,8 @@ function MyWeeklySessionSchedulerPicker({
841
849
  return acc;
842
850
  }, {});
843
851
  const getLabel = (day) => enum_daysOfWeek[day] || `Day ${day}`;
844
- return /* @__PURE__ */ jsx18(Paper2, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs8(MyFlexColumn, { children: [
845
- /* @__PURE__ */ jsx18(Center, { children: /* @__PURE__ */ jsx18(
852
+ return /* @__PURE__ */ jsx20(Paper2, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs9(MyFlexColumn, { children: [
853
+ /* @__PURE__ */ jsx20(Center, { children: /* @__PURE__ */ jsx20(
846
854
  MyDayOfWeekPicker,
847
855
  {
848
856
  value: selectedDays,
@@ -852,41 +860,41 @@ function MyWeeklySessionSchedulerPicker({
852
860
  }
853
861
  }
854
862
  ) }),
855
- /* @__PURE__ */ jsx18(Divider, { my: "xs" }),
856
- /* @__PURE__ */ jsx18(Center, { children: /* @__PURE__ */ jsx18(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx18(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
863
+ /* @__PURE__ */ jsx20(Divider, { my: "xs" }),
864
+ /* @__PURE__ */ jsx20(Center, { children: /* @__PURE__ */ jsx20(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx20(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
857
865
  var _a;
858
- return /* @__PURE__ */ jsxs8(
866
+ return /* @__PURE__ */ jsxs9(
859
867
  Paper2,
860
868
  {
861
869
  w: "100%",
862
870
  p: "md",
863
871
  bg: const_object_colors.mantineBackgroundBlueLight,
864
872
  children: [
865
- /* @__PURE__ */ jsxs8(Group4, { gap: "apart", children: [
866
- /* @__PURE__ */ jsx18(Text4, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
867
- /* @__PURE__ */ jsx18(
873
+ /* @__PURE__ */ jsxs9(Group4, { gap: "apart", children: [
874
+ /* @__PURE__ */ jsx20(Text5, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
875
+ /* @__PURE__ */ jsx20(
868
876
  Button5,
869
877
  {
870
878
  color: "teal.5",
871
- leftSection: /* @__PURE__ */ jsx18(IconPlus4, { size: 14 }),
879
+ leftSection: /* @__PURE__ */ jsx20(IconPlus4, { size: 14 }),
872
880
  onClick: () => handleAddSession(dayOfWeek),
873
881
  children: "Th\xEAm bu\u1ED5i"
874
882
  }
875
883
  )
876
884
  ] }),
877
- /* @__PURE__ */ jsx18(Divider, { my: "sm" }),
885
+ /* @__PURE__ */ jsx20(Divider, { my: "sm" }),
878
886
  (_a = grouped[dayOfWeek]) == null ? void 0 : _a.map((item, indexInDay) => {
879
887
  const globalIndex = value.findIndex(
880
888
  (v) => v === item
881
889
  );
882
- return /* @__PURE__ */ jsxs8(
890
+ return /* @__PURE__ */ jsxs9(
883
891
  Group4,
884
892
  {
885
893
  mt: "xs",
886
894
  gap: "xs",
887
895
  align: "flex-end",
888
896
  children: [
889
- /* @__PURE__ */ jsx18(
897
+ /* @__PURE__ */ jsx20(
890
898
  NumberInput,
891
899
  {
892
900
  label: "Ti\u1EBFt b\u1EAFt \u0111\u1EA7u",
@@ -898,7 +906,7 @@ function MyWeeklySessionSchedulerPicker({
898
906
  )
899
907
  }
900
908
  ),
901
- /* @__PURE__ */ jsx18(
909
+ /* @__PURE__ */ jsx20(
902
910
  NumberInput,
903
911
  {
904
912
  label: "S\u1ED1 ti\u1EBFt",
@@ -910,7 +918,7 @@ function MyWeeklySessionSchedulerPicker({
910
918
  )
911
919
  }
912
920
  ),
913
- /* @__PURE__ */ jsx18(
921
+ /* @__PURE__ */ jsx20(
914
922
  NumberInput,
915
923
  {
916
924
  label: "S\u1ED1 ph\xFAt ",
@@ -919,13 +927,13 @@ function MyWeeklySessionSchedulerPicker({
919
927
  value: item.durationMinutes
920
928
  }
921
929
  ),
922
- /* @__PURE__ */ jsx18(
930
+ /* @__PURE__ */ jsx20(
923
931
  Button5,
924
932
  {
925
933
  variant: "light",
926
934
  color: "red",
927
935
  onClick: () => handleRemove(globalIndex),
928
- leftSection: /* @__PURE__ */ jsx18(IconTrash3, { size: 14 }),
936
+ leftSection: /* @__PURE__ */ jsx20(IconTrash3, { size: 14 }),
929
937
  children: "X\xF3a bu\u1ED5i"
930
938
  }
931
939
  )
@@ -944,10 +952,10 @@ function MyWeeklySessionSchedulerPicker({
944
952
 
945
953
  // src/core/layout/MyFlexEnd.tsx
946
954
  import { Group as Group5 } from "@mantine/core";
947
- import { jsx as jsx19 } from "react/jsx-runtime";
955
+ import { jsx as jsx21 } from "react/jsx-runtime";
948
956
  function MyFlexEnd2(_a) {
949
957
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
950
- return /* @__PURE__ */ jsx19(Group5, __spreadProps(__spreadValues({ justify: "end", mt: "md" }, rest), { children }));
958
+ return /* @__PURE__ */ jsx21(Group5, __spreadProps(__spreadValues({ justify: "end", mt: "md" }, rest), { children }));
951
959
  }
952
960
 
953
961
  export {
@@ -65,12 +65,12 @@ import {
65
65
  useS_BasicAppShell,
66
66
  useS_ButtonImport,
67
67
  utils_layout_getItemsWithoutLinks
68
- } from "../chunk-24COZ2RJ.mjs";
68
+ } from "../chunk-R43BUIMD.mjs";
69
+ import "../chunk-U62R2QKJ.mjs";
69
70
  import "../chunk-5U2JSHSJ.mjs";
70
71
  import "../chunk-OMJJAHOC.mjs";
71
72
  import "../chunk-KFSAV44B.mjs";
72
73
  import "../chunk-7ZCOFATU.mjs";
73
- import "../chunk-U62R2QKJ.mjs";
74
74
  import "../chunk-FWCSY2DS.mjs";
75
75
  export {
76
76
  AQButtonCreateByImportFile,
@@ -16,15 +16,15 @@ import {
16
16
  MyStatsCard,
17
17
  MyTextInput,
18
18
  MyWeeklySessionSchedulerPicker
19
- } from "../chunk-SQ7D2WH5.mjs";
20
- import "../chunk-GFEMKKFH.mjs";
21
- import "../chunk-24COZ2RJ.mjs";
19
+ } from "../chunk-UTZAGNSR.mjs";
20
+ import "../chunk-R43BUIMD.mjs";
21
+ import "../chunk-U62R2QKJ.mjs";
22
22
  import "../chunk-5U2JSHSJ.mjs";
23
+ import "../chunk-GFEMKKFH.mjs";
23
24
  import "../chunk-OMJJAHOC.mjs";
24
25
  import "../chunk-K6S7R6LU.mjs";
25
26
  import "../chunk-KFSAV44B.mjs";
26
27
  import "../chunk-7ZCOFATU.mjs";
27
- import "../chunk-U62R2QKJ.mjs";
28
28
  import "../chunk-FWCSY2DS.mjs";
29
29
  export {
30
30
  MyActionIcon,
@@ -15,10 +15,7 @@ import {
15
15
  MyButton as MyButton2,
16
16
  MyDataTableSelectOne,
17
17
  MyTextInput as MyTextInput2
18
- } from "../chunk-SQ7D2WH5.mjs";
19
- import {
20
- const_object_documentTypes
21
- } from "../chunk-GFEMKKFH.mjs";
18
+ } from "../chunk-UTZAGNSR.mjs";
22
19
  import {
23
20
  F_authenticate_Logout,
24
21
  MyActionIconDelete,
@@ -44,8 +41,14 @@ import {
44
41
  groupToTwoLevels,
45
42
  useS_authenticate,
46
43
  utils_layout_getItemsWithoutLinks
47
- } from "../chunk-24COZ2RJ.mjs";
44
+ } from "../chunk-R43BUIMD.mjs";
45
+ import {
46
+ createGenericStore
47
+ } from "../chunk-U62R2QKJ.mjs";
48
48
  import "../chunk-5U2JSHSJ.mjs";
49
+ import {
50
+ const_object_documentTypes
51
+ } from "../chunk-GFEMKKFH.mjs";
49
52
  import {
50
53
  const_object_colors
51
54
  } from "../chunk-OMJJAHOC.mjs";
@@ -66,9 +69,6 @@ import {
66
69
  import {
67
70
  utils_notification_show
68
71
  } from "../chunk-7ZCOFATU.mjs";
69
- import {
70
- createGenericStore
71
- } from "../chunk-U62R2QKJ.mjs";
72
72
  import {
73
73
  __objRest,
74
74
  __spreadProps,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.474",
45
+ "version": "0.1.475",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"
@@ -1,3 +1,6 @@
1
+ import {
2
+ createGenericStore
3
+ } from "./chunk-U62R2QKJ.mjs";
1
4
  import {
2
5
  utils_pdf_download
3
6
  } from "./chunk-5U2JSHSJ.mjs";
@@ -12,9 +15,6 @@ import {
12
15
  import {
13
16
  utils_notification_show
14
17
  } from "./chunk-7ZCOFATU.mjs";
15
- import {
16
- createGenericStore
17
- } from "./chunk-U62R2QKJ.mjs";
18
18
  import {
19
19
  __objRest,
20
20
  __spreadProps,