@mercurjs/dashboard-shared 2.4.2-canary.5 → 2.4.2-canary.6
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/dist/index.js +3 -2
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -26626,11 +26626,12 @@ var ExtensionRegistry = class {
|
|
|
26626
26626
|
return [...byKey.values()];
|
|
26627
26627
|
}
|
|
26628
26628
|
// An entry without a tab belongs to every tab of its zone, unless the host
|
|
26629
|
-
// asks for `exactTab` (a data grid tab only takes fields aimed at it).
|
|
26629
|
+
// asks for `exactTab` (a data grid tab only takes fields aimed at it). A host
|
|
26630
|
+
// without a tab is the whole zone, so untabbed entries are its exact match.
|
|
26630
26631
|
formEntriesFor(model, zone, tab, exactTab = false) {
|
|
26631
26632
|
return this.resolveFormFields(model).filter((entry) => {
|
|
26632
26633
|
if (entry.zone !== zone) return false;
|
|
26633
|
-
if (!entry.tab) return !exactTab;
|
|
26634
|
+
if (!entry.tab) return !exactTab || !tab;
|
|
26634
26635
|
return !!tab && entry.tab === tab;
|
|
26635
26636
|
});
|
|
26636
26637
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mercurjs/dashboard-shared",
|
|
3
|
-
"version": "2.4.2-canary.
|
|
3
|
+
"version": "2.4.2-canary.6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/mercurjs/mercur",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@medusajs/dashboard": "2.22.3",
|
|
35
35
|
"@medusajs/icons": "2.22.3",
|
|
36
36
|
"@medusajs/ui": "4.2.3",
|
|
37
|
-
"@mercurjs/client": "2.4.2-canary.
|
|
37
|
+
"@mercurjs/client": "2.4.2-canary.6",
|
|
38
38
|
"@radix-ui/react-dialog": "1.1.19",
|
|
39
39
|
"@radix-ui/react-dismissable-layer": "1.1.4",
|
|
40
40
|
"@tanstack/react-query": "5.64.2",
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@medusajs/types": "2.22.3",
|
|
73
|
-
"@mercurjs/core": "2.4.2-canary.
|
|
74
|
-
"@mercurjs/dashboard-sdk": "2.4.2-canary.
|
|
75
|
-
"@mercurjs/types": "2.4.2-canary.
|
|
73
|
+
"@mercurjs/core": "2.4.2-canary.6",
|
|
74
|
+
"@mercurjs/dashboard-sdk": "2.4.2-canary.6",
|
|
75
|
+
"@mercurjs/types": "2.4.2-canary.6",
|
|
76
76
|
"@types/lodash.debounce": "^4.0.8",
|
|
77
77
|
"@types/react": "^18.3.2",
|
|
78
78
|
"@types/react-dom": "^18.2.22",
|