@ixo/editor 5.24.0 → 5.25.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-UWRUVSMP.mjs → chunk-UMS6GCME.mjs} +4 -2
- package/dist/chunk-UMS6GCME.mjs.map +1 -0
- package/dist/{chunk-JJSP3KCK.mjs → chunk-VECEVZ6B.mjs} +122 -66
- package/dist/{chunk-JJSP3KCK.mjs.map → chunk-VECEVZ6B.mjs.map} +1 -1
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/mantine/index.mjs +2 -2
- package/dist/{store-D6-JWLvj.d.ts → store-tXzh_kNG.d.ts} +7 -0
- package/package.json +1 -1
- package/dist/chunk-UWRUVSMP.mjs.map +0 -1
|
@@ -7675,7 +7675,9 @@ function processBarrierRunRecord(yDoc, sourceBlockId, record, barrierListenersBy
|
|
|
7675
7675
|
}
|
|
7676
7676
|
const allSources = trigger.sources || [];
|
|
7677
7677
|
const currentState = readBarrierState(yDoc, listenerBlockId);
|
|
7678
|
-
const
|
|
7678
|
+
const requiredSources = allSources.filter((s) => s.optional !== true);
|
|
7679
|
+
const gatingSources = requiredSources.length > 0 ? requiredSources : allSources;
|
|
7680
|
+
const allFired = gatingSources.length > 0 && gatingSources.every((s) => currentState.some((e) => e.sourceBlockId === s.sourceBlockId && e.eventName === s.eventName));
|
|
7679
7681
|
if (!allFired) continue;
|
|
7680
7682
|
const assigneeDid = resolveAssignee(listenerBlock) || "unassigned";
|
|
7681
7683
|
const id = computeBarrierInvocationId(currentState, listenerBlockId);
|
|
@@ -10797,4 +10799,4 @@ export {
|
|
|
10797
10799
|
executeQueuedFlowAgentCoreCommands,
|
|
10798
10800
|
FlowAgentService
|
|
10799
10801
|
};
|
|
10800
|
-
//# sourceMappingURL=chunk-
|
|
10802
|
+
//# sourceMappingURL=chunk-UMS6GCME.mjs.map
|