@lvce-editor/virtual-dom 9.1.0 → 9.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 +11 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -70,6 +70,8 @@ const Title$1 = 'title';
|
|
|
70
70
|
const Meta$1 = 'meta';
|
|
71
71
|
const Canvas$1 = 'canvas';
|
|
72
72
|
const Form$1 = 'form';
|
|
73
|
+
const Quote$1 = 'quote';
|
|
74
|
+
const BlockQuote$1 = 'blockquote';
|
|
73
75
|
|
|
74
76
|
const Audio$1 = 0;
|
|
75
77
|
const Button$1 = 1;
|
|
@@ -138,6 +140,8 @@ const Title = 75;
|
|
|
138
140
|
const Meta = 76;
|
|
139
141
|
const Canvas = 77;
|
|
140
142
|
const Form = 78;
|
|
143
|
+
const BlockQuote = 79;
|
|
144
|
+
const Quote = 80;
|
|
141
145
|
const Reference$1 = 100;
|
|
142
146
|
|
|
143
147
|
const VirtualDomElements$1 = {
|
|
@@ -147,6 +151,7 @@ const VirtualDomElements$1 = {
|
|
|
147
151
|
Article: Article$1,
|
|
148
152
|
Aside: Aside$1,
|
|
149
153
|
Audio: Audio$1,
|
|
154
|
+
BlockQuote,
|
|
150
155
|
Br: Br$1,
|
|
151
156
|
Button: Button$1,
|
|
152
157
|
Canvas,
|
|
@@ -189,6 +194,7 @@ const VirtualDomElements$1 = {
|
|
|
189
194
|
Option: Option$1,
|
|
190
195
|
P: P$1,
|
|
191
196
|
Pre: Pre$1,
|
|
197
|
+
Quote,
|
|
192
198
|
Reference: Reference$1,
|
|
193
199
|
Root: Root$1,
|
|
194
200
|
Search: Search$1,
|
|
@@ -222,6 +228,8 @@ const getElementTag$1 = type => {
|
|
|
222
228
|
return Aside$2;
|
|
223
229
|
case Audio$1:
|
|
224
230
|
return Audio$2;
|
|
231
|
+
case BlockQuote:
|
|
232
|
+
return BlockQuote$1;
|
|
225
233
|
case Br$1:
|
|
226
234
|
return Br$2;
|
|
227
235
|
case Button$1:
|
|
@@ -306,6 +314,8 @@ const getElementTag$1 = type => {
|
|
|
306
314
|
return P$2;
|
|
307
315
|
case Pre$1:
|
|
308
316
|
return Pre$2;
|
|
317
|
+
case Quote:
|
|
318
|
+
return Quote$1;
|
|
309
319
|
case Search$1:
|
|
310
320
|
return Search$2;
|
|
311
321
|
case Section$1:
|
|
@@ -606,6 +616,7 @@ const setProp = ($Element, key, value, eventMap, newEventMap) => {
|
|
|
606
616
|
case 'onPointerOver':
|
|
607
617
|
case 'onScroll':
|
|
608
618
|
case 'onSelectionChange':
|
|
619
|
+
case 'onSubmit':
|
|
609
620
|
case 'onWheel':
|
|
610
621
|
const eventName = key.slice(2).toLowerCase();
|
|
611
622
|
if (!eventMap || !value) {
|