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.
@@ -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-DViOES5d.mjs';
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';
@@ -69,7 +69,7 @@ import {
69
69
  useHeaderMegaMenuStore,
70
70
  useS_ButtonImport,
71
71
  useStore_BasicAppShell
72
- } from "../chunk-WNS27PWD.mjs";
72
+ } from "../chunk-UXIDRZFG.mjs";
73
73
  import "../chunk-WW55EZ4B.mjs";
74
74
  import "../chunk-KGBXMHKR.mjs";
75
75
  import "../chunk-7ZI7IOEP.mjs";
@@ -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-DViOES5d.mjs';
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';
@@ -34,7 +34,7 @@ import {
34
34
  MyStatsCard,
35
35
  MyTextInput2 as MyTextInput,
36
36
  MyWeeklySessionSchedulerPicker
37
- } from "../chunk-WNS27PWD.mjs";
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-WNS27PWD.mjs";
100
+ } from "../chunk-UXIDRZFG.mjs";
101
101
  import "../chunk-WW55EZ4B.mjs";
102
102
  import "../chunk-KGBXMHKR.mjs";
103
103
  import "../chunk-7ZI7IOEP.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MySelect
3
- } from "../chunk-WNS27PWD.mjs";
3
+ } from "../chunk-UXIDRZFG.mjs";
4
4
  import "../chunk-WW55EZ4B.mjs";
5
5
  import "../chunk-KGBXMHKR.mjs";
6
6
  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-DViOES5d.mjs';
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';
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.1089",
61
+ "version": "0.1.1091",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"