@vuu-ui/vuu-utils 0.8.18-debug → 0.8.19-debug
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/cjs/index.js +33 -0
- package/cjs/index.js.map +2 -2
- package/esm/index.js +33 -0
- package/esm/index.js.map +2 -2
- package/package.json +5 -5
- package/types/column-utils.d.ts +1 -0
- package/types/row-utils.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-utils",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.19-debug",
|
|
4
4
|
"author": "heswell",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@vuu-ui/vuu-data-types": "0.8.
|
|
8
|
-
"@vuu-ui/vuu-table-types": "0.8.
|
|
9
|
-
"@vuu-ui/vuu-filter-types": "0.8.
|
|
10
|
-
"@vuu-ui/vuu-protocol-types": "0.8.
|
|
7
|
+
"@vuu-ui/vuu-data-types": "0.8.19-debug",
|
|
8
|
+
"@vuu-ui/vuu-table-types": "0.8.19-debug",
|
|
9
|
+
"@vuu-ui/vuu-filter-types": "0.8.19-debug",
|
|
10
|
+
"@vuu-ui/vuu-protocol-types": "0.8.19-debug"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"react": ">=17.0.2",
|
package/types/column-utils.d.ts
CHANGED
|
@@ -139,3 +139,4 @@ export declare const setCalculatedColumnExpression: (column: ColumnDescriptor, e
|
|
|
139
139
|
export declare const moveColumnTo: (columns: ColumnDescriptor[], column: ColumnDescriptor, newIndex: number) => ColumnDescriptor[];
|
|
140
140
|
export declare function replaceColumn<C extends ColumnDescriptor = RuntimeColumnDescriptor>(columns: C[], column: C): C[];
|
|
141
141
|
export declare const applyDefaultColumnConfig: ({ columns, table }: TableSchema, getDefaultColumnConfig?: DefaultColumnConfiguration) => SchemaColumn[];
|
|
142
|
+
export declare const getColumnByName: (schema: TableSchema, name?: string) => SchemaColumn | undefined;
|
package/types/row-utils.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export type RowAtPositionFunc = (position: number) => number;
|
|
|
5
5
|
export type RowPositioning = [RowOffsetFunc, RowAtPositionFunc];
|
|
6
6
|
export declare const actualRowPositioning: (rowHeight: number) => RowPositioning;
|
|
7
7
|
export declare const virtualRowPositioning: (rowHeight: number, additionalPixelsNeeded: number, pctScrollTop: MutableRefObject<number>) => RowPositioning;
|
|
8
|
+
export declare const getIndexFromRowElement: (rowElement: HTMLElement) => number;
|