aq-fe-framework 0.1.148 → 0.1.149
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.
@@ -123,7 +123,7 @@ import { ActionIcon } from "@mantine/core";
|
|
123
123
|
import { IconDeviceFloppy, IconEdit, IconPlus, IconTrash } from "@tabler/icons-react";
|
124
124
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
125
125
|
function MyActionIcon(_a) {
|
126
|
-
var _b = _a, { children, crudType = "
|
126
|
+
var _b = _a, { children, crudType = "default" } = _b, rest = __objRest(_b, ["children", "crudType"]);
|
127
127
|
if (crudType == "default") {
|
128
128
|
return /* @__PURE__ */ jsx4(ActionIcon, __spreadProps(__spreadValues({ color: "indigo" }, rest), { children }));
|
129
129
|
}
|
@@ -26,11 +26,11 @@ declare function MyBoxesBackground({ title, desc }: {
|
|
26
26
|
desc?: string;
|
27
27
|
}): react_jsx_runtime.JSX.Element;
|
28
28
|
|
29
|
-
type
|
30
|
-
type
|
29
|
+
type TYPES_MANTINE_SIZE = number | MantineSize | (string & {}) | undefined;
|
30
|
+
type TYPES_CRUD = "default" | "create" | "update" | "delete" | "save" | "createMultiple" | "check" | "import" | "print" | "cancel" | "export" | "select";
|
31
31
|
|
32
32
|
interface IMyActionIcon extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ActionIconProps {
|
33
|
-
crudType?:
|
33
|
+
crudType?: TYPES_CRUD;
|
34
34
|
children?: ReactNode;
|
35
35
|
}
|
36
36
|
declare function MyActionIcon({ children, crudType, ...rest }: IMyActionIcon): react_jsx_runtime.JSX.Element | undefined;
|
@@ -44,8 +44,8 @@ declare function MyActionIconCheck({ modalSize, comment, ...rest }: IActionIconC
|
|
44
44
|
interface IMyActionIconModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ActionIconProps {
|
45
45
|
title?: string;
|
46
46
|
children?: ReactNode;
|
47
|
-
crudType?:
|
48
|
-
modalSize?:
|
47
|
+
crudType?: TYPES_CRUD;
|
48
|
+
modalSize?: TYPES_MANTINE_SIZE;
|
49
49
|
disclosure: ReturnType<typeof useDisclosure>;
|
50
50
|
fullScreen?: boolean;
|
51
51
|
icon?: ReactNode;
|
@@ -96,7 +96,7 @@ declare function MyAnchorViewPDF({ label, pdfLink }: {
|
|
96
96
|
}): react_jsx_runtime.JSX.Element;
|
97
97
|
|
98
98
|
interface IMyButton extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "style">, ButtonProps {
|
99
|
-
crudType?:
|
99
|
+
crudType?: TYPES_CRUD;
|
100
100
|
children?: ReactNode;
|
101
101
|
}
|
102
102
|
declare function MyButton({ children, crudType, ...rest }: IMyButton): react_jsx_runtime.JSX.Element | undefined;
|
@@ -105,8 +105,8 @@ interface IMyButtonModal extends Omit<React.ButtonHTMLAttributes<HTMLButtonEleme
|
|
105
105
|
label?: string;
|
106
106
|
title?: string;
|
107
107
|
children?: ReactNode;
|
108
|
-
crudType?:
|
109
|
-
modalSize?:
|
108
|
+
crudType?: TYPES_CRUD;
|
109
|
+
modalSize?: TYPES_MANTINE_SIZE;
|
110
110
|
objectName?: string;
|
111
111
|
disclosure: ReturnType<typeof useDisclosure>;
|
112
112
|
fullScreen?: boolean;
|
@@ -195,7 +195,7 @@ interface IAQSelectTableByOpenModal<TData extends MRT_RowData> extends Omit<MRT_
|
|
195
195
|
label?: string;
|
196
196
|
listLabel?: string;
|
197
197
|
title?: string;
|
198
|
-
modalSize?:
|
198
|
+
modalSize?: TYPES_MANTINE_SIZE;
|
199
199
|
objectName?: string;
|
200
200
|
fullScreen?: boolean;
|
201
201
|
setSelectedData: (data: any) => void;
|
@@ -66,7 +66,7 @@ import {
|
|
66
66
|
useS_BasicAppShell,
|
67
67
|
useS_ButtonImport,
|
68
68
|
utils_layout_getItemsWithoutLinks
|
69
|
-
} from "../chunk-
|
69
|
+
} from "../chunk-PAHZ57DT.mjs";
|
70
70
|
import "../chunk-Z6OQG54Q.mjs";
|
71
71
|
import "../chunk-Y3YGC5IH.mjs";
|
72
72
|
import "../chunk-5U2JSHSJ.mjs";
|