aq-fe-framework 0.1.917 → 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.
@@ -4,10 +4,6 @@ import {
4
4
  useStore_Permission,
5
5
  useStore_ProjectInfo
6
6
  } from "./chunk-QWHUDAPC.mjs";
7
- import {
8
- utils_date,
9
- utils_mantineReactTable
10
- } from "./chunk-ZDINCHBS.mjs";
11
7
  import {
12
8
  utils_aq_mapBaseEntityToDomain,
13
9
  utils_aq_mapDomainToEntity,
@@ -19,6 +15,10 @@ import {
19
15
  utils_file_fileToAQDocumentType,
20
16
  utils_pdf_download
21
17
  } from "./chunk-E4JVWPXS.mjs";
18
+ import {
19
+ utils_date,
20
+ utils_mantineReactTable
21
+ } from "./chunk-ZDINCHBS.mjs";
22
22
  import {
23
23
  baseColumns
24
24
  } from "./chunk-O7YCQQO5.mjs";
@@ -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,10 +70,10 @@ import {
70
70
  useHeaderMegaMenuStore,
71
71
  useS_ButtonImport,
72
72
  useStore_BasicAppShell
73
- } from "../chunk-AQGL6HU3.mjs";
73
+ } from "../chunk-2DVCSIU5.mjs";
74
74
  import "../chunk-QWHUDAPC.mjs";
75
- import "../chunk-ZDINCHBS.mjs";
76
75
  import "../chunk-E4JVWPXS.mjs";
76
+ import "../chunk-ZDINCHBS.mjs";
77
77
  import "../chunk-O7YCQQO5.mjs";
78
78
  import "../chunk-QSWIVDXC.mjs";
79
79
  import "../chunk-SPG47QW7.mjs";
@@ -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,10 +31,10 @@ import {
31
31
  MyStatsCard,
32
32
  MyTextInput2 as MyTextInput,
33
33
  MyWeeklySessionSchedulerPicker
34
- } from "../chunk-AQGL6HU3.mjs";
34
+ } from "../chunk-2DVCSIU5.mjs";
35
35
  import "../chunk-QWHUDAPC.mjs";
36
- import "../chunk-ZDINCHBS.mjs";
37
36
  import "../chunk-E4JVWPXS.mjs";
37
+ import "../chunk-ZDINCHBS.mjs";
38
38
  import "../chunk-O7YCQQO5.mjs";
39
39
  import "../chunk-QSWIVDXC.mjs";
40
40
  import "../chunk-SPG47QW7.mjs";
@@ -113,10 +113,10 @@ import {
113
113
  MailTemplateDeleteButton,
114
114
  useS_moduleConfig,
115
115
  useStore_Authenticate
116
- } from "../chunk-AQGL6HU3.mjs";
116
+ } from "../chunk-2DVCSIU5.mjs";
117
117
  import "../chunk-QWHUDAPC.mjs";
118
- import "../chunk-ZDINCHBS.mjs";
119
118
  import "../chunk-E4JVWPXS.mjs";
119
+ import "../chunk-ZDINCHBS.mjs";
120
120
  import "../chunk-O7YCQQO5.mjs";
121
121
  import "../chunk-QSWIVDXC.mjs";
122
122
  import "../chunk-SPG47QW7.mjs";
@@ -4,12 +4,12 @@ import {
4
4
  } from "../chunk-RGUQWALX.mjs";
5
5
  import {
6
6
  MySelect
7
- } from "../chunk-AQGL6HU3.mjs";
7
+ } from "../chunk-2DVCSIU5.mjs";
8
8
  import "../chunk-QWHUDAPC.mjs";
9
+ import "../chunk-E4JVWPXS.mjs";
9
10
  import {
10
11
  utils_converter
11
12
  } from "../chunk-ZDINCHBS.mjs";
12
- import "../chunk-E4JVWPXS.mjs";
13
13
  import "../chunk-O7YCQQO5.mjs";
14
14
  import "../chunk-QSWIVDXC.mjs";
15
15
  import "../chunk-SPG47QW7.mjs";
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "types": "./dist/types/index.d.mts"
59
59
  }
60
60
  },
61
- "version": "0.1.917",
61
+ "version": "0.1.919",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"