aq-fe-framework 0.1.1105 → 0.1.1107
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/{chunk-33D4LM7R.mjs → chunk-PCC46FBV.mjs} +610 -564
- package/dist/components/index.mjs +1 -1
- package/dist/core/index.d.mts +7 -1
- package/dist/core/index.mjs +3 -1
- package/dist/modules-features/index.d.mts +1 -11
- package/dist/modules-features/index.mjs +1 -3
- package/dist/shared/index.d.mts +12 -2
- package/dist/shared/index.mjs +4 -2
- package/package.json +1 -1
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
getReadablePageIdSet,
|
|
66
66
|
useHeaderMegaMenuStore,
|
|
67
67
|
useStore_BasicAppShell
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-PCC46FBV.mjs";
|
|
69
69
|
import "../chunk-WW55EZ4B.mjs";
|
|
70
70
|
import "../chunk-KGBXMHKR.mjs";
|
|
71
71
|
import "../chunk-7ZI7IOEP.mjs";
|
package/dist/core/index.d.mts
CHANGED
|
@@ -324,10 +324,16 @@ interface CustomDeleteListAPIProps<TData extends MRT_RowData> extends Omit<MyBut
|
|
|
324
324
|
}
|
|
325
325
|
declare function CustomButtonDeleteListAPI<TData extends MRT_RowData>({ deleteListFn, table, ...rest }: CustomDeleteListAPIProps<TData>): react_jsx_runtime.JSX.Element;
|
|
326
326
|
|
|
327
|
+
interface CustomSelectAPIProps<IRes extends IBaseEntity> extends MySelectProps {
|
|
328
|
+
query: ReturnType<typeof useMyReactQuery<IRes[], any>>;
|
|
329
|
+
autoSelectFirst?: boolean;
|
|
330
|
+
}
|
|
331
|
+
declare function CustomSelectAPI<IRes extends IBaseEntity>({ query, autoSelectFirst, value, onChange, ...rest }: CustomSelectAPIProps<IRes>): react_jsx_runtime.JSX.Element;
|
|
332
|
+
|
|
327
333
|
interface MyButtonViewFileAPIProps extends MyButtonViewFileProps {
|
|
328
334
|
filePath?: string;
|
|
329
335
|
externalDisc?: UseDisclosureReturnValue;
|
|
330
336
|
}
|
|
331
337
|
declare function MyButtonViewFileAPI({ filePath, externalDisc, ...rest }: MyButtonViewFileAPIProps): react_jsx_runtime.JSX.Element;
|
|
332
338
|
|
|
333
|
-
export { CustomAutocomplete, CustomButtonDeleteListAPI, CustomDataTableAPI, CustomEnumBadge, CustomNumberInput, type CustomNumberInputProps, CustomPhoneNumberInput, CustomSwitchTheme, CustomTabs, CustomThemeIconSquareCheck, DroppablePlaceholder, type FieldDefinition, type IWeeklySession, type ModalImportId, MyActionIconProps, MyButtonCreateUpdate, type MyButtonCreateUpdateProps, type MyButtonExportStructureProps, MyButtonModalForm, type MyButtonModalFormProps, MyButtonModalProps, MyButtonPrintPDF, type MyButtonPrintPDFProps, MyButtonProps, MyButtonViewFile, MyButtonViewFileAPI, type MyButtonViewFileProps, MyDataTableSelectOne, MyDataTableStagedChanges, type MyDataTableStagedChangesProps, MyDayOfWeekPicker, MyFileInputPreview, MyFlexColumn, MyFlexEnd, MyFlexIconTitle, MyInfoBox, type MyInfoBoxItem, type MyInfoBoxProps, MyLabelValueRow, MyModalImport, MyPrintContent, type MyPrintContentProps, MyRichTextEditor, MySelectFromAPI, type MySelectFromAPIProps, MySelectProps, MyStatsCard, MyTextInput, type MyTextInputProps, MyWeeklySessionSchedulerPicker, type RowDetail, type StagedChange, type ValidationResult, type WeeklySessionSchedulerProps };
|
|
339
|
+
export { CustomAutocomplete, CustomButtonDeleteListAPI, CustomDataTableAPI, CustomEnumBadge, CustomNumberInput, type CustomNumberInputProps, CustomPhoneNumberInput, CustomSelectAPI, type CustomSelectAPIProps, CustomSwitchTheme, CustomTabs, CustomThemeIconSquareCheck, DroppablePlaceholder, type FieldDefinition, type IWeeklySession, type ModalImportId, MyActionIconProps, MyButtonCreateUpdate, type MyButtonCreateUpdateProps, type MyButtonExportStructureProps, MyButtonModalForm, type MyButtonModalFormProps, MyButtonModalProps, MyButtonPrintPDF, type MyButtonPrintPDFProps, MyButtonProps, MyButtonViewFile, MyButtonViewFileAPI, type MyButtonViewFileProps, MyDataTableSelectOne, MyDataTableStagedChanges, type MyDataTableStagedChangesProps, MyDayOfWeekPicker, MyFileInputPreview, MyFlexColumn, MyFlexEnd, MyFlexIconTitle, MyInfoBox, type MyInfoBoxItem, type MyInfoBoxProps, MyLabelValueRow, MyModalImport, MyPrintContent, type MyPrintContentProps, MyRichTextEditor, MySelectFromAPI, type MySelectFromAPIProps, MySelectProps, MyStatsCard, MyTextInput, type MyTextInputProps, MyWeeklySessionSchedulerPicker, type RowDetail, type StagedChange, type ValidationResult, type WeeklySessionSchedulerProps };
|
package/dist/core/index.mjs
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
CustomEnumBadge,
|
|
6
6
|
CustomNumberInput,
|
|
7
7
|
CustomPhoneNumberInput,
|
|
8
|
+
CustomSelectAPI,
|
|
8
9
|
CustomSwitchTheme,
|
|
9
10
|
CustomTabs,
|
|
10
11
|
CustomThemeIconSquareCheck,
|
|
@@ -34,7 +35,7 @@ import {
|
|
|
34
35
|
MyStatsCard,
|
|
35
36
|
MyTextInput2 as MyTextInput,
|
|
36
37
|
MyWeeklySessionSchedulerPicker
|
|
37
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-PCC46FBV.mjs";
|
|
38
39
|
import "../chunk-WW55EZ4B.mjs";
|
|
39
40
|
import "../chunk-KGBXMHKR.mjs";
|
|
40
41
|
import "../chunk-7ZI7IOEP.mjs";
|
|
@@ -52,6 +53,7 @@ export {
|
|
|
52
53
|
CustomEnumBadge,
|
|
53
54
|
CustomNumberInput,
|
|
54
55
|
CustomPhoneNumberInput,
|
|
56
|
+
CustomSelectAPI,
|
|
55
57
|
CustomSwitchTheme,
|
|
56
58
|
CustomTabs,
|
|
57
59
|
CustomThemeIconSquareCheck,
|
|
@@ -66,16 +66,6 @@ declare enum ENUM_REPEAT_CYCLE {
|
|
|
66
66
|
'Hàng năm' = 5
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
interface ISelect$1 extends SelectProps {
|
|
70
|
-
documentTypeId?: number;
|
|
71
|
-
label?: string;
|
|
72
|
-
dataMapper?: (item: any) => {
|
|
73
|
-
value: string;
|
|
74
|
-
label: string;
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
declare function F_core18256_Select({ documentTypeId, label, dataMapper, ...rest }: ISelect$1): react_jsx_runtime.JSX.Element | "Loading...";
|
|
78
|
-
|
|
79
69
|
declare function DepartmentFeature(): react_jsx_runtime.JSX.Element;
|
|
80
70
|
|
|
81
71
|
type DocumentTypes = {
|
|
@@ -572,4 +562,4 @@ interface Feat_TokenExpiredProps {
|
|
|
572
562
|
}
|
|
573
563
|
declare function Feat_TokenExpired({ loginRedirect }: Feat_TokenExpiredProps): react_jsx_runtime.JSX.Element;
|
|
574
564
|
|
|
575
|
-
export { AcademicYearsCreate, AcademicYearsDelete, AcademicYearsDeleteList, AcademicYearsRead, AcademicYearsUpdate, AccountManagement_DeleteUser, AccountManagement_ReadUser, CodeFormulaRead, DepartmentFeature, ENUM_BUSINESS_TYPE, ENUM_OBJECT_TYPE, ENUM_REPEAT_CYCLE, EmailTemplateCreateUpdateButton, EmailTemplateTable, F_accountManagement, F_authenticate_SplashPage,
|
|
565
|
+
export { AcademicYearsCreate, AcademicYearsDelete, AcademicYearsDeleteList, AcademicYearsRead, AcademicYearsUpdate, AccountManagement_DeleteUser, AccountManagement_ReadUser, CodeFormulaRead, DepartmentFeature, ENUM_BUSINESS_TYPE, ENUM_OBJECT_TYPE, ENUM_REPEAT_CYCLE, EmailTemplateCreateUpdateButton, EmailTemplateTable, F_accountManagement, F_authenticate_SplashPage, F_documentCategories, F_documentCategories_Create, F_documentCategories_Delete, F_documentCategories_Read, F_documentCategories_Select, F_documentCategories_Update, F_formTemplateDocs, F_formTemplateDocs_Create, F_formTemplateDocs_Delete, F_formTemplateDocs_Read, F_formTemplateDocs_Update, F_mailConfig_CreateUpdate, F_mailConfig_Delete, F_mailConfig_Read, F_moduleConfig, F_organizationPolicyDocs, F_organizationPolicyDocs_Create, F_organizationPolicyDocs_Delete, F_organizationPolicyDocs_Update, F_securityPolicyDocs, F_securityPolicyDocs_Create, F_securityPolicyDocs_Delete, F_securityPolicyDocs_Update, F_systemUpdateDocs, F_systemUpdateDocs_Create, F_systemUpdateDocs_Delete, F_systemUpdateDocs_Update, F_userGuideDocs, F_userGuideDocs_Create, F_userGuideDocs_Delete, F_userGuideDocs_Read, F_userGuideDocs_Update, F_workflowProcessDocs, F_workflowProcessDocs_Create, F_workflowProcessDocs_Delete, F_workflowProcessDocs_Read, F_workflowProcessDocs_Update, Feat_Authenticate_Login, Feat_Authenticate_Logout, Feat_Authenticate_SSOHandler, Feat_PageContentTable, Feat_RoleManagement, Feat_TokenExpired, Feat_accessControl, Feat_accessControlLevel, type IStore_Authenticate, type I_moduleConfig_AQModule, LecturerListTable, MailTemplateDeleteButton, type emailTemplateEnum, useS_moduleConfig, useStore_Authenticate };
|
|
@@ -15,7 +15,6 @@ import {
|
|
|
15
15
|
EmailTemplateTable,
|
|
16
16
|
F_accountManagement,
|
|
17
17
|
F_authenticate_SplashPage,
|
|
18
|
-
F_core18256_Select,
|
|
19
18
|
F_documentCategories,
|
|
20
19
|
F_documentCategories_Create,
|
|
21
20
|
F_documentCategories_Delete,
|
|
@@ -65,7 +64,7 @@ import {
|
|
|
65
64
|
MailTemplateDeleteButton,
|
|
66
65
|
useS_moduleConfig,
|
|
67
66
|
useStore_Authenticate
|
|
68
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-PCC46FBV.mjs";
|
|
69
68
|
import "../chunk-WW55EZ4B.mjs";
|
|
70
69
|
import "../chunk-KGBXMHKR.mjs";
|
|
71
70
|
import "../chunk-7ZI7IOEP.mjs";
|
|
@@ -93,7 +92,6 @@ export {
|
|
|
93
92
|
EmailTemplateTable,
|
|
94
93
|
F_accountManagement,
|
|
95
94
|
F_authenticate_SplashPage,
|
|
96
|
-
F_core18256_Select,
|
|
97
95
|
F_documentCategories,
|
|
98
96
|
F_documentCategories_Create,
|
|
99
97
|
F_documentCategories_Delete,
|
package/dist/shared/index.d.mts
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { SelectProps } from '@mantine/core';
|
|
2
3
|
import { M as MySelectProps } from '../MySelect-CEgpggSF.mjs';
|
|
3
|
-
import '@mantine/core';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
|
6
|
+
interface ISelect extends SelectProps {
|
|
7
|
+
documentTypeId?: number;
|
|
8
|
+
label?: string;
|
|
9
|
+
dataMapper?: (item: any) => {
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
declare function Shared_DocTypeSelect({ documentTypeId, label, dataMapper, ...rest }: ISelect): react_jsx_runtime.JSX.Element | "Loading...";
|
|
15
|
+
|
|
6
16
|
interface Shared_GenderSelectProps extends MySelectProps {
|
|
7
17
|
}
|
|
8
18
|
declare function Shared_GenderSelect({ ...rest }: Shared_GenderSelectProps): react_jsx_runtime.JSX.Element;
|
|
9
19
|
|
|
10
|
-
export { Shared_GenderSelect };
|
|
20
|
+
export { Shared_DocTypeSelect, Shared_GenderSelect };
|
package/dist/shared/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
MySelect2 as MySelect
|
|
3
|
-
|
|
2
|
+
MySelect2 as MySelect,
|
|
3
|
+
Shared_DocTypeSelect
|
|
4
|
+
} from "../chunk-PCC46FBV.mjs";
|
|
4
5
|
import "../chunk-WW55EZ4B.mjs";
|
|
5
6
|
import "../chunk-KGBXMHKR.mjs";
|
|
6
7
|
import {
|
|
@@ -39,5 +40,6 @@ function Shared_GenderSelect(_a) {
|
|
|
39
40
|
);
|
|
40
41
|
}
|
|
41
42
|
export {
|
|
43
|
+
Shared_DocTypeSelect,
|
|
42
44
|
Shared_GenderSelect
|
|
43
45
|
};
|