aq-fe-framework 0.1.1089 → 0.1.1091
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-DViOES5d.d.mts → MyDataTable-DX9ChspA.d.mts} +1 -1
- package/dist/{chunk-WNS27PWD.mjs → chunk-UXIDRZFG.mjs} +7 -0
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/core/index.d.mts +1 -1
- package/dist/core/index.mjs +1 -1
- package/dist/modules-features/index.mjs +1 -1
- package/dist/shared/index.mjs +1 -1
- package/dist/utils-v2/index.d.mts +1 -1
- package/package.json +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" | "roundedTo2" | "round";
|
|
8
|
+
type?: 'currency' | "currencyWithSuffix" | 'ddMMyyyy' | 'MMyyyy' | 'squareCheck' | "list" | "gender" | "roundedTo2" | "round" | "viewFile";
|
|
9
9
|
}
|
|
10
10
|
interface PaginationState {
|
|
11
11
|
pageIndex: number;
|
|
@@ -2251,6 +2251,13 @@ function MyDataTable(_a) {
|
|
|
2251
2251
|
};
|
|
2252
2252
|
col.size = 80;
|
|
2253
2253
|
break;
|
|
2254
|
+
case "viewFile":
|
|
2255
|
+
col.Cell = ({ cell }) => {
|
|
2256
|
+
const value = cell.getValue();
|
|
2257
|
+
return /* @__PURE__ */ jsx35(MyButtonViewFileAPI, { filePath: value });
|
|
2258
|
+
};
|
|
2259
|
+
col.size = 80;
|
|
2260
|
+
break;
|
|
2254
2261
|
default:
|
|
2255
2262
|
col.Cell = ({ cell }) => {
|
|
2256
2263
|
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-DX9ChspA.mjs';
|
|
15
15
|
import { DateInputProps } from '@mantine/dates';
|
|
16
16
|
import { RichTextEditorProps } from '@mantine/tiptap';
|
|
17
17
|
import { EditorOptions } from '@tiptap/react';
|
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-DX9ChspA.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,7 +34,7 @@ import {
|
|
|
34
34
|
MyStatsCard,
|
|
35
35
|
MyTextInput2 as MyTextInput,
|
|
36
36
|
MyWeeklySessionSchedulerPicker
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-UXIDRZFG.mjs";
|
|
38
38
|
import "../chunk-WW55EZ4B.mjs";
|
|
39
39
|
import "../chunk-KGBXMHKR.mjs";
|
|
40
40
|
import "../chunk-7ZI7IOEP.mjs";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
MailTemplateDeleteButton,
|
|
98
98
|
useS_moduleConfig,
|
|
99
99
|
useStore_Authenticate
|
|
100
|
-
} from "../chunk-
|
|
100
|
+
} from "../chunk-UXIDRZFG.mjs";
|
|
101
101
|
import "../chunk-WW55EZ4B.mjs";
|
|
102
102
|
import "../chunk-KGBXMHKR.mjs";
|
|
103
103
|
import "../chunk-7ZI7IOEP.mjs";
|
package/dist/shared/index.mjs
CHANGED
|
@@ -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-DX9ChspA.mjs';
|
|
5
5
|
import 'exceljs';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
7
|
import '@tanstack/react-table';
|