x-runtime-lib 0.8.169 → 0.8.171

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,6 +1,7 @@
1
1
  export interface Hooks {
2
2
  onElementPropertyChange: (nodeId: string, propertyKeys: string[], newValue: any, oldValue: any) => void;
3
3
  onElementSlotPropertyChange: (nodeId: string, elementId: string, slotKey: string, propertyKey: string, newValue: any, oldValue: any) => void;
4
+ onMultipleElementSlotPropertyChange: (nodeId: string, elementId: string, slotKey: string, propertyKey: string, instance: string, newValue: any, oldValue: any) => void;
4
5
  onCustomPropertyChange: (propertyKey: string, newValue: any, oldValue: any) => void;
5
6
  onCustomSlotPropetyChange: (propertyKey: string, newValue: any, oldValue: any) => void;
6
7
  onStateChange: (stateId: string, newValue: any, oldValue: any) => void;
@@ -1,9 +1,5 @@
1
1
  export type SandboxKind = 'root' | 'ref' | 'multipleRef' | 'elementSlot' | 'multipleElementSlot' | 'customSlot' | 'multipleCustomSlot';
2
- export type PropertyKind = 'elementProperty' | 'elementSlotProperty' | 'refProperty' | 'multipleRefProperty' | 'customSlotProperty' | 'multipleCustomSlotProperty' | 'customProperty' | 'adaptSlotElementProperty' | 'adaptSlotCustomProperty';
3
- export declare function isLocaleOfPropertyKind(kind: PropertyKind | ''): boolean;
4
- export type MethodKind = 'elementMethod' | 'elementSlotMethod' | 'refMethod' | 'multipleRefMethod' | 'customSlotMethod' | 'multipleCustomSlotMethod' | 'customMethod' | 'adaptSlotElementMethod' | 'adaptSlotCustomMethod';
5
- export declare function isLocaleOfMethodKind(kind: MethodKind | ''): boolean;
6
- export type EventKind = 'elementEvent' | 'elementPropertyChangeEvent' | 'elementSlotEvent' | 'elementSlotPropertyChangeEvent' | 'refEvent' | 'refPropertyChangeEvent' | 'multipleRefEvent' | 'multipleRefPropertyChangeEvent' | 'customSlotEvent' | 'customSlotPropertyChangeEvent' | 'multipleCustomSlotEvent' | 'multipleCustomSlotPropertyChangeEvent' | 'customEvent' | 'customPropertyChangeEvent' | 'adaptSlotElementEvent' | 'adaptSlotElementPropertyChangeEvent' | 'adaptSlotCustomEvent' | 'adaptSlotCustomPropertyChangeEvent' | 'stateChangeEvent';
7
- export declare function isLocaleOfEventKind(kind: EventKind | ''): boolean;
8
- export type SlotKind = 'elementSlot' | 'customSlot';
9
- export declare function isLocaleOfSlotKind(kind: SlotKind | ''): boolean;
2
+ export type SlotKind = 'elementSlot' | 'multipleElementSlot' | 'customSlot' | 'multipleCustomSlot';
3
+ export type PropertyKind = 'elementProperty' | 'elementSlotProperty' | 'multipleElementSlotProperty' | 'refProperty' | 'multipleRefProperty' | 'customSlotProperty' | 'multipleCustomSlotProperty' | 'customProperty' | 'elementAdaptSlotProperty' | 'customAdaptSlotProperty';
4
+ export type MethodKind = 'elementMethod' | 'elementSlotMethod' | 'multipeElementSlotMethod' | 'refMethod' | 'multipleRefMethod' | 'customSlotMethod' | 'multipleCustomSlotMethod' | 'customMethod' | 'elementAdaptSlotMethod' | 'customAdaptSlotMethod';
5
+ export type EventKind = 'elementEvent' | 'elementPropertyChangeEvent' | 'elementSlotEvent' | 'elementSlotPropertyChangeEvent' | 'multipleElementSlotEvent' | 'multipleElementSlotPropertyChangeEvent' | 'refEvent' | 'refPropertyChangeEvent' | 'multipleRefEvent' | 'multipleRefPropertyChangeEvent' | 'customSlotEvent' | 'customSlotPropertyChangeEvent' | 'multipleCustomSlotEvent' | 'multipleCustomSlotPropertyChangeEvent' | 'customEvent' | 'customPropertyChangeEvent' | 'elementAdaptSlotEvent' | 'elementAdaptSlotPropertyChangeEvent' | 'customAdaptSlotEvent' | 'customAdaptSlotPropertyChangeEvent' | 'stateChangeEvent';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.169",
4
+ "version": "0.8.171",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",