aq-fe-framework 0.1.483 → 0.1.485
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-R43BUIMD.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
|
@@ -451,69 +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
|
-
rgba,
|
459
|
-
Stack as Stack2,
|
460
|
-
Text as Text4,
|
461
|
-
useMantineTheme
|
462
|
-
} from "@mantine/core";
|
463
|
-
import { jsx as jsx14, jsxs as jsxs7 } from "react/jsx-runtime";
|
464
|
-
function MyPaperTag(_a) {
|
465
|
-
var _b = _a, {
|
466
|
-
bg = "blue",
|
467
|
-
children,
|
468
|
-
badgeProps,
|
469
|
-
labelProps,
|
470
|
-
label
|
471
|
-
} = _b, rest = __objRest(_b, [
|
472
|
-
"bg",
|
473
|
-
"children",
|
474
|
-
"badgeProps",
|
475
|
-
"labelProps",
|
476
|
-
"label"
|
477
|
-
]);
|
478
|
-
var _a2, _b2, _c, _d;
|
479
|
-
const theme = useMantineTheme();
|
480
|
-
const bgColor = ((_a2 = theme.colors[bg]) == null ? void 0 : _a2[0]) || rgba(bg, 0.05);
|
481
|
-
const borderColor = ((_b2 = theme.colors[bg]) == null ? void 0 : _b2[2]) || rgba(bg, 0.2);
|
482
|
-
const badgeColor = (_c = theme.colors[bg]) == null ? void 0 : _c[8];
|
483
|
-
return /* @__PURE__ */ jsxs7(Stack2, { gap: 5, children: [
|
484
|
-
/* @__PURE__ */ jsx14(Text4, __spreadProps(__spreadValues({ fw: "500", size: "sm" }, labelProps), { children: label })),
|
485
|
-
/* @__PURE__ */ jsx14(
|
486
|
-
Paper2,
|
487
|
-
__spreadProps(__spreadValues({
|
488
|
-
w: "100%",
|
489
|
-
p: "xs",
|
490
|
-
style: {
|
491
|
-
backgroundColor: bgColor,
|
492
|
-
border: `1px solid ${borderColor}`,
|
493
|
-
display: "inline-block"
|
494
|
-
}
|
495
|
-
}, rest), {
|
496
|
-
children: /* @__PURE__ */ jsx14(
|
497
|
-
Badge,
|
498
|
-
__spreadProps(__spreadValues({
|
499
|
-
variant: "light",
|
500
|
-
color: badgeColor,
|
501
|
-
radius: "xl",
|
502
|
-
size: "md",
|
503
|
-
fw: "bold",
|
504
|
-
style: { fontWeight: 500, backgroundColor: (_d = theme.colors[bg]) == null ? void 0 : _d[1] }
|
505
|
-
}, badgeProps), {
|
506
|
-
children
|
507
|
-
})
|
508
|
-
)
|
509
|
-
})
|
510
|
-
)
|
511
|
-
] });
|
512
|
-
}
|
513
|
-
|
514
454
|
// src/core/dataDisplay/MyStatsCartd.tsx
|
515
455
|
import { Box, Card, ThemeIcon } from "@mantine/core";
|
516
|
-
import { jsx as
|
456
|
+
import { jsx as jsx14, jsxs as jsxs7 } from "react/jsx-runtime";
|
517
457
|
function MyStatsCard({
|
518
458
|
title,
|
519
459
|
value,
|
@@ -522,22 +462,22 @@ function MyStatsCard({
|
|
522
462
|
color,
|
523
463
|
themeIconProps
|
524
464
|
}) {
|
525
|
-
return /* @__PURE__ */
|
526
|
-
/* @__PURE__ */
|
527
|
-
/* @__PURE__ */
|
528
|
-
/* @__PURE__ */
|
529
|
-
/* @__PURE__ */
|
530
|
-
/* @__PURE__ */
|
531
|
-
/* @__PURE__ */
|
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 })
|
532
472
|
] }),
|
533
|
-
/* @__PURE__ */
|
473
|
+
/* @__PURE__ */ jsx14(ThemeIcon, __spreadProps(__spreadValues({ size: "xl", radius: "xl" }, themeIconProps), { children: icon }))
|
534
474
|
] }) })
|
535
475
|
] });
|
536
476
|
}
|
537
477
|
|
538
478
|
// src/core/input/MyDayOfWeekPicker.tsx
|
539
|
-
import { Badge
|
540
|
-
import { jsx as
|
479
|
+
import { Badge, Group as Group3 } from "@mantine/core";
|
480
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
541
481
|
var days = Object.entries(enum_daysOfWeek).filter(([key]) => isNaN(Number(key))).map(([label, value]) => ({ label, value }));
|
542
482
|
function MyDayOfWeekPicker({ value = [], onChange }) {
|
543
483
|
const toggle = (val) => {
|
@@ -545,8 +485,8 @@ function MyDayOfWeekPicker({ value = [], onChange }) {
|
|
545
485
|
const newValue = value.includes(val) ? value.filter((v) => v !== val) : [...value, val].sort((a, b) => a - b);
|
546
486
|
onChange(newValue);
|
547
487
|
};
|
548
|
-
return /* @__PURE__ */
|
549
|
-
|
488
|
+
return /* @__PURE__ */ jsx15(MyFlexRow, { align: "center", children: /* @__PURE__ */ jsx15(Group3, { gap: "xs", children: days.map((d) => /* @__PURE__ */ jsx15(
|
489
|
+
Badge,
|
550
490
|
{
|
551
491
|
variant: value.includes(d.value) ? "filled" : "outline",
|
552
492
|
color: "blue",
|
@@ -573,7 +513,7 @@ import Underline from "@tiptap/extension-underline";
|
|
573
513
|
import { useEditor } from "@tiptap/react";
|
574
514
|
import StarterKit from "@tiptap/starter-kit";
|
575
515
|
import { useEffect as useEffect2 } from "react";
|
576
|
-
import { jsx as
|
516
|
+
import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
|
577
517
|
function MyRichTextEditor(props) {
|
578
518
|
const editor = useEditor({
|
579
519
|
extensions: [
|
@@ -657,44 +597,44 @@ function MyRichTextEditor(props) {
|
|
657
597
|
editor.commands.setContent(props.value || "", false);
|
658
598
|
}
|
659
599
|
}, [props.value, editor]);
|
660
|
-
return /* @__PURE__ */
|
661
|
-
/* @__PURE__ */
|
662
|
-
/* @__PURE__ */
|
663
|
-
/* @__PURE__ */
|
664
|
-
/* @__PURE__ */
|
665
|
-
/* @__PURE__ */
|
666
|
-
/* @__PURE__ */
|
667
|
-
/* @__PURE__ */
|
668
|
-
/* @__PURE__ */
|
669
|
-
/* @__PURE__ */
|
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, {})
|
670
610
|
] }),
|
671
|
-
/* @__PURE__ */
|
672
|
-
/* @__PURE__ */
|
673
|
-
/* @__PURE__ */
|
674
|
-
/* @__PURE__ */
|
675
|
-
/* @__PURE__ */
|
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, {})
|
676
616
|
] }),
|
677
|
-
/* @__PURE__ */
|
678
|
-
/* @__PURE__ */
|
679
|
-
/* @__PURE__ */
|
680
|
-
/* @__PURE__ */
|
681
|
-
/* @__PURE__ */
|
682
|
-
/* @__PURE__ */
|
683
|
-
/* @__PURE__ */
|
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, {})
|
684
624
|
] }),
|
685
|
-
/* @__PURE__ */
|
686
|
-
/* @__PURE__ */
|
687
|
-
/* @__PURE__ */
|
625
|
+
/* @__PURE__ */ jsxs8(MantineRichTextEditor.ControlsGroup, { children: [
|
626
|
+
/* @__PURE__ */ jsx16(MantineRichTextEditor.Link, {}),
|
627
|
+
/* @__PURE__ */ jsx16(MantineRichTextEditor.Unlink, {})
|
688
628
|
] }),
|
689
|
-
/* @__PURE__ */
|
690
|
-
/* @__PURE__ */
|
691
|
-
/* @__PURE__ */
|
692
|
-
/* @__PURE__ */
|
693
|
-
/* @__PURE__ */
|
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, {})
|
694
634
|
] }),
|
695
635
|
props.extraControlsGroup
|
696
636
|
] })),
|
697
|
-
/* @__PURE__ */
|
637
|
+
/* @__PURE__ */ jsx16(
|
698
638
|
ScrollArea2.Autosize,
|
699
639
|
__spreadProps(__spreadValues({
|
700
640
|
onMouseDown: () => {
|
@@ -703,7 +643,7 @@ function MyRichTextEditor(props) {
|
|
703
643
|
mah: "200",
|
704
644
|
style: { cursor: "text" }
|
705
645
|
}, props.scrollAreaAutosizeProps), {
|
706
|
-
children: /* @__PURE__ */
|
646
|
+
children: /* @__PURE__ */ jsx16(RichTextEditor.Content, __spreadValues({ mih: "200" }, props.richTextEditorContentProps))
|
707
647
|
})
|
708
648
|
)
|
709
649
|
] })) }));
|
@@ -712,7 +652,7 @@ function MyRichTextEditor(props) {
|
|
712
652
|
// src/core/input/MySelect.tsx
|
713
653
|
import { Loader, Select } from "@mantine/core";
|
714
654
|
import React from "react";
|
715
|
-
import { jsx as
|
655
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
716
656
|
function extractTextFromReactNode(node) {
|
717
657
|
if (typeof node === "string" || typeof node === "number") return String(node);
|
718
658
|
if (Array.isArray(node)) return node.map(extractTextFromReactNode).join(" ");
|
@@ -730,7 +670,7 @@ function MySelect(_a) {
|
|
730
670
|
const plainTextLabel = extractTextFromReactNode(label).toLowerCase().trim();
|
731
671
|
placeholder = `Ch\u1ECDn ${plainTextLabel}`;
|
732
672
|
}
|
733
|
-
return /* @__PURE__ */
|
673
|
+
return /* @__PURE__ */ jsx17(
|
734
674
|
Select,
|
735
675
|
__spreadValues({
|
736
676
|
searchable: true,
|
@@ -738,7 +678,7 @@ function MySelect(_a) {
|
|
738
678
|
placeholder,
|
739
679
|
data: data != null ? data : [],
|
740
680
|
error: isError ? true : void 0,
|
741
|
-
rightSection: isLoading ? /* @__PURE__ */
|
681
|
+
rightSection: isLoading ? /* @__PURE__ */ jsx17(Loader, { size: "xs" }) : void 0,
|
742
682
|
disabled: isLoading || isError,
|
743
683
|
styles: (theme) => ({
|
744
684
|
input: rest.readOnly ? {
|
@@ -754,7 +694,7 @@ function MySelect(_a) {
|
|
754
694
|
|
755
695
|
// src/core/input/MySelectFromAPI.tsx
|
756
696
|
import { useCallback, useEffect as useEffect3, useMemo as useMemo3, useRef } from "react";
|
757
|
-
import { jsx as
|
697
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
758
698
|
function MySelectFromAPI(_a) {
|
759
699
|
var _b = _a, {
|
760
700
|
queryKey,
|
@@ -818,7 +758,7 @@ function MySelectFromAPI(_a) {
|
|
818
758
|
hasAutoSelected.current = true;
|
819
759
|
}
|
820
760
|
}, [autoSelectFirstItem, query.data, value, getLabel, onChange, setObjectData]);
|
821
|
-
return /* @__PURE__ */
|
761
|
+
return /* @__PURE__ */ jsx18(
|
822
762
|
MySelect,
|
823
763
|
__spreadValues({
|
824
764
|
isLoading: query.isLoading,
|
@@ -832,10 +772,10 @@ function MySelectFromAPI(_a) {
|
|
832
772
|
|
833
773
|
// src/core/input/MyTextInput.tsx
|
834
774
|
import { TextInput } from "@mantine/core";
|
835
|
-
import { jsx as
|
775
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
836
776
|
function MyTextInput(_a) {
|
837
777
|
var _b = _a, { label, isPhoneNumber } = _b, rest = __objRest(_b, ["label", "isPhoneNumber"]);
|
838
|
-
return /* @__PURE__ */
|
778
|
+
return /* @__PURE__ */ jsx19(
|
839
779
|
TextInput,
|
840
780
|
__spreadValues({
|
841
781
|
onKeyDown: (e) => {
|
@@ -878,13 +818,13 @@ import {
|
|
878
818
|
Divider,
|
879
819
|
Group as Group4,
|
880
820
|
NumberInput,
|
881
|
-
Paper as
|
821
|
+
Paper as Paper2,
|
882
822
|
ScrollArea as ScrollArea3,
|
883
|
-
Text as
|
823
|
+
Text as Text5
|
884
824
|
} from "@mantine/core";
|
885
825
|
import { IconPlus as IconPlus4, IconTrash as IconTrash3 } from "@tabler/icons-react";
|
886
826
|
import { useState } from "react";
|
887
|
-
import { jsx as
|
827
|
+
import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
|
888
828
|
function MyWeeklySessionSchedulerPicker({
|
889
829
|
value = [],
|
890
830
|
onChange
|
@@ -915,8 +855,8 @@ function MyWeeklySessionSchedulerPicker({
|
|
915
855
|
return acc;
|
916
856
|
}, {});
|
917
857
|
const getLabel = (day) => enum_daysOfWeek[day] || `Day ${day}`;
|
918
|
-
return /* @__PURE__ */
|
919
|
-
/* @__PURE__ */
|
858
|
+
return /* @__PURE__ */ jsx20(Paper2, { w: "100%", p: "md", children: /* @__PURE__ */ jsxs9(MyFlexColumn, { children: [
|
859
|
+
/* @__PURE__ */ jsx20(Center, { children: /* @__PURE__ */ jsx20(
|
920
860
|
MyDayOfWeekPicker,
|
921
861
|
{
|
922
862
|
value: selectedDays,
|
@@ -926,41 +866,41 @@ function MyWeeklySessionSchedulerPicker({
|
|
926
866
|
}
|
927
867
|
}
|
928
868
|
) }),
|
929
|
-
/* @__PURE__ */
|
930
|
-
/* @__PURE__ */
|
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) => {
|
931
871
|
var _a;
|
932
|
-
return /* @__PURE__ */
|
933
|
-
|
872
|
+
return /* @__PURE__ */ jsxs9(
|
873
|
+
Paper2,
|
934
874
|
{
|
935
875
|
w: "100%",
|
936
876
|
p: "md",
|
937
877
|
bg: const_object_colors.mantineBackgroundBlueLight,
|
938
878
|
children: [
|
939
|
-
/* @__PURE__ */
|
940
|
-
/* @__PURE__ */
|
941
|
-
/* @__PURE__ */
|
879
|
+
/* @__PURE__ */ jsxs9(Group4, { gap: "apart", children: [
|
880
|
+
/* @__PURE__ */ jsx20(Text5, { w: "70px", fw: 500, children: getLabel(dayOfWeek) }),
|
881
|
+
/* @__PURE__ */ jsx20(
|
942
882
|
Button5,
|
943
883
|
{
|
944
884
|
color: "teal.5",
|
945
|
-
leftSection: /* @__PURE__ */
|
885
|
+
leftSection: /* @__PURE__ */ jsx20(IconPlus4, { size: 14 }),
|
946
886
|
onClick: () => handleAddSession(dayOfWeek),
|
947
887
|
children: "Th\xEAm bu\u1ED5i"
|
948
888
|
}
|
949
889
|
)
|
950
890
|
] }),
|
951
|
-
/* @__PURE__ */
|
891
|
+
/* @__PURE__ */ jsx20(Divider, { my: "sm" }),
|
952
892
|
(_a = grouped[dayOfWeek]) == null ? void 0 : _a.map((item, indexInDay) => {
|
953
893
|
const globalIndex = value.findIndex(
|
954
894
|
(v) => v === item
|
955
895
|
);
|
956
|
-
return /* @__PURE__ */
|
896
|
+
return /* @__PURE__ */ jsxs9(
|
957
897
|
Group4,
|
958
898
|
{
|
959
899
|
mt: "xs",
|
960
900
|
gap: "xs",
|
961
901
|
align: "flex-end",
|
962
902
|
children: [
|
963
|
-
/* @__PURE__ */
|
903
|
+
/* @__PURE__ */ jsx20(
|
964
904
|
NumberInput,
|
965
905
|
{
|
966
906
|
label: "Ti\u1EBFt b\u1EAFt \u0111\u1EA7u",
|
@@ -972,7 +912,7 @@ function MyWeeklySessionSchedulerPicker({
|
|
972
912
|
)
|
973
913
|
}
|
974
914
|
),
|
975
|
-
/* @__PURE__ */
|
915
|
+
/* @__PURE__ */ jsx20(
|
976
916
|
NumberInput,
|
977
917
|
{
|
978
918
|
label: "S\u1ED1 ti\u1EBFt",
|
@@ -984,7 +924,7 @@ function MyWeeklySessionSchedulerPicker({
|
|
984
924
|
)
|
985
925
|
}
|
986
926
|
),
|
987
|
-
/* @__PURE__ */
|
927
|
+
/* @__PURE__ */ jsx20(
|
988
928
|
NumberInput,
|
989
929
|
{
|
990
930
|
label: "S\u1ED1 ph\xFAt ",
|
@@ -993,13 +933,13 @@ function MyWeeklySessionSchedulerPicker({
|
|
993
933
|
value: item.durationMinutes
|
994
934
|
}
|
995
935
|
),
|
996
|
-
/* @__PURE__ */
|
936
|
+
/* @__PURE__ */ jsx20(
|
997
937
|
Button5,
|
998
938
|
{
|
999
939
|
variant: "light",
|
1000
940
|
color: "red",
|
1001
941
|
onClick: () => handleRemove(globalIndex),
|
1002
|
-
leftSection: /* @__PURE__ */
|
942
|
+
leftSection: /* @__PURE__ */ jsx20(IconTrash3, { size: 14 }),
|
1003
943
|
children: "X\xF3a bu\u1ED5i"
|
1004
944
|
}
|
1005
945
|
)
|
@@ -1018,10 +958,10 @@ function MyWeeklySessionSchedulerPicker({
|
|
1018
958
|
|
1019
959
|
// src/core/layout/MyFlexEnd.tsx
|
1020
960
|
import { Group as Group5 } from "@mantine/core";
|
1021
|
-
import { jsx as
|
961
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
1022
962
|
function MyFlexEnd2(_a) {
|
1023
963
|
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
|
1024
|
-
return /* @__PURE__ */
|
964
|
+
return /* @__PURE__ */ jsx21(Group5, __spreadProps(__spreadValues({ justify: "end", mt: "md" }, rest), { children }));
|
1025
965
|
}
|
1026
966
|
|
1027
967
|
export {
|
@@ -1035,7 +975,6 @@ export {
|
|
1035
975
|
MyFlexIconTitle,
|
1036
976
|
MyInfoBox,
|
1037
977
|
MyLabelValueRow,
|
1038
|
-
MyPaperTag,
|
1039
978
|
MyStatsCard,
|
1040
979
|
MyDayOfWeekPicker,
|
1041
980
|
MyRichTextEditor,
|
package/dist/core/index.d.mts
CHANGED
@@ -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,
|
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,
|
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 };
|
package/dist/core/index.mjs
CHANGED
@@ -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-
|
20
|
+
} from "../chunk-LON64CYM.mjs";
|
21
|
+
import "../chunk-GFEMKKFH.mjs";
|
22
22
|
import "../chunk-R43BUIMD.mjs";
|
23
23
|
import "../chunk-U62R2QKJ.mjs";
|
24
24
|
import "../chunk-5U2JSHSJ.mjs";
|
25
|
-
import "../chunk-K6S7R6LU.mjs";
|
26
|
-
import "../chunk-GFEMKKFH.mjs";
|
27
25
|
import "../chunk-OMJJAHOC.mjs";
|
26
|
+
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,10 @@ import {
|
|
15
15
|
MyButton as MyButton2,
|
16
16
|
MyDataTableSelectOne,
|
17
17
|
MyTextInput as MyTextInput2
|
18
|
-
} from "../chunk-
|
18
|
+
} from "../chunk-LON64CYM.mjs";
|
19
|
+
import {
|
20
|
+
const_object_documentTypes
|
21
|
+
} from "../chunk-GFEMKKFH.mjs";
|
19
22
|
import {
|
20
23
|
F_authenticate_Logout,
|
21
24
|
MyActionIconDelete,
|
@@ -46,16 +49,13 @@ import {
|
|
46
49
|
createGenericStore
|
47
50
|
} from "../chunk-U62R2QKJ.mjs";
|
48
51
|
import "../chunk-5U2JSHSJ.mjs";
|
52
|
+
import {
|
53
|
+
const_object_colors
|
54
|
+
} from "../chunk-OMJJAHOC.mjs";
|
49
55
|
import {
|
50
56
|
enum_emailConfigModule
|
51
57
|
} from "../chunk-VH4ZAD6M.mjs";
|
52
58
|
import "../chunk-K6S7R6LU.mjs";
|
53
|
-
import {
|
54
|
-
const_object_documentTypes
|
55
|
-
} from "../chunk-GFEMKKFH.mjs";
|
56
|
-
import {
|
57
|
-
const_object_colors
|
58
|
-
} from "../chunk-OMJJAHOC.mjs";
|
59
59
|
import {
|
60
60
|
baseAxios_default,
|
61
61
|
createBaseApi,
|