aq-fe-framework 0.1.148 → 0.1.150
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";
|
@@ -24,7 +24,7 @@ import {
|
|
24
24
|
groupToTwoLevels,
|
25
25
|
useS_authenticate,
|
26
26
|
utils_layout_getItemsWithoutLinks
|
27
|
-
} from "../chunk-
|
27
|
+
} from "../chunk-PAHZ57DT.mjs";
|
28
28
|
import {
|
29
29
|
baseAxios_default,
|
30
30
|
useQ_AQ_GetAQModule
|
@@ -2175,7 +2175,7 @@ function F_core60524_Form() {
|
|
2175
2175
|
MyDateInput,
|
2176
2176
|
{
|
2177
2177
|
value: form.getValues().registrationDate,
|
2178
|
-
onChange: (date) => form.setFieldValue("registrationDate", date),
|
2178
|
+
onChange: (date) => form.setFieldValue("registrationDate", new Date(date)),
|
2179
2179
|
label: "Ng\xE0y \u0111\u0103ng k\xFD"
|
2180
2180
|
}
|
2181
2181
|
) }),
|
@@ -2183,7 +2183,7 @@ function F_core60524_Form() {
|
|
2183
2183
|
MyDateInput,
|
2184
2184
|
{
|
2185
2185
|
value: form.getValues().limiteDate,
|
2186
|
-
onChange: (date) => form.setFieldValue("limiteDate", date),
|
2186
|
+
onChange: (date) => form.setFieldValue("limiteDate", new Date(date)),
|
2187
2187
|
label: "Ng\xE0y h\u1EBFt h\u1EA1n"
|
2188
2188
|
}
|
2189
2189
|
) }),
|
package/package.json
CHANGED
@@ -22,13 +22,14 @@
|
|
22
22
|
"types": "./dist/hooks/index.d.mts"
|
23
23
|
}
|
24
24
|
},
|
25
|
-
"version": "0.1.
|
25
|
+
"version": "0.1.150",
|
26
26
|
"private": false,
|
27
27
|
"files": [
|
28
28
|
"dist"
|
29
29
|
],
|
30
30
|
"scripts": {
|
31
31
|
"deploy": "node deploy.js",
|
32
|
+
"update-mantine": "npx npm-check-updates @mantine/* @mantinex/* postcss-preset-mantine -u",
|
32
33
|
"dev": "next dev --turbopack -p 3000",
|
33
34
|
"build-next": "next build",
|
34
35
|
"gen": "barrelsby --config barrelsby.json",
|
@@ -41,20 +42,20 @@
|
|
41
42
|
"@fullcalendar/core": "^6.1.15",
|
42
43
|
"@fullcalendar/daygrid": "^6.1.15",
|
43
44
|
"@fullcalendar/react": "^6.1.15",
|
44
|
-
"@mantine/carousel": "^
|
45
|
-
"@mantine/charts": "^
|
46
|
-
"@mantine/code-highlight": "^
|
47
|
-
"@mantine/core": "^
|
48
|
-
"@mantine/dates": "^
|
49
|
-
"@mantine/dropzone": "^
|
50
|
-
"@mantine/form": "^
|
51
|
-
"@mantine/hooks": "^
|
52
|
-
"@mantine/modals": "^
|
53
|
-
"@mantine/notifications": "^
|
54
|
-
"@mantine/nprogress": "^
|
55
|
-
"@mantine/spotlight": "^
|
56
|
-
"@mantine/tiptap": "^
|
57
|
-
"@mantinex/mantine-logo": "^
|
45
|
+
"@mantine/carousel": "^8.0.0",
|
46
|
+
"@mantine/charts": "^8.0.0",
|
47
|
+
"@mantine/code-highlight": "^8.0.0",
|
48
|
+
"@mantine/core": "^8.0.0",
|
49
|
+
"@mantine/dates": "^8.0.0",
|
50
|
+
"@mantine/dropzone": "^8.0.0",
|
51
|
+
"@mantine/form": "^8.0.0",
|
52
|
+
"@mantine/hooks": "^8.0.0",
|
53
|
+
"@mantine/modals": "^8.0.0",
|
54
|
+
"@mantine/notifications": "^8.0.0",
|
55
|
+
"@mantine/nprogress": "^8.0.0",
|
56
|
+
"@mantine/spotlight": "^8.0.0",
|
57
|
+
"@mantine/tiptap": "^8.0.0",
|
58
|
+
"@mantinex/mantine-logo": "^2.0.0",
|
58
59
|
"@schedule-x/event-modal": "^2.12.1",
|
59
60
|
"@schedule-x/events-service": "^2.28.0",
|
60
61
|
"@schedule-x/react": "^2.28.0",
|