-module(sketch@lustre@element@keyed). -compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]). -define(FILEPATH, "src/sketch/lustre/element/keyed.gleam"). -export([element/4, element_/3, namespaced/5, namespaced_/4, ul/3, ul_/2, ol/3, ol_/2, 'div'/3, div_/2, tbody/3, tbody_/2, dl/3, dl_/2]). -if(?OTP_RELEASE >= 27). -define(MODULEDOC(Str), -moduledoc(Str)). -define(DOC(Str), -doc(Str)). -else. -define(MODULEDOC(Str), -compile([])). -define(DOC(Str), -compile([])). -endif. ?MODULEDOC( " This module is a drop-in replacement for `lustre/element/keyed`. Just\n" " use the new functions, and everything will automagically be styled.\n" ). -file("src/sketch/lustre/element/keyed.gleam", 11). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#element)\n"). -spec element( binary(), sketch@internals@cache@cache:class(), list(lustre@vdom@vattr:attribute(QYE)), list({binary(), lustre@vdom@vnode:element(QYE)}) ) -> lustre@vdom@vnode:element(QYE). element(Tag, Class, Attributes, Children) -> Class_name = sketch@lustre@element:class_name(Class), Attributes@1 = [lustre@attribute:class(Class_name) | Attributes], lustre@element@keyed:element(Tag, Attributes@1, Children). -file("src/sketch/lustre/element/keyed.gleam", 23). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#element)\n"). -spec element_( binary(), list(lustre@vdom@vattr:attribute(QYK)), list({binary(), lustre@vdom@vnode:element(QYK)}) ) -> lustre@vdom@vnode:element(QYK). element_(Tag, Attributes, Children) -> lustre@element@keyed:element(Tag, Attributes, Children). -file("src/sketch/lustre/element/keyed.gleam", 32). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#namespaced)\n"). -spec namespaced( binary(), binary(), sketch@internals@cache@cache:class(), list(lustre@vdom@vattr:attribute(QYQ)), list({binary(), lustre@vdom@vnode:element(QYQ)}) ) -> lustre@vdom@vnode:element(QYQ). namespaced(Namespace, Tag, Class, Attributes, Children) -> Class_name = sketch@lustre@element:class_name(Class), Attributes@1 = [lustre@attribute:class(Class_name) | Attributes], lustre@element@keyed:namespaced(Namespace, Tag, Attributes@1, Children). -file("src/sketch/lustre/element/keyed.gleam", 45). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#namespaced)\n"). -spec namespaced_( binary(), binary(), list(lustre@vdom@vattr:attribute(QYW)), list({binary(), lustre@vdom@vnode:element(QYW)}) ) -> lustre@vdom@vnode:element(QYW). namespaced_(Namespace, Tag, Attributes, Children) -> lustre@element@keyed:namespaced(Namespace, Tag, Attributes, Children). -file("src/sketch/lustre/element/keyed.gleam", 58). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#ul)\n"). -spec ul( sketch@internals@cache@cache:class(), list(lustre@vdom@vattr:attribute(QZC)), list({binary(), lustre@vdom@vnode:element(QZC)}) ) -> lustre@vdom@vnode:element(QZC). ul(Class, Attributes, Children) -> Class_name = sketch@lustre@element:class_name(Class), Attributes@1 = [lustre@attribute:class(Class_name) | Attributes], lustre@element@keyed:element(<<"ul"/utf8>>, Attributes@1, Children). -file("src/sketch/lustre/element/keyed.gleam", 69). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#ul)\n"). -spec ul_( list(lustre@vdom@vattr:attribute(QZI)), list({binary(), lustre@vdom@vnode:element(QZI)}) ) -> lustre@vdom@vnode:element(QZI). ul_(Attributes, Children) -> lustre@element@keyed:element(<<"ul"/utf8>>, Attributes, Children). -file("src/sketch/lustre/element/keyed.gleam", 77). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#ol)\n"). -spec ol( sketch@internals@cache@cache:class(), list(lustre@vdom@vattr:attribute(QZO)), list({binary(), lustre@vdom@vnode:element(QZO)}) ) -> lustre@vdom@vnode:element(QZO). ol(Class, Attributes, Children) -> Class_name = sketch@lustre@element:class_name(Class), Attributes@1 = [lustre@attribute:class(Class_name) | Attributes], lustre@element@keyed:element(<<"ol"/utf8>>, Attributes@1, Children). -file("src/sketch/lustre/element/keyed.gleam", 88). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#ol)\n"). -spec ol_( list(lustre@vdom@vattr:attribute(QZU)), list({binary(), lustre@vdom@vnode:element(QZU)}) ) -> lustre@vdom@vnode:element(QZU). ol_(Attributes, Children) -> lustre@element@keyed:element(<<"ol"/utf8>>, Attributes, Children). -file("src/sketch/lustre/element/keyed.gleam", 96). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#div)\n"). -spec 'div'( sketch@internals@cache@cache:class(), list(lustre@vdom@vattr:attribute(RAA)), list({binary(), lustre@vdom@vnode:element(RAA)}) ) -> lustre@vdom@vnode:element(RAA). 'div'(Class, Attributes, Children) -> Class_name = sketch@lustre@element:class_name(Class), Attributes@1 = [lustre@attribute:class(Class_name) | Attributes], lustre@element@keyed:element(<<"div"/utf8>>, Attributes@1, Children). -file("src/sketch/lustre/element/keyed.gleam", 107). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#div)\n"). -spec div_( list(lustre@vdom@vattr:attribute(RAG)), list({binary(), lustre@vdom@vnode:element(RAG)}) ) -> lustre@vdom@vnode:element(RAG). div_(Attributes, Children) -> lustre@element@keyed:element(<<"div"/utf8>>, Attributes, Children). -file("src/sketch/lustre/element/keyed.gleam", 115). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#tbody)\n"). -spec tbody( sketch@internals@cache@cache:class(), list(lustre@vdom@vattr:attribute(RAM)), list({binary(), lustre@vdom@vnode:element(RAM)}) ) -> lustre@vdom@vnode:element(RAM). tbody(Class, Attributes, Children) -> Class_name = sketch@lustre@element:class_name(Class), Attributes@1 = [lustre@attribute:class(Class_name) | Attributes], lustre@element@keyed:element(<<"tbody"/utf8>>, Attributes@1, Children). -file("src/sketch/lustre/element/keyed.gleam", 126). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#tbody)\n"). -spec tbody_( list(lustre@vdom@vattr:attribute(RAS)), list({binary(), lustre@vdom@vnode:element(RAS)}) ) -> lustre@vdom@vnode:element(RAS). tbody_(Attributes, Children) -> lustre@element@keyed:element(<<"tbody"/utf8>>, Attributes, Children). -file("src/sketch/lustre/element/keyed.gleam", 134). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#dl)\n"). -spec dl( sketch@internals@cache@cache:class(), list(lustre@vdom@vattr:attribute(RAY)), list({binary(), lustre@vdom@vnode:element(RAY)}) ) -> lustre@vdom@vnode:element(RAY). dl(Class, Attributes, Children) -> Class_name = sketch@lustre@element:class_name(Class), Attributes@1 = [lustre@attribute:class(Class_name) | Attributes], lustre@element@keyed:element(<<"dl"/utf8>>, Attributes@1, Children). -file("src/sketch/lustre/element/keyed.gleam", 145). ?DOC(" [Lustre Documentation](https://hexdocs.pm/lustre/lustre/element/keyed.html#dl)\n"). -spec dl_( list(lustre@vdom@vattr:attribute(RBE)), list({binary(), lustre@vdom@vnode:element(RBE)}) ) -> lustre@vdom@vnode:element(RBE). dl_(Attributes, Children) -> lustre@element@keyed:element(<<"dl"/utf8>>, Attributes, Children).