@ixo/editor 7.5.2 → 7.6.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/{CollectionLifecycleFlowDetail-2SRQUN4V.js → CollectionLifecycleFlowDetail-UL2HCPDI.js} +3 -6
- package/dist/CollectionLifecycleFlowDetail-UL2HCPDI.js.map +1 -0
- package/dist/{EvalEngineFlowDetail-FQAX4PJ5.js → EvalEngineFlowDetail-JTZWOUTV.js} +3 -6
- package/dist/EvalEngineFlowDetail-JTZWOUTV.js.map +1 -0
- package/dist/{chunk-5JEXVSJG.js → chunk-2SKTQGH5.js} +2 -2
- package/dist/chunk-H3UJUFQJ.js +344 -0
- package/dist/chunk-H3UJUFQJ.js.map +1 -0
- package/dist/{chunk-6S3WBLXO.js → chunk-KKTYO345.js} +2641 -2098
- package/dist/chunk-KKTYO345.js.map +1 -0
- package/dist/{chunk-FYPDR7DJ.js → chunk-QHZMBOXS.js} +13 -9
- package/dist/chunk-QHZMBOXS.js.map +1 -0
- package/dist/{connections-Cs5-9hGz.d.ts → connections-o7kw2vBI.d.ts} +1 -1
- package/dist/core/index.cjs +566 -215
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +9 -7
- package/dist/core/index.js +16 -2
- package/dist/core/index.js.map +1 -1
- package/dist/graphql-client-D7Mnaei-.d.ts +536 -0
- package/dist/index-D99iLwsk.d.ts +112 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/mantine/index.d.ts +98 -105
- package/dist/mantine/index.js +54 -249
- package/dist/mantine/index.js.map +1 -1
- package/dist/{types-C6MmkH69.d.ts → types-6w9s8P5j.d.ts} +851 -1848
- package/package.json +18 -13
- package/style-core.css +286 -0
- package/style-mantine.css +8856 -19
- package/style-scoped.css +1478 -255
- package/style.css +8856 -19
- package/dist/CollectionLifecycleFlowDetail-2SRQUN4V.js.map +0 -1
- package/dist/EvalEngineFlowDetail-FQAX4PJ5.js.map +0 -1
- package/dist/chunk-6S3WBLXO.js.map +0 -1
- package/dist/chunk-FYPDR7DJ.js.map +0 -1
- package/dist/graphql-client-BanLWXV8.d.ts +0 -766
- package/dist/nodeContext-CV9D4s3X.d.ts +0 -45
- /package/dist/{chunk-5JEXVSJG.js.map → chunk-2SKTQGH5.js.map} +0 -0
|
@@ -357,10 +357,11 @@ function readContainerProps(container, out) {
|
|
|
357
357
|
addAll(asRecord(attrs?.props));
|
|
358
358
|
const content = container.get(0);
|
|
359
359
|
if (content instanceof Y.XmlElement && content.nodeName !== "blockGroup") addAll(content.getAttributes());
|
|
360
|
-
const
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
360
|
+
for (const key of ["textColor", "backgroundColor"]) {
|
|
361
|
+
if (props[key] === "default") delete props[key];
|
|
362
|
+
const legacy = container.getAttribute(key);
|
|
363
|
+
if (props[key] === void 0 && typeof legacy === "string" && legacy !== "default") props[key] = legacy;
|
|
364
|
+
}
|
|
364
365
|
if (Object.keys(props).length > 0) out.set(blockId, props);
|
|
365
366
|
}
|
|
366
367
|
function adoptDraftShape(yDoc) {
|
|
@@ -632,10 +633,11 @@ function readBlocksFromFragment(fragment) {
|
|
|
632
633
|
const content = container.get(0);
|
|
633
634
|
if (!isYXmlElementLike(content)) continue;
|
|
634
635
|
const props = { ...content.getAttributes() };
|
|
635
|
-
const
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
636
|
+
for (const key of ["textColor", "backgroundColor"]) {
|
|
637
|
+
if (props[key] === "default") delete props[key];
|
|
638
|
+
const legacy = container.getAttribute(key);
|
|
639
|
+
if (props[key] === void 0 && typeof legacy === "string" && legacy !== "default") props[key] = legacy;
|
|
640
|
+
}
|
|
639
641
|
blocks.push({ id, type: content.nodeName, props });
|
|
640
642
|
}
|
|
641
643
|
return blocks;
|
|
@@ -652,6 +654,8 @@ function createBlockContainer(block) {
|
|
|
652
654
|
blockContent.setAttribute(key, value);
|
|
653
655
|
}
|
|
654
656
|
}
|
|
657
|
+
if (rawTextColor && rawTextColor !== "default") blockContent.setAttribute("textColor", rawTextColor);
|
|
658
|
+
if (rawBackgroundColor && rawBackgroundColor !== "default") blockContent.setAttribute("backgroundColor", rawBackgroundColor);
|
|
655
659
|
blockContainer.insert(0, [blockContent]);
|
|
656
660
|
return blockContainer;
|
|
657
661
|
}
|
|
@@ -3513,4 +3517,4 @@ export {
|
|
|
3513
3517
|
executeQueuedFlowAgentCoreCommands,
|
|
3514
3518
|
FlowAgentService
|
|
3515
3519
|
};
|
|
3516
|
-
//# sourceMappingURL=chunk-
|
|
3520
|
+
//# sourceMappingURL=chunk-QHZMBOXS.js.map
|