PrivateactivePrivatecachedPrivatecurrentPrivatemapPrivateresolutionPrivateresolutionPrivatestylesPrivatetranslationsPrivate_The unique identifier for the style.
The style data to be added.
If true, merges with an existing style.
Configures the style registry, setting up necessary resolution information. This method is called by the framework to initialize the registry with device-specific settings.
PrivatedeepPrivategenerateGenerates a unique key for a style object to track seen styles.
The style object.
The generated key.
PrivateisPrivateparsePrivateresolvePrivateresolveResolves nested style values for a given style key, handling multiple types of references:
~, it treats it as a reference to another named style
and recursively resolves it (while detecting circular references).${}, it binds the value dynamically to a data/view/fn
section of the active data map, mapping the key for reactive updates.$(), it binds the value to an observer for the style.This function is critical for supporting dynamic and nested style bindings, enabling the framework to handle complex style dependencies and reactivity.
Resolves the style for a given row, applying any overrides.
The row for which to resolve the style.
Sets the initial JSON with all styles, clearing any cached styles.
The JSON containing all styles.
Adds a single style to the registry, with an option to merge with existing styles.