update Mini Cards Grid Impl
suspend fun updateMiniCardsGridImpl(rows: Int, cols: Int, defal: Boolean, actualRows: Int, gridSizes: GridSizes, paginationDirection: String, paginationHeightWidth: Double, doPaginate: Boolean, componentSizes: ComponentSizes, eventType: String, updateGridRows: (Int) -> Unit, updateGridCols: (Int) -> Unit, updateAltGridRows: (Int) -> Unit, updateAltGridCols: (Int) -> Unit, updateGridSizes: (GridSizes) -> Unit)
Internal implementation of updateMiniCardsGrid. This function calculates and updates the grid dimensions for mini cards display.
Parameters
rows
The number of rows in the grid
cols
The number of columns in the grid
defal
If true, updates the main grid; if false, updates the alternate grid
actual Rows
The actual number of rows used in calculations
grid Sizes
The current grid sizes
pagination Direction
The direction of pagination ("horizontal" or "vertical")
pagination Height Width
The height/width reserved for pagination
do Paginate
Whether pagination is enabled
component Sizes
The container component sizes
event Type
The event type (for determining spacing)
update Grid Rows
Callback to update main grid rows
update Grid Cols
Callback to update main grid columns
update Alt Grid Rows
Callback to update alternate grid rows
update Alt Grid Cols
Callback to update alternate grid columns
update Grid Sizes
Callback to update grid sizes