aq-fe-framework 0.1.77 → 0.1.78
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.
|
@@ -24,6 +24,7 @@ function utils_converter_enumToSelectOptions(enumObject) {
|
|
|
24
24
|
|
|
25
25
|
// src/utils/date.ts
|
|
26
26
|
function U0DateToDDMMYYYString(date) {
|
|
27
|
+
if (!(date instanceof Date) || isNaN(date.getTime())) return "";
|
|
27
28
|
const day = String(date.getDate()).padStart(2, "0");
|
|
28
29
|
const month = String(date.getMonth() + 1).padStart(2, "0");
|
|
29
30
|
const year = date.getFullYear();
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createGenericStore,
|
|
3
|
+
useS_Sidebar
|
|
4
|
+
} from "./chunk-AL73DX37.mjs";
|
|
1
5
|
import {
|
|
2
6
|
U0DateToDDMMYYYString,
|
|
3
7
|
U0MyValidateEmail,
|
|
@@ -5,11 +9,7 @@ import {
|
|
|
5
9
|
utils_file_fileToAQDocumentType,
|
|
6
10
|
utils_notification_show,
|
|
7
11
|
utils_pdf_download
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
createGenericStore,
|
|
11
|
-
useS_Sidebar
|
|
12
|
-
} from "./chunk-AL73DX37.mjs";
|
|
12
|
+
} from "./chunk-42OQXQR5.mjs";
|
|
13
13
|
import {
|
|
14
14
|
__objRest,
|
|
15
15
|
__spreadProps,
|
|
@@ -135,7 +135,7 @@ function MyCenterFull({ children }) {
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
// src/components/DataDisplay/DataTable/MyDataTable.tsx
|
|
138
|
-
import { Button as Button2, Group as Group3 } from "@mantine/core";
|
|
138
|
+
import { Button as Button2, Group as Group3, Portal } from "@mantine/core";
|
|
139
139
|
import { IconDownload } from "@tabler/icons-react";
|
|
140
140
|
import { download, generateCsv, mkConfig } from "export-to-csv";
|
|
141
141
|
import {
|
|
@@ -244,7 +244,7 @@ function MyDataTable(_a) {
|
|
|
244
244
|
setSelectedRow && setSelectedRow(table.getSelectedRowModel().rows.map((row) => row.original));
|
|
245
245
|
}, [table.getState().rowSelection]);
|
|
246
246
|
if (data == void 0) return;
|
|
247
|
-
return /* @__PURE__ */ jsx4(MantineReactTable, { table });
|
|
247
|
+
return /* @__PURE__ */ jsx4("main", { style: { position: "relative", zIndex: 1 }, children: table.getState().isFullScreen ? /* @__PURE__ */ jsx4(Portal, { children: /* @__PURE__ */ jsx4(MantineReactTable, { table }) }) : /* @__PURE__ */ jsx4(MantineReactTable, { table }) });
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
// src/components/Buttons/ButtonRouterBack/MyButtonRouterBack.tsx
|
|
@@ -62,9 +62,9 @@ import {
|
|
|
62
62
|
useHeaderMegaMenuStore,
|
|
63
63
|
useS_ButtonImport,
|
|
64
64
|
utils_layout_getItemsWithoutLinks
|
|
65
|
-
} from "../chunk-
|
|
66
|
-
import "../chunk-4MLNXP25.mjs";
|
|
65
|
+
} from "../chunk-WES6NCPS.mjs";
|
|
67
66
|
import "../chunk-AL73DX37.mjs";
|
|
67
|
+
import "../chunk-42OQXQR5.mjs";
|
|
68
68
|
import "../chunk-FWCSY2DS.mjs";
|
|
69
69
|
export {
|
|
70
70
|
AQButtonCreateByImportFile,
|
|
@@ -57,9 +57,9 @@ import {
|
|
|
57
57
|
useS_authenticate,
|
|
58
58
|
useS_core83092,
|
|
59
59
|
utils_core83092_mergePage
|
|
60
|
-
} from "../chunk-
|
|
61
|
-
import "../chunk-4MLNXP25.mjs";
|
|
60
|
+
} from "../chunk-WES6NCPS.mjs";
|
|
62
61
|
import "../chunk-AL73DX37.mjs";
|
|
62
|
+
import "../chunk-42OQXQR5.mjs";
|
|
63
63
|
import "../chunk-FWCSY2DS.mjs";
|
|
64
64
|
export {
|
|
65
65
|
F_authenticate_Login,
|
package/dist/utils/index.mjs
CHANGED