aq-fe-framework 0.1.255 → 0.1.256

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.
@@ -41,8 +41,8 @@ interface IActionIconCheck extends ActionIconProps {
41
41
  }
42
42
  declare function MyActionIconCheck({ modalSize, comment, ...rest }: IActionIconCheck): react_jsx_runtime.JSX.Element;
43
43
 
44
- interface IMyActionIconModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ActionIconProps {
45
- title?: string;
44
+ interface IMyActionIconModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style" | "title">, ActionIconProps {
45
+ title?: ReactNode;
46
46
  children?: ReactNode;
47
47
  crudType?: TYPES_CRUD;
48
48
  modalSize?: TYPES_MANTINE_SIZE;
@@ -100,9 +100,9 @@ interface IMyButton extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>,
100
100
  }
101
101
  declare function MyButton({ children, crudType, ...rest }: IMyButton): react_jsx_runtime.JSX.Element | undefined;
102
102
 
103
- interface IMyButtonModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ButtonProps {
103
+ interface IMyButtonModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style" | "title">, ButtonProps {
104
104
  label?: string;
105
- title?: string;
105
+ title?: ReactNode;
106
106
  children?: ReactNode;
107
107
  crudType?: TYPES_CRUD;
108
108
  modalSize?: TYPES_MANTINE_SIZE;
@@ -148,23 +148,6 @@ interface IMyButtonCreate<T> extends Omit<ComponentProps<typeof MyButtonModal>,
148
148
  }
149
149
  declare function MyButtonCreate<T>({ form, onSubmit, onSuccess, onError, notCloseModalWhenSubmit, notResetFormWhenSubmit, children, disclosure: externalDisclosure, ...rest }: IMyButtonCreate<T>): react_jsx_runtime.JSX.Element;
150
150
 
151
- type MyButtonProps = Omit<ComponentProps<typeof MyButtonModal>, "form" | "onSubmit" | "disclosure">;
152
- type MyActionIconProps = Omit<ComponentProps<typeof MyActionIconModal>, "form" | "onSubmit" | "disclosure">;
153
- interface MyButtonCreateUpdateProps<T> {
154
- onSubmit: (values: T) => void;
155
- onSuccess?: () => void;
156
- onError?: () => void;
157
- form: UseFormReturnType<T>;
158
- closeModalWhenSubmit?: boolean;
159
- resetFormWhenSubmit?: boolean;
160
- disclosure?: ReturnType<typeof useDisclosure>;
161
- isUpdate?: boolean;
162
- buttonProps?: MyButtonProps;
163
- actionIconProps?: MyActionIconProps;
164
- children?: React.ReactNode;
165
- }
166
- declare function MyButtonCreateUpdate<T>({ form, onSubmit, onSuccess, onError, closeModalWhenSubmit, resetFormWhenSubmit, disclosure: externalDisclosure, isUpdate, children, buttonProps, actionIconProps, }: MyButtonCreateUpdateProps<T>): react_jsx_runtime.JSX.Element;
167
-
168
151
  interface IMyButtonDeleteList extends Omit<ComponentProps<typeof MyButtonModal>, "disclosure"> {
169
152
  onSubmit: () => void;
170
153
  onSuccess?: () => void;
@@ -560,4 +543,4 @@ interface IMySkeletonTable extends SkeletonProps {
560
543
  }
561
544
  declare function MySkeletonTable({ h }: IMySkeletonTable): react_jsx_runtime.JSX.Element;
562
545
 
563
- export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, 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 };
546
+ export { AQButtonCreateByImportFile, AQButtonExportData, AQCard, AQSelectTableByOpenModal, AQStatCard1, Boxes, 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 };
@@ -23,7 +23,6 @@ import {
23
23
  MyBoxesCore,
24
24
  MyButton,
25
25
  MyButtonCreate,
26
- MyButtonCreateUpdate,
27
26
  MyButtonDeleteList,
28
27
  MyButtonImport,
29
28
  MyButtonModal,
@@ -69,7 +68,7 @@ import {
69
68
  useS_BasicAppShell,
70
69
  useS_ButtonImport,
71
70
  utils_layout_getItemsWithoutLinks
72
- } from "../chunk-XRE7MZK2.mjs";
71
+ } from "../chunk-BWS36VLR.mjs";
73
72
  import "../chunk-HMRYQTJT.mjs";
74
73
  import "../chunk-Y3YGC5IH.mjs";
75
74
  import "../chunk-5U2JSHSJ.mjs";
@@ -100,7 +99,6 @@ export {
100
99
  MyBoxesCore,
101
100
  MyButton,
102
101
  MyButtonCreate,
103
- MyButtonCreateUpdate,
104
102
  MyButtonDeleteList,
105
103
  MyButtonImport,
106
104
  MyButtonModal,
@@ -25,7 +25,7 @@ import {
25
25
  useS_BasicAppShell,
26
26
  useS_authenticate,
27
27
  utils_layout_getItemsWithoutLinks
28
- } from "../chunk-XRE7MZK2.mjs";
28
+ } from "../chunk-BWS36VLR.mjs";
29
29
  import {
30
30
  baseAxios_default,
31
31
  useQ_AQ_GetAQModule,
package/package.json CHANGED
@@ -26,7 +26,7 @@
26
26
  "types": "./dist/interfaces/index.d.mts"
27
27
  }
28
28
  },
29
- "version": "0.1.255",
29
+ "version": "0.1.256",
30
30
  "private": false,
31
31
  "files": [
32
32
  "dist"