@orion-studios/payload-studio 0.5.0-beta.77 → 0.5.0-beta.78
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/{chunk-ZYKHJFXY.mjs → chunk-AFLEATYB.mjs} +1 -1
- package/dist/{chunk-YSH3KLUU.mjs → chunk-FWVVRZ32.mjs} +17 -11
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -11
- package/dist/index.mjs +2 -2
- package/dist/nextjs/index.js +17 -11
- package/dist/nextjs/index.mjs +2 -2
- package/dist/studio-pages/client.js +1974 -1761
- package/dist/studio-pages/client.mjs +1900 -1687
- package/dist/studio-pages/index.d.mts +1 -1
- package/dist/studio-pages/index.d.ts +1 -1
- package/dist/studio-pages/index.js +17 -11
- package/dist/studio-pages/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/{index-DyHbWliW.d.ts → index-BBp-3l6M.d.ts} +3 -3
- package/dist/{index-CdnUNrvX.d.mts → index-DT_Vorvh.d.mts} +3 -3
|
@@ -1038,18 +1038,24 @@ var pagePaletteGroups = [
|
|
|
1038
1038
|
]
|
|
1039
1039
|
}
|
|
1040
1040
|
];
|
|
1041
|
-
var
|
|
1042
|
-
id: `${nodeType}-panel`,
|
|
1043
|
-
label: `${nodeTypeLabels[nodeType] || nodeType} Settings`,
|
|
1041
|
+
var pageInspectorPanelRegistry = Object.keys(defaultNodeData).map((nodeType) => ({
|
|
1044
1042
|
nodeType,
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1043
|
+
panelID: `${nodeType}-panel`,
|
|
1044
|
+
panelLabel: `${nodeTypeLabels[nodeType] || nodeType} Settings`
|
|
1045
|
+
}));
|
|
1046
|
+
var resolvePanelFields = (nodeType) => inspectorDefinitionByBlockType[nodeType]?.fields.map((field) => ({
|
|
1047
|
+
advanced: field.advanced,
|
|
1048
|
+
group: field.group,
|
|
1049
|
+
inlineEditable: field.inlineEditable,
|
|
1050
|
+
key: field.key,
|
|
1051
|
+
label: field.label,
|
|
1052
|
+
type: field.type
|
|
1053
|
+
})) || [];
|
|
1054
|
+
var pageInspectorPanels = pageInspectorPanelRegistry.map((entry) => ({
|
|
1055
|
+
fields: resolvePanelFields(entry.nodeType),
|
|
1056
|
+
id: entry.panelID,
|
|
1057
|
+
label: entry.panelLabel,
|
|
1058
|
+
nodeType: entry.nodeType
|
|
1053
1059
|
}));
|
|
1054
1060
|
var pageStudioModuleManifest = {
|
|
1055
1061
|
id: "studio-pages",
|
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ export { i as adminApp } from './index-ZbOx4OCF.mjs';
|
|
|
3
3
|
export { i as blocks } from './index-CluwY0ZQ.mjs';
|
|
4
4
|
export { i as nextjs } from './index-CpG3UHcS.mjs';
|
|
5
5
|
export { i as studio } from './index-BIwu3qIH.mjs';
|
|
6
|
-
export { i as studioPages } from './index-
|
|
6
|
+
export { i as studioPages } from './index-DT_Vorvh.mjs';
|
|
7
7
|
import 'payload';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
9
|
import 'react';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { i as adminApp } from './index-ZbOx4OCF.js';
|
|
|
3
3
|
export { i as blocks } from './index-CluwY0ZQ.js';
|
|
4
4
|
export { i as nextjs } from './index-CpG3UHcS.js';
|
|
5
5
|
export { i as studio } from './index-BIwu3qIH.js';
|
|
6
|
-
export { i as studioPages } from './index-
|
|
6
|
+
export { i as studioPages } from './index-BBp-3l6M.js';
|
|
7
7
|
import 'payload';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
9
|
import 'react';
|
package/dist/index.js
CHANGED
|
@@ -3728,18 +3728,24 @@ var pagePaletteGroups = [
|
|
|
3728
3728
|
]
|
|
3729
3729
|
}
|
|
3730
3730
|
];
|
|
3731
|
-
var
|
|
3732
|
-
id: `${nodeType}-panel`,
|
|
3733
|
-
label: `${nodeTypeLabels[nodeType] || nodeType} Settings`,
|
|
3731
|
+
var pageInspectorPanelRegistry = Object.keys(defaultNodeData).map((nodeType) => ({
|
|
3734
3732
|
nodeType,
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3733
|
+
panelID: `${nodeType}-panel`,
|
|
3734
|
+
panelLabel: `${nodeTypeLabels[nodeType] || nodeType} Settings`
|
|
3735
|
+
}));
|
|
3736
|
+
var resolvePanelFields = (nodeType) => inspectorDefinitionByBlockType[nodeType]?.fields.map((field) => ({
|
|
3737
|
+
advanced: field.advanced,
|
|
3738
|
+
group: field.group,
|
|
3739
|
+
inlineEditable: field.inlineEditable,
|
|
3740
|
+
key: field.key,
|
|
3741
|
+
label: field.label,
|
|
3742
|
+
type: field.type
|
|
3743
|
+
})) || [];
|
|
3744
|
+
var pageInspectorPanels = pageInspectorPanelRegistry.map((entry) => ({
|
|
3745
|
+
fields: resolvePanelFields(entry.nodeType),
|
|
3746
|
+
id: entry.panelID,
|
|
3747
|
+
label: entry.panelLabel,
|
|
3748
|
+
nodeType: entry.nodeType
|
|
3743
3749
|
}));
|
|
3744
3750
|
var pageStudioModuleManifest = {
|
|
3745
3751
|
id: "studio-pages",
|
package/dist/index.mjs
CHANGED
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-XK3K5GRP.mjs";
|
|
10
10
|
import {
|
|
11
11
|
nextjs_exports
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AFLEATYB.mjs";
|
|
13
13
|
import {
|
|
14
14
|
studio_exports
|
|
15
15
|
} from "./chunk-ADIIWIYL.mjs";
|
|
16
16
|
import {
|
|
17
17
|
studio_pages_exports
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FWVVRZ32.mjs";
|
|
19
19
|
import "./chunk-SIL2J5MF.mjs";
|
|
20
20
|
import "./chunk-6BWS3CLP.mjs";
|
|
21
21
|
export {
|
package/dist/nextjs/index.js
CHANGED
|
@@ -979,18 +979,24 @@ var pageNodeTypes = Object.keys(defaultNodeData).map((type) => ({
|
|
|
979
979
|
return data;
|
|
980
980
|
}
|
|
981
981
|
}));
|
|
982
|
-
var
|
|
983
|
-
id: `${nodeType}-panel`,
|
|
984
|
-
label: `${nodeTypeLabels[nodeType] || nodeType} Settings`,
|
|
982
|
+
var pageInspectorPanelRegistry = Object.keys(defaultNodeData).map((nodeType) => ({
|
|
985
983
|
nodeType,
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
984
|
+
panelID: `${nodeType}-panel`,
|
|
985
|
+
panelLabel: `${nodeTypeLabels[nodeType] || nodeType} Settings`
|
|
986
|
+
}));
|
|
987
|
+
var resolvePanelFields = (nodeType) => inspectorDefinitionByBlockType[nodeType]?.fields.map((field) => ({
|
|
988
|
+
advanced: field.advanced,
|
|
989
|
+
group: field.group,
|
|
990
|
+
inlineEditable: field.inlineEditable,
|
|
991
|
+
key: field.key,
|
|
992
|
+
label: field.label,
|
|
993
|
+
type: field.type
|
|
994
|
+
})) || [];
|
|
995
|
+
var pageInspectorPanels = pageInspectorPanelRegistry.map((entry) => ({
|
|
996
|
+
fields: resolvePanelFields(entry.nodeType),
|
|
997
|
+
id: entry.panelID,
|
|
998
|
+
label: entry.panelLabel,
|
|
999
|
+
nodeType: entry.nodeType
|
|
994
1000
|
}));
|
|
995
1001
|
var studioDocumentToLayout = (document) => document.nodes.map(
|
|
996
1002
|
(node) => migrateBlockToSettingsV2({
|
package/dist/nextjs/index.mjs
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
createPayloadClient,
|
|
5
5
|
createSiteQueries,
|
|
6
6
|
resolveMedia
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-AFLEATYB.mjs";
|
|
8
8
|
import "../chunk-ADIIWIYL.mjs";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-FWVVRZ32.mjs";
|
|
10
10
|
import "../chunk-SIL2J5MF.mjs";
|
|
11
11
|
import "../chunk-6BWS3CLP.mjs";
|
|
12
12
|
export {
|