aq-fe-framework 0.1.1084 → 0.1.1085

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.
@@ -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" | "point";
8
+ type?: 'currency' | "currencyWithSuffix" | 'ddMMyyyy' | 'MMyyyy' | 'squareCheck' | "list" | "gender" | "roundedTo2" | "round";
9
9
  }
10
10
  interface PaginationState {
11
11
  pageIndex: number;
@@ -29,14 +29,14 @@ import {
29
29
  import {
30
30
  createGenericStore
31
31
  } from "./chunk-BTITP4TN.mjs";
32
- import {
33
- const_object_colors,
34
- const_object_documentTypes
35
- } from "./chunk-C74M5VPE.mjs";
36
32
  import {
37
33
  enumLabel_gender,
38
34
  enum_daysOfWeek
39
35
  } from "./chunk-VFTEXXA7.mjs";
36
+ import {
37
+ const_object_colors,
38
+ const_object_documentTypes
39
+ } from "./chunk-OHAOJE5F.mjs";
40
40
  import {
41
41
  baseAxios_default,
42
42
  createBaseApi,
@@ -2233,13 +2233,20 @@ function MyDataTable(_a) {
2233
2233
  };
2234
2234
  col.size = 300;
2235
2235
  break;
2236
- case "point":
2236
+ case "roundedTo2":
2237
2237
  col.Cell = ({ cell }) => {
2238
2238
  const value = cell.getValue();
2239
2239
  return value.toFixed(2);
2240
2240
  };
2241
2241
  col.size = 80;
2242
2242
  break;
2243
+ case "round":
2244
+ col.Cell = ({ cell }) => {
2245
+ const value = cell.getValue();
2246
+ return Math.round(value);
2247
+ };
2248
+ col.size = 80;
2249
+ break;
2243
2250
  default:
2244
2251
  col.Cell = ({ cell }) => {
2245
2252
  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-C8B8s89v.mjs';
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,14 +69,14 @@ import {
69
69
  useHeaderMegaMenuStore,
70
70
  useS_ButtonImport,
71
71
  useStore_BasicAppShell
72
- } from "../chunk-6ZEWBLVZ.mjs";
72
+ } from "../chunk-DJKZS7JR.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-C74M5VPE.mjs";
79
78
  import "../chunk-VFTEXXA7.mjs";
79
+ import "../chunk-OHAOJE5F.mjs";
80
80
  import "../chunk-Z76CSZFI.mjs";
81
81
  import "../chunk-WZ6PXGGC.mjs";
82
82
  import "../chunk-JD6AELXS.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  const_object_colors,
6
6
  const_object_documentTypes,
7
7
  const_object_generalMenuData
8
- } from "../chunk-C74M5VPE.mjs";
8
+ } from "../chunk-OHAOJE5F.mjs";
9
9
  import "../chunk-JD6AELXS.mjs";
10
10
  export {
11
11
  const_aqModuleId,
@@ -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-C8B8s89v.mjs';
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';
@@ -34,14 +34,14 @@ import {
34
34
  MyStatsCard,
35
35
  MyTextInput2 as MyTextInput,
36
36
  MyWeeklySessionSchedulerPicker
37
- } from "../chunk-6ZEWBLVZ.mjs";
37
+ } from "../chunk-DJKZS7JR.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-C74M5VPE.mjs";
44
43
  import "../chunk-VFTEXXA7.mjs";
44
+ import "../chunk-OHAOJE5F.mjs";
45
45
  import "../chunk-Z76CSZFI.mjs";
46
46
  import "../chunk-WZ6PXGGC.mjs";
47
47
  import "../chunk-JD6AELXS.mjs";
@@ -97,14 +97,14 @@ import {
97
97
  MailTemplateDeleteButton,
98
98
  useS_moduleConfig,
99
99
  useStore_Authenticate
100
- } from "../chunk-6ZEWBLVZ.mjs";
100
+ } from "../chunk-DJKZS7JR.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-C74M5VPE.mjs";
107
106
  import "../chunk-VFTEXXA7.mjs";
107
+ import "../chunk-OHAOJE5F.mjs";
108
108
  import "../chunk-Z76CSZFI.mjs";
109
109
  import "../chunk-WZ6PXGGC.mjs";
110
110
  import "../chunk-JD6AELXS.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MySelect
3
- } from "../chunk-6ZEWBLVZ.mjs";
3
+ } from "../chunk-DJKZS7JR.mjs";
4
4
  import "../chunk-WW55EZ4B.mjs";
5
5
  import "../chunk-KGBXMHKR.mjs";
6
6
  import {
@@ -8,11 +8,11 @@ import {
8
8
  } from "../chunk-7ZI7IOEP.mjs";
9
9
  import "../chunk-NYAWQRB7.mjs";
10
10
  import "../chunk-BTITP4TN.mjs";
11
- import "../chunk-C74M5VPE.mjs";
12
11
  import {
13
12
  enumLabel_gender,
14
13
  enum_gender
15
14
  } from "../chunk-VFTEXXA7.mjs";
15
+ import "../chunk-OHAOJE5F.mjs";
16
16
  import "../chunk-Z76CSZFI.mjs";
17
17
  import "../chunk-WZ6PXGGC.mjs";
18
18
  import {
@@ -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-C8B8s89v.mjs';
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
@@ -58,7 +58,7 @@
58
58
  "types": "./dist/zod-schemas/index.d.mts"
59
59
  }
60
60
  },
61
- "version": "0.1.1084",
61
+ "version": "0.1.1085",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"
@@ -90,10 +90,10 @@ var const_object_generalMenuData = {
90
90
  };
91
91
 
92
92
  export {
93
+ const_object_colors,
93
94
  const_array_daysOfWeek,
94
95
  const_aqModuleId,
95
96
  const_columnSize,
96
- const_object_colors,
97
97
  const_object_documentTypes,
98
98
  const_object_generalMenuData
99
99
  };