aq-fe-framework 0.1.893 → 0.1.895

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.
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ActionIconProps, ButtonProps, ModalProps, TooltipProps } from '@mantine/core';
3
3
  import { useDisclosure } from '@mantine/hooks';
4
4
  import { ReactNode } from 'react';
5
- import { t as type_action } from './types-DtncEH_a.mjs';
5
+ import { t as type_action } from './types-B-6r-g-i.mjs';
6
6
  import { MRT_RowData, MRT_TableOptions, MRT_ColumnDef } from 'mantine-react-table';
7
7
 
8
8
  interface MyActionIconProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ActionIconProps {
@@ -1,7 +1,3 @@
1
- import {
2
- utils_date,
3
- utils_mantineReactTable
4
- } from "./chunk-PHIQKJYJ.mjs";
5
1
  import {
6
2
  createGenericStore,
7
3
  useAppStore,
@@ -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-PHIQKJYJ.mjs";
22
22
  import {
23
23
  baseColumns
24
24
  } from "./chunk-O7YCQQO5.mjs";
@@ -29,7 +29,7 @@ import {
29
29
  import {
30
30
  const_object_colors,
31
31
  const_object_documentTypes
32
- } from "./chunk-FE4HVT67.mjs";
32
+ } from "./chunk-UGZCLGBH.mjs";
33
33
  import {
34
34
  enum_daysOfWeek
35
35
  } from "./chunk-K6S7R6LU.mjs";
@@ -1,9 +1,3 @@
1
- // src/enum/enum_aqModuleId.ts
2
- var enum_aqModuleId = {
3
- SAE: 1,
4
- SRM: 8
5
- };
6
-
7
1
  // src/enum/enum_gender.ts
8
2
  var enum_gender = /* @__PURE__ */ ((enum_gender2) => {
9
3
  enum_gender2[enum_gender2["Male"] = 1] = "Male";
@@ -16,7 +10,6 @@ var enumLabel_gender = {
16
10
  };
17
11
 
18
12
  export {
19
- enum_aqModuleId,
20
13
  enum_gender,
21
14
  enumLabel_gender
22
15
  };
@@ -9,6 +9,12 @@ var const_array_daysOfWeek = [
9
9
  "Ch\u1EE7 Nh\u1EADt"
10
10
  ];
11
11
 
12
+ // src/const/object/const_aqModuleId.ts
13
+ var const_aqModuleId = {
14
+ SAE: 1,
15
+ SRM: 8
16
+ };
17
+
12
18
  // src/const/object/const_columnSize.ts
13
19
  var const_columnSize = {
14
20
  name: 300,
@@ -80,9 +86,10 @@ var const_object_generalMenuData = {
80
86
  };
81
87
 
82
88
  export {
89
+ const_object_colors,
83
90
  const_array_daysOfWeek,
91
+ const_aqModuleId,
84
92
  const_columnSize,
85
- const_object_colors,
86
93
  const_object_documentTypes,
87
94
  const_object_generalMenuData
88
95
  };
@@ -1,14 +1,14 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React__default, { ReactNode, ComponentProps } from 'react';
3
- import { t as type_action, a as type_mantineSize } from '../types-DtncEH_a.mjs';
3
+ import { t as type_action, a as type_mantineSize } from '../types-B-6r-g-i.mjs';
4
4
  import { ActionIconProps, ButtonProps, useModalsStack, CheckboxProps, SelectProps, NumberFormatterProps, FieldsetProps, FileInputProps, NumberInputProps, TextareaProps, MantineSize, InputWrapperProps, TextInputProps, ContainerProps, FlexProps, GroupProps, TypographyStylesProviderProps, TabsProps, SkeletonProps } from '@mantine/core';
5
5
  import { AxiosResponse } from 'axios';
6
6
  import { M as MyApiResponse, a as MyReactMutationProps } from '../useMyReactMutation-BaxKHWOS.mjs';
7
7
  import { useDisclosure, useListState } from '@mantine/hooks';
8
8
  import { UseFormReturnType, useForm } from '@mantine/form';
9
9
  import { I as I_BasicAppShell_LinkItem, B as BasicAppShellProps } from '../types-km2g-xx5.mjs';
10
- import { M as MyButtonModal$1 } from '../MyDataTable-BJn8oc9t.mjs';
11
- export { c as MyDataTable, a as MyDataTableInternalProps, b as MyDataTableProps, P as PaginationState } from '../MyDataTable-BJn8oc9t.mjs';
10
+ import { M as MyButtonModal$1 } from '../MyDataTable-Dh_4yK3y.mjs';
11
+ export { c as MyDataTable, a as MyDataTableInternalProps, b as MyDataTableProps, P as PaginationState } from '../MyDataTable-Dh_4yK3y.mjs';
12
12
  import { I as IUtils_Excel_ColumnConfig } from '../utils_excel-BfUQ3dS3.mjs';
13
13
  import { MRT_ColumnDef, MRT_RowData, MRT_TableOptions, MRT_TableInstance } from 'mantine-react-table';
14
14
  import { DateInputProps } from '@mantine/dates';
@@ -70,17 +70,17 @@ import {
70
70
  useHeaderMegaMenuStore,
71
71
  useS_ButtonImport,
72
72
  useStore_BasicAppShell
73
- } from "../chunk-5GSBFIC5.mjs";
74
- import "../chunk-PHIQKJYJ.mjs";
73
+ } from "../chunk-GOAT7JF5.mjs";
75
74
  import "../chunk-QWHUDAPC.mjs";
76
75
  import "../chunk-E4JVWPXS.mjs";
76
+ import "../chunk-PHIQKJYJ.mjs";
77
77
  import "../chunk-O7YCQQO5.mjs";
78
78
  import "../chunk-QSWIVDXC.mjs";
79
- import "../chunk-FE4HVT67.mjs";
79
+ import "../chunk-UGZCLGBH.mjs";
80
80
  import "../chunk-K6S7R6LU.mjs";
81
81
  import "../chunk-SFW5CGI3.mjs";
82
- import "../chunk-WZ6PXGGC.mjs";
83
82
  import "../chunk-7ZCOFATU.mjs";
83
+ import "../chunk-WZ6PXGGC.mjs";
84
84
  import "../chunk-JD6AELXS.mjs";
85
85
  export {
86
86
  AQButtonCreateByImportFile,
@@ -1,3 +1,4 @@
1
+ export { A as AqModuleId, c as const_aqModuleId } from '../const_aqModuleId-C8canfSx.mjs';
1
2
  import { I as I_BasicAppShell_LinkItem } from '../types-km2g-xx5.mjs';
2
3
 
3
4
  declare const const_array_daysOfWeek: string[];
@@ -1,12 +1,14 @@
1
1
  import {
2
+ const_aqModuleId,
2
3
  const_array_daysOfWeek,
3
4
  const_columnSize,
4
5
  const_object_colors,
5
6
  const_object_documentTypes,
6
7
  const_object_generalMenuData
7
- } from "../chunk-FE4HVT67.mjs";
8
+ } from "../chunk-UGZCLGBH.mjs";
8
9
  import "../chunk-JD6AELXS.mjs";
9
10
  export {
11
+ const_aqModuleId,
10
12
  const_array_daysOfWeek,
11
13
  const_columnSize,
12
14
  const_object_colors,
@@ -0,0 +1,7 @@
1
+ declare const const_aqModuleId: {
2
+ readonly SAE: 1;
3
+ readonly SRM: 8;
4
+ };
5
+ type AqModuleId = typeof const_aqModuleId[keyof typeof const_aqModuleId];
6
+
7
+ export { type AqModuleId as A, const_aqModuleId as c };
@@ -1,5 +1,5 @@
1
- import { d as MyActionIconProps, e as MyButtonProps, f as MyButtonModalProps, b as MyDataTableProps } from '../MyDataTable-BJn8oc9t.mjs';
2
- export { g as MyActionIcon, h as MyButton, M as MyButtonModal } from '../MyDataTable-BJn8oc9t.mjs';
1
+ import { d as MyActionIconProps, e as MyButtonProps, f as MyButtonModalProps, b as MyDataTableProps } from '../MyDataTable-Dh_4yK3y.mjs';
2
+ export { g as MyActionIcon, h as MyButton, M as MyButtonModal } from '../MyDataTable-Dh_4yK3y.mjs';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { useDisclosure } from '@mantine/hooks';
5
5
  import { UseFormReturnType } from '@mantine/form';
@@ -16,7 +16,7 @@ import { UseEditorOptions } from '@tiptap/react';
16
16
  import { M as MySelectProps } from '../MySelect-CEgpggSF.mjs';
17
17
  export { a as MySelect } from '../MySelect-CEgpggSF.mjs';
18
18
  import { I as IBaseEntity } from '../IBaseEntity-ChMy9RzQ.mjs';
19
- import '../types-DtncEH_a.mjs';
19
+ import '../types-B-6r-g-i.mjs';
20
20
  import '../type_mutation-CCtnyeP3.mjs';
21
21
 
22
22
  interface CoreButtonCreateUpdateProps<IReq, IRes> {
@@ -29,17 +29,17 @@ import {
29
29
  MyStatsCard,
30
30
  MyTextInput2 as MyTextInput,
31
31
  MyWeeklySessionSchedulerPicker
32
- } from "../chunk-5GSBFIC5.mjs";
33
- import "../chunk-PHIQKJYJ.mjs";
32
+ } from "../chunk-GOAT7JF5.mjs";
34
33
  import "../chunk-QWHUDAPC.mjs";
35
34
  import "../chunk-E4JVWPXS.mjs";
35
+ import "../chunk-PHIQKJYJ.mjs";
36
36
  import "../chunk-O7YCQQO5.mjs";
37
37
  import "../chunk-QSWIVDXC.mjs";
38
- import "../chunk-FE4HVT67.mjs";
38
+ import "../chunk-UGZCLGBH.mjs";
39
39
  import "../chunk-K6S7R6LU.mjs";
40
40
  import "../chunk-SFW5CGI3.mjs";
41
- import "../chunk-WZ6PXGGC.mjs";
42
41
  import "../chunk-7ZCOFATU.mjs";
42
+ import "../chunk-WZ6PXGGC.mjs";
43
43
  import "../chunk-JD6AELXS.mjs";
44
44
  export {
45
45
  CustomAutocomplete,
@@ -1,5 +1,3 @@
1
- export { A as AqModuleId, e as enum_aqModuleId } from '../enum_aqModuleId-7lQ2EqGb.mjs';
2
-
3
1
  declare enum enum_daysOfWeek {
4
2
  "Thứ Hai" = 1,
5
3
  "Thứ Ba" = 2,
@@ -1,15 +1,13 @@
1
1
  import {
2
2
  enumLabel_gender,
3
- enum_aqModuleId,
4
3
  enum_gender
5
- } from "../chunk-26JU633I.mjs";
4
+ } from "../chunk-RGUQWALX.mjs";
6
5
  import {
7
6
  enum_daysOfWeek
8
7
  } from "../chunk-K6S7R6LU.mjs";
9
8
  import "../chunk-JD6AELXS.mjs";
10
9
  export {
11
10
  enumLabel_gender,
12
- enum_aqModuleId,
13
11
  enum_daysOfWeek,
14
12
  enum_gender
15
13
  };
@@ -14,8 +14,8 @@ import {
14
14
  useMyRouter,
15
15
  useQ_AQ_GetAQModule
16
16
  } from "../chunk-SFW5CGI3.mjs";
17
- import "../chunk-WZ6PXGGC.mjs";
18
17
  import "../chunk-7ZCOFATU.mjs";
18
+ import "../chunk-WZ6PXGGC.mjs";
19
19
  import "../chunk-JD6AELXS.mjs";
20
20
  export {
21
21
  createBaseApi,
@@ -113,17 +113,17 @@ import {
113
113
  MailTemplateDeleteButton,
114
114
  useS_moduleConfig,
115
115
  useStore_Authenticate
116
- } from "../chunk-5GSBFIC5.mjs";
117
- import "../chunk-PHIQKJYJ.mjs";
116
+ } from "../chunk-GOAT7JF5.mjs";
118
117
  import "../chunk-QWHUDAPC.mjs";
119
118
  import "../chunk-E4JVWPXS.mjs";
119
+ import "../chunk-PHIQKJYJ.mjs";
120
120
  import "../chunk-O7YCQQO5.mjs";
121
121
  import "../chunk-QSWIVDXC.mjs";
122
- import "../chunk-FE4HVT67.mjs";
122
+ import "../chunk-UGZCLGBH.mjs";
123
123
  import "../chunk-K6S7R6LU.mjs";
124
124
  import "../chunk-SFW5CGI3.mjs";
125
- import "../chunk-WZ6PXGGC.mjs";
126
125
  import "../chunk-7ZCOFATU.mjs";
126
+ import "../chunk-WZ6PXGGC.mjs";
127
127
  import "../chunk-JD6AELXS.mjs";
128
128
  export {
129
129
  AcademicYearsCreate,
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  enumLabel_gender,
3
3
  enum_gender
4
- } from "../chunk-26JU633I.mjs";
4
+ } from "../chunk-RGUQWALX.mjs";
5
5
  import {
6
6
  MySelect
7
- } from "../chunk-5GSBFIC5.mjs";
7
+ } from "../chunk-GOAT7JF5.mjs";
8
+ import "../chunk-QWHUDAPC.mjs";
9
+ import "../chunk-E4JVWPXS.mjs";
8
10
  import {
9
11
  utils_converter
10
12
  } from "../chunk-PHIQKJYJ.mjs";
11
- import "../chunk-QWHUDAPC.mjs";
12
- import "../chunk-E4JVWPXS.mjs";
13
13
  import "../chunk-O7YCQQO5.mjs";
14
14
  import "../chunk-QSWIVDXC.mjs";
15
- import "../chunk-FE4HVT67.mjs";
15
+ import "../chunk-UGZCLGBH.mjs";
16
16
  import "../chunk-K6S7R6LU.mjs";
17
17
  import "../chunk-SFW5CGI3.mjs";
18
- import "../chunk-WZ6PXGGC.mjs";
19
18
  import "../chunk-7ZCOFATU.mjs";
19
+ import "../chunk-WZ6PXGGC.mjs";
20
20
  import {
21
21
  __objRest,
22
22
  __spreadValues
@@ -1,6 +1,6 @@
1
1
  import * as zustand from 'zustand';
2
2
  import { I as IPagePermission } from '../IPagePermission-992CbJhp.mjs';
3
- import { A as AqModuleId } from '../enum_aqModuleId-7lQ2EqGb.mjs';
3
+ import { A as AqModuleId } from '../const_aqModuleId-C8canfSx.mjs';
4
4
 
5
5
  interface AppState {
6
6
  currentPageId?: number | null;
@@ -1,4 +1,4 @@
1
- export { t as type_action, a as type_mantineSize, b as type_tempStatus } from '../types-DtncEH_a.mjs';
1
+ export { t as type_action, c as type_language, a as type_mantineSize, b as type_tempStatus } from '../types-B-6r-g-i.mjs';
2
2
  export { a as typeLabel_mutation, t as type_mutation } from '../type_mutation-CCtnyeP3.mjs';
3
3
  import '@mantine/core';
4
4
 
@@ -2,6 +2,7 @@ import { MantineSize } from '@mantine/core';
2
2
 
3
3
  type type_mantineSize = number | MantineSize | (string & {}) | undefined;
4
4
  type type_tempStatus = "default" | "created" | "updated" | "deleted";
5
+ type type_language = "vi" | 'en';
5
6
  type type_action = "default" | "create" | "update" | "delete" | "save" | "createMultiple" | "check" | "import" | "print" | "cancel" | "export" | "select" | "find" | "tempDelete" | "tempUpdate" | "viewFile" | "sendMail";
6
7
 
7
- export type { type_mantineSize as a, type_tempStatus as b, type_action as t };
8
+ export type { type_mantineSize as a, type_tempStatus as b, type_language as c, type_action as t };
package/package.json CHANGED
@@ -54,7 +54,7 @@
54
54
  "types": "./dist/types/index.d.mts"
55
55
  }
56
56
  },
57
- "version": "0.1.893",
57
+ "version": "0.1.895",
58
58
  "private": false,
59
59
  "files": [
60
60
  "dist"
@@ -1,7 +0,0 @@
1
- declare const enum_aqModuleId: {
2
- readonly SAE: 1;
3
- readonly SRM: 8;
4
- };
5
- type AqModuleId = typeof enum_aqModuleId[keyof typeof enum_aqModuleId];
6
-
7
- export { type AqModuleId as A, enum_aqModuleId as e };