@vuu-ui/vuu-utils 3.2.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/src/column-utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.
|
|
2
|
+
"version": "3.3.0",
|
|
3
3
|
"author": "heswell",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@dnd-kit/react": "^0.1.21",
|
|
18
|
-
"@vuu-ui/vuu-data-types": "3.
|
|
19
|
-
"@vuu-ui/vuu-table-types": "3.
|
|
20
|
-
"@vuu-ui/vuu-filter-types": "3.
|
|
21
|
-
"@vuu-ui/vuu-protocol-types": "3.
|
|
18
|
+
"@vuu-ui/vuu-data-types": "3.3.0",
|
|
19
|
+
"@vuu-ui/vuu-table-types": "3.3.0",
|
|
20
|
+
"@vuu-ui/vuu-filter-types": "3.3.0",
|
|
21
|
+
"@vuu-ui/vuu-protocol-types": "3.3.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@internationalized/date": "^3.0.0",
|
|
25
|
-
"@vuu-ui/vuu-filter-parser": "3.
|
|
25
|
+
"@vuu-ui/vuu-filter-parser": "3.3.0",
|
|
26
26
|
"clsx": "^2.0.0",
|
|
27
27
|
"react": "^19.2.3",
|
|
28
28
|
"react-dom": "^19.2.3"
|
package/src/column-utils.js
CHANGED
|
@@ -591,7 +591,7 @@ const getTypeFormattingFromColumn = (column)=>{
|
|
|
591
591
|
};
|
|
592
592
|
const assertAllColumnsAreIncludedInSubscription = (columns, columnNames)=>{
|
|
593
593
|
const unsubscribedColumns = [];
|
|
594
|
-
for (const column of columns)if ("client" !== column.source && '
|
|
594
|
+
for (const column of columns)if ("client" !== column.source && 'vuuAction' !== column.name && !columnNames?.includes(column.name)) unsubscribedColumns.push(column.name);
|
|
595
595
|
if (unsubscribedColumns.length > 0) throw Error(`[column-utils] assertAllColumnsAreIncludedInSubscription columns not included in subscription: ${unsubscribedColumns.join(", ")}`);
|
|
596
596
|
};
|
|
597
597
|
const subscribedOnly = (columnNames)=>(column)=>"client" === column.source || columnNames?.includes(column.name);
|