aq-fe-framework 0.1.435 → 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.
@@ -3,12 +3,12 @@ import {
|
|
3
3
|
MyFlexColumn,
|
4
4
|
MyFlexRow
|
5
5
|
} from "./chunk-RZBHPPQT.mjs";
|
6
|
-
import {
|
7
|
-
enum_daysOfWeek
|
8
|
-
} from "./chunk-K6S7R6LU.mjs";
|
9
6
|
import {
|
10
7
|
const_object_colors
|
11
8
|
} from "./chunk-OMJJAHOC.mjs";
|
9
|
+
import {
|
10
|
+
enum_daysOfWeek
|
11
|
+
} from "./chunk-K6S7R6LU.mjs";
|
12
12
|
import {
|
13
13
|
useMyReactMutation,
|
14
14
|
useMyReactQuery
|
@@ -380,9 +380,19 @@ function MyDataTableSelectOne({
|
|
380
380
|
);
|
381
381
|
}
|
382
382
|
|
383
|
-
// src/core/dataDisplay/
|
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__ */
|
394
|
-
/* @__PURE__ */
|
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__ */
|
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
|
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__ */
|
414
|
-
/* @__PURE__ */
|
415
|
-
/* @__PURE__ */
|
416
|
-
/* @__PURE__ */
|
417
|
-
/* @__PURE__ */
|
418
|
-
/* @__PURE__ */
|
419
|
-
/* @__PURE__ */
|
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__ */
|
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
|
428
|
-
import { jsx as
|
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__ */
|
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
|
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__ */
|
549
|
-
/* @__PURE__ */
|
550
|
-
/* @__PURE__ */
|
551
|
-
/* @__PURE__ */
|
552
|
-
/* @__PURE__ */
|
553
|
-
/* @__PURE__ */
|
554
|
-
/* @__PURE__ */
|
555
|
-
/* @__PURE__ */
|
556
|
-
/* @__PURE__ */
|
557
|
-
/* @__PURE__ */
|
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__ */
|
560
|
-
/* @__PURE__ */
|
561
|
-
/* @__PURE__ */
|
562
|
-
/* @__PURE__ */
|
563
|
-
/* @__PURE__ */
|
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__ */
|
566
|
-
/* @__PURE__ */
|
567
|
-
/* @__PURE__ */
|
568
|
-
/* @__PURE__ */
|
569
|
-
/* @__PURE__ */
|
570
|
-
/* @__PURE__ */
|
571
|
-
/* @__PURE__ */
|
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__ */
|
574
|
-
/* @__PURE__ */
|
575
|
-
/* @__PURE__ */
|
583
|
+
/* @__PURE__ */ jsxs6(MantineRichTextEditor.ControlsGroup, { children: [
|
584
|
+
/* @__PURE__ */ jsx11(MantineRichTextEditor.Link, {}),
|
585
|
+
/* @__PURE__ */ jsx11(MantineRichTextEditor.Unlink, {})
|
576
586
|
] }),
|
577
|
-
/* @__PURE__ */
|
578
|
-
/* @__PURE__ */
|
579
|
-
/* @__PURE__ */
|
580
|
-
/* @__PURE__ */
|
581
|
-
/* @__PURE__ */
|
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__ */
|
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__ */
|
604
|
+
children: /* @__PURE__ */ jsx11(RichTextEditor.Content, __spreadValues({ mih: "200" }, props.richTextEditorContentProps))
|
595
605
|
})
|
596
606
|
)
|
597
607
|
] })) }));
|
@@ -599,7 +609,14 @@ function MyRichTextEditor(props) {
|
|
599
609
|
|
600
610
|
// src/core/input/MySelect.tsx
|
601
611
|
import { Loader, Select } from "@mantine/core";
|
602
|
-
import
|
612
|
+
import React from "react";
|
613
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
614
|
+
function extractTextFromReactNode(node) {
|
615
|
+
if (typeof node === "string" || typeof node === "number") return String(node);
|
616
|
+
if (Array.isArray(node)) return node.map(extractTextFromReactNode).join(" ");
|
617
|
+
if (React.isValidElement(node)) return extractTextFromReactNode(node.props.children);
|
618
|
+
return "";
|
619
|
+
}
|
603
620
|
function MySelect(_a) {
|
604
621
|
var _b = _a, { label, data, isLoading, isError } = _b, rest = __objRest(_b, ["label", "data", "isLoading", "isError"]);
|
605
622
|
let placeholder = "";
|
@@ -608,9 +625,10 @@ function MySelect(_a) {
|
|
608
625
|
} else if (isLoading) {
|
609
626
|
placeholder = "\u0110ang t\u1EA3i...";
|
610
627
|
} else if (label) {
|
611
|
-
|
628
|
+
const plainTextLabel = extractTextFromReactNode(label).toLowerCase();
|
629
|
+
placeholder = `Ch\u1ECDn ${plainTextLabel}`;
|
612
630
|
}
|
613
|
-
return /* @__PURE__ */
|
631
|
+
return /* @__PURE__ */ jsx12(
|
614
632
|
Select,
|
615
633
|
__spreadValues({
|
616
634
|
searchable: true,
|
@@ -618,7 +636,7 @@ function MySelect(_a) {
|
|
618
636
|
placeholder,
|
619
637
|
data: data != null ? data : [],
|
620
638
|
error: isError ? true : void 0,
|
621
|
-
rightSection: isLoading ? /* @__PURE__ */
|
639
|
+
rightSection: isLoading ? /* @__PURE__ */ jsx12(Loader, { size: "xs" }) : void 0,
|
622
640
|
disabled: isLoading || isError,
|
623
641
|
styles: (theme) => ({
|
624
642
|
input: rest.readOnly ? {
|
@@ -634,7 +652,7 @@ function MySelect(_a) {
|
|
634
652
|
|
635
653
|
// src/core/input/MySelectFromAPI.tsx
|
636
654
|
import { useCallback, useEffect as useEffect3, useMemo as useMemo2, useRef } from "react";
|
637
|
-
import { jsx as
|
655
|
+
import { jsx as jsx13 } from "react/jsx-runtime";
|
638
656
|
function MySelectFromAPI(_a) {
|
639
657
|
var _b = _a, {
|
640
658
|
queryKey,
|
@@ -698,7 +716,7 @@ function MySelectFromAPI(_a) {
|
|
698
716
|
hasAutoSelected.current = true;
|
699
717
|
}
|
700
718
|
}, [autoSelectFirstItem, query.data, value, getLabel, onChange, setObjectData]);
|
701
|
-
return /* @__PURE__ */
|
719
|
+
return /* @__PURE__ */ jsx13(
|
702
720
|
MySelect,
|
703
721
|
__spreadValues({
|
704
722
|
isLoading: query.isLoading,
|
@@ -712,10 +730,10 @@ function MySelectFromAPI(_a) {
|
|
712
730
|
|
713
731
|
// src/core/input/MyTextInput.tsx
|
714
732
|
import { TextInput } from "@mantine/core";
|
715
|
-
import { jsx as
|
733
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
716
734
|
function MyTextInput(_a) {
|
717
735
|
var _b = _a, { label, isPhoneNumber } = _b, rest = __objRest(_b, ["label", "isPhoneNumber"]);
|
718
|
-
return /* @__PURE__ */
|
736
|
+
return /* @__PURE__ */ jsx14(
|
719
737
|
TextInput,
|
720
738
|
__spreadValues({
|
721
739
|
onKeyDown: (e) => {
|
@@ -756,15 +774,15 @@ import {
|
|
756
774
|
Button as Button5,
|
757
775
|
Center,
|
758
776
|
Divider,
|
759
|
-
Group as
|
777
|
+
Group as Group4,
|
760
778
|
NumberInput,
|
761
|
-
Paper,
|
779
|
+
Paper as Paper2,
|
762
780
|
ScrollArea as ScrollArea3,
|
763
|
-
Text as
|
781
|
+
Text as Text4
|
764
782
|
} from "@mantine/core";
|
765
783
|
import { IconPlus as IconPlus4, IconTrash as IconTrash3 } from "@tabler/icons-react";
|
766
784
|
import { useState } from "react";
|
767
|
-
import { jsx as
|
785
|
+
import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
|
768
786
|
function MyWeeklySessionSchedulerPicker({
|
769
787
|
value = [],
|
770
788
|
onChange
|
@@ -795,8 +813,8 @@ function MyWeeklySessionSchedulerPicker({
|
|
795
813
|
return acc;
|
796
814
|
}, {});
|
797
815
|
const getLabel = (day) => enum_daysOfWeek[day] || `Day ${day}`;
|
798
|
-
return /* @__PURE__ */
|
799
|
-
/* @__PURE__ */
|
816
|
+
return /* @__PURE__ */ jsx15(Paper2, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs7(MyFlexColumn, { children: [
|
817
|
+
/* @__PURE__ */ jsx15(Center, { children: /* @__PURE__ */ jsx15(
|
800
818
|
MyDayOfWeekPicker,
|
801
819
|
{
|
802
820
|
value: selectedDays,
|
@@ -806,41 +824,41 @@ function MyWeeklySessionSchedulerPicker({
|
|
806
824
|
}
|
807
825
|
}
|
808
826
|
) }),
|
809
|
-
/* @__PURE__ */
|
810
|
-
/* @__PURE__ */
|
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) => {
|
811
829
|
var _a;
|
812
|
-
return /* @__PURE__ */
|
813
|
-
|
830
|
+
return /* @__PURE__ */ jsxs7(
|
831
|
+
Paper2,
|
814
832
|
{
|
815
833
|
w: "100%",
|
816
834
|
p: "md",
|
817
835
|
bg: const_object_colors.mantineBackgroundBlueLight,
|
818
836
|
children: [
|
819
|
-
/* @__PURE__ */
|
820
|
-
/* @__PURE__ */
|
821
|
-
/* @__PURE__ */
|
837
|
+
/* @__PURE__ */ jsxs7(Group4, { gap: "apart", children: [
|
838
|
+
/* @__PURE__ */ jsx15(Text4, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
|
839
|
+
/* @__PURE__ */ jsx15(
|
822
840
|
Button5,
|
823
841
|
{
|
824
842
|
color: "teal.5",
|
825
|
-
leftSection: /* @__PURE__ */
|
843
|
+
leftSection: /* @__PURE__ */ jsx15(IconPlus4, { size: 14 }),
|
826
844
|
onClick: () => handleAddSession(dayOfWeek),
|
827
845
|
children: "Th\xEAm bu\u1ED5i"
|
828
846
|
}
|
829
847
|
)
|
830
848
|
] }),
|
831
|
-
/* @__PURE__ */
|
849
|
+
/* @__PURE__ */ jsx15(Divider, { my: "sm" }),
|
832
850
|
(_a = grouped[dayOfWeek]) == null ? void 0 : _a.map((item, indexInDay) => {
|
833
851
|
const globalIndex = value.findIndex(
|
834
852
|
(v) => v === item
|
835
853
|
);
|
836
|
-
return /* @__PURE__ */
|
837
|
-
|
854
|
+
return /* @__PURE__ */ jsxs7(
|
855
|
+
Group4,
|
838
856
|
{
|
839
857
|
mt: "xs",
|
840
858
|
gap: "xs",
|
841
859
|
align: "flex-end",
|
842
860
|
children: [
|
843
|
-
/* @__PURE__ */
|
861
|
+
/* @__PURE__ */ jsx15(
|
844
862
|
NumberInput,
|
845
863
|
{
|
846
864
|
label: "Ti\u1EBFt b\u1EAFt \u0111\u1EA7u",
|
@@ -852,7 +870,7 @@ function MyWeeklySessionSchedulerPicker({
|
|
852
870
|
)
|
853
871
|
}
|
854
872
|
),
|
855
|
-
/* @__PURE__ */
|
873
|
+
/* @__PURE__ */ jsx15(
|
856
874
|
NumberInput,
|
857
875
|
{
|
858
876
|
label: "S\u1ED1 ti\u1EBFt",
|
@@ -864,7 +882,7 @@ function MyWeeklySessionSchedulerPicker({
|
|
864
882
|
)
|
865
883
|
}
|
866
884
|
),
|
867
|
-
/* @__PURE__ */
|
885
|
+
/* @__PURE__ */ jsx15(
|
868
886
|
NumberInput,
|
869
887
|
{
|
870
888
|
label: "S\u1ED1 ph\xFAt ",
|
@@ -873,13 +891,13 @@ function MyWeeklySessionSchedulerPicker({
|
|
873
891
|
value: item.durationMinutes
|
874
892
|
}
|
875
893
|
),
|
876
|
-
/* @__PURE__ */
|
894
|
+
/* @__PURE__ */ jsx15(
|
877
895
|
Button5,
|
878
896
|
{
|
879
897
|
variant: "light",
|
880
898
|
color: "red",
|
881
899
|
onClick: () => handleRemove(globalIndex),
|
882
|
-
leftSection: /* @__PURE__ */
|
900
|
+
leftSection: /* @__PURE__ */ jsx15(IconTrash3, { size: 14 }),
|
883
901
|
children: "X\xF3a bu\u1ED5i"
|
884
902
|
}
|
885
903
|
)
|
@@ -903,6 +921,7 @@ export {
|
|
903
921
|
MyButtonCreateUpdate,
|
904
922
|
MyButtonModal,
|
905
923
|
MyDataTableSelectOne,
|
924
|
+
MyInfoBox,
|
906
925
|
MyLabelValueRow,
|
907
926
|
MyStatsCard,
|
908
927
|
MyDayOfWeekPicker,
|
package/dist/core/index.d.mts
CHANGED
@@ -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 };
|
package/dist/core/index.mjs
CHANGED
@@ -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,11 +14,11 @@ import {
|
|
13
14
|
MyStatsCard,
|
14
15
|
MyTextInput,
|
15
16
|
MyWeeklySessionSchedulerPicker
|
16
|
-
} from "../chunk-
|
17
|
-
import "../chunk-RZBHPPQT.mjs";
|
18
|
-
import "../chunk-K6S7R6LU.mjs";
|
17
|
+
} from "../chunk-UVALKU2I.mjs";
|
19
18
|
import "../chunk-GFEMKKFH.mjs";
|
19
|
+
import "../chunk-RZBHPPQT.mjs";
|
20
20
|
import "../chunk-OMJJAHOC.mjs";
|
21
|
+
import "../chunk-K6S7R6LU.mjs";
|
21
22
|
import "../chunk-PRN7KYPD.mjs";
|
22
23
|
import "../chunk-7ZCOFATU.mjs";
|
23
24
|
import "../chunk-FWCSY2DS.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,22 +42,22 @@ import {
|
|
42
42
|
MyButton as MyButton2,
|
43
43
|
MyDataTableSelectOne,
|
44
44
|
MyTextInput as MyTextInput2
|
45
|
-
} from "../chunk-
|
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";
|
54
|
+
import {
|
55
|
+
const_object_colors
|
56
|
+
} from "../chunk-OMJJAHOC.mjs";
|
51
57
|
import {
|
52
58
|
enum_emailConfigModule
|
53
59
|
} from "../chunk-VH4ZAD6M.mjs";
|
54
60
|
import "../chunk-K6S7R6LU.mjs";
|
55
|
-
import {
|
56
|
-
const_object_documentTypes
|
57
|
-
} from "../chunk-GFEMKKFH.mjs";
|
58
|
-
import {
|
59
|
-
const_object_colors
|
60
|
-
} from "../chunk-OMJJAHOC.mjs";
|
61
61
|
import {
|
62
62
|
baseAxios_default,
|
63
63
|
createBaseApi,
|