aq-fe-framework 0.1.1084 → 0.1.1086
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.
- package/dist/{MyDataTable-C8B8s89v.d.mts → MyDataTable-DViOES5d.d.mts} +1 -1
- package/dist/{chunk-6ZEWBLVZ.mjs → chunk-MFW5K5T7.mjs} +10 -2
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/const/index.mjs +1 -1
- package/dist/core/index.d.mts +1 -1
- package/dist/core/index.mjs +2 -2
- package/dist/modules-features/index.mjs +2 -2
- package/dist/shared/index.mjs +2 -2
- package/dist/utils-v2/index.d.mts +1 -1
- package/package.json +1 -1
- package/dist/{chunk-C74M5VPE.mjs → chunk-OHAOJE5F.mjs} +1 -1
|
@@ -5,7 +5,7 @@ import { MRT_RowData, MRT_TableOptions, MRT_ColumnDef } from 'mantine-react-tabl
|
|
|
5
5
|
interface MyDataTableInternalProps<TData extends MRT_RowData> extends Omit<MyDataTableProps<TData>, "columns" | "data"> {
|
|
6
6
|
}
|
|
7
7
|
interface MyColumnDef<TData extends MRT_RowData> extends MRT_ColumnDef<TData> {
|
|
8
|
-
type?: 'currency' | "currencyWithSuffix" | 'ddMMyyyy' | 'MMyyyy' | 'squareCheck' | "list" | "gender" | "
|
|
8
|
+
type?: 'currency' | "currencyWithSuffix" | 'ddMMyyyy' | 'MMyyyy' | 'squareCheck' | "list" | "gender" | "roundedTo2" | "round";
|
|
9
9
|
}
|
|
10
10
|
interface PaginationState {
|
|
11
11
|
pageIndex: number;
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
const_object_colors,
|
|
34
34
|
const_object_documentTypes
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OHAOJE5F.mjs";
|
|
36
36
|
import {
|
|
37
37
|
enumLabel_gender,
|
|
38
38
|
enum_daysOfWeek
|
|
@@ -2229,17 +2229,25 @@ function MyDataTable(_a) {
|
|
|
2229
2229
|
case "list":
|
|
2230
2230
|
col.Cell = ({ cell }) => {
|
|
2231
2231
|
const value = cell.getValue();
|
|
2232
|
+
if (value.length == 0) return;
|
|
2232
2233
|
return /* @__PURE__ */ jsx35(List, { children: value.map((item, idx) => /* @__PURE__ */ jsx35(List.Item, { children: item }, idx)) });
|
|
2233
2234
|
};
|
|
2234
2235
|
col.size = 300;
|
|
2235
2236
|
break;
|
|
2236
|
-
case "
|
|
2237
|
+
case "roundedTo2":
|
|
2237
2238
|
col.Cell = ({ cell }) => {
|
|
2238
2239
|
const value = cell.getValue();
|
|
2239
2240
|
return value.toFixed(2);
|
|
2240
2241
|
};
|
|
2241
2242
|
col.size = 80;
|
|
2242
2243
|
break;
|
|
2244
|
+
case "round":
|
|
2245
|
+
col.Cell = ({ cell }) => {
|
|
2246
|
+
const value = cell.getValue();
|
|
2247
|
+
return Math.round(value);
|
|
2248
|
+
};
|
|
2249
|
+
col.size = 80;
|
|
2250
|
+
break;
|
|
2243
2251
|
default:
|
|
2244
2252
|
col.Cell = ({ cell }) => {
|
|
2245
2253
|
var _a3;
|
|
@@ -11,7 +11,7 @@ import { I as I_BasicAppShell_LinkItem, B as BasicAppShellProps } from '../types
|
|
|
11
11
|
export { g as MyButtonDeleteList, c as MyButtonDeleteListProps } from '../MyButtonDeleteList-BcW55zHU.mjs';
|
|
12
12
|
import { I as IExcelColumnConfig } from '../utils_excel-CuudSzBR.mjs';
|
|
13
13
|
import { MRT_ColumnDef, MRT_RowData, MRT_TableOptions, MRT_TableInstance } from 'mantine-react-table';
|
|
14
|
-
export { M as MyColumnDef, c as MyDataTable, b as MyDataTableInternalProps, a as MyDataTableProps, P as PaginationState } from '../MyDataTable-
|
|
14
|
+
export { M as MyColumnDef, c as MyDataTable, b as MyDataTableInternalProps, a as MyDataTableProps, P as PaginationState } from '../MyDataTable-DViOES5d.mjs';
|
|
15
15
|
import { DateInputProps } from '@mantine/dates';
|
|
16
16
|
import { RichTextEditorProps } from '@mantine/tiptap';
|
|
17
17
|
import { EditorOptions } from '@tiptap/react';
|
|
@@ -69,13 +69,13 @@ import {
|
|
|
69
69
|
useHeaderMegaMenuStore,
|
|
70
70
|
useS_ButtonImport,
|
|
71
71
|
useStore_BasicAppShell
|
|
72
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-MFW5K5T7.mjs";
|
|
73
73
|
import "../chunk-WW55EZ4B.mjs";
|
|
74
74
|
import "../chunk-KGBXMHKR.mjs";
|
|
75
75
|
import "../chunk-7ZI7IOEP.mjs";
|
|
76
76
|
import "../chunk-NYAWQRB7.mjs";
|
|
77
77
|
import "../chunk-BTITP4TN.mjs";
|
|
78
|
-
import "../chunk-
|
|
78
|
+
import "../chunk-OHAOJE5F.mjs";
|
|
79
79
|
import "../chunk-VFTEXXA7.mjs";
|
|
80
80
|
import "../chunk-Z76CSZFI.mjs";
|
|
81
81
|
import "../chunk-WZ6PXGGC.mjs";
|
package/dist/const/index.mjs
CHANGED
package/dist/core/index.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ import { M as MyApiResponse, a as MyReactMutationProps } from '../useMyReactMuta
|
|
|
11
11
|
import { AxiosResponse } from 'axios';
|
|
12
12
|
import { UseQueryResult, QueryKey, UseQueryOptions } from '@tanstack/react-query';
|
|
13
13
|
import { MRT_RowData, MRT_ColumnDef, MRT_TableInstance } from 'mantine-react-table';
|
|
14
|
-
import { a as MyDataTableProps } from '../MyDataTable-
|
|
14
|
+
import { a as MyDataTableProps } from '../MyDataTable-DViOES5d.mjs';
|
|
15
15
|
import { TablerIcon } from '@tabler/icons-react';
|
|
16
16
|
import { RichTextEditorProps, RichTextEditorToolbarProps, RichTextEditorContentProps } from '@mantine/tiptap';
|
|
17
17
|
import { UseEditorOptions } from '@tiptap/react';
|
package/dist/core/index.mjs
CHANGED
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
MyStatsCard,
|
|
35
35
|
MyTextInput2 as MyTextInput,
|
|
36
36
|
MyWeeklySessionSchedulerPicker
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-MFW5K5T7.mjs";
|
|
38
38
|
import "../chunk-WW55EZ4B.mjs";
|
|
39
39
|
import "../chunk-KGBXMHKR.mjs";
|
|
40
40
|
import "../chunk-7ZI7IOEP.mjs";
|
|
41
41
|
import "../chunk-NYAWQRB7.mjs";
|
|
42
42
|
import "../chunk-BTITP4TN.mjs";
|
|
43
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-OHAOJE5F.mjs";
|
|
44
44
|
import "../chunk-VFTEXXA7.mjs";
|
|
45
45
|
import "../chunk-Z76CSZFI.mjs";
|
|
46
46
|
import "../chunk-WZ6PXGGC.mjs";
|
|
@@ -97,13 +97,13 @@ import {
|
|
|
97
97
|
MailTemplateDeleteButton,
|
|
98
98
|
useS_moduleConfig,
|
|
99
99
|
useStore_Authenticate
|
|
100
|
-
} from "../chunk-
|
|
100
|
+
} from "../chunk-MFW5K5T7.mjs";
|
|
101
101
|
import "../chunk-WW55EZ4B.mjs";
|
|
102
102
|
import "../chunk-KGBXMHKR.mjs";
|
|
103
103
|
import "../chunk-7ZI7IOEP.mjs";
|
|
104
104
|
import "../chunk-NYAWQRB7.mjs";
|
|
105
105
|
import "../chunk-BTITP4TN.mjs";
|
|
106
|
-
import "../chunk-
|
|
106
|
+
import "../chunk-OHAOJE5F.mjs";
|
|
107
107
|
import "../chunk-VFTEXXA7.mjs";
|
|
108
108
|
import "../chunk-Z76CSZFI.mjs";
|
|
109
109
|
import "../chunk-WZ6PXGGC.mjs";
|
package/dist/shared/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MySelect
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-MFW5K5T7.mjs";
|
|
4
4
|
import "../chunk-WW55EZ4B.mjs";
|
|
5
5
|
import "../chunk-KGBXMHKR.mjs";
|
|
6
6
|
import {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "../chunk-7ZI7IOEP.mjs";
|
|
9
9
|
import "../chunk-NYAWQRB7.mjs";
|
|
10
10
|
import "../chunk-BTITP4TN.mjs";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-OHAOJE5F.mjs";
|
|
12
12
|
import {
|
|
13
13
|
enumLabel_gender,
|
|
14
14
|
enum_gender
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComboboxData } from '@mantine/core';
|
|
2
2
|
export { I as IExcelColumnConfig, n as normalizeDate, u as utils_excel } from '../utils_excel-CuudSzBR.mjs';
|
|
3
3
|
import { MRT_RowData } from 'mantine-react-table';
|
|
4
|
-
import { M as MyColumnDef } from '../MyDataTable-
|
|
4
|
+
import { M as MyColumnDef } from '../MyDataTable-DViOES5d.mjs';
|
|
5
5
|
import 'exceljs';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import '@tanstack/react-table';
|
package/package.json
CHANGED