@mcurros2/microm 1.1.5-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 {
@@ -2121,6 +2129,7 @@ export interface DataViewProps extends Omit<UseEntityUIProps, 'labels'> {
2121
2129
  hideCheckboxToggle?: boolean;
2122
2130
  showActions?: boolean;
2123
2131
  showToolbar?: boolean;
2132
+ showDeleteOnlyWhenMultiselect?: boolean;
2124
2133
  CardContainer?: ComponentType<DataViewCardContainerProps>;
2125
2134
  cardHrefRootURL?: string;
2126
2135
  cardHrefTarget?: string;
@@ -2181,6 +2190,8 @@ export interface DataGridProps extends UseEntityUIProps {
2181
2190
  onSelectionChanged?: DataGridSelectionChangedCallback;
2182
2191
  doubleClickAction?: 'edit' | 'view' | 'none' | ((record: GridRecord) => void);
2183
2192
  formMode?: FormMode;
2193
+ notExportableColumns?: number[];
2194
+ showColumnsConfigMenu?: boolean;
2184
2195
  }
2185
2196
  export type DataGridSelectionKeys = ValuesObject[];
2186
2197
  export interface useDataViewReturnType {
@@ -3275,6 +3286,7 @@ export function useMultiDataMapGrid({ dataMapView, viewState, selectionMode, map
3275
3286
  enableDelete: boolean;
3276
3287
  saveFormBeforeAdd: boolean;
3277
3288
  autoSelectFirstRow: boolean;
3289
+ notExportableColumns: number[];
3278
3290
  labels: import("src").DataGridLabels;
3279
3291
  onRecordsDeleted: () => void;
3280
3292
  onActionRefreshOnClose: () => void;
@@ -3297,6 +3309,7 @@ export function useMultiDataMapGrid({ dataMapView, viewState, selectionMode, map
3297
3309
  setInitialFiltersFromColumns: boolean;
3298
3310
  showToolbar: boolean;
3299
3311
  showActionsToolbar: boolean;
3312
+ showColumnsConfigMenu: boolean;
3300
3313
  };
3301
3314
  viewState: {
3302
3315
  searchText: string[] | undefined;