aq-fe-framework 0.1.484 → 0.1.486

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,13 +2,13 @@ import {
2
2
  MyDataTable,
3
3
  MyFlexColumn,
4
4
  MyFlexRow
5
- } from "./chunk-R43BUIMD.mjs";
6
- import {
7
- const_object_colors
8
- } from "./chunk-OMJJAHOC.mjs";
5
+ } from "./chunk-YC5RSWLH.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
@@ -451,68 +451,9 @@ function MyLabelValueRow({
451
451
  ] }));
452
452
  }
453
453
 
454
- // src/core/dataDisplay/MyPaperTag.tsx
455
- import {
456
- Badge,
457
- Paper as Paper2,
458
- Stack as Stack2,
459
- Text as Text4,
460
- useMantineTheme
461
- } from "@mantine/core";
462
- import { jsx as jsx14, jsxs as jsxs7 } from "react/jsx-runtime";
463
- function MyPaperTag(_a) {
464
- var _b = _a, {
465
- bg = "blue",
466
- children,
467
- badgeProps,
468
- labelProps,
469
- label
470
- } = _b, rest = __objRest(_b, [
471
- "bg",
472
- "children",
473
- "badgeProps",
474
- "labelProps",
475
- "label"
476
- ]);
477
- var _a2, _b2, _c, _d;
478
- const theme = useMantineTheme();
479
- const bgColor = (_a2 = theme.colors[bg]) == null ? void 0 : _a2[0];
480
- const borderColor = (_b2 = theme.colors[bg]) == null ? void 0 : _b2[4];
481
- const badgeColor = (_c = theme.colors[bg]) == null ? void 0 : _c[9];
482
- return /* @__PURE__ */ jsxs7(Stack2, { gap: 5, children: [
483
- /* @__PURE__ */ jsx14(Text4, __spreadProps(__spreadValues({ fw: "500", size: "sm" }, labelProps), { children: label })),
484
- /* @__PURE__ */ jsx14(
485
- Paper2,
486
- __spreadProps(__spreadValues({
487
- w: "100%",
488
- p: "xs",
489
- style: {
490
- backgroundColor: bgColor,
491
- border: `1px solid ${borderColor}`,
492
- display: "inline-block"
493
- }
494
- }, rest), {
495
- children: /* @__PURE__ */ jsx14(
496
- Badge,
497
- __spreadProps(__spreadValues({
498
- variant: "light",
499
- color: badgeColor,
500
- radius: "xl",
501
- size: "md",
502
- fw: "bold",
503
- style: { fontWeight: 500, backgroundColor: (_d = theme.colors[bg]) == null ? void 0 : _d[1] }
504
- }, badgeProps), {
505
- children
506
- })
507
- )
508
- })
509
- )
510
- ] });
511
- }
512
-
513
454
  // src/core/dataDisplay/MyStatsCartd.tsx
514
455
  import { Box, Card, ThemeIcon } from "@mantine/core";
515
- import { jsx as jsx15, jsxs as jsxs8 } from "react/jsx-runtime";
456
+ import { jsx as jsx14, jsxs as jsxs7 } from "react/jsx-runtime";
516
457
  function MyStatsCard({
517
458
  title,
518
459
  value,
@@ -521,22 +462,22 @@ function MyStatsCard({
521
462
  color,
522
463
  themeIconProps
523
464
  }) {
524
- return /* @__PURE__ */ jsxs8(Card, { children: [
525
- /* @__PURE__ */ jsx15("div", { className: `absolute inset-0 bg-gradient-to-br ${color} opacity-5` }),
526
- /* @__PURE__ */ jsx15(Box, { className: "p-6", children: /* @__PURE__ */ jsxs8("div", { className: "flex items-center justify-between", children: [
527
- /* @__PURE__ */ jsxs8("div", { children: [
528
- /* @__PURE__ */ jsx15("p", { className: "text-sm font-medium text-muted-foreground", children: title }),
529
- /* @__PURE__ */ jsx15("p", { className: "text-3xl font-bold", children: value }),
530
- /* @__PURE__ */ jsx15("p", { className: "text-xs text-muted-foreground mt-1", children: subtitle })
465
+ return /* @__PURE__ */ jsxs7(Card, { children: [
466
+ /* @__PURE__ */ jsx14("div", { className: `absolute inset-0 bg-gradient-to-br ${color} opacity-5` }),
467
+ /* @__PURE__ */ jsx14(Box, { className: "p-6", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between", children: [
468
+ /* @__PURE__ */ jsxs7("div", { children: [
469
+ /* @__PURE__ */ jsx14("p", { className: "text-sm font-medium text-muted-foreground", children: title }),
470
+ /* @__PURE__ */ jsx14("p", { className: "text-3xl font-bold", children: value }),
471
+ /* @__PURE__ */ jsx14("p", { className: "text-xs text-muted-foreground mt-1", children: subtitle })
531
472
  ] }),
532
- /* @__PURE__ */ jsx15(ThemeIcon, __spreadProps(__spreadValues({ size: "xl", radius: "xl" }, themeIconProps), { children: icon }))
473
+ /* @__PURE__ */ jsx14(ThemeIcon, __spreadProps(__spreadValues({ size: "xl", radius: "xl" }, themeIconProps), { children: icon }))
533
474
  ] }) })
534
475
  ] });
535
476
  }
536
477
 
537
478
  // src/core/input/MyDayOfWeekPicker.tsx
538
- import { Badge as Badge2, Group as Group3 } from "@mantine/core";
539
- import { jsx as jsx16 } from "react/jsx-runtime";
479
+ import { Badge, Group as Group3 } from "@mantine/core";
480
+ import { jsx as jsx15 } from "react/jsx-runtime";
540
481
  var days = Object.entries(enum_daysOfWeek).filter(([key]) => isNaN(Number(key))).map(([label, value]) => ({ label, value }));
541
482
  function MyDayOfWeekPicker({ value = [], onChange }) {
542
483
  const toggle = (val) => {
@@ -544,8 +485,8 @@ function MyDayOfWeekPicker({ value = [], onChange }) {
544
485
  const newValue = value.includes(val) ? value.filter((v) => v !== val) : [...value, val].sort((a, b) => a - b);
545
486
  onChange(newValue);
546
487
  };
547
- return /* @__PURE__ */ jsx16(MyFlexRow, { align: "center", children: /* @__PURE__ */ jsx16(Group3, { gap: "xs", children: days.map((d) => /* @__PURE__ */ jsx16(
548
- Badge2,
488
+ return /* @__PURE__ */ jsx15(MyFlexRow, { align: "center", children: /* @__PURE__ */ jsx15(Group3, { gap: "xs", children: days.map((d) => /* @__PURE__ */ jsx15(
489
+ Badge,
549
490
  {
550
491
  variant: value.includes(d.value) ? "filled" : "outline",
551
492
  color: "blue",
@@ -572,7 +513,7 @@ import Underline from "@tiptap/extension-underline";
572
513
  import { useEditor } from "@tiptap/react";
573
514
  import StarterKit from "@tiptap/starter-kit";
574
515
  import { useEffect as useEffect2 } from "react";
575
- import { jsx as jsx17, jsxs as jsxs9 } from "react/jsx-runtime";
516
+ import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
576
517
  function MyRichTextEditor(props) {
577
518
  const editor = useEditor({
578
519
  extensions: [
@@ -656,44 +597,44 @@ function MyRichTextEditor(props) {
656
597
  editor.commands.setContent(props.value || "", false);
657
598
  }
658
599
  }, [props.value, editor]);
659
- return /* @__PURE__ */ jsx17(Input.Wrapper, __spreadProps(__spreadValues({}, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs9(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
660
- /* @__PURE__ */ jsxs9(MantineRichTextEditor.Toolbar, __spreadProps(__spreadValues({}, props.richTextEditorToolBarProps), { children: [
661
- /* @__PURE__ */ jsxs9(MantineRichTextEditor.ControlsGroup, { children: [
662
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Bold, {}),
663
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Italic, {}),
664
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Underline, {}),
665
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Strikethrough, {}),
666
- /* @__PURE__ */ jsx17(MantineRichTextEditor.ClearFormatting, {}),
667
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Highlight, {}),
668
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Code, {})
600
+ return /* @__PURE__ */ jsx16(Input.Wrapper, __spreadProps(__spreadValues({}, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs8(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
601
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.Toolbar, __spreadProps(__spreadValues({}, props.richTextEditorToolBarProps), { children: [
602
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
603
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Bold, {}),
604
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Italic, {}),
605
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Underline, {}),
606
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Strikethrough, {}),
607
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.ClearFormatting, {}),
608
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Highlight, {}),
609
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Code, {})
669
610
  ] }),
670
- /* @__PURE__ */ jsxs9(MantineRichTextEditor.ControlsGroup, { children: [
671
- /* @__PURE__ */ jsx17(MantineRichTextEditor.H1, {}),
672
- /* @__PURE__ */ jsx17(MantineRichTextEditor.H2, {}),
673
- /* @__PURE__ */ jsx17(MantineRichTextEditor.H3, {}),
674
- /* @__PURE__ */ jsx17(MantineRichTextEditor.H4, {})
611
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
612
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.H1, {}),
613
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.H2, {}),
614
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.H3, {}),
615
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.H4, {})
675
616
  ] }),
676
- /* @__PURE__ */ jsxs9(MantineRichTextEditor.ControlsGroup, { children: [
677
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Blockquote, {}),
678
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Hr, {}),
679
- /* @__PURE__ */ jsx17(MantineRichTextEditor.BulletList, {}),
680
- /* @__PURE__ */ jsx17(MantineRichTextEditor.OrderedList, {}),
681
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Subscript, {}),
682
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Superscript, {})
617
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
618
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Blockquote, {}),
619
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Hr, {}),
620
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.BulletList, {}),
621
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.OrderedList, {}),
622
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Subscript, {}),
623
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Superscript, {})
683
624
  ] }),
684
- /* @__PURE__ */ jsxs9(MantineRichTextEditor.ControlsGroup, { children: [
685
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Link, {}),
686
- /* @__PURE__ */ jsx17(MantineRichTextEditor.Unlink, {})
625
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
626
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Link, {}),
627
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.Unlink, {})
687
628
  ] }),
688
- /* @__PURE__ */ jsxs9(MantineRichTextEditor.ControlsGroup, { children: [
689
- /* @__PURE__ */ jsx17(MantineRichTextEditor.AlignLeft, {}),
690
- /* @__PURE__ */ jsx17(MantineRichTextEditor.AlignCenter, {}),
691
- /* @__PURE__ */ jsx17(MantineRichTextEditor.AlignJustify, {}),
692
- /* @__PURE__ */ jsx17(MantineRichTextEditor.AlignRight, {})
629
+ /* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
630
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.AlignLeft, {}),
631
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.AlignCenter, {}),
632
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.AlignJustify, {}),
633
+ /* @__PURE__ */ jsx16(MantineRichTextEditor.AlignRight, {})
693
634
  ] }),
694
635
  props.extraControlsGroup
695
636
  ] })),
696
- /* @__PURE__ */ jsx17(
637
+ /* @__PURE__ */ jsx16(
697
638
  ScrollArea2.Autosize,
698
639
  __spreadProps(__spreadValues({
699
640
  onMouseDown: () => {
@@ -702,7 +643,7 @@ function MyRichTextEditor(props) {
702
643
  mah: "200",
703
644
  style: { cursor: "text" }
704
645
  }, props.scrollAreaAutosizeProps), {
705
- children: /* @__PURE__ */ jsx17(RichTextEditor.Content, __spreadValues({ mih: "200" }, props.richTextEditorContentProps))
646
+ children: /* @__PURE__ */ jsx16(RichTextEditor.Content, __spreadValues({ mih: "200" }, props.richTextEditorContentProps))
706
647
  })
707
648
  )
708
649
  ] })) }));
@@ -711,7 +652,7 @@ function MyRichTextEditor(props) {
711
652
  // src/core/input/MySelect.tsx
712
653
  import { Loader, Select } from "@mantine/core";
713
654
  import React from "react";
714
- import { jsx as jsx18 } from "react/jsx-runtime";
655
+ import { jsx as jsx17 } from "react/jsx-runtime";
715
656
  function extractTextFromReactNode(node) {
716
657
  if (typeof node === "string" || typeof node === "number") return String(node);
717
658
  if (Array.isArray(node)) return node.map(extractTextFromReactNode).join(" ");
@@ -729,7 +670,7 @@ function MySelect(_a) {
729
670
  const plainTextLabel = extractTextFromReactNode(label).toLowerCase().trim();
730
671
  placeholder = `Ch\u1ECDn ${plainTextLabel}`;
731
672
  }
732
- return /* @__PURE__ */ jsx18(
673
+ return /* @__PURE__ */ jsx17(
733
674
  Select,
734
675
  __spreadValues({
735
676
  searchable: true,
@@ -737,7 +678,7 @@ function MySelect(_a) {
737
678
  placeholder,
738
679
  data: data != null ? data : [],
739
680
  error: isError ? true : void 0,
740
- rightSection: isLoading ? /* @__PURE__ */ jsx18(Loader, { size: "xs" }) : void 0,
681
+ rightSection: isLoading ? /* @__PURE__ */ jsx17(Loader, { size: "xs" }) : void 0,
741
682
  disabled: isLoading || isError,
742
683
  styles: (theme) => ({
743
684
  input: rest.readOnly ? {
@@ -753,7 +694,7 @@ function MySelect(_a) {
753
694
 
754
695
  // src/core/input/MySelectFromAPI.tsx
755
696
  import { useCallback, useEffect as useEffect3, useMemo as useMemo3, useRef } from "react";
756
- import { jsx as jsx19 } from "react/jsx-runtime";
697
+ import { jsx as jsx18 } from "react/jsx-runtime";
757
698
  function MySelectFromAPI(_a) {
758
699
  var _b = _a, {
759
700
  queryKey,
@@ -817,7 +758,7 @@ function MySelectFromAPI(_a) {
817
758
  hasAutoSelected.current = true;
818
759
  }
819
760
  }, [autoSelectFirstItem, query.data, value, getLabel, onChange, setObjectData]);
820
- return /* @__PURE__ */ jsx19(
761
+ return /* @__PURE__ */ jsx18(
821
762
  MySelect,
822
763
  __spreadValues({
823
764
  isLoading: query.isLoading,
@@ -831,10 +772,10 @@ function MySelectFromAPI(_a) {
831
772
 
832
773
  // src/core/input/MyTextInput.tsx
833
774
  import { TextInput } from "@mantine/core";
834
- import { jsx as jsx20 } from "react/jsx-runtime";
775
+ import { jsx as jsx19 } from "react/jsx-runtime";
835
776
  function MyTextInput(_a) {
836
777
  var _b = _a, { label, isPhoneNumber } = _b, rest = __objRest(_b, ["label", "isPhoneNumber"]);
837
- return /* @__PURE__ */ jsx20(
778
+ return /* @__PURE__ */ jsx19(
838
779
  TextInput,
839
780
  __spreadValues({
840
781
  onKeyDown: (e) => {
@@ -877,13 +818,13 @@ import {
877
818
  Divider,
878
819
  Group as Group4,
879
820
  NumberInput,
880
- Paper as Paper3,
821
+ Paper as Paper2,
881
822
  ScrollArea as ScrollArea3,
882
- Text as Text6
823
+ Text as Text5
883
824
  } from "@mantine/core";
884
825
  import { IconPlus as IconPlus4, IconTrash as IconTrash3 } from "@tabler/icons-react";
885
826
  import { useState } from "react";
886
- import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
827
+ import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
887
828
  function MyWeeklySessionSchedulerPicker({
888
829
  value = [],
889
830
  onChange
@@ -914,8 +855,8 @@ function MyWeeklySessionSchedulerPicker({
914
855
  return acc;
915
856
  }, {});
916
857
  const getLabel = (day) => enum_daysOfWeek[day] || `Day ${day}`;
917
- return /* @__PURE__ */ jsx21(Paper3, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs10(MyFlexColumn, { children: [
918
- /* @__PURE__ */ jsx21(Center, { children: /* @__PURE__ */ jsx21(
858
+ return /* @__PURE__ */ jsx20(Paper2, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs9(MyFlexColumn, { children: [
859
+ /* @__PURE__ */ jsx20(Center, { children: /* @__PURE__ */ jsx20(
919
860
  MyDayOfWeekPicker,
920
861
  {
921
862
  value: selectedDays,
@@ -925,41 +866,41 @@ function MyWeeklySessionSchedulerPicker({
925
866
  }
926
867
  }
927
868
  ) }),
928
- /* @__PURE__ */ jsx21(Divider, { my: "xs" }),
929
- /* @__PURE__ */ jsx21(Center, { children: /* @__PURE__ */ jsx21(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx21(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
869
+ /* @__PURE__ */ jsx20(Divider, { my: "xs" }),
870
+ /* @__PURE__ */ jsx20(Center, { children: /* @__PURE__ */ jsx20(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx20(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
930
871
  var _a;
931
- return /* @__PURE__ */ jsxs10(
932
- Paper3,
872
+ return /* @__PURE__ */ jsxs9(
873
+ Paper2,
933
874
  {
934
875
  w: "100%",
935
876
  p: "md",
936
877
  bg: const_object_colors.mantineBackgroundBlueLight,
937
878
  children: [
938
- /* @__PURE__ */ jsxs10(Group4, { gap: "apart", children: [
939
- /* @__PURE__ */ jsx21(Text6, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
940
- /* @__PURE__ */ jsx21(
879
+ /* @__PURE__ */ jsxs9(Group4, { gap: "apart", children: [
880
+ /* @__PURE__ */ jsx20(Text5, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
881
+ /* @__PURE__ */ jsx20(
941
882
  Button5,
942
883
  {
943
884
  color: "teal.5",
944
- leftSection: /* @__PURE__ */ jsx21(IconPlus4, { size: 14 }),
885
+ leftSection: /* @__PURE__ */ jsx20(IconPlus4, { size: 14 }),
945
886
  onClick: () => handleAddSession(dayOfWeek),
946
887
  children: "Th\xEAm bu\u1ED5i"
947
888
  }
948
889
  )
949
890
  ] }),
950
- /* @__PURE__ */ jsx21(Divider, { my: "sm" }),
891
+ /* @__PURE__ */ jsx20(Divider, { my: "sm" }),
951
892
  (_a = grouped[dayOfWeek]) == null ? void 0 : _a.map((item, indexInDay) => {
952
893
  const globalIndex = value.findIndex(
953
894
  (v) => v === item
954
895
  );
955
- return /* @__PURE__ */ jsxs10(
896
+ return /* @__PURE__ */ jsxs9(
956
897
  Group4,
957
898
  {
958
899
  mt: "xs",
959
900
  gap: "xs",
960
901
  align: "flex-end",
961
902
  children: [
962
- /* @__PURE__ */ jsx21(
903
+ /* @__PURE__ */ jsx20(
963
904
  NumberInput,
964
905
  {
965
906
  label: "Ti\u1EBFt b\u1EAFt \u0111\u1EA7u",
@@ -971,7 +912,7 @@ function MyWeeklySessionSchedulerPicker({
971
912
  )
972
913
  }
973
914
  ),
974
- /* @__PURE__ */ jsx21(
915
+ /* @__PURE__ */ jsx20(
975
916
  NumberInput,
976
917
  {
977
918
  label: "S\u1ED1 ti\u1EBFt",
@@ -983,7 +924,7 @@ function MyWeeklySessionSchedulerPicker({
983
924
  )
984
925
  }
985
926
  ),
986
- /* @__PURE__ */ jsx21(
927
+ /* @__PURE__ */ jsx20(
987
928
  NumberInput,
988
929
  {
989
930
  label: "S\u1ED1 ph\xFAt ",
@@ -992,13 +933,13 @@ function MyWeeklySessionSchedulerPicker({
992
933
  value: item.durationMinutes
993
934
  }
994
935
  ),
995
- /* @__PURE__ */ jsx21(
936
+ /* @__PURE__ */ jsx20(
996
937
  Button5,
997
938
  {
998
939
  variant: "light",
999
940
  color: "red",
1000
941
  onClick: () => handleRemove(globalIndex),
1001
- leftSection: /* @__PURE__ */ jsx21(IconTrash3, { size: 14 }),
942
+ leftSection: /* @__PURE__ */ jsx20(IconTrash3, { size: 14 }),
1002
943
  children: "X\xF3a bu\u1ED5i"
1003
944
  }
1004
945
  )
@@ -1017,10 +958,10 @@ function MyWeeklySessionSchedulerPicker({
1017
958
 
1018
959
  // src/core/layout/MyFlexEnd.tsx
1019
960
  import { Group as Group5 } from "@mantine/core";
1020
- import { jsx as jsx22 } from "react/jsx-runtime";
961
+ import { jsx as jsx21 } from "react/jsx-runtime";
1021
962
  function MyFlexEnd2(_a) {
1022
963
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
1023
- return /* @__PURE__ */ jsx22(Group5, __spreadProps(__spreadValues({ justify: "end", mt: "md" }, rest), { children }));
964
+ return /* @__PURE__ */ jsx21(Group5, __spreadProps(__spreadValues({ justify: "end", mt: "md" }, rest), { children }));
1024
965
  }
1025
966
 
1026
967
  export {
@@ -1034,7 +975,6 @@ export {
1034
975
  MyFlexIconTitle,
1035
976
  MyInfoBox,
1036
977
  MyLabelValueRow,
1037
- MyPaperTag,
1038
978
  MyStatsCard,
1039
979
  MyDayOfWeekPicker,
1040
980
  MyRichTextEditor,
@@ -1,9 +1,9 @@
1
- import {
2
- createGenericStore
3
- } from "./chunk-U62R2QKJ.mjs";
4
1
  import {
5
2
  utils_pdf_download
6
3
  } from "./chunk-5U2JSHSJ.mjs";
4
+ import {
5
+ createGenericStore
6
+ } from "./chunk-U62R2QKJ.mjs";
7
7
  import {
8
8
  const_object_colors
9
9
  } from "./chunk-OMJJAHOC.mjs";
@@ -1855,7 +1855,7 @@ function MyButtonPrintPDF(_a) {
1855
1855
  handlePrint();
1856
1856
  }
1857
1857
  return /* @__PURE__ */ jsxs18(Fragment10, { children: [
1858
- /* @__PURE__ */ jsx30("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx30("div", { ref: printRef, style: { padding: autoPadding ? "2cm 2cm 2cm 3cm" : void 0 }, children: contentToPrint }) }),
1858
+ /* @__PURE__ */ jsx30("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx30("div", { ref: printRef, style: { padding: autoPadding ? "2cm 2cm 2cm 3cm" : void 0, fontFamily: '"Times New Roman", Times, serif' }, children: contentToPrint }) }),
1859
1859
  /* @__PURE__ */ jsx30(Button10, __spreadProps(__spreadValues({ color: "orange", onClick: handleClick, leftSection: /* @__PURE__ */ jsx30(IconPrinter2, {}) }, rest), { children }))
1860
1860
  ] });
1861
1861
  }
@@ -65,9 +65,9 @@ import {
65
65
  useS_BasicAppShell,
66
66
  useS_ButtonImport,
67
67
  utils_layout_getItemsWithoutLinks
68
- } from "../chunk-R43BUIMD.mjs";
69
- import "../chunk-U62R2QKJ.mjs";
68
+ } from "../chunk-YC5RSWLH.mjs";
70
69
  import "../chunk-5U2JSHSJ.mjs";
70
+ import "../chunk-U62R2QKJ.mjs";
71
71
  import "../chunk-OMJJAHOC.mjs";
72
72
  import "../chunk-KFSAV44B.mjs";
73
73
  import "../chunk-7ZCOFATU.mjs";
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { t as type_action } from '../types-B5rmBuXz.mjs';
3
- import { ActionIconProps, ButtonProps, ModalProps, ScrollAreaAutosizeProps, TextProps, PaperProps, GroupProps, BadgeProps, MantineColor, ThemeIconProps, InputWrapperProps, SelectProps, TextInputProps, FlexProps } from '@mantine/core';
3
+ import { ActionIconProps, ButtonProps, ModalProps, ScrollAreaAutosizeProps, TextProps, PaperProps, GroupProps, ThemeIconProps, InputWrapperProps, SelectProps, TextInputProps, FlexProps } from '@mantine/core';
4
4
  import { ReactNode, ButtonHTMLAttributes } from 'react';
5
5
  import { M as MyApiResponse } from '../createBaseApi-D9OK2lA_.mjs';
6
6
  import { AxiosResponse } from 'axios';
@@ -101,15 +101,6 @@ interface LabelValueRowProps {
101
101
  }
102
102
  declare function MyLabelValueRow({ label, value, labelProps, valueProps, groupProps }: LabelValueRowProps): react_jsx_runtime.JSX.Element;
103
103
 
104
- interface MyPaperTagProps extends PaperProps {
105
- children?: string;
106
- badgeProps?: BadgeProps;
107
- bg?: MantineColor;
108
- label?: string;
109
- labelProps?: TextProps;
110
- }
111
- declare function MyPaperTag({ bg, children, badgeProps, labelProps, label, ...rest }: MyPaperTagProps): react_jsx_runtime.JSX.Element;
112
-
113
104
  declare function MyStatsCard({ title, value, subtitle, icon, color, themeIconProps }: {
114
105
  title: string;
115
106
  value: number;
@@ -189,4 +180,4 @@ interface MyFlexEndProps extends GroupProps {
189
180
  }
190
181
  declare function MyFlexEnd({ children, ...rest }: MyFlexEndProps): react_jsx_runtime.JSX.Element;
191
182
 
192
- export { type IWeeklySession, MyActionIcon, type MyActionIconProps, MyButton, MyButtonCreateUpdate, type MyButtonExportStructureProps, MyButtonModal, MyButtonModalCreateUpdate, type MyButtonModalProps, type MyButtonProps$1 as MyButtonProps, MyDataTableSelectOne, MyDayOfWeekPicker, MyFlexColumn, MyFlexEnd, MyFlexIconTitle, MyInfoBox, type MyInfoBoxItem, type MyInfoBoxProps, MyLabelValueRow, MyPaperTag, MyRichTextEditor, MySelect, MySelectFromAPI, type MySelectProps, MyStatsCard, MyTextInput, MyWeeklySessionSchedulerPicker, type WeeklySessionSchedulerProps };
183
+ export { type IWeeklySession, MyActionIcon, type MyActionIconProps, MyButton, MyButtonCreateUpdate, type MyButtonExportStructureProps, MyButtonModal, MyButtonModalCreateUpdate, type MyButtonModalProps, type MyButtonProps$1 as MyButtonProps, MyDataTableSelectOne, MyDayOfWeekPicker, MyFlexColumn, MyFlexEnd, MyFlexIconTitle, MyInfoBox, type MyInfoBoxItem, type MyInfoBoxProps, MyLabelValueRow, MyRichTextEditor, MySelect, MySelectFromAPI, type MySelectProps, MyStatsCard, MyTextInput, MyWeeklySessionSchedulerPicker, type WeeklySessionSchedulerProps };
@@ -11,20 +11,19 @@ import {
11
11
  MyFlexIconTitle,
12
12
  MyInfoBox,
13
13
  MyLabelValueRow,
14
- MyPaperTag,
15
14
  MyRichTextEditor,
16
15
  MySelect,
17
16
  MySelectFromAPI,
18
17
  MyStatsCard,
19
18
  MyTextInput,
20
19
  MyWeeklySessionSchedulerPicker
21
- } from "../chunk-J7XA3G3T.mjs";
22
- import "../chunk-R43BUIMD.mjs";
23
- import "../chunk-U62R2QKJ.mjs";
20
+ } from "../chunk-TQSJUC2O.mjs";
21
+ import "../chunk-YC5RSWLH.mjs";
24
22
  import "../chunk-5U2JSHSJ.mjs";
23
+ import "../chunk-U62R2QKJ.mjs";
24
+ import "../chunk-K6S7R6LU.mjs";
25
25
  import "../chunk-GFEMKKFH.mjs";
26
26
  import "../chunk-OMJJAHOC.mjs";
27
- import "../chunk-K6S7R6LU.mjs";
28
27
  import "../chunk-KFSAV44B.mjs";
29
28
  import "../chunk-7ZCOFATU.mjs";
30
29
  import "../chunk-FWCSY2DS.mjs";
@@ -41,7 +40,6 @@ export {
41
40
  MyFlexIconTitle,
42
41
  MyInfoBox,
43
42
  MyLabelValueRow,
44
- MyPaperTag,
45
43
  MyRichTextEditor,
46
44
  MySelect,
47
45
  MySelectFromAPI,
@@ -15,7 +15,7 @@ import {
15
15
  MyButton as MyButton2,
16
16
  MyDataTableSelectOne,
17
17
  MyTextInput as MyTextInput2
18
- } from "../chunk-J7XA3G3T.mjs";
18
+ } from "../chunk-TQSJUC2O.mjs";
19
19
  import {
20
20
  F_authenticate_Logout,
21
21
  MyActionIconDelete,
@@ -41,21 +41,21 @@ import {
41
41
  groupToTwoLevels,
42
42
  useS_authenticate,
43
43
  utils_layout_getItemsWithoutLinks
44
- } from "../chunk-R43BUIMD.mjs";
44
+ } from "../chunk-YC5RSWLH.mjs";
45
+ import "../chunk-5U2JSHSJ.mjs";
45
46
  import {
46
47
  createGenericStore
47
48
  } from "../chunk-U62R2QKJ.mjs";
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,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.484",
45
+ "version": "0.1.486",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"