aq-fe-framework 0.1.982 → 0.1.983
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/{MyDataTable-CMyQiQlN.d.mts → MyDataTable-BzUyUBE2.d.mts} +1 -1
- package/dist/{chunk-YELDVPAG.mjs → chunk-LTK2Y5BI.mjs} +24 -12
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.mjs +3 -3
- package/dist/const/index.mjs +1 -1
- package/dist/core/index.d.mts +3 -3
- package/dist/core/index.mjs +3 -3
- package/dist/modules-features/index.mjs +3 -3
- package/dist/shared/index.mjs +3 -3
- package/dist/{type_action-BxnwS7z5.d.mts → type_action-hMF6_2Mr.d.mts} +1 -1
- package/dist/types/index.d.mts +1 -1
- package/package.json +1 -1
- package/dist/{chunk-SPG47QW7.mjs → chunk-4IP2EYUM.mjs} +1 -1
|
@@ -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 './type_action-
|
|
5
|
+
import { t as type_action } from './type_action-hMF6_2Mr.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 {
|
|
@@ -3,12 +3,6 @@ import {
|
|
|
3
3
|
useStore_Permission,
|
|
4
4
|
useStore_ProjectInfo
|
|
5
5
|
} from "./chunk-PKP6EDBO.mjs";
|
|
6
|
-
import {
|
|
7
|
-
utils_date,
|
|
8
|
-
utils_excel,
|
|
9
|
-
utils_file,
|
|
10
|
-
utils_mantineReactTable
|
|
11
|
-
} from "./chunk-7ZI7IOEP.mjs";
|
|
12
6
|
import {
|
|
13
7
|
utils_aq_mapBaseEntityToDomain,
|
|
14
8
|
utils_aq_mapDomainToEntity,
|
|
@@ -23,16 +17,22 @@ import {
|
|
|
23
17
|
utils_notification_show,
|
|
24
18
|
utils_pdf_download
|
|
25
19
|
} from "./chunk-KGBXMHKR.mjs";
|
|
20
|
+
import {
|
|
21
|
+
utils_date,
|
|
22
|
+
utils_excel,
|
|
23
|
+
utils_file,
|
|
24
|
+
utils_mantineReactTable
|
|
25
|
+
} from "./chunk-7ZI7IOEP.mjs";
|
|
26
26
|
import {
|
|
27
27
|
createGenericStore
|
|
28
28
|
} from "./chunk-BTITP4TN.mjs";
|
|
29
|
-
import {
|
|
30
|
-
enum_daysOfWeek
|
|
31
|
-
} from "./chunk-K6S7R6LU.mjs";
|
|
32
29
|
import {
|
|
33
30
|
const_object_colors,
|
|
34
31
|
const_object_documentTypes
|
|
35
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-4IP2EYUM.mjs";
|
|
33
|
+
import {
|
|
34
|
+
enum_daysOfWeek
|
|
35
|
+
} from "./chunk-K6S7R6LU.mjs";
|
|
36
36
|
import {
|
|
37
37
|
createBaseApi,
|
|
38
38
|
useConfig,
|
|
@@ -107,6 +107,7 @@ import {
|
|
|
107
107
|
IconPencil,
|
|
108
108
|
IconPlus,
|
|
109
109
|
IconPrinter,
|
|
110
|
+
IconRefresh,
|
|
110
111
|
IconSelect,
|
|
111
112
|
IconTrash,
|
|
112
113
|
IconX
|
|
@@ -182,6 +183,10 @@ var getActionConfig = (colorScheme) => ({
|
|
|
182
183
|
validate: {
|
|
183
184
|
color: "orange",
|
|
184
185
|
children: /* @__PURE__ */ jsx3(IconChecklist, {})
|
|
186
|
+
},
|
|
187
|
+
sync: {
|
|
188
|
+
color: "green",
|
|
189
|
+
children: /* @__PURE__ */ jsx3(IconRefresh, {})
|
|
185
190
|
}
|
|
186
191
|
});
|
|
187
192
|
function MyActionIcon(_a) {
|
|
@@ -213,6 +218,7 @@ import {
|
|
|
213
218
|
IconMail as IconMail2,
|
|
214
219
|
IconPlus as IconPlus2,
|
|
215
220
|
IconPrinter as IconPrinter2,
|
|
221
|
+
IconRefresh as IconRefresh2,
|
|
216
222
|
IconSearch,
|
|
217
223
|
IconSelect as IconSelect2,
|
|
218
224
|
IconTrash as IconTrash2,
|
|
@@ -301,6 +307,12 @@ var getActionConfig2 = (colorScheme) => ({
|
|
|
301
307
|
variant: "outline",
|
|
302
308
|
children: "Ki\u1EC3m tra",
|
|
303
309
|
leftSection: /* @__PURE__ */ jsx4(IconChecklist2, {})
|
|
310
|
+
},
|
|
311
|
+
sync: {
|
|
312
|
+
color: "green",
|
|
313
|
+
variant: "outline",
|
|
314
|
+
children: "\u0110\u1ED3ng b\u1ED9",
|
|
315
|
+
leftSection: /* @__PURE__ */ jsx4(IconRefresh2, {})
|
|
304
316
|
}
|
|
305
317
|
});
|
|
306
318
|
function MyButton(_a) {
|
|
@@ -10170,7 +10182,7 @@ import { useDisclosure as useDisclosure13 } from "@mantine/hooks";
|
|
|
10170
10182
|
|
|
10171
10183
|
// src/modules/User/usecase/Usecase_UserAsyncFromEdusoftnet.tsx
|
|
10172
10184
|
import { Button as Button17, Center as Center7, Modal as Modal15, Text as Text17 } from "@mantine/core";
|
|
10173
|
-
import { IconRefresh } from "@tabler/icons-react";
|
|
10185
|
+
import { IconRefresh as IconRefresh3 } from "@tabler/icons-react";
|
|
10174
10186
|
import { Fragment as Fragment19, jsx as jsx84, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
10175
10187
|
function Usecase_UserAsyncFromEdusoftnet({
|
|
10176
10188
|
disclosure,
|
|
@@ -10178,7 +10190,7 @@ function Usecase_UserAsyncFromEdusoftnet({
|
|
|
10178
10190
|
isLoading
|
|
10179
10191
|
}) {
|
|
10180
10192
|
return /* @__PURE__ */ jsxs46(Fragment19, { children: [
|
|
10181
|
-
/* @__PURE__ */ jsx84(Button17, { color: "green", loading: isLoading, leftSection: /* @__PURE__ */ jsx84(
|
|
10193
|
+
/* @__PURE__ */ jsx84(Button17, { color: "green", loading: isLoading, leftSection: /* @__PURE__ */ jsx84(IconRefresh3, {}), onClick: onStartSync, children: "\u0110\u1ED3ng b\u1ED9 t\u1EEB Edusoft.Net" }),
|
|
10182
10194
|
/* @__PURE__ */ jsxs46(Modal15, { title: "Th\xF4ng b\xE1o \u0111\u1ED3ng b\u1ED9", onClose: disclosure[1].close, opened: disclosure[0], children: [
|
|
10183
10195
|
/* @__PURE__ */ jsx84(Text17, { children: `\u0110\xE3 \u0111\u1ED3ng b\u1ED9 t\xE0i kho\u1EA3n ng\u01B0\u1EDDi d\xF9ng t\u1EEB h\u1EC7 th\u1ED1ng Edusoft.NET v\u1EDBi tr\u1EA1ng th\xE1i "\u0110ang ho\u1EA1t \u0111\u1ED9ng". B\u1EA1n vui l\xF2ng ki\u1EC3m tra l\u1EA1i` }),
|
|
10184
10196
|
/* @__PURE__ */ jsx84(Center7, { children: /* @__PURE__ */ jsx84(Button17, { onClick: disclosure[1].close, children: "\u0110\u1ED3ng \xFD" }) })
|
|
@@ -1,6 +1,6 @@
|
|
|
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 } from '../type_action-
|
|
3
|
+
import { t as type_action } from '../type_action-hMF6_2Mr.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-D8XdiELk.mjs';
|
|
@@ -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-
|
|
12
|
-
export { h as MyDataTable, g as MyDataTableInternalProps, c as MyDataTableProps, P as PaginationState } from '../MyDataTable-
|
|
11
|
+
import { f as MyButtonModal$1 } from '../MyDataTable-BzUyUBE2.mjs';
|
|
12
|
+
export { h as MyDataTable, g as MyDataTableInternalProps, c as MyDataTableProps, P as PaginationState } from '../MyDataTable-BzUyUBE2.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';
|
|
@@ -68,14 +68,14 @@ import {
|
|
|
68
68
|
useHeaderMegaMenuStore,
|
|
69
69
|
useS_ButtonImport,
|
|
70
70
|
useStore_BasicAppShell
|
|
71
|
-
} from "../chunk-
|
|
71
|
+
} from "../chunk-LTK2Y5BI.mjs";
|
|
72
72
|
import "../chunk-PKP6EDBO.mjs";
|
|
73
|
-
import "../chunk-7ZI7IOEP.mjs";
|
|
74
73
|
import "../chunk-KGBXMHKR.mjs";
|
|
74
|
+
import "../chunk-7ZI7IOEP.mjs";
|
|
75
75
|
import "../chunk-GN5QFOCW.mjs";
|
|
76
76
|
import "../chunk-BTITP4TN.mjs";
|
|
77
|
+
import "../chunk-4IP2EYUM.mjs";
|
|
77
78
|
import "../chunk-K6S7R6LU.mjs";
|
|
78
|
-
import "../chunk-SPG47QW7.mjs";
|
|
79
79
|
import "../chunk-G2IMUVMM.mjs";
|
|
80
80
|
import "../chunk-WZ6PXGGC.mjs";
|
|
81
81
|
import "../chunk-YWANA62C.mjs";
|
package/dist/const/index.mjs
CHANGED
package/dist/core/index.d.mts
CHANGED
|
@@ -5,8 +5,8 @@ import { UseFormReturnType } from '@mantine/form';
|
|
|
5
5
|
import { AxiosResponse } from 'axios';
|
|
6
6
|
import { M as MyApiResponse, a as MyReactMutationProps } from '../useMyReactMutation-D8XdiELk.mjs';
|
|
7
7
|
import { ModalProps, ScrollAreaAutosizeProps, TooltipProps, ButtonProps, TextProps, PaperProps, GroupProps, ThemeIconProps, BadgeProps, AutocompleteProps, NumberInputProps, TextInputProps, FileInputProps, InputWrapperProps, FlexProps } from '@mantine/core';
|
|
8
|
-
import { M as MyActionIconProps, a as MyButtonProps, b as MyButtonModalProps, c as MyDataTableProps } from '../MyDataTable-
|
|
9
|
-
export { d as MyActionIcon, e as MyButton, f as MyButtonModal } from '../MyDataTable-
|
|
8
|
+
import { M as MyActionIconProps, a as MyButtonProps, b as MyButtonModalProps, c as MyDataTableProps } from '../MyDataTable-BzUyUBE2.mjs';
|
|
9
|
+
export { d as MyActionIcon, e as MyButton, f as MyButtonModal } from '../MyDataTable-BzUyUBE2.mjs';
|
|
10
10
|
import { UseReactToPrintOptions } from 'react-to-print';
|
|
11
11
|
import { I as IAQFileDetail } from '../utils_file-JlhzjLGS.mjs';
|
|
12
12
|
import { UseQueryResult, QueryKey, UseQueryOptions } from '@tanstack/react-query';
|
|
@@ -18,7 +18,7 @@ import { M as MySelectProps } from '../MySelect-CEgpggSF.mjs';
|
|
|
18
18
|
export { a as MySelect } from '../MySelect-CEgpggSF.mjs';
|
|
19
19
|
import { I as IBaseEntity } from '../IBaseEntity-Am9Cgybw.mjs';
|
|
20
20
|
import '../type_mutation-CCtnyeP3.mjs';
|
|
21
|
-
import '../type_action-
|
|
21
|
+
import '../type_action-hMF6_2Mr.mjs';
|
|
22
22
|
|
|
23
23
|
declare function CustomSwitchTheme(): react_jsx_runtime.JSX.Element | null;
|
|
24
24
|
|
package/dist/core/index.mjs
CHANGED
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
MyStatsCard,
|
|
32
32
|
MyTextInput2 as MyTextInput,
|
|
33
33
|
MyWeeklySessionSchedulerPicker
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-LTK2Y5BI.mjs";
|
|
35
35
|
import "../chunk-PKP6EDBO.mjs";
|
|
36
|
-
import "../chunk-7ZI7IOEP.mjs";
|
|
37
36
|
import "../chunk-KGBXMHKR.mjs";
|
|
37
|
+
import "../chunk-7ZI7IOEP.mjs";
|
|
38
38
|
import "../chunk-GN5QFOCW.mjs";
|
|
39
39
|
import "../chunk-BTITP4TN.mjs";
|
|
40
|
+
import "../chunk-4IP2EYUM.mjs";
|
|
40
41
|
import "../chunk-K6S7R6LU.mjs";
|
|
41
|
-
import "../chunk-SPG47QW7.mjs";
|
|
42
42
|
import "../chunk-G2IMUVMM.mjs";
|
|
43
43
|
import "../chunk-WZ6PXGGC.mjs";
|
|
44
44
|
import "../chunk-YWANA62C.mjs";
|
|
@@ -102,14 +102,14 @@ import {
|
|
|
102
102
|
MailTemplateDeleteButton,
|
|
103
103
|
useS_moduleConfig,
|
|
104
104
|
useStore_Authenticate
|
|
105
|
-
} from "../chunk-
|
|
105
|
+
} from "../chunk-LTK2Y5BI.mjs";
|
|
106
106
|
import "../chunk-PKP6EDBO.mjs";
|
|
107
|
-
import "../chunk-7ZI7IOEP.mjs";
|
|
108
107
|
import "../chunk-KGBXMHKR.mjs";
|
|
108
|
+
import "../chunk-7ZI7IOEP.mjs";
|
|
109
109
|
import "../chunk-GN5QFOCW.mjs";
|
|
110
110
|
import "../chunk-BTITP4TN.mjs";
|
|
111
|
+
import "../chunk-4IP2EYUM.mjs";
|
|
111
112
|
import "../chunk-K6S7R6LU.mjs";
|
|
112
|
-
import "../chunk-SPG47QW7.mjs";
|
|
113
113
|
import "../chunk-G2IMUVMM.mjs";
|
|
114
114
|
import "../chunk-WZ6PXGGC.mjs";
|
|
115
115
|
import "../chunk-YWANA62C.mjs";
|
package/dist/shared/index.mjs
CHANGED
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
} from "../chunk-RGUQWALX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
MySelect
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-LTK2Y5BI.mjs";
|
|
8
8
|
import "../chunk-PKP6EDBO.mjs";
|
|
9
|
+
import "../chunk-KGBXMHKR.mjs";
|
|
9
10
|
import {
|
|
10
11
|
utils_converter
|
|
11
12
|
} from "../chunk-7ZI7IOEP.mjs";
|
|
12
|
-
import "../chunk-KGBXMHKR.mjs";
|
|
13
13
|
import "../chunk-GN5QFOCW.mjs";
|
|
14
14
|
import "../chunk-BTITP4TN.mjs";
|
|
15
|
+
import "../chunk-4IP2EYUM.mjs";
|
|
15
16
|
import "../chunk-K6S7R6LU.mjs";
|
|
16
|
-
import "../chunk-SPG47QW7.mjs";
|
|
17
17
|
import "../chunk-G2IMUVMM.mjs";
|
|
18
18
|
import "../chunk-WZ6PXGGC.mjs";
|
|
19
19
|
import "../chunk-YWANA62C.mjs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
type type_action = "default" | "create" | "update" | "delete" | "save" | "createMultiple" | "import" | "print" | "cancel" | "export" | "select" | "find" | "tempDelete" | "tempUpdate" | "viewFile" | "sendMail" | "view" | "validate";
|
|
1
|
+
type type_action = "default" | "create" | "update" | "delete" | "save" | "createMultiple" | "import" | "print" | "cancel" | "export" | "select" | "find" | "tempDelete" | "tempUpdate" | "viewFile" | "sendMail" | "view" | "validate" | "sync";
|
|
2
2
|
|
|
3
3
|
export type { type_action as t };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MantineSize } from '@mantine/core';
|
|
2
|
-
export { t as type_action } from '../type_action-
|
|
2
|
+
export { t as type_action } from '../type_action-hMF6_2Mr.mjs';
|
|
3
3
|
export { a as typeLabel_mutation, t as type_mutation } from '../type_mutation-CCtnyeP3.mjs';
|
|
4
4
|
|
|
5
5
|
type type_mantineSize = number | MantineSize | (string & {}) | undefined;
|
package/package.json
CHANGED