@m4l/components 0.0.53 → 0.0.54

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.
@@ -56,7 +56,7 @@ function ActionFormCancel(props) {
56
56
  color: "inherit",
57
57
  onClick: onClickCancel,
58
58
  ...props,
59
- children: getLabel("actions.action_cancel")
59
+ children: getLabel("common_actions.action_cancel")
60
60
  });
61
61
  }
62
62
  export { ActionFormCancel as A };
@@ -2,7 +2,7 @@ import { styled } from "@mui/material/styles";
2
2
  import { I as IconButton$1 } from "../../../mui_extended/IconButton/index.js";
3
3
  import { useEnvironment, useModuleDictionary } from "@m4l/core";
4
4
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
5
- import { u as useBase, a as useFilters, O as OriginalGridWrapperStyled } from "../../../DataGrid/index.js";
5
+ import { u as useBase, a as useFilters, O as OriginalDataGridWrapperStyled } from "../../../DataGrid/index.js";
6
6
  import { P as Pager } from "../../../mui_extended/Pager/index.js";
7
7
  import { IconButton, Tooltip, MenuItem, Skeleton, Checkbox } from "@mui/material";
8
8
  import { useState, useMemo, forwardRef, useRef, useImperativeHandle, useEffect, useCallback } from "react";
@@ -255,10 +255,10 @@ function Filter() {
255
255
  });
256
256
  }
257
257
  return /* @__PURE__ */ jsx(IconButton$1, {
258
- dictionaryTooltip: activeFilters ? "grid.filter_hide" : "grid.filter_show",
258
+ dictionaryTooltip: activeFilters ? "data_grid.tooltip_filter_hide" : "data_grid.tooltip_filter_show",
259
259
  onClick: toggleIcon,
260
260
  "aria-label": "filter",
261
- src: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/filter.svg`
261
+ src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/filter.svg`
262
262
  });
263
263
  }
264
264
  const WrapperColumnsConfig = styled("div")(({ theme }) => ({
@@ -278,7 +278,7 @@ const DivSelColumns = styled("div")(({ theme }) => ({
278
278
  color: theme.palette.text.primary,
279
279
  padding: `${theme.spacing(3)} ${theme.spacing(1)}`
280
280
  }));
281
- const WrapperGrid = styled("div")(() => ({
281
+ const WrapperDataGrid = styled("div")(() => ({
282
282
  position: "relative",
283
283
  display: "flex",
284
284
  flexDirection: "column",
@@ -332,7 +332,7 @@ function getRowsFromColumnsConfig(columnsConfig) {
332
332
  }));
333
333
  }
334
334
  const ColumnsConfig = forwardRef((props, ref) => {
335
- const refGrid = useRef(null);
335
+ const refdata_grid = useRef(null);
336
336
  const {
337
337
  onCloseSettings,
338
338
  columnsConfig,
@@ -353,28 +353,28 @@ const ColumnsConfig = forwardRef((props, ref) => {
353
353
  onClickIntro: handleIntro,
354
354
  current: divRef.current
355
355
  }));
356
- const columnsGrid = useMemo(() => [{
356
+ const columnsdata_grid = useMemo(() => [{
357
357
  key: "name",
358
- name: getLabel("grid.settings_column_name"),
358
+ name: getLabel("data_grid.settings_column_name"),
359
359
  width: 200,
360
360
  resizable: true,
361
361
  type: "text"
362
362
  }, {
363
363
  key: "originalIndex",
364
- name: getLabel("grid.settings_column_position"),
364
+ name: getLabel("data_grid.settings_column_position"),
365
365
  width: 50,
366
366
  type: "number",
367
367
  cellClass: "rdg-cell-align-center"
368
368
  }, {
369
369
  key: "visible",
370
- name: getLabel("grid.settings_column_visible"),
370
+ name: getLabel("data_grid.settings_column_visible"),
371
371
  width: 80,
372
372
  type: "boolean",
373
373
  formatter: FormatterColumn,
374
374
  cellClass: "rdg-cell-align-center"
375
375
  }, {
376
376
  key: "frozen",
377
- name: getLabel("grid.settings_column_frozen"),
377
+ name: getLabel("data_grid.settings_column_frozen"),
378
378
  width: 80,
379
379
  type: "boolean",
380
380
  formatter: FormatterColumn,
@@ -421,7 +421,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
421
421
  const newRows = [...rows];
422
422
  newRows.splice(rowSelectedIndex, 1);
423
423
  newRows.splice(0, 0, rows[rowSelectedIndex]);
424
- refGrid.current?.selectCell({
424
+ refdata_grid.current?.selectCell({
425
425
  idx: 0,
426
426
  rowIdx: 0
427
427
  });
@@ -433,7 +433,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
433
433
  const newRows = [...rows];
434
434
  newRows.splice(rowSelectedIndex, 1);
435
435
  newRows.splice(newRows.length, 0, rows[rowSelectedIndex]);
436
- refGrid.current?.selectCell({
436
+ refdata_grid.current?.selectCell({
437
437
  idx: 0,
438
438
  rowIdx: newRows.length - 1
439
439
  });
@@ -446,7 +446,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
446
446
  const element = newRows[rowSelectedIndex];
447
447
  newRows.splice(rowSelectedIndex, 1);
448
448
  newRows.splice(rowSelectedIndex + position, 0, element);
449
- refGrid.current?.selectCell({
449
+ refdata_grid.current?.selectCell({
450
450
  idx: 0,
451
451
  rowIdx: rowSelectedIndex + position
452
452
  });
@@ -502,15 +502,15 @@ const ColumnsConfig = forwardRef((props, ref) => {
502
502
  ref: divRef,
503
503
  children: [/* @__PURE__ */ jsx(DivSelColumns, {
504
504
  id: "divInfo",
505
- children: getLabel("grid.settings_sel_columns")
506
- }), /* @__PURE__ */ jsx(WrapperGrid, {
507
- id: "WrapperGrid",
508
- children: /* @__PURE__ */ jsx(OriginalGridWrapperStyled, {
509
- id: "OriginalGridWrapperStyled",
505
+ children: getLabel("data_grid.settings_sel_columns")
506
+ }), /* @__PURE__ */ jsx(WrapperDataGrid, {
507
+ id: "WrapperDataGrid",
508
+ children: /* @__PURE__ */ jsx(OriginalDataGridWrapperStyled, {
509
+ id: "Originaldata_gridWrapperStyled",
510
510
  children: /* @__PURE__ */ jsx(DataGrid$1, {
511
- className: "fill-grid rdg-light",
512
- ref: refGrid,
513
- columns: columnsGrid,
511
+ className: "fill-data_grid rdg-light",
512
+ ref: refdata_grid,
513
+ columns: columnsdata_grid,
514
514
  rows,
515
515
  onRowsChange: onInternalRowsChange,
516
516
  selectedRows: selRows,
@@ -526,44 +526,44 @@ const ColumnsConfig = forwardRef((props, ref) => {
526
526
  })
527
527
  }), /* @__PURE__ */ jsxs(ColumnActions, {
528
528
  children: [/* @__PURE__ */ jsx(IconButton$1, {
529
- dictionaryTooltip: "grid.settings_move_first",
529
+ dictionaryTooltip: "data_grid.settings_move_first",
530
530
  onClick: handleMoveFirst,
531
531
  "aria-label": "move first place",
532
532
  disabled: rowSelectedIndex < 1,
533
- src: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/move_first_place.svg`
533
+ src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/move_first_place.svg`
534
534
  }), /* @__PURE__ */ jsx(IconButton$1, {
535
- dictionaryTooltip: "grid.settings_move_up",
535
+ dictionaryTooltip: "data_grid.settings_move_up",
536
536
  onClick: () => handleMoveUpDownd(-1),
537
537
  "aria-label": "move up place",
538
538
  disabled: rowSelectedIndex < 1,
539
- src: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/move_up_place.svg`
539
+ src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/move_up_place.svg`
540
540
  }), /* @__PURE__ */ jsx(IconButton$1, {
541
- dictionaryTooltip: "grid.settings_move_last",
541
+ dictionaryTooltip: "data_grid.settings_move_last",
542
542
  onClick: handleMoveLast,
543
543
  "aria-label": "move last place",
544
544
  disabled: !!(rowSelectedIndex === rows.length - 1 || rowSelectedIndex === -1),
545
- src: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/move_last_place.svg`
545
+ src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/move_last_place.svg`
546
546
  }), /* @__PURE__ */ jsx(IconButton$1, {
547
- dictionaryTooltip: "grid.settings_move_down",
547
+ dictionaryTooltip: "data_grid.settings_move_down",
548
548
  onClick: () => handleMoveUpDownd(1),
549
549
  "aria-label": "move down place",
550
550
  disabled: !!(rowSelectedIndex === rows.length - 1 || rowSelectedIndex === -1),
551
- src: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/move_down_place.svg`
551
+ src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/move_down_place.svg`
552
552
  }), /* @__PURE__ */ jsx(IconButton$1, {
553
- dictionaryTooltip: "grid.settings_visible_all",
553
+ dictionaryTooltip: "data_grid.settings_visible_all",
554
554
  onClick: checkAll,
555
555
  "aria-label": "check visible all",
556
- src: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/check_all.svg`
556
+ src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/check_all.svg`
557
557
  }), /* @__PURE__ */ jsx(IconButton$1, {
558
- dictionaryTooltip: "grid.settings_no_visible_all",
558
+ dictionaryTooltip: "data_grid.settings_no_visible_all",
559
559
  onClick: unCheckAll,
560
560
  "aria-label": "un check all",
561
- src: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/uncheck_all.svg`
561
+ src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/uncheck_all.svg`
562
562
  }), /* @__PURE__ */ jsx(IconButton$1, {
563
- dictionaryTooltip: "grid.settings_restore",
563
+ dictionaryTooltip: "data_grid.settings_restore",
564
564
  onClick: restoreAll,
565
565
  "aria-label": "Restore columns",
566
- src: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/restore_columns.svg`
566
+ src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/restore_columns.svg`
567
567
  })]
568
568
  })]
569
569
  });
@@ -625,7 +625,7 @@ function Settings() {
625
625
  const onClickSettings = useCallback(() => {
626
626
  openModal({
627
627
  onQueryClose: () => closeModal(),
628
- title: "grid.settings_tooltip",
628
+ title: "data_grid.settings_title",
629
629
  initialWidth: 500,
630
630
  initialHeigth: 680,
631
631
  contentComponent: /* @__PURE__ */ jsx(ColumnsConfig, {
@@ -653,10 +653,10 @@ function Settings() {
653
653
  });
654
654
  }
655
655
  return /* @__PURE__ */ jsx(IconButton$1, {
656
- dictionaryTooltip: "grid.settings_tooltip",
656
+ dictionaryTooltip: "data_grid.tooltip_settings",
657
657
  onClick: onClickSettings,
658
658
  "aria-label": "settings",
659
- src: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/configuration.svg`
659
+ src: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/configuration.svg`
660
660
  });
661
661
  }
662
662
  const Container = styled("div")(() => ({
@@ -701,7 +701,7 @@ function RowsCount() {
701
701
  className: "rows-count",
702
702
  id: "RowsCount",
703
703
  children: [/* @__PURE__ */ jsx(RowsLabel, {
704
- children: getLabel("grid.rows")
704
+ children: getLabel("data_grid.rows")
705
705
  }), /* @__PURE__ */ jsx(InsetLabel, {
706
706
  children: rowsCount
707
707
  })]
@@ -739,30 +739,30 @@ function Density() {
739
739
  return [];
740
740
  }
741
741
  return [{
742
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/compact.svg`,
742
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/compact.svg`,
743
743
  onClick: () => setRowHeightVariant("compact"),
744
744
  disabled: currentRowHeightVariant === "compact",
745
- dictionaryField: "grid.density_compact"
745
+ dictionaryField: "data_grid.density_compact"
746
746
  }, {
747
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/standard.svg`,
747
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/standard.svg`,
748
748
  onClick: () => setRowHeightVariant("standard"),
749
749
  disabled: currentRowHeightVariant === "standard",
750
- dictionaryField: "grid.density_standard"
750
+ dictionaryField: "data_grid.density_standard"
751
751
  }, {
752
- urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/confortable.svg`,
752
+ urlIcon: `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/confortable.svg`,
753
753
  onClick: () => setRowHeightVariant("confortable"),
754
754
  disabled: currentRowHeightVariant === "confortable",
755
- dictionaryField: "grid.density_confortable"
755
+ dictionaryField: "data_grid.density_confortable"
756
756
  }];
757
757
  }, [rowHeights, currentRowHeightVariant, setRowHeightVariant, host_static_assets, environment_assets]);
758
758
  const currenViewIcon = useMemo(() => {
759
759
  if (currentRowHeightVariant === "compact") {
760
- return `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/compact.svg`;
760
+ return `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/compact.svg`;
761
761
  }
762
762
  if (currentRowHeightVariant === "standard") {
763
- return `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/standard.svg`;
763
+ return `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/standard.svg`;
764
764
  }
765
- return `${host_static_assets}/${environment_assets}/frontend/components/grid/assets/icons/confortable.svg`;
765
+ return `${host_static_assets}/${environment_assets}/frontend/components/data_grid/assets/icons/confortable.svg`;
766
766
  }, [currentRowHeightVariant, host_static_assets, environment_assets]);
767
767
  if (menuActions.length === 0) {
768
768
  return /* @__PURE__ */ jsx(Fragment, {});
@@ -790,7 +790,7 @@ function Density() {
790
790
  },
791
791
  menuActions,
792
792
  urlIcon: currenViewIcon,
793
- toolTip: getLabel("grid.density_tooltip")
793
+ toolTip: getLabel("data_grid.tooltip_density")
794
794
  })
795
795
  });
796
796
  }
@@ -2,7 +2,7 @@
2
2
  export declare const WrapperColumnsConfig: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
3
  export declare const DivAll: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
4
  export declare const DivSelColumns: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const WrapperGrid: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const WrapperDataGrid: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
6
  export declare const DivColumn: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
7
  export declare const ColumnActions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
8
  export declare const DialogActions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,3 +1,3 @@
1
1
  import { Dictionary } from '@m4l/core';
2
- export declare function getGridComponentsDictionary(): string[];
2
+ export declare function getDataGridComponentsDictionary(): string[];
3
3
  export declare const defaultGridDictionary: Dictionary;
@@ -17,7 +17,7 @@ const WrapperGrid = styled("div")(() => ({
17
17
  inset: "0px",
18
18
  overflow: "hidden"
19
19
  }));
20
- const OriginalGridWrapperStyled = styled("div")(({
20
+ const OriginalDataGridWrapperStyled = styled("div")(({
21
21
  theme
22
22
  }) => ({
23
23
  position: "absolute",
@@ -402,7 +402,7 @@ function DraggableHeaderRenderer(props) {
402
402
  },
403
403
  children: /* @__PURE__ */ jsx(InputBase, {
404
404
  inputRef: ref,
405
- placeholder: getLabel("grid.filter_holder"),
405
+ placeholder: getLabel("data_grid.filter_holder"),
406
406
  style: {
407
407
  width: "100%",
408
408
  paddingBottom: "2px",
@@ -821,7 +821,7 @@ function Table(props) {
821
821
  useEffect(() => {
822
822
  setSelectedRows(new Set(props.selectedRows));
823
823
  }, [props.selectedRows]);
824
- const refGrid = useRef(null);
824
+ const ref_data_grid = useRef(null);
825
825
  const updateExternal = (mapRowsSelected) => {
826
826
  if (props.onRowsSelectedChange) {
827
827
  const rawRowsSelected = [];
@@ -860,9 +860,9 @@ function Table(props) {
860
860
  for (const column of finalColumns) {
861
861
  const index = sortColumns.findIndex((sortColumn) => column.key === sortColumn.columnKey);
862
862
  if (index !== -1) {
863
- refGrid.current?.element?.querySelector(`[role="columnheader"][aria-colindex="${columnIndice + 1}"]`)?.setAttribute("aria-columnsort", `${sortColumns[index].direction}`);
863
+ ref_data_grid.current?.element?.querySelector(`[role="columnheader"][aria-colindex="${columnIndice + 1}"]`)?.setAttribute("aria-columnsort", `${sortColumns[index].direction}`);
864
864
  } else {
865
- refGrid.current?.element?.querySelector(`[role="columnheader"][aria-colindex="${columnIndice + 1}"]`)?.removeAttribute("aria-columnsort");
865
+ ref_data_grid.current?.element?.querySelector(`[role="columnheader"][aria-colindex="${columnIndice + 1}"]`)?.removeAttribute("aria-columnsort");
866
866
  }
867
867
  columnIndice++;
868
868
  }
@@ -879,13 +879,13 @@ function Table(props) {
879
879
  return /* @__PURE__ */ jsx(WrapperTable, {
880
880
  id: "WrapperTable",
881
881
  withActions,
882
- children: /* @__PURE__ */ jsx(OriginalGridWrapperStyled, {
882
+ children: /* @__PURE__ */ jsx(OriginalDataGridWrapperStyled, {
883
883
  id: "OriginalGridWrapperStyled",
884
884
  children: /* @__PURE__ */ jsx(DndProvider, {
885
885
  backend: HTML5Backend,
886
886
  children: /* @__PURE__ */ jsx(DataGrid$1, {
887
887
  className: "fill-grid rdg-light",
888
- ref: refGrid,
888
+ ref: ref_data_grid,
889
889
  headerRowHeight: activeFilters ? currentRowHeaderHeight + filterHeight : currentRowHeaderHeight,
890
890
  columns: finalColumns,
891
891
  sortColumns,
@@ -951,8 +951,8 @@ function DataGrid(props) {
951
951
  })
952
952
  });
953
953
  }
954
- function getGridComponentsDictionary() {
955
- return ["grid"].concat(getPagerComponentsDictionary()).concat(getModalDialogComponentsDictionary());
954
+ function getDataGridComponentsDictionary() {
955
+ return ["data_grid"].concat(getPagerComponentsDictionary()).concat(getModalDialogComponentsDictionary());
956
956
  }
957
957
  ({
958
958
  grid: {
@@ -983,4 +983,4 @@ function getGridComponentsDictionary() {
983
983
  ...defaultPagerDictionary,
984
984
  ...defaultModalDialogDictionary
985
985
  });
986
- export { DataGrid as D, OriginalGridWrapperStyled as O, useFilters as a, getGridComponentsDictionary as g, useBase as u };
986
+ export { DataGrid as D, OriginalDataGridWrapperStyled as O, useFilters as a, getDataGridComponentsDictionary as g, useBase as u };
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  export declare const WrapperGrid: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
- export declare const OriginalGridWrapperStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
+ export declare const OriginalDataGridWrapperStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,7 +1,7 @@
1
1
  import { useState, useEffect, useCallback, useMemo } from "react";
2
2
  import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
3
3
  import { styled } from "@mui/material/styles";
4
- import { D as DataGrid, g as getGridComponentsDictionary } from "../DataGrid/index.js";
4
+ import { D as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.js";
5
5
  import { D as DateFormatter } from "../formatters/DateFormatter/index.js";
6
6
  import { Tooltip, IconButton } from "@mui/material";
7
7
  import { R as ReactJson } from "../../react-json-view.js";
@@ -264,7 +264,7 @@ function ObjectLogs(props) {
264
264
  });
265
265
  }
266
266
  function getObjectLogsComponentsDictionary() {
267
- return ["object_logs"].concat(getGridComponentsDictionary()).concat(getDynamicFilterComponentsDictionary());
267
+ return ["object_logs"].concat(getDataGridComponentsDictionary()).concat(getDynamicFilterComponentsDictionary());
268
268
  }
269
269
  const defaultObjectLogDictionary = {
270
270
  object_logs: {
@@ -7,7 +7,7 @@ export * from './formatters/dicctionary';
7
7
  export { DataGrid } from '../components/DataGrid';
8
8
  export type { Column } from 'react-data-grid';
9
9
  export type { RowKey } from '../components/DataGrid/types';
10
- export { getGridComponentsDictionary } from '../components/DataGrid/dictionary';
10
+ export { getDataGridComponentsDictionary as getGridComponentsDictionary } from '../components/DataGrid/dictionary';
11
11
  export * from '../components/DynamicFilter';
12
12
  export * from '../components/DynamicFilter/dictionary';
13
13
  export type { FilterFieldApply, RawFilterFieldApply } from '../components/DynamicFilter/types';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
3
  "private": false,
4
- "version": "0.0.53",
4
+ "version": "0.0.54",
5
5
  "license": "UNLICENSED",
6
6
  "scripts": {
7
7
  "dev": "vite",