@lvce-editor/virtual-dom 7.3.0 → 7.5.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/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -66,6 +66,7 @@ const Html$1 = 'html';
|
|
|
66
66
|
const Head$1 = 'head';
|
|
67
67
|
const Title$1 = 'title';
|
|
68
68
|
const Meta$1 = 'meta';
|
|
69
|
+
const Canvas$1 = 'canvas';
|
|
69
70
|
|
|
70
71
|
const Audio$1 = 0;
|
|
71
72
|
const Button$1 = 1;
|
|
@@ -130,6 +131,7 @@ const Html = 73;
|
|
|
130
131
|
const Head = 74;
|
|
131
132
|
const Title = 75;
|
|
132
133
|
const Meta = 76;
|
|
134
|
+
const Canvas = 77;
|
|
133
135
|
const Reference$1 = 100;
|
|
134
136
|
|
|
135
137
|
const VirtualDomElements$1 = {
|
|
@@ -141,6 +143,7 @@ const VirtualDomElements$1 = {
|
|
|
141
143
|
Audio: Audio$1,
|
|
142
144
|
Br: Br$1,
|
|
143
145
|
Button: Button$1,
|
|
146
|
+
Canvas,
|
|
144
147
|
Cite: Cite$1,
|
|
145
148
|
Code: Code$1,
|
|
146
149
|
Col: Col$1,
|
|
@@ -214,6 +217,8 @@ const getElementTag$1 = type => {
|
|
|
214
217
|
return Br$2;
|
|
215
218
|
case Button$1:
|
|
216
219
|
return Button$2;
|
|
220
|
+
case Canvas:
|
|
221
|
+
return Canvas$1;
|
|
217
222
|
case Cite$1:
|
|
218
223
|
return Cite$2;
|
|
219
224
|
case Code$1:
|