aq-fe-framework 0.1.918 → 0.1.920
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.
- package/dist/{chunk-PYN3NFNZ.mjs → chunk-STP3LXWU.mjs} +12 -12
- package/dist/components/index.mjs +3 -3
- package/dist/core/index.d.mts +6 -6
- package/dist/core/index.mjs +3 -3
- package/dist/hooks/index.mjs +1 -1
- package/dist/modules-features/index.mjs +3 -3
- package/dist/shared/index.mjs +3 -3
- package/package.json +1 -1
|
@@ -19,6 +19,10 @@ import {
|
|
|
19
19
|
utils_date,
|
|
20
20
|
utils_mantineReactTable
|
|
21
21
|
} from "./chunk-ZDINCHBS.mjs";
|
|
22
|
+
import {
|
|
23
|
+
const_object_colors,
|
|
24
|
+
const_object_documentTypes
|
|
25
|
+
} from "./chunk-SPG47QW7.mjs";
|
|
22
26
|
import {
|
|
23
27
|
baseColumns
|
|
24
28
|
} from "./chunk-O7YCQQO5.mjs";
|
|
@@ -26,10 +30,6 @@ import {
|
|
|
26
30
|
utils_date_dateToDDMMYYYString,
|
|
27
31
|
utils_date_formatToDateTimeString
|
|
28
32
|
} from "./chunk-QSWIVDXC.mjs";
|
|
29
|
-
import {
|
|
30
|
-
const_object_colors,
|
|
31
|
-
const_object_documentTypes
|
|
32
|
-
} from "./chunk-SPG47QW7.mjs";
|
|
33
33
|
import {
|
|
34
34
|
enum_daysOfWeek
|
|
35
35
|
} from "./chunk-K6S7R6LU.mjs";
|
|
@@ -689,29 +689,29 @@ import { Badge } from "@mantine/core";
|
|
|
689
689
|
import { Fragment as Fragment5, jsx as jsx12 } from "react/jsx-runtime";
|
|
690
690
|
function CustomEnumBadge(_a) {
|
|
691
691
|
var _b = _a, {
|
|
692
|
-
|
|
692
|
+
value,
|
|
693
693
|
enumLabel,
|
|
694
694
|
enumColor,
|
|
695
695
|
enumIcon
|
|
696
696
|
} = _b, rest = __objRest(_b, [
|
|
697
|
-
"
|
|
697
|
+
"value",
|
|
698
698
|
"enumLabel",
|
|
699
699
|
"enumColor",
|
|
700
700
|
"enumIcon"
|
|
701
701
|
]);
|
|
702
|
-
if (
|
|
703
|
-
const IconComponent = enumIcon ? enumIcon[
|
|
704
|
-
const
|
|
705
|
-
return
|
|
702
|
+
if (!value) return null;
|
|
703
|
+
const IconComponent = enumIcon ? enumIcon[value] : void 0;
|
|
704
|
+
const label = enumLabel[value];
|
|
705
|
+
return label ? /* @__PURE__ */ jsx12(
|
|
706
706
|
Badge,
|
|
707
707
|
__spreadProps(__spreadValues({
|
|
708
708
|
w: "100%",
|
|
709
709
|
leftSection: IconComponent ? /* @__PURE__ */ jsx12(IconComponent, {}) : void 0,
|
|
710
710
|
variant: "light",
|
|
711
|
-
color: enumColor[
|
|
711
|
+
color: enumColor ? enumColor[value] : void 0,
|
|
712
712
|
radius: "lg"
|
|
713
713
|
}, rest), {
|
|
714
|
-
children: enumLabel[
|
|
714
|
+
children: enumLabel[value]
|
|
715
715
|
})
|
|
716
716
|
) : /* @__PURE__ */ jsx12(Fragment5, {});
|
|
717
717
|
}
|
|
@@ -70,17 +70,17 @@ import {
|
|
|
70
70
|
useHeaderMegaMenuStore,
|
|
71
71
|
useS_ButtonImport,
|
|
72
72
|
useStore_BasicAppShell
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-STP3LXWU.mjs";
|
|
74
74
|
import "../chunk-QWHUDAPC.mjs";
|
|
75
75
|
import "../chunk-E4JVWPXS.mjs";
|
|
76
76
|
import "../chunk-ZDINCHBS.mjs";
|
|
77
|
+
import "../chunk-SPG47QW7.mjs";
|
|
77
78
|
import "../chunk-O7YCQQO5.mjs";
|
|
78
79
|
import "../chunk-QSWIVDXC.mjs";
|
|
79
|
-
import "../chunk-SPG47QW7.mjs";
|
|
80
80
|
import "../chunk-K6S7R6LU.mjs";
|
|
81
81
|
import "../chunk-ILQU66MR.mjs";
|
|
82
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
83
82
|
import "../chunk-WZ6PXGGC.mjs";
|
|
83
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
84
84
|
import "../chunk-JD6AELXS.mjs";
|
|
85
85
|
export {
|
|
86
86
|
AQButtonCreateByImportFile,
|
package/dist/core/index.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ import { UseFormReturnType } from '@mantine/form';
|
|
|
6
6
|
import { AxiosResponse } from 'axios';
|
|
7
7
|
import { M as MyApiResponse, a as MyReactMutationProps } from '../useMyReactMutation-BaxKHWOS.mjs';
|
|
8
8
|
import { ReactNode, ComponentProps } from 'react';
|
|
9
|
-
import { ModalProps, ScrollAreaAutosizeProps, TooltipProps, ButtonProps, TextProps, PaperProps, GroupProps, ThemeIconProps, AutocompleteProps, NumberInputProps, TextInputProps, FileInputProps, InputWrapperProps, FlexProps } from '@mantine/core';
|
|
9
|
+
import { ModalProps, ScrollAreaAutosizeProps, TooltipProps, ButtonProps, BadgeProps, TextProps, PaperProps, GroupProps, ThemeIconProps, AutocompleteProps, NumberInputProps, TextInputProps, FileInputProps, InputWrapperProps, FlexProps } from '@mantine/core';
|
|
10
10
|
import { UseReactToPrintOptions } from 'react-to-print';
|
|
11
11
|
import { I as IAQFileDetail } from '../utils_file-JlhzjLGS.mjs';
|
|
12
12
|
import { TablerIcon } from '@tabler/icons-react';
|
|
@@ -80,13 +80,13 @@ interface MyButtonViewFile extends Omit<MyButtonModalProps, "disclosure"> {
|
|
|
80
80
|
}
|
|
81
81
|
declare function MyButtonViewFile({ file, disclosure, loading, ...rest }: MyButtonViewFile): react_jsx_runtime.JSX.Element;
|
|
82
82
|
|
|
83
|
-
type
|
|
84
|
-
|
|
83
|
+
type CustomEnumBadgeProps<T extends number> = {
|
|
84
|
+
value?: T;
|
|
85
85
|
enumLabel: Record<T, string>;
|
|
86
|
-
enumColor
|
|
86
|
+
enumColor?: Record<T, string>;
|
|
87
87
|
enumIcon?: Record<T, TablerIcon>;
|
|
88
|
-
};
|
|
89
|
-
declare function CustomEnumBadge<T extends number>({
|
|
88
|
+
} & BadgeProps;
|
|
89
|
+
declare function CustomEnumBadge<T extends number>({ value, enumLabel, enumColor, enumIcon, ...rest }: CustomEnumBadgeProps<T>): react_jsx_runtime.JSX.Element | null;
|
|
90
90
|
|
|
91
91
|
interface CustomThemeIconSquareCheckProps {
|
|
92
92
|
checked?: boolean;
|
package/dist/core/index.mjs
CHANGED
|
@@ -31,17 +31,17 @@ import {
|
|
|
31
31
|
MyStatsCard,
|
|
32
32
|
MyTextInput2 as MyTextInput,
|
|
33
33
|
MyWeeklySessionSchedulerPicker
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-STP3LXWU.mjs";
|
|
35
35
|
import "../chunk-QWHUDAPC.mjs";
|
|
36
36
|
import "../chunk-E4JVWPXS.mjs";
|
|
37
37
|
import "../chunk-ZDINCHBS.mjs";
|
|
38
|
+
import "../chunk-SPG47QW7.mjs";
|
|
38
39
|
import "../chunk-O7YCQQO5.mjs";
|
|
39
40
|
import "../chunk-QSWIVDXC.mjs";
|
|
40
|
-
import "../chunk-SPG47QW7.mjs";
|
|
41
41
|
import "../chunk-K6S7R6LU.mjs";
|
|
42
42
|
import "../chunk-ILQU66MR.mjs";
|
|
43
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
44
43
|
import "../chunk-WZ6PXGGC.mjs";
|
|
44
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
45
45
|
import "../chunk-JD6AELXS.mjs";
|
|
46
46
|
export {
|
|
47
47
|
CustomAutocomplete,
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -113,17 +113,17 @@ import {
|
|
|
113
113
|
MailTemplateDeleteButton,
|
|
114
114
|
useS_moduleConfig,
|
|
115
115
|
useStore_Authenticate
|
|
116
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-STP3LXWU.mjs";
|
|
117
117
|
import "../chunk-QWHUDAPC.mjs";
|
|
118
118
|
import "../chunk-E4JVWPXS.mjs";
|
|
119
119
|
import "../chunk-ZDINCHBS.mjs";
|
|
120
|
+
import "../chunk-SPG47QW7.mjs";
|
|
120
121
|
import "../chunk-O7YCQQO5.mjs";
|
|
121
122
|
import "../chunk-QSWIVDXC.mjs";
|
|
122
|
-
import "../chunk-SPG47QW7.mjs";
|
|
123
123
|
import "../chunk-K6S7R6LU.mjs";
|
|
124
124
|
import "../chunk-ILQU66MR.mjs";
|
|
125
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
126
125
|
import "../chunk-WZ6PXGGC.mjs";
|
|
126
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
127
127
|
import "../chunk-JD6AELXS.mjs";
|
|
128
128
|
export {
|
|
129
129
|
AcademicYearsCreate,
|
package/dist/shared/index.mjs
CHANGED
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
} from "../chunk-RGUQWALX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
MySelect
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-STP3LXWU.mjs";
|
|
8
8
|
import "../chunk-QWHUDAPC.mjs";
|
|
9
9
|
import "../chunk-E4JVWPXS.mjs";
|
|
10
10
|
import {
|
|
11
11
|
utils_converter
|
|
12
12
|
} from "../chunk-ZDINCHBS.mjs";
|
|
13
|
+
import "../chunk-SPG47QW7.mjs";
|
|
13
14
|
import "../chunk-O7YCQQO5.mjs";
|
|
14
15
|
import "../chunk-QSWIVDXC.mjs";
|
|
15
|
-
import "../chunk-SPG47QW7.mjs";
|
|
16
16
|
import "../chunk-K6S7R6LU.mjs";
|
|
17
17
|
import "../chunk-ILQU66MR.mjs";
|
|
18
|
-
import "../chunk-7ZCOFATU.mjs";
|
|
19
18
|
import "../chunk-WZ6PXGGC.mjs";
|
|
19
|
+
import "../chunk-7ZCOFATU.mjs";
|
|
20
20
|
import {
|
|
21
21
|
__objRest,
|
|
22
22
|
__spreadValues
|