@wix/react-component-schema 1.8.0 → 1.10.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.d.ts +811 -97
- package/dist/index.js +270 -254
- package/package.json +5 -4
- package/src/__snapshots__/index.test.ts.snap +1086 -356
- package/src/package-exports.test.ts +12 -0
package/dist/index.js
CHANGED
|
@@ -1,45 +1,3 @@
|
|
|
1
|
-
var PanelContentType;
|
|
2
|
-
(function(PanelContentType3) {
|
|
3
|
-
PanelContentType3["UNKNOWN_PanelContentType"] = "UNKNOWN_PanelContentType";
|
|
4
|
-
PanelContentType3["url"] = "url";
|
|
5
|
-
PanelContentType3["code"] = "code";
|
|
6
|
-
})(PanelContentType || (PanelContentType = {}));
|
|
7
|
-
var DataType;
|
|
8
|
-
(function(DataType3) {
|
|
9
|
-
DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
|
|
10
|
-
DataType3["text"] = "text";
|
|
11
|
-
DataType3["textEnum"] = "textEnum";
|
|
12
|
-
DataType3["number"] = "number";
|
|
13
|
-
DataType3["booleanValue"] = "booleanValue";
|
|
14
|
-
DataType3["a11y"] = "a11y";
|
|
15
|
-
DataType3["link"] = "link";
|
|
16
|
-
DataType3["image"] = "image";
|
|
17
|
-
DataType3["video"] = "video";
|
|
18
|
-
DataType3["vectorArt"] = "vectorArt";
|
|
19
|
-
DataType3["audio"] = "audio";
|
|
20
|
-
DataType3["schema"] = "schema";
|
|
21
|
-
DataType3["localDate"] = "localDate";
|
|
22
|
-
DataType3["localTime"] = "localTime";
|
|
23
|
-
DataType3["localDateTime"] = "localDateTime";
|
|
24
|
-
DataType3["webUrl"] = "webUrl";
|
|
25
|
-
DataType3["email"] = "email";
|
|
26
|
-
DataType3["phone"] = "phone";
|
|
27
|
-
DataType3["hostname"] = "hostname";
|
|
28
|
-
DataType3["regex"] = "regex";
|
|
29
|
-
DataType3["guid"] = "guid";
|
|
30
|
-
DataType3["richText"] = "richText";
|
|
31
|
-
DataType3["container"] = "container";
|
|
32
|
-
DataType3["arrayItems"] = "arrayItems";
|
|
33
|
-
DataType3["direction"] = "direction";
|
|
34
|
-
DataType3["menuItems"] = "menuItems";
|
|
35
|
-
DataType3["data"] = "data";
|
|
36
|
-
DataType3["function"] = "function";
|
|
37
|
-
DataType3["onClick"] = "onClick";
|
|
38
|
-
DataType3["onChange"] = "onChange";
|
|
39
|
-
DataType3["onKeyPress"] = "onKeyPress";
|
|
40
|
-
DataType3["onKeyUp"] = "onKeyUp";
|
|
41
|
-
DataType3["onSubmit"] = "onSubmit";
|
|
42
|
-
})(DataType || (DataType = {}));
|
|
43
1
|
var A11yAttributes;
|
|
44
2
|
(function(A11yAttributes3) {
|
|
45
3
|
A11yAttributes3["Unknown_AriaAttributes"] = "Unknown_AriaAttributes";
|
|
@@ -68,151 +26,8 @@ var A11yAttributes;
|
|
|
68
26
|
A11yAttributes3["tag"] = "tag";
|
|
69
27
|
A11yAttributes3["ariaMultiline"] = "ariaMultiline";
|
|
70
28
|
A11yAttributes3["ariaInvalid"] = "ariaInvalid";
|
|
29
|
+
A11yAttributes3["lang"] = "lang";
|
|
71
30
|
})(A11yAttributes || (A11yAttributes = {}));
|
|
72
|
-
var LinkType;
|
|
73
|
-
(function(LinkType3) {
|
|
74
|
-
LinkType3["UNKNOWN_LinkType"] = "UNKNOWN_LinkType";
|
|
75
|
-
LinkType3["externalLink"] = "externalLink";
|
|
76
|
-
LinkType3["anchorLink"] = "anchorLink";
|
|
77
|
-
LinkType3["emailLink"] = "emailLink";
|
|
78
|
-
LinkType3["phoneLink"] = "phoneLink";
|
|
79
|
-
LinkType3["dynamicPageLink"] = "dynamicPageLink";
|
|
80
|
-
LinkType3["pageLink"] = "pageLink";
|
|
81
|
-
LinkType3["whatsAppLink"] = "whatsAppLink";
|
|
82
|
-
LinkType3["documentLink"] = "documentLink";
|
|
83
|
-
LinkType3["popupLink"] = "popupLink";
|
|
84
|
-
LinkType3["addressLink"] = "addressLink";
|
|
85
|
-
LinkType3["edgeAnchorLinks"] = "edgeAnchorLinks";
|
|
86
|
-
LinkType3["loginToWixLink"] = "loginToWixLink";
|
|
87
|
-
})(LinkType || (LinkType = {}));
|
|
88
|
-
var ContainerType;
|
|
89
|
-
(function(ContainerType3) {
|
|
90
|
-
ContainerType3["UNKNOWN_CONTAINER_TYPE"] = "UNKNOWN_CONTAINER_TYPE";
|
|
91
|
-
ContainerType3["simple"] = "simple";
|
|
92
|
-
ContainerType3["slot"] = "slot";
|
|
93
|
-
ContainerType3["placeholder"] = "placeholder";
|
|
94
|
-
ContainerType3["template"] = "template";
|
|
95
|
-
})(ContainerType || (ContainerType = {}));
|
|
96
|
-
var ResizeDirection;
|
|
97
|
-
(function(ResizeDirection3) {
|
|
98
|
-
ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
|
|
99
|
-
ResizeDirection3["horizontal"] = "horizontal";
|
|
100
|
-
ResizeDirection3["vertical"] = "vertical";
|
|
101
|
-
ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
102
|
-
ResizeDirection3["aspectRatio"] = "aspectRatio";
|
|
103
|
-
ResizeDirection3["none"] = "none";
|
|
104
|
-
})(ResizeDirection || (ResizeDirection = {}));
|
|
105
|
-
var ContentResizeDirection;
|
|
106
|
-
(function(ContentResizeDirection3) {
|
|
107
|
-
ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
|
|
108
|
-
ContentResizeDirection3["horizontal"] = "horizontal";
|
|
109
|
-
ContentResizeDirection3["vertical"] = "vertical";
|
|
110
|
-
ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
111
|
-
ContentResizeDirection3["none"] = "none";
|
|
112
|
-
})(ContentResizeDirection || (ContentResizeDirection = {}));
|
|
113
|
-
var ImageCategoryTypes;
|
|
114
|
-
(function(ImageCategoryTypes3) {
|
|
115
|
-
ImageCategoryTypes3["UNKNOWN_CategoryName"] = "UNKNOWN_CategoryName";
|
|
116
|
-
ImageCategoryTypes3["IMAGE"] = "IMAGE";
|
|
117
|
-
ImageCategoryTypes3["IMAGE_BACKGROUND"] = "IMAGE_BACKGROUND";
|
|
118
|
-
})(ImageCategoryTypes || (ImageCategoryTypes = {}));
|
|
119
|
-
var VideoCategoryTypes;
|
|
120
|
-
(function(VideoCategoryTypes3) {
|
|
121
|
-
VideoCategoryTypes3["UNKNOWN_VideoCategoryTypes"] = "UNKNOWN_VideoCategoryTypes";
|
|
122
|
-
VideoCategoryTypes3["VIDEO"] = "VIDEO";
|
|
123
|
-
VideoCategoryTypes3["VIDEO_TRANSPARENT"] = "VIDEO_TRANSPARENT";
|
|
124
|
-
VideoCategoryTypes3["VIDEO_OPAQUE"] = "VIDEO_OPAQUE";
|
|
125
|
-
})(VideoCategoryTypes || (VideoCategoryTypes = {}));
|
|
126
|
-
var VectorArtCategoryTypes;
|
|
127
|
-
(function(VectorArtCategoryTypes3) {
|
|
128
|
-
VectorArtCategoryTypes3["UNKNOWN_VectorArtCategoryTypes"] = "UNKNOWN_VectorArtCategoryTypes";
|
|
129
|
-
VectorArtCategoryTypes3["SHAPE_ALL"] = "SHAPE_ALL";
|
|
130
|
-
VectorArtCategoryTypes3["SHAPE_BASIC"] = "SHAPE_BASIC";
|
|
131
|
-
VectorArtCategoryTypes3["SHAPE_ART"] = "SHAPE_ART";
|
|
132
|
-
VectorArtCategoryTypes3["ICON_SOCIAL"] = "ICON_SOCIAL";
|
|
133
|
-
VectorArtCategoryTypes3["SHAPE_DIVIDERS"] = "SHAPE_DIVIDERS";
|
|
134
|
-
VectorArtCategoryTypes3["SHAPE_LOCATION"] = "SHAPE_LOCATION";
|
|
135
|
-
VectorArtCategoryTypes3["SHAPE_DOCUMENTS"] = "SHAPE_DOCUMENTS";
|
|
136
|
-
VectorArtCategoryTypes3["SHAPE_SOCIAL"] = "SHAPE_SOCIAL";
|
|
137
|
-
VectorArtCategoryTypes3["SHAPE_ARROWS"] = "SHAPE_ARROWS";
|
|
138
|
-
})(VectorArtCategoryTypes || (VectorArtCategoryTypes = {}));
|
|
139
|
-
var ElementTypeEnumElementType;
|
|
140
|
-
(function(ElementTypeEnumElementType3) {
|
|
141
|
-
ElementTypeEnumElementType3["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
|
|
142
|
-
ElementTypeEnumElementType3["inlineElement"] = "inlineElement";
|
|
143
|
-
ElementTypeEnumElementType3["refElement"] = "refElement";
|
|
144
|
-
})(ElementTypeEnumElementType || (ElementTypeEnumElementType = {}));
|
|
145
|
-
var FilterFunction;
|
|
146
|
-
(function(FilterFunction3) {
|
|
147
|
-
FilterFunction3["UNKNOWN_FilterFunctions"] = "UNKNOWN_FilterFunctions";
|
|
148
|
-
FilterFunction3["blur"] = "blur";
|
|
149
|
-
FilterFunction3["brightness"] = "brightness";
|
|
150
|
-
FilterFunction3["contrast"] = "contrast";
|
|
151
|
-
FilterFunction3["drop_shadow"] = "drop_shadow";
|
|
152
|
-
FilterFunction3["grayscale"] = "grayscale";
|
|
153
|
-
FilterFunction3["hue_rotate"] = "hue_rotate";
|
|
154
|
-
FilterFunction3["invert"] = "invert";
|
|
155
|
-
FilterFunction3["opacity"] = "opacity";
|
|
156
|
-
FilterFunction3["sepia"] = "sepia";
|
|
157
|
-
FilterFunction3["saturate"] = "saturate";
|
|
158
|
-
FilterFunction3["dropShadow"] = "dropShadow";
|
|
159
|
-
FilterFunction3["hueRotate"] = "hueRotate";
|
|
160
|
-
})(FilterFunction || (FilterFunction = {}));
|
|
161
|
-
var DisplayValueEnumDisplayValue;
|
|
162
|
-
(function(DisplayValueEnumDisplayValue3) {
|
|
163
|
-
DisplayValueEnumDisplayValue3["UNKNOWN_DisplayValue"] = "UNKNOWN_DisplayValue";
|
|
164
|
-
DisplayValueEnumDisplayValue3["none"] = "none";
|
|
165
|
-
DisplayValueEnumDisplayValue3["block"] = "block";
|
|
166
|
-
DisplayValueEnumDisplayValue3["inline"] = "inline";
|
|
167
|
-
DisplayValueEnumDisplayValue3["flow"] = "flow";
|
|
168
|
-
DisplayValueEnumDisplayValue3["flowRoot"] = "flowRoot";
|
|
169
|
-
DisplayValueEnumDisplayValue3["table"] = "table";
|
|
170
|
-
DisplayValueEnumDisplayValue3["flex"] = "flex";
|
|
171
|
-
DisplayValueEnumDisplayValue3["grid"] = "grid";
|
|
172
|
-
DisplayValueEnumDisplayValue3["list_item"] = "list_item";
|
|
173
|
-
DisplayValueEnumDisplayValue3["contents"] = "contents";
|
|
174
|
-
DisplayValueEnumDisplayValue3["inline_block"] = "inline_block";
|
|
175
|
-
DisplayValueEnumDisplayValue3["inline_table"] = "inline_table";
|
|
176
|
-
DisplayValueEnumDisplayValue3["inline_flex"] = "inline_flex";
|
|
177
|
-
DisplayValueEnumDisplayValue3["inline_grid"] = "inline_grid";
|
|
178
|
-
DisplayValueEnumDisplayValue3["inlineBlock"] = "inlineBlock";
|
|
179
|
-
DisplayValueEnumDisplayValue3["inlineTable"] = "inlineTable";
|
|
180
|
-
DisplayValueEnumDisplayValue3["inlineFlex"] = "inlineFlex";
|
|
181
|
-
DisplayValueEnumDisplayValue3["inlineGrid"] = "inlineGrid";
|
|
182
|
-
DisplayValueEnumDisplayValue3["listItem"] = "listItem";
|
|
183
|
-
})(DisplayValueEnumDisplayValue || (DisplayValueEnumDisplayValue = {}));
|
|
184
|
-
var WritingModeValue;
|
|
185
|
-
(function(WritingModeValue3) {
|
|
186
|
-
WritingModeValue3["UNKNOWN_WritingModeValue"] = "UNKNOWN_WritingModeValue";
|
|
187
|
-
WritingModeValue3["horizontalTb"] = "horizontalTb";
|
|
188
|
-
WritingModeValue3["verticalRl"] = "verticalRl";
|
|
189
|
-
WritingModeValue3["verticalLr"] = "verticalLr";
|
|
190
|
-
WritingModeValue3["sidewaysRl"] = "sidewaysRl";
|
|
191
|
-
WritingModeValue3["sidewaysLr"] = "sidewaysLr";
|
|
192
|
-
})(WritingModeValue || (WritingModeValue = {}));
|
|
193
|
-
var BackgroundModeEnum;
|
|
194
|
-
(function(BackgroundModeEnum3) {
|
|
195
|
-
BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
|
|
196
|
-
BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
|
|
197
|
-
})(BackgroundModeEnum || (BackgroundModeEnum = {}));
|
|
198
|
-
var ActionType;
|
|
199
|
-
(function(ActionType3) {
|
|
200
|
-
ActionType3["UNKNOWN_ActionType"] = "UNKNOWN_ActionType";
|
|
201
|
-
ActionType3["data"] = "data";
|
|
202
|
-
ActionType3["event"] = "event";
|
|
203
|
-
ActionType3["panel"] = "panel";
|
|
204
|
-
ActionType3["forward"] = "forward";
|
|
205
|
-
ActionType3["style"] = "style";
|
|
206
|
-
ActionType3["displayGroup"] = "displayGroup";
|
|
207
|
-
ActionType3["cssProperty"] = "cssProperty";
|
|
208
|
-
ActionType3["cssCustomProperty"] = "cssCustomProperty";
|
|
209
|
-
})(ActionType || (ActionType = {}));
|
|
210
|
-
var PanelType;
|
|
211
|
-
(function(PanelType3) {
|
|
212
|
-
PanelType3["UNKNOWN_PanelType"] = "UNKNOWN_PanelType";
|
|
213
|
-
PanelType3["panelId"] = "panelId";
|
|
214
|
-
PanelType3["inline"] = "inline";
|
|
215
|
-
})(PanelType || (PanelType = {}));
|
|
216
31
|
var ActionName;
|
|
217
32
|
(function(ActionName3) {
|
|
218
33
|
ActionName3["UNKNOWN_ActionName"] = "UNKNOWN_ActionName";
|
|
@@ -225,19 +40,19 @@ var ActionName;
|
|
|
225
40
|
ActionName3["manageMenu"] = "manageMenu";
|
|
226
41
|
ActionName3["container"] = "container";
|
|
227
42
|
})(ActionName || (ActionName = {}));
|
|
228
|
-
var
|
|
229
|
-
(function(
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
})(
|
|
43
|
+
var ActionType;
|
|
44
|
+
(function(ActionType3) {
|
|
45
|
+
ActionType3["UNKNOWN_ActionType"] = "UNKNOWN_ActionType";
|
|
46
|
+
ActionType3["data"] = "data";
|
|
47
|
+
ActionType3["event"] = "event";
|
|
48
|
+
ActionType3["panel"] = "panel";
|
|
49
|
+
ActionType3["forward"] = "forward";
|
|
50
|
+
ActionType3["style"] = "style";
|
|
51
|
+
ActionType3["displayGroup"] = "displayGroup";
|
|
52
|
+
ActionType3["cssProperty"] = "cssProperty";
|
|
53
|
+
ActionType3["cssCustomProperty"] = "cssCustomProperty";
|
|
54
|
+
ActionType3["dashboard"] = "dashboard";
|
|
55
|
+
})(ActionType || (ActionType = {}));
|
|
241
56
|
var Archetype;
|
|
242
57
|
(function(Archetype3) {
|
|
243
58
|
Archetype3["UNKNOWN_Archetype"] = "UNKNOWN_Archetype";
|
|
@@ -283,56 +98,33 @@ var Archetype;
|
|
|
283
98
|
Archetype3["Frame"] = "Frame";
|
|
284
99
|
Archetype3["Divider"] = "Divider";
|
|
285
100
|
})(Archetype || (Archetype = {}));
|
|
286
|
-
var
|
|
287
|
-
(function(
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
GroupType3["borderInlineStart"] = "borderInlineStart";
|
|
314
|
-
GroupType3["borderInlineEnd"] = "borderInlineEnd";
|
|
315
|
-
GroupType3["borderColor"] = "borderColor";
|
|
316
|
-
GroupType3["borderWidth"] = "borderWidth";
|
|
317
|
-
GroupType3["borderStyle"] = "borderStyle";
|
|
318
|
-
GroupType3["font"] = "font";
|
|
319
|
-
GroupType3["textDecoration"] = "textDecoration";
|
|
320
|
-
GroupType3["gap"] = "gap";
|
|
321
|
-
GroupType3["text"] = "text";
|
|
322
|
-
GroupType3["arrayItems"] = "arrayItems";
|
|
323
|
-
GroupType3["arrayItem"] = "arrayItem";
|
|
324
|
-
GroupType3["listItem"] = "listItem";
|
|
325
|
-
})(GroupType || (GroupType = {}));
|
|
326
|
-
var ImageType;
|
|
327
|
-
(function(ImageType3) {
|
|
328
|
-
ImageType3["UNKNOWN_ImageType"] = "UNKNOWN_ImageType";
|
|
329
|
-
ImageType3["url"] = "url";
|
|
330
|
-
ImageType3["image"] = "image";
|
|
331
|
-
ImageType3["imageSet"] = "imageSet";
|
|
332
|
-
ImageType3["crossFade"] = "crossFade";
|
|
333
|
-
ImageType3["element"] = "element";
|
|
334
|
-
ImageType3["gradient"] = "gradient";
|
|
335
|
-
})(ImageType || (ImageType = {}));
|
|
101
|
+
var BackgroundModeEnum;
|
|
102
|
+
(function(BackgroundModeEnum3) {
|
|
103
|
+
BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
|
|
104
|
+
BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
|
|
105
|
+
})(BackgroundModeEnum || (BackgroundModeEnum = {}));
|
|
106
|
+
var BreakpointEnumBreakpoint;
|
|
107
|
+
(function(BreakpointEnumBreakpoint3) {
|
|
108
|
+
BreakpointEnumBreakpoint3["UNKNOWN_Breakpoint"] = "UNKNOWN_Breakpoint";
|
|
109
|
+
BreakpointEnumBreakpoint3["small"] = "small";
|
|
110
|
+
BreakpointEnumBreakpoint3["large"] = "large";
|
|
111
|
+
})(BreakpointEnumBreakpoint || (BreakpointEnumBreakpoint = {}));
|
|
112
|
+
var ContainerType;
|
|
113
|
+
(function(ContainerType3) {
|
|
114
|
+
ContainerType3["UNKNOWN_CONTAINER_TYPE"] = "UNKNOWN_CONTAINER_TYPE";
|
|
115
|
+
ContainerType3["simple"] = "simple";
|
|
116
|
+
ContainerType3["slot"] = "slot";
|
|
117
|
+
ContainerType3["placeholder"] = "placeholder";
|
|
118
|
+
ContainerType3["template"] = "template";
|
|
119
|
+
})(ContainerType || (ContainerType = {}));
|
|
120
|
+
var ContentResizeDirection;
|
|
121
|
+
(function(ContentResizeDirection3) {
|
|
122
|
+
ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
|
|
123
|
+
ContentResizeDirection3["horizontal"] = "horizontal";
|
|
124
|
+
ContentResizeDirection3["vertical"] = "vertical";
|
|
125
|
+
ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
126
|
+
ContentResizeDirection3["none"] = "none";
|
|
127
|
+
})(ContentResizeDirection || (ContentResizeDirection = {}));
|
|
336
128
|
var CssPropertyEnumCssPropertyType;
|
|
337
129
|
(function(CssPropertyEnumCssPropertyType3) {
|
|
338
130
|
CssPropertyEnumCssPropertyType3["UNKNOWN_CssPropertyType"] = "UNKNOWN_CssPropertyType";
|
|
@@ -461,6 +253,148 @@ var CssPropertyEnumCssPropertyType;
|
|
|
461
253
|
CssPropertyEnumCssPropertyType3["maskSize"] = "maskSize";
|
|
462
254
|
CssPropertyEnumCssPropertyType3["maskComposite"] = "maskComposite";
|
|
463
255
|
})(CssPropertyEnumCssPropertyType || (CssPropertyEnumCssPropertyType = {}));
|
|
256
|
+
var DataType;
|
|
257
|
+
(function(DataType3) {
|
|
258
|
+
DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
|
|
259
|
+
DataType3["text"] = "text";
|
|
260
|
+
DataType3["textEnum"] = "textEnum";
|
|
261
|
+
DataType3["number"] = "number";
|
|
262
|
+
DataType3["booleanValue"] = "booleanValue";
|
|
263
|
+
DataType3["a11y"] = "a11y";
|
|
264
|
+
DataType3["link"] = "link";
|
|
265
|
+
DataType3["image"] = "image";
|
|
266
|
+
DataType3["video"] = "video";
|
|
267
|
+
DataType3["vectorArt"] = "vectorArt";
|
|
268
|
+
DataType3["audio"] = "audio";
|
|
269
|
+
DataType3["schema"] = "schema";
|
|
270
|
+
DataType3["localDate"] = "localDate";
|
|
271
|
+
DataType3["localTime"] = "localTime";
|
|
272
|
+
DataType3["localDateTime"] = "localDateTime";
|
|
273
|
+
DataType3["webUrl"] = "webUrl";
|
|
274
|
+
DataType3["email"] = "email";
|
|
275
|
+
DataType3["phone"] = "phone";
|
|
276
|
+
DataType3["hostname"] = "hostname";
|
|
277
|
+
DataType3["regex"] = "regex";
|
|
278
|
+
DataType3["guid"] = "guid";
|
|
279
|
+
DataType3["richText"] = "richText";
|
|
280
|
+
DataType3["container"] = "container";
|
|
281
|
+
DataType3["arrayItems"] = "arrayItems";
|
|
282
|
+
DataType3["direction"] = "direction";
|
|
283
|
+
DataType3["menuItems"] = "menuItems";
|
|
284
|
+
DataType3["data"] = "data";
|
|
285
|
+
DataType3["function"] = "function";
|
|
286
|
+
DataType3["onClick"] = "onClick";
|
|
287
|
+
DataType3["onChange"] = "onChange";
|
|
288
|
+
DataType3["onKeyPress"] = "onKeyPress";
|
|
289
|
+
DataType3["onKeyUp"] = "onKeyUp";
|
|
290
|
+
DataType3["onSubmit"] = "onSubmit";
|
|
291
|
+
DataType3["filter"] = "filter";
|
|
292
|
+
DataType3["sort"] = "sort";
|
|
293
|
+
DataType3["visualMedia"] = "visualMedia";
|
|
294
|
+
DataType3["ricosDocument"] = "ricosDocument";
|
|
295
|
+
})(DataType || (DataType = {}));
|
|
296
|
+
var GroupType;
|
|
297
|
+
(function(GroupType3) {
|
|
298
|
+
GroupType3["UNKNOWN_GroupType"] = "UNKNOWN_GroupType";
|
|
299
|
+
GroupType3["cssDataType"] = "cssDataType";
|
|
300
|
+
GroupType3["dataType"] = "dataType";
|
|
301
|
+
GroupType3["preset"] = "preset";
|
|
302
|
+
GroupType3["data"] = "data";
|
|
303
|
+
GroupType3["presets"] = "presets";
|
|
304
|
+
GroupType3["cssCustomProperties"] = "cssCustomProperties";
|
|
305
|
+
GroupType3["displayGroups"] = "displayGroups";
|
|
306
|
+
GroupType3["elements"] = "elements";
|
|
307
|
+
GroupType3["background"] = "background";
|
|
308
|
+
GroupType3["margin"] = "margin";
|
|
309
|
+
GroupType3["padding"] = "padding";
|
|
310
|
+
GroupType3["border"] = "border";
|
|
311
|
+
GroupType3["borderTop"] = "borderTop";
|
|
312
|
+
GroupType3["borderRight"] = "borderRight";
|
|
313
|
+
GroupType3["borderBottom"] = "borderBottom";
|
|
314
|
+
GroupType3["borderLeft"] = "borderLeft";
|
|
315
|
+
GroupType3["borderRadius"] = "borderRadius";
|
|
316
|
+
GroupType3["borderInlineStart"] = "borderInlineStart";
|
|
317
|
+
GroupType3["borderInlineEnd"] = "borderInlineEnd";
|
|
318
|
+
GroupType3["borderColor"] = "borderColor";
|
|
319
|
+
GroupType3["borderWidth"] = "borderWidth";
|
|
320
|
+
GroupType3["borderStyle"] = "borderStyle";
|
|
321
|
+
GroupType3["font"] = "font";
|
|
322
|
+
GroupType3["textDecoration"] = "textDecoration";
|
|
323
|
+
GroupType3["gap"] = "gap";
|
|
324
|
+
GroupType3["text"] = "text";
|
|
325
|
+
GroupType3["arrayItems"] = "arrayItems";
|
|
326
|
+
GroupType3["arrayItem"] = "arrayItem";
|
|
327
|
+
GroupType3["listItem"] = "listItem";
|
|
328
|
+
})(GroupType || (GroupType = {}));
|
|
329
|
+
var DisplayValueEnumDisplayValue;
|
|
330
|
+
(function(DisplayValueEnumDisplayValue3) {
|
|
331
|
+
DisplayValueEnumDisplayValue3["UNKNOWN_DisplayValue"] = "UNKNOWN_DisplayValue";
|
|
332
|
+
DisplayValueEnumDisplayValue3["none"] = "none";
|
|
333
|
+
DisplayValueEnumDisplayValue3["block"] = "block";
|
|
334
|
+
DisplayValueEnumDisplayValue3["inline"] = "inline";
|
|
335
|
+
DisplayValueEnumDisplayValue3["flow"] = "flow";
|
|
336
|
+
DisplayValueEnumDisplayValue3["flowRoot"] = "flowRoot";
|
|
337
|
+
DisplayValueEnumDisplayValue3["table"] = "table";
|
|
338
|
+
DisplayValueEnumDisplayValue3["flex"] = "flex";
|
|
339
|
+
DisplayValueEnumDisplayValue3["grid"] = "grid";
|
|
340
|
+
DisplayValueEnumDisplayValue3["list_item"] = "list_item";
|
|
341
|
+
DisplayValueEnumDisplayValue3["contents"] = "contents";
|
|
342
|
+
DisplayValueEnumDisplayValue3["inline_block"] = "inline_block";
|
|
343
|
+
DisplayValueEnumDisplayValue3["inline_table"] = "inline_table";
|
|
344
|
+
DisplayValueEnumDisplayValue3["inline_flex"] = "inline_flex";
|
|
345
|
+
DisplayValueEnumDisplayValue3["inline_grid"] = "inline_grid";
|
|
346
|
+
DisplayValueEnumDisplayValue3["inlineBlock"] = "inlineBlock";
|
|
347
|
+
DisplayValueEnumDisplayValue3["inlineTable"] = "inlineTable";
|
|
348
|
+
DisplayValueEnumDisplayValue3["inlineFlex"] = "inlineFlex";
|
|
349
|
+
DisplayValueEnumDisplayValue3["inlineGrid"] = "inlineGrid";
|
|
350
|
+
DisplayValueEnumDisplayValue3["listItem"] = "listItem";
|
|
351
|
+
DisplayValueEnumDisplayValue3["tableRowGroup"] = "tableRowGroup";
|
|
352
|
+
DisplayValueEnumDisplayValue3["tableHeaderGroup"] = "tableHeaderGroup";
|
|
353
|
+
DisplayValueEnumDisplayValue3["tableFooterGroup"] = "tableFooterGroup";
|
|
354
|
+
DisplayValueEnumDisplayValue3["tableRow"] = "tableRow";
|
|
355
|
+
DisplayValueEnumDisplayValue3["tableCell"] = "tableCell";
|
|
356
|
+
DisplayValueEnumDisplayValue3["tableColumnGroup"] = "tableColumnGroup";
|
|
357
|
+
DisplayValueEnumDisplayValue3["tableColumn"] = "tableColumn";
|
|
358
|
+
DisplayValueEnumDisplayValue3["tableCaption"] = "tableCaption";
|
|
359
|
+
})(DisplayValueEnumDisplayValue || (DisplayValueEnumDisplayValue = {}));
|
|
360
|
+
var ElementTypeEnumElementType;
|
|
361
|
+
(function(ElementTypeEnumElementType3) {
|
|
362
|
+
ElementTypeEnumElementType3["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
|
|
363
|
+
ElementTypeEnumElementType3["inlineElement"] = "inlineElement";
|
|
364
|
+
ElementTypeEnumElementType3["refElement"] = "refElement";
|
|
365
|
+
ElementTypeEnumElementType3["partElement"] = "partElement";
|
|
366
|
+
})(ElementTypeEnumElementType || (ElementTypeEnumElementType = {}));
|
|
367
|
+
var FilterFunction;
|
|
368
|
+
(function(FilterFunction3) {
|
|
369
|
+
FilterFunction3["UNKNOWN_FilterFunctions"] = "UNKNOWN_FilterFunctions";
|
|
370
|
+
FilterFunction3["blur"] = "blur";
|
|
371
|
+
FilterFunction3["brightness"] = "brightness";
|
|
372
|
+
FilterFunction3["contrast"] = "contrast";
|
|
373
|
+
FilterFunction3["drop_shadow"] = "drop_shadow";
|
|
374
|
+
FilterFunction3["grayscale"] = "grayscale";
|
|
375
|
+
FilterFunction3["hue_rotate"] = "hue_rotate";
|
|
376
|
+
FilterFunction3["invert"] = "invert";
|
|
377
|
+
FilterFunction3["opacity"] = "opacity";
|
|
378
|
+
FilterFunction3["sepia"] = "sepia";
|
|
379
|
+
FilterFunction3["saturate"] = "saturate";
|
|
380
|
+
FilterFunction3["dropShadow"] = "dropShadow";
|
|
381
|
+
FilterFunction3["hueRotate"] = "hueRotate";
|
|
382
|
+
})(FilterFunction || (FilterFunction = {}));
|
|
383
|
+
var ImageType;
|
|
384
|
+
(function(ImageType3) {
|
|
385
|
+
ImageType3["UNKNOWN_ImageType"] = "UNKNOWN_ImageType";
|
|
386
|
+
ImageType3["url"] = "url";
|
|
387
|
+
ImageType3["image"] = "image";
|
|
388
|
+
ImageType3["imageSet"] = "imageSet";
|
|
389
|
+
ImageType3["crossFade"] = "crossFade";
|
|
390
|
+
ImageType3["element"] = "element";
|
|
391
|
+
ImageType3["gradient"] = "gradient";
|
|
392
|
+
})(ImageType || (ImageType = {}));
|
|
393
|
+
var EffectGroup;
|
|
394
|
+
(function(EffectGroup3) {
|
|
395
|
+
EffectGroup3["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
|
|
396
|
+
EffectGroup3["background"] = "background";
|
|
397
|
+
})(EffectGroup || (EffectGroup = {}));
|
|
464
398
|
var InteractionsTrigger;
|
|
465
399
|
(function(InteractionsTrigger3) {
|
|
466
400
|
InteractionsTrigger3["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
|
|
@@ -472,11 +406,93 @@ var InteractionsTrigger;
|
|
|
472
406
|
InteractionsTrigger3["pointerMove"] = "pointerMove";
|
|
473
407
|
InteractionsTrigger3["animationEnd"] = "animationEnd";
|
|
474
408
|
})(InteractionsTrigger || (InteractionsTrigger = {}));
|
|
475
|
-
var
|
|
476
|
-
(function(
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
409
|
+
var LinkType;
|
|
410
|
+
(function(LinkType3) {
|
|
411
|
+
LinkType3["UNKNOWN_LinkType"] = "UNKNOWN_LinkType";
|
|
412
|
+
LinkType3["externalLink"] = "externalLink";
|
|
413
|
+
LinkType3["anchorLink"] = "anchorLink";
|
|
414
|
+
LinkType3["emailLink"] = "emailLink";
|
|
415
|
+
LinkType3["phoneLink"] = "phoneLink";
|
|
416
|
+
LinkType3["dynamicPageLink"] = "dynamicPageLink";
|
|
417
|
+
LinkType3["pageLink"] = "pageLink";
|
|
418
|
+
LinkType3["whatsAppLink"] = "whatsAppLink";
|
|
419
|
+
LinkType3["documentLink"] = "documentLink";
|
|
420
|
+
LinkType3["popupLink"] = "popupLink";
|
|
421
|
+
LinkType3["addressLink"] = "addressLink";
|
|
422
|
+
LinkType3["edgeAnchorLinks"] = "edgeAnchorLinks";
|
|
423
|
+
LinkType3["loginToWixLink"] = "loginToWixLink";
|
|
424
|
+
})(LinkType || (LinkType = {}));
|
|
425
|
+
var ImageCategoryTypes;
|
|
426
|
+
(function(ImageCategoryTypes3) {
|
|
427
|
+
ImageCategoryTypes3["UNKNOWN_CategoryName"] = "UNKNOWN_CategoryName";
|
|
428
|
+
ImageCategoryTypes3["IMAGE"] = "IMAGE";
|
|
429
|
+
ImageCategoryTypes3["IMAGE_BACKGROUND"] = "IMAGE_BACKGROUND";
|
|
430
|
+
})(ImageCategoryTypes || (ImageCategoryTypes = {}));
|
|
431
|
+
var VectorArtCategoryTypes;
|
|
432
|
+
(function(VectorArtCategoryTypes3) {
|
|
433
|
+
VectorArtCategoryTypes3["UNKNOWN_VectorArtCategoryTypes"] = "UNKNOWN_VectorArtCategoryTypes";
|
|
434
|
+
VectorArtCategoryTypes3["SHAPE_ALL"] = "SHAPE_ALL";
|
|
435
|
+
VectorArtCategoryTypes3["SHAPE_BASIC"] = "SHAPE_BASIC";
|
|
436
|
+
VectorArtCategoryTypes3["SHAPE_ART"] = "SHAPE_ART";
|
|
437
|
+
VectorArtCategoryTypes3["ICON_SOCIAL"] = "ICON_SOCIAL";
|
|
438
|
+
VectorArtCategoryTypes3["SHAPE_DIVIDERS"] = "SHAPE_DIVIDERS";
|
|
439
|
+
VectorArtCategoryTypes3["SHAPE_LOCATION"] = "SHAPE_LOCATION";
|
|
440
|
+
VectorArtCategoryTypes3["SHAPE_DOCUMENTS"] = "SHAPE_DOCUMENTS";
|
|
441
|
+
VectorArtCategoryTypes3["SHAPE_SOCIAL"] = "SHAPE_SOCIAL";
|
|
442
|
+
VectorArtCategoryTypes3["SHAPE_ARROWS"] = "SHAPE_ARROWS";
|
|
443
|
+
})(VectorArtCategoryTypes || (VectorArtCategoryTypes = {}));
|
|
444
|
+
var VideoCategoryTypes;
|
|
445
|
+
(function(VideoCategoryTypes3) {
|
|
446
|
+
VideoCategoryTypes3["UNKNOWN_VideoCategoryTypes"] = "UNKNOWN_VideoCategoryTypes";
|
|
447
|
+
VideoCategoryTypes3["VIDEO"] = "VIDEO";
|
|
448
|
+
VideoCategoryTypes3["VIDEO_TRANSPARENT"] = "VIDEO_TRANSPARENT";
|
|
449
|
+
VideoCategoryTypes3["VIDEO_OPAQUE"] = "VIDEO_OPAQUE";
|
|
450
|
+
})(VideoCategoryTypes || (VideoCategoryTypes = {}));
|
|
451
|
+
var NativeStateType;
|
|
452
|
+
(function(NativeStateType3) {
|
|
453
|
+
NativeStateType3["UNKNOWN_NativeStateType"] = "UNKNOWN_NativeStateType";
|
|
454
|
+
NativeStateType3["hover"] = "hover";
|
|
455
|
+
NativeStateType3["focus"] = "focus";
|
|
456
|
+
NativeStateType3["disabled"] = "disabled";
|
|
457
|
+
NativeStateType3["invalid"] = "invalid";
|
|
458
|
+
})(NativeStateType || (NativeStateType = {}));
|
|
459
|
+
var PanelContentType;
|
|
460
|
+
(function(PanelContentType3) {
|
|
461
|
+
PanelContentType3["UNKNOWN_PanelContentType"] = "UNKNOWN_PanelContentType";
|
|
462
|
+
PanelContentType3["url"] = "url";
|
|
463
|
+
PanelContentType3["code"] = "code";
|
|
464
|
+
})(PanelContentType || (PanelContentType = {}));
|
|
465
|
+
var PanelType;
|
|
466
|
+
(function(PanelType3) {
|
|
467
|
+
PanelType3["UNKNOWN_PanelType"] = "UNKNOWN_PanelType";
|
|
468
|
+
PanelType3["panelId"] = "panelId";
|
|
469
|
+
PanelType3["inline"] = "inline";
|
|
470
|
+
})(PanelType || (PanelType = {}));
|
|
471
|
+
var ResizeDirection;
|
|
472
|
+
(function(ResizeDirection3) {
|
|
473
|
+
ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
|
|
474
|
+
ResizeDirection3["horizontal"] = "horizontal";
|
|
475
|
+
ResizeDirection3["vertical"] = "vertical";
|
|
476
|
+
ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
477
|
+
ResizeDirection3["aspectRatio"] = "aspectRatio";
|
|
478
|
+
ResizeDirection3["none"] = "none";
|
|
479
|
+
})(ResizeDirection || (ResizeDirection = {}));
|
|
480
|
+
var SizingType;
|
|
481
|
+
(function(SizingType3) {
|
|
482
|
+
SizingType3["UNKNOWN_SizingType"] = "UNKNOWN_SizingType";
|
|
483
|
+
SizingType3["content"] = "content";
|
|
484
|
+
SizingType3["stretched"] = "stretched";
|
|
485
|
+
SizingType3["pixels"] = "pixels";
|
|
486
|
+
})(SizingType || (SizingType = {}));
|
|
487
|
+
var WritingModeValue;
|
|
488
|
+
(function(WritingModeValue3) {
|
|
489
|
+
WritingModeValue3["UNKNOWN_WritingModeValue"] = "UNKNOWN_WritingModeValue";
|
|
490
|
+
WritingModeValue3["horizontalTb"] = "horizontalTb";
|
|
491
|
+
WritingModeValue3["verticalRl"] = "verticalRl";
|
|
492
|
+
WritingModeValue3["verticalLr"] = "verticalLr";
|
|
493
|
+
WritingModeValue3["sidewaysRl"] = "sidewaysRl";
|
|
494
|
+
WritingModeValue3["sidewaysLr"] = "sidewaysLr";
|
|
495
|
+
})(WritingModeValue || (WritingModeValue = {}));
|
|
480
496
|
var OverrideType;
|
|
481
497
|
(function(OverrideType2) {
|
|
482
498
|
OverrideType2["UNKNOWN"] = "UNKNOWN";
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"registry": "https://registry.npmjs.org/",
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.10.0",
|
|
8
8
|
"description": "Schema constants and types for EditorReactComponent extension",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"main": "dist/index.js",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
14
|
"import": "./dist/index.js",
|
|
15
|
-
"types": "./dist/index.d.ts"
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"default": "./dist/index.js"
|
|
16
17
|
},
|
|
17
18
|
"./editor-react-types": {
|
|
18
19
|
"types": "./dist/editor-react-types.d.ts"
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
"devDependencies": {
|
|
35
36
|
"@types/node": "^20.0.0",
|
|
36
37
|
"@wix/ambassador-devcenter-components-overrides-v1-components-override": "^1.0.408",
|
|
37
|
-
"@wix/component-protocol": "1.
|
|
38
|
+
"@wix/component-protocol": "1.250.0",
|
|
38
39
|
"@wix/editor-react-types": "^1.0.20",
|
|
39
40
|
"@wix/wix-site-theme-variables": "^1.26.0",
|
|
40
41
|
"vite": "^7.3.2",
|
|
@@ -57,5 +58,5 @@
|
|
|
57
58
|
]
|
|
58
59
|
}
|
|
59
60
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
61
|
+
"falconPackageHash": "bde0c674e20305cca3d618a7a89df20055ce7385a669ceb654e1caa8"
|
|
61
62
|
}
|