@ixo/editor 6.28.0 → 6.29.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/dist/{chunk-Y6M7ODSU.js → chunk-C44S6WAW.js} +2 -2
- package/dist/{chunk-SYEWBPNQ.js → chunk-GEJ2KLBL.js} +28 -7
- package/dist/{chunk-SYEWBPNQ.js.map → chunk-GEJ2KLBL.js.map} +1 -1
- package/dist/{chunk-TT4TNNOV.js → chunk-LMZV7QFM.js} +10 -1
- package/dist/chunk-LMZV7QFM.js.map +1 -0
- package/dist/core/index.js +2 -2
- package/dist/index.js +3 -3
- package/dist/mantine/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-TT4TNNOV.js.map +0 -1
- /package/dist/{chunk-Y6M7ODSU.js.map → chunk-C44S6WAW.js.map} +0 -0
|
@@ -9264,6 +9264,14 @@ var RUBRIC_ENVELOPE_TYPE = "ixo:entity#rubric";
|
|
|
9264
9264
|
function buildRubricEnvelope(body) {
|
|
9265
9265
|
return { "@context": RUBRIC_CONTEXT, type: RUBRIC_ENVELOPE_TYPE, rubric: body };
|
|
9266
9266
|
}
|
|
9267
|
+
function parsePublishedRubric(raw) {
|
|
9268
|
+
if (!raw || typeof raw !== "object" || Array.isArray(raw)) return null;
|
|
9269
|
+
const wrapped = raw.rubric;
|
|
9270
|
+
const candidate = wrapped && typeof wrapped === "object" && !Array.isArray(wrapped) ? wrapped : raw;
|
|
9271
|
+
const body = candidate;
|
|
9272
|
+
if (!body.claimSchema || typeof body.claimSchema !== "object") return null;
|
|
9273
|
+
return migrateRubric({ ...body, "@type": "Rubric" });
|
|
9274
|
+
}
|
|
9267
9275
|
var EMPTY_INPUTS = {
|
|
9268
9276
|
deedDid: "",
|
|
9269
9277
|
collectionId: "",
|
|
@@ -20265,6 +20273,7 @@ export {
|
|
|
20265
20273
|
normalizeRepeatSubmissions,
|
|
20266
20274
|
extractRubricFieldCatalog,
|
|
20267
20275
|
buildRubricEnvelope,
|
|
20276
|
+
parsePublishedRubric,
|
|
20268
20277
|
parseEvalRubricInputs,
|
|
20269
20278
|
serializeEvalRubricInputs,
|
|
20270
20279
|
validateRubricShape,
|
|
@@ -20503,4 +20512,4 @@ export {
|
|
|
20503
20512
|
executeQueuedFlowAgentCoreCommands,
|
|
20504
20513
|
FlowAgentService
|
|
20505
20514
|
};
|
|
20506
|
-
//# sourceMappingURL=chunk-
|
|
20515
|
+
//# sourceMappingURL=chunk-LMZV7QFM.js.map
|