@domphy/core 0.1.0
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.
- package/LICENSE +21 -0
- package/README.md +74 -0
- package/dist/core.global.js +2 -0
- package/dist/core.global.js.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +454 -0
- package/dist/index.d.ts +454 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +43 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
import { Properties } from 'csstype';
|
|
2
|
+
export { Properties } from 'csstype';
|
|
3
|
+
|
|
4
|
+
declare const HtmlAttributeMap: {
|
|
5
|
+
readonly a: readonly ["charSet", "coords", "download", "href", "hrefLang", "name", "ping", "referrerPolicy", "rel", "rev", "shape", "target", "type"];
|
|
6
|
+
readonly abbr: readonly [];
|
|
7
|
+
readonly address: readonly [];
|
|
8
|
+
readonly article: readonly [];
|
|
9
|
+
readonly aside: readonly [];
|
|
10
|
+
readonly audio: readonly ["autoPlay", "controls", "crossOrigin", "loop", "muted", "preload", "src"];
|
|
11
|
+
readonly b: readonly [];
|
|
12
|
+
readonly base: readonly ["href", "target"];
|
|
13
|
+
readonly blockquote: readonly ["cite"];
|
|
14
|
+
readonly body: readonly ["aLink", "background", "bgColor", "link", "text", "vLink"];
|
|
15
|
+
readonly br: readonly ["clear"];
|
|
16
|
+
readonly button: readonly ["disabled", "form", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "name", "popoverTarget", "popoverTargetAction", "type", "value"];
|
|
17
|
+
readonly canvas: readonly ["height", "width"];
|
|
18
|
+
readonly caption: readonly ["align"];
|
|
19
|
+
readonly cite: readonly [];
|
|
20
|
+
readonly code: readonly [];
|
|
21
|
+
readonly col: readonly ["align", "char", "charOff", "span", "vAlign", "width"];
|
|
22
|
+
readonly colgroup: readonly ["align", "char", "charOff", "span", "vAlign", "width"];
|
|
23
|
+
readonly data: readonly ["value"];
|
|
24
|
+
readonly datalist: readonly [];
|
|
25
|
+
readonly dd: readonly [];
|
|
26
|
+
readonly del: readonly ["cite", "dateTime"];
|
|
27
|
+
readonly details: readonly ["name", "open"];
|
|
28
|
+
readonly dfn: readonly [];
|
|
29
|
+
readonly dialog: readonly ["open"];
|
|
30
|
+
readonly div: readonly ["align"];
|
|
31
|
+
readonly dl: readonly ["compact"];
|
|
32
|
+
readonly dt: readonly [];
|
|
33
|
+
readonly em: readonly [];
|
|
34
|
+
readonly fieldset: readonly ["disabled", "form", "name"];
|
|
35
|
+
readonly figcaption: readonly [];
|
|
36
|
+
readonly figure: readonly [];
|
|
37
|
+
readonly footer: readonly [];
|
|
38
|
+
readonly form: readonly ["accept", "acceptCharset", "action", "autocomplete", "encType", "method", "name", "novalidate", "target"];
|
|
39
|
+
readonly h1: readonly ["align"];
|
|
40
|
+
readonly h2: readonly ["align"];
|
|
41
|
+
readonly h3: readonly ["align"];
|
|
42
|
+
readonly h4: readonly ["align"];
|
|
43
|
+
readonly h5: readonly ["align"];
|
|
44
|
+
readonly h6: readonly ["align"];
|
|
45
|
+
readonly head: readonly ["profile"];
|
|
46
|
+
readonly header: readonly [];
|
|
47
|
+
readonly hgroup: readonly [];
|
|
48
|
+
readonly html: readonly ["manifest", "version"];
|
|
49
|
+
readonly i: readonly [];
|
|
50
|
+
readonly iframe: readonly ["align", "allow", "allowFullScreen", "allowPaymentRequest", "allowUserMedia", "frameBorder", "height", "loading", "longDesc", "marginHeight", "marginWidth", "name", "referrerPolicy", "sandbox", "scrolling", "src", "srcDoc", "width"];
|
|
51
|
+
readonly img: readonly ["align", "alt", "border", "crossOrigin", "decoding", "fetchPriority", "height", "hSpace", "isMap", "loading", "longDesc", "name", "referrerPolicy", "sizes", "src", "srcSet", "useMap", "vSpace", "width"];
|
|
52
|
+
readonly input: readonly ["accept", "align", "alt", "autocomplete", "checked", "dirName", "disabled", "form", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "height", "isMap", "list", "max", "maxlength", "min", "minlength", "multiple", "name", "pattern", "placeholder", "popoverTarget", "popoverTargetAction", "readonly", "required", "size", "src", "step", "type", "useMap", "value", "width"];
|
|
53
|
+
readonly ins: readonly ["cite", "dateTime"];
|
|
54
|
+
readonly kbd: readonly [];
|
|
55
|
+
readonly label: readonly ["for", "form"];
|
|
56
|
+
readonly legend: readonly ["align"];
|
|
57
|
+
readonly li: readonly ["type", "value"];
|
|
58
|
+
readonly link: readonly ["as", "blocking", "charSet", "color", "crossOrigin", "disabled", "fetchPriority", "href", "hrefLang", "imageSizes", "imageSrcSet", "integrity", "media", "referrerPolicy", "rel", "rev", "sizes", "target", "type"];
|
|
59
|
+
readonly main: readonly [];
|
|
60
|
+
readonly map: readonly ["name"];
|
|
61
|
+
readonly mark: readonly [];
|
|
62
|
+
readonly meta: readonly ["charSet", "content", "httpEquiv", "media", "name", "scheme"];
|
|
63
|
+
readonly meter: readonly ["high", "low", "max", "min", "optimum", "value"];
|
|
64
|
+
readonly nav: readonly [];
|
|
65
|
+
readonly noscript: readonly [];
|
|
66
|
+
readonly object: readonly ["align", "archive", "border", "classId", "codeBase", "codeType", "data", "declare", "form", "height", "hSpace", "name", "standby", "type", "typeMustMatch", "useMap", "vSpace", "width"];
|
|
67
|
+
readonly ol: readonly ["compact", "reversed", "start", "type"];
|
|
68
|
+
readonly optgroup: readonly ["disabled", "label"];
|
|
69
|
+
readonly option: readonly ["disabled", "label", "selected", "value"];
|
|
70
|
+
readonly output: readonly ["htmlFor", "form", "name"];
|
|
71
|
+
readonly p: readonly ["align"];
|
|
72
|
+
readonly param: readonly ["name", "type", "value", "valueType"];
|
|
73
|
+
readonly picture: readonly [];
|
|
74
|
+
readonly pre: readonly ["width"];
|
|
75
|
+
readonly progress: readonly ["max", "value"];
|
|
76
|
+
readonly q: readonly ["cite"];
|
|
77
|
+
readonly rp: readonly [];
|
|
78
|
+
readonly rt: readonly [];
|
|
79
|
+
readonly ruby: readonly [];
|
|
80
|
+
readonly s: readonly [];
|
|
81
|
+
readonly samp: readonly [];
|
|
82
|
+
readonly script: readonly ["async", "blocking", "charSet", "crossOrigin", "defer", "fetchPriority", "integrity", "language", "noModule", "referrerPolicy", "src", "type"];
|
|
83
|
+
readonly section: readonly [];
|
|
84
|
+
readonly select: readonly ["autocomplete", "disabled", "form", "multiple", "name", "required", "size"];
|
|
85
|
+
readonly slot: readonly ["name"];
|
|
86
|
+
readonly small: readonly [];
|
|
87
|
+
readonly source: readonly ["height", "media", "sizes", "src", "srcSet", "type", "width"];
|
|
88
|
+
readonly span: readonly [];
|
|
89
|
+
readonly strong: readonly [];
|
|
90
|
+
readonly sub: readonly [];
|
|
91
|
+
readonly summary: readonly [];
|
|
92
|
+
readonly sup: readonly [];
|
|
93
|
+
readonly table: readonly ["align", "bgColor", "border", "cellPadding", "cellSpacing", "frame", "rules", "summary", "width"];
|
|
94
|
+
readonly tbody: readonly ["align", "char", "charOff", "vAlign"];
|
|
95
|
+
readonly td: readonly ["abbr", "align", "axis", "bgColor", "char", "charOff", "colSpan", "headers", "height", "noWrap", "rowSpan", "scope", "vAlign", "width"];
|
|
96
|
+
readonly template: readonly ["shadowRootClonable", "shadowRootDelegatesFocus", "shadowRootMode"];
|
|
97
|
+
readonly textarea: readonly ["autocomplete", "cols", "dirName", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"];
|
|
98
|
+
readonly tfoot: readonly ["align", "char", "charOff", "vAlign"];
|
|
99
|
+
readonly th: readonly ["abbr", "align", "axis", "bgColor", "char", "charOff", "colSpan", "headers", "height", "noWrap", "rowSpan", "scope", "vAlign", "width"];
|
|
100
|
+
readonly thead: readonly ["align", "char", "charOff", "vAlign"];
|
|
101
|
+
readonly time: readonly ["dateTime"];
|
|
102
|
+
readonly title: readonly [];
|
|
103
|
+
readonly tr: readonly ["align", "bgColor", "char", "charOff", "vAlign"];
|
|
104
|
+
readonly track: readonly ["default", "kind", "label", "src", "srcLang"];
|
|
105
|
+
readonly u: readonly [];
|
|
106
|
+
readonly ul: readonly ["compact", "type"];
|
|
107
|
+
readonly var: readonly [];
|
|
108
|
+
readonly video: readonly ["autoPlay", "controls", "crossOrigin", "height", "loop", "muted", "playsInline", "poster", "preload", "src", "width"];
|
|
109
|
+
readonly wbr: readonly [];
|
|
110
|
+
readonly bdi: readonly [];
|
|
111
|
+
readonly bdo: readonly [];
|
|
112
|
+
readonly math: readonly [];
|
|
113
|
+
readonly menu: readonly [];
|
|
114
|
+
readonly search: readonly [];
|
|
115
|
+
readonly area: readonly [];
|
|
116
|
+
readonly embed: readonly [];
|
|
117
|
+
readonly hr: readonly [];
|
|
118
|
+
readonly animate: readonly ["accumulate", "additive", "alignmentBaseline", "attributeName", "attributeType", "baselineShift", "begin", "by", "calcMode", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "dur", "end", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "from", "href", "imageRendering", "kerning", "keySplines", "keyTimes", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "max", "min", "opacity", "overflow", "pointerEvents", "repeatCount", "repeatDur", "restart", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "to", "unicodeBidi", "values", "visibility", "wordSpacing", "writingMode"];
|
|
119
|
+
readonly animateMotion: readonly ["accumulate", "additive", "begin", "by", "calcMode", "dur", "end", "fill", "from", "href", "keyPoints", "keySplines", "keyTimes", "max", "min", "origin", "path", "repeatCount", "repeatDur", "restart", "rotate", "systemLanguage", "to", "values"];
|
|
120
|
+
readonly animateTransform: readonly ["accumulate", "additive", "attributeName", "attributeType", "begin", "by", "calcMode", "dur", "end", "fill", "from", "href", "keySplines", "keyTimes", "max", "min", "repeatCount", "repeatDur", "restart", "systemLanguage", "to", "type", "values"];
|
|
121
|
+
readonly circle: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "cx", "cy", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pathLength", "pointerEvents", "r", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
122
|
+
readonly clipPath: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "clipPathUnits", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
123
|
+
readonly cursor: readonly ["systemLanguage", "x", "y"];
|
|
124
|
+
readonly defs: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
125
|
+
readonly desc: readonly ["systemLanguage"];
|
|
126
|
+
readonly ellipse: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "cx", "cy", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pathLength", "pointerEvents", "rx", "ry", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
127
|
+
readonly feBlend: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "in2", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "mode", "opacity", "overflow", "pointerEvents", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
128
|
+
readonly feColorMatrix: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "type", "unicodeBidi", "values", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
129
|
+
readonly feComponentTransfer: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
130
|
+
readonly feComposite: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "in2", "k1", "k2", "k3", "k4", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "operator", "overflow", "pointerEvents", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
131
|
+
readonly feConvolveMatrix: readonly ["alignmentBaseline", "baselineShift", "bias", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "divisor", "dominantBaseline", "edgeMode", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "kernelMatrix", "kernelUnitLength", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "order", "overflow", "pointerEvents", "preserveAlpha", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "targetX", "targetY", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
132
|
+
readonly feDiffuseLighting: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "diffuseConstant", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "kernelUnitLength", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "surfaceScale", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
133
|
+
readonly feDisplacementMap: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "in2", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "result", "scale", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "xChannelSelector", "y", "yChannelSelector"];
|
|
134
|
+
readonly feDistantLight: readonly ["azimuth", "elevation"];
|
|
135
|
+
readonly feDropShadow: readonly ["dx", "dy", "height", "in", "result", "stdDeviation", "width", "x", "y"];
|
|
136
|
+
readonly feFlood: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
137
|
+
readonly feFuncA: readonly ["amplitude", "exponent", "intercept", "offset", "slope", "tableValues", "type"];
|
|
138
|
+
readonly feFuncB: readonly ["amplitude", "exponent", "intercept", "offset", "slope", "tableValues", "type"];
|
|
139
|
+
readonly feFuncG: readonly ["amplitude", "exponent", "intercept", "offset", "slope", "tableValues", "type"];
|
|
140
|
+
readonly feFuncR: readonly ["amplitude", "exponent", "intercept", "offset", "slope", "tableValues", "type"];
|
|
141
|
+
readonly feGaussianBlur: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "edgeMode", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "result", "shapeRendering", "stdDeviation", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
142
|
+
readonly feImage: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "crossorigin", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "href", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "preserveAspectRatio", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
143
|
+
readonly feMerge: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
144
|
+
readonly feMergeNode: readonly ["in"];
|
|
145
|
+
readonly feMorphology: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "operator", "overflow", "pointerEvents", "radius", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
146
|
+
readonly feOffset: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "dx", "dy", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
147
|
+
readonly fePointLight: readonly ["x", "y", "z"];
|
|
148
|
+
readonly feSpecularLighting: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "kernelUnitLength", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "result", "shapeRendering", "specularConstant", "specularExponent", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "surfaceScale", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
149
|
+
readonly feSpotLight: readonly ["limitingConeAngle", "pointsAtX", "pointsAtY", "pointsAtZ", "specularExponent", "x", "y", "z"];
|
|
150
|
+
readonly feTile: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "in", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "result", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
151
|
+
readonly feTurbulence: readonly ["alignmentBaseline", "baseFrequency", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "numOctaves", "opacity", "overflow", "pointerEvents", "result", "seed", "shapeRendering", "stitchTiles", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "type", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
152
|
+
readonly filter: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "filterRes", "filterUnits", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "primitiveUnits", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
153
|
+
readonly foreignObject: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
154
|
+
readonly g: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
155
|
+
readonly image: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "crossorigin", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "href", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "preserveAspectRatio", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "type", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
156
|
+
readonly line: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pathLength", "pointerEvents", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode", "x1", "x2", "y1", "y2"];
|
|
157
|
+
readonly linearGradient: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "gradientTransform", "gradientUnits", "href", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "shapeRendering", "spreadMethod", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "wordSpacing", "writingMode", "x1", "x2", "y1", "y2"];
|
|
158
|
+
readonly marker: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "markerHeight", "markerUnits", "markerWidth", "mask", "opacity", "orient", "overflow", "pointerEvents", "preserveAspectRatio", "refX", "refY", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "viewBox", "visibility", "wordSpacing", "writingMode"];
|
|
159
|
+
readonly mask: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "maskContentUnits", "maskUnits", "opacity", "overflow", "pointerEvents", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
160
|
+
readonly metadata: readonly ["systemLanguage"];
|
|
161
|
+
readonly mpath: readonly ["href"];
|
|
162
|
+
readonly path: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "d", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pathLength", "pointerEvents", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
163
|
+
readonly pattern: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "href", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "patternContentUnits", "patternTransform", "patternUnits", "pointerEvents", "preserveAspectRatio", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "viewBox", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
164
|
+
readonly polygon: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pathLength", "pointerEvents", "points", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
165
|
+
readonly polyline: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pathLength", "pointerEvents", "points", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
166
|
+
readonly prefetch: readonly ["bandwidth", "mediaCharacterEncoding", "mediaContentEncodings", "mediaSize", "mediaTime"];
|
|
167
|
+
readonly radialGradient: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "cx", "cy", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "fr", "fx", "fy", "gradientTransform", "gradientUnits", "href", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "r", "shapeRendering", "spreadMethod", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
168
|
+
readonly rect: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pathLength", "pointerEvents", "rx", "ry", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
169
|
+
readonly set: readonly ["attributeName", "attributeType", "begin", "dur", "end", "fill", "href", "max", "min", "repeatCount", "repeatDur", "restart", "systemLanguage", "to"];
|
|
170
|
+
readonly solidColor: readonly [];
|
|
171
|
+
readonly stop: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "offset", "opacity", "overflow", "pointerEvents", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
172
|
+
readonly svg: readonly ["alignmentBaseline", "baseProfile", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "contentScriptType", "contentStyleType", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "preserveAspectRatio", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "version", "viewBox", "visibility", "width", "wordSpacing", "writingMode", "x", "y", "zoomAndPan", "xmlns"];
|
|
173
|
+
readonly switch: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
174
|
+
readonly symbol: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "preserveAspectRatio", "refX", "refY", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "textAnchor", "textDecoration", "textRendering", "unicodeBidi", "viewBox", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
175
|
+
readonly tbreak: readonly ["systemLanguage"];
|
|
176
|
+
readonly text: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "dx", "dy", "editable", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "lengthAdjust", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "rotate", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "textLength", "transform", "unicodeBidi", "visibility", "wordSpacing", "writingMode", "x", "y"];
|
|
177
|
+
readonly textPath: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "href", "imageRendering", "kerning", "lengthAdjust", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "method", "opacity", "overflow", "path", "pointerEvents", "shapeRendering", "side", "spacing", "startOffset", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "textLength", "unicodeBidi", "visibility", "wordSpacing", "writingMode"];
|
|
178
|
+
readonly tspan: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "dx", "dy", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "imageRendering", "kerning", "lengthAdjust", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "rotate", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "textLength", "unicodeBidi", "visibility", "wordSpacing", "writingMode", "x", "y"];
|
|
179
|
+
readonly use: readonly ["alignmentBaseline", "baselineShift", "clip", "clipPath", "clipRule", "color", "colorInterpolation", "colorInterpolationFilters", "colorRendering", "cursor", "direction", "display", "dominantBaseline", "fill", "fillOpacity", "fillRule", "filter", "floodColor", "floodOpacity", "fontFamily", "fontSize", "fontSizeAdjust", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "height", "href", "imageRendering", "kerning", "letterSpacing", "lightingColor", "markerEnd", "markerMid", "markerStart", "mask", "opacity", "overflow", "pointerEvents", "shapeRendering", "stopColor", "stopOpacity", "stroke", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeWidth", "systemLanguage", "textAnchor", "textDecoration", "textRendering", "transform", "unicodeBidi", "visibility", "width", "wordSpacing", "writingMode", "x", "y"];
|
|
180
|
+
readonly view: readonly ["preserveAspectRatio", "viewBox", "viewTarget", "zoomAndPan"];
|
|
181
|
+
};
|
|
182
|
+
type AttributeMap = typeof HtmlAttributeMap;
|
|
183
|
+
|
|
184
|
+
declare const EventProperties: readonly ["onAbort", "onAuxClick", "onBeforeMatch", "onBeforeToggle", "onBlur", "onCancel", "onCanPlay", "onCanPlayThrough", "onChange", "onClick", "onClose", "onContextLost", "onContextMenu", "onContextRestored", "onCopy", "onCueChange", "onCut", "onDblClick", "onDrag", "onDragEnd", "onDragEnter", "onDragLeave", "onDragOver", "onDragStart", "onDrop", "onDurationChange", "onEmptied", "onEnded", "onError", "onFocus", "onFormData", "onInput", "onInvalid", "onKeyDown", "onKeyPress", "onKeyUp", "onLoad", "onLoadedData", "onLoadedMetadata", "onLoadStart", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onPaste", "onPause", "onPlay", "onPlaying", "onProgress", "onRateChange", "onReset", "onResize", "onScroll", "onScrollEnd", "onSecurityPolicyViolation", "onSeeked", "onSeeking", "onSelect", "onSlotChange", "onStalled", "onSubmit", "onSuspend", "onTimeUpdate", "onToggle", "onVolumeChange", "onWaiting", "onWheel", "onTouchStart", "onTouchMove", "onTouchEnd", "onTouchCancel", "onPointerDown", "onPointerMove", "onPointerUp", "onPointerCancel", "onPointerEnter", "onPointerLeave", "onPointerOver", "onPointerOut", "onGotPointerCapture", "onLostPointerCapture", "onCompositionStart", "onCompositionUpdate", "onCompositionEnd", "onTransitionEnd", "onTransitionStart", "onAnimationStart", "onAnimationEnd", "onAnimationIteration", "onFullscreenChange", "onFullscreenError", "onFocusIn", "onFocusOut"];
|
|
185
|
+
|
|
186
|
+
declare const GlobalAttributes: readonly ["accessKey", "autoCapitalize", "autofocus", "class", "contenteditable", "dir", "draggable", "enterKeyHint", "hidden", "id", "inert", "inputMode", "is", "itemId", "itemProp", "itemRef", "itemScope", "itemType", "lang", "nonce", "popover", "slot", "spellcheck", "tabindex", "title", "translate", "writingSuggestions", "ariaActiveDescendant", "ariaAtomic", "ariaAutocomplete", "ariaBusy", "ariaChecked", "ariaColCount", "ariaColindex", "ariaColspan", "ariaControls", "ariaCurrent", "ariaDescribedby", "ariaDetails", "ariaDisabled", "ariaErrormessage", "ariaExpanded", "ariaFlowto", "ariaHaspopup", "ariaHidden", "ariaInvalid", "ariaKeyshortcuts", "ariaLabel", "ariaLabelledby", "ariaLevel", "ariaLive", "ariaModal", "ariaMultiline", "ariaMultiselectable", "ariaOrientation", "ariaOwns", "ariaPlaceholder", "ariaPosinSet", "ariaPressed", "ariaReadonly", "ariaRelevant", "ariaRequired", "ariaRoledescription", "ariaRowcount", "ariaRowindex", "ariaRowspan", "ariaSelected", "ariaSetSize", "ariaSort", "ariaValuemax", "ariaValuemin", "ariaValuenow", "ariaValuetext", "role"];
|
|
187
|
+
type GlobalAttribute = (typeof GlobalAttributes)[number];
|
|
188
|
+
|
|
189
|
+
declare const VoidTags: readonly ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "source", "track", "wbr"];
|
|
190
|
+
type VoidTagName = (typeof VoidTags)[number];
|
|
191
|
+
|
|
192
|
+
type Handler = ((...args: any[]) => any) & {
|
|
193
|
+
onSubscribe?: (release: () => void) => void;
|
|
194
|
+
};
|
|
195
|
+
type Listener = Handler & {
|
|
196
|
+
elementNode: ElementNode;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
type ReactiveProperty<T> = T | ((listener: Listener) => T);
|
|
200
|
+
type AttributeValue = ReactiveProperty<string | boolean | number | null | undefined>;
|
|
201
|
+
type StyleValue = ReactiveProperty<string | number>;
|
|
202
|
+
type Selector = TagName | `.${string}` | `#${string}` | `[${string}` | `@${string}` | `*${string}`;
|
|
203
|
+
type StyleSheet = {
|
|
204
|
+
[K in Selector]?: StyleObject | StyleSheet;
|
|
205
|
+
};
|
|
206
|
+
type CSSProperties = Properties;
|
|
207
|
+
type StyleBlock = {
|
|
208
|
+
[K in keyof Properties]?: ReactiveProperty<Properties[K]>;
|
|
209
|
+
};
|
|
210
|
+
type StyleObject = StyleBlock & {
|
|
211
|
+
[selector in `&${string}` | `${number}%${string}` | "from" | "to" | `@${string}`]?: StyleObject;
|
|
212
|
+
};
|
|
213
|
+
type EventProperty = (typeof EventProperties)[number];
|
|
214
|
+
type EventName = {
|
|
215
|
+
[K in EventProperty]: K extends `on${infer N}` ? Lowercase<N> & keyof HTMLElementEventMap : never;
|
|
216
|
+
}[EventProperty];
|
|
217
|
+
type EventHandlerMap = {
|
|
218
|
+
[K in EventProperty]: (event: HTMLElementEventMap[K extends `on${infer N}` ? Lowercase<N> & keyof HTMLElementEventMap : never], elementNode: ElementNode) => void;
|
|
219
|
+
};
|
|
220
|
+
type EventHandler<T extends EventName = EventName> = {
|
|
221
|
+
event: HTMLElementEventMap[T];
|
|
222
|
+
elementNode: ElementNode;
|
|
223
|
+
};
|
|
224
|
+
type TagName = keyof AttributeMap;
|
|
225
|
+
type TagAttributes = {
|
|
226
|
+
[K in AttributeMap[TagName][number]]?: AttributeValue;
|
|
227
|
+
};
|
|
228
|
+
type HookMap = {
|
|
229
|
+
Schedule?: (node: ElementNode, rawElement: DomphyElement) => void;
|
|
230
|
+
Init?: (node: ElementNode) => void;
|
|
231
|
+
Insert?: (node: ElementNode) => void;
|
|
232
|
+
Mount?: (node: ElementNode) => void;
|
|
233
|
+
BeforeUpdate?: (node: ElementNode, children: Array<PrimitiveInput | DomphyElement>) => void;
|
|
234
|
+
Update?: (node: ElementNode) => void;
|
|
235
|
+
BeforeRemove?: (node: ElementNode, done: () => void) => void;
|
|
236
|
+
Remove?: (node: ElementNode) => void;
|
|
237
|
+
};
|
|
238
|
+
type PropertyHookMap = {
|
|
239
|
+
Update?: (value: string | number) => void;
|
|
240
|
+
Remove?: () => void;
|
|
241
|
+
};
|
|
242
|
+
type PartialElement<T extends TagName = never> = {
|
|
243
|
+
_key?: string | number;
|
|
244
|
+
_portal?: (root: ElementNode) => Element;
|
|
245
|
+
style?: StyleObject;
|
|
246
|
+
_context?: Record<string, unknown>;
|
|
247
|
+
_metadata?: Record<string, unknown>;
|
|
248
|
+
$?: PartialElement<T>[];
|
|
249
|
+
} & {
|
|
250
|
+
[K in keyof HookMap as `_on${K}`]?: HookMap[K];
|
|
251
|
+
} & {
|
|
252
|
+
[K in `data${Capitalize<string>}` | `data-${string}`]?: AttributeValue;
|
|
253
|
+
} & {
|
|
254
|
+
[E in EventProperty]?: EventHandlerMap[E];
|
|
255
|
+
} & {
|
|
256
|
+
[K in GlobalAttribute]?: AttributeValue;
|
|
257
|
+
} & ([
|
|
258
|
+
T
|
|
259
|
+
] extends [never] ? Partial<{
|
|
260
|
+
[Tag in keyof AttributeMap]: {
|
|
261
|
+
[Attr in AttributeMap[Tag][number]]: AttributeValue;
|
|
262
|
+
};
|
|
263
|
+
}[keyof AttributeMap]> : Pick<TagAttributes, Extract<AttributeMap[T][number], keyof TagAttributes>>);
|
|
264
|
+
type PrimitiveInput = null | undefined | number | string;
|
|
265
|
+
type ElementInput$1 = PrimitiveInput | DomphyElement;
|
|
266
|
+
type DomphyElement<T extends TagName = never> = [T] extends [never] ? {
|
|
267
|
+
[K in TagName]: {
|
|
268
|
+
[P in K]: K extends VoidTagName ? null : ReactiveProperty<PrimitiveInput | (PrimitiveInput | DomphyElement)[]>;
|
|
269
|
+
} & PartialElement<K>;
|
|
270
|
+
}[TagName] : {
|
|
271
|
+
[K in T]: K extends VoidTagName ? null : ReactiveProperty<PrimitiveInput | (PrimitiveInput | DomphyElement)[]>;
|
|
272
|
+
} & PartialElement<T>;
|
|
273
|
+
|
|
274
|
+
declare class ElementAttribute {
|
|
275
|
+
readonly name: string;
|
|
276
|
+
readonly isBoolean: boolean;
|
|
277
|
+
value: any;
|
|
278
|
+
parent: ElementNode;
|
|
279
|
+
constructor(name: string, value: any, parent: any);
|
|
280
|
+
render(): void;
|
|
281
|
+
set(value: AttributeValue): void;
|
|
282
|
+
remove(): void;
|
|
283
|
+
_dispose(): void;
|
|
284
|
+
generateHTML(): string;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
declare class Notifier {
|
|
288
|
+
private _listeners;
|
|
289
|
+
_dispose(): void;
|
|
290
|
+
addListener(event: string, listener: Handler): () => void;
|
|
291
|
+
removeListener(event: string, listener: Handler): void;
|
|
292
|
+
notify(event: string, ...args: unknown[]): void;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
declare class AttributeList {
|
|
296
|
+
_notifier: Notifier;
|
|
297
|
+
items: Record<string, ElementAttribute> | null;
|
|
298
|
+
parent: ElementNode | null;
|
|
299
|
+
constructor(parent: ElementNode);
|
|
300
|
+
generateHTML(): string;
|
|
301
|
+
get(name: string): any;
|
|
302
|
+
set(name: string, value: AttributeValue): void;
|
|
303
|
+
onChange(name: string, callback: (value: string | number) => void): void;
|
|
304
|
+
has(name: string): boolean;
|
|
305
|
+
remove(name: string): void;
|
|
306
|
+
_dispose(): void;
|
|
307
|
+
toggle(name: string, force?: boolean): void;
|
|
308
|
+
addClass(className: string): void;
|
|
309
|
+
hasClass(className: string): boolean;
|
|
310
|
+
toggleClass(className: string): void;
|
|
311
|
+
removeClass(className: string): void;
|
|
312
|
+
replaceClass(oldClass: string, newClass: string): void;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
declare class TextNode {
|
|
316
|
+
type: string;
|
|
317
|
+
parent: ElementNode;
|
|
318
|
+
text: string;
|
|
319
|
+
domText?: ChildNode;
|
|
320
|
+
constructor(textContent: string | number, parent: ElementNode);
|
|
321
|
+
_createDOMNode(): ChildNode;
|
|
322
|
+
_dispose(): void;
|
|
323
|
+
generateHTML(): string;
|
|
324
|
+
render(domText: ChildNode | DocumentFragment | HTMLElement): void;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
type ElementInput = DomphyElement | null | undefined | number | string;
|
|
328
|
+
type NodeItem = ElementNode | TextNode;
|
|
329
|
+
declare class ElementList {
|
|
330
|
+
items: NodeItem[];
|
|
331
|
+
owner: ElementNode;
|
|
332
|
+
constructor(parent: ElementNode);
|
|
333
|
+
_createNode(element: ElementInput | DomphyElement, index?: number): NodeItem;
|
|
334
|
+
_moveDomElement(node: NodeItem, index: number): void;
|
|
335
|
+
_swapDomElement(aNode: NodeItem, bNode: NodeItem): void;
|
|
336
|
+
update(inputs: ElementInput[], updateDom?: boolean, silent?: boolean): void;
|
|
337
|
+
insert(input: ElementInput, index?: number, updateDom?: boolean, silent?: boolean): NodeItem;
|
|
338
|
+
remove(item: NodeItem, updateDom?: boolean, silent?: boolean): void;
|
|
339
|
+
clear(updateDom?: boolean, silent?: boolean): void;
|
|
340
|
+
_dispose(): void;
|
|
341
|
+
swap(aIndex: number, bIndex: number, updateDom?: boolean, silent?: boolean): void;
|
|
342
|
+
move(fromIndex: number, toIndex: number, updateDom?: boolean, silent?: boolean): void;
|
|
343
|
+
generateHTML(): string;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
declare class StyleProperty {
|
|
347
|
+
name: string;
|
|
348
|
+
cssName: string;
|
|
349
|
+
value: StyleValue;
|
|
350
|
+
parentRule: StyleRule;
|
|
351
|
+
constructor(name: string, value: StyleValue, parentRule: StyleRule);
|
|
352
|
+
_domUpdate(): void;
|
|
353
|
+
_dispose(): void;
|
|
354
|
+
set(value: StyleValue): void;
|
|
355
|
+
remove(): void;
|
|
356
|
+
cssText(): string;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
declare class StyleRule {
|
|
360
|
+
selectorText: string;
|
|
361
|
+
domRule: CSSRule | CSSMediaRule | CSSKeyframesRule | null;
|
|
362
|
+
styleList: StyleList | null;
|
|
363
|
+
styleBlock: Record<string, StyleProperty> | null;
|
|
364
|
+
parent: StyleRule | ElementNode | null;
|
|
365
|
+
constructor(selectorText: string, parent: StyleRule | ElementNode);
|
|
366
|
+
_dispose(): void;
|
|
367
|
+
get root(): ElementNode | null;
|
|
368
|
+
get parentNode(): ElementNode | null;
|
|
369
|
+
insertStyle(name: string, val: any): void;
|
|
370
|
+
removeStyle(name: string): void;
|
|
371
|
+
cssText(): string;
|
|
372
|
+
mount(domRule: CSSRule | CSSKeyframesRule): void;
|
|
373
|
+
remove(): void;
|
|
374
|
+
render(domSheet: CSSStyleSheet | CSSGroupingRule): void;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
declare class StyleList {
|
|
378
|
+
parent: StyleRule | ElementNode | null;
|
|
379
|
+
items: StyleRule[];
|
|
380
|
+
domStyle: HTMLStyleElement | null;
|
|
381
|
+
constructor(parent: StyleRule | ElementNode);
|
|
382
|
+
get parentNode(): ElementNode | null;
|
|
383
|
+
addCSS(obj: Record<string, any>, parentSelector?: string): void;
|
|
384
|
+
cssText(): string;
|
|
385
|
+
insertRule(selector: string): StyleRule;
|
|
386
|
+
mount(domRuleList: CSSRuleList): void;
|
|
387
|
+
render(dom: HTMLStyleElement | CSSGroupingRule): void;
|
|
388
|
+
_dispose(): void;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
declare class ElementNode {
|
|
392
|
+
type: string;
|
|
393
|
+
parent: ElementNode | null;
|
|
394
|
+
_portal?: (root: ElementNode) => HTMLElement;
|
|
395
|
+
tagName: TagName;
|
|
396
|
+
children: ElementList;
|
|
397
|
+
styles: StyleList;
|
|
398
|
+
attributes: AttributeList;
|
|
399
|
+
domElement?: HTMLElement | null;
|
|
400
|
+
_hooks: HookMap;
|
|
401
|
+
_events?: {
|
|
402
|
+
[K in EventName]?: (event: Event, node: ElementNode) => void;
|
|
403
|
+
} | null;
|
|
404
|
+
_context?: Record<string, any>;
|
|
405
|
+
_metadata?: Record<string, any>;
|
|
406
|
+
key?: string | number | null;
|
|
407
|
+
nodeId: string;
|
|
408
|
+
constructor(domphyElement: DomphyElement, _parent?: ElementNode | null, index?: number);
|
|
409
|
+
_createDOMNode(): HTMLElement | SVGElement;
|
|
410
|
+
_dispose(): void;
|
|
411
|
+
get pathId(): string;
|
|
412
|
+
merge(part: PartialElement): void;
|
|
413
|
+
getPath(): string;
|
|
414
|
+
addEvent(name: EventName, callback: (event: Event, node: ElementNode) => void): void;
|
|
415
|
+
addHook<K extends keyof HookMap>(name: K, callback: HookMap[K]): void;
|
|
416
|
+
getRoot(): ElementNode;
|
|
417
|
+
getContext(name: string): any;
|
|
418
|
+
setContext(name: string, value: any): void;
|
|
419
|
+
getMetadata(name: string): any;
|
|
420
|
+
setMetadata(key: string, value: any): void;
|
|
421
|
+
generateCSS(): string;
|
|
422
|
+
generateHTML(): string;
|
|
423
|
+
mount(domElement: HTMLElement, domStyle?: HTMLStyleElement): void;
|
|
424
|
+
render(domElement: HTMLElement | SVGElement | DocumentFragment, domStyle?: HTMLStyleElement | null): HTMLElement | SVGElement;
|
|
425
|
+
remove(): void;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
type ValueListener<T> = ((_value: T) => void) & Handler;
|
|
429
|
+
type ValueOrState<T> = T | State<T>;
|
|
430
|
+
declare class State<T> {
|
|
431
|
+
private _value;
|
|
432
|
+
readonly initialValue: T;
|
|
433
|
+
private _notifier;
|
|
434
|
+
constructor(initialValue: T);
|
|
435
|
+
get(listener?: ValueListener<T>): T;
|
|
436
|
+
set(newValue: T): void;
|
|
437
|
+
reset(): void;
|
|
438
|
+
onChange(listener: ValueListener<T>): () => void;
|
|
439
|
+
_dispose(): void;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
declare const HtmlTags: string[];
|
|
443
|
+
|
|
444
|
+
declare const BooleanAttributes: readonly ["allowFullScreen", "async", "autoFocus", "autoPlay", "checked", "compact", "contentEditable", "controls", "declare", "default", "defer", "disabled", "formNoValidate", "hidden", "isMap", "itemScope", "loop", "multiple", "muted", "noHref", "noShade", "noValidate", "open", "playsInline", "readonly", "required", "reversed", "scoped", "selected", "sortable", "trueSpeed", "typeMustMatch", "wmode", "autoCapitalize", "translate", "spellCheck", "inert", "download", "noModule", "paused", "autoPictureInPicture"];
|
|
445
|
+
|
|
446
|
+
declare const PrefixCSS: Record<string, string[]>;
|
|
447
|
+
|
|
448
|
+
declare const CamelAttributes: string[];
|
|
449
|
+
|
|
450
|
+
declare function merge(source?: Record<string, any>, target?: Record<string, any>): Record<string, any>;
|
|
451
|
+
declare function toState<T>(val: T | State<T>): State<T>;
|
|
452
|
+
declare function hashString(str?: string): string;
|
|
453
|
+
|
|
454
|
+
export { AttributeList, type AttributeValue, BooleanAttributes, type CSSProperties, CamelAttributes, type DomphyElement, type ElementInput$1 as ElementInput, ElementList, ElementNode, type EventHandler, type EventHandlerMap, type EventName, type Handler, type HookMap, HtmlTags, type Listener, Notifier, type PartialElement, PrefixCSS, type PropertyHookMap, type ReactiveProperty, type Selector, State, type StyleBlock, type StyleObject, type StyleSheet, type StyleValue, type TagName, type ValueListener, type ValueOrState, type VoidTagName, VoidTags, hashString, merge, toState };
|