@mcurros2/microm 1.1.6-0 → 1.1.7-0

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/index.d.ts CHANGED
@@ -2002,9 +2002,17 @@ export interface DataGridToolbarOptions {
2002
2002
  editFitersLabel?: string;
2003
2003
  clearFiltersLabel?: string;
2004
2004
  filtersAccordionVariant?: AccordionVariant;
2005
+ showColumnsConfig?: boolean;
2006
+ columnsConfigHandler?: () => void;
2005
2007
  }
2006
2008
  export const DataGridToolbarDefaultProps: Partial<DataGridToolbarOptions>;
2007
2009
  export function DataGridToolbar(props: DataGridToolbarOptions): import("react/jsx-runtime").JSX.Element;
2010
+ export interface DataGridColumnsMenuProps {
2011
+ columns?: GridColumn[];
2012
+ opened: boolean;
2013
+ setOpened: (opened: boolean) => void;
2014
+ }
2015
+ export function DataGridColumnsMenu(props: DataGridColumnsMenuProps): import("react/jsx-runtime").JSX.Element;
2008
2016
  export const DataGridDefaultProps: Partial<DataGridProps>;
2009
2017
  export function DataGrid(props: DataGridProps): import("react/jsx-runtime").JSX.Element;
2010
2018
  export interface DataGridFormProps extends DataGridProps {
@@ -2182,6 +2190,8 @@ export interface DataGridProps extends UseEntityUIProps {
2182
2190
  onSelectionChanged?: DataGridSelectionChangedCallback;
2183
2191
  doubleClickAction?: 'edit' | 'view' | 'none' | ((record: GridRecord) => void);
2184
2192
  formMode?: FormMode;
2193
+ notExportableColumns?: number[];
2194
+ showColumnsConfigMenu?: boolean;
2185
2195
  }
2186
2196
  export type DataGridSelectionKeys = ValuesObject[];
2187
2197
  export interface useDataViewReturnType {
@@ -3276,6 +3286,7 @@ export function useMultiDataMapGrid({ dataMapView, viewState, selectionMode, map
3276
3286
  enableDelete: boolean;
3277
3287
  saveFormBeforeAdd: boolean;
3278
3288
  autoSelectFirstRow: boolean;
3289
+ notExportableColumns: number[];
3279
3290
  labels: import("src").DataGridLabels;
3280
3291
  onRecordsDeleted: () => void;
3281
3292
  onActionRefreshOnClose: () => void;
@@ -3298,6 +3309,7 @@ export function useMultiDataMapGrid({ dataMapView, viewState, selectionMode, map
3298
3309
  setInitialFiltersFromColumns: boolean;
3299
3310
  showToolbar: boolean;
3300
3311
  showActionsToolbar: boolean;
3312
+ showColumnsConfigMenu: boolean;
3301
3313
  };
3302
3314
  viewState: {
3303
3315
  searchText: string[] | undefined;