@lvce-editor/virtual-dom 7.0.0 → 7.2.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 +27 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -61,6 +61,11 @@ const Code$2 = 'code';
|
|
|
61
61
|
const Label$2 = 'label';
|
|
62
62
|
const Dt$2 = 'dt';
|
|
63
63
|
const Iframe$1 = 'iframe';
|
|
64
|
+
const Style$1 = 'style';
|
|
65
|
+
const Html$1 = 'html';
|
|
66
|
+
const Head$1 = 'head';
|
|
67
|
+
const Title$1 = 'title';
|
|
68
|
+
const Meta$1 = 'meta';
|
|
64
69
|
|
|
65
70
|
const Audio$1 = 0;
|
|
66
71
|
const Button$1 = 1;
|
|
@@ -120,6 +125,11 @@ const Code$1 = 65;
|
|
|
120
125
|
const Label$1 = 66;
|
|
121
126
|
const Dt$1 = 67;
|
|
122
127
|
const Iframe = 68;
|
|
128
|
+
const Style = 72;
|
|
129
|
+
const Html = 73;
|
|
130
|
+
const Head = 74;
|
|
131
|
+
const Title = 75;
|
|
132
|
+
const Meta = 76;
|
|
123
133
|
const Reference$1 = 100;
|
|
124
134
|
|
|
125
135
|
const VirtualDomElements$1 = {
|
|
@@ -150,8 +160,10 @@ const VirtualDomElements$1 = {
|
|
|
150
160
|
H4: H4$1,
|
|
151
161
|
H5: H5$1,
|
|
152
162
|
H6: H6$1,
|
|
163
|
+
Head,
|
|
153
164
|
Header: Header$1,
|
|
154
165
|
Hr: Hr$1,
|
|
166
|
+
Html,
|
|
155
167
|
I: I$1,
|
|
156
168
|
Iframe,
|
|
157
169
|
Img: Img$1,
|
|
@@ -160,6 +172,7 @@ const VirtualDomElements$1 = {
|
|
|
160
172
|
Kbd: Kbd$1,
|
|
161
173
|
Label: Label$1,
|
|
162
174
|
Li: Li$1,
|
|
175
|
+
Meta,
|
|
163
176
|
Nav: Nav$1,
|
|
164
177
|
Ol: Ol$1,
|
|
165
178
|
Option: Option$1,
|
|
@@ -171,6 +184,7 @@ const VirtualDomElements$1 = {
|
|
|
171
184
|
Section: Section$1,
|
|
172
185
|
Select: Select$1,
|
|
173
186
|
Span: Span$1,
|
|
187
|
+
Style,
|
|
174
188
|
TBody: TBody$1,
|
|
175
189
|
THead: THead$1,
|
|
176
190
|
Table: Table$1,
|
|
@@ -180,6 +194,7 @@ const VirtualDomElements$1 = {
|
|
|
180
194
|
Tfoot: Tfoot$1,
|
|
181
195
|
Th: Th$1,
|
|
182
196
|
Time: Time$1,
|
|
197
|
+
Title,
|
|
183
198
|
Tr: Tr$1,
|
|
184
199
|
Ul: Ul$1,
|
|
185
200
|
Video: Video$1
|
|
@@ -237,10 +252,14 @@ const getElementTag$1 = type => {
|
|
|
237
252
|
return H5$2;
|
|
238
253
|
case H6$1:
|
|
239
254
|
return H6$2;
|
|
255
|
+
case Head:
|
|
256
|
+
return Head$1;
|
|
240
257
|
case Header$1:
|
|
241
258
|
return Header$2;
|
|
242
259
|
case Hr$1:
|
|
243
260
|
return Hr$2;
|
|
261
|
+
case Html:
|
|
262
|
+
return Html$1;
|
|
244
263
|
case I$1:
|
|
245
264
|
return I$2;
|
|
246
265
|
case Iframe:
|
|
@@ -257,6 +276,8 @@ const getElementTag$1 = type => {
|
|
|
257
276
|
return Label$2;
|
|
258
277
|
case Li$1:
|
|
259
278
|
return Li$2;
|
|
279
|
+
case Meta:
|
|
280
|
+
return Meta$1;
|
|
260
281
|
case Nav$1:
|
|
261
282
|
return Nav$2;
|
|
262
283
|
case Ol$1:
|
|
@@ -275,6 +296,8 @@ const getElementTag$1 = type => {
|
|
|
275
296
|
return Select$2;
|
|
276
297
|
case Span$1:
|
|
277
298
|
return Span$2;
|
|
299
|
+
case Style:
|
|
300
|
+
return Style$1;
|
|
278
301
|
case Table$1:
|
|
279
302
|
return Table$2;
|
|
280
303
|
case TBody$1:
|
|
@@ -291,6 +314,8 @@ const getElementTag$1 = type => {
|
|
|
291
314
|
return THead$2;
|
|
292
315
|
case Time$1:
|
|
293
316
|
return Time$2;
|
|
317
|
+
case Title:
|
|
318
|
+
return Title$1;
|
|
294
319
|
case Tr$1:
|
|
295
320
|
return Tr$2;
|
|
296
321
|
case Ul$1:
|
|
@@ -944,6 +969,8 @@ const getEventListenerArg = (param, event) => {
|
|
|
944
969
|
return event.key;
|
|
945
970
|
case 'event.shiftKey':
|
|
946
971
|
return event.shiftKey;
|
|
972
|
+
case 'event.target.checked':
|
|
973
|
+
return event.target.checked;
|
|
947
974
|
case 'event.target.className':
|
|
948
975
|
return event.target.className;
|
|
949
976
|
case 'event.target.dataset.groupIndex':
|