aq-fe-framework 0.1.280 → 0.1.282

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.
@@ -93,11 +93,6 @@ declare function MyAppSpotlight({ menu }: {
93
93
  menu: I_BasicAppShell_LinkItem[];
94
94
  }): react_jsx_runtime.JSX.Element;
95
95
 
96
- declare function MyAnchorViewPDF({ label, pdfLink }: {
97
- label: string;
98
- pdfLink: string;
99
- }): react_jsx_runtime.JSX.Element;
100
-
101
96
  interface CoreActionIconProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ActionIconProps {
102
97
  actionType?: type_action;
103
98
  }
@@ -109,6 +104,35 @@ interface CoreButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElem
109
104
  }
110
105
  declare function CoreButton({ children, actionType, ...rest }: CoreButtonProps): react_jsx_runtime.JSX.Element;
111
106
 
107
+ interface CoreButtonCreateUpdateProps<IReq, IRes> {
108
+ modalProps?: ModalProps;
109
+ actionIconProps?: ActionIconProps;
110
+ buttonProps?: ButtonProps;
111
+ isCreate?: boolean;
112
+ onSubmit: (values: IReq) => Promise<AxiosResponse<MyApiResponse<IRes>>>;
113
+ onSuccess?: () => void;
114
+ onError?: () => void;
115
+ form: UseFormReturnType<IReq>;
116
+ closeModalWhenSubmit?: boolean;
117
+ resetFormWhenSubmit?: boolean;
118
+ disclosure?: ReturnType<typeof useDisclosure>;
119
+ children?: ReactNode;
120
+ }
121
+ declare function CoreButtonCreateUpdate<IReq, IRes>({ modalProps, actionIconProps, buttonProps, form, onSubmit, onSuccess, onError, closeModalWhenSubmit, resetFormWhenSubmit, children, disclosure: externalDisclosure, isCreate, }: CoreButtonCreateUpdateProps<IReq, IRes>): react_jsx_runtime.JSX.Element;
122
+
123
+ interface CoreButtonModalProps {
124
+ children?: ReactNode;
125
+ disclosure: ReturnType<typeof useDisclosure>;
126
+ buttonProps?: ButtonProps;
127
+ modalProps?: ModalProps;
128
+ }
129
+ declare function CoreButtonModal({ disclosure, children, buttonProps, modalProps, }: CoreButtonModalProps): react_jsx_runtime.JSX.Element;
130
+
131
+ declare function MyAnchorViewPDF({ label, pdfLink }: {
132
+ label: string;
133
+ pdfLink: string;
134
+ }): react_jsx_runtime.JSX.Element;
135
+
112
136
  interface IMyButton extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ButtonProps {
113
137
  crudType?: type_action;
114
138
  children?: ReactNode;
@@ -163,22 +187,6 @@ interface IMyButtonCreate<IReq, IRes> extends Omit<ComponentProps<typeof MyButto
163
187
  }
164
188
  declare function MyButtonCreate<IReq, IRes>({ form, onSubmit, onSuccess, onError, notCloseModalWhenSubmit, notResetFormWhenSubmit, children, disclosure: externalDisclosure, ...rest }: IMyButtonCreate<IReq, IRes>): react_jsx_runtime.JSX.Element;
165
189
 
166
- interface IMyButtonCreateUpdate<IReq, IRes> {
167
- modalProps?: ModalProps;
168
- actionIconProps?: ActionIconProps;
169
- buttonProps?: ButtonProps;
170
- isCreate?: boolean;
171
- onSubmit: (values: IReq) => Promise<AxiosResponse<MyApiResponse<IRes>>>;
172
- onSuccess?: () => void;
173
- onError?: () => void;
174
- form: UseFormReturnType<IReq>;
175
- closeModalWhenSubmit?: boolean;
176
- resetFormWhenSubmit?: boolean;
177
- disclosure?: ReturnType<typeof useDisclosure>;
178
- children?: ReactNode;
179
- }
180
- declare function MyButtonCreateUpdate<IReq, IRes>({ modalProps, actionIconProps, buttonProps, form, onSubmit, onSuccess, onError, closeModalWhenSubmit, resetFormWhenSubmit, children, disclosure: externalDisclosure, isCreate, }: IMyButtonCreateUpdate<IReq, IRes>): react_jsx_runtime.JSX.Element;
181
-
182
190
  interface IMyButtonDeleteList extends Omit<ComponentProps<typeof MyButtonModal>, "disclosure"> {
183
191
  onSubmit: () => void;
184
192
  onSuccess?: () => void;
@@ -245,14 +253,6 @@ interface IAQSelectTableByOpenModal<TData extends MRT_RowData> extends Omit<MRT_
245
253
  }
246
254
  declare function AQSelectTableByOpenModal<TData extends MRT_RowData>({ setSelectedData, data, columns, API, modalSize, title, label, listLabel, objectName, fullScreen, closeAfterSelect, ...rest }: IAQSelectTableByOpenModal<TData>): react_jsx_runtime.JSX.Element;
247
255
 
248
- interface CoreButtonModalProps {
249
- children?: ReactNode;
250
- disclosure: ReturnType<typeof useDisclosure>;
251
- buttonProps?: ButtonProps;
252
- modalProps?: ModalProps;
253
- }
254
- declare function CoreButtonModal({ disclosure, children, buttonProps, modalProps, ...rest }: CoreButtonModalProps): react_jsx_runtime.JSX.Element;
255
-
256
256
  interface I$6 extends ButtonProps {
257
257
  contentToPrint?: ReactNode;
258
258
  children?: ReactNode;
@@ -584,4 +584,4 @@ interface IMySkeletonTable extends SkeletonProps {
584
584
  }
585
585
  declare function MySkeletonTable({ h }: IMySkeletonTable): react_jsx_runtime.JSX.Element;
586
586
 
587
- export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, CoreActionIcon, CoreButton, CoreButtonModal, FaviconSetter, HeaderMegaMenu, type IAQCardProps, type IMyTextEditor, type IWeeklySession, I_BasicAppShell_LinkItem, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonCreateUpdate, MyButtonDeleteList, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardInformation, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, type MyDataTableInternalProps, type MyDataTableProps, MyDataTableSelect, MyDateInput, MyDayOfWeekPicker, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyIconText, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, MyWeeklySessionSchedulerPicker, SelectFieldModal, SelectFileModal, type SelectFileModalProps, type WeeklySessionSchedulerProps, useHeaderMegaMenuStore, useS_BasicAppShell, useS_ButtonImport };
587
+ export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, CoreActionIcon, CoreButton, CoreButtonCreateUpdate, CoreButtonModal, FaviconSetter, HeaderMegaMenu, type IAQCardProps, type IMyTextEditor, type IWeeklySession, I_BasicAppShell_LinkItem, MyActionIcon, MyActionIconCheck, MyActionIconDelete, MyActionIconDownloadPDF, MyActionIconModal, MyActionIconUpdate, MyActionIconUpload, MyActionIconViewPDF, MyAnchorViewPDF, MyAppSpotlight, MyBoxesBackground, MyBoxesCore, MyButton, MyButtonCreate, MyButtonDeleteList, MyButtonImport, MyButtonModal, MyButtonPrintPDF, MyButtonPrintTablePDF, MyButtonRouterBack, MyButtonViewPDF, MyCalendar, MyCardInformation, MyCardioLoader, MyCenterFull, MyCheckbox, MyContainer, MyDataTable, type MyDataTableInternalProps, type MyDataTableProps, MyDataTableSelect, MyDateInput, MyDayOfWeekPicker, MyFieldset, MyFileInput, MyFlexColumn, MyFlexEnd, MyFlexRow, MyHtmlWrapper, MyIconText, MyKeyLabel, MyNumberFormatter, MyNumberInput, MyPageContent, MyScheduleX, MySelect, MySelectAPIGet, MySkeletonTable, MySwitchTheme, MyTab, MyTextArea, MyTextEditor, MyTextInput, MyWeeklySessionSchedulerPicker, SelectFieldModal, SelectFileModal, type SelectFileModalProps, type WeeklySessionSchedulerProps, useHeaderMegaMenuStore, useS_BasicAppShell, useS_ButtonImport };
@@ -9,6 +9,7 @@ import {
9
9
  Boxes,
10
10
  CoreActionIcon,
11
11
  CoreButton,
12
+ CoreButtonCreateUpdate,
12
13
  CoreButtonModal,
13
14
  FaviconSetter,
14
15
  HeaderMegaMenu,
@@ -26,7 +27,6 @@ import {
26
27
  MyBoxesCore,
27
28
  MyButton,
28
29
  MyButtonCreate,
29
- MyButtonCreateUpdate,
30
30
  MyButtonDeleteList,
31
31
  MyButtonImport,
32
32
  MyButtonModal,
@@ -72,7 +72,7 @@ import {
72
72
  useS_BasicAppShell,
73
73
  useS_ButtonImport,
74
74
  utils_layout_getItemsWithoutLinks
75
- } from "../chunk-M72WIRIX.mjs";
75
+ } from "../chunk-FIH6EYE2.mjs";
76
76
  import "../chunk-K6S7R6LU.mjs";
77
77
  import "../chunk-NWBLJ3W3.mjs";
78
78
  import "../chunk-KKJ3OEEW.mjs";
@@ -91,6 +91,7 @@ export {
91
91
  Boxes,
92
92
  CoreActionIcon,
93
93
  CoreButton,
94
+ CoreButtonCreateUpdate,
94
95
  CoreButtonModal,
95
96
  FaviconSetter,
96
97
  HeaderMegaMenu,
@@ -108,7 +109,6 @@ export {
108
109
  MyBoxesCore,
109
110
  MyButton,
110
111
  MyButtonCreate,
111
- MyButtonCreateUpdate,
112
112
  MyButtonDeleteList,
113
113
  MyButtonImport,
114
114
  MyButtonModal,
@@ -24,7 +24,7 @@ import {
24
24
  useS_BasicAppShell,
25
25
  useS_authenticate,
26
26
  utils_layout_getItemsWithoutLinks
27
- } from "../chunk-M72WIRIX.mjs";
27
+ } from "../chunk-FIH6EYE2.mjs";
28
28
  import {
29
29
  enum_emailConfigModule
30
30
  } from "../chunk-VH4ZAD6M.mjs";
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "types": "./dist/enum/index.d.mts"
35
35
  }
36
36
  },
37
- "version": "0.1.280",
37
+ "version": "0.1.282",
38
38
  "private": false,
39
39
  "files": [
40
40
  "dist"