labellife-design-tool 2.2.1 → 2.2.2
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/cjs/canvas/workspace.js +65 -3
- package/dist/cjs/canvas/workspace.js.map +1 -1
- package/dist/cjs/index.js +74 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/model/store.js +9 -0
- package/dist/cjs/model/store.js.map +1 -1
- package/dist/esm/canvas/workspace.js +65 -3
- package/dist/esm/canvas/workspace.js.map +1 -1
- package/dist/esm/index.js +74 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/model/store.js +9 -0
- package/dist/esm/model/store.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/model/store.js
CHANGED
|
@@ -1621,6 +1621,15 @@ var Store = mobxStateTree.types.model('Store', {
|
|
|
1621
1621
|
return el.id !== id;
|
|
1622
1622
|
});
|
|
1623
1623
|
},
|
|
1624
|
+
_unresolveInputField: function _unresolveInputField(el) {
|
|
1625
|
+
// Re-insert at the front so it becomes the next field shown (back navigation)
|
|
1626
|
+
var alreadyPending = self._pendingInputFields.some(function (f) {
|
|
1627
|
+
return f.id === el.id;
|
|
1628
|
+
});
|
|
1629
|
+
if (!alreadyPending) {
|
|
1630
|
+
self._pendingInputFields.unshift(el);
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1624
1633
|
clearPendingInputFields: function clearPendingInputFields() {
|
|
1625
1634
|
self._pendingInputFields = [];
|
|
1626
1635
|
}
|