aq-fe-framework 0.1.1149 → 0.1.1151

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,14 +4,6 @@ import {
4
4
  useStore_Permission,
5
5
  useStore_ProjectInfo
6
6
  } from "./chunk-WW55EZ4B.mjs";
7
- import {
8
- utils_currency,
9
- utils_date,
10
- utils_excel,
11
- utils_file,
12
- utils_mantineReactTable,
13
- utils_text
14
- } from "./chunk-HQRZOUVA.mjs";
15
7
  import {
16
8
  utils_aq_mapBaseEntityToDomain,
17
9
  utils_aq_mapDomainToEntity,
@@ -25,17 +17,25 @@ import {
25
17
  utils_notification_show,
26
18
  utils_pdf_download
27
19
  } from "./chunk-LZVUOVHO.mjs";
20
+ import {
21
+ utils_currency,
22
+ utils_date,
23
+ utils_excel,
24
+ utils_file,
25
+ utils_mantineReactTable,
26
+ utils_text
27
+ } from "./chunk-HQRZOUVA.mjs";
28
28
  import {
29
29
  createGenericStore
30
30
  } from "./chunk-BTITP4TN.mjs";
31
- import {
32
- enumLabel_gender,
33
- enum_daysOfWeek
34
- } from "./chunk-VFTEXXA7.mjs";
35
31
  import {
36
32
  const_object_colors,
37
33
  const_object_documentTypes
38
34
  } from "./chunk-S5NCYRRY.mjs";
35
+ import {
36
+ enumLabel_gender,
37
+ enum_daysOfWeek
38
+ } from "./chunk-VFTEXXA7.mjs";
39
39
  import {
40
40
  baseAxios_default,
41
41
  createBaseApi,
@@ -15655,7 +15655,7 @@ function MyButtonPrintPDF2({
15655
15655
  }
15656
15656
 
15657
15657
  // src/core/button/MyButtonCreateUpdate/MyButtonCreateUpdate.tsx
15658
- import { Modal as Modal15, ScrollArea as ScrollArea5, Space as Space7, Tooltip as Tooltip7, useMantineColorScheme as useMantineColorScheme5 } from "@mantine/core";
15658
+ import { Modal as Modal15, ScrollArea as ScrollArea5, Space as Space7, useMantineColorScheme as useMantineColorScheme5 } from "@mantine/core";
15659
15659
  import { useDisclosure as useDisclosure21 } from "@mantine/hooks";
15660
15660
  import { notifications as notifications7 } from "@mantine/notifications";
15661
15661
  import { useEffect as useEffect39 } from "react";
@@ -15673,7 +15673,6 @@ import { Fragment as Fragment29, jsx as jsx181, jsxs as jsxs100 } from "react/js
15673
15673
  function MyButtonCreateUpdate({
15674
15674
  modalProps,
15675
15675
  actionIconProps,
15676
- toolTipProps,
15677
15676
  buttonProps,
15678
15677
  submitButtonProps,
15679
15678
  form,
@@ -15745,13 +15744,13 @@ function MyButtonCreateUpdate({
15745
15744
  }
15746
15745
  }, [disclosure[0]]);
15747
15746
  return /* @__PURE__ */ jsxs100(Fragment29, { children: [
15748
- isUpdate == true ? /* @__PURE__ */ jsx181(Tooltip7, __spreadProps(__spreadValues({ label: toolTipProps == null ? void 0 : toolTipProps.label, hidden: !(toolTipProps == null ? void 0 : toolTipProps.label) }, toolTipProps), { children: /* @__PURE__ */ jsx181(
15747
+ isUpdate == true ? /* @__PURE__ */ jsx181(
15749
15748
  MyActionIcon2,
15750
15749
  __spreadValues({
15751
15750
  actionType: "update",
15752
15751
  onClick: disclosure[1].open
15753
15752
  }, actionIconProps)
15754
- ) })) : /* @__PURE__ */ jsx181(
15753
+ ) : /* @__PURE__ */ jsx181(
15755
15754
  MyButton,
15756
15755
  __spreadValues({
15757
15756
  actionType: "create",
@@ -65,14 +65,14 @@ import {
65
65
  getReadablePageIdSet,
66
66
  useHeaderMegaMenuStore,
67
67
  useStore_BasicAppShell
68
- } from "../chunk-RQFADA6O.mjs";
68
+ } from "../chunk-M2LQMGIP.mjs";
69
69
  import "../chunk-WW55EZ4B.mjs";
70
- import "../chunk-HQRZOUVA.mjs";
71
70
  import "../chunk-LZVUOVHO.mjs";
71
+ import "../chunk-HQRZOUVA.mjs";
72
72
  import "../chunk-NYAWQRB7.mjs";
73
73
  import "../chunk-BTITP4TN.mjs";
74
- import "../chunk-VFTEXXA7.mjs";
75
74
  import "../chunk-S5NCYRRY.mjs";
75
+ import "../chunk-VFTEXXA7.mjs";
76
76
  import "../chunk-Z76CSZFI.mjs";
77
77
  import "../chunk-WZ6PXGGC.mjs";
78
78
  import "../chunk-JD6AELXS.mjs";
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ButtonProps, ModalProps, ScrollAreaAutosizeProps, TooltipProps, TextProps, PaperProps, GroupProps, ThemeIconProps, BadgeProps, AutocompleteProps, NumberInputProps, TextInputProps, SwitchProps, FileInputProps, InputWrapperProps, FlexProps, TabsProps, TabsTabProps, MantineColor } from '@mantine/core';
2
+ import { ButtonProps, ModalProps, ScrollAreaAutosizeProps, TextProps, PaperProps, GroupProps, ThemeIconProps, BadgeProps, AutocompleteProps, NumberInputProps, TextInputProps, SwitchProps, FileInputProps, InputWrapperProps, FlexProps, TabsProps, TabsTabProps, MantineColor } from '@mantine/core';
3
3
  import { UseFormReturnType } from '@mantine/form';
4
4
  import { ReactNode, LegacyRef, ComponentProps } from 'react';
5
5
  import { M as MyButtonModalProps, a as MyActionIconProps, b as MyButtonProps, c as MyButtonDeleteListProps } from '../MyButtonDeleteList-BcW55zHU.mjs';
@@ -77,13 +77,12 @@ interface MyButtonCreateUpdateProps<IReq, IRes> {
77
77
  resetFormWhenSubmit?: boolean;
78
78
  disclosure?: ReturnType<typeof useDisclosure>;
79
79
  children?: ReactNode;
80
- toolTipProps?: Partial<Omit<TooltipProps, "children">>;
81
80
  useMyReactMutationProps?: Omit<MyReactMutationProps<Promise<AxiosResponse<MyApiResponse<IRes>, any>>, IRes>, "axiosFn">;
82
81
  onSuccess?: (...args: any[]) => void;
83
82
  onError?: (...args: any[]) => void;
84
83
  initValues?: IReq;
85
84
  }
86
- declare function MyButtonCreateUpdate<IReq, IRes>({ modalProps, actionIconProps, toolTipProps, buttonProps, submitButtonProps, form, onSubmit, onSuccess, onError, ignoreDefaultOnError, ignoreDefaultOnSuccess, closeModalWhenSubmit, resetFormWhenSubmit, children, disclosure: externalDisclosure, isUpdate, scrollAreaAutosizeProps, useMyReactMutationProps, initValues }: MyButtonCreateUpdateProps<IReq, IRes>): react_jsx_runtime.JSX.Element;
85
+ declare function MyButtonCreateUpdate<IReq, IRes>({ modalProps, actionIconProps, buttonProps, submitButtonProps, form, onSubmit, onSuccess, onError, ignoreDefaultOnError, ignoreDefaultOnSuccess, closeModalWhenSubmit, resetFormWhenSubmit, children, disclosure: externalDisclosure, isUpdate, scrollAreaAutosizeProps, useMyReactMutationProps, initValues }: MyButtonCreateUpdateProps<IReq, IRes>): react_jsx_runtime.JSX.Element;
87
86
 
88
87
  interface CustomThemeIconSquareCheckProps {
89
88
  checked?: boolean;
@@ -36,14 +36,14 @@ import {
36
36
  MyStatsCard,
37
37
  MyTextInput2 as MyTextInput,
38
38
  MyWeeklySessionSchedulerPicker
39
- } from "../chunk-RQFADA6O.mjs";
39
+ } from "../chunk-M2LQMGIP.mjs";
40
40
  import "../chunk-WW55EZ4B.mjs";
41
- import "../chunk-HQRZOUVA.mjs";
42
41
  import "../chunk-LZVUOVHO.mjs";
42
+ import "../chunk-HQRZOUVA.mjs";
43
43
  import "../chunk-NYAWQRB7.mjs";
44
44
  import "../chunk-BTITP4TN.mjs";
45
- import "../chunk-VFTEXXA7.mjs";
46
45
  import "../chunk-S5NCYRRY.mjs";
46
+ import "../chunk-VFTEXXA7.mjs";
47
47
  import "../chunk-Z76CSZFI.mjs";
48
48
  import "../chunk-WZ6PXGGC.mjs";
49
49
  import "../chunk-JD6AELXS.mjs";
@@ -5,6 +5,9 @@ export { I as IAQModule } from '../IAQModule-DbiJ8E6q.mjs';
5
5
  export { I as IBaseDomain } from '../IBaseDomain-BG4Sm7_Z.mjs';
6
6
  export { I as IPagePermission } from '../IPagePermission-992CbJhp.mjs';
7
7
 
8
+ interface IFaculty extends IBaseEntity {
9
+ }
10
+
8
11
  interface IUserSkillCenters extends IBaseEntity {
9
12
  userId?: number;
10
13
  skillCenterId?: number;
@@ -33,6 +36,7 @@ interface IUser extends IBaseEntity {
33
36
  note?: string;
34
37
  isExternal?: boolean;
35
38
  facultyId?: number;
39
+ faculty?: IFaculty;
36
40
  }
37
41
 
38
42
  interface IAccount extends IUser {
@@ -151,4 +155,4 @@ interface IPageContent extends IBaseEntity {
151
155
  description?: string;
152
156
  }
153
157
 
154
- export { type IAccount, IBaseEntity, type ICodeFormula, type IDepartment, type IDocument, type IDocumentAttribute, type IEmailVariable, type IFile, type IPage, type IPageContent, type IRole, type IUser, type IUserSkillCenters, type IWorkingUnit };
158
+ export { type IAccount, IBaseEntity, type ICodeFormula, type IDepartment, type IDocument, type IDocumentAttribute, type IEmailVariable, type IFaculty, type IFile, type IPage, type IPageContent, type IRole, type IUser, type IUserSkillCenters, type IWorkingUnit };
@@ -63,14 +63,14 @@ import {
63
63
  MailTemplateDeleteButton,
64
64
  useS_moduleConfig,
65
65
  useStore_Authenticate
66
- } from "../chunk-RQFADA6O.mjs";
66
+ } from "../chunk-M2LQMGIP.mjs";
67
67
  import "../chunk-WW55EZ4B.mjs";
68
- import "../chunk-HQRZOUVA.mjs";
69
68
  import "../chunk-LZVUOVHO.mjs";
69
+ import "../chunk-HQRZOUVA.mjs";
70
70
  import "../chunk-NYAWQRB7.mjs";
71
71
  import "../chunk-BTITP4TN.mjs";
72
- import "../chunk-VFTEXXA7.mjs";
73
72
  import "../chunk-S5NCYRRY.mjs";
73
+ import "../chunk-VFTEXXA7.mjs";
74
74
  import "../chunk-Z76CSZFI.mjs";
75
75
  import "../chunk-WZ6PXGGC.mjs";
76
76
  import "../chunk-JD6AELXS.mjs";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  MySelect,
3
3
  Shared_DocTypeSelect
4
- } from "../chunk-RQFADA6O.mjs";
4
+ } from "../chunk-M2LQMGIP.mjs";
5
5
  import "../chunk-WW55EZ4B.mjs";
6
+ import "../chunk-LZVUOVHO.mjs";
6
7
  import {
7
8
  utils_converter
8
9
  } from "../chunk-HQRZOUVA.mjs";
9
- import "../chunk-LZVUOVHO.mjs";
10
10
  import "../chunk-NYAWQRB7.mjs";
11
11
  import "../chunk-BTITP4TN.mjs";
12
+ import "../chunk-S5NCYRRY.mjs";
12
13
  import {
13
14
  enumLabel_gender,
14
15
  enum_gender
15
16
  } from "../chunk-VFTEXXA7.mjs";
16
- import "../chunk-S5NCYRRY.mjs";
17
17
  import "../chunk-Z76CSZFI.mjs";
18
18
  import "../chunk-WZ6PXGGC.mjs";
19
19
  import {
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "types": "./dist/zod-schemas/index.d.mts"
59
59
  }
60
60
  },
61
- "version": "0.1.1149",
61
+ "version": "0.1.1151",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"