@almadar/ui 5.149.0 → 5.151.0

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.
@@ -1,5 +1,5 @@
1
1
  import * as _almadar_core from '@almadar/core';
2
- import { EventPayload, ServiceParams, ResolvedTraitBinding, ResolvedPage, ResolvedEntity, ResolvedTrait, ResolvedIR, OrbitalSchema, PatternConfig, FieldValue, EventSource, SExpr, EntityRow, EntityData } from '@almadar/core';
2
+ import { EventPayload, ServiceParams, ResolvedTraitBinding, ResolvedPage, ResolvedEntity, ResolvedTrait, ResolvedIR, OrbitalSchema, PatternConfig, FieldValue, EventSource, SExpr, BusEventSource, EntityRow, EntityData } from '@almadar/core';
3
3
  export { ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, ResolvedTraitBinding } from '@almadar/core';
4
4
  import * as _almadar_runtime from '@almadar/runtime';
5
5
  import { TraitState, EffectHandlers } from '@almadar/runtime';
@@ -161,7 +161,7 @@ interface SlotSource extends EventSource {
161
161
  */
162
162
 
163
163
  interface ClientEventBus {
164
- emit: (type: string, payload?: EventPayload) => void;
164
+ emit: (type: string, payload?: EventPayload, source?: BusEventSource) => void;
165
165
  }
166
166
  interface SlotSetter {
167
167
  addPattern: (slot: string, pattern: PatternConfig | null, props?: Record<string, FieldValue | undefined>) => void;
@@ -1,5 +1,5 @@
1
1
  import * as _almadar_core from '@almadar/core';
2
- import { EventPayload, ServiceParams, ResolvedTraitBinding, ResolvedPage, ResolvedEntity, ResolvedTrait, ResolvedIR, OrbitalSchema, PatternConfig, FieldValue, EventSource, SExpr, EntityRow, EntityData } from '@almadar/core';
2
+ import { EventPayload, ServiceParams, ResolvedTraitBinding, ResolvedPage, ResolvedEntity, ResolvedTrait, ResolvedIR, OrbitalSchema, PatternConfig, FieldValue, EventSource, SExpr, BusEventSource, EntityRow, EntityData } from '@almadar/core';
3
3
  export { ResolvedEntity, ResolvedIR, ResolvedPage, ResolvedTrait, ResolvedTraitBinding } from '@almadar/core';
4
4
  import * as _almadar_runtime from '@almadar/runtime';
5
5
  import { TraitState, EffectHandlers } from '@almadar/runtime';
@@ -161,7 +161,7 @@ interface SlotSource extends EventSource {
161
161
  */
162
162
 
163
163
  interface ClientEventBus {
164
- emit: (type: string, payload?: EventPayload) => void;
164
+ emit: (type: string, payload?: EventPayload, source?: BusEventSource) => void;
165
165
  }
166
166
  interface SlotSetter {
167
167
  addPattern: (slot: string, pattern: PatternConfig | null, props?: Record<string, FieldValue | undefined>) => void;