UNPKG

verstak

Version:
124 lines (123 loc) 10.2 kB
import { declare } from "reactronic"; import { ElKind } from "../core/El.js"; import { SvgDriver } from "../core/WebDriver.js"; export function Svg(declaration) { return declare(SvgTags.svg, declaration); } export function SvgA(declaration) { return declare(SvgTags.a, declaration); } export function Animate(declaration) { return declare(SvgTags.animate, declaration); } export function AnimateMotion(declaration) { return declare(SvgTags.animateMotion, declaration); } export function AnimateTransform(declaration) { return declare(SvgTags.animateTransform, declaration); } export function Circle(declaration) { return declare(SvgTags.circle, declaration); } export function ClipPath(declaration) { return declare(SvgTags.clipPath, declaration); } export function Defs(declaration) { return declare(SvgTags.defs, declaration); } export function Desc(declaration) { return declare(SvgTags.desc, declaration); } export function Ellipse(declaration) { return declare(SvgTags.ellipse, declaration); } export function FeBlend(declaration) { return declare(SvgTags.feBlend, declaration); } export function FeColorMatrix(declaration) { return declare(SvgTags.feColorMatrix, declaration); } export function FeComponentTransfer(declaration) { return declare(SvgTags.feComponentTransfer, declaration); } export function FeComposite(declaration) { return declare(SvgTags.feComposite, declaration); } export function FeConvolveMatrix(declaration) { return declare(SvgTags.feConvolveMatrix, declaration); } export function FeDiffuseLighting(declaration) { return declare(SvgTags.feDiffuseLighting, declaration); } export function FeDisplacementMap(declaration) { return declare(SvgTags.feDisplacementMap, declaration); } export function FeDistantLight(declaration) { return declare(SvgTags.feDistantLight, declaration); } export function FeDropShadow(declaration) { return declare(SvgTags.feDropShadow, declaration); } export function FeFlood(declaration) { return declare(SvgTags.feFlood, declaration); } export function FeFuncA(declaration) { return declare(SvgTags.feFuncA, declaration); } export function FeFuncB(declaration) { return declare(SvgTags.feFuncB, declaration); } export function FeFuncG(declaration) { return declare(SvgTags.feFuncG, declaration); } export function FeFuncR(declaration) { return declare(SvgTags.feFuncR, declaration); } export function FeGaussianBlur(declaration) { return declare(SvgTags.feGaussianBlur, declaration); } export function FeImage(declaration) { return declare(SvgTags.feImage, declaration); } export function FeMerge(declaration) { return declare(SvgTags.feMerge, declaration); } export function FeMergeNode(declaration) { return declare(SvgTags.feMergeNode, declaration); } export function FeMorphology(declaration) { return declare(SvgTags.feMorphology, declaration); } export function FeOffset(declaration) { return declare(SvgTags.feOffset, declaration); } export function FePointLight(declaration) { return declare(SvgTags.fePointLight, declaration); } export function FeSpecularLighting(declaration) { return declare(SvgTags.feSpecularLighting, declaration); } export function FeSpotLight(declaration) { return declare(SvgTags.feSpotLight, declaration); } export function FeTile(declaration) { return declare(SvgTags.feTile, declaration); } export function FeTurbulence(declaration) { return declare(SvgTags.feTurbulence, declaration); } export function Filter(declaration) { return declare(SvgTags.filter, declaration); } export function ForeignObject(declaration) { return declare(SvgTags.foreignObject, declaration); } export function G(declaration) { return declare(SvgTags.g, declaration); } export function SvgImage(declaration) { return declare(SvgTags.image, declaration); } export function SvgLine(declaration) { return declare(SvgTags.line, declaration); } export function LinearGradient(declaration) { return declare(SvgTags.linearGradient, declaration); } export function Marker(declaration) { return declare(SvgTags.marker, declaration); } export function Mask(declaration) { return declare(SvgTags.mask, declaration); } export function MetaData(declaration) { return declare(SvgTags.metadata, declaration); } export function MPath(declaration) { return declare(SvgTags.mpath, declaration); } export function Path(declaration) { return declare(SvgTags.path, declaration); } export function Pattern(declaration) { return declare(SvgTags.pattern, declaration); } export function Polygon(declaration) { return declare(SvgTags.polygon, declaration); } export function PolyLine(declaration) { return declare(SvgTags.polyline, declaration); } export function RadialGradient(declaration) { return declare(SvgTags.radialGradient, declaration); } export function Rect(declaration) { return declare(SvgTags.rect, declaration); } export function Stop(declaration) { return declare(SvgTags.stop, declaration); } export function SvgSwitch(declaration) { return declare(SvgTags.switch, declaration); } export function Symbol(declaration) { return declare(SvgTags.symbol, declaration); } export function Text(declaration) { return declare(SvgTags.text, declaration); } export function TextPath(declaration) { return declare(SvgTags.textPath, declaration); } export function TSpan(declaration) { return declare(SvgTags.tspan, declaration); } export function Use(declaration) { return declare(SvgTags.use, declaration); } export function View(declaration) { return declare(SvgTags.view, declaration); } const SvgTags = { svg: new SvgDriver("svg", false, el => el.kind = ElKind.native), a: new SvgDriver("a", false, el => el.kind = ElKind.native), animate: new SvgDriver("animate", false, el => el.kind = ElKind.native), animateMotion: new SvgDriver("animateMotion", false, el => el.kind = ElKind.native), animateTransform: new SvgDriver("animateTransform", false, el => el.kind = ElKind.native), circle: new SvgDriver("circle", false, el => el.kind = ElKind.native), clipPath: new SvgDriver("clipPath", false, el => el.kind = ElKind.native), defs: new SvgDriver("defs", false, el => el.kind = ElKind.native), desc: new SvgDriver("desc", false, el => el.kind = ElKind.native), ellipse: new SvgDriver("ellipse", false, el => el.kind = ElKind.native), feBlend: new SvgDriver("feBlend", false, el => el.kind = ElKind.native), feColorMatrix: new SvgDriver("feColorMatrix", false, el => el.kind = ElKind.native), feComponentTransfer: new SvgDriver("feComponentTransfer", false, el => el.kind = ElKind.native), feComposite: new SvgDriver("feComposite", false, el => el.kind = ElKind.native), feConvolveMatrix: new SvgDriver("feConvolveMatrix", false, el => el.kind = ElKind.native), feDiffuseLighting: new SvgDriver("feDiffuseLighting", false, el => el.kind = ElKind.native), feDisplacementMap: new SvgDriver("feDisplacementMap", false, el => el.kind = ElKind.native), feDistantLight: new SvgDriver("feDistantLight", false, el => el.kind = ElKind.native), feDropShadow: new SvgDriver("feDropShadow", false, el => el.kind = ElKind.native), feFlood: new SvgDriver("feFlood", false, el => el.kind = ElKind.native), feFuncA: new SvgDriver("feFuncA", false, el => el.kind = ElKind.native), feFuncB: new SvgDriver("feFuncB", false, el => el.kind = ElKind.native), feFuncG: new SvgDriver("feFuncG", false, el => el.kind = ElKind.native), feFuncR: new SvgDriver("feFuncR", false, el => el.kind = ElKind.native), feGaussianBlur: new SvgDriver("feGaussianBlur", false, el => el.kind = ElKind.native), feImage: new SvgDriver("feImage", false, el => el.kind = ElKind.native), feMerge: new SvgDriver("feMerge", false, el => el.kind = ElKind.native), feMergeNode: new SvgDriver("feMergeNode", false, el => el.kind = ElKind.native), feMorphology: new SvgDriver("feMorphology", false, el => el.kind = ElKind.native), feOffset: new SvgDriver("feOffset", false, el => el.kind = ElKind.native), fePointLight: new SvgDriver("fePointLight", false, el => el.kind = ElKind.native), feSpecularLighting: new SvgDriver("feSpecularLighting", false, el => el.kind = ElKind.native), feSpotLight: new SvgDriver("feSpotLight", false, el => el.kind = ElKind.native), feTile: new SvgDriver("feTile", false, el => el.kind = ElKind.native), feTurbulence: new SvgDriver("feTurbulence", false, el => el.kind = ElKind.native), filter: new SvgDriver("filter", false, el => el.kind = ElKind.native), foreignObject: new SvgDriver("foreignObject", false, el => el.kind = ElKind.native), g: new SvgDriver("g", false, el => el.kind = ElKind.native), image: new SvgDriver("image", false, el => el.kind = ElKind.native), line: new SvgDriver("line", false, el => el.kind = ElKind.native), linearGradient: new SvgDriver("linearGradient", false, el => el.kind = ElKind.native), marker: new SvgDriver("marker", false, el => el.kind = ElKind.native), mask: new SvgDriver("mask", false, el => el.kind = ElKind.native), metadata: new SvgDriver("metadata", false, el => el.kind = ElKind.native), mpath: new SvgDriver("mpath", false, el => el.kind = ElKind.native), path: new SvgDriver("path", false, el => el.kind = ElKind.native), pattern: new SvgDriver("pattern", false, el => el.kind = ElKind.native), polygon: new SvgDriver("polygon", false, el => el.kind = ElKind.native), polyline: new SvgDriver("polyline", false, el => el.kind = ElKind.native), radialGradient: new SvgDriver("radialGradient", false, el => el.kind = ElKind.native), rect: new SvgDriver("rect", false, el => el.kind = ElKind.native), stop: new SvgDriver("stop", false, el => el.kind = ElKind.native), switch: new SvgDriver("switch", false, el => el.kind = ElKind.native), symbol: new SvgDriver("symbol", false, el => el.kind = ElKind.native), text: new SvgDriver("text", false, el => el.kind = ElKind.native), textPath: new SvgDriver("textPath", false, el => el.kind = ElKind.native), tspan: new SvgDriver("tspan", false, el => el.kind = ElKind.native), use: new SvgDriver("use", false, el => el.kind = ElKind.native), view: new SvgDriver("view", false, el => el.kind = ElKind.native), };