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/esm/model/store.js
CHANGED
|
@@ -1617,6 +1617,15 @@ var Store = types.model('Store', {
|
|
|
1617
1617
|
return el.id !== id;
|
|
1618
1618
|
});
|
|
1619
1619
|
},
|
|
1620
|
+
_unresolveInputField: function _unresolveInputField(el) {
|
|
1621
|
+
// Re-insert at the front so it becomes the next field shown (back navigation)
|
|
1622
|
+
var alreadyPending = self._pendingInputFields.some(function (f) {
|
|
1623
|
+
return f.id === el.id;
|
|
1624
|
+
});
|
|
1625
|
+
if (!alreadyPending) {
|
|
1626
|
+
self._pendingInputFields.unshift(el);
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1620
1629
|
clearPendingInputFields: function clearPendingInputFields() {
|
|
1621
1630
|
self._pendingInputFields = [];
|
|
1622
1631
|
}
|