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.
@@ -699,10 +699,10 @@ function CustomEnumBadge(_a) {
699
699
  "enumColor",
700
700
  "enumIcon"
701
701
  ]);
702
- if (enumStatus === void 0) return null;
702
+ if (!enumStatus) return null;
703
703
  const IconComponent = enumIcon ? enumIcon[enumStatus] : void 0;
704
- const iconLabel = enumLabel[enumStatus];
705
- return iconLabel ? /* @__PURE__ */ jsx12(
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-PYN3NFNZ.mjs";
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,
@@ -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 EnumBadgeProps<T extends number> = {
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 }: EnumBadgeProps<T>): react_jsx_runtime.JSX.Element | null;
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;
@@ -31,7 +31,7 @@ import {
31
31
  MyStatsCard,
32
32
  MyTextInput2 as MyTextInput,
33
33
  MyWeeklySessionSchedulerPicker
34
- } from "../chunk-PYN3NFNZ.mjs";
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,
@@ -14,8 +14,8 @@ import {
14
14
  useMyRouter,
15
15
  useQ_AQ_GetAQModule
16
16
  } from "../chunk-ILQU66MR.mjs";
17
- import "../chunk-7ZCOFATU.mjs";
18
17
  import "../chunk-WZ6PXGGC.mjs";
18
+ import "../chunk-7ZCOFATU.mjs";
19
19
  import "../chunk-JD6AELXS.mjs";
20
20
  export {
21
21
  createBaseApi,
@@ -113,7 +113,7 @@ import {
113
113
  MailTemplateDeleteButton,
114
114
  useS_moduleConfig,
115
115
  useStore_Authenticate
116
- } from "../chunk-PYN3NFNZ.mjs";
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,
@@ -4,7 +4,7 @@ import {
4
4
  } from "../chunk-RGUQWALX.mjs";
5
5
  import {
6
6
  MySelect
7
- } from "../chunk-PYN3NFNZ.mjs";
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
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "types": "./dist/types/index.d.mts"
59
59
  }
60
60
  },
61
- "version": "0.1.918",
61
+ "version": "0.1.919",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"