aq-fe-framework 0.1.436 → 0.1.437

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.
@@ -380,9 +380,19 @@ function MyDataTableSelectOne({
380
380
  );
381
381
  }
382
382
 
383
- // src/core/dataDisplay/MyLabelValueRow.tsx
384
- import { Group, Text } from "@mantine/core";
383
+ // src/core/dataDisplay/MyInfoBox.tsx
384
+ import { Group, Paper, Stack, Text } from "@mantine/core";
385
385
  import { jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
386
+ function MyInfoBox({ data }) {
387
+ return /* @__PURE__ */ jsx7(Paper, { withBorder: true, shadow: "xs", radius: "md", p: "md", children: /* @__PURE__ */ jsx7(Stack, { children: data.map((item, index) => /* @__PURE__ */ jsxs3(Group, { justify: "space-between", children: [
388
+ /* @__PURE__ */ jsx7(Text, { size: "sm", c: "dimmed", children: item.label }),
389
+ /* @__PURE__ */ jsx7(Text, { size: "sm", fw: 500, children: item.value })
390
+ ] }, index)) }) });
391
+ }
392
+
393
+ // src/core/dataDisplay/MyLabelValueRow.tsx
394
+ import { Group as Group2, Text as Text2 } from "@mantine/core";
395
+ import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
386
396
  function MyLabelValueRow({
387
397
  label,
388
398
  value,
@@ -390,18 +400,18 @@ function MyLabelValueRow({
390
400
  valueProps,
391
401
  groupProps
392
402
  }) {
393
- return /* @__PURE__ */ jsxs3(Group, __spreadProps(__spreadValues({ gap: 5, wrap: "nowrap" }, groupProps), { children: [
394
- /* @__PURE__ */ jsxs3(Text, __spreadProps(__spreadValues({ fw: 600 }, labelProps), { children: [
403
+ return /* @__PURE__ */ jsxs4(Group2, __spreadProps(__spreadValues({ gap: 5, wrap: "nowrap" }, groupProps), { children: [
404
+ /* @__PURE__ */ jsxs4(Text2, __spreadProps(__spreadValues({ fw: 600 }, labelProps), { children: [
395
405
  label,
396
406
  ":"
397
407
  ] })),
398
- /* @__PURE__ */ jsx7(Text, __spreadProps(__spreadValues({}, valueProps), { children: value }))
408
+ /* @__PURE__ */ jsx8(Text2, __spreadProps(__spreadValues({}, valueProps), { children: value }))
399
409
  ] }));
400
410
  }
401
411
 
402
412
  // src/core/dataDisplay/MyStatsCartd.tsx
403
413
  import { Box, Card, ThemeIcon } from "@mantine/core";
404
- import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
414
+ import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
405
415
  function MyStatsCard({
406
416
  title,
407
417
  value,
@@ -410,22 +420,22 @@ function MyStatsCard({
410
420
  color,
411
421
  themeIconProps
412
422
  }) {
413
- return /* @__PURE__ */ jsxs4(Card, { children: [
414
- /* @__PURE__ */ jsx8("div", { className: `absolute inset-0 bg-gradient-to-br ${color} opacity-5` }),
415
- /* @__PURE__ */ jsx8(Box, { className: "p-6", children: /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between", children: [
416
- /* @__PURE__ */ jsxs4("div", { children: [
417
- /* @__PURE__ */ jsx8("p", { className: "text-sm font-medium text-muted-foreground", children: title }),
418
- /* @__PURE__ */ jsx8("p", { className: "text-3xl font-bold", children: value }),
419
- /* @__PURE__ */ jsx8("p", { className: "text-xs text-muted-foreground mt-1", children: subtitle })
423
+ return /* @__PURE__ */ jsxs5(Card, { children: [
424
+ /* @__PURE__ */ jsx9("div", { className: `absolute inset-0 bg-gradient-to-br ${color} opacity-5` }),
425
+ /* @__PURE__ */ jsx9(Box, { className: "p-6", children: /* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between", children: [
426
+ /* @__PURE__ */ jsxs5("div", { children: [
427
+ /* @__PURE__ */ jsx9("p", { className: "text-sm font-medium text-muted-foreground", children: title }),
428
+ /* @__PURE__ */ jsx9("p", { className: "text-3xl font-bold", children: value }),
429
+ /* @__PURE__ */ jsx9("p", { className: "text-xs text-muted-foreground mt-1", children: subtitle })
420
430
  ] }),
421
- /* @__PURE__ */ jsx8(ThemeIcon, __spreadProps(__spreadValues({ size: "xl", radius: "xl" }, themeIconProps), { children: icon }))
431
+ /* @__PURE__ */ jsx9(ThemeIcon, __spreadProps(__spreadValues({ size: "xl", radius: "xl" }, themeIconProps), { children: icon }))
422
432
  ] }) })
423
433
  ] });
424
434
  }
425
435
 
426
436
  // src/core/input/MyDayOfWeekPicker.tsx
427
- import { Badge, Group as Group2 } from "@mantine/core";
428
- import { jsx as jsx9 } from "react/jsx-runtime";
437
+ import { Badge, Group as Group3 } from "@mantine/core";
438
+ import { jsx as jsx10 } from "react/jsx-runtime";
429
439
  var days = Object.entries(enum_daysOfWeek).filter(([key]) => isNaN(Number(key))).map(([label, value]) => ({ label, value }));
430
440
  function MyDayOfWeekPicker({ value = [], onChange }) {
431
441
  const toggle = (val) => {
@@ -433,7 +443,7 @@ function MyDayOfWeekPicker({ value = [], onChange }) {
433
443
  const newValue = value.includes(val) ? value.filter((v) => v !== val) : [...value, val].sort((a, b) => a - b);
434
444
  onChange(newValue);
435
445
  };
436
- return /* @__PURE__ */ jsx9(MyFlexRow, { align: "center", children: /* @__PURE__ */ jsx9(Group2, { gap: "xs", children: days.map((d) => /* @__PURE__ */ jsx9(
446
+ return /* @__PURE__ */ jsx10(MyFlexRow, { align: "center", children: /* @__PURE__ */ jsx10(Group3, { gap: "xs", children: days.map((d) => /* @__PURE__ */ jsx10(
437
447
  Badge,
438
448
  {
439
449
  variant: value.includes(d.value) ? "filled" : "outline",
@@ -461,7 +471,7 @@ import Underline from "@tiptap/extension-underline";
461
471
  import { useEditor } from "@tiptap/react";
462
472
  import StarterKit from "@tiptap/starter-kit";
463
473
  import { useEffect as useEffect2 } from "react";
464
- import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
474
+ import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
465
475
  function MyRichTextEditor(props) {
466
476
  const editor = useEditor({
467
477
  extensions: [
@@ -545,44 +555,44 @@ function MyRichTextEditor(props) {
545
555
  editor.commands.setContent(props.value || "", false);
546
556
  }
547
557
  }, [props.value, editor]);
548
- return /* @__PURE__ */ jsx10(Input.Wrapper, __spreadProps(__spreadValues({}, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs5(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
549
- /* @__PURE__ */ jsxs5(MantineRichTextEditor.Toolbar, __spreadProps(__spreadValues({}, props.richTextEditorToolBarProps), { children: [
550
- /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
551
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Bold, {}),
552
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Italic, {}),
553
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Underline, {}),
554
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Strikethrough, {}),
555
- /* @__PURE__ */ jsx10(MantineRichTextEditor.ClearFormatting, {}),
556
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Highlight, {}),
557
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Code, {})
558
+ return /* @__PURE__ */ jsx11(Input.Wrapper, __spreadProps(__spreadValues({}, props.inputWrapperProps), { children: /* @__PURE__ */ jsxs6(MantineRichTextEditor, __spreadProps(__spreadValues({ editor }, props.richTextEditorProps), { children: [
559
+ /* @__PURE__ */ jsxs6(MantineRichTextEditor.Toolbar, __spreadProps(__spreadValues({}, props.richTextEditorToolBarProps), { children: [
560
+ /* @__PURE__ */ jsxs6(MantineRichTextEditor.ControlsGroup, { children: [
561
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Bold, {}),
562
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Italic, {}),
563
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Underline, {}),
564
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Strikethrough, {}),
565
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.ClearFormatting, {}),
566
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Highlight, {}),
567
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Code, {})
558
568
  ] }),
559
- /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
560
- /* @__PURE__ */ jsx10(MantineRichTextEditor.H1, {}),
561
- /* @__PURE__ */ jsx10(MantineRichTextEditor.H2, {}),
562
- /* @__PURE__ */ jsx10(MantineRichTextEditor.H3, {}),
563
- /* @__PURE__ */ jsx10(MantineRichTextEditor.H4, {})
569
+ /* @__PURE__ */ jsxs6(MantineRichTextEditor.ControlsGroup, { children: [
570
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.H1, {}),
571
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.H2, {}),
572
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.H3, {}),
573
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.H4, {})
564
574
  ] }),
565
- /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
566
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Blockquote, {}),
567
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Hr, {}),
568
- /* @__PURE__ */ jsx10(MantineRichTextEditor.BulletList, {}),
569
- /* @__PURE__ */ jsx10(MantineRichTextEditor.OrderedList, {}),
570
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Subscript, {}),
571
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Superscript, {})
575
+ /* @__PURE__ */ jsxs6(MantineRichTextEditor.ControlsGroup, { children: [
576
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Blockquote, {}),
577
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Hr, {}),
578
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.BulletList, {}),
579
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.OrderedList, {}),
580
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Subscript, {}),
581
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Superscript, {})
572
582
  ] }),
573
- /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
574
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Link, {}),
575
- /* @__PURE__ */ jsx10(MantineRichTextEditor.Unlink, {})
583
+ /* @__PURE__ */ jsxs6(MantineRichTextEditor.ControlsGroup, { children: [
584
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Link, {}),
585
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.Unlink, {})
576
586
  ] }),
577
- /* @__PURE__ */ jsxs5(MantineRichTextEditor.ControlsGroup, { children: [
578
- /* @__PURE__ */ jsx10(MantineRichTextEditor.AlignLeft, {}),
579
- /* @__PURE__ */ jsx10(MantineRichTextEditor.AlignCenter, {}),
580
- /* @__PURE__ */ jsx10(MantineRichTextEditor.AlignJustify, {}),
581
- /* @__PURE__ */ jsx10(MantineRichTextEditor.AlignRight, {})
587
+ /* @__PURE__ */ jsxs6(MantineRichTextEditor.ControlsGroup, { children: [
588
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.AlignLeft, {}),
589
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.AlignCenter, {}),
590
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.AlignJustify, {}),
591
+ /* @__PURE__ */ jsx11(MantineRichTextEditor.AlignRight, {})
582
592
  ] }),
583
593
  props.extraControlsGroup
584
594
  ] })),
585
- /* @__PURE__ */ jsx10(
595
+ /* @__PURE__ */ jsx11(
586
596
  ScrollArea2.Autosize,
587
597
  __spreadProps(__spreadValues({
588
598
  onMouseDown: () => {
@@ -591,7 +601,7 @@ function MyRichTextEditor(props) {
591
601
  mah: "200",
592
602
  style: { cursor: "text" }
593
603
  }, props.scrollAreaAutosizeProps), {
594
- children: /* @__PURE__ */ jsx10(RichTextEditor.Content, __spreadValues({ mih: "200" }, props.richTextEditorContentProps))
604
+ children: /* @__PURE__ */ jsx11(RichTextEditor.Content, __spreadValues({ mih: "200" }, props.richTextEditorContentProps))
595
605
  })
596
606
  )
597
607
  ] })) }));
@@ -600,7 +610,7 @@ function MyRichTextEditor(props) {
600
610
  // src/core/input/MySelect.tsx
601
611
  import { Loader, Select } from "@mantine/core";
602
612
  import React from "react";
603
- import { jsx as jsx11 } from "react/jsx-runtime";
613
+ import { jsx as jsx12 } from "react/jsx-runtime";
604
614
  function extractTextFromReactNode(node) {
605
615
  if (typeof node === "string" || typeof node === "number") return String(node);
606
616
  if (Array.isArray(node)) return node.map(extractTextFromReactNode).join(" ");
@@ -618,7 +628,7 @@ function MySelect(_a) {
618
628
  const plainTextLabel = extractTextFromReactNode(label).toLowerCase();
619
629
  placeholder = `Ch\u1ECDn ${plainTextLabel}`;
620
630
  }
621
- return /* @__PURE__ */ jsx11(
631
+ return /* @__PURE__ */ jsx12(
622
632
  Select,
623
633
  __spreadValues({
624
634
  searchable: true,
@@ -626,7 +636,7 @@ function MySelect(_a) {
626
636
  placeholder,
627
637
  data: data != null ? data : [],
628
638
  error: isError ? true : void 0,
629
- rightSection: isLoading ? /* @__PURE__ */ jsx11(Loader, { size: "xs" }) : void 0,
639
+ rightSection: isLoading ? /* @__PURE__ */ jsx12(Loader, { size: "xs" }) : void 0,
630
640
  disabled: isLoading || isError,
631
641
  styles: (theme) => ({
632
642
  input: rest.readOnly ? {
@@ -642,7 +652,7 @@ function MySelect(_a) {
642
652
 
643
653
  // src/core/input/MySelectFromAPI.tsx
644
654
  import { useCallback, useEffect as useEffect3, useMemo as useMemo2, useRef } from "react";
645
- import { jsx as jsx12 } from "react/jsx-runtime";
655
+ import { jsx as jsx13 } from "react/jsx-runtime";
646
656
  function MySelectFromAPI(_a) {
647
657
  var _b = _a, {
648
658
  queryKey,
@@ -706,7 +716,7 @@ function MySelectFromAPI(_a) {
706
716
  hasAutoSelected.current = true;
707
717
  }
708
718
  }, [autoSelectFirstItem, query.data, value, getLabel, onChange, setObjectData]);
709
- return /* @__PURE__ */ jsx12(
719
+ return /* @__PURE__ */ jsx13(
710
720
  MySelect,
711
721
  __spreadValues({
712
722
  isLoading: query.isLoading,
@@ -720,10 +730,10 @@ function MySelectFromAPI(_a) {
720
730
 
721
731
  // src/core/input/MyTextInput.tsx
722
732
  import { TextInput } from "@mantine/core";
723
- import { jsx as jsx13 } from "react/jsx-runtime";
733
+ import { jsx as jsx14 } from "react/jsx-runtime";
724
734
  function MyTextInput(_a) {
725
735
  var _b = _a, { label, isPhoneNumber } = _b, rest = __objRest(_b, ["label", "isPhoneNumber"]);
726
- return /* @__PURE__ */ jsx13(
736
+ return /* @__PURE__ */ jsx14(
727
737
  TextInput,
728
738
  __spreadValues({
729
739
  onKeyDown: (e) => {
@@ -764,15 +774,15 @@ import {
764
774
  Button as Button5,
765
775
  Center,
766
776
  Divider,
767
- Group as Group3,
777
+ Group as Group4,
768
778
  NumberInput,
769
- Paper,
779
+ Paper as Paper2,
770
780
  ScrollArea as ScrollArea3,
771
- Text as Text3
781
+ Text as Text4
772
782
  } from "@mantine/core";
773
783
  import { IconPlus as IconPlus4, IconTrash as IconTrash3 } from "@tabler/icons-react";
774
784
  import { useState } from "react";
775
- import { jsx as jsx14, jsxs as jsxs6 } from "react/jsx-runtime";
785
+ import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
776
786
  function MyWeeklySessionSchedulerPicker({
777
787
  value = [],
778
788
  onChange
@@ -803,8 +813,8 @@ function MyWeeklySessionSchedulerPicker({
803
813
  return acc;
804
814
  }, {});
805
815
  const getLabel = (day) => enum_daysOfWeek[day] || `Day ${day}`;
806
- return /* @__PURE__ */ jsx14(Paper, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs6(MyFlexColumn, { children: [
807
- /* @__PURE__ */ jsx14(Center, { children: /* @__PURE__ */ jsx14(
816
+ return /* @__PURE__ */ jsx15(Paper2, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs7(MyFlexColumn, { children: [
817
+ /* @__PURE__ */ jsx15(Center, { children: /* @__PURE__ */ jsx15(
808
818
  MyDayOfWeekPicker,
809
819
  {
810
820
  value: selectedDays,
@@ -814,41 +824,41 @@ function MyWeeklySessionSchedulerPicker({
814
824
  }
815
825
  }
816
826
  ) }),
817
- /* @__PURE__ */ jsx14(Divider, { my: "xs" }),
818
- /* @__PURE__ */ jsx14(Center, { children: /* @__PURE__ */ jsx14(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx14(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
827
+ /* @__PURE__ */ jsx15(Divider, { my: "xs" }),
828
+ /* @__PURE__ */ jsx15(Center, { children: /* @__PURE__ */ jsx15(ScrollArea3.Autosize, { h: "40vh", children: /* @__PURE__ */ jsx15(MyFlexColumn, { w: { base: "100%", sm: "70%" }, children: selectedDays.map((dayOfWeek) => {
819
829
  var _a;
820
- return /* @__PURE__ */ jsxs6(
821
- Paper,
830
+ return /* @__PURE__ */ jsxs7(
831
+ Paper2,
822
832
  {
823
833
  w: "100%",
824
834
  p: "md",
825
835
  bg: const_object_colors.mantineBackgroundBlueLight,
826
836
  children: [
827
- /* @__PURE__ */ jsxs6(Group3, { gap: "apart", children: [
828
- /* @__PURE__ */ jsx14(Text3, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
829
- /* @__PURE__ */ jsx14(
837
+ /* @__PURE__ */ jsxs7(Group4, { gap: "apart", children: [
838
+ /* @__PURE__ */ jsx15(Text4, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
839
+ /* @__PURE__ */ jsx15(
830
840
  Button5,
831
841
  {
832
842
  color: "teal.5",
833
- leftSection: /* @__PURE__ */ jsx14(IconPlus4, { size: 14 }),
843
+ leftSection: /* @__PURE__ */ jsx15(IconPlus4, { size: 14 }),
834
844
  onClick: () => handleAddSession(dayOfWeek),
835
845
  children: "Th\xEAm bu\u1ED5i"
836
846
  }
837
847
  )
838
848
  ] }),
839
- /* @__PURE__ */ jsx14(Divider, { my: "sm" }),
849
+ /* @__PURE__ */ jsx15(Divider, { my: "sm" }),
840
850
  (_a = grouped[dayOfWeek]) == null ? void 0 : _a.map((item, indexInDay) => {
841
851
  const globalIndex = value.findIndex(
842
852
  (v) => v === item
843
853
  );
844
- return /* @__PURE__ */ jsxs6(
845
- Group3,
854
+ return /* @__PURE__ */ jsxs7(
855
+ Group4,
846
856
  {
847
857
  mt: "xs",
848
858
  gap: "xs",
849
859
  align: "flex-end",
850
860
  children: [
851
- /* @__PURE__ */ jsx14(
861
+ /* @__PURE__ */ jsx15(
852
862
  NumberInput,
853
863
  {
854
864
  label: "Ti\u1EBFt b\u1EAFt \u0111\u1EA7u",
@@ -860,7 +870,7 @@ function MyWeeklySessionSchedulerPicker({
860
870
  )
861
871
  }
862
872
  ),
863
- /* @__PURE__ */ jsx14(
873
+ /* @__PURE__ */ jsx15(
864
874
  NumberInput,
865
875
  {
866
876
  label: "S\u1ED1 ti\u1EBFt",
@@ -872,7 +882,7 @@ function MyWeeklySessionSchedulerPicker({
872
882
  )
873
883
  }
874
884
  ),
875
- /* @__PURE__ */ jsx14(
885
+ /* @__PURE__ */ jsx15(
876
886
  NumberInput,
877
887
  {
878
888
  label: "S\u1ED1 ph\xFAt ",
@@ -881,13 +891,13 @@ function MyWeeklySessionSchedulerPicker({
881
891
  value: item.durationMinutes
882
892
  }
883
893
  ),
884
- /* @__PURE__ */ jsx14(
894
+ /* @__PURE__ */ jsx15(
885
895
  Button5,
886
896
  {
887
897
  variant: "light",
888
898
  color: "red",
889
899
  onClick: () => handleRemove(globalIndex),
890
- leftSection: /* @__PURE__ */ jsx14(IconTrash3, { size: 14 }),
900
+ leftSection: /* @__PURE__ */ jsx15(IconTrash3, { size: 14 }),
891
901
  children: "X\xF3a bu\u1ED5i"
892
902
  }
893
903
  )
@@ -911,6 +921,7 @@ export {
911
921
  MyButtonCreateUpdate,
912
922
  MyButtonModal,
913
923
  MyDataTableSelectOne,
924
+ MyInfoBox,
914
925
  MyLabelValueRow,
915
926
  MyStatsCard,
916
927
  MyDayOfWeekPicker,
@@ -56,6 +56,15 @@ declare function MyDataTableSelectOne<TData extends MRT_RowData>({ columns, quer
56
56
  setIdSelection: (id: string | number | undefined) => void;
57
57
  }): react_jsx_runtime.JSX.Element;
58
58
 
59
+ interface MyInfoBoxItem {
60
+ label: string;
61
+ value: React.ReactNode;
62
+ }
63
+ interface MyInfoBoxProps {
64
+ data: MyInfoBoxItem[];
65
+ }
66
+ declare function MyInfoBox({ data }: MyInfoBoxProps): react_jsx_runtime.JSX.Element;
67
+
59
68
  interface LabelValueRowProps {
60
69
  label?: ReactNode;
61
70
  value?: ReactNode;
@@ -140,4 +149,4 @@ interface IMyFlexColumn extends FlexProps {
140
149
  }
141
150
  declare function MyFlexColumn({ children, ...rest }: IMyFlexColumn): react_jsx_runtime.JSX.Element;
142
151
 
143
- export { type IWeeklySession, MyActionIcon, MyButton, MyButtonCreateUpdate, MyButtonModal, MyDataTableSelectOne, MyDayOfWeekPicker, MyFlexColumn, MyLabelValueRow, MyRichTextEditor, MySelect, MySelectFromAPI, type MySelectProps, MyStatsCard, MyTextInput, MyWeeklySessionSchedulerPicker, type WeeklySessionSchedulerProps };
152
+ export { type IWeeklySession, MyActionIcon, MyButton, MyButtonCreateUpdate, MyButtonModal, MyDataTableSelectOne, MyDayOfWeekPicker, MyFlexColumn, MyInfoBox, type MyInfoBoxItem, type MyInfoBoxProps, MyLabelValueRow, MyRichTextEditor, MySelect, MySelectFromAPI, type MySelectProps, MyStatsCard, MyTextInput, MyWeeklySessionSchedulerPicker, type WeeklySessionSchedulerProps };
@@ -6,6 +6,7 @@ import {
6
6
  MyDataTableSelectOne,
7
7
  MyDayOfWeekPicker,
8
8
  MyFlexColumn,
9
+ MyInfoBox,
9
10
  MyLabelValueRow,
10
11
  MyRichTextEditor,
11
12
  MySelect,
@@ -13,9 +14,9 @@ import {
13
14
  MyStatsCard,
14
15
  MyTextInput,
15
16
  MyWeeklySessionSchedulerPicker
16
- } from "../chunk-QK34DK3N.mjs";
17
- import "../chunk-RZBHPPQT.mjs";
17
+ } from "../chunk-UVALKU2I.mjs";
18
18
  import "../chunk-GFEMKKFH.mjs";
19
+ import "../chunk-RZBHPPQT.mjs";
19
20
  import "../chunk-OMJJAHOC.mjs";
20
21
  import "../chunk-K6S7R6LU.mjs";
21
22
  import "../chunk-PRN7KYPD.mjs";
@@ -29,6 +30,7 @@ export {
29
30
  MyDataTableSelectOne,
30
31
  MyDayOfWeekPicker,
31
32
  MyFlexColumn,
33
+ MyInfoBox,
32
34
  MyLabelValueRow,
33
35
  MyRichTextEditor,
34
36
  MySelect,
@@ -42,15 +42,15 @@ import {
42
42
  MyButton as MyButton2,
43
43
  MyDataTableSelectOne,
44
44
  MyTextInput as MyTextInput2
45
- } from "../chunk-QK34DK3N.mjs";
45
+ } from "../chunk-UVALKU2I.mjs";
46
+ import {
47
+ const_object_documentTypes
48
+ } from "../chunk-GFEMKKFH.mjs";
46
49
  import {
47
50
  MyDataTable,
48
51
  MyFlexColumn,
49
52
  MyFlexRow
50
53
  } from "../chunk-RZBHPPQT.mjs";
51
- import {
52
- const_object_documentTypes
53
- } from "../chunk-GFEMKKFH.mjs";
54
54
  import {
55
55
  const_object_colors
56
56
  } from "../chunk-OMJJAHOC.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.436",
45
+ "version": "0.1.437",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"