@fibery/views 17.0.2 → 17.0.4
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/lib/views.js +7 -0
- package/package.json +15 -13
package/lib/views.js
CHANGED
|
@@ -1576,6 +1576,7 @@ const enableHideWhenEmptyForCheckedEditableUnits = view => {
|
|
|
1576
1576
|
const deleteExpressionWithNotFoundFieldsOrTypesInView = (schema, view, ensureAxisInvariant = true) => {
|
|
1577
1577
|
switch (view["fibery/type"]) {
|
|
1578
1578
|
case "board":
|
|
1579
|
+
case "gallery":
|
|
1579
1580
|
return deleteExpressionWithNotFoundOrInvalidFieldsOrTypesInBoardView(schema, view, ensureAxisInvariant);
|
|
1580
1581
|
case "list":
|
|
1581
1582
|
case "grid":
|
|
@@ -1605,6 +1606,7 @@ const fixUserSelectedUnits = (schema, view, {
|
|
|
1605
1606
|
}) => {
|
|
1606
1607
|
switch (view["fibery/type"]) {
|
|
1607
1608
|
case "board":
|
|
1609
|
+
case "gallery":
|
|
1608
1610
|
return fixUserSelectedUnitsInBoardView(schema, view, {
|
|
1609
1611
|
unitDefinitions,
|
|
1610
1612
|
getDefaultUnitTypeForField
|
|
@@ -1644,6 +1646,7 @@ const fixUserSelectedUnits = (schema, view, {
|
|
|
1644
1646
|
const fixContextExpressionWithBrokenPath = (schema, view, defaultContextExpression) => {
|
|
1645
1647
|
switch (view["fibery/type"]) {
|
|
1646
1648
|
case "board":
|
|
1649
|
+
case "gallery":
|
|
1647
1650
|
return fixContextExpressionWithBrokenPath$6(schema, view, defaultContextExpression);
|
|
1648
1651
|
case "list":
|
|
1649
1652
|
case "grid":
|
|
@@ -1681,6 +1684,7 @@ const collectGarbage = (schema, view) => {
|
|
|
1681
1684
|
};
|
|
1682
1685
|
switch (view["fibery/type"]) {
|
|
1683
1686
|
case "board":
|
|
1687
|
+
case "gallery":
|
|
1684
1688
|
return deleteRemoved(collectGarbage$6(view));
|
|
1685
1689
|
case "list":
|
|
1686
1690
|
case "grid":
|
|
@@ -1702,6 +1706,7 @@ const collectGarbage = (schema, view) => {
|
|
|
1702
1706
|
const replaceNamesWithIdsInView = (schema, view) => {
|
|
1703
1707
|
switch (view["fibery/type"]) {
|
|
1704
1708
|
case "board":
|
|
1709
|
+
case "gallery":
|
|
1705
1710
|
return replaceNamesWithIdsInBoardView(schema, view);
|
|
1706
1711
|
case "list":
|
|
1707
1712
|
case "grid":
|
|
@@ -1725,6 +1730,7 @@ const replaceNamesWithIdsInView = (schema, view) => {
|
|
|
1725
1730
|
const replaceIdsWithNamesInView = (schema, view) => {
|
|
1726
1731
|
switch (view["fibery/type"]) {
|
|
1727
1732
|
case "board":
|
|
1733
|
+
case "gallery":
|
|
1728
1734
|
return replaceIdsWithNamesInBoardView(schema, view);
|
|
1729
1735
|
case "list":
|
|
1730
1736
|
case "grid":
|
|
@@ -1774,6 +1780,7 @@ const migrateHideWhenEmptyToUnitsLevel = view => {
|
|
|
1774
1780
|
}
|
|
1775
1781
|
switch (result["fibery/type"]) {
|
|
1776
1782
|
case "board":
|
|
1783
|
+
case "gallery":
|
|
1777
1784
|
result = enableHideWhenEmptyForCovers(result);
|
|
1778
1785
|
result = enableHideWhenEmptyForCheckedEditableUnits$1(result);
|
|
1779
1786
|
return result;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fibery/views",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.4",
|
|
4
4
|
"description": "Operations on view objects",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Fibery",
|
|
@@ -11,23 +11,23 @@
|
|
|
11
11
|
],
|
|
12
12
|
"private": false,
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@babel/core": "7.
|
|
15
|
-
"@swc/jest": "0.2.
|
|
14
|
+
"@babel/core": "7.28.5",
|
|
15
|
+
"@swc/jest": "0.2.39",
|
|
16
16
|
"immutability-helper": "2.4.0",
|
|
17
|
-
"jest": "
|
|
18
|
-
"jest-junit": "
|
|
17
|
+
"jest": "30.2.0",
|
|
18
|
+
"jest-junit": "16.0.0",
|
|
19
19
|
"lodash": "4.17.21",
|
|
20
20
|
"microbundle": "0.15.1",
|
|
21
|
-
"@fibery/babel-preset": "7.4.
|
|
22
|
-
"@fibery/
|
|
23
|
-
"@fibery/
|
|
24
|
-
"@fibery/schema": "10.2.
|
|
21
|
+
"@fibery/babel-preset": "7.4.1",
|
|
22
|
+
"@fibery/expression-utils": "9.5.4",
|
|
23
|
+
"@fibery/eslint-config": "8.6.2",
|
|
24
|
+
"@fibery/schema": "10.2.9"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@fibery/expression-utils": "^9.5.
|
|
28
|
-
"@fibery/schema": "^10.2.
|
|
27
|
+
"@fibery/expression-utils": "^9.5.4",
|
|
28
|
+
"@fibery/schema": "^10.2.9",
|
|
29
29
|
"immutability-helper": "^2.4.0",
|
|
30
|
-
"lodash": "
|
|
30
|
+
"lodash": "4.17.21"
|
|
31
31
|
},
|
|
32
32
|
"jest": {
|
|
33
33
|
"testEnvironment": "node",
|
|
@@ -65,7 +65,9 @@
|
|
|
65
65
|
}
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
|
-
"
|
|
68
|
+
"testEnvironmentOptions": {
|
|
69
|
+
"url": "http://localhost"
|
|
70
|
+
}
|
|
69
71
|
},
|
|
70
72
|
"scripts": {
|
|
71
73
|
"build": "rm -rf lib && microbundle index.js -o lib -f cjs --no-compress --target node --sourcemap false",
|