@almadar/ui 4.6.12 → 4.6.14
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/avl/index.cjs +0 -17
- package/dist/avl/index.js +0 -17
- package/dist/runtime/index.cjs +0 -17
- package/dist/runtime/index.js +0 -17
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -51712,14 +51712,6 @@ function useTraitStateMachine(traitBindings, slotsActions, options) {
|
|
|
51712
51712
|
const actions = slotsActionsRef.current;
|
|
51713
51713
|
console.log("[TraitStateMachine] Processing event:", normalizedEvent, "payload:", payload);
|
|
51714
51714
|
const bindingMap = new Map(bindings.map((b) => [b.trait.name, b]));
|
|
51715
|
-
for (const traitName of bindingMap.keys()) {
|
|
51716
|
-
const traitState = currentManager.getState(traitName);
|
|
51717
|
-
eventBus.emit(`${traitName}:DISPATCH`, {
|
|
51718
|
-
event: normalizedEvent,
|
|
51719
|
-
payload,
|
|
51720
|
-
currentState: traitState?.currentState
|
|
51721
|
-
});
|
|
51722
|
-
}
|
|
51723
51715
|
const results = currentManager.sendEvent(normalizedEvent, payload);
|
|
51724
51716
|
const emittedByTrait = /* @__PURE__ */ new Map();
|
|
51725
51717
|
for (const { traitName, result } of results) {
|
|
@@ -51902,15 +51894,6 @@ function useTraitStateMachine(traitBindings, slotsActions, options) {
|
|
|
51902
51894
|
}
|
|
51903
51895
|
}
|
|
51904
51896
|
}
|
|
51905
|
-
for (const { traitName, result } of results) {
|
|
51906
|
-
const suffix = result.executed ? "SUCCESS" : "ERROR";
|
|
51907
|
-
eventBus.emit(`${traitName}:${normalizedEvent}:${suffix}`, {
|
|
51908
|
-
event: normalizedEvent,
|
|
51909
|
-
payload,
|
|
51910
|
-
newState: result.newState,
|
|
51911
|
-
currentState: result.previousState
|
|
51912
|
-
});
|
|
51913
|
-
}
|
|
51914
51897
|
for (const { traitName, result } of results) {
|
|
51915
51898
|
if (result.executed) {
|
|
51916
51899
|
updateTraitState(traitName, result.newState);
|
package/dist/avl/index.js
CHANGED
|
@@ -51666,14 +51666,6 @@ function useTraitStateMachine(traitBindings, slotsActions, options) {
|
|
|
51666
51666
|
const actions = slotsActionsRef.current;
|
|
51667
51667
|
console.log("[TraitStateMachine] Processing event:", normalizedEvent, "payload:", payload);
|
|
51668
51668
|
const bindingMap = new Map(bindings.map((b) => [b.trait.name, b]));
|
|
51669
|
-
for (const traitName of bindingMap.keys()) {
|
|
51670
|
-
const traitState = currentManager.getState(traitName);
|
|
51671
|
-
eventBus.emit(`${traitName}:DISPATCH`, {
|
|
51672
|
-
event: normalizedEvent,
|
|
51673
|
-
payload,
|
|
51674
|
-
currentState: traitState?.currentState
|
|
51675
|
-
});
|
|
51676
|
-
}
|
|
51677
51669
|
const results = currentManager.sendEvent(normalizedEvent, payload);
|
|
51678
51670
|
const emittedByTrait = /* @__PURE__ */ new Map();
|
|
51679
51671
|
for (const { traitName, result } of results) {
|
|
@@ -51856,15 +51848,6 @@ function useTraitStateMachine(traitBindings, slotsActions, options) {
|
|
|
51856
51848
|
}
|
|
51857
51849
|
}
|
|
51858
51850
|
}
|
|
51859
|
-
for (const { traitName, result } of results) {
|
|
51860
|
-
const suffix = result.executed ? "SUCCESS" : "ERROR";
|
|
51861
|
-
eventBus.emit(`${traitName}:${normalizedEvent}:${suffix}`, {
|
|
51862
|
-
event: normalizedEvent,
|
|
51863
|
-
payload,
|
|
51864
|
-
newState: result.newState,
|
|
51865
|
-
currentState: result.previousState
|
|
51866
|
-
});
|
|
51867
|
-
}
|
|
51868
51851
|
for (const { traitName, result } of results) {
|
|
51869
51852
|
if (result.executed) {
|
|
51870
51853
|
updateTraitState(traitName, result.newState);
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -38391,14 +38391,6 @@ function useTraitStateMachine(traitBindings, slotsActions, options) {
|
|
|
38391
38391
|
const actions = slotsActionsRef.current;
|
|
38392
38392
|
console.log("[TraitStateMachine] Processing event:", normalizedEvent, "payload:", payload);
|
|
38393
38393
|
const bindingMap = new Map(bindings.map((b) => [b.trait.name, b]));
|
|
38394
|
-
for (const traitName of bindingMap.keys()) {
|
|
38395
|
-
const traitState = currentManager.getState(traitName);
|
|
38396
|
-
eventBus.emit(`${traitName}:DISPATCH`, {
|
|
38397
|
-
event: normalizedEvent,
|
|
38398
|
-
payload,
|
|
38399
|
-
currentState: traitState?.currentState
|
|
38400
|
-
});
|
|
38401
|
-
}
|
|
38402
38394
|
const results = currentManager.sendEvent(normalizedEvent, payload);
|
|
38403
38395
|
const emittedByTrait = /* @__PURE__ */ new Map();
|
|
38404
38396
|
for (const { traitName, result } of results) {
|
|
@@ -38581,15 +38573,6 @@ function useTraitStateMachine(traitBindings, slotsActions, options) {
|
|
|
38581
38573
|
}
|
|
38582
38574
|
}
|
|
38583
38575
|
}
|
|
38584
|
-
for (const { traitName, result } of results) {
|
|
38585
|
-
const suffix = result.executed ? "SUCCESS" : "ERROR";
|
|
38586
|
-
eventBus.emit(`${traitName}:${normalizedEvent}:${suffix}`, {
|
|
38587
|
-
event: normalizedEvent,
|
|
38588
|
-
payload,
|
|
38589
|
-
newState: result.newState,
|
|
38590
|
-
currentState: result.previousState
|
|
38591
|
-
});
|
|
38592
|
-
}
|
|
38593
38576
|
for (const { traitName, result } of results) {
|
|
38594
38577
|
if (result.executed) {
|
|
38595
38578
|
updateTraitState(traitName, result.newState);
|
package/dist/runtime/index.js
CHANGED
|
@@ -38346,14 +38346,6 @@ function useTraitStateMachine(traitBindings, slotsActions, options) {
|
|
|
38346
38346
|
const actions = slotsActionsRef.current;
|
|
38347
38347
|
console.log("[TraitStateMachine] Processing event:", normalizedEvent, "payload:", payload);
|
|
38348
38348
|
const bindingMap = new Map(bindings.map((b) => [b.trait.name, b]));
|
|
38349
|
-
for (const traitName of bindingMap.keys()) {
|
|
38350
|
-
const traitState = currentManager.getState(traitName);
|
|
38351
|
-
eventBus.emit(`${traitName}:DISPATCH`, {
|
|
38352
|
-
event: normalizedEvent,
|
|
38353
|
-
payload,
|
|
38354
|
-
currentState: traitState?.currentState
|
|
38355
|
-
});
|
|
38356
|
-
}
|
|
38357
38349
|
const results = currentManager.sendEvent(normalizedEvent, payload);
|
|
38358
38350
|
const emittedByTrait = /* @__PURE__ */ new Map();
|
|
38359
38351
|
for (const { traitName, result } of results) {
|
|
@@ -38536,15 +38528,6 @@ function useTraitStateMachine(traitBindings, slotsActions, options) {
|
|
|
38536
38528
|
}
|
|
38537
38529
|
}
|
|
38538
38530
|
}
|
|
38539
|
-
for (const { traitName, result } of results) {
|
|
38540
|
-
const suffix = result.executed ? "SUCCESS" : "ERROR";
|
|
38541
|
-
eventBus.emit(`${traitName}:${normalizedEvent}:${suffix}`, {
|
|
38542
|
-
event: normalizedEvent,
|
|
38543
|
-
payload,
|
|
38544
|
-
newState: result.newState,
|
|
38545
|
-
currentState: result.previousState
|
|
38546
|
-
});
|
|
38547
|
-
}
|
|
38548
38531
|
for (const { traitName, result } of results) {
|
|
38549
38532
|
if (result.executed) {
|
|
38550
38533
|
updateTraitState(traitName, result.newState);
|