@acvl/frontend-components 0.0.8 → 0.0.9
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/cjs/index.js +6 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/components/v1/datagrids/index.d.ts +1 -1
- package/dist/esm/index.js +6 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/v1/datagrids/index.d.ts +1 -1
- package/dist/index.d.ts +9 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ButtonProps, ButtonGroupProps, AlertProps, AutocompleteProps, SliderPro
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { ReactNode, Dispatch, SetStateAction, JSX, RefObject } from 'react';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { GridRowId, GridRowSelectionModel, GridRowModesModel, GridRenderEditCellParams, DataGridProps as DataGridProps$1 } from '@mui/x-data-grid';
|
|
6
|
+
import { GridRowId, GridRowSelectionModel, GridSortModel, GridFilterModel, GridRowModesModel, GridRenderEditCellParams, DataGridProps as DataGridProps$1 } from '@mui/x-data-grid';
|
|
7
7
|
import { DataGridProps, GridBaseColDef } from '@mui/x-data-grid/internals';
|
|
8
8
|
import * as zod_v4_core from 'zod/v4/core';
|
|
9
9
|
import * as zod from 'zod';
|
|
@@ -113,6 +113,13 @@ interface ComoOpcionesProps {
|
|
|
113
113
|
variation?: string;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
interface GridArgs {
|
|
117
|
+
page?: number;
|
|
118
|
+
pageSize?: number;
|
|
119
|
+
sortModel: GridSortModel;
|
|
120
|
+
filterModel: GridFilterModel;
|
|
121
|
+
ignoreSort?: boolean;
|
|
122
|
+
}
|
|
116
123
|
interface GridColDefPropsOverrides extends GridBaseColDef {
|
|
117
124
|
extra?: {
|
|
118
125
|
queryArgs?: ComoOpcionesProps;
|
|
@@ -757,4 +764,4 @@ declare module '@mui/material/styles' {
|
|
|
757
764
|
declare const theme: () => _mui_material.Theme;
|
|
758
765
|
|
|
759
766
|
export { APIContext, APIProvider, ActiveCell, Base, ButtonWithDrawer, CSVUpload, ContentLayout, ControlledDate, ControlledDropdown, FileUploadBox as ControlledFileUploadBox, ControlledNumber, ControlledPhoneNumber, ControlledSelect, ControlledSlider, ControlledSwitch, ControlledText, ControlledTimePicker, ControlledToggleButtons, CoverPage, CreateButtonBase, CreateButtonWithMenuOptions, DeleteButton, DeleteConfirmationDialog, DetailPage, EditButton, HistorialDrawer, ListPage, Loadable, LoadingComponent, Logo, MainDrawer, MenuItemWithLoading, ModuleCard, MyGridEditSingleSelect, NavigationContext, NavigationProvider, NormalOrIcon, NotAllowed, NotFound, ObjectProgressStack, SaveCancelButton, StatusBadge, StyledMenu, Tabs, Transitions, UncontrolledText, changeTitle, closeProgressSnack, deleteColumn, editColumn, filterQuery, formDataForm, _default as headerReducer, jsonForm, manualCacheRefresh, mergeSettings, openProgressSnack, query, renderEditCellWithErrorTooltip, setErrors, _default$1 as snackProgressReducer, tags, theme, updateProgressSnackData, useAPI, useHasPermission, useNavigation, valueLabel };
|
|
760
|
-
export type { APIcontextProps, ComoOpcionesProps, DeleteGridColumnsProps, EditGridColumnsProps, GridColDefPropsOverrides, JSONFormProps, JSONParserProps, MyTab, MyTabProps, PageType };
|
|
767
|
+
export type { APIcontextProps, ComoOpcionesProps, DeleteGridColumnsProps, EditGridColumnsProps, GridArgs, GridColDefPropsOverrides, JSONFormProps, JSONParserProps, MyDataGridProps, MyGridFilterModel, MyTab, MyTabProps, PageType };
|
package/package.json
CHANGED