verstak 0.92.25007 → 0.92.25009
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/build/dist/source/core/Elements.js +3 -3
- package/build/dist/source/core/Restyler.js +3 -3
- package/build/dist/source/express/Theme.js +2 -2
- package/build/dist/source/express/common/Utils.js +2 -2
- package/build/dist/source/express/theme/Button.s.js +4 -4
- package/build/dist/source/express/theme/Field.s.js +5 -5
- package/build/dist/source/express/theme/Icon.s.js +2 -2
- package/build/dist/source/express/theme/Toggle.s.js +4 -4
- package/build/dist/source/html/HtmlElements.d.ts +0 -59
- package/build/dist/source/html/HtmlElements.js +1 -121
- package/build/dist/source/sensors/ButtonSensor.js +7 -7
- package/build/dist/source/sensors/FocusSensor.js +6 -6
- package/build/dist/source/sensors/Handlers.js +7 -7
- package/build/dist/source/sensors/HoverSensor.js +6 -6
- package/build/dist/source/sensors/HtmlDragSensor.js +12 -12
- package/build/dist/source/sensors/KeyboardSensor.js +6 -6
- package/build/dist/source/sensors/PointerSensor.js +13 -13
- package/build/dist/source/sensors/ResizeSensor.js +3 -3
- package/build/dist/source/sensors/ScrollSensor.js +3 -3
- package/build/dist/source/sensors/WheelSensor.js +3 -3
- package/build/dist/source/sensors/WindowSensor.js +2 -2
- package/build/dist/source/svg/SvgElements.d.ts +61 -0
- package/build/dist/source/svg/SvgElements.js +123 -0
- package/build/dist/source/svg/api.d.ts +1 -0
- package/build/dist/source/svg/api.js +1 -0
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactiveNode, Mode,
|
|
1
|
+
import { ReactiveNode, Mode, nonReactiveRun } from "reactronic";
|
|
2
2
|
import { ElKind, Direction } from "./El.js";
|
|
3
3
|
import { clamp } from "./ElUtils.js";
|
|
4
4
|
import { Constants, CursorCommandDriver, ElDriver, ElLayoutInfo, InitialElLayoutInfo } from "./ElDriver.js";
|
|
@@ -51,7 +51,7 @@ export function declareSplitter(index, splitViewNode) {
|
|
|
51
51
|
for (const item of initialSizesPx) {
|
|
52
52
|
clonedSizesPx.push({ node: item.node, sizePx: item.sizePx });
|
|
53
53
|
}
|
|
54
|
-
|
|
54
|
+
nonReactiveRun(() => relayoutUsingSplitter(splitViewNode, deltaPx, index, clonedSizesPx));
|
|
55
55
|
if (pointer.dropped) {
|
|
56
56
|
(_a = model === null || model === void 0 ? void 0 : model.droppedAction) === null || _a === void 0 ? void 0 : _a.call(model, pointer);
|
|
57
57
|
}
|
|
@@ -168,7 +168,7 @@ export class PanelDriver extends HtmlDriver {
|
|
|
168
168
|
const priorities = preferred.length > 0
|
|
169
169
|
? getPrioritiesForSizeChanging(isHorizontal, node.children, preferred)
|
|
170
170
|
: getPrioritiesForEmptySpaceDistribution(isHorizontal, node.children);
|
|
171
|
-
|
|
171
|
+
nonReactiveRun(() => relayout(node, priorities.resizable, priorities.manuallyResizable, sizesPx));
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
174
|
});
|
|
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { cached, atomicRun } from "reactronic";
|
|
11
11
|
export function restyler(restyle) {
|
|
12
|
-
return
|
|
12
|
+
return atomicRun(() => new ObservablesStyles(restyle));
|
|
13
13
|
}
|
|
14
14
|
export class ObservablesStyles {
|
|
15
15
|
constructor(restyle) {
|
|
@@ -23,7 +23,7 @@ export class ObservablesStyles {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
__decorate([
|
|
26
|
-
|
|
26
|
+
cached,
|
|
27
27
|
__metadata("design:type", Function),
|
|
28
28
|
__metadata("design:paramtypes", []),
|
|
29
29
|
__metadata("design:returntype", Object)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { atomicRun, ReactiveNodeVariable, Isolation } from "reactronic";
|
|
2
2
|
import { DefaultButtonStyling } from "./theme/Button.s.js";
|
|
3
3
|
import { DefaultFieldStyling } from "./theme/Field.s.js";
|
|
4
4
|
import { DefaultIconStyling } from "./theme/Icon.s.js";
|
|
@@ -27,4 +27,4 @@ export class Theme {
|
|
|
27
27
|
Theme.gCurrent.value = value;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
Theme.gCurrent = new ReactiveNodeVariable(
|
|
30
|
+
Theme.gCurrent = new ReactiveNodeVariable(atomicRun({ isolation: Isolation.disjoinFromOuterTransaction }, () => new Theme()));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ObservableObject, Ref,
|
|
1
|
+
import { ObservableObject, Ref, atomicRun, Isolation } from "reactronic";
|
|
2
2
|
export function observableModel(modelProps) {
|
|
3
|
-
return
|
|
3
|
+
return atomicRun({ isolation: Isolation.disjoinFromOuterTransaction }, () => new ObservableComposition(modelProps));
|
|
4
4
|
}
|
|
5
5
|
class ObservableComposition extends ObservableObject {
|
|
6
6
|
constructor(composition) {
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { cached } from "reactronic";
|
|
11
11
|
import { css } from "@emotion/css";
|
|
12
12
|
import { Styling } from "./Styling.js";
|
|
13
13
|
export class DefaultButtonStyling extends Styling {
|
|
@@ -33,17 +33,17 @@ export class DefaultButtonStyling extends Styling {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
__decorate([
|
|
36
|
-
|
|
36
|
+
cached,
|
|
37
37
|
__metadata("design:type", String),
|
|
38
38
|
__metadata("design:paramtypes", [])
|
|
39
39
|
], DefaultButtonStyling.prototype, "main", null);
|
|
40
40
|
__decorate([
|
|
41
|
-
|
|
41
|
+
cached,
|
|
42
42
|
__metadata("design:type", String),
|
|
43
43
|
__metadata("design:paramtypes", [])
|
|
44
44
|
], DefaultButtonStyling.prototype, "icon", null);
|
|
45
45
|
__decorate([
|
|
46
|
-
|
|
46
|
+
cached,
|
|
47
47
|
__metadata("design:type", String),
|
|
48
48
|
__metadata("design:paramtypes", [])
|
|
49
49
|
], DefaultButtonStyling.prototype, "label", null);
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { cached } from "reactronic";
|
|
11
11
|
import { css } from "@emotion/css";
|
|
12
12
|
import { Styling } from "./Styling.js";
|
|
13
13
|
export class DefaultFieldStyling extends Styling {
|
|
@@ -47,22 +47,22 @@ export class DefaultFieldStyling extends Styling {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
__decorate([
|
|
50
|
-
|
|
50
|
+
cached,
|
|
51
51
|
__metadata("design:type", String),
|
|
52
52
|
__metadata("design:paramtypes", [])
|
|
53
53
|
], DefaultFieldStyling.prototype, "main", null);
|
|
54
54
|
__decorate([
|
|
55
|
-
|
|
55
|
+
cached,
|
|
56
56
|
__metadata("design:type", String),
|
|
57
57
|
__metadata("design:paramtypes", [])
|
|
58
58
|
], DefaultFieldStyling.prototype, "icon", null);
|
|
59
59
|
__decorate([
|
|
60
|
-
|
|
60
|
+
cached,
|
|
61
61
|
__metadata("design:type", String),
|
|
62
62
|
__metadata("design:paramtypes", [])
|
|
63
63
|
], DefaultFieldStyling.prototype, "input", null);
|
|
64
64
|
__decorate([
|
|
65
|
-
|
|
65
|
+
cached,
|
|
66
66
|
__metadata("design:type", String),
|
|
67
67
|
__metadata("design:paramtypes", [])
|
|
68
68
|
], DefaultFieldStyling.prototype, "popup", null);
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { cached } from "reactronic";
|
|
11
11
|
import { css } from "@emotion/css";
|
|
12
12
|
import { Styling } from "./Styling.js";
|
|
13
13
|
export class DefaultIconStyling extends Styling {
|
|
@@ -20,7 +20,7 @@ export class DefaultIconStyling extends Styling {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
__decorate([
|
|
23
|
-
|
|
23
|
+
cached,
|
|
24
24
|
__metadata("design:type", String),
|
|
25
25
|
__metadata("design:paramtypes", [])
|
|
26
26
|
], DefaultIconStyling.prototype, "main", null);
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import {
|
|
10
|
+
import { cached } from "reactronic";
|
|
11
11
|
import { css } from "@emotion/css";
|
|
12
12
|
import { Styling } from "./Styling.js";
|
|
13
13
|
export class DefaultToggleStyling extends Styling {
|
|
@@ -32,17 +32,17 @@ export class DefaultToggleStyling extends Styling {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
__decorate([
|
|
35
|
-
|
|
35
|
+
cached,
|
|
36
36
|
__metadata("design:type", String),
|
|
37
37
|
__metadata("design:paramtypes", [])
|
|
38
38
|
], DefaultToggleStyling.prototype, "main", null);
|
|
39
39
|
__decorate([
|
|
40
|
-
|
|
40
|
+
cached,
|
|
41
41
|
__metadata("design:type", String),
|
|
42
42
|
__metadata("design:paramtypes", [])
|
|
43
43
|
], DefaultToggleStyling.prototype, "icon", null);
|
|
44
44
|
__decorate([
|
|
45
|
-
|
|
45
|
+
cached,
|
|
46
46
|
__metadata("design:type", String),
|
|
47
47
|
__metadata("design:paramtypes", [])
|
|
48
48
|
], DefaultToggleStyling.prototype, "label", null);
|
|
@@ -114,62 +114,3 @@ export declare function UL<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLUL
|
|
|
114
114
|
export declare function Var<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLElement, M>>): ReactiveNode<El<HTMLElement, M>>;
|
|
115
115
|
export declare function Video<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLVideoElement, M>>): ReactiveNode<El<HTMLVideoElement, M>>;
|
|
116
116
|
export declare function Wbr<M = unknown>(declaration?: ReactiveNodeDecl<El<HTMLElement, M>>): ReactiveNode<El<HTMLElement, M>>;
|
|
117
|
-
export declare function Svg<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGSVGElement, M>>): ReactiveNode<El<SVGSVGElement, M>>;
|
|
118
|
-
export declare function SvgA<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGAElement, M>>): ReactiveNode<El<SVGAElement, M>>;
|
|
119
|
-
export declare function Animate<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGAnimateElement, M>>): ReactiveNode<El<SVGAnimateElement, M>>;
|
|
120
|
-
export declare function AnimateMotion<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGAnimateMotionElement, M>>): ReactiveNode<El<SVGAnimateMotionElement, M>>;
|
|
121
|
-
export declare function AnimateTransform<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGAnimateTransformElement, M>>): ReactiveNode<El<SVGAnimateTransformElement, M>>;
|
|
122
|
-
export declare function Circle<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGCircleElement, M>>): ReactiveNode<El<SVGCircleElement, M>>;
|
|
123
|
-
export declare function ClipPath<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGClipPathElement, M>>): ReactiveNode<El<SVGClipPathElement, M>>;
|
|
124
|
-
export declare function Defs<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGDefsElement, M>>): ReactiveNode<El<SVGDefsElement, M>>;
|
|
125
|
-
export declare function Desc<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGDescElement, M>>): ReactiveNode<El<SVGDescElement, M>>;
|
|
126
|
-
export declare function Ellipse<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGEllipseElement, M>>): ReactiveNode<El<SVGEllipseElement, M>>;
|
|
127
|
-
export declare function FeBlend<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEBlendElement, M>>): ReactiveNode<El<SVGFEBlendElement, M>>;
|
|
128
|
-
export declare function FeColorMatrix<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEColorMatrixElement, M>>): ReactiveNode<El<SVGFEColorMatrixElement, M>>;
|
|
129
|
-
export declare function FeComponentTransfer<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEComponentTransferElement, M>>): ReactiveNode<El<SVGFEComponentTransferElement, M>>;
|
|
130
|
-
export declare function FeComposite<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFECompositeElement, M>>): ReactiveNode<El<SVGFECompositeElement, M>>;
|
|
131
|
-
export declare function FeConvolveMatrix<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEConvolveMatrixElement, M>>): ReactiveNode<El<SVGFEConvolveMatrixElement, M>>;
|
|
132
|
-
export declare function FeDiffuseLighting<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEDiffuseLightingElement, M>>): ReactiveNode<El<SVGFEDiffuseLightingElement, M>>;
|
|
133
|
-
export declare function FeDisplacementMap<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEDisplacementMapElement, M>>): ReactiveNode<El<SVGFEDisplacementMapElement, M>>;
|
|
134
|
-
export declare function FeDistantLight<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEDistantLightElement, M>>): ReactiveNode<El<SVGFEDistantLightElement, M>>;
|
|
135
|
-
export declare function FeDropShadow<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEDropShadowElement, M>>): ReactiveNode<El<SVGFEDropShadowElement, M>>;
|
|
136
|
-
export declare function FeFlood<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEFloodElement, M>>): ReactiveNode<El<SVGFEFloodElement, M>>;
|
|
137
|
-
export declare function FeFuncA<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEFuncAElement, M>>): ReactiveNode<El<SVGFEFuncAElement, M>>;
|
|
138
|
-
export declare function FeFuncB<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEFuncBElement, M>>): ReactiveNode<El<SVGFEFuncBElement, M>>;
|
|
139
|
-
export declare function FeFuncG<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEFuncGElement, M>>): ReactiveNode<El<SVGFEFuncGElement, M>>;
|
|
140
|
-
export declare function FeFuncR<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEFuncRElement, M>>): ReactiveNode<El<SVGFEFuncRElement, M>>;
|
|
141
|
-
export declare function FeGaussianBlur<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEGaussianBlurElement, M>>): ReactiveNode<El<SVGFEGaussianBlurElement, M>>;
|
|
142
|
-
export declare function FeImage<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEImageElement, M>>): ReactiveNode<El<SVGFEImageElement, M>>;
|
|
143
|
-
export declare function FeMerge<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEMergeElement, M>>): ReactiveNode<El<SVGFEMergeElement, M>>;
|
|
144
|
-
export declare function FeMergeNode<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEMergeNodeElement, M>>): ReactiveNode<El<SVGFEMergeNodeElement, M>>;
|
|
145
|
-
export declare function FeMorphology<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEMorphologyElement, M>>): ReactiveNode<El<SVGFEMorphologyElement, M>>;
|
|
146
|
-
export declare function FeOffset<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEOffsetElement, M>>): ReactiveNode<El<SVGFEOffsetElement, M>>;
|
|
147
|
-
export declare function FePointLight<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEPointLightElement, M>>): ReactiveNode<El<SVGFEPointLightElement, M>>;
|
|
148
|
-
export declare function FeSpecularLighting<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFESpecularLightingElement, M>>): ReactiveNode<El<SVGFESpecularLightingElement, M>>;
|
|
149
|
-
export declare function FeSpotLight<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFESpotLightElement, M>>): ReactiveNode<El<SVGFESpotLightElement, M>>;
|
|
150
|
-
export declare function FeTile<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFETileElement, M>>): ReactiveNode<El<SVGFETileElement, M>>;
|
|
151
|
-
export declare function FeTurbulence<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFETurbulenceElement, M>>): ReactiveNode<El<SVGFETurbulenceElement, M>>;
|
|
152
|
-
export declare function Filter<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFilterElement, M>>): ReactiveNode<El<SVGFilterElement, M>>;
|
|
153
|
-
export declare function ForeignObject<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGForeignObjectElement, M>>): ReactiveNode<El<SVGForeignObjectElement, M>>;
|
|
154
|
-
export declare function G<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGGElement, M>>): ReactiveNode<El<SVGGElement, M>>;
|
|
155
|
-
export declare function SvgImage<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGImageElement, M>>): ReactiveNode<El<SVGImageElement, M>>;
|
|
156
|
-
export declare function SvgLine<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGLineElement, M>>): ReactiveNode<El<SVGLineElement, M>>;
|
|
157
|
-
export declare function LinearGradient<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGLinearGradientElement, M>>): ReactiveNode<El<SVGLinearGradientElement, M>>;
|
|
158
|
-
export declare function Marker<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGMarkerElement, M>>): ReactiveNode<El<SVGMarkerElement, M>>;
|
|
159
|
-
export declare function Mask<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGMaskElement, M>>): ReactiveNode<El<SVGMaskElement, M>>;
|
|
160
|
-
export declare function MetaData<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGMetadataElement, M>>): ReactiveNode<El<SVGMetadataElement, M>>;
|
|
161
|
-
export declare function MPath<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGElement, M>>): ReactiveNode<El<SVGElement, M>>;
|
|
162
|
-
export declare function Path<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGPathElement, M>>): ReactiveNode<El<SVGPathElement, M>>;
|
|
163
|
-
export declare function Pattern<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGPatternElement, M>>): ReactiveNode<El<SVGPatternElement, M>>;
|
|
164
|
-
export declare function Polygon<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGPolygonElement, M>>): ReactiveNode<El<SVGPolygonElement, M>>;
|
|
165
|
-
export declare function PolyLine<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGPolylineElement, M>>): ReactiveNode<El<SVGPolylineElement, M>>;
|
|
166
|
-
export declare function RadialGradient<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGRadialGradientElement, M>>): ReactiveNode<El<SVGRadialGradientElement, M>>;
|
|
167
|
-
export declare function Rect<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGRectElement, M>>): ReactiveNode<El<SVGRectElement, M>>;
|
|
168
|
-
export declare function Stop<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGStopElement, M>>): ReactiveNode<El<SVGStopElement, M>>;
|
|
169
|
-
export declare function SvgSwitch<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGSwitchElement, M>>): ReactiveNode<El<SVGSwitchElement, M>>;
|
|
170
|
-
export declare function Symbol<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGSymbolElement, M>>): ReactiveNode<El<SVGSymbolElement, M>>;
|
|
171
|
-
export declare function Text<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGTextElement, M>>): ReactiveNode<El<SVGTextElement, M>>;
|
|
172
|
-
export declare function TextPath<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGTextPathElement, M>>): ReactiveNode<El<SVGTextPathElement, M>>;
|
|
173
|
-
export declare function TSpan<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGTSpanElement, M>>): ReactiveNode<El<SVGTSpanElement, M>>;
|
|
174
|
-
export declare function Use<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGUseElement, M>>): ReactiveNode<El<SVGUseElement, M>>;
|
|
175
|
-
export declare function View<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGViewElement, M>>): ReactiveNode<El<SVGViewElement, M>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactiveNode } from "reactronic";
|
|
2
2
|
import { ElKind } from "../core/El.js";
|
|
3
|
-
import { HtmlDriver
|
|
3
|
+
import { HtmlDriver } from "../core/WebDriver.js";
|
|
4
4
|
export function A(declaration) { return ReactiveNode.declare(HtmlTags.a, declaration); }
|
|
5
5
|
export function Abbr(declaration) { return ReactiveNode.declare(HtmlTags.abbr, declaration); }
|
|
6
6
|
export function Address(declaration) { return ReactiveNode.declare(HtmlTags.address, declaration); }
|
|
@@ -115,65 +115,6 @@ export function UL(declaration) { return ReactiveNode.declare(HtmlTags.ul, decla
|
|
|
115
115
|
export function Var(declaration) { return ReactiveNode.declare(HtmlTags.var, declaration); }
|
|
116
116
|
export function Video(declaration) { return ReactiveNode.declare(HtmlTags.video, declaration); }
|
|
117
117
|
export function Wbr(declaration) { return ReactiveNode.declare(HtmlTags.wbr, declaration); }
|
|
118
|
-
export function Svg(declaration) { return ReactiveNode.declare(SvgTags.svg, declaration); }
|
|
119
|
-
export function SvgA(declaration) { return ReactiveNode.declare(SvgTags.a, declaration); }
|
|
120
|
-
export function Animate(declaration) { return ReactiveNode.declare(SvgTags.animate, declaration); }
|
|
121
|
-
export function AnimateMotion(declaration) { return ReactiveNode.declare(SvgTags.animateMotion, declaration); }
|
|
122
|
-
export function AnimateTransform(declaration) { return ReactiveNode.declare(SvgTags.animateTransform, declaration); }
|
|
123
|
-
export function Circle(declaration) { return ReactiveNode.declare(SvgTags.circle, declaration); }
|
|
124
|
-
export function ClipPath(declaration) { return ReactiveNode.declare(SvgTags.clipPath, declaration); }
|
|
125
|
-
export function Defs(declaration) { return ReactiveNode.declare(SvgTags.defs, declaration); }
|
|
126
|
-
export function Desc(declaration) { return ReactiveNode.declare(SvgTags.desc, declaration); }
|
|
127
|
-
export function Ellipse(declaration) { return ReactiveNode.declare(SvgTags.ellipse, declaration); }
|
|
128
|
-
export function FeBlend(declaration) { return ReactiveNode.declare(SvgTags.feBlend, declaration); }
|
|
129
|
-
export function FeColorMatrix(declaration) { return ReactiveNode.declare(SvgTags.feColorMatrix, declaration); }
|
|
130
|
-
export function FeComponentTransfer(declaration) { return ReactiveNode.declare(SvgTags.feComponentTransfer, declaration); }
|
|
131
|
-
export function FeComposite(declaration) { return ReactiveNode.declare(SvgTags.feComposite, declaration); }
|
|
132
|
-
export function FeConvolveMatrix(declaration) { return ReactiveNode.declare(SvgTags.feConvolveMatrix, declaration); }
|
|
133
|
-
export function FeDiffuseLighting(declaration) { return ReactiveNode.declare(SvgTags.feDiffuseLighting, declaration); }
|
|
134
|
-
export function FeDisplacementMap(declaration) { return ReactiveNode.declare(SvgTags.feDisplacementMap, declaration); }
|
|
135
|
-
export function FeDistantLight(declaration) { return ReactiveNode.declare(SvgTags.feDistantLight, declaration); }
|
|
136
|
-
export function FeDropShadow(declaration) { return ReactiveNode.declare(SvgTags.feDropShadow, declaration); }
|
|
137
|
-
export function FeFlood(declaration) { return ReactiveNode.declare(SvgTags.feFlood, declaration); }
|
|
138
|
-
export function FeFuncA(declaration) { return ReactiveNode.declare(SvgTags.feFuncA, declaration); }
|
|
139
|
-
export function FeFuncB(declaration) { return ReactiveNode.declare(SvgTags.feFuncB, declaration); }
|
|
140
|
-
export function FeFuncG(declaration) { return ReactiveNode.declare(SvgTags.feFuncG, declaration); }
|
|
141
|
-
export function FeFuncR(declaration) { return ReactiveNode.declare(SvgTags.feFuncR, declaration); }
|
|
142
|
-
export function FeGaussianBlur(declaration) { return ReactiveNode.declare(SvgTags.feGaussianBlur, declaration); }
|
|
143
|
-
export function FeImage(declaration) { return ReactiveNode.declare(SvgTags.feImage, declaration); }
|
|
144
|
-
export function FeMerge(declaration) { return ReactiveNode.declare(SvgTags.feMerge, declaration); }
|
|
145
|
-
export function FeMergeNode(declaration) { return ReactiveNode.declare(SvgTags.feMergeNode, declaration); }
|
|
146
|
-
export function FeMorphology(declaration) { return ReactiveNode.declare(SvgTags.feMorphology, declaration); }
|
|
147
|
-
export function FeOffset(declaration) { return ReactiveNode.declare(SvgTags.feOffset, declaration); }
|
|
148
|
-
export function FePointLight(declaration) { return ReactiveNode.declare(SvgTags.fePointLight, declaration); }
|
|
149
|
-
export function FeSpecularLighting(declaration) { return ReactiveNode.declare(SvgTags.feSpecularLighting, declaration); }
|
|
150
|
-
export function FeSpotLight(declaration) { return ReactiveNode.declare(SvgTags.feSpotLight, declaration); }
|
|
151
|
-
export function FeTile(declaration) { return ReactiveNode.declare(SvgTags.feTile, declaration); }
|
|
152
|
-
export function FeTurbulence(declaration) { return ReactiveNode.declare(SvgTags.feTurbulence, declaration); }
|
|
153
|
-
export function Filter(declaration) { return ReactiveNode.declare(SvgTags.filter, declaration); }
|
|
154
|
-
export function ForeignObject(declaration) { return ReactiveNode.declare(SvgTags.foreignObject, declaration); }
|
|
155
|
-
export function G(declaration) { return ReactiveNode.declare(SvgTags.g, declaration); }
|
|
156
|
-
export function SvgImage(declaration) { return ReactiveNode.declare(SvgTags.image, declaration); }
|
|
157
|
-
export function SvgLine(declaration) { return ReactiveNode.declare(SvgTags.line, declaration); }
|
|
158
|
-
export function LinearGradient(declaration) { return ReactiveNode.declare(SvgTags.linearGradient, declaration); }
|
|
159
|
-
export function Marker(declaration) { return ReactiveNode.declare(SvgTags.marker, declaration); }
|
|
160
|
-
export function Mask(declaration) { return ReactiveNode.declare(SvgTags.mask, declaration); }
|
|
161
|
-
export function MetaData(declaration) { return ReactiveNode.declare(SvgTags.metadata, declaration); }
|
|
162
|
-
export function MPath(declaration) { return ReactiveNode.declare(SvgTags.mpath, declaration); }
|
|
163
|
-
export function Path(declaration) { return ReactiveNode.declare(SvgTags.path, declaration); }
|
|
164
|
-
export function Pattern(declaration) { return ReactiveNode.declare(SvgTags.pattern, declaration); }
|
|
165
|
-
export function Polygon(declaration) { return ReactiveNode.declare(SvgTags.polygon, declaration); }
|
|
166
|
-
export function PolyLine(declaration) { return ReactiveNode.declare(SvgTags.polyline, declaration); }
|
|
167
|
-
export function RadialGradient(declaration) { return ReactiveNode.declare(SvgTags.radialGradient, declaration); }
|
|
168
|
-
export function Rect(declaration) { return ReactiveNode.declare(SvgTags.rect, declaration); }
|
|
169
|
-
export function Stop(declaration) { return ReactiveNode.declare(SvgTags.stop, declaration); }
|
|
170
|
-
export function SvgSwitch(declaration) { return ReactiveNode.declare(SvgTags.switch, declaration); }
|
|
171
|
-
export function Symbol(declaration) { return ReactiveNode.declare(SvgTags.symbol, declaration); }
|
|
172
|
-
export function Text(declaration) { return ReactiveNode.declare(SvgTags.text, declaration); }
|
|
173
|
-
export function TextPath(declaration) { return ReactiveNode.declare(SvgTags.textPath, declaration); }
|
|
174
|
-
export function TSpan(declaration) { return ReactiveNode.declare(SvgTags.tspan, declaration); }
|
|
175
|
-
export function Use(declaration) { return ReactiveNode.declare(SvgTags.use, declaration); }
|
|
176
|
-
export function View(declaration) { return ReactiveNode.declare(SvgTags.view, declaration); }
|
|
177
118
|
const HtmlTags = {
|
|
178
119
|
a: new HtmlDriver("a", false, el => el.kind = ElKind.native),
|
|
179
120
|
abbr: new HtmlDriver("abbr", false, el => el.kind = ElKind.native),
|
|
@@ -290,64 +231,3 @@ const HtmlTags = {
|
|
|
290
231
|
video: new HtmlDriver("video", false, el => el.kind = ElKind.native),
|
|
291
232
|
wbr: new HtmlDriver("wbr", false, el => el.kind = ElKind.native),
|
|
292
233
|
};
|
|
293
|
-
const SvgTags = {
|
|
294
|
-
svg: new SvgDriver("svg", false, el => el.kind = ElKind.native),
|
|
295
|
-
a: new SvgDriver("a", false, el => el.kind = ElKind.native),
|
|
296
|
-
animate: new SvgDriver("animate", false, el => el.kind = ElKind.native),
|
|
297
|
-
animateMotion: new SvgDriver("animateMotion", false, el => el.kind = ElKind.native),
|
|
298
|
-
animateTransform: new SvgDriver("animateTransform", false, el => el.kind = ElKind.native),
|
|
299
|
-
circle: new SvgDriver("circle", false, el => el.kind = ElKind.native),
|
|
300
|
-
clipPath: new SvgDriver("clipPath", false, el => el.kind = ElKind.native),
|
|
301
|
-
defs: new SvgDriver("defs", false, el => el.kind = ElKind.native),
|
|
302
|
-
desc: new SvgDriver("desc", false, el => el.kind = ElKind.native),
|
|
303
|
-
ellipse: new SvgDriver("ellipse", false, el => el.kind = ElKind.native),
|
|
304
|
-
feBlend: new SvgDriver("feBlend", false, el => el.kind = ElKind.native),
|
|
305
|
-
feColorMatrix: new SvgDriver("feColorMatrix", false, el => el.kind = ElKind.native),
|
|
306
|
-
feComponentTransfer: new SvgDriver("feComponentTransfer", false, el => el.kind = ElKind.native),
|
|
307
|
-
feComposite: new SvgDriver("feComposite", false, el => el.kind = ElKind.native),
|
|
308
|
-
feConvolveMatrix: new SvgDriver("feConvolveMatrix", false, el => el.kind = ElKind.native),
|
|
309
|
-
feDiffuseLighting: new SvgDriver("feDiffuseLighting", false, el => el.kind = ElKind.native),
|
|
310
|
-
feDisplacementMap: new SvgDriver("feDisplacementMap", false, el => el.kind = ElKind.native),
|
|
311
|
-
feDistantLight: new SvgDriver("feDistantLight", false, el => el.kind = ElKind.native),
|
|
312
|
-
feDropShadow: new SvgDriver("feDropShadow", false, el => el.kind = ElKind.native),
|
|
313
|
-
feFlood: new SvgDriver("feFlood", false, el => el.kind = ElKind.native),
|
|
314
|
-
feFuncA: new SvgDriver("feFuncA", false, el => el.kind = ElKind.native),
|
|
315
|
-
feFuncB: new SvgDriver("feFuncB", false, el => el.kind = ElKind.native),
|
|
316
|
-
feFuncG: new SvgDriver("feFuncG", false, el => el.kind = ElKind.native),
|
|
317
|
-
feFuncR: new SvgDriver("feFuncR", false, el => el.kind = ElKind.native),
|
|
318
|
-
feGaussianBlur: new SvgDriver("feGaussianBlur", false, el => el.kind = ElKind.native),
|
|
319
|
-
feImage: new SvgDriver("feImage", false, el => el.kind = ElKind.native),
|
|
320
|
-
feMerge: new SvgDriver("feMerge", false, el => el.kind = ElKind.native),
|
|
321
|
-
feMergeNode: new SvgDriver("feMergeNode", false, el => el.kind = ElKind.native),
|
|
322
|
-
feMorphology: new SvgDriver("feMorphology", false, el => el.kind = ElKind.native),
|
|
323
|
-
feOffset: new SvgDriver("feOffset", false, el => el.kind = ElKind.native),
|
|
324
|
-
fePointLight: new SvgDriver("fePointLight", false, el => el.kind = ElKind.native),
|
|
325
|
-
feSpecularLighting: new SvgDriver("feSpecularLighting", false, el => el.kind = ElKind.native),
|
|
326
|
-
feSpotLight: new SvgDriver("feSpotLight", false, el => el.kind = ElKind.native),
|
|
327
|
-
feTile: new SvgDriver("feTile", false, el => el.kind = ElKind.native),
|
|
328
|
-
feTurbulence: new SvgDriver("feTurbulence", false, el => el.kind = ElKind.native),
|
|
329
|
-
filter: new SvgDriver("filter", false, el => el.kind = ElKind.native),
|
|
330
|
-
foreignObject: new SvgDriver("foreignObject", false, el => el.kind = ElKind.native),
|
|
331
|
-
g: new SvgDriver("g", false, el => el.kind = ElKind.native),
|
|
332
|
-
image: new SvgDriver("image", false, el => el.kind = ElKind.native),
|
|
333
|
-
line: new SvgDriver("line", false, el => el.kind = ElKind.native),
|
|
334
|
-
linearGradient: new SvgDriver("linearGradient", false, el => el.kind = ElKind.native),
|
|
335
|
-
marker: new SvgDriver("marker", false, el => el.kind = ElKind.native),
|
|
336
|
-
mask: new SvgDriver("mask", false, el => el.kind = ElKind.native),
|
|
337
|
-
metadata: new SvgDriver("metadata", false, el => el.kind = ElKind.native),
|
|
338
|
-
mpath: new SvgDriver("mpath", false, el => el.kind = ElKind.native),
|
|
339
|
-
path: new SvgDriver("path", false, el => el.kind = ElKind.native),
|
|
340
|
-
pattern: new SvgDriver("pattern", false, el => el.kind = ElKind.native),
|
|
341
|
-
polygon: new SvgDriver("polygon", false, el => el.kind = ElKind.native),
|
|
342
|
-
polyline: new SvgDriver("polyline", false, el => el.kind = ElKind.native),
|
|
343
|
-
radialGradient: new SvgDriver("radialGradient", false, el => el.kind = ElKind.native),
|
|
344
|
-
rect: new SvgDriver("rect", false, el => el.kind = ElKind.native),
|
|
345
|
-
stop: new SvgDriver("stop", false, el => el.kind = ElKind.native),
|
|
346
|
-
switch: new SvgDriver("switch", false, el => el.kind = ElKind.native),
|
|
347
|
-
symbol: new SvgDriver("symbol", false, el => el.kind = ElKind.native),
|
|
348
|
-
text: new SvgDriver("text", false, el => el.kind = ElKind.native),
|
|
349
|
-
textPath: new SvgDriver("textPath", false, el => el.kind = ElKind.native),
|
|
350
|
-
tspan: new SvgDriver("tspan", false, el => el.kind = ElKind.native),
|
|
351
|
-
use: new SvgDriver("use", false, el => el.kind = ElKind.native),
|
|
352
|
-
view: new SvgDriver("view", false, el => el.kind = ElKind.native),
|
|
353
|
-
};
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { options, Reentrance,
|
|
10
|
+
import { options, Reentrance, atomic, Transaction, LoggingLevel } from "reactronic";
|
|
11
11
|
import { extractPointerButton, isPointerButtonDown, PointerButton, BasePointerSensor } from "./BasePointerSensor.js";
|
|
12
12
|
import { findTargetElementData, SymDataForSensor } from "./DataForSensor.js";
|
|
13
13
|
import { extractModifierKeys, KeyboardModifiers } from "./KeyboardSensor.js";
|
|
@@ -164,42 +164,42 @@ export class ButtonSensor extends BasePointerSensor {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
__decorate([
|
|
167
|
-
|
|
167
|
+
atomic,
|
|
168
168
|
options({ logging: LoggingLevel.Off }),
|
|
169
169
|
__metadata("design:type", Function),
|
|
170
170
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
171
171
|
__metadata("design:returntype", void 0)
|
|
172
172
|
], ButtonSensor.prototype, "press", null);
|
|
173
173
|
__decorate([
|
|
174
|
-
|
|
174
|
+
atomic,
|
|
175
175
|
options({ reentrance: Reentrance.cancelPrevious, logging: LoggingLevel.Off }),
|
|
176
176
|
__metadata("design:type", Function),
|
|
177
177
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
178
178
|
__metadata("design:returntype", void 0)
|
|
179
179
|
], ButtonSensor.prototype, "selecting", null);
|
|
180
180
|
__decorate([
|
|
181
|
-
|
|
181
|
+
atomic,
|
|
182
182
|
options({ logging: LoggingLevel.Off }),
|
|
183
183
|
__metadata("design:type", Function),
|
|
184
184
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
185
185
|
__metadata("design:returntype", void 0)
|
|
186
186
|
], ButtonSensor.prototype, "select", null);
|
|
187
187
|
__decorate([
|
|
188
|
-
|
|
188
|
+
atomic,
|
|
189
189
|
options({ logging: LoggingLevel.Off }),
|
|
190
190
|
__metadata("design:type", Function),
|
|
191
191
|
__metadata("design:paramtypes", []),
|
|
192
192
|
__metadata("design:returntype", void 0)
|
|
193
193
|
], ButtonSensor.prototype, "release", null);
|
|
194
194
|
__decorate([
|
|
195
|
-
|
|
195
|
+
atomic,
|
|
196
196
|
options({ logging: LoggingLevel.Off }),
|
|
197
197
|
__metadata("design:type", Function),
|
|
198
198
|
__metadata("design:paramtypes", []),
|
|
199
199
|
__metadata("design:returntype", void 0)
|
|
200
200
|
], ButtonSensor.prototype, "cancel", null);
|
|
201
201
|
__decorate([
|
|
202
|
-
|
|
202
|
+
atomic,
|
|
203
203
|
options({ logging: LoggingLevel.Off }),
|
|
204
204
|
__metadata("design:type", Function),
|
|
205
205
|
__metadata("design:paramtypes", []),
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { options,
|
|
10
|
+
import { options, atomic, LoggingLevel, Transaction } from "reactronic";
|
|
11
11
|
import { objectHasMember } from "../core/ElUtils.js";
|
|
12
12
|
import { grabElementDataList, SymDataForSensor } from "./DataForSensor.js";
|
|
13
13
|
import { HtmlElementSensor } from "./HtmlElementSensor.js";
|
|
@@ -132,32 +132,32 @@ export class FocusSensor extends HtmlElementSensor {
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
__decorate([
|
|
135
|
-
|
|
135
|
+
atomic,
|
|
136
136
|
__metadata("design:type", Function),
|
|
137
137
|
__metadata("design:paramtypes", [Object, String]),
|
|
138
138
|
__metadata("design:returntype", void 0)
|
|
139
139
|
], FocusSensor.prototype, "setActiveData", null);
|
|
140
140
|
__decorate([
|
|
141
|
-
|
|
141
|
+
atomic,
|
|
142
142
|
__metadata("design:type", Function),
|
|
143
143
|
__metadata("design:paramtypes", [Boolean]),
|
|
144
144
|
__metadata("design:returntype", void 0)
|
|
145
145
|
], FocusSensor.prototype, "listen", null);
|
|
146
146
|
__decorate([
|
|
147
|
-
|
|
147
|
+
atomic,
|
|
148
148
|
options({ logging: LoggingLevel.Off }),
|
|
149
149
|
__metadata("design:type", Function),
|
|
150
150
|
__metadata("design:paramtypes", [FocusEvent]),
|
|
151
151
|
__metadata("design:returntype", void 0)
|
|
152
152
|
], FocusSensor.prototype, "doFocusIn", null);
|
|
153
153
|
__decorate([
|
|
154
|
-
|
|
154
|
+
atomic,
|
|
155
155
|
__metadata("design:type", Function),
|
|
156
156
|
__metadata("design:paramtypes", [FocusEvent]),
|
|
157
157
|
__metadata("design:returntype", void 0)
|
|
158
158
|
], FocusSensor.prototype, "doFocusOut", null);
|
|
159
159
|
__decorate([
|
|
160
|
-
|
|
160
|
+
atomic,
|
|
161
161
|
options({ logging: LoggingLevel.Off }),
|
|
162
162
|
__metadata("design:type", Function),
|
|
163
163
|
__metadata("design:paramtypes", [MouseEvent]),
|
|
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
7
7
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
|
-
import { Mode, ToggleRef,
|
|
10
|
+
import { Mode, ToggleRef, nonReactiveRun } from "reactronic";
|
|
11
11
|
import { SyntheticElement } from "../core/Elements.js";
|
|
12
12
|
export function OnClick(target, action, key) {
|
|
13
13
|
if (action !== undefined) {
|
|
@@ -19,10 +19,10 @@ export function OnClick(target, action, key) {
|
|
|
19
19
|
const pointer = target.sensors.pointer;
|
|
20
20
|
if (target.dataForSensor.click !== undefined && pointer.clicked === target.dataForSensor.click || target.dataForSensor.click === undefined && pointer.clicked) {
|
|
21
21
|
if (action instanceof Function) {
|
|
22
|
-
|
|
22
|
+
nonReactiveRun(() => action(pointer));
|
|
23
23
|
}
|
|
24
24
|
else if (action instanceof ToggleRef) {
|
|
25
|
-
|
|
25
|
+
nonReactiveRun(() => action.toggle());
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
},
|
|
@@ -39,10 +39,10 @@ export function OnClickAsync(target, action, key) {
|
|
|
39
39
|
const pointer = target.sensors.pointer;
|
|
40
40
|
if (target.dataForSensor.click !== undefined && pointer.clicked === target.dataForSensor.click || target.dataForSensor.click === undefined && pointer.clicked) {
|
|
41
41
|
if (action instanceof Function) {
|
|
42
|
-
yield
|
|
42
|
+
yield nonReactiveRun(() => action(pointer));
|
|
43
43
|
}
|
|
44
44
|
else if (action instanceof ToggleRef) {
|
|
45
|
-
|
|
45
|
+
nonReactiveRun(() => action.toggle());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}),
|
|
@@ -94,8 +94,8 @@ export function prepareResizeHandler(action) {
|
|
|
94
94
|
return (element) => {
|
|
95
95
|
const size = element.borderBoxSize[0];
|
|
96
96
|
if (action instanceof Function)
|
|
97
|
-
|
|
97
|
+
nonReactiveRun(() => action(size.inlineSize, size.blockSize));
|
|
98
98
|
else if (action instanceof ResizeData && action.handler !== undefined)
|
|
99
|
-
|
|
99
|
+
nonReactiveRun(() => action.handler(size.inlineSize, size.blockSize));
|
|
100
100
|
};
|
|
101
101
|
}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { options,
|
|
10
|
+
import { options, atomic, LoggingLevel, Transaction } from "reactronic";
|
|
11
11
|
import { SymDataForSensor, findTargetElementData } from "./DataForSensor.js";
|
|
12
12
|
import { BasePointerSensor } from "./BasePointerSensor.js";
|
|
13
13
|
import { KeyboardModifiers, extractModifierKeys } from "./KeyboardSensor.js";
|
|
@@ -90,35 +90,35 @@ export class HoverSensor extends BasePointerSensor {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
__decorate([
|
|
93
|
-
|
|
93
|
+
atomic,
|
|
94
94
|
options({ logging: LoggingLevel.Off }),
|
|
95
95
|
__metadata("design:type", Function),
|
|
96
96
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
97
97
|
__metadata("design:returntype", void 0)
|
|
98
98
|
], HoverSensor.prototype, "doPointerEnter", null);
|
|
99
99
|
__decorate([
|
|
100
|
-
|
|
100
|
+
atomic,
|
|
101
101
|
options({ logging: LoggingLevel.Off }),
|
|
102
102
|
__metadata("design:type", Function),
|
|
103
103
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
104
104
|
__metadata("design:returntype", void 0)
|
|
105
105
|
], HoverSensor.prototype, "doPointerOver", null);
|
|
106
106
|
__decorate([
|
|
107
|
-
|
|
107
|
+
atomic,
|
|
108
108
|
options({ logging: LoggingLevel.Off }),
|
|
109
109
|
__metadata("design:type", Function),
|
|
110
110
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
111
111
|
__metadata("design:returntype", void 0)
|
|
112
112
|
], HoverSensor.prototype, "doPointerMove", null);
|
|
113
113
|
__decorate([
|
|
114
|
-
|
|
114
|
+
atomic,
|
|
115
115
|
options({ logging: LoggingLevel.Off }),
|
|
116
116
|
__metadata("design:type", Function),
|
|
117
117
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
118
118
|
__metadata("design:returntype", void 0)
|
|
119
119
|
], HoverSensor.prototype, "doPointerLeave", null);
|
|
120
120
|
__decorate([
|
|
121
|
-
|
|
121
|
+
atomic,
|
|
122
122
|
options({ logging: LoggingLevel.Off }),
|
|
123
123
|
__metadata("design:type", Function),
|
|
124
124
|
__metadata("design:paramtypes", []),
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { options,
|
|
10
|
+
import { options, reactive, atomic, unobservable, Transaction, LoggingLevel } from "reactronic";
|
|
11
11
|
import { findTargetElementData, SymDataForSensor } from "./DataForSensor.js";
|
|
12
12
|
import { HtmlElementSensor } from "./HtmlElementSensor.js";
|
|
13
13
|
import { extractModifierKeys, KeyboardModifiers } from "./KeyboardSensor.js";
|
|
@@ -294,77 +294,77 @@ __decorate([
|
|
|
294
294
|
__metadata("design:type", Boolean)
|
|
295
295
|
], HtmlDragSensor.prototype, "dropAllowed", void 0);
|
|
296
296
|
__decorate([
|
|
297
|
-
|
|
297
|
+
atomic,
|
|
298
298
|
options({ logging: LoggingLevel.Off }),
|
|
299
299
|
__metadata("design:type", Function),
|
|
300
300
|
__metadata("design:paramtypes", [DragEvent]),
|
|
301
301
|
__metadata("design:returntype", void 0)
|
|
302
302
|
], HtmlDragSensor.prototype, "startDragging", null);
|
|
303
303
|
__decorate([
|
|
304
|
-
|
|
304
|
+
atomic,
|
|
305
305
|
options({ logging: LoggingLevel.Off }),
|
|
306
306
|
__metadata("design:type", Function),
|
|
307
307
|
__metadata("design:paramtypes", [DragEvent]),
|
|
308
308
|
__metadata("design:returntype", void 0)
|
|
309
309
|
], HtmlDragSensor.prototype, "dragging", null);
|
|
310
310
|
__decorate([
|
|
311
|
-
|
|
311
|
+
atomic,
|
|
312
312
|
options({ logging: LoggingLevel.Off }),
|
|
313
313
|
__metadata("design:type", Function),
|
|
314
314
|
__metadata("design:paramtypes", [DragEvent]),
|
|
315
315
|
__metadata("design:returntype", void 0)
|
|
316
316
|
], HtmlDragSensor.prototype, "finishDragging", null);
|
|
317
317
|
__decorate([
|
|
318
|
-
|
|
318
|
+
atomic,
|
|
319
319
|
options({ logging: LoggingLevel.Off }),
|
|
320
320
|
__metadata("design:type", Function),
|
|
321
321
|
__metadata("design:paramtypes", [DragEvent]),
|
|
322
322
|
__metadata("design:returntype", void 0)
|
|
323
323
|
], HtmlDragSensor.prototype, "enterTarget", null);
|
|
324
324
|
__decorate([
|
|
325
|
-
|
|
325
|
+
atomic,
|
|
326
326
|
options({ logging: LoggingLevel.Off }),
|
|
327
327
|
__metadata("design:type", Function),
|
|
328
328
|
__metadata("design:paramtypes", [DragEvent]),
|
|
329
329
|
__metadata("design:returntype", void 0)
|
|
330
330
|
], HtmlDragSensor.prototype, "leaveTarget", null);
|
|
331
331
|
__decorate([
|
|
332
|
-
|
|
332
|
+
atomic,
|
|
333
333
|
options({ logging: LoggingLevel.Off }),
|
|
334
334
|
__metadata("design:type", Function),
|
|
335
335
|
__metadata("design:paramtypes", [DragEvent]),
|
|
336
336
|
__metadata("design:returntype", void 0)
|
|
337
337
|
], HtmlDragSensor.prototype, "dragOver", null);
|
|
338
338
|
__decorate([
|
|
339
|
-
|
|
339
|
+
atomic,
|
|
340
340
|
options({ logging: LoggingLevel.Off }),
|
|
341
341
|
__metadata("design:type", Function),
|
|
342
342
|
__metadata("design:paramtypes", [DragEvent]),
|
|
343
343
|
__metadata("design:returntype", void 0)
|
|
344
344
|
], HtmlDragSensor.prototype, "drop", null);
|
|
345
345
|
__decorate([
|
|
346
|
-
|
|
346
|
+
atomic,
|
|
347
347
|
options({ logging: LoggingLevel.Off }),
|
|
348
348
|
__metadata("design:type", Function),
|
|
349
349
|
__metadata("design:paramtypes", [DragEvent]),
|
|
350
350
|
__metadata("design:returntype", void 0)
|
|
351
351
|
], HtmlDragSensor.prototype, "updateEventOnDragStart", null);
|
|
352
352
|
__decorate([
|
|
353
|
-
|
|
353
|
+
atomic,
|
|
354
354
|
options({ logging: LoggingLevel.Off }),
|
|
355
355
|
__metadata("design:type", Function),
|
|
356
356
|
__metadata("design:paramtypes", [DragEvent]),
|
|
357
357
|
__metadata("design:returntype", void 0)
|
|
358
358
|
], HtmlDragSensor.prototype, "updateEventOnDropAllowed", null);
|
|
359
359
|
__decorate([
|
|
360
|
-
|
|
360
|
+
atomic,
|
|
361
361
|
options({ logging: LoggingLevel.Off }),
|
|
362
362
|
__metadata("design:type", Function),
|
|
363
363
|
__metadata("design:paramtypes", []),
|
|
364
364
|
__metadata("design:returntype", void 0)
|
|
365
365
|
], HtmlDragSensor.prototype, "reset", null);
|
|
366
366
|
__decorate([
|
|
367
|
-
|
|
367
|
+
reactive,
|
|
368
368
|
options({ throttling: 0 }),
|
|
369
369
|
__metadata("design:type", Function),
|
|
370
370
|
__metadata("design:paramtypes", []),
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { options,
|
|
10
|
+
import { options, sensitiveRun, atomic, LoggingLevel, Transaction } from "reactronic";
|
|
11
11
|
import { grabElementDataList, SymDataForSensor } from "./DataForSensor.js";
|
|
12
12
|
import { HtmlElementSensor } from "./HtmlElementSensor.js";
|
|
13
13
|
export var KeyboardModifiers;
|
|
@@ -74,12 +74,12 @@ export class KeyboardSensor extends HtmlElementSensor {
|
|
|
74
74
|
keyDown(e) {
|
|
75
75
|
this.updateSensorData(e);
|
|
76
76
|
this.up = "";
|
|
77
|
-
|
|
77
|
+
sensitiveRun(true, () => this.down = e.key);
|
|
78
78
|
}
|
|
79
79
|
keyUp(e) {
|
|
80
80
|
this.updateSensorData(e);
|
|
81
81
|
this.down = "";
|
|
82
|
-
|
|
82
|
+
sensitiveRun(true, () => this.up = e.key);
|
|
83
83
|
}
|
|
84
84
|
updateSensorData(e) {
|
|
85
85
|
this.preventDefault = false;
|
|
@@ -103,20 +103,20 @@ export class KeyboardSensor extends HtmlElementSensor {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
__decorate([
|
|
106
|
-
|
|
106
|
+
atomic,
|
|
107
107
|
__metadata("design:type", Function),
|
|
108
108
|
__metadata("design:paramtypes", []),
|
|
109
109
|
__metadata("design:returntype", void 0)
|
|
110
110
|
], KeyboardSensor.prototype, "reset", null);
|
|
111
111
|
__decorate([
|
|
112
|
-
|
|
112
|
+
atomic,
|
|
113
113
|
options({ logging: LoggingLevel.Off }),
|
|
114
114
|
__metadata("design:type", Function),
|
|
115
115
|
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
116
116
|
__metadata("design:returntype", void 0)
|
|
117
117
|
], KeyboardSensor.prototype, "keyDown", null);
|
|
118
118
|
__decorate([
|
|
119
|
-
|
|
119
|
+
atomic,
|
|
120
120
|
options({ logging: LoggingLevel.Off }),
|
|
121
121
|
__metadata("design:type", Function),
|
|
122
122
|
__metadata("design:paramtypes", [KeyboardEvent]),
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { options, unobservable,
|
|
10
|
+
import { options, unobservable, atomic, reactive, Reentrance, Transaction, LoggingLevel } from "reactronic";
|
|
11
11
|
import { extractPointerButton, isPointerButtonDown, PointerButton, BasePointerSensor } from "./BasePointerSensor.js";
|
|
12
12
|
import { findTargetElementData, SymDataForSensor } from "./DataForSensor.js";
|
|
13
13
|
import { extractModifierKeys, KeyboardModifiers } from "./KeyboardSensor.js";
|
|
@@ -308,84 +308,84 @@ __decorate([
|
|
|
308
308
|
__metadata("design:type", Boolean)
|
|
309
309
|
], PointerSensor.prototype, "dropAllowed", void 0);
|
|
310
310
|
__decorate([
|
|
311
|
-
|
|
311
|
+
atomic,
|
|
312
312
|
options({ logging: LoggingLevel.Off }),
|
|
313
313
|
__metadata("design:type", Function),
|
|
314
314
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
315
315
|
__metadata("design:returntype", void 0)
|
|
316
316
|
], PointerSensor.prototype, "moveOver", null);
|
|
317
317
|
__decorate([
|
|
318
|
-
|
|
318
|
+
atomic,
|
|
319
319
|
options({ logging: LoggingLevel.Off }),
|
|
320
320
|
__metadata("design:type", Function),
|
|
321
321
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
322
322
|
__metadata("design:returntype", void 0)
|
|
323
323
|
], PointerSensor.prototype, "tryClickingOrDragging", null);
|
|
324
324
|
__decorate([
|
|
325
|
-
|
|
325
|
+
atomic,
|
|
326
326
|
options({ reentrance: Reentrance.cancelPrevious, logging: LoggingLevel.Off }),
|
|
327
327
|
__metadata("design:type", Function),
|
|
328
328
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
329
329
|
__metadata("design:returntype", void 0)
|
|
330
330
|
], PointerSensor.prototype, "clickingOver", null);
|
|
331
331
|
__decorate([
|
|
332
|
-
|
|
332
|
+
atomic,
|
|
333
333
|
options({ logging: LoggingLevel.Off }),
|
|
334
334
|
__metadata("design:type", Function),
|
|
335
335
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
336
336
|
__metadata("design:returntype", void 0)
|
|
337
337
|
], PointerSensor.prototype, "click", null);
|
|
338
338
|
__decorate([
|
|
339
|
-
|
|
339
|
+
atomic,
|
|
340
340
|
options({ logging: LoggingLevel.Off }),
|
|
341
341
|
__metadata("design:type", Function),
|
|
342
342
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
343
343
|
__metadata("design:returntype", void 0)
|
|
344
344
|
], PointerSensor.prototype, "startDragging", null);
|
|
345
345
|
__decorate([
|
|
346
|
-
|
|
346
|
+
atomic,
|
|
347
347
|
options({ logging: LoggingLevel.Off }),
|
|
348
348
|
__metadata("design:type", Function),
|
|
349
349
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
350
350
|
__metadata("design:returntype", void 0)
|
|
351
351
|
], PointerSensor.prototype, "dragOver", null);
|
|
352
352
|
__decorate([
|
|
353
|
-
|
|
353
|
+
atomic,
|
|
354
354
|
options({ logging: LoggingLevel.Off }),
|
|
355
355
|
__metadata("design:type", Function),
|
|
356
356
|
__metadata("design:paramtypes", [PointerEvent]),
|
|
357
357
|
__metadata("design:returntype", void 0)
|
|
358
358
|
], PointerSensor.prototype, "drop", null);
|
|
359
359
|
__decorate([
|
|
360
|
-
|
|
360
|
+
atomic,
|
|
361
361
|
options({ logging: LoggingLevel.Off }),
|
|
362
362
|
__metadata("design:type", Function),
|
|
363
363
|
__metadata("design:paramtypes", []),
|
|
364
364
|
__metadata("design:returntype", void 0)
|
|
365
365
|
], PointerSensor.prototype, "finishDragging", null);
|
|
366
366
|
__decorate([
|
|
367
|
-
|
|
367
|
+
atomic,
|
|
368
368
|
options({ logging: LoggingLevel.Off }),
|
|
369
369
|
__metadata("design:type", Function),
|
|
370
370
|
__metadata("design:paramtypes", []),
|
|
371
371
|
__metadata("design:returntype", void 0)
|
|
372
372
|
], PointerSensor.prototype, "cancelDragging", null);
|
|
373
373
|
__decorate([
|
|
374
|
-
|
|
374
|
+
atomic,
|
|
375
375
|
options({ logging: LoggingLevel.Off }),
|
|
376
376
|
__metadata("design:type", Function),
|
|
377
377
|
__metadata("design:paramtypes", []),
|
|
378
378
|
__metadata("design:returntype", void 0)
|
|
379
379
|
], PointerSensor.prototype, "reset", null);
|
|
380
380
|
__decorate([
|
|
381
|
-
|
|
381
|
+
reactive,
|
|
382
382
|
options({ throttling: 0 }),
|
|
383
383
|
__metadata("design:type", Function),
|
|
384
384
|
__metadata("design:paramtypes", []),
|
|
385
385
|
__metadata("design:returntype", void 0)
|
|
386
386
|
], PointerSensor.prototype, "whenClickingOrDragging", null);
|
|
387
387
|
__decorate([
|
|
388
|
-
|
|
388
|
+
reactive,
|
|
389
389
|
options({ throttling: 0 }),
|
|
390
390
|
__metadata("design:type", Function),
|
|
391
391
|
__metadata("design:paramtypes", []),
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { options,
|
|
10
|
+
import { options, atomic, LoggingLevel } from "reactronic";
|
|
11
11
|
import { Sensor } from "./Sensor.js";
|
|
12
12
|
export class ResizeSensor extends Sensor {
|
|
13
13
|
constructor() {
|
|
@@ -58,13 +58,13 @@ export class ResizeSensor extends Sensor {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
__decorate([
|
|
61
|
-
|
|
61
|
+
atomic,
|
|
62
62
|
__metadata("design:type", Function),
|
|
63
63
|
__metadata("design:paramtypes", []),
|
|
64
64
|
__metadata("design:returntype", void 0)
|
|
65
65
|
], ResizeSensor.prototype, "reset", null);
|
|
66
66
|
__decorate([
|
|
67
|
-
|
|
67
|
+
atomic,
|
|
68
68
|
options({ logging: LoggingLevel.Off }),
|
|
69
69
|
__metadata("design:type", Function),
|
|
70
70
|
__metadata("design:paramtypes", [Array]),
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { options, Reentrance,
|
|
10
|
+
import { options, Reentrance, atomic, LoggingLevel, Transaction } from "reactronic";
|
|
11
11
|
import { HtmlElementSensor } from "./HtmlElementSensor.js";
|
|
12
12
|
export class ScrollSensor extends HtmlElementSensor {
|
|
13
13
|
constructor(element) {
|
|
@@ -53,13 +53,13 @@ export class ScrollSensor extends HtmlElementSensor {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
__decorate([
|
|
56
|
-
|
|
56
|
+
atomic,
|
|
57
57
|
__metadata("design:type", Function),
|
|
58
58
|
__metadata("design:paramtypes", []),
|
|
59
59
|
__metadata("design:returntype", void 0)
|
|
60
60
|
], ScrollSensor.prototype, "reset", null);
|
|
61
61
|
__decorate([
|
|
62
|
-
|
|
62
|
+
atomic,
|
|
63
63
|
options({ reentrance: Reentrance.cancelPrevious, logging: LoggingLevel.Off }),
|
|
64
64
|
__metadata("design:type", Function),
|
|
65
65
|
__metadata("design:paramtypes", [Event]),
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { options, Reentrance,
|
|
10
|
+
import { options, Reentrance, atomic, LoggingLevel, Transaction } from "reactronic";
|
|
11
11
|
import { findTargetElementData, SymDataForSensor } from "./DataForSensor.js";
|
|
12
12
|
import { extractModifierKeys, KeyboardModifiers } from "./KeyboardSensor.js";
|
|
13
13
|
import { BasePointerSensor } from "./BasePointerSensor.js";
|
|
@@ -68,13 +68,13 @@ export class WheelSensor extends BasePointerSensor {
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
__decorate([
|
|
71
|
-
|
|
71
|
+
atomic,
|
|
72
72
|
__metadata("design:type", Function),
|
|
73
73
|
__metadata("design:paramtypes", []),
|
|
74
74
|
__metadata("design:returntype", void 0)
|
|
75
75
|
], WheelSensor.prototype, "reset", null);
|
|
76
76
|
__decorate([
|
|
77
|
-
|
|
77
|
+
atomic,
|
|
78
78
|
options({ reentrance: Reentrance.cancelPrevious, logging: LoggingLevel.Off }),
|
|
79
79
|
__metadata("design:type", Function),
|
|
80
80
|
__metadata("design:paramtypes", [WheelEvent]),
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { ToggleRef,
|
|
10
|
+
import { ToggleRef, atomic } from "reactronic";
|
|
11
11
|
import { objectHasMember } from "../core/ElUtils.js";
|
|
12
12
|
import { Sensor } from "./Sensor.js";
|
|
13
13
|
export class WindowSensor extends Sensor {
|
|
@@ -31,7 +31,7 @@ export class WindowSensor extends Sensor {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
__decorate([
|
|
34
|
-
|
|
34
|
+
atomic,
|
|
35
35
|
__metadata("design:type", Function),
|
|
36
36
|
__metadata("design:paramtypes", [Object, String]),
|
|
37
37
|
__metadata("design:returntype", void 0)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ReactiveNode, ReactiveNodeDecl } from "reactronic";
|
|
2
|
+
import { El } from "../core/El.js";
|
|
3
|
+
export declare function Svg<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGSVGElement, M>>): ReactiveNode<El<SVGSVGElement, M>>;
|
|
4
|
+
export declare function SvgA<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGAElement, M>>): ReactiveNode<El<SVGAElement, M>>;
|
|
5
|
+
export declare function Animate<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGAnimateElement, M>>): ReactiveNode<El<SVGAnimateElement, M>>;
|
|
6
|
+
export declare function AnimateMotion<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGAnimateMotionElement, M>>): ReactiveNode<El<SVGAnimateMotionElement, M>>;
|
|
7
|
+
export declare function AnimateTransform<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGAnimateTransformElement, M>>): ReactiveNode<El<SVGAnimateTransformElement, M>>;
|
|
8
|
+
export declare function Circle<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGCircleElement, M>>): ReactiveNode<El<SVGCircleElement, M>>;
|
|
9
|
+
export declare function ClipPath<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGClipPathElement, M>>): ReactiveNode<El<SVGClipPathElement, M>>;
|
|
10
|
+
export declare function Defs<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGDefsElement, M>>): ReactiveNode<El<SVGDefsElement, M>>;
|
|
11
|
+
export declare function Desc<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGDescElement, M>>): ReactiveNode<El<SVGDescElement, M>>;
|
|
12
|
+
export declare function Ellipse<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGEllipseElement, M>>): ReactiveNode<El<SVGEllipseElement, M>>;
|
|
13
|
+
export declare function FeBlend<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEBlendElement, M>>): ReactiveNode<El<SVGFEBlendElement, M>>;
|
|
14
|
+
export declare function FeColorMatrix<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEColorMatrixElement, M>>): ReactiveNode<El<SVGFEColorMatrixElement, M>>;
|
|
15
|
+
export declare function FeComponentTransfer<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEComponentTransferElement, M>>): ReactiveNode<El<SVGFEComponentTransferElement, M>>;
|
|
16
|
+
export declare function FeComposite<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFECompositeElement, M>>): ReactiveNode<El<SVGFECompositeElement, M>>;
|
|
17
|
+
export declare function FeConvolveMatrix<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEConvolveMatrixElement, M>>): ReactiveNode<El<SVGFEConvolveMatrixElement, M>>;
|
|
18
|
+
export declare function FeDiffuseLighting<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEDiffuseLightingElement, M>>): ReactiveNode<El<SVGFEDiffuseLightingElement, M>>;
|
|
19
|
+
export declare function FeDisplacementMap<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEDisplacementMapElement, M>>): ReactiveNode<El<SVGFEDisplacementMapElement, M>>;
|
|
20
|
+
export declare function FeDistantLight<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEDistantLightElement, M>>): ReactiveNode<El<SVGFEDistantLightElement, M>>;
|
|
21
|
+
export declare function FeDropShadow<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEDropShadowElement, M>>): ReactiveNode<El<SVGFEDropShadowElement, M>>;
|
|
22
|
+
export declare function FeFlood<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEFloodElement, M>>): ReactiveNode<El<SVGFEFloodElement, M>>;
|
|
23
|
+
export declare function FeFuncA<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEFuncAElement, M>>): ReactiveNode<El<SVGFEFuncAElement, M>>;
|
|
24
|
+
export declare function FeFuncB<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEFuncBElement, M>>): ReactiveNode<El<SVGFEFuncBElement, M>>;
|
|
25
|
+
export declare function FeFuncG<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEFuncGElement, M>>): ReactiveNode<El<SVGFEFuncGElement, M>>;
|
|
26
|
+
export declare function FeFuncR<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEFuncRElement, M>>): ReactiveNode<El<SVGFEFuncRElement, M>>;
|
|
27
|
+
export declare function FeGaussianBlur<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEGaussianBlurElement, M>>): ReactiveNode<El<SVGFEGaussianBlurElement, M>>;
|
|
28
|
+
export declare function FeImage<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEImageElement, M>>): ReactiveNode<El<SVGFEImageElement, M>>;
|
|
29
|
+
export declare function FeMerge<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEMergeElement, M>>): ReactiveNode<El<SVGFEMergeElement, M>>;
|
|
30
|
+
export declare function FeMergeNode<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEMergeNodeElement, M>>): ReactiveNode<El<SVGFEMergeNodeElement, M>>;
|
|
31
|
+
export declare function FeMorphology<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEMorphologyElement, M>>): ReactiveNode<El<SVGFEMorphologyElement, M>>;
|
|
32
|
+
export declare function FeOffset<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEOffsetElement, M>>): ReactiveNode<El<SVGFEOffsetElement, M>>;
|
|
33
|
+
export declare function FePointLight<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFEPointLightElement, M>>): ReactiveNode<El<SVGFEPointLightElement, M>>;
|
|
34
|
+
export declare function FeSpecularLighting<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFESpecularLightingElement, M>>): ReactiveNode<El<SVGFESpecularLightingElement, M>>;
|
|
35
|
+
export declare function FeSpotLight<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFESpotLightElement, M>>): ReactiveNode<El<SVGFESpotLightElement, M>>;
|
|
36
|
+
export declare function FeTile<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFETileElement, M>>): ReactiveNode<El<SVGFETileElement, M>>;
|
|
37
|
+
export declare function FeTurbulence<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFETurbulenceElement, M>>): ReactiveNode<El<SVGFETurbulenceElement, M>>;
|
|
38
|
+
export declare function Filter<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGFilterElement, M>>): ReactiveNode<El<SVGFilterElement, M>>;
|
|
39
|
+
export declare function ForeignObject<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGForeignObjectElement, M>>): ReactiveNode<El<SVGForeignObjectElement, M>>;
|
|
40
|
+
export declare function G<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGGElement, M>>): ReactiveNode<El<SVGGElement, M>>;
|
|
41
|
+
export declare function SvgImage<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGImageElement, M>>): ReactiveNode<El<SVGImageElement, M>>;
|
|
42
|
+
export declare function SvgLine<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGLineElement, M>>): ReactiveNode<El<SVGLineElement, M>>;
|
|
43
|
+
export declare function LinearGradient<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGLinearGradientElement, M>>): ReactiveNode<El<SVGLinearGradientElement, M>>;
|
|
44
|
+
export declare function Marker<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGMarkerElement, M>>): ReactiveNode<El<SVGMarkerElement, M>>;
|
|
45
|
+
export declare function Mask<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGMaskElement, M>>): ReactiveNode<El<SVGMaskElement, M>>;
|
|
46
|
+
export declare function MetaData<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGMetadataElement, M>>): ReactiveNode<El<SVGMetadataElement, M>>;
|
|
47
|
+
export declare function MPath<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGElement, M>>): ReactiveNode<El<SVGElement, M>>;
|
|
48
|
+
export declare function Path<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGPathElement, M>>): ReactiveNode<El<SVGPathElement, M>>;
|
|
49
|
+
export declare function Pattern<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGPatternElement, M>>): ReactiveNode<El<SVGPatternElement, M>>;
|
|
50
|
+
export declare function Polygon<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGPolygonElement, M>>): ReactiveNode<El<SVGPolygonElement, M>>;
|
|
51
|
+
export declare function PolyLine<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGPolylineElement, M>>): ReactiveNode<El<SVGPolylineElement, M>>;
|
|
52
|
+
export declare function RadialGradient<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGRadialGradientElement, M>>): ReactiveNode<El<SVGRadialGradientElement, M>>;
|
|
53
|
+
export declare function Rect<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGRectElement, M>>): ReactiveNode<El<SVGRectElement, M>>;
|
|
54
|
+
export declare function Stop<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGStopElement, M>>): ReactiveNode<El<SVGStopElement, M>>;
|
|
55
|
+
export declare function SvgSwitch<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGSwitchElement, M>>): ReactiveNode<El<SVGSwitchElement, M>>;
|
|
56
|
+
export declare function Symbol<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGSymbolElement, M>>): ReactiveNode<El<SVGSymbolElement, M>>;
|
|
57
|
+
export declare function Text<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGTextElement, M>>): ReactiveNode<El<SVGTextElement, M>>;
|
|
58
|
+
export declare function TextPath<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGTextPathElement, M>>): ReactiveNode<El<SVGTextPathElement, M>>;
|
|
59
|
+
export declare function TSpan<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGTSpanElement, M>>): ReactiveNode<El<SVGTSpanElement, M>>;
|
|
60
|
+
export declare function Use<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGUseElement, M>>): ReactiveNode<El<SVGUseElement, M>>;
|
|
61
|
+
export declare function View<M = unknown>(declaration?: ReactiveNodeDecl<El<SVGViewElement, M>>): ReactiveNode<El<SVGViewElement, M>>;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { ReactiveNode } from "reactronic";
|
|
2
|
+
import { ElKind } from "../core/El.js";
|
|
3
|
+
import { SvgDriver } from "../core/WebDriver.js";
|
|
4
|
+
export function Svg(declaration) { return ReactiveNode.declare(SvgTags.svg, declaration); }
|
|
5
|
+
export function SvgA(declaration) { return ReactiveNode.declare(SvgTags.a, declaration); }
|
|
6
|
+
export function Animate(declaration) { return ReactiveNode.declare(SvgTags.animate, declaration); }
|
|
7
|
+
export function AnimateMotion(declaration) { return ReactiveNode.declare(SvgTags.animateMotion, declaration); }
|
|
8
|
+
export function AnimateTransform(declaration) { return ReactiveNode.declare(SvgTags.animateTransform, declaration); }
|
|
9
|
+
export function Circle(declaration) { return ReactiveNode.declare(SvgTags.circle, declaration); }
|
|
10
|
+
export function ClipPath(declaration) { return ReactiveNode.declare(SvgTags.clipPath, declaration); }
|
|
11
|
+
export function Defs(declaration) { return ReactiveNode.declare(SvgTags.defs, declaration); }
|
|
12
|
+
export function Desc(declaration) { return ReactiveNode.declare(SvgTags.desc, declaration); }
|
|
13
|
+
export function Ellipse(declaration) { return ReactiveNode.declare(SvgTags.ellipse, declaration); }
|
|
14
|
+
export function FeBlend(declaration) { return ReactiveNode.declare(SvgTags.feBlend, declaration); }
|
|
15
|
+
export function FeColorMatrix(declaration) { return ReactiveNode.declare(SvgTags.feColorMatrix, declaration); }
|
|
16
|
+
export function FeComponentTransfer(declaration) { return ReactiveNode.declare(SvgTags.feComponentTransfer, declaration); }
|
|
17
|
+
export function FeComposite(declaration) { return ReactiveNode.declare(SvgTags.feComposite, declaration); }
|
|
18
|
+
export function FeConvolveMatrix(declaration) { return ReactiveNode.declare(SvgTags.feConvolveMatrix, declaration); }
|
|
19
|
+
export function FeDiffuseLighting(declaration) { return ReactiveNode.declare(SvgTags.feDiffuseLighting, declaration); }
|
|
20
|
+
export function FeDisplacementMap(declaration) { return ReactiveNode.declare(SvgTags.feDisplacementMap, declaration); }
|
|
21
|
+
export function FeDistantLight(declaration) { return ReactiveNode.declare(SvgTags.feDistantLight, declaration); }
|
|
22
|
+
export function FeDropShadow(declaration) { return ReactiveNode.declare(SvgTags.feDropShadow, declaration); }
|
|
23
|
+
export function FeFlood(declaration) { return ReactiveNode.declare(SvgTags.feFlood, declaration); }
|
|
24
|
+
export function FeFuncA(declaration) { return ReactiveNode.declare(SvgTags.feFuncA, declaration); }
|
|
25
|
+
export function FeFuncB(declaration) { return ReactiveNode.declare(SvgTags.feFuncB, declaration); }
|
|
26
|
+
export function FeFuncG(declaration) { return ReactiveNode.declare(SvgTags.feFuncG, declaration); }
|
|
27
|
+
export function FeFuncR(declaration) { return ReactiveNode.declare(SvgTags.feFuncR, declaration); }
|
|
28
|
+
export function FeGaussianBlur(declaration) { return ReactiveNode.declare(SvgTags.feGaussianBlur, declaration); }
|
|
29
|
+
export function FeImage(declaration) { return ReactiveNode.declare(SvgTags.feImage, declaration); }
|
|
30
|
+
export function FeMerge(declaration) { return ReactiveNode.declare(SvgTags.feMerge, declaration); }
|
|
31
|
+
export function FeMergeNode(declaration) { return ReactiveNode.declare(SvgTags.feMergeNode, declaration); }
|
|
32
|
+
export function FeMorphology(declaration) { return ReactiveNode.declare(SvgTags.feMorphology, declaration); }
|
|
33
|
+
export function FeOffset(declaration) { return ReactiveNode.declare(SvgTags.feOffset, declaration); }
|
|
34
|
+
export function FePointLight(declaration) { return ReactiveNode.declare(SvgTags.fePointLight, declaration); }
|
|
35
|
+
export function FeSpecularLighting(declaration) { return ReactiveNode.declare(SvgTags.feSpecularLighting, declaration); }
|
|
36
|
+
export function FeSpotLight(declaration) { return ReactiveNode.declare(SvgTags.feSpotLight, declaration); }
|
|
37
|
+
export function FeTile(declaration) { return ReactiveNode.declare(SvgTags.feTile, declaration); }
|
|
38
|
+
export function FeTurbulence(declaration) { return ReactiveNode.declare(SvgTags.feTurbulence, declaration); }
|
|
39
|
+
export function Filter(declaration) { return ReactiveNode.declare(SvgTags.filter, declaration); }
|
|
40
|
+
export function ForeignObject(declaration) { return ReactiveNode.declare(SvgTags.foreignObject, declaration); }
|
|
41
|
+
export function G(declaration) { return ReactiveNode.declare(SvgTags.g, declaration); }
|
|
42
|
+
export function SvgImage(declaration) { return ReactiveNode.declare(SvgTags.image, declaration); }
|
|
43
|
+
export function SvgLine(declaration) { return ReactiveNode.declare(SvgTags.line, declaration); }
|
|
44
|
+
export function LinearGradient(declaration) { return ReactiveNode.declare(SvgTags.linearGradient, declaration); }
|
|
45
|
+
export function Marker(declaration) { return ReactiveNode.declare(SvgTags.marker, declaration); }
|
|
46
|
+
export function Mask(declaration) { return ReactiveNode.declare(SvgTags.mask, declaration); }
|
|
47
|
+
export function MetaData(declaration) { return ReactiveNode.declare(SvgTags.metadata, declaration); }
|
|
48
|
+
export function MPath(declaration) { return ReactiveNode.declare(SvgTags.mpath, declaration); }
|
|
49
|
+
export function Path(declaration) { return ReactiveNode.declare(SvgTags.path, declaration); }
|
|
50
|
+
export function Pattern(declaration) { return ReactiveNode.declare(SvgTags.pattern, declaration); }
|
|
51
|
+
export function Polygon(declaration) { return ReactiveNode.declare(SvgTags.polygon, declaration); }
|
|
52
|
+
export function PolyLine(declaration) { return ReactiveNode.declare(SvgTags.polyline, declaration); }
|
|
53
|
+
export function RadialGradient(declaration) { return ReactiveNode.declare(SvgTags.radialGradient, declaration); }
|
|
54
|
+
export function Rect(declaration) { return ReactiveNode.declare(SvgTags.rect, declaration); }
|
|
55
|
+
export function Stop(declaration) { return ReactiveNode.declare(SvgTags.stop, declaration); }
|
|
56
|
+
export function SvgSwitch(declaration) { return ReactiveNode.declare(SvgTags.switch, declaration); }
|
|
57
|
+
export function Symbol(declaration) { return ReactiveNode.declare(SvgTags.symbol, declaration); }
|
|
58
|
+
export function Text(declaration) { return ReactiveNode.declare(SvgTags.text, declaration); }
|
|
59
|
+
export function TextPath(declaration) { return ReactiveNode.declare(SvgTags.textPath, declaration); }
|
|
60
|
+
export function TSpan(declaration) { return ReactiveNode.declare(SvgTags.tspan, declaration); }
|
|
61
|
+
export function Use(declaration) { return ReactiveNode.declare(SvgTags.use, declaration); }
|
|
62
|
+
export function View(declaration) { return ReactiveNode.declare(SvgTags.view, declaration); }
|
|
63
|
+
const SvgTags = {
|
|
64
|
+
svg: new SvgDriver("svg", false, el => el.kind = ElKind.native),
|
|
65
|
+
a: new SvgDriver("a", false, el => el.kind = ElKind.native),
|
|
66
|
+
animate: new SvgDriver("animate", false, el => el.kind = ElKind.native),
|
|
67
|
+
animateMotion: new SvgDriver("animateMotion", false, el => el.kind = ElKind.native),
|
|
68
|
+
animateTransform: new SvgDriver("animateTransform", false, el => el.kind = ElKind.native),
|
|
69
|
+
circle: new SvgDriver("circle", false, el => el.kind = ElKind.native),
|
|
70
|
+
clipPath: new SvgDriver("clipPath", false, el => el.kind = ElKind.native),
|
|
71
|
+
defs: new SvgDriver("defs", false, el => el.kind = ElKind.native),
|
|
72
|
+
desc: new SvgDriver("desc", false, el => el.kind = ElKind.native),
|
|
73
|
+
ellipse: new SvgDriver("ellipse", false, el => el.kind = ElKind.native),
|
|
74
|
+
feBlend: new SvgDriver("feBlend", false, el => el.kind = ElKind.native),
|
|
75
|
+
feColorMatrix: new SvgDriver("feColorMatrix", false, el => el.kind = ElKind.native),
|
|
76
|
+
feComponentTransfer: new SvgDriver("feComponentTransfer", false, el => el.kind = ElKind.native),
|
|
77
|
+
feComposite: new SvgDriver("feComposite", false, el => el.kind = ElKind.native),
|
|
78
|
+
feConvolveMatrix: new SvgDriver("feConvolveMatrix", false, el => el.kind = ElKind.native),
|
|
79
|
+
feDiffuseLighting: new SvgDriver("feDiffuseLighting", false, el => el.kind = ElKind.native),
|
|
80
|
+
feDisplacementMap: new SvgDriver("feDisplacementMap", false, el => el.kind = ElKind.native),
|
|
81
|
+
feDistantLight: new SvgDriver("feDistantLight", false, el => el.kind = ElKind.native),
|
|
82
|
+
feDropShadow: new SvgDriver("feDropShadow", false, el => el.kind = ElKind.native),
|
|
83
|
+
feFlood: new SvgDriver("feFlood", false, el => el.kind = ElKind.native),
|
|
84
|
+
feFuncA: new SvgDriver("feFuncA", false, el => el.kind = ElKind.native),
|
|
85
|
+
feFuncB: new SvgDriver("feFuncB", false, el => el.kind = ElKind.native),
|
|
86
|
+
feFuncG: new SvgDriver("feFuncG", false, el => el.kind = ElKind.native),
|
|
87
|
+
feFuncR: new SvgDriver("feFuncR", false, el => el.kind = ElKind.native),
|
|
88
|
+
feGaussianBlur: new SvgDriver("feGaussianBlur", false, el => el.kind = ElKind.native),
|
|
89
|
+
feImage: new SvgDriver("feImage", false, el => el.kind = ElKind.native),
|
|
90
|
+
feMerge: new SvgDriver("feMerge", false, el => el.kind = ElKind.native),
|
|
91
|
+
feMergeNode: new SvgDriver("feMergeNode", false, el => el.kind = ElKind.native),
|
|
92
|
+
feMorphology: new SvgDriver("feMorphology", false, el => el.kind = ElKind.native),
|
|
93
|
+
feOffset: new SvgDriver("feOffset", false, el => el.kind = ElKind.native),
|
|
94
|
+
fePointLight: new SvgDriver("fePointLight", false, el => el.kind = ElKind.native),
|
|
95
|
+
feSpecularLighting: new SvgDriver("feSpecularLighting", false, el => el.kind = ElKind.native),
|
|
96
|
+
feSpotLight: new SvgDriver("feSpotLight", false, el => el.kind = ElKind.native),
|
|
97
|
+
feTile: new SvgDriver("feTile", false, el => el.kind = ElKind.native),
|
|
98
|
+
feTurbulence: new SvgDriver("feTurbulence", false, el => el.kind = ElKind.native),
|
|
99
|
+
filter: new SvgDriver("filter", false, el => el.kind = ElKind.native),
|
|
100
|
+
foreignObject: new SvgDriver("foreignObject", false, el => el.kind = ElKind.native),
|
|
101
|
+
g: new SvgDriver("g", false, el => el.kind = ElKind.native),
|
|
102
|
+
image: new SvgDriver("image", false, el => el.kind = ElKind.native),
|
|
103
|
+
line: new SvgDriver("line", false, el => el.kind = ElKind.native),
|
|
104
|
+
linearGradient: new SvgDriver("linearGradient", false, el => el.kind = ElKind.native),
|
|
105
|
+
marker: new SvgDriver("marker", false, el => el.kind = ElKind.native),
|
|
106
|
+
mask: new SvgDriver("mask", false, el => el.kind = ElKind.native),
|
|
107
|
+
metadata: new SvgDriver("metadata", false, el => el.kind = ElKind.native),
|
|
108
|
+
mpath: new SvgDriver("mpath", false, el => el.kind = ElKind.native),
|
|
109
|
+
path: new SvgDriver("path", false, el => el.kind = ElKind.native),
|
|
110
|
+
pattern: new SvgDriver("pattern", false, el => el.kind = ElKind.native),
|
|
111
|
+
polygon: new SvgDriver("polygon", false, el => el.kind = ElKind.native),
|
|
112
|
+
polyline: new SvgDriver("polyline", false, el => el.kind = ElKind.native),
|
|
113
|
+
radialGradient: new SvgDriver("radialGradient", false, el => el.kind = ElKind.native),
|
|
114
|
+
rect: new SvgDriver("rect", false, el => el.kind = ElKind.native),
|
|
115
|
+
stop: new SvgDriver("stop", false, el => el.kind = ElKind.native),
|
|
116
|
+
switch: new SvgDriver("switch", false, el => el.kind = ElKind.native),
|
|
117
|
+
symbol: new SvgDriver("symbol", false, el => el.kind = ElKind.native),
|
|
118
|
+
text: new SvgDriver("text", false, el => el.kind = ElKind.native),
|
|
119
|
+
textPath: new SvgDriver("textPath", false, el => el.kind = ElKind.native),
|
|
120
|
+
tspan: new SvgDriver("tspan", false, el => el.kind = ElKind.native),
|
|
121
|
+
use: new SvgDriver("use", false, el => el.kind = ElKind.native),
|
|
122
|
+
view: new SvgDriver("view", false, el => el.kind = ElKind.native),
|
|
123
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SvgElements.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SvgElements.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verstak",
|
|
3
|
-
"version": "0.92.
|
|
3
|
+
"version": "0.92.25009",
|
|
4
4
|
"description": "Verstak - Front-End Library",
|
|
5
5
|
"publisher": "Nezaboodka Software",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"exports": {
|
|
11
11
|
".": "./build/dist/source/api.js",
|
|
12
12
|
"./html": "./build/dist/source/html/api.js",
|
|
13
|
+
"./svg": "./build/dist/source/svg/api.js",
|
|
13
14
|
"./express": "./build/dist/source/express/api.js"
|
|
14
15
|
},
|
|
15
16
|
"files": [
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
"markdown-it": "^14.1.0",
|
|
42
43
|
"markdown-it-prism": "^2.3.0",
|
|
43
44
|
"prismjs": "^1.29.0",
|
|
44
|
-
"reactronic": "^0.92.
|
|
45
|
+
"reactronic": "^0.92.25008"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@types/markdown-it": "14.1.2",
|