eligius 1.0.18 → 1.0.19
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/eligius.cjs.development.js +11 -6
- package/dist/eligius.cjs.development.js.map +1 -1
- package/dist/eligius.cjs.production.min.js +1 -1
- package/dist/eligius.cjs.production.min.js.map +1 -1
- package/dist/eligius.esm.js +11 -6
- package/dist/eligius.esm.js.map +1 -1
- package/dist/operation/types.d.ts +4 -0
- package/dist/operation/when.d.ts +1 -1
- package/package.json +2 -2
package/dist/eligius.esm.js
CHANGED
|
@@ -564,9 +564,17 @@ var Action = /*#__PURE__*/function () {
|
|
|
564
564
|
|
|
565
565
|
_proto._pushContext = function _pushContext(parentContext) {
|
|
566
566
|
var newContext = {
|
|
567
|
-
currentIndex
|
|
567
|
+
get currentIndex() {
|
|
568
|
+
return parentContext.currentIndex;
|
|
569
|
+
},
|
|
570
|
+
|
|
571
|
+
set currentIndex(value) {
|
|
572
|
+
parentContext.currentIndex = value;
|
|
573
|
+
},
|
|
574
|
+
|
|
568
575
|
eventbus: parentContext.eventbus,
|
|
569
|
-
operations: parentContext.operations
|
|
576
|
+
operations: parentContext.operations,
|
|
577
|
+
parent: parentContext
|
|
570
578
|
};
|
|
571
579
|
|
|
572
580
|
this._contextStack.push(newContext);
|
|
@@ -575,10 +583,7 @@ var Action = /*#__PURE__*/function () {
|
|
|
575
583
|
};
|
|
576
584
|
|
|
577
585
|
_proto._popContext = function _popContext() {
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
var newCurrentContext = this._contextStack[this._contextStack.length - 1];
|
|
581
|
-
newCurrentContext.currentIndex = previousContext.currentIndex;
|
|
586
|
+
this._contextStack.pop();
|
|
582
587
|
};
|
|
583
588
|
|
|
584
589
|
_proto.executeOperation = function executeOperation(operations, idx, resolve, reject, previousOperationData) {
|