import { A_Context, } from "@adaas/a-concept"; import { A_Frame } from "@adaas/a-frame/core"; import { AreNode} from "@adaas/are"; import { AreBindingAttribute } from "@adaas/are-html/attributes/AreBinding.attribute"; import { AreDirectiveAttribute } from "@adaas/are-html/attributes/AreDirective.attribute"; import { AreEventAttribute } from "@adaas/are-html/attributes/AreEvent.attribute"; import { AreStaticAttribute } from "@adaas/are-html/attributes/AreStatic.attribute"; import { AreStyle } from "@adaas/are-html/style/AreStyle.context"; import { AreDirective } from "@adaas/are-html/directive/AreDirective.component"; import { AreDirectiveMeta } from "@adaas/are-html/directive/AreDirective.meta"; @A_Frame.Define({ namespace: 'a-are-html', description: 'AreHTMLNode represents a node in the HTML structure. It extends the base AreNode and includes properties and methods specific to HTML nodes, such as handling attributes, directives, events, and styles.' }) export class AreHTMLNode extends AreNode { /** * When set, this node is a *static island* root: its entire inner subtree * was detected (at tokenize time) to contain no ARE-reactive constructs — * no interpolations, no dynamic attributes and only standard HTML tags. * * Instead of being exploded into one child AreNode per element/text node, * the inner markup is preserved verbatim here and materialised in a single * pass by the interpreter (browser-parsed `innerHTML` / cached `