aq-fe-framework 0.1.918 → 0.1.919
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-2DVCSIU5.mjs} +3 -3
- package/dist/components/index.mjs +2 -2
- package/dist/core/index.d.mts +4 -4
- package/dist/core/index.mjs +2 -2
- package/dist/hooks/index.mjs +1 -1
- package/dist/modules-features/index.mjs +2 -2
- package/dist/shared/index.mjs +2 -2
- package/package.json +1 -1
|
@@ -699,10 +699,10 @@ function CustomEnumBadge(_a) {
|
|
|
699
699
|
"enumColor",
|
|
700
700
|
"enumIcon"
|
|
701
701
|
]);
|
|
702
|
-
if (enumStatus
|
|
702
|
+
if (!enumStatus) return null;
|
|
703
703
|
const IconComponent = enumIcon ? enumIcon[enumStatus] : void 0;
|
|
704
|
-
const
|
|
705
|
-
return
|
|
704
|
+
const label = enumLabel[enumStatus];
|
|
705
|
+
return label ? /* @__PURE__ */ jsx12(
|
|
706
706
|
Badge,
|
|
707
707
|
__spreadProps(__spreadValues({
|
|
708
708
|
w: "100%",
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
useHeaderMegaMenuStore,
|
|
71
71
|
useS_ButtonImport,
|
|
72
72
|
useStore_BasicAppShell
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-2DVCSIU5.mjs";
|
|
74
74
|
import "../chunk-QWHUDAPC.mjs";
|
|
75
75
|
import "../chunk-E4JVWPXS.mjs";
|
|
76
76
|
import "../chunk-ZDINCHBS.mjs";
|
|
@@ -79,8 +79,8 @@ import "../chunk-QSWIVDXC.mjs";
|
|
|
79
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
|
|
83
|
+
type CustomEnumBadgeProps<T extends number> = {
|
|
84
84
|
enumStatus?: T;
|
|
85
85
|
enumLabel: Record<T, string>;
|
|
86
86
|
enumColor: Record<T, string>;
|
|
87
87
|
enumIcon?: Record<T, TablerIcon>;
|
|
88
|
-
};
|
|
89
|
-
declare function CustomEnumBadge<T extends number>({ enumStatus, enumLabel, enumColor, enumIcon, ...rest }:
|
|
88
|
+
} & BadgeProps;
|
|
89
|
+
declare function CustomEnumBadge<T extends number>({ enumStatus, 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,7 +31,7 @@ import {
|
|
|
31
31
|
MyStatsCard,
|
|
32
32
|
MyTextInput2 as MyTextInput,
|
|
33
33
|
MyWeeklySessionSchedulerPicker
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-2DVCSIU5.mjs";
|
|
35
35
|
import "../chunk-QWHUDAPC.mjs";
|
|
36
36
|
import "../chunk-E4JVWPXS.mjs";
|
|
37
37
|
import "../chunk-ZDINCHBS.mjs";
|
|
@@ -40,8 +40,8 @@ import "../chunk-QSWIVDXC.mjs";
|
|
|
40
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,7 +113,7 @@ import {
|
|
|
113
113
|
MailTemplateDeleteButton,
|
|
114
114
|
useS_moduleConfig,
|
|
115
115
|
useStore_Authenticate
|
|
116
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-2DVCSIU5.mjs";
|
|
117
117
|
import "../chunk-QWHUDAPC.mjs";
|
|
118
118
|
import "../chunk-E4JVWPXS.mjs";
|
|
119
119
|
import "../chunk-ZDINCHBS.mjs";
|
|
@@ -122,8 +122,8 @@ import "../chunk-QSWIVDXC.mjs";
|
|
|
122
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,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-RGUQWALX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
MySelect
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-2DVCSIU5.mjs";
|
|
8
8
|
import "../chunk-QWHUDAPC.mjs";
|
|
9
9
|
import "../chunk-E4JVWPXS.mjs";
|
|
10
10
|
import {
|
|
@@ -15,8 +15,8 @@ import "../chunk-QSWIVDXC.mjs";
|
|
|
15
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
|