aq-fe-framework 0.1.295 → 0.1.297
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.
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
2
|
-
enum_daysOfWeek
|
3
|
-
} from "./chunk-K6S7R6LU.mjs";
|
4
1
|
import {
|
5
2
|
const_object_colors
|
6
3
|
} from "./chunk-NWBLJ3W3.mjs";
|
4
|
+
import {
|
5
|
+
enum_daysOfWeek
|
6
|
+
} from "./chunk-K6S7R6LU.mjs";
|
7
7
|
import {
|
8
8
|
baseAxios_default,
|
9
9
|
useMyReactMutation,
|
@@ -230,7 +230,7 @@ function MyActionIconCheck(_a) {
|
|
230
230
|
] });
|
231
231
|
}
|
232
232
|
|
233
|
-
// src/components/
|
233
|
+
// src/components/Button/Button/MyButton.tsx
|
234
234
|
import { Button as Button2 } from "@mantine/core";
|
235
235
|
import { IconDeviceFloppy as IconDeviceFloppy2, IconEdit as IconEdit2, IconFileExport, IconFileImport, IconPlus as IconPlus2, IconPrinter, IconTrash as IconTrash2, IconX } from "@tabler/icons-react";
|
236
236
|
import { jsx as jsx8 } from "react/jsx-runtime";
|
@@ -759,7 +759,7 @@ function MyAppSpotlight({ menu }) {
|
|
759
759
|
] });
|
760
760
|
}
|
761
761
|
|
762
|
-
// src/components/
|
762
|
+
// src/components/Button/CoreActionIcon.tsx
|
763
763
|
import { ActionIcon as ActionIcon8 } from "@mantine/core";
|
764
764
|
import {
|
765
765
|
IconDeviceFloppy as IconDeviceFloppy3,
|
@@ -833,7 +833,7 @@ function CoreActionIcon(_a) {
|
|
833
833
|
);
|
834
834
|
}
|
835
835
|
|
836
|
-
// src/components/
|
836
|
+
// src/components/Button/CoreButton.tsx
|
837
837
|
import { Button as Button4 } from "@mantine/core";
|
838
838
|
import {
|
839
839
|
IconDeviceFloppy as IconDeviceFloppy4,
|
@@ -921,7 +921,7 @@ function CoreButton(_a) {
|
|
921
921
|
);
|
922
922
|
}
|
923
923
|
|
924
|
-
// src/components/
|
924
|
+
// src/components/Button/CoreButtonCreateUpdate.tsx
|
925
925
|
import { useDisclosure as useDisclosure5 } from "@mantine/hooks";
|
926
926
|
import { useQueryClient as useQueryClient3 } from "@tanstack/react-query";
|
927
927
|
import { ActionIcon as ActionIcon9, Button as Button5, Modal as Modal4 } from "@mantine/core";
|
@@ -939,7 +939,7 @@ function CoreButtonCreateUpdate({
|
|
939
939
|
resetFormWhenSubmit = true,
|
940
940
|
children,
|
941
941
|
disclosure: externalDisclosure,
|
942
|
-
isUpdate =
|
942
|
+
isUpdate = false
|
943
943
|
}) {
|
944
944
|
const defaultDisclosure = useDisclosure5();
|
945
945
|
const disclosure = externalDisclosure != null ? externalDisclosure : defaultDisclosure;
|
@@ -1000,7 +1000,7 @@ function CoreButtonCreateUpdate({
|
|
1000
1000
|
] });
|
1001
1001
|
}
|
1002
1002
|
|
1003
|
-
// src/components/
|
1003
|
+
// src/components/Button/CoreButtonModal.tsx
|
1004
1004
|
import { Button as Button6, Modal as Modal5 } from "@mantine/core";
|
1005
1005
|
import { Fragment as Fragment6, jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
|
1006
1006
|
function CoreButtonModal({
|
@@ -1023,7 +1023,7 @@ function CoreButtonModal({
|
|
1023
1023
|
] });
|
1024
1024
|
}
|
1025
1025
|
|
1026
|
-
// src/components/
|
1026
|
+
// src/components/Button/Anchor/MyAnchorViewPDF.tsx
|
1027
1027
|
import { ActionIcon as ActionIcon10, Anchor, Group as Group4, Modal as Modal6, Paper as Paper2, Text as Text5 } from "@mantine/core";
|
1028
1028
|
import { useDisclosure as useDisclosure6 } from "@mantine/hooks";
|
1029
1029
|
import { IconMaximize as IconMaximize2, IconMinimize as IconMinimize2 } from "@tabler/icons-react";
|
@@ -1070,14 +1070,14 @@ function MyAnchorViewPDF({ label, pdfLink }) {
|
|
1070
1070
|
] });
|
1071
1071
|
}
|
1072
1072
|
|
1073
|
-
// src/components/
|
1073
|
+
// src/components/Button/ButtonCRUD/AQButtonCreateByImportFile.tsx
|
1074
1074
|
import { FileInput } from "@mantine/core";
|
1075
1075
|
import { useDisclosure as useDisclosure7 } from "@mantine/hooks";
|
1076
1076
|
import { IconFileTypeXls } from "@tabler/icons-react";
|
1077
1077
|
import { useMutation, useQueryClient as useQueryClient4 } from "@tanstack/react-query";
|
1078
1078
|
import * as XLSX from "xlsx";
|
1079
1079
|
|
1080
|
-
// src/components/
|
1080
|
+
// src/components/Button/ButtonModal/MyButtonModal.tsx
|
1081
1081
|
import { Button as Button7, Modal as Modal7 } from "@mantine/core";
|
1082
1082
|
import { IconEdit as IconEdit7, IconPlus as IconPlus7, IconTrash as IconTrash6 } from "@tabler/icons-react";
|
1083
1083
|
import { Fragment as Fragment8, jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
|
@@ -1184,7 +1184,7 @@ function MyButtonModal(_a) {
|
|
1184
1184
|
}
|
1185
1185
|
}
|
1186
1186
|
|
1187
|
-
// src/components/
|
1187
|
+
// src/components/Button/ButtonCRUD/AQButtonCreateByImportFile.tsx
|
1188
1188
|
import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
|
1189
1189
|
function AQButtonCreateByImportFile(_a) {
|
1190
1190
|
var _b = _a, {
|
@@ -1252,7 +1252,7 @@ function AQButtonCreateByImportFile(_a) {
|
|
1252
1252
|
] }) }) }));
|
1253
1253
|
}
|
1254
1254
|
|
1255
|
-
// src/components/
|
1255
|
+
// src/components/Button/ButtonCRUD/AQButtonExportData.tsx
|
1256
1256
|
import { Button as Button8 } from "@mantine/core";
|
1257
1257
|
import { IconDownload as IconDownload2 } from "@tabler/icons-react";
|
1258
1258
|
import * as XLSX2 from "xlsx";
|
@@ -1298,7 +1298,7 @@ function AQButtonExportData({
|
|
1298
1298
|
);
|
1299
1299
|
}
|
1300
1300
|
|
1301
|
-
// src/components/
|
1301
|
+
// src/components/Button/ButtonCRUD/MyButtonCreate.tsx
|
1302
1302
|
import { useDisclosure as useDisclosure8 } from "@mantine/hooks";
|
1303
1303
|
import { useQueryClient as useQueryClient5 } from "@tanstack/react-query";
|
1304
1304
|
import { jsx as jsx25, jsxs as jsxs13 } from "react/jsx-runtime";
|
@@ -1373,7 +1373,7 @@ function MyButtonCreate(_a) {
|
|
1373
1373
|
] }) }) }));
|
1374
1374
|
}
|
1375
1375
|
|
1376
|
-
// src/components/
|
1376
|
+
// src/components/Button/ButtonCRUD/MyButtonDeleteList.tsx
|
1377
1377
|
import { Group as Group5, Highlight as Highlight2 } from "@mantine/core";
|
1378
1378
|
import { useDisclosure as useDisclosure9 } from "@mantine/hooks";
|
1379
1379
|
import { useMutation as useMutation2, useQueryClient as useQueryClient6 } from "@tanstack/react-query";
|
@@ -1460,7 +1460,7 @@ function MyButtonDeleteList(_a) {
|
|
1460
1460
|
);
|
1461
1461
|
}
|
1462
1462
|
|
1463
|
-
// src/components/
|
1463
|
+
// src/components/Button/ButtonImport/MyButtonImport.tsx
|
1464
1464
|
import { Button as Button12, Modal as Modal10, useModalsStack as useModalsStack3 } from "@mantine/core";
|
1465
1465
|
import { IconFileImport as IconFileImport4 } from "@tabler/icons-react";
|
1466
1466
|
|
@@ -1480,11 +1480,11 @@ function MyFlexEnd(_a) {
|
|
1480
1480
|
return /* @__PURE__ */ jsx28(Group6, __spreadProps(__spreadValues({ justify: "end", mt: "md" }, rest), { children }));
|
1481
1481
|
}
|
1482
1482
|
|
1483
|
-
// src/components/
|
1483
|
+
// src/components/Button/ButtonImport/SelectFieldModal.tsx
|
1484
1484
|
import { Button as Button9, Divider, Fieldset, Group as Group7, Modal as Modal8, SimpleGrid, Space as Space2, Table } from "@mantine/core";
|
1485
1485
|
import { IconArrowBackUp, IconArrowBigLeft, IconArrowBigRight, IconSquareRoundedX } from "@tabler/icons-react";
|
1486
1486
|
|
1487
|
-
// src/components/
|
1487
|
+
// src/components/Button/ButtonImport/useS_ButtonImport.ts
|
1488
1488
|
import { useEffect as useEffect4, useMemo as useMemo2 } from "react";
|
1489
1489
|
import * as XLSX3 from "xlsx";
|
1490
1490
|
var useStore = createGenericStore({
|
@@ -1634,7 +1634,7 @@ function useS_ButtonImport() {
|
|
1634
1634
|
});
|
1635
1635
|
}
|
1636
1636
|
|
1637
|
-
// src/components/
|
1637
|
+
// src/components/Button/ButtonImport/SelectFieldModal.tsx
|
1638
1638
|
import { jsx as jsx29, jsxs as jsxs15 } from "react/jsx-runtime";
|
1639
1639
|
function SelectFieldModal({ stack, onImport }) {
|
1640
1640
|
var _a, _b;
|
@@ -1878,7 +1878,7 @@ function MyDataTable(_a) {
|
|
1878
1878
|
return /* @__PURE__ */ jsx30("main", { style: { position: "relative", zIndex: 1 }, children: table.getState().isFullScreen ? /* @__PURE__ */ jsx30(Portal, { children: /* @__PURE__ */ jsx30(MantineReactTable, { table }) }) : /* @__PURE__ */ jsx30(MantineReactTable, { table }) });
|
1879
1879
|
}
|
1880
1880
|
|
1881
|
-
// src/components/
|
1881
|
+
// src/components/Button/ButtonImport/SelectFileModal.tsx
|
1882
1882
|
import { Button as Button11, Fieldset as Fieldset2, FileInput as FileInput2, Modal as Modal9, NumberInput, Select as Select2, SimpleGrid as SimpleGrid2 } from "@mantine/core";
|
1883
1883
|
import { IconArrowBigRight as IconArrowBigRight2, IconSquareRoundedX as IconSquareRoundedX2 } from "@tabler/icons-react";
|
1884
1884
|
import { jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
|
@@ -1979,7 +1979,7 @@ function SelectFileModal({ onExportStructure, stack }) {
|
|
1979
1979
|
);
|
1980
1980
|
}
|
1981
1981
|
|
1982
|
-
// src/components/
|
1982
|
+
// src/components/Button/ButtonImport/MyButtonImport.tsx
|
1983
1983
|
import { Fragment as Fragment10, jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
|
1984
1984
|
function MyButtonImport({
|
1985
1985
|
onExportStructure,
|
@@ -1996,7 +1996,7 @@ function MyButtonImport({
|
|
1996
1996
|
] });
|
1997
1997
|
}
|
1998
1998
|
|
1999
|
-
// src/components/
|
1999
|
+
// src/components/Button/ButtonModal/AQSelectTableByOpenModal.tsx
|
2000
2000
|
import { Button as Button13, Fieldset as Fieldset3, Modal as Modal11 } from "@mantine/core";
|
2001
2001
|
import { useDisclosure as useDisclosure10 } from "@mantine/hooks";
|
2002
2002
|
import { Fragment as Fragment11, jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
|
@@ -2063,7 +2063,7 @@ function AQSelectTableByOpenModal(_a) {
|
|
2063
2063
|
] });
|
2064
2064
|
}
|
2065
2065
|
|
2066
|
-
// src/components/
|
2066
|
+
// src/components/Button/ButtonPrintPDF/MyButtonPrintPDF.tsx
|
2067
2067
|
import { useRef as useRef2 } from "react";
|
2068
2068
|
import { Button as Button14 } from "@mantine/core";
|
2069
2069
|
import { IconPrinter as IconPrinter4 } from "@tabler/icons-react";
|
@@ -2110,7 +2110,7 @@ function MyHtmlWrapper(_a) {
|
|
2110
2110
|
) })) });
|
2111
2111
|
}
|
2112
2112
|
|
2113
|
-
// src/components/
|
2113
|
+
// src/components/Button/ButtonPrintPDFTable/MyButtonPrintTablePDF.tsx
|
2114
2114
|
import { Box, Table as Table2 } from "@mantine/core";
|
2115
2115
|
import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
|
2116
2116
|
function MyButtonPrintTablePDF(_a) {
|
@@ -2231,7 +2231,7 @@ function MyButtonPrintTablePDF(_a) {
|
|
2231
2231
|
);
|
2232
2232
|
}
|
2233
2233
|
|
2234
|
-
// src/components/
|
2234
|
+
// src/components/Button/ButtonRouterBack/MyButtonRouterBack.tsx
|
2235
2235
|
import { ActionIcon as ActionIcon11 } from "@mantine/core";
|
2236
2236
|
import { IconArrowBack } from "@tabler/icons-react";
|
2237
2237
|
import { useRouter as useRouter2 } from "next/navigation";
|
@@ -2257,7 +2257,7 @@ function MyButtonRouterBack(_a) {
|
|
2257
2257
|
);
|
2258
2258
|
}
|
2259
2259
|
|
2260
|
-
// src/components/
|
2260
|
+
// src/components/Button/ButtonViewPDF/MyButtonViewPDF.tsx
|
2261
2261
|
import {
|
2262
2262
|
ActionIcon as ActionIcon12,
|
2263
2263
|
Button as Button15,
|
@@ -72,9 +72,9 @@ import {
|
|
72
72
|
useS_BasicAppShell,
|
73
73
|
useS_ButtonImport,
|
74
74
|
utils_layout_getItemsWithoutLinks
|
75
|
-
} from "../chunk-
|
76
|
-
import "../chunk-K6S7R6LU.mjs";
|
75
|
+
} from "../chunk-3FPVKART.mjs";
|
77
76
|
import "../chunk-NWBLJ3W3.mjs";
|
77
|
+
import "../chunk-K6S7R6LU.mjs";
|
78
78
|
import "../chunk-KKJ3OEEW.mjs";
|
79
79
|
import "../chunk-Y3YGC5IH.mjs";
|
80
80
|
import "../chunk-5U2JSHSJ.mjs";
|
@@ -24,17 +24,17 @@ import {
|
|
24
24
|
useS_BasicAppShell,
|
25
25
|
useS_authenticate,
|
26
26
|
utils_layout_getItemsWithoutLinks
|
27
|
-
} from "../chunk-
|
28
|
-
import {
|
29
|
-
enum_emailConfigModule
|
30
|
-
} from "../chunk-VH4ZAD6M.mjs";
|
31
|
-
import "../chunk-K6S7R6LU.mjs";
|
27
|
+
} from "../chunk-3FPVKART.mjs";
|
32
28
|
import {
|
33
29
|
const_object_documentTypes
|
34
30
|
} from "../chunk-GFEMKKFH.mjs";
|
35
31
|
import {
|
36
32
|
const_object_colors
|
37
33
|
} from "../chunk-NWBLJ3W3.mjs";
|
34
|
+
import {
|
35
|
+
enum_emailConfigModule
|
36
|
+
} from "../chunk-VH4ZAD6M.mjs";
|
37
|
+
import "../chunk-K6S7R6LU.mjs";
|
38
38
|
import {
|
39
39
|
baseAxios_default,
|
40
40
|
useQ_AQ_GetAQModule,
|