sequential-workflow-designer
Advanced tools
Changelog
0.21.0
This version introduces several changes related with the collapsible regions in the pro version.
Changelog
0.20.0
This version introduces the localization feature. Now you can localize the designer to any language you want.
const configuration = {
i18n: (key, defaultValue) => {
if (currentLang === 'pl') {
if (key === 'controlBar.undo') {
return 'Cofnij';
}
}
return defaultValue;
}
// ...
};
Changelog
0.19.3
This version improves the experience of scrolling in the toolbox via the touchpad.
Changelog
0.19.0
isSelectable
callback to the StepsConfiguration
interface. Now it's possible to disable the selection of steps.Changelog
0.18.5
This version fixes a bug with unintended selection of HTML elements in Apple Vision Pro.
Changelog
0.18.4
This version removes the features introduced in the previous release. We noticed that the proposed solution did not update the undo stack. As a result, we removed that feature in this version. Instead, we added a new method to the Designer class called replaceDefinition
, which allows for the replacement of the entire definition and updates the undo stack.
function appendStep() {
const newStep: Step = { /* ... */ };
const newDefinition = ObjectCloner.deepClone(designer.getDefinition());
newDefinition.sequence.push(newStep);
await designer.replaceDefinition(newDefinition);
}