aq-fe-framework 0.1.1000 → 0.1.1001

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.
@@ -19,8 +19,7 @@ interface MyButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElemen
19
19
  /** Không cần bật kiểm tra quyền mặc định = true */
20
20
  isCheckPermission?: boolean;
21
21
  }
22
- declare const MyButton: typeof AppButton;
23
- declare function AppButton({ children, actionType, isCheckPermission, ...rest }: MyButtonProps): react_jsx_runtime.JSX.Element;
22
+ declare function MyButton({ children, actionType, isCheckPermission, ...rest }: MyButtonProps): react_jsx_runtime.JSX.Element;
24
23
 
25
24
  interface MyButtonModalProps {
26
25
  children?: ReactNode;
@@ -59,4 +58,4 @@ interface MyDataTableProps<TData extends MRT_RowData> extends MRT_TableOptions<T
59
58
  }
60
59
  declare function MyDataTable<TData extends MRT_RowData>({ rowActionSize, columns, data, setSelectedRow, isError, isLoading, pagination, idSelectionOne, setIdSelectionOne, renderTopToolbarCustomActions, visibleFields, ...rest }: MyDataTableProps<TData>): react_jsx_runtime.JSX.Element;
61
60
 
62
- export { AppButton as A, type MyButtonModalProps as M, type PaginationState as P, type MyActionIconProps as a, type MyButtonProps as b, type MyDataTableProps as c, MyActionIcon as d, MyButton as e, MyButtonModal as f, type MyDataTableInternalProps as g, MyDataTable as h };
61
+ export { type MyButtonModalProps as M, type PaginationState as P, type MyActionIconProps as a, type MyButtonProps as b, type MyDataTableProps as c, MyActionIcon as d, MyButton as e, MyButtonModal as f, type MyDataTableInternalProps as g, MyDataTable as h };
@@ -1,14 +1,3 @@
1
- // src/enum/enum_gender.ts
2
- var enum_gender = /* @__PURE__ */ ((enum_gender2) => {
3
- enum_gender2[enum_gender2["Male"] = 1] = "Male";
4
- enum_gender2[enum_gender2["Female"] = 2] = "Female";
5
- return enum_gender2;
6
- })(enum_gender || {});
7
- var enumLabel_gender = {
8
- [1 /* Male */]: "Nam",
9
- [2 /* Female */]: "N\u1EEF"
10
- };
11
-
12
1
  // src/enum/enum_daysOfWeek.ts
13
2
  var enum_daysOfWeek = /* @__PURE__ */ ((enum_daysOfWeek2) => {
14
3
  enum_daysOfWeek2[enum_daysOfWeek2["Th\u1EE9 Hai"] = 1] = "Th\u1EE9 Hai";
@@ -21,8 +10,19 @@ var enum_daysOfWeek = /* @__PURE__ */ ((enum_daysOfWeek2) => {
21
10
  return enum_daysOfWeek2;
22
11
  })(enum_daysOfWeek || {});
23
12
 
13
+ // src/enum/enum_gender.ts
14
+ var enum_gender = /* @__PURE__ */ ((enum_gender2) => {
15
+ enum_gender2[enum_gender2["Male"] = 1] = "Male";
16
+ enum_gender2[enum_gender2["Female"] = 2] = "Female";
17
+ return enum_gender2;
18
+ })(enum_gender || {});
19
+ var enumLabel_gender = {
20
+ [1 /* Male */]: "Nam",
21
+ [2 /* Female */]: "N\u1EEF"
22
+ };
23
+
24
24
  export {
25
+ enum_daysOfWeek,
25
26
  enum_gender,
26
- enumLabel_gender,
27
- enum_daysOfWeek
27
+ enumLabel_gender
28
28
  };
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  enumLabel_gender,
36
36
  enum_daysOfWeek
37
- } from "./chunk-WJYGAYCW.mjs";
37
+ } from "./chunk-J4WTZ3B4.mjs";
38
38
  import {
39
39
  baseAxios_default,
40
40
  createBaseApi,
@@ -199,8 +199,7 @@ var getActionConfig = (colorScheme) => ({
199
199
  leftSection: /* @__PURE__ */ jsx3(IconRefresh, {})
200
200
  }
201
201
  });
202
- var MyButton = AppButton;
203
- function AppButton(_a) {
202
+ function MyButton(_a) {
204
203
  var _b = _a, { children, actionType: actionType2, isCheckPermission = true } = _b, rest = __objRest(_b, ["children", "actionType", "isCheckPermission"]);
205
204
  const permissionStore = useStore_Permission();
206
205
  const { colorScheme } = useMantineColorScheme2();
@@ -18848,7 +18847,6 @@ function Feat_TokenExpired({
18848
18847
  export {
18849
18848
  CustomSwitchTheme,
18850
18849
  MyButton,
18851
- AppButton,
18852
18850
  MyFlexColumn,
18853
18851
  MyActionIcon,
18854
18852
  MyButtonModal,
@@ -8,8 +8,8 @@ import { type_mantineSize } from '../types/index.mjs';
8
8
  import { useDisclosure, useListState } from '@mantine/hooks';
9
9
  import { UseFormReturnType, useForm } from '@mantine/form';
10
10
  import { I as I_BasicAppShell_LinkItem, B as BasicAppShellProps } from '../types-km2g-xx5.mjs';
11
- import { f as MyButtonModal$1 } from '../MyDataTable-BZH_uH1I.mjs';
12
- export { h as MyDataTable, g as MyDataTableInternalProps, c as MyDataTableProps, P as PaginationState } from '../MyDataTable-BZH_uH1I.mjs';
11
+ import { f as MyButtonModal$1 } from '../MyDataTable-gxL6qCfE.mjs';
12
+ export { h as MyDataTable, g as MyDataTableInternalProps, c as MyDataTableProps, P as PaginationState } from '../MyDataTable-gxL6qCfE.mjs';
13
13
  import { I as IExcelColumnConfig } from '../utils_excel-CuudSzBR.mjs';
14
14
  import { MRT_ColumnDef, MRT_RowData, MRT_TableOptions, MRT_TableInstance } from 'mantine-react-table';
15
15
  import { DateInputProps } from '@mantine/dates';
@@ -69,14 +69,14 @@ import {
69
69
  useHeaderMegaMenuStore,
70
70
  useS_ButtonImport,
71
71
  useStore_BasicAppShell
72
- } from "../chunk-3KE2P7XV.mjs";
72
+ } from "../chunk-S4T5K4VB.mjs";
73
73
  import "../chunk-PKP6EDBO.mjs";
74
74
  import "../chunk-KGBXMHKR.mjs";
75
75
  import "../chunk-7ZI7IOEP.mjs";
76
76
  import "../chunk-LEFFCELO.mjs";
77
77
  import "../chunk-BTITP4TN.mjs";
78
78
  import "../chunk-C74M5VPE.mjs";
79
- import "../chunk-WJYGAYCW.mjs";
79
+ import "../chunk-J4WTZ3B4.mjs";
80
80
  import "../chunk-G33SBZHB.mjs";
81
81
  import "../chunk-WZ6PXGGC.mjs";
82
82
  import "../chunk-JD6AELXS.mjs";
@@ -2,8 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ButtonProps, ModalProps, ScrollAreaAutosizeProps, TooltipProps, TextProps, PaperProps, GroupProps, ThemeIconProps, BadgeProps, AutocompleteProps, NumberInputProps, TextInputProps, FileInputProps, InputWrapperProps, FlexProps } from '@mantine/core';
3
3
  import { UseFormReturnType } from '@mantine/form';
4
4
  import { ReactNode, ComponentProps } from 'react';
5
- import { M as MyButtonModalProps, a as MyActionIconProps, b as MyButtonProps, c as MyDataTableProps } from '../MyDataTable-BZH_uH1I.mjs';
6
- export { A as AppButton, d as MyActionIcon, e as MyButton, f as MyButtonModal } from '../MyDataTable-BZH_uH1I.mjs';
5
+ import { M as MyButtonModalProps, a as MyActionIconProps, b as MyButtonProps, c as MyDataTableProps } from '../MyDataTable-gxL6qCfE.mjs';
6
+ export { d as MyActionIcon, e as MyButton, f as MyButtonModal } from '../MyDataTable-gxL6qCfE.mjs';
7
7
  import { UseReactToPrintOptions } from 'react-to-print';
8
8
  import { I as IAQFileDetail } from '../utils_file-JlhzjLGS.mjs';
9
9
  import { useDisclosure } from '@mantine/hooks';
@@ -1,5 +1,4 @@
1
1
  import {
2
- AppButton,
3
2
  CustomAutocomplete,
4
3
  CustomEnumBadge,
5
4
  CustomNumberInput,
@@ -32,19 +31,18 @@ import {
32
31
  MyStatsCard,
33
32
  MyTextInput2 as MyTextInput,
34
33
  MyWeeklySessionSchedulerPicker
35
- } from "../chunk-3KE2P7XV.mjs";
34
+ } from "../chunk-S4T5K4VB.mjs";
36
35
  import "../chunk-PKP6EDBO.mjs";
37
36
  import "../chunk-KGBXMHKR.mjs";
38
37
  import "../chunk-7ZI7IOEP.mjs";
39
38
  import "../chunk-LEFFCELO.mjs";
40
39
  import "../chunk-BTITP4TN.mjs";
41
40
  import "../chunk-C74M5VPE.mjs";
42
- import "../chunk-WJYGAYCW.mjs";
41
+ import "../chunk-J4WTZ3B4.mjs";
43
42
  import "../chunk-G33SBZHB.mjs";
44
43
  import "../chunk-WZ6PXGGC.mjs";
45
44
  import "../chunk-JD6AELXS.mjs";
46
45
  export {
47
- AppButton,
48
46
  CustomAutocomplete,
49
47
  CustomEnumBadge,
50
48
  CustomNumberInput,
@@ -3,7 +3,7 @@ import {
3
3
  enumLabel_gender,
4
4
  enum_daysOfWeek,
5
5
  enum_gender
6
- } from "../chunk-WJYGAYCW.mjs";
6
+ } from "../chunk-J4WTZ3B4.mjs";
7
7
  import "../chunk-JD6AELXS.mjs";
8
8
  export {
9
9
  enumLabel_gender,
@@ -103,14 +103,14 @@ import {
103
103
  MailTemplateDeleteButton,
104
104
  useS_moduleConfig,
105
105
  useStore_Authenticate
106
- } from "../chunk-3KE2P7XV.mjs";
106
+ } from "../chunk-S4T5K4VB.mjs";
107
107
  import "../chunk-PKP6EDBO.mjs";
108
108
  import "../chunk-KGBXMHKR.mjs";
109
109
  import "../chunk-7ZI7IOEP.mjs";
110
110
  import "../chunk-LEFFCELO.mjs";
111
111
  import "../chunk-BTITP4TN.mjs";
112
112
  import "../chunk-C74M5VPE.mjs";
113
- import "../chunk-WJYGAYCW.mjs";
113
+ import "../chunk-J4WTZ3B4.mjs";
114
114
  import "../chunk-G33SBZHB.mjs";
115
115
  import "../chunk-WZ6PXGGC.mjs";
116
116
  import "../chunk-JD6AELXS.mjs";
@@ -1,7 +1,7 @@
1
1
  import "../chunk-NMY3UEY5.mjs";
2
2
  import {
3
3
  MySelect2 as MySelect
4
- } from "../chunk-3KE2P7XV.mjs";
4
+ } from "../chunk-S4T5K4VB.mjs";
5
5
  import "../chunk-PKP6EDBO.mjs";
6
6
  import "../chunk-KGBXMHKR.mjs";
7
7
  import {
@@ -13,7 +13,7 @@ import "../chunk-C74M5VPE.mjs";
13
13
  import {
14
14
  enumLabel_gender,
15
15
  enum_gender
16
- } from "../chunk-WJYGAYCW.mjs";
16
+ } from "../chunk-J4WTZ3B4.mjs";
17
17
  import "../chunk-G33SBZHB.mjs";
18
18
  import "../chunk-WZ6PXGGC.mjs";
19
19
  import {
package/package.json CHANGED
@@ -54,7 +54,7 @@
54
54
  "types": "./dist/build-object/index.d.mts"
55
55
  }
56
56
  },
57
- "version": "0.1.1000",
57
+ "version": "0.1.1001",
58
58
  "private": false,
59
59
  "files": [
60
60
  "dist"