@m4l/components 9.4.5 → 9.4.6-JT19122025.beta.1
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/@types/types.d.ts +1 -1
- package/components/DataGrid/Datagrid.styles.js +174 -153
- package/components/DataGrid/components/DataGrid/DataGrid.d.ts +28 -0
- package/components/DataGrid/{DataGrid.js → components/DataGrid/DataGrid.js} +12 -16
- package/components/DataGrid/components/DataGrid/index.d.ts +1 -0
- package/components/DataGrid/components/index.d.ts +1 -0
- package/components/DataGrid/contexts/DataGridContext/DataGridContext.d.ts +9 -0
- package/components/DataGrid/contexts/DataGridContext/DataGridContext.js +368 -0
- package/components/DataGrid/contexts/DataGridContext/index.d.ts +2 -9
- package/components/DataGrid/contexts/DataGridContext/index.js +0 -364
- package/components/DataGrid/contexts/DataGridContext/types.d.ts +2 -1
- package/components/DataGrid/contexts/FilterContext/FilterContext.d.ts +12 -0
- package/components/DataGrid/contexts/FilterContext/FilterContext.js +50 -0
- package/components/DataGrid/contexts/FilterContext/index.d.ts +2 -12
- package/components/DataGrid/contexts/FilterContext/index.js +1 -47
- package/components/DataGrid/dictionary.d.ts +2 -1
- package/components/DataGrid/dictionary.js +3 -2
- package/components/DataGrid/formatters/ColumnBooleanFormatter/useColumnBoolean.js +9 -6
- package/components/DataGrid/formatters/ColumnChipStatusFormatter/useColumnChipStatus.js +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValuesFormatter/useColumnConcatenatedValues.js +1 -1
- package/components/DataGrid/formatters/ColumnDateFormatter/useColumnDate.js +1 -1
- package/components/DataGrid/formatters/ColumnImageFormatter/ImageFormatterCell.js +1 -1
- package/components/DataGrid/formatters/ColumnNestedValueFormatter/useColumnNestedValue.js +1 -1
- package/components/DataGrid/formatters/ColumnPointsFormatter/useColumnPoints.js +1 -1
- package/components/DataGrid/formatters/ColumnPriceFormatter/useColumnPrice.js +1 -1
- package/components/DataGrid/formatters/ColumnSetCheckFormatter/formatter.js +1 -1
- package/components/DataGrid/formatters/ColumnSetCheckFormatter/useColumnSetCheck.js +1 -1
- package/components/DataGrid/formatters/ColumnTagsFormatter/useColumnTags.js +1 -1
- package/components/DataGrid/formatters/ColumnUncertaintyFormatter/useColumnUncertainty.js +1 -1
- package/components/DataGrid/helpers/index.d.ts +14 -13
- package/components/DataGrid/helpers/{getColumnsWidth → persistence/getColumnsWidth}/getColumnsWidth.d.ts +2 -2
- package/components/DataGrid/helpers/persistence/getColumnsWidth/types.d.ts +25 -0
- package/components/DataGrid/helpers/{getViewMode → persistence/getViewMode}/getViewMode.d.ts +2 -2
- package/components/DataGrid/helpers/{loadViewConfig → persistence/loadViewConfig}/loadViewConfig.d.ts +1 -1
- package/components/DataGrid/helpers/{saveColumnsWidth → persistence/saveColumnsWidth}/saveColumnsWidth.d.ts +1 -1
- package/components/DataGrid/helpers/{saveColumnsWidth → persistence/saveColumnsWidth}/saveColumnsWidth.js +1 -1
- package/components/DataGrid/helpers/{saveViewConfig → persistence/saveViewConfig}/saveViewConfig.d.ts +1 -1
- package/components/DataGrid/helpers/{saveViewMode → persistence/saveViewMode}/saveViewMode.d.ts +2 -2
- package/components/DataGrid/helpers/{castMapColumnsWidthToRecord.d.ts → shared/castMapColumnsWidthToRecord/castMapColumnsWidthToRecord.d.ts} +2 -2
- package/components/DataGrid/helpers/shared/castMapColumnsWidthToRecord/castMapColumnsWidthToRecord.js +19 -0
- package/components/DataGrid/helpers/shared/castMapColumnsWidthToRecord/index.d.ts +1 -0
- package/components/DataGrid/helpers/{getAllViewModes → shared/getAllViewModes}/getAllViewModes.d.ts +1 -1
- package/components/DataGrid/helpers/{getColumnKey.d.ts → shared/getColumnKey/getColumnKey.d.ts} +1 -1
- package/components/DataGrid/helpers/shared/getColumnKey/index.d.ts +1 -0
- package/components/DataGrid/helpers/shared/getDataGridRowsFromSet/getDataGridRowsFromSet.d.ts +20 -0
- package/components/DataGrid/helpers/shared/getDataGridRowsFromSet/index.d.ts +1 -0
- package/components/DataGrid/helpers/{getIndexRowHeightVariant → shared/getIndexRowHeightVariant}/getIndexRowHeightVariant.d.ts +1 -1
- package/components/DataGrid/helpers/shared/getIndexRowHeightVariant/index.js +1 -0
- package/components/DataGrid/helpers/{getInitialColumnsConfig → shared/getInitialColumnsConfig}/getInitialColumnsConfig.d.ts +3 -3
- package/components/DataGrid/helpers/{getInitialColumnsConfig → shared/getInitialColumnsConfig}/getInitialColumnsConfig.js +1 -1
- package/components/DataGrid/helpers/{getInitialColumnsConfig → shared/getInitialColumnsConfig}/index.d.ts +1 -0
- package/components/DataGrid/helpers/shared/getInitialColumnsConfig/index.js +1 -0
- package/components/DataGrid/helpers/shared/getInitialColumnsConfig/types.d.ts +18 -0
- package/components/DataGrid/helpers/{getViewSpecificConfig → shared/getViewSpecificConfig}/getViewSpecificConfig.d.ts +2 -2
- package/components/DataGrid/helpers/{getViewSpecificConfig → shared/getViewSpecificConfig}/index.d.ts +1 -0
- package/components/DataGrid/helpers/shared/getViewSpecificConfig/index.js +1 -0
- package/components/DataGrid/helpers/shared/getViewSpecificConfig/types.d.ts +11 -0
- package/components/DataGrid/helpers/{getViewSuffix → shared/getViewSuffix}/getViewSuffix.d.ts +1 -1
- package/components/DataGrid/helpers/shared/getViewSuffix/index.js +1 -0
- package/components/DataGrid/hooks/index.d.ts +8 -6
- package/components/DataGrid/hooks/shared/useDataGrid/index.d.ts +1 -0
- package/components/DataGrid/hooks/shared/useDataGrid/index.js +1 -0
- package/components/DataGrid/hooks/shared/useDataGrid/useDataGrid.d.ts +9 -0
- package/components/DataGrid/hooks/{useDataGrid.js → shared/useDataGrid/useDataGrid.js} +1 -1
- package/components/DataGrid/hooks/shared/useFilters/index.d.ts +1 -0
- package/components/DataGrid/hooks/shared/useFilters/index.js +1 -0
- package/components/DataGrid/hooks/shared/useFilters/useFilters.d.ts +5 -0
- package/components/DataGrid/hooks/{useFilters.js → shared/useFilters/useFilters.js} +1 -1
- package/components/DataGrid/hooks/useChangeColumnsConfig/types.d.ts +14 -0
- package/components/DataGrid/hooks/useChangeColumnsConfig/useChangeColumnsConfig.d.ts +1 -1
- package/components/DataGrid/hooks/useChangeColumnsConfig/useChangeColumnsConfig.js +2 -2
- package/components/DataGrid/hooks/useChangeColumnsOrder/types.d.ts +11 -0
- package/components/DataGrid/hooks/useChangeColumnsOrder/useChangeColumnsOrder.d.ts +1 -1
- package/components/DataGrid/hooks/useColumnsWidth/types.d.ts +16 -0
- package/components/DataGrid/hooks/useColumnsWidth/useColumnsWidth.d.ts +1 -1
- package/components/DataGrid/hooks/useColumnsWidth/useColumnsWidth.js +1 -1
- package/components/DataGrid/hooks/useRowHeight/types.d.ts +16 -0
- package/components/DataGrid/hooks/useRowHeight/useRowHeight.d.ts +1 -18
- package/components/DataGrid/hooks/useRowHeight/useRowHeight.js +1 -1
- package/components/DataGrid/hooks/useViewConfig/types.d.ts +9 -0
- package/components/DataGrid/hooks/useViewConfig/useViewConfig.d.ts +1 -1
- package/components/DataGrid/hooks/useViewMode/types.d.ts +22 -0
- package/components/DataGrid/hooks/useViewMode/useViewMode.d.ts +1 -9
- package/components/DataGrid/hooks/useViewMode/useViewMode.js +2 -2
- package/components/DataGrid/icons.d.ts +1 -0
- package/components/DataGrid/icons.js +2 -1
- package/components/DataGrid/index.d.ts +4 -4
- package/components/DataGrid/slots/DataGridEnum.d.ts +4 -1
- package/components/DataGrid/slots/DataGridEnum.js +3 -0
- package/components/DataGrid/slots/DataGridSlot.d.ts +3 -0
- package/components/DataGrid/slots/DataGridSlot.js +52 -37
- package/components/DataGrid/slots/index.d.ts +2 -0
- package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +21 -1
- package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +2 -2
- package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +1 -1
- package/components/DataGrid/subcomponents/ControlNavigate/index.js +1 -0
- package/components/DataGrid/subcomponents/ControlNavigate/subcomponents/RowsCount/RowsCount.d.ts +17 -0
- package/components/DataGrid/subcomponents/{HeaderActions/subcomponents/RowsCount/index.js → ControlNavigate/subcomponents/RowsCount/RowsCount.js} +2 -2
- package/components/DataGrid/subcomponents/ControlNavigate/subcomponents/RowsCount/index.d.ts +1 -0
- package/components/DataGrid/subcomponents/ControlNavigate/subcomponents/RowsCount/index.js +1 -0
- package/components/DataGrid/subcomponents/ControlNavigate/types.js +1 -0
- package/components/DataGrid/subcomponents/HeaderActions/HeaderActions.d.ts +13 -0
- package/components/DataGrid/subcomponents/HeaderActions/HeaderActions.js +55 -0
- package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +2 -5
- package/components/DataGrid/subcomponents/HeaderActions/index.js +1 -42
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Density/Density.d.ts +19 -0
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Density/Density.js +74 -0
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Density/index.d.ts +1 -4
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Density/index.js +1 -74
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Filter/Filter.d.ts +12 -0
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Filter/Filter.js +34 -0
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Filter/index.d.ts +1 -4
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Filter/index.js +1 -34
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/MobileMenuActions/MobileMenuActions.d.ts +19 -0
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/MobileMenuActions/MobileMenuActions.js +70 -0
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/MobileMenuActions/index.d.ts +1 -7
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/MobileMenuActions/index.js +1 -67
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.d.ts +16 -0
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.js +125 -0
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/ViewMode/index.d.ts +1 -4
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/ViewMode/index.js +1 -125
- package/components/DataGrid/subcomponents/HeaderActions/types.js +1 -0
- package/components/DataGrid/subcomponents/editors/EditLabelEditor/formatter.d.ts +17 -3
- package/components/DataGrid/subcomponents/editors/EditLabelEditor/useColumnEditLabel.d.ts +23 -1
- package/components/DataGrid/subcomponents/editors/TextEditor/TextEditor.d.ts +50 -0
- package/components/DataGrid/subcomponents/editors/TextEditor/TextEditor.js +55 -0
- package/components/DataGrid/subcomponents/editors/TextEditor/index.d.ts +1 -20
- package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -55
- package/components/DataGrid/subcomponents/editors/index.d.ts +2 -0
- package/components/DataGrid/subcomponents/index.d.ts +3 -0
- package/components/DataGrid/types.d.ts +13 -1
- package/components/DataGrid/views/CardsView/CardsView.d.ts +6 -0
- package/components/DataGrid/{subcomponents/Cards/index.js → views/CardsView/CardsView.js} +13 -11
- package/components/DataGrid/{subcomponents/Cards/helpers → views/CardsView/helpers/calculateCardHeight}/calculateCardHeight.d.ts +1 -1
- package/components/DataGrid/{subcomponents/Cards/helpers → views/CardsView/helpers/calculateCardHeight}/calculateCardHeight.js +1 -1
- package/components/DataGrid/views/CardsView/helpers/calculateCardHeight/index.d.ts +1 -0
- package/components/DataGrid/views/CardsView/helpers/calculateCardHeight/index.js +1 -0
- package/components/DataGrid/views/CardsView/helpers/scrollToCardElement/index.d.ts +1 -0
- package/components/DataGrid/views/CardsView/helpers/scrollToCardElement/index.js +1 -0
- package/components/DataGrid/views/CardsView/hooks/useCardContent/index.d.ts +1 -0
- package/components/DataGrid/views/CardsView/hooks/useCardContent/index.js +1 -0
- package/components/DataGrid/{subcomponents/Cards/hooks → views/CardsView/hooks/useCardContent}/useCardContent.d.ts +2 -2
- package/components/DataGrid/{subcomponents/Cards/hooks → views/CardsView/hooks/useCardContent}/useCardContent.js +48 -6
- package/components/DataGrid/views/CardsView/hooks/useModalDetail/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/hooks/useModalDetail/index.js +1 -0
- package/components/DataGrid/views/CardsView/hooks/useModalDetail/types.d.ts +19 -0
- package/components/DataGrid/views/CardsView/hooks/useModalDetail/types.js +1 -0
- package/components/DataGrid/views/CardsView/hooks/useModalDetail/useModalDetail.d.ts +6 -0
- package/components/DataGrid/{hooks/useModalCardDetail.js → views/CardsView/hooks/useModalDetail/useModalDetail.js} +17 -14
- package/components/DataGrid/views/CardsView/hooks/useProcessedColumns/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/hooks/useProcessedColumns/index.js +1 -0
- package/components/DataGrid/views/CardsView/hooks/useProcessedColumns/types.d.ts +11 -0
- package/components/DataGrid/views/CardsView/hooks/useProcessedColumns/types.js +1 -0
- package/components/DataGrid/{hooks → views/CardsView/hooks/useProcessedColumns}/useProcessedColumns.d.ts +3 -3
- package/components/DataGrid/{hooks → views/CardsView/hooks/useProcessedColumns}/useProcessedColumns.js +2 -2
- package/components/DataGrid/views/CardsView/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/index.js +1 -0
- package/components/DataGrid/{subcomponents/Cards/subcomponents/CardDetails/index.d.ts → views/CardsView/subcomponents/CardDetails/CardDetails.d.ts} +2 -2
- package/components/DataGrid/{subcomponents/Cards/subcomponents/CardDetails/index.js → views/CardsView/subcomponents/CardDetails/CardDetails.js} +57 -15
- package/components/DataGrid/views/CardsView/subcomponents/CardDetails/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardDetails/index.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardDetails/types.d.ts +38 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardDetails/types.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/CardRow.d.ts +11 -0
- package/components/DataGrid/{subcomponents/Cards/subcomponents/CardRow/index.js → views/CardsView/subcomponents/CardRow/CardRow.js} +21 -25
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/index.js +1 -0
- package/components/DataGrid/{subcomponents/Cards/subcomponents/CardHeader/index.d.ts → views/CardsView/subcomponents/CardRow/subcomponents/CardHeader/CardHeader.d.ts} +1 -1
- package/components/DataGrid/{subcomponents/Cards/subcomponents/CardHeader/index.js → views/CardsView/subcomponents/CardRow/subcomponents/CardHeader/CardHeader.js} +6 -6
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/CardHeader/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/CardHeader/index.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/CardHeader/types.d.ts +11 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/CardHeader/types.js +1 -0
- package/components/DataGrid/{subcomponents/Cards/subcomponents/LazyLoadCard/index.d.ts → views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/LazyLoadCard.d.ts} +1 -1
- package/components/DataGrid/{subcomponents/Cards/subcomponents/LazyLoadCard/index.js → views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/LazyLoadCard.js} +1 -1
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/index.js +1 -0
- package/components/DataGrid/{subcomponents/Cards/subcomponents/IntersectCard/index.d.ts → views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/subcomponents/IntersectCard/IntersectCard.d.ts} +1 -1
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/subcomponents/IntersectCard/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/subcomponents/IntersectCard/index.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/subcomponents/IntersectCard/types.d.ts +35 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/subcomponents/IntersectCard/types.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/types.d.ts +30 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/types.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/types.d.ts +72 -0
- package/components/DataGrid/views/CardsView/subcomponents/CardRow/types.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/Settings/Settings.d.ts +6 -0
- package/components/DataGrid/{subcomponents/HeaderActions/subcomponents/Settings/index.js → views/CardsView/subcomponents/Settings/Settings.js} +4 -10
- package/components/DataGrid/views/CardsView/subcomponents/Settings/hooks/useModalSettings/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/subcomponents/Settings/hooks/useModalSettings/index.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/Settings/hooks/useModalSettings/types.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.d.ts +7 -0
- package/components/DataGrid/{subcomponents/HeaderActions/subcomponents/hooks/useModalSettingsCards/index.js → views/CardsView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.js} +15 -15
- package/components/DataGrid/views/CardsView/subcomponents/Settings/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/subcomponents/Settings/index.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.d.ts +10 -0
- package/components/DataGrid/{subcomponents/HeaderActions/subcomponents/Settings/subcomponents/ColumnsConfigCards/index.js → views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js} +19 -19
- package/components/DataGrid/views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +2 -0
- package/components/DataGrid/views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +1 -0
- package/components/DataGrid/{subcomponents/HeaderActions/subcomponents/Settings/subcomponents/ColumnsConfigCards → views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig}/types.d.ts +2 -2
- package/components/DataGrid/views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/types.js +1 -0
- package/components/DataGrid/views/CardsView/subcomponents/Settings/types.js +1 -0
- package/components/DataGrid/views/CardsView/types.d.ts +18 -0
- package/components/DataGrid/views/CardsView/types.js +1 -0
- package/components/DataGrid/{subcomponents/Table/index.d.ts → views/TableView/TableView.d.ts} +1 -1
- package/components/DataGrid/{subcomponents/Table/index.js → views/TableView/TableView.js} +9 -9
- package/components/DataGrid/{subcomponents/Table/hooks → views/TableView/helpers/getDragHeaderRenderer}/getDragHeaderRenderer.js +1 -1
- package/components/DataGrid/views/TableView/helpers/getDragHeaderRenderer/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/helpers/getDragHeaderRenderer/index.js +1 -0
- package/components/DataGrid/views/TableView/helpers/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/helpers/index.js +1 -0
- package/components/DataGrid/views/TableView/hooks/useFocusRef/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/hooks/useFocusRef/index.js +1 -0
- package/components/DataGrid/views/TableView/hooks/useFocusRef/useFocusRef.d.ts +20 -0
- package/components/DataGrid/views/TableView/hooks/useHeaderMenuActions/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/hooks/useHeaderMenuActions/index.js +1 -0
- package/components/DataGrid/views/TableView/hooks/useHeaderMenuActions/useHeaderMenuActions.d.ts +27 -0
- package/components/DataGrid/{subcomponents/Table/hooks → views/TableView/hooks/useHeaderMenuActions}/useHeaderMenuActions.js +3 -3
- package/components/DataGrid/views/TableView/hooks/useSortColumnsRows/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/hooks/useSortColumnsRows/index.js +1 -0
- package/components/DataGrid/{subcomponents/Table/hooks → views/TableView/hooks/useSortColumnsRows}/useSortColumnsRows.js +8 -10
- package/components/DataGrid/views/TableView/subcomponents/ActionsColumn/ActionsColumn.d.ts +14 -0
- package/components/DataGrid/{subcomponents/Table/subcomponents → views/TableView/subcomponents/ActionsColumn}/ActionsColumn.js +4 -8
- package/components/DataGrid/views/TableView/subcomponents/ActionsColumn/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/subcomponents/ActionsColumn/index.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/CheckboxFormatter/CheckboxFormatter.d.ts +15 -0
- package/components/DataGrid/{subcomponents/Table/subcomponents → views/TableView/subcomponents/CheckboxFormatter}/CheckboxFormatter.js +2 -1
- package/components/DataGrid/views/TableView/subcomponents/CheckboxFormatter/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/subcomponents/CheckboxFormatter/index.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/CheckboxFormatter/subcomponents/CustomIcons/CustomIcons.d.ts +105 -0
- package/components/DataGrid/views/TableView/subcomponents/CheckboxFormatter/subcomponents/CustomIcons/CustomIcons.js +50 -0
- package/components/DataGrid/views/TableView/subcomponents/CheckboxFormatter/subcomponents/CustomIcons/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/subcomponents/CheckboxFormatter/subcomponents/CustomIcons/index.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/DraggableHeaderRenderer/DraggableHeaderRenderer.d.ts +24 -0
- package/components/DataGrid/{subcomponents/Table/subcomponents → views/TableView/subcomponents/DraggableHeaderRenderer}/DraggableHeaderRenderer.js +14 -8
- package/components/DataGrid/views/TableView/subcomponents/DraggableHeaderRenderer/index.d.ts +2 -0
- package/components/DataGrid/views/TableView/subcomponents/DraggableHeaderRenderer/index.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/DraggableHeaderRenderer/types.d.ts +14 -0
- package/components/DataGrid/views/TableView/subcomponents/DraggableHeaderRenderer/types.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/HeaderRenderClick/HeaderRenderClick.d.ts +26 -0
- package/components/DataGrid/{subcomponents/Table → views/TableView}/subcomponents/HeaderRenderClick/HeaderRenderClick.js +2 -2
- package/components/DataGrid/{subcomponents/Table → views/TableView}/subcomponents/HeaderRenderClick/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/subcomponents/HeaderRenderClick/index.js +1 -0
- package/components/DataGrid/{subcomponents/Table → views/TableView}/subcomponents/HeaderRenderClick/types.d.ts +60 -22
- package/components/DataGrid/views/TableView/subcomponents/HeaderRenderClick/types.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/RadioSelectColumn/RadioSelectColumn.d.ts +65 -0
- package/components/DataGrid/{subcomponents/Table/subcomponents → views/TableView/subcomponents/RadioSelectColumn}/RadioSelectColumn.js +3 -3
- package/components/DataGrid/views/TableView/subcomponents/RadioSelectColumn/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/subcomponents/RadioSelectColumn/index.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/RadioSelectColumn/subcomponents/RadioFormatter/RadioFormatter.d.ts +22 -0
- package/components/DataGrid/views/TableView/subcomponents/RadioSelectColumn/subcomponents/RadioFormatter/RadioFormatter.js +14 -0
- package/components/DataGrid/views/TableView/subcomponents/RadioSelectColumn/subcomponents/RadioFormatter/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/subcomponents/RadioSelectColumn/subcomponents/RadioFormatter/index.js +1 -0
- package/components/DataGrid/{subcomponents/Table/subcomponents → views/TableView/subcomponents/SelectColumn}/SelectColumn.js +4 -4
- package/components/DataGrid/views/TableView/subcomponents/SelectColumn/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/subcomponents/SelectColumn/index.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/Settings.d.ts +6 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/Settings.js +29 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/hooks/useModalSettings/index.d.ts +2 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/hooks/useModalSettings/index.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/hooks/useModalSettings/types.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.d.ts +7 -0
- package/components/DataGrid/{subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.js → views/TableView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.js} +9 -9
- package/components/DataGrid/views/TableView/subcomponents/Settings/index.d.ts +2 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/index.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.d.ts +10 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js +309 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +2 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/subcomponents/ColumnsConfig/types.js +1 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/types.d.ts +4 -0
- package/components/DataGrid/views/TableView/subcomponents/Settings/types.js +1 -0
- package/components/DataGrid/{subcomponents/Table/subcomponents/SkeletonFormatter/index.js → views/TableView/subcomponents/SkeletonFormatter/SkeletonFormatter.js} +1 -1
- package/components/DataGrid/views/TableView/subcomponents/SkeletonFormatter/index.d.ts +1 -0
- package/components/DataGrid/views/TableView/subcomponents/SkeletonFormatter/index.js +1 -0
- package/components/DataGrid/{subcomponents/CheckboxCellAdapter/index.js → views/adapters/CheckboxCellAdapter/CheckboxCellAdapter.js} +4 -4
- package/components/DataGrid/views/adapters/CheckboxCellAdapter/index.d.ts +2 -0
- package/components/DataGrid/views/adapters/CheckboxCellAdapter/index.js +1 -0
- package/components/DataGrid/views/adapters/CheckboxCellAdapter/types.js +1 -0
- package/components/DataGrid/{subcomponents/RenderContent/index.d.ts → views/adapters/RenderContent/RenderContent.d.ts} +1 -1
- package/components/DataGrid/views/adapters/RenderContent/RenderContent.js +11 -0
- package/components/DataGrid/views/adapters/RenderContent/index.d.ts +1 -0
- package/components/DataGrid/views/adapters/RenderContent/index.js +1 -0
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/DynamicFilterBase.js +1 -1
- package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +1 -1
- package/components/DynamicSort/subcomponents/DynamicSortBase/DynamicSortBase.js +1 -1
- package/components/Icon/Icon.js +1 -1
- package/components/Image/Image.js +1 -1
- package/components/Image/subcomponents/IntersectComponent/index.js +1 -1
- package/components/ImageText/ImageText.js +1 -1
- package/components/LanguagePopover/LanguagePopover.js +1 -1
- package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.js +1 -1
- package/components/LoadingError/LoadingError.js +1 -1
- package/components/MenuActions/MenuActions.js +1 -1
- package/components/MenuActions/dictionary.js +2 -2
- package/components/NumberInput/NumberInput.js +1 -1
- package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +0 -2
- package/components/ObjectLogs/dictionary.js +1 -1
- package/components/ObjectLogs/hooks/useDetailFormatter.d.ts +1 -1
- package/components/ObjectLogs/hooks/useObjectLogsColumns.js +2 -2
- package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +2 -2
- package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +2 -2
- package/components/PDFViewer/PDFViewer.js +1 -1
- package/components/PrintingSystem/PrintingSystem.js +1 -1
- package/components/PropertyValue/PropertyValue.js +1 -1
- package/components/ToastContainer/ToastContainer.js +1 -1
- package/components/WindowBase/WindowBase.js +1 -1
- package/components/WindowConfirm/WindowConfirm.js +1 -1
- package/components/areas/components/AreasAdmin/AreasAdmin.js +1 -1
- package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +1 -1
- package/components/commercial/TopBar/TopBar.js +1 -1
- package/components/commercial/TopBar/component/ConteinItem/index.js +1 -1
- package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/index.js +1 -1
- package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +1 -1
- package/components/extended/React-resizable-panels/SplitLayout.js +1 -1
- package/components/formatters/BooleanFormatter/BooleanFormatter.js +1 -1
- package/components/formatters/ColorFormatter/ColorFormatter.js +1 -1
- package/components/formatters/ConcatenatedFormatter/ConcatenatedFormatter.js +1 -1
- package/components/formatters/DateFormatter/DateFormatter.js +1 -1
- package/components/formatters/DistanceToNowFormatter/DistanceToNowFormatter.js +1 -1
- package/components/formatters/ImageFormatter/ImageFormatter.js +1 -1
- package/components/formatters/ImageFormatter/ImageFormatter.styles.js +1 -0
- package/components/formatters/PeriodFormatter/PeriodFormatter.js +1 -1
- package/components/formatters/PointsFormatter/PointsFormatter.js +1 -1
- package/components/formatters/PriceFormatter/PriceFormatter.js +1 -1
- package/components/formatters/UncertaintyFormatter/UncertaintyFormatter.js +1 -1
- package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +0 -5
- package/components/hook-form/RHFCheckableList/RHFCheckableList.js +1 -1
- package/components/hook-form/RHFColorPicker/RFHColorPicker.js +1 -1
- package/components/hook-form/RHFColorPicker/subcomponents/ColorPickerField/ColorPickerField.js +1 -1
- package/components/hook-form/RHFDateTime/RHFDateTime.js +1 -1
- package/components/hook-form/RHFNumberInput/RHFNumberInput.js +1 -1
- package/components/hook-form/RHFPeriod/RHFPeriod.js +1 -1
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.js +1 -1
- package/components/hook-form/RHFSelect/RHFSelect.js +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.js +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +1 -1
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.js +1 -1
- package/components/index.d.ts +1 -1
- package/components/mui_extended/Accordion/Accordion.js +1 -1
- package/components/mui_extended/Avatar/Avatar.js +1 -1
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.js +1 -1
- package/components/mui_extended/Badge/Badge.js +1 -1
- package/components/mui_extended/CircularProgress/CircularProgress.js +1 -1
- package/components/mui_extended/DateTimePicker/DateTimePicker.js +1 -1
- package/components/mui_extended/Dialog/Dialog.js +1 -1
- package/components/mui_extended/ImageButton/ImageButton.js +1 -1
- package/components/mui_extended/MenuDivider/MenuDivider.js +1 -1
- package/components/mui_extended/NavLink/NavLink.js +1 -1
- package/components/mui_extended/Popover/Popover.js +1 -1
- package/components/mui_extended/Select/Select.js +1 -1
- package/components/mui_extended/Stack/Stack.js +1 -1
- package/components/mui_extended/TextField/TextField.js +1 -1
- package/components/mui_extended/ToggleButton/ToggleButton.js +1 -1
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.js +1 -1
- package/components/mui_extended/Typography/Typography.js +1 -1
- package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +1 -1
- package/hooks/useDataGridPersistence/helpers.d.ts +1 -1
- package/hooks/useDataGridPersistence/useDataGridPersistence.d.ts +1 -1
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.d.ts +1 -1
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +1 -1
- package/index.js +86 -86
- package/not_recognized/index.js +25 -100
- package/package.json +1 -1
- package/test/getNameDataTestId.js +2 -2
- package/components/DataGrid/DataGrid.d.ts +0 -9
- package/components/DataGrid/formatters/ColumnIconFormatter/constants.d.ts +0 -4
- package/components/DataGrid/formatters/ColumnIconFormatter/tests/ColumnIconFormatter.test.d.ts +0 -1
- package/components/DataGrid/formatters/ColumnImageFormatter/tests/ColumnImageFormatter.test.d.ts +0 -1
- package/components/DataGrid/helpers/castMapColumnsWidthToRecord.js +0 -13
- package/components/DataGrid/hooks/useDataGrid.d.ts +0 -7
- package/components/DataGrid/hooks/useFilters.d.ts +0 -1
- package/components/DataGrid/hooks/useModalCardDetail.d.ts +0 -6
- package/components/DataGrid/subcomponents/Cards/index.d.ts +0 -5
- package/components/DataGrid/subcomponents/Cards/subcomponents/CardRow/index.d.ts +0 -11
- package/components/DataGrid/subcomponents/Cards/types.d.ts +0 -167
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Density/types.d.ts +0 -2
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/RowsCount/index.d.ts +0 -4
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/index.d.ts +0 -5
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -2
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +0 -283
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/subcomponents/ColumnsConfigCards/index.d.ts +0 -2
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +0 -8
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettingsCards/index.d.ts +0 -7
- package/components/DataGrid/subcomponents/RenderContent/index.js +0 -11
- package/components/DataGrid/subcomponents/Table/hooks/useFocusRef.d.ts +0 -7
- package/components/DataGrid/subcomponents/Table/hooks/useHeaderMenuActions.d.ts +0 -6
- package/components/DataGrid/subcomponents/Table/subcomponents/ActionsColumn.d.ts +0 -4
- package/components/DataGrid/subcomponents/Table/subcomponents/CheckboxFormatter.d.ts +0 -2
- package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.d.ts +0 -53
- package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +0 -25
- package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.d.ts +0 -10
- package/components/DataGrid/subcomponents/Table/subcomponents/HeaderRenderClick/HeaderRenderClick.d.ts +0 -5
- package/components/DataGrid/subcomponents/Table/subcomponents/RadioFormatter.d.ts +0 -6
- package/components/DataGrid/subcomponents/Table/subcomponents/RadioFormatter.js +0 -12
- package/components/DataGrid/subcomponents/Table/subcomponents/RadioSelectColumn.d.ts +0 -64
- package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/types.d.ts +0 -2
- package/components/DataGrid/tests/ColumnsFormatters.test.d.ts +0 -1
- package/components/DataGrid/tests/DataGrid.test.d.ts +0 -1
- package/components/DataGrid/tests/HeaderRenderClick.test.d.ts +0 -1
- package/components/DataGrid/tests/components/CardDetails.test.d.ts +0 -1
- package/components/DataGrid/tests/components/CardHeader.test.d.ts +0 -1
- package/components/DataGrid/tests/components/CardRow.test.d.ts +0 -1
- package/components/DataGrid/tests/components/Cards.test.d.ts +0 -1
- package/components/DataGrid/tests/components/CheckboxCellAdapter.test.d.ts +0 -1
- package/components/DataGrid/tests/components/ColumnsConfigCards.test.d.ts +0 -1
- package/components/DataGrid/tests/components/IntersectCard.test.d.ts +0 -1
- package/components/DataGrid/tests/components/ViewMode.test.d.ts +0 -1
- package/components/DataGrid/tests/hooks/useCardContent.test.d.ts +0 -1
- package/components/DataGrid/tests/hooks/useModalDetail.test.d.ts +0 -1
- package/components/DataGrid/tests/hooks/useModalSettingsCards.test.d.ts +0 -1
- package/components/DataGrid/tests/hooks/useProcessedColumns.test.d.ts +0 -1
- package/components/DataGrid/tests/table/subcomponents/RadioFormatter.test.d.ts +0 -1
- package/components/DataGrid/tests/table/subcomponents/RadioSelectColumn.test.d.ts +0 -1
- package/components/DataGrid/tests/useHeaderMenuActions.test.d.ts +0 -1
- package/components/DataGrid/tests/useSortColumnsRows.test.d.ts +0 -1
- package/components/DataGrid/types.helpers.d.ts +0 -55
- package/components/DataGrid/types.hooks.d.ts +0 -81
- package/components/DataGrid/utils/getDataGridRowsFromSet.d.ts +0 -4
- /package/components/DataGrid/{helpers/getAllViewModes → components/DataGrid}/index.js +0 -0
- /package/components/DataGrid/{helpers/getColumnsWidth/index.js → contexts/DataGridContext/types.js} +0 -0
- /package/components/DataGrid/{helpers/getIndexRowHeightVariant/index.js → contexts/FilterContext/types.js} +0 -0
- /package/components/DataGrid/helpers/{getColumnsWidth → persistence/getColumnsWidth}/getColumnsWidth.js +0 -0
- /package/components/DataGrid/helpers/{getColumnsWidth → persistence/getColumnsWidth}/getColumnsWidth.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{getColumnsWidth → persistence/getColumnsWidth}/index.d.ts +0 -0
- /package/components/DataGrid/helpers/{getInitialColumnsConfig → persistence/getColumnsWidth}/index.js +0 -0
- /package/components/DataGrid/helpers/{getViewMode → persistence/getViewMode}/getViewMode.js +0 -0
- /package/components/DataGrid/helpers/{getViewMode → persistence/getViewMode}/getViewMode.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{getViewMode → persistence/getViewMode}/index.d.ts +0 -0
- /package/components/DataGrid/helpers/{getViewMode → persistence/getViewMode}/index.js +0 -0
- /package/components/DataGrid/helpers/{loadViewConfig → persistence/loadViewConfig}/index.d.ts +0 -0
- /package/components/DataGrid/helpers/{getViewSpecificConfig → persistence/loadViewConfig}/index.js +0 -0
- /package/components/DataGrid/helpers/{loadViewConfig → persistence/loadViewConfig}/loadViewConfig.js +0 -0
- /package/components/DataGrid/helpers/{loadViewConfig → persistence/loadViewConfig}/loadViewConfig.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{saveColumnsWidth → persistence/saveColumnsWidth}/index.d.ts +0 -0
- /package/components/DataGrid/helpers/{getViewSuffix → persistence/saveColumnsWidth}/index.js +0 -0
- /package/components/DataGrid/helpers/{saveColumnsWidth → persistence/saveColumnsWidth}/saveColumnsWidth.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{saveViewConfig → persistence/saveViewConfig}/index.d.ts +0 -0
- /package/components/DataGrid/helpers/{loadViewConfig → persistence/saveViewConfig}/index.js +0 -0
- /package/components/DataGrid/helpers/{saveViewConfig → persistence/saveViewConfig}/saveViewConfig.js +0 -0
- /package/components/DataGrid/helpers/{saveViewConfig → persistence/saveViewConfig}/saveViewConfig.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{saveViewMode → persistence/saveViewMode}/index.d.ts +0 -0
- /package/components/DataGrid/helpers/{saveColumnsWidth → persistence/saveViewMode}/index.js +0 -0
- /package/components/DataGrid/helpers/{saveViewMode → persistence/saveViewMode}/saveViewMode.js +0 -0
- /package/components/DataGrid/helpers/{saveViewMode → persistence/saveViewMode}/saveViewMode.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{saveViewConfig → shared/castMapColumnsWidthToRecord}/index.js +0 -0
- /package/components/DataGrid/helpers/{getAllViewModes → shared/getAllViewModes}/getAllViewModes.js +0 -0
- /package/components/DataGrid/helpers/{getAllViewModes → shared/getAllViewModes}/getAllViewModes.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{getAllViewModes → shared/getAllViewModes}/index.d.ts +0 -0
- /package/components/DataGrid/helpers/{saveViewMode → shared/getAllViewModes}/index.js +0 -0
- /package/components/DataGrid/helpers/{getColumnKey.js → shared/getColumnKey/getColumnKey.js} +0 -0
- /package/components/DataGrid/{subcomponents/Table/subcomponents/HeaderRenderClick → helpers/shared/getColumnKey}/index.js +0 -0
- /package/components/DataGrid/{utils → helpers/shared/getDataGridRowsFromSet}/getDataGridRowsFromSet.js +0 -0
- /package/components/DataGrid/{types.helpers.js → helpers/shared/getDataGridRowsFromSet/index.js} +0 -0
- /package/components/DataGrid/helpers/{getIndexRowHeightVariant → shared/getIndexRowHeightVariant}/getIndexRowHeightVariant.js +0 -0
- /package/components/DataGrid/helpers/{getIndexRowHeightVariant → shared/getIndexRowHeightVariant}/getIndexRowHeightVariant.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{getIndexRowHeightVariant → shared/getIndexRowHeightVariant}/index.d.ts +0 -0
- /package/components/DataGrid/helpers/{getInitialColumnsConfig → shared/getInitialColumnsConfig}/getInitialColumnsConfig.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{getViewSpecificConfig → shared/getViewSpecificConfig}/getViewSpecificConfig.js +0 -0
- /package/components/DataGrid/helpers/{getViewSpecificConfig → shared/getViewSpecificConfig}/getViewSpecificConfig.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{getViewSuffix → shared/getViewSuffix}/getViewSuffix.js +0 -0
- /package/components/DataGrid/helpers/{getViewSuffix → shared/getViewSuffix}/getViewSuffix.test.d.ts +0 -0
- /package/components/DataGrid/helpers/{getViewSuffix → shared/getViewSuffix}/index.d.ts +0 -0
- /package/components/DataGrid/{subcomponents/Cards/helpers → views/CardsView/helpers/scrollToCardElement}/scrollToCardElement.d.ts +0 -0
- /package/components/DataGrid/{subcomponents/Cards/helpers → views/CardsView/helpers/scrollToCardElement}/scrollToCardElement.js +0 -0
- /package/components/DataGrid/{subcomponents/Cards/subcomponents/IntersectCard/index.js → views/CardsView/subcomponents/CardRow/subcomponents/LazyLoadCard/subcomponents/IntersectCard/IntersectCard.js} +0 -0
- /package/components/DataGrid/{subcomponents/HeaderActions/subcomponents → views/CardsView/subcomponents/Settings}/hooks/useModalSettings/types.d.ts +0 -0
- /package/components/DataGrid/{subcomponents/HeaderActions → views/CardsView}/subcomponents/Settings/types.d.ts +0 -0
- /package/components/DataGrid/{subcomponents/Table/hooks → views/TableView/helpers/getDragHeaderRenderer}/getDragHeaderRenderer.d.ts +0 -0
- /package/components/DataGrid/{subcomponents/Table/hooks → views/TableView/hooks/useFocusRef}/useFocusRef.js +0 -0
- /package/components/DataGrid/{subcomponents/Table/hooks → views/TableView/hooks/useSortColumnsRows}/useSortColumnsRows.d.ts +0 -0
- /package/components/DataGrid/{subcomponents/Table/subcomponents → views/TableView/subcomponents/SelectColumn}/SelectColumn.d.ts +0 -0
- /package/components/DataGrid/{subcomponents/HeaderActions/subcomponents/hooks/useModalSettingsCards → views/TableView/subcomponents/Settings/hooks/useModalSettings}/types.d.ts +0 -0
- /package/components/DataGrid/{subcomponents/HeaderActions → views/TableView}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +0 -0
- /package/components/DataGrid/{subcomponents/Table/subcomponents/SkeletonFormatter/index.d.ts → views/TableView/subcomponents/SkeletonFormatter/SkeletonFormatter.d.ts} +0 -0
- /package/components/DataGrid/{subcomponents/CheckboxCellAdapter/index.d.ts → views/adapters/CheckboxCellAdapter/CheckboxCellAdapter.d.ts} +0 -0
- /package/components/DataGrid/{subcomponents → views/adapters}/CheckboxCellAdapter/types.d.ts +0 -0
|
@@ -10,12 +10,8 @@ const dataGridStyles = {
|
|
|
10
10
|
datagridRoot: ({ theme }) => ({
|
|
11
11
|
display: "flex",
|
|
12
12
|
flexDirection: "column",
|
|
13
|
-
//padding: theme.vars.size.baseSpacings.sp0,
|
|
14
|
-
//inset: theme.vars.size.baseSpacings.sp0,
|
|
15
|
-
//overflow: 'hidden',
|
|
16
13
|
container: "container / inline-size",
|
|
17
14
|
background: "transparent",
|
|
18
|
-
//boxShadow: 'unset',
|
|
19
15
|
borderRadius: theme.vars.size.borderRadius.r1,
|
|
20
16
|
position: "relative",
|
|
21
17
|
gap: theme.vars.size.baseSpacings.sp3,
|
|
@@ -24,6 +20,42 @@ const dataGridStyles = {
|
|
|
24
20
|
flex: 1,
|
|
25
21
|
overflow: "hidden",
|
|
26
22
|
"& .rdg .MuiCheckbox-root": {
|
|
23
|
+
overflow: "visible",
|
|
24
|
+
padding: 0,
|
|
25
|
+
...theme.generalSettings.isMobile ? {
|
|
26
|
+
width: theme.vars.size.mobile.small.action,
|
|
27
|
+
height: theme.vars.size.mobile.small.action
|
|
28
|
+
} : {
|
|
29
|
+
width: theme.vars.size.desktop.small.action,
|
|
30
|
+
height: theme.vars.size.desktop.small.action
|
|
31
|
+
},
|
|
32
|
+
display: "inline-flex",
|
|
33
|
+
justifyContent: "center",
|
|
34
|
+
alignItems: "center",
|
|
35
|
+
borderRadius: theme.size.borderRadius.r1,
|
|
36
|
+
"&:hover": {
|
|
37
|
+
backgroundColor: theme.vars.palette.default.hoverOpacity
|
|
38
|
+
},
|
|
39
|
+
"&:active": {
|
|
40
|
+
backgroundColor: theme.vars.palette.default.activeOpacity
|
|
41
|
+
},
|
|
42
|
+
"&.Mui-checked": {
|
|
43
|
+
"&:hover": {
|
|
44
|
+
backgroundColor: theme.vars.palette.primary.hoverOpacity,
|
|
45
|
+
"& ..": {
|
|
46
|
+
backgroundColor: theme.vars.palette.primary.hover
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"&:active": {
|
|
50
|
+
backgroundColor: theme.vars.palette.primary.activeOpacity,
|
|
51
|
+
"& .M4LIcon-icon": {
|
|
52
|
+
backgroundColor: theme.vars.palette.primary.active
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"&.Mui-focusVisible, &:focus-visible": {
|
|
57
|
+
outline: `1px solid ${theme.vars.palette.primary.focusVisible}`
|
|
58
|
+
},
|
|
27
59
|
"& > svg": {
|
|
28
60
|
color: theme.vars.palette.text.secondary
|
|
29
61
|
}
|
|
@@ -46,7 +78,6 @@ const dataGridStyles = {
|
|
|
46
78
|
},
|
|
47
79
|
"&& .M4lclassCssSpecificity": {
|
|
48
80
|
fontWeight: 400
|
|
49
|
-
//Se utiliza directamente el valor porque no está tokenizado
|
|
50
81
|
},
|
|
51
82
|
'& [role="row"]:last-of-type': {
|
|
52
83
|
"& .rdg-cell": {
|
|
@@ -134,7 +165,6 @@ const dataGridStyles = {
|
|
|
134
165
|
rowsCountLabel: ({ theme, ownerState }) => ({
|
|
135
166
|
color: theme.vars.palette.text.primary,
|
|
136
167
|
fontWeight: 400,
|
|
137
|
-
//Se utiliza directamente el valor porque no está tokenizado
|
|
138
168
|
height: "100%",
|
|
139
169
|
lineHeight: theme.vars.size.baseSpacings.sp4,
|
|
140
170
|
fontSize: getTypographyStyles(
|
|
@@ -152,7 +182,6 @@ const dataGridStyles = {
|
|
|
152
182
|
paddingBottom: theme.vars.size.baseSpacings["sp0-5"],
|
|
153
183
|
paddingLeft: theme.vars.size.baseSpacings.sp1,
|
|
154
184
|
paddingRight: "6px",
|
|
155
|
-
//No hay token para este valor
|
|
156
185
|
paddingTop: theme.vars.size.baseSpacings.sp1,
|
|
157
186
|
fontSize: getTypographyStyles(
|
|
158
187
|
theme.generalSettings.isMobile,
|
|
@@ -212,7 +241,7 @@ const dataGridStyles = {
|
|
|
212
241
|
* Estilos el el input editor del DataGrid.
|
|
213
242
|
* *****************************************
|
|
214
243
|
*/
|
|
215
|
-
inputTexEditor: ({ theme }) => ({
|
|
244
|
+
inputTexEditor: ({ theme, ownerState }) => ({
|
|
216
245
|
appearance: "none",
|
|
217
246
|
boxSizing: "border-box",
|
|
218
247
|
inlineSize: "100%",
|
|
@@ -222,13 +251,19 @@ const dataGridStyles = {
|
|
|
222
251
|
textAlign: "right",
|
|
223
252
|
fontFamily: "inherit",
|
|
224
253
|
background: "transparent",
|
|
254
|
+
border: `1px solid ${theme.vars.palette?.border.secondary}`,
|
|
255
|
+
borderRadius: theme.vars.size.borderRadius["r1-5"],
|
|
256
|
+
...getSizeStyles(theme, ownerState?.size || "medium", "case", (size) => ({
|
|
257
|
+
height: size
|
|
258
|
+
})),
|
|
259
|
+
padding: theme.vars.size.baseSpacings.sp1,
|
|
260
|
+
outline: "none",
|
|
225
261
|
"&:focus": {
|
|
226
262
|
outline: "none",
|
|
227
|
-
border:
|
|
263
|
+
border: `1px solid ${theme.vars.palette?.border.secondary}`,
|
|
228
264
|
boxShadow: "none"
|
|
229
265
|
},
|
|
230
266
|
"&:hover": {
|
|
231
|
-
border: "none",
|
|
232
267
|
outline: "none"
|
|
233
268
|
},
|
|
234
269
|
"&::placeholder": {
|
|
@@ -384,37 +419,20 @@ const dataGridStyles = {
|
|
|
384
419
|
"body"
|
|
385
420
|
),
|
|
386
421
|
lineHeight: "var(--rdg-row-height)!important",
|
|
387
|
-
'&[aria-selected="true"]': {
|
|
388
|
-
|
|
389
|
-
|
|
422
|
+
'&[aria-selected="true"]': {},
|
|
423
|
+
"&:has(> .MuiCheckbox-root)": {
|
|
424
|
+
overflow: "visible",
|
|
425
|
+
paddingInline: 0
|
|
390
426
|
},
|
|
391
427
|
"& .checkbox-checked": {
|
|
392
|
-
"&
|
|
393
|
-
|
|
394
|
-
}
|
|
395
|
-
...getSizeStyles(
|
|
396
|
-
theme,
|
|
397
|
-
ownerState?.size || "medium",
|
|
398
|
-
"base",
|
|
399
|
-
(size) => ({
|
|
400
|
-
minHeight: size,
|
|
401
|
-
height: size
|
|
402
|
-
})
|
|
403
|
-
)
|
|
428
|
+
"& .M4LIcon-icon": {
|
|
429
|
+
backgroundColor: theme.vars.palette.primary.enabled
|
|
430
|
+
}
|
|
404
431
|
},
|
|
405
432
|
"& .checkbox-unChecked": {
|
|
406
|
-
"&
|
|
407
|
-
|
|
408
|
-
}
|
|
409
|
-
...getSizeStyles(
|
|
410
|
-
theme,
|
|
411
|
-
ownerState?.size || "medium",
|
|
412
|
-
"base",
|
|
413
|
-
(size) => ({
|
|
414
|
-
minHeight: size,
|
|
415
|
-
height: size
|
|
416
|
-
})
|
|
417
|
-
)
|
|
433
|
+
"& .M4LIcon-icon": {
|
|
434
|
+
backgroundColor: theme.vars.palette.text.primary
|
|
435
|
+
}
|
|
418
436
|
},
|
|
419
437
|
"& .rdg-text-editor": {
|
|
420
438
|
textAlign: "inherit",
|
|
@@ -422,12 +440,9 @@ const dataGridStyles = {
|
|
|
422
440
|
padding: `${theme.vars.size.baseSpacings.sp0} ${theme.vars.size.baseSpacings.sp2}`,
|
|
423
441
|
border: theme.vars.size.baseSpacings.sp0,
|
|
424
442
|
borderTop: "0.5px solid",
|
|
425
|
-
//Se deja el valor directamente porque no está tokenizado
|
|
426
443
|
borderBottom: theme.vars.size.borderStroke.container,
|
|
427
444
|
borderLeft: "0.5px solid",
|
|
428
|
-
//Se deja el valor directamente porque no está tokenizado
|
|
429
445
|
borderRight: "0.5px solid",
|
|
430
|
-
//Se deja el valor directamente porque no está tokenizado
|
|
431
446
|
borderColor: `${theme.vars.palette?.border.disabled} !important`,
|
|
432
447
|
...theme.colorSchemes.finalTheme.typography.body
|
|
433
448
|
},
|
|
@@ -445,14 +460,12 @@ const dataGridStyles = {
|
|
|
445
460
|
position: "sticky !important",
|
|
446
461
|
zIndex: 1
|
|
447
462
|
},
|
|
448
|
-
// Ajuste de celda checkbox (No header)
|
|
449
463
|
'&:has(> .MuiCheckbox-root):not([role="columnheader"])': {
|
|
450
464
|
overflow: "visible",
|
|
451
465
|
display: "flex",
|
|
452
466
|
alignItems: "center",
|
|
453
467
|
justifyContent: "center"
|
|
454
468
|
},
|
|
455
|
-
// Ajuste al checkbox (Header)
|
|
456
469
|
'&[role="columnheader"]:has(> .MuiCheckbox-root)': {
|
|
457
470
|
justifyContent: "center",
|
|
458
471
|
alignItems: "center"
|
|
@@ -462,7 +475,6 @@ const dataGridStyles = {
|
|
|
462
475
|
borderRight: `${theme.vars.size.baseSpacings.sp0} solid ${theme.vars.palette.divider}`,
|
|
463
476
|
position: "absolute",
|
|
464
477
|
right: theme.vars.size.baseSpacings.sp0,
|
|
465
|
-
// Por desajuste en chrome en el espaciado
|
|
466
478
|
height: "100%"
|
|
467
479
|
},
|
|
468
480
|
"& .m4l_icon": {
|
|
@@ -472,7 +484,6 @@ const dataGridStyles = {
|
|
|
472
484
|
position: "sticky",
|
|
473
485
|
top: 0,
|
|
474
486
|
zIndex: 2,
|
|
475
|
-
// Ajuste de header checkbox
|
|
476
487
|
"&:has(> .MuiCheckbox-root)": {
|
|
477
488
|
borderTopLeftRadius: theme.vars.size.baseSpacings.sp2,
|
|
478
489
|
overflow: "visible",
|
|
@@ -484,7 +495,6 @@ const dataGridStyles = {
|
|
|
484
495
|
},
|
|
485
496
|
'& .rdg-cell[role="columnheader"] .rdg-header-sort-name': {
|
|
486
497
|
...theme.colorSchemes.finalTheme.typography.bodyDens,
|
|
487
|
-
//ajuste de contenido filtro del DataGrid
|
|
488
498
|
width: "100%",
|
|
489
499
|
display: "-webkit-box !important",
|
|
490
500
|
WebkitBoxOrient: "vertical !important",
|
|
@@ -501,12 +511,6 @@ const dataGridStyles = {
|
|
|
501
511
|
lineHeight: "var(--rdg-summary-row-height)!important",
|
|
502
512
|
color: `${theme.vars.palette.text.secondary}`
|
|
503
513
|
},
|
|
504
|
-
/**
|
|
505
|
-
* Estilos para las celdas de datos del grid (no headers, no checkbox)
|
|
506
|
-
* - .rdg-cell: Todas las celdas del grid
|
|
507
|
-
* - :not([role="columnheader"]): EXCLUYE las celdas de header
|
|
508
|
-
* - :not(:has(> .MuiCheckbox-root)): EXCLUYE las celdas que contienen checkbox
|
|
509
|
-
*/
|
|
510
514
|
'& .rdg-cell:not([role="columnheader"]):not(:has(> .MuiCheckbox-root))': {
|
|
511
515
|
display: "-webkit-box !important",
|
|
512
516
|
WebkitBoxOrient: "vertical !important",
|
|
@@ -528,20 +532,10 @@ const dataGridStyles = {
|
|
|
528
532
|
}
|
|
529
533
|
}
|
|
530
534
|
},
|
|
531
|
-
// Esta condicion para el flujo de cabecera cuando no tiene utilidad sort
|
|
532
535
|
'& .rdg-cell[role="columnheader"] [draggable="true"]': {
|
|
533
536
|
fontWeight: 600
|
|
534
|
-
//Se utiliza directamente el valor porque no está tokenizado
|
|
535
|
-
},
|
|
536
|
-
"&&& [aria-selected=true]": {
|
|
537
|
-
// backgroundColor: theme.vars.palette.primary?.toneOpacity,
|
|
538
|
-
// color: theme.vars.palette.text.primary,
|
|
539
|
-
//cambia el color del contorno de cada celda selecionada
|
|
540
|
-
// outline: theme.vars.size.borderStroke.container,
|
|
541
|
-
// outlineOffset: '-1px',
|
|
542
|
-
// outlineColor: theme.vars.palette.border.main,
|
|
543
537
|
},
|
|
544
|
-
|
|
538
|
+
"&&& [aria-selected=true]": {},
|
|
545
539
|
"& .rdg-cell.rdg-cell-align-left": {
|
|
546
540
|
textAlign: "start",
|
|
547
541
|
justifyContent: "center",
|
|
@@ -550,7 +544,6 @@ const dataGridStyles = {
|
|
|
550
544
|
'&:not([role="columnheader"])': {
|
|
551
545
|
"& > div:first-of-type": {
|
|
552
546
|
marginRight: "auto"
|
|
553
|
-
// Alinea en dirección izquierda en el contenedor de la celda cuando es un formatter diferente a texto
|
|
554
547
|
}
|
|
555
548
|
}
|
|
556
549
|
},
|
|
@@ -560,7 +553,6 @@ const dataGridStyles = {
|
|
|
560
553
|
'&:not([role="columnheader"])': {
|
|
561
554
|
"& > div:first-of-type": {
|
|
562
555
|
margin: "0 auto"
|
|
563
|
-
// Alinea al centro en el contenedor de la celda cuando es un formatter diferente a texto
|
|
564
556
|
}
|
|
565
557
|
}
|
|
566
558
|
},
|
|
@@ -570,7 +562,6 @@ const dataGridStyles = {
|
|
|
570
562
|
'&:not([role="columnheader"])': {
|
|
571
563
|
"& > div:first-of-type": {
|
|
572
564
|
marginLeft: "auto"
|
|
573
|
-
// Alinea en dirección derecha en el contenedor de la celda cuando es un formatter diferente a texto
|
|
574
565
|
}
|
|
575
566
|
}
|
|
576
567
|
},
|
|
@@ -584,7 +575,6 @@ const dataGridStyles = {
|
|
|
584
575
|
textAlign: "right",
|
|
585
576
|
paddingRight: theme.vars.size.baseSpacings.sp3
|
|
586
577
|
},
|
|
587
|
-
// Estilado de la ultima celda congelada
|
|
588
578
|
"& .rdg-row .rdg-cell-frozen-last:after": {
|
|
589
579
|
borderRight: `0px solid transparent`
|
|
590
580
|
},
|
|
@@ -598,7 +588,6 @@ const dataGridStyles = {
|
|
|
598
588
|
zIndex: 1,
|
|
599
589
|
left: "var(--rdg-cell-left, 0)"
|
|
600
590
|
},
|
|
601
|
-
// Estilado de la ultima celda (Quitar la linea divisora derecha)
|
|
602
591
|
"& .rdg-row :last-child:after": {
|
|
603
592
|
borderRight: `0px solid`,
|
|
604
593
|
borderColor: theme.vars.palette.background.surface
|
|
@@ -615,7 +604,6 @@ const dataGridStyles = {
|
|
|
615
604
|
zIndex: 3
|
|
616
605
|
}
|
|
617
606
|
},
|
|
618
|
-
// Estilado de celdas de la cabecera
|
|
619
607
|
"& .rdg-header-row .rdg-cell": {
|
|
620
608
|
gridTemplateColumns: "auto",
|
|
621
609
|
boxShadow: "unset!important",
|
|
@@ -631,7 +619,6 @@ const dataGridStyles = {
|
|
|
631
619
|
'& [draggable="true"]': {
|
|
632
620
|
fontSize: theme.typography.body
|
|
633
621
|
},
|
|
634
|
-
// Ultima celda de la cebecera frozen
|
|
635
622
|
"&.rdg-cell-frozen-last": {
|
|
636
623
|
borderColor: theme.vars.palette.background.default,
|
|
637
624
|
boxShadow: "var(--rdg-frozen-cell-box-shadow)"
|
|
@@ -646,10 +633,8 @@ const dataGridStyles = {
|
|
|
646
633
|
}
|
|
647
634
|
}
|
|
648
635
|
},
|
|
649
|
-
// Modificar el tamaño de la flecha
|
|
650
636
|
"& .rdg-sort-arrow": {}
|
|
651
637
|
},
|
|
652
|
-
// Estilo específico para el resize handle generado por react-data-grid
|
|
653
638
|
'& [class*="r1y6ywlx"]': {
|
|
654
639
|
cursor: "col-resize",
|
|
655
640
|
position: "absolute",
|
|
@@ -658,19 +643,16 @@ const dataGridStyles = {
|
|
|
658
643
|
insetBlockEnd: 0,
|
|
659
644
|
inlineSize: "10px"
|
|
660
645
|
},
|
|
661
|
-
// Estilado de la ultima celda Header
|
|
662
646
|
"& .rdg-header-row :last-child.rdg-cell": {
|
|
663
647
|
borderTopRightRadius: theme.vars.size.baseSpacings.sp0,
|
|
664
648
|
"&:after": {
|
|
665
649
|
borderRight: `${theme.vars.size.baseSpacings.sp0} solid transparent`
|
|
666
650
|
}
|
|
667
651
|
},
|
|
668
|
-
// filter
|
|
669
652
|
"& .filter_cell_div": {
|
|
670
653
|
paddingLeft: theme.vars.size.baseSpacings.sp2,
|
|
671
654
|
paddingRight: theme.vars.size.baseSpacings.sp2
|
|
672
655
|
},
|
|
673
|
-
//
|
|
674
656
|
"& .rdg-header-sort-cell": {
|
|
675
657
|
width: "100%",
|
|
676
658
|
flexGrow: "1",
|
|
@@ -681,36 +663,63 @@ const dataGridStyles = {
|
|
|
681
663
|
};
|
|
682
664
|
},
|
|
683
665
|
/**
|
|
684
|
-
* Estilos para el wrapper del
|
|
685
|
-
* Aplica los mismos estilos que los checkboxes dentro de celdas rdg
|
|
666
|
+
* Estilos para el wrapper del checkbox en las celdas.
|
|
686
667
|
*/
|
|
687
|
-
checkboxCellWrapper: ({ theme
|
|
668
|
+
checkboxCellWrapper: ({ theme }) => ({
|
|
688
669
|
"& .checkbox-checked": {
|
|
689
|
-
"&
|
|
690
|
-
|
|
691
|
-
}
|
|
692
|
-
...getSizeStyles(theme, ownerState?.size || "medium", "base", (size) => ({
|
|
693
|
-
minHeight: size,
|
|
694
|
-
height: size
|
|
695
|
-
}))
|
|
670
|
+
"& .M4LIcon-icon": {
|
|
671
|
+
backgroundColor: theme.vars.palette.primary.enabled
|
|
672
|
+
}
|
|
696
673
|
},
|
|
697
674
|
"& .checkbox-unChecked": {
|
|
698
|
-
"&
|
|
699
|
-
|
|
700
|
-
}
|
|
701
|
-
...getSizeStyles(theme, ownerState?.size || "medium", "base", (size) => ({
|
|
702
|
-
minHeight: size,
|
|
703
|
-
height: size
|
|
704
|
-
}))
|
|
675
|
+
"& .M4LIcon-icon": {
|
|
676
|
+
backgroundColor: theme.vars.palette.text.primary
|
|
677
|
+
}
|
|
705
678
|
},
|
|
706
679
|
"& .MuiCheckbox-root": {
|
|
680
|
+
overflow: "visible",
|
|
681
|
+
padding: 0,
|
|
682
|
+
...theme.generalSettings.isMobile ? {
|
|
683
|
+
width: theme.vars.size.mobile.small.action,
|
|
684
|
+
height: theme.vars.size.mobile.small.action
|
|
685
|
+
} : {
|
|
686
|
+
width: theme.vars.size.desktop.small.action,
|
|
687
|
+
height: theme.vars.size.desktop.small.action
|
|
688
|
+
},
|
|
689
|
+
display: "inline-flex",
|
|
690
|
+
justifyContent: "center",
|
|
691
|
+
alignItems: "center",
|
|
692
|
+
borderRadius: theme.size.borderRadius.r1,
|
|
693
|
+
"&:hover": {
|
|
694
|
+
backgroundColor: theme.vars.palette.default.hoverOpacity
|
|
695
|
+
},
|
|
696
|
+
"&:active": {
|
|
697
|
+
backgroundColor: theme.vars.palette.default.activeOpacity
|
|
698
|
+
},
|
|
699
|
+
"&.Mui-checked": {
|
|
700
|
+
"&:hover": {
|
|
701
|
+
backgroundColor: theme.vars.palette.primary.hoverOpacity,
|
|
702
|
+
"& .M4LIcon-icon": {
|
|
703
|
+
backgroundColor: theme.vars.palette.primary.hover
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"&:active": {
|
|
707
|
+
backgroundColor: theme.vars.palette.primary.activeOpacity,
|
|
708
|
+
"& .M4LIcon-icon": {
|
|
709
|
+
backgroundColor: theme.vars.palette.primary.active
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
"&.Mui-focusVisible, &:focus-visible": {
|
|
714
|
+
outline: `1px solid ${theme.vars.palette.primary.focusVisible}`
|
|
715
|
+
},
|
|
707
716
|
"& > svg": {
|
|
708
717
|
color: theme.vars.palette.text.secondary
|
|
709
718
|
}
|
|
710
719
|
}
|
|
711
720
|
}),
|
|
712
721
|
/**
|
|
713
|
-
*
|
|
722
|
+
* Estilos para el contenedor de toggle de vista cards.
|
|
714
723
|
*/
|
|
715
724
|
containerToggleCards: ({ theme }) => ({
|
|
716
725
|
display: "grid",
|
|
@@ -719,7 +728,7 @@ const dataGridStyles = {
|
|
|
719
728
|
padding: theme.vars.size.baseSpacings.sp3
|
|
720
729
|
}),
|
|
721
730
|
/**
|
|
722
|
-
*
|
|
731
|
+
* Estilos para el botón de toggle de tarjeta.
|
|
723
732
|
*/
|
|
724
733
|
cardToggleCardButton: ({ theme, ownerState }) => ({
|
|
725
734
|
display: "flex",
|
|
@@ -732,7 +741,7 @@ const dataGridStyles = {
|
|
|
732
741
|
borderColor: ownerState?.isActive ? theme.vars.palette.primary.toneOpacity : theme.vars.palette.border.disabled
|
|
733
742
|
}),
|
|
734
743
|
/**
|
|
735
|
-
*
|
|
744
|
+
* Estilos para el texto del botón de toggle.
|
|
736
745
|
*/
|
|
737
746
|
textToggleCardButton: ({ theme, ownerState }) => ({
|
|
738
747
|
"&.M4LTypography-root": {
|
|
@@ -741,17 +750,20 @@ const dataGridStyles = {
|
|
|
741
750
|
}
|
|
742
751
|
}),
|
|
743
752
|
/**
|
|
744
|
-
*
|
|
753
|
+
* Estilos para el contenedor de tarjetas en CardsView.
|
|
745
754
|
*/
|
|
746
755
|
cardsContainer: () => ({
|
|
747
|
-
|
|
756
|
+
flexGrow: 1,
|
|
757
|
+
flexShrink: 1,
|
|
758
|
+
flexBasis: 0,
|
|
759
|
+
minHeight: 0,
|
|
748
760
|
overflow: "auto",
|
|
749
761
|
"& > .M4LContainerFlow-root": {
|
|
750
762
|
alignItems: "start"
|
|
751
763
|
}
|
|
752
764
|
}),
|
|
753
765
|
/**
|
|
754
|
-
*
|
|
766
|
+
* Estilos para cada tarjeta individual en CardsView.
|
|
755
767
|
*/
|
|
756
768
|
card: ({ theme, ownerState }) => ({
|
|
757
769
|
display: "flex",
|
|
@@ -762,24 +774,18 @@ const dataGridStyles = {
|
|
|
762
774
|
cursor: "pointer",
|
|
763
775
|
padding: theme.vars.size.baseSpacings["sp2-5"],
|
|
764
776
|
gap: "0 !important",
|
|
765
|
-
// Si está checked (pero no selected), border de checked
|
|
766
777
|
...ownerState?.checked && !ownerState?.selected && {
|
|
767
778
|
borderColor: theme.vars.palette.primary.activeOpacity
|
|
768
779
|
},
|
|
769
|
-
// Si está selected, usar el color original del Card (primary.enabled)
|
|
770
|
-
// Este tiene prioridad sobre checked
|
|
771
780
|
...ownerState?.selected && {
|
|
772
781
|
borderColor: theme.vars.palette.primary.selected
|
|
773
782
|
}
|
|
774
783
|
}),
|
|
775
|
-
/**
|
|
776
|
-
* Contenedor del contenido de la card
|
|
777
|
-
*/
|
|
778
784
|
cardContentWrapper: () => ({
|
|
779
785
|
width: "100%"
|
|
780
786
|
}),
|
|
781
787
|
/**
|
|
782
|
-
*
|
|
788
|
+
* Estilos para el header de la tarjeta.
|
|
783
789
|
*/
|
|
784
790
|
cardHeader: ({ theme, ownerState }) => ({
|
|
785
791
|
display: "flex",
|
|
@@ -790,14 +796,14 @@ const dataGridStyles = {
|
|
|
790
796
|
gap: theme.vars.size.baseSpacings.sp2
|
|
791
797
|
}),
|
|
792
798
|
/**
|
|
793
|
-
*
|
|
799
|
+
* Estilos para la sección izquierda del header de tarjeta.
|
|
794
800
|
*/
|
|
795
801
|
cardHeaderLeft: () => ({
|
|
796
802
|
display: "flex",
|
|
797
803
|
alignItems: "center"
|
|
798
804
|
}),
|
|
799
805
|
/**
|
|
800
|
-
*
|
|
806
|
+
* Estilos para la sección derecha del header de tarjeta.
|
|
801
807
|
*/
|
|
802
808
|
cardHeaderRight: ({ theme }) => ({
|
|
803
809
|
display: "flex",
|
|
@@ -805,7 +811,7 @@ const dataGridStyles = {
|
|
|
805
811
|
gap: theme.vars.size.baseSpacings["sp0-5"]
|
|
806
812
|
}),
|
|
807
813
|
/**
|
|
808
|
-
*
|
|
814
|
+
* Estilos para el contenido de la tarjeta.
|
|
809
815
|
*/
|
|
810
816
|
cardContent: ({ theme }) => ({
|
|
811
817
|
display: "flex",
|
|
@@ -814,7 +820,7 @@ const dataGridStyles = {
|
|
|
814
820
|
padding: theme.vars.size.density.compact
|
|
815
821
|
}),
|
|
816
822
|
/**
|
|
817
|
-
*
|
|
823
|
+
* Estilos para el contenedor de label y valor de columna.
|
|
818
824
|
*/
|
|
819
825
|
containerLabelValueColumn: ({ theme, ownerState }) => ({
|
|
820
826
|
display: "flex",
|
|
@@ -825,7 +831,7 @@ const dataGridStyles = {
|
|
|
825
831
|
width: ownerState?.hasActions ? "100%" : "auto"
|
|
826
832
|
}),
|
|
827
833
|
/**
|
|
828
|
-
*
|
|
834
|
+
* Estilos para el wrapper del contenido de columna.
|
|
829
835
|
*/
|
|
830
836
|
contentWrapperColumn: ({ theme, ownerState }) => ({
|
|
831
837
|
flex: ownerState?.hasActions ? 1 : "none",
|
|
@@ -835,7 +841,7 @@ const dataGridStyles = {
|
|
|
835
841
|
gap: theme.vars.size.baseSpacings["sp0-5"]
|
|
836
842
|
}),
|
|
837
843
|
/**
|
|
838
|
-
*
|
|
844
|
+
* Estilos para el contenedor de detalle de tarjeta.
|
|
839
845
|
*/
|
|
840
846
|
cardDetailContainer: ({ theme }) => ({
|
|
841
847
|
display: "flex",
|
|
@@ -846,15 +852,15 @@ const dataGridStyles = {
|
|
|
846
852
|
overflow: "auto"
|
|
847
853
|
}),
|
|
848
854
|
/**
|
|
849
|
-
*
|
|
855
|
+
* Estilos para el label del header de columna.
|
|
850
856
|
*/
|
|
851
857
|
labelHeaderColumn: () => ({}),
|
|
852
858
|
/**
|
|
853
|
-
*
|
|
859
|
+
* Estilos para el valor de columna.
|
|
854
860
|
*/
|
|
855
861
|
valueColumn: () => ({}),
|
|
856
862
|
/**
|
|
857
|
-
*
|
|
863
|
+
* Estilos para el wrapper del editor de celda.
|
|
858
864
|
*/
|
|
859
865
|
editorCellWrapper: ({ theme, ownerState }) => ({
|
|
860
866
|
overflow: "clip",
|
|
@@ -882,35 +888,56 @@ const dataGridStyles = {
|
|
|
882
888
|
width: "100%",
|
|
883
889
|
textAlign: "inherit",
|
|
884
890
|
color: theme.vars.palette.text.secondary,
|
|
885
|
-
padding: `${theme.vars.size.baseSpacings.sp0} ${theme.vars.size.baseSpacings.
|
|
886
|
-
border: theme.vars.
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
borderLeft: "0.5px solid",
|
|
890
|
-
borderRight: "0.5px solid",
|
|
891
|
-
borderColor: "transparent",
|
|
891
|
+
padding: `${theme.vars.size.baseSpacings.sp0} ${theme.vars.size.baseSpacings.sp1}`,
|
|
892
|
+
border: `1px solid ${theme.vars.palette.border.secondary}`,
|
|
893
|
+
borderRadius: theme.vars.size.borderRadius["r1-5"],
|
|
894
|
+
outline: "none",
|
|
892
895
|
...theme.colorSchemes.finalTheme.typography.body,
|
|
896
|
+
...getSizeStyles(theme, ownerState?.size || "medium", "case", (size) => ({
|
|
897
|
+
height: size
|
|
898
|
+
})),
|
|
893
899
|
"&:focus": {
|
|
894
|
-
|
|
895
|
-
borderBottom: theme.vars.size.borderStroke.container,
|
|
896
|
-
borderLeft: "0.5px solid",
|
|
897
|
-
borderRight: "0.5px solid",
|
|
898
|
-
borderColor: `${theme.vars.palette.primary.focusVisible} !important`,
|
|
900
|
+
border: `1px solid ${theme.vars.palette.border.secondary}`,
|
|
899
901
|
outline: "none",
|
|
900
902
|
boxShadow: "none"
|
|
901
903
|
},
|
|
902
904
|
"&:hover": {
|
|
903
|
-
|
|
904
|
-
borderBottom: theme.vars.size.borderStroke.container,
|
|
905
|
-
borderLeft: "0.5px solid",
|
|
906
|
-
borderRight: "0.5px solid",
|
|
907
|
-
borderColor: "transparent",
|
|
905
|
+
border: `1px solid ${theme.vars.palette.border.secondary}`,
|
|
908
906
|
outline: "none"
|
|
909
907
|
}
|
|
910
908
|
}
|
|
911
909
|
}),
|
|
912
910
|
/**
|
|
913
|
-
*
|
|
911
|
+
* Placeholder editable
|
|
912
|
+
*/
|
|
913
|
+
editablePlaceholder: ({ theme }) => ({
|
|
914
|
+
display: "flex",
|
|
915
|
+
alignItems: "center",
|
|
916
|
+
gap: theme.vars.size.baseSpacings.sp1
|
|
917
|
+
}),
|
|
918
|
+
/**
|
|
919
|
+
* EditLabel
|
|
920
|
+
*/
|
|
921
|
+
editLabel: ({ theme, ownerState }) => ({
|
|
922
|
+
width: "auto",
|
|
923
|
+
opacity: 1,
|
|
924
|
+
transition: "opacity 0.3s ease",
|
|
925
|
+
...getTypographyStyles(
|
|
926
|
+
theme.generalSettings.isMobile,
|
|
927
|
+
ownerState?.size || "medium",
|
|
928
|
+
"body"
|
|
929
|
+
)
|
|
930
|
+
}),
|
|
931
|
+
/**
|
|
932
|
+
* Botón para mostrar el input en los editores (cards)
|
|
933
|
+
*/
|
|
934
|
+
iconButtonEdit: ({ theme }) => ({
|
|
935
|
+
"& .M4LIcon-icon": {
|
|
936
|
+
backgroundColor: `${theme.vars.palette.text.secondary} !important`
|
|
937
|
+
}
|
|
938
|
+
}),
|
|
939
|
+
/**
|
|
940
|
+
* Estilos para el header de tarjeta personalizada.
|
|
914
941
|
*/
|
|
915
942
|
customCardHeader: ({ theme }) => ({
|
|
916
943
|
display: "flex",
|
|
@@ -919,7 +946,7 @@ const dataGridStyles = {
|
|
|
919
946
|
marginBottom: theme.vars.size.baseSpacings.sp2
|
|
920
947
|
}),
|
|
921
948
|
/**
|
|
922
|
-
*
|
|
949
|
+
* Estilos para el avatar de tarjeta personalizada.
|
|
923
950
|
*/
|
|
924
951
|
customCardAvatar: ({ theme }) => ({
|
|
925
952
|
width: "32px",
|
|
@@ -933,7 +960,7 @@ const dataGridStyles = {
|
|
|
933
960
|
flexShrink: 0
|
|
934
961
|
}),
|
|
935
962
|
/**
|
|
936
|
-
*
|
|
963
|
+
* Estilos para nombre y email en tarjeta personalizada.
|
|
937
964
|
*/
|
|
938
965
|
customCardNameEmail: ({ theme }) => ({
|
|
939
966
|
display: "flex",
|
|
@@ -941,7 +968,7 @@ const dataGridStyles = {
|
|
|
941
968
|
gap: theme.vars.size.baseSpacings["sp0-5"]
|
|
942
969
|
}),
|
|
943
970
|
/**
|
|
944
|
-
*
|
|
971
|
+
* Estilos para campo con icono en tarjeta personalizada.
|
|
945
972
|
*/
|
|
946
973
|
customCardFieldWithIcon: ({ theme }) => ({
|
|
947
974
|
display: "flex",
|
|
@@ -949,7 +976,7 @@ const dataGridStyles = {
|
|
|
949
976
|
gap: theme.vars.size.baseSpacings.sp3
|
|
950
977
|
}),
|
|
951
978
|
/**
|
|
952
|
-
*
|
|
979
|
+
* Estilos para contenido de campo en tarjeta personalizada.
|
|
953
980
|
*/
|
|
954
981
|
customCardFieldContent: ({ theme }) => ({
|
|
955
982
|
display: "flex",
|
|
@@ -957,7 +984,7 @@ const dataGridStyles = {
|
|
|
957
984
|
gap: theme.vars.size.baseSpacings["sp0-5"]
|
|
958
985
|
}),
|
|
959
986
|
/**
|
|
960
|
-
*
|
|
987
|
+
* Estilos para contenedor de icono en tarjeta personalizada.
|
|
961
988
|
*/
|
|
962
989
|
customCardIconContainer: ({ theme }) => ({
|
|
963
990
|
width: "24px",
|
|
@@ -971,7 +998,7 @@ const dataGridStyles = {
|
|
|
971
998
|
flexShrink: 0
|
|
972
999
|
}),
|
|
973
1000
|
/**
|
|
974
|
-
* Estilos para el
|
|
1001
|
+
* Estilos para el contenedor raíz de las cabeceras arrastrables
|
|
975
1002
|
*/
|
|
976
1003
|
draggableHeaderRoot: () => ({
|
|
977
1004
|
cursor: "move",
|
|
@@ -982,12 +1009,9 @@ const dataGridStyles = {
|
|
|
982
1009
|
width: "100%",
|
|
983
1010
|
justifyContent: "center"
|
|
984
1011
|
}),
|
|
985
|
-
/**
|
|
986
|
-
* Estilos para el icono de busqueda para los campos de ordenamiento en columnas
|
|
987
|
-
*/
|
|
988
1012
|
iconSearch: {},
|
|
989
1013
|
/**
|
|
990
|
-
* Estilos para el
|
|
1014
|
+
* Estilos para el wrapper del input en cabeceras arrastrables
|
|
991
1015
|
*/
|
|
992
1016
|
draggableWrapperInputBase: ({ theme, ownerState }) => ({
|
|
993
1017
|
borderTop: "1px solid var(--rdg-border-color)",
|
|
@@ -1005,7 +1029,7 @@ const dataGridStyles = {
|
|
|
1005
1029
|
}))
|
|
1006
1030
|
}),
|
|
1007
1031
|
/**
|
|
1008
|
-
* Estilos
|
|
1032
|
+
* Estilos base para el input del header
|
|
1009
1033
|
*/
|
|
1010
1034
|
headerInputBase: () => ({
|
|
1011
1035
|
width: "100%",
|
|
@@ -1013,7 +1037,7 @@ const dataGridStyles = {
|
|
|
1013
1037
|
backgroundColor: "unset"
|
|
1014
1038
|
}),
|
|
1015
1039
|
/**
|
|
1016
|
-
* Estilos para el contenedor del skeleton de
|
|
1040
|
+
* Estilos para el contenedor del skeleton de carga
|
|
1017
1041
|
*/
|
|
1018
1042
|
wrapperSkeleton: ({ theme, ownerState }) => ({
|
|
1019
1043
|
display: "flex",
|
|
@@ -1028,7 +1052,7 @@ const dataGridStyles = {
|
|
|
1028
1052
|
}
|
|
1029
1053
|
}),
|
|
1030
1054
|
/**
|
|
1031
|
-
* Estilos para el
|
|
1055
|
+
* Estilos para el contenido del modal de configuración
|
|
1032
1056
|
*/
|
|
1033
1057
|
contentModalSetting: () => ({
|
|
1034
1058
|
"&": {
|
|
@@ -1038,7 +1062,7 @@ const dataGridStyles = {
|
|
|
1038
1062
|
}
|
|
1039
1063
|
}),
|
|
1040
1064
|
/**
|
|
1041
|
-
* Estilos para el contenedor
|
|
1065
|
+
* Estilos para el contenedor de nombre de columna con icono
|
|
1042
1066
|
*/
|
|
1043
1067
|
nameColumnIcon: ({ theme }) => ({
|
|
1044
1068
|
display: "flex",
|
|
@@ -1048,7 +1072,7 @@ const dataGridStyles = {
|
|
|
1048
1072
|
overflow: "visible"
|
|
1049
1073
|
}),
|
|
1050
1074
|
/**
|
|
1051
|
-
* Estilos para el
|
|
1075
|
+
* Estilos para el nombre de columna con truncado de texto
|
|
1052
1076
|
*/
|
|
1053
1077
|
nameColumn: ({ ownerState }) => ({
|
|
1054
1078
|
display: "-webkit-box",
|
|
@@ -1061,21 +1085,18 @@ const dataGridStyles = {
|
|
|
1061
1085
|
width: "100%"
|
|
1062
1086
|
}),
|
|
1063
1087
|
/**
|
|
1064
|
-
* Estilos para el contenedor
|
|
1088
|
+
* Estilos para el contenedor de icono de columna
|
|
1065
1089
|
*/
|
|
1066
1090
|
iconColumn: ({ theme }) => ({
|
|
1067
1091
|
display: "flex",
|
|
1068
1092
|
alignItems: "center",
|
|
1069
1093
|
gap: theme.vars.size.baseSpacings.sp1
|
|
1070
1094
|
}),
|
|
1071
|
-
/**
|
|
1072
|
-
* Estilos para el popover del header actions
|
|
1073
|
-
*/
|
|
1074
1095
|
headerRenderClick: () => ({
|
|
1075
1096
|
width: "fit-content"
|
|
1076
1097
|
}),
|
|
1077
1098
|
/**
|
|
1078
|
-
* Estilos para
|
|
1099
|
+
* Estilos para la lista del menú de opciones
|
|
1079
1100
|
*/
|
|
1080
1101
|
menuList: ({ theme }) => ({
|
|
1081
1102
|
padding: theme.vars.size.baseSpacings.sp3,
|
|
@@ -1088,7 +1109,7 @@ const dataGridStyles = {
|
|
|
1088
1109
|
}
|
|
1089
1110
|
}),
|
|
1090
1111
|
/**
|
|
1091
|
-
* Estilos para el
|
|
1112
|
+
* Estilos para el botón de acciones del header
|
|
1092
1113
|
*/
|
|
1093
1114
|
buttonHeaderActions: ({ theme }) => ({
|
|
1094
1115
|
display: "flex",
|
|
@@ -1110,7 +1131,7 @@ const dataGridStyles = {
|
|
|
1110
1131
|
}
|
|
1111
1132
|
}),
|
|
1112
1133
|
/**
|
|
1113
|
-
* Estilos para el
|
|
1134
|
+
* Estilos para el formateador de iconos de columna
|
|
1114
1135
|
*/
|
|
1115
1136
|
columnIconFormatter: ({ theme }) => ({
|
|
1116
1137
|
display: "flex",
|