@wix/form-public 0.200.0 → 0.201.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.cjs +158 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +158 -51
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -70,7 +70,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
70
70
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
71
71
|
|
|
72
72
|
// ../../node_modules/@wix/ambassador-forms-v4-form/es/build/types.impl.js
|
|
73
|
-
var Format, DayOfWeek, ValidationFormat, ProductType, PriceType, FieldFieldType, StringTypeFormatEnumFormat, InputFieldStringComponentType, NodeType, StylesBackgroundType, GradientType, WidthType, PluginContainerDataAlignment, Type, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, GIFType, Source, Position, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, ImageStylesPosition, AspectRatio, Resizing, Placement, CardStylesType, CardStylesAlignment, CardStylesLayout, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, Scaling, LayoutDataImagePosition, Origin, LayoutDataBackgroundType, BackdropType, VerticalAlignmentAlignment, ResponsivenessBehaviour, DesignTarget, ImageScalingScaling, ImagePositionPosition, CardDataBackgroundType, ImagePosition, AlignmentEnumAlignment, ImageFit, NumberOfColumns, FirstDayOfWeekEnumFirstDayOfWeek, InputFieldNumberComponentType, InputFieldBooleanComponentType, ArrayItemsItemType, PropertiesTypePropertiesTypeEnum, ArrayComponentType, InputFieldWixFileComponentType, UploadFileFormat, InputFieldPaymentComponentType, AddressComponentType, DefaultCountryConfigType, ObjectArrayComponentType, InputFieldSchedulingComponentType, AppointmentFormat, MeetingType, StaffStrategySelection, InputFieldInputType, FormFieldContactInfoEmailInfoTag, FormFieldContactInfoPhoneInfoTag, AddressInfoTag, ConfirmationLevel, SubscriptionChannel, FormFieldContactInfoContactField, DisplayFieldDisplayFieldType, OverrideEntityType, Kind, EmailInfoTag, PhoneInfoTag, Tag, OptInLevel, ContactField, SpamFilterProtectionLevel, RequiredIndicator, RequiredIndicatorPlacement, UrlTargetEnumTarget, SubmitSuccessAction, ChangeableProperty, OverrideEntityTypeEnumOverrideEntityType, Operator, ResultsDisplay, ContactAutofill, Fieldset, SortOrder, CountFormsFieldset, ListFormsOrderEnumListFormsOrder, FilterType, ListFormsOrder, ListDeletedFormsOrder, FieldInputType, WebhookIdentityType;
|
|
73
|
+
var Format, DayOfWeek, ValidationFormat, ProductType, PriceType, PropertiesTypeEnum, FieldFieldType, StringTypeFormatEnumFormat, InputFieldStringComponentType, NodeType, StylesBackgroundType, GradientType, WidthType, PluginContainerDataAlignment, Type, Target, TextAlignment, LineStyle, Width, Alignment, ViewMode, LayoutType, Orientation, Crop, ThumbnailsAlignment, GIFType, Source, Position, MapType, ViewRole, VoteRole, PollLayoutType, PollLayoutDirection, BackgroundType, DecorationType, FontType, ImageStylesPosition, AspectRatio, Resizing, Placement, CardStylesType, CardStylesAlignment, CardStylesLayout, AppType, InitialExpandedItems, Direction, VerticalAlignment, NullValue, Scaling, LayoutDataImagePosition, Origin, LayoutDataBackgroundType, BackdropType, VerticalAlignmentAlignment, ResponsivenessBehaviour, DesignTarget, ImageScalingScaling, ImagePositionPosition, CardDataBackgroundType, ListStyle, Indentation, ImagePosition, AlignmentEnumAlignment, ImageFit, NumberOfColumns, FirstDayOfWeekEnumFirstDayOfWeek, InputFieldNumberComponentType, InputFieldBooleanComponentType, ArrayItemsItemType, PropertiesTypePropertiesTypeEnum, ArrayComponentType, InputFieldWixFileComponentType, UploadFileFormat, InputFieldPaymentComponentType, AddressComponentType, DefaultCountryConfigType, ObjectArrayComponentType, InputFieldSchedulingComponentType, AppointmentFormat, MeetingType, StaffStrategySelection, InputFieldInputType, FormFieldContactInfoEmailInfoTag, FormFieldContactInfoPhoneInfoTag, AddressInfoTag, ConfirmationLevel, SubscriptionChannel, FormFieldContactInfoContactField, DisplayFieldDisplayFieldType, OverrideEntityType, Kind, EmailInfoTag, PhoneInfoTag, Tag, OptInLevel, ContactField, SpamFilterProtectionLevel, RequiredIndicator, RequiredIndicatorPlacement, UrlTargetEnumTarget, SubmitSuccessAction, ChangeableProperty, OverrideEntityTypeEnumOverrideEntityType, Operator, ResultsDisplay, ContactAutofill, Fieldset, SortOrder, CountFormsFieldset, ListFormsOrderEnumListFormsOrder, FilterType, ListFormsOrder, ListDeletedFormsOrder, FieldInputType, WebhookIdentityType;
|
|
74
74
|
var init_types_impl = __esm({
|
|
75
75
|
"../../node_modules/@wix/ambassador-forms-v4-form/es/build/types.impl.js"() {
|
|
76
76
|
(function(Format6) {
|
|
@@ -116,6 +116,12 @@ var init_types_impl = __esm({
|
|
|
116
116
|
PriceType5["FIXED_PRICE"] = "FIXED_PRICE";
|
|
117
117
|
PriceType5["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
118
118
|
})(PriceType || (PriceType = {}));
|
|
119
|
+
(function(PropertiesTypeEnum3) {
|
|
120
|
+
PropertiesTypeEnum3["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
|
|
121
|
+
PropertiesTypeEnum3["STRING"] = "STRING";
|
|
122
|
+
PropertiesTypeEnum3["NUMBER"] = "NUMBER";
|
|
123
|
+
PropertiesTypeEnum3["BOOLEAN"] = "BOOLEAN";
|
|
124
|
+
})(PropertiesTypeEnum || (PropertiesTypeEnum = {}));
|
|
119
125
|
(function(FieldFieldType3) {
|
|
120
126
|
FieldFieldType3["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
121
127
|
FieldFieldType3["INPUT"] = "INPUT";
|
|
@@ -186,14 +192,15 @@ var init_types_impl = __esm({
|
|
|
186
192
|
NodeType5["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
187
193
|
NodeType5["SHAPE"] = "SHAPE";
|
|
188
194
|
NodeType5["CARD"] = "CARD";
|
|
195
|
+
NodeType5["TOC"] = "TOC";
|
|
189
196
|
})(NodeType || (NodeType = {}));
|
|
190
|
-
(function(
|
|
191
|
-
|
|
192
|
-
|
|
197
|
+
(function(StylesBackgroundType3) {
|
|
198
|
+
StylesBackgroundType3["COLOR"] = "COLOR";
|
|
199
|
+
StylesBackgroundType3["GRADIENT"] = "GRADIENT";
|
|
193
200
|
})(StylesBackgroundType || (StylesBackgroundType = {}));
|
|
194
|
-
(function(
|
|
195
|
-
|
|
196
|
-
|
|
201
|
+
(function(GradientType3) {
|
|
202
|
+
GradientType3["LINEAR"] = "LINEAR";
|
|
203
|
+
GradientType3["RADIAL"] = "RADIAL";
|
|
197
204
|
})(GradientType || (GradientType = {}));
|
|
198
205
|
(function(WidthType5) {
|
|
199
206
|
WidthType5["CONTENT"] = "CONTENT";
|
|
@@ -279,6 +286,7 @@ var init_types_impl = __esm({
|
|
|
279
286
|
Source5["HTML"] = "HTML";
|
|
280
287
|
Source5["ADSENSE"] = "ADSENSE";
|
|
281
288
|
Source5["AI"] = "AI";
|
|
289
|
+
Source5["AI_WIDGET"] = "AI_WIDGET";
|
|
282
290
|
})(Source || (Source = {}));
|
|
283
291
|
(function(Position5) {
|
|
284
292
|
Position5["START"] = "START";
|
|
@@ -406,13 +414,13 @@ var init_types_impl = __esm({
|
|
|
406
414
|
Origin5["IMAGE"] = "IMAGE";
|
|
407
415
|
Origin5["LAYOUT"] = "LAYOUT";
|
|
408
416
|
})(Origin || (Origin = {}));
|
|
409
|
-
(function(
|
|
410
|
-
|
|
411
|
-
|
|
417
|
+
(function(LayoutDataBackgroundType3) {
|
|
418
|
+
LayoutDataBackgroundType3["COLOR"] = "COLOR";
|
|
419
|
+
LayoutDataBackgroundType3["GRADIENT"] = "GRADIENT";
|
|
412
420
|
})(LayoutDataBackgroundType || (LayoutDataBackgroundType = {}));
|
|
413
|
-
(function(
|
|
414
|
-
|
|
415
|
-
|
|
421
|
+
(function(BackdropType3) {
|
|
422
|
+
BackdropType3["COLOR"] = "COLOR";
|
|
423
|
+
BackdropType3["GRADIENT"] = "GRADIENT";
|
|
416
424
|
})(BackdropType || (BackdropType = {}));
|
|
417
425
|
(function(VerticalAlignmentAlignment5) {
|
|
418
426
|
VerticalAlignmentAlignment5["TOP"] = "TOP";
|
|
@@ -427,26 +435,39 @@ var init_types_impl = __esm({
|
|
|
427
435
|
DesignTarget5["LAYOUT"] = "LAYOUT";
|
|
428
436
|
DesignTarget5["CELL"] = "CELL";
|
|
429
437
|
})(DesignTarget || (DesignTarget = {}));
|
|
430
|
-
(function(
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
438
|
+
(function(ImageScalingScaling3) {
|
|
439
|
+
ImageScalingScaling3["AUTO"] = "AUTO";
|
|
440
|
+
ImageScalingScaling3["CONTAIN"] = "CONTAIN";
|
|
441
|
+
ImageScalingScaling3["COVER"] = "COVER";
|
|
434
442
|
})(ImageScalingScaling || (ImageScalingScaling = {}));
|
|
435
|
-
(function(
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
443
|
+
(function(ImagePositionPosition3) {
|
|
444
|
+
ImagePositionPosition3["CENTER"] = "CENTER";
|
|
445
|
+
ImagePositionPosition3["CENTER_LEFT"] = "CENTER_LEFT";
|
|
446
|
+
ImagePositionPosition3["CENTER_RIGHT"] = "CENTER_RIGHT";
|
|
447
|
+
ImagePositionPosition3["TOP"] = "TOP";
|
|
448
|
+
ImagePositionPosition3["TOP_LEFT"] = "TOP_LEFT";
|
|
449
|
+
ImagePositionPosition3["TOP_RIGHT"] = "TOP_RIGHT";
|
|
450
|
+
ImagePositionPosition3["BOTTOM"] = "BOTTOM";
|
|
451
|
+
ImagePositionPosition3["BOTTOM_LEFT"] = "BOTTOM_LEFT";
|
|
452
|
+
ImagePositionPosition3["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
445
453
|
})(ImagePositionPosition || (ImagePositionPosition = {}));
|
|
446
|
-
(function(
|
|
447
|
-
|
|
448
|
-
|
|
454
|
+
(function(CardDataBackgroundType3) {
|
|
455
|
+
CardDataBackgroundType3["COLOR"] = "COLOR";
|
|
456
|
+
CardDataBackgroundType3["GRADIENT"] = "GRADIENT";
|
|
449
457
|
})(CardDataBackgroundType || (CardDataBackgroundType = {}));
|
|
458
|
+
(function(ListStyle3) {
|
|
459
|
+
ListStyle3["PLAIN"] = "PLAIN";
|
|
460
|
+
ListStyle3["NUMBERED"] = "NUMBERED";
|
|
461
|
+
ListStyle3["LETTERS"] = "LETTERS";
|
|
462
|
+
ListStyle3["ROMAN"] = "ROMAN";
|
|
463
|
+
ListStyle3["BULLETED"] = "BULLETED";
|
|
464
|
+
ListStyle3["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
|
|
465
|
+
ListStyle3["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
|
|
466
|
+
})(ListStyle || (ListStyle = {}));
|
|
467
|
+
(function(Indentation3) {
|
|
468
|
+
Indentation3["NESTED"] = "NESTED";
|
|
469
|
+
Indentation3["FLAT"] = "FLAT";
|
|
470
|
+
})(Indentation || (Indentation = {}));
|
|
450
471
|
(function(ImagePosition5) {
|
|
451
472
|
ImagePosition5["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|
|
452
473
|
ImagePosition5["ABOVE"] = "ABOVE";
|
|
@@ -490,12 +511,12 @@ var init_types_impl = __esm({
|
|
|
490
511
|
ArrayItemsItemType3["BOOLEAN"] = "BOOLEAN";
|
|
491
512
|
ArrayItemsItemType3["OBJECT"] = "OBJECT";
|
|
492
513
|
})(ArrayItemsItemType || (ArrayItemsItemType = {}));
|
|
493
|
-
(function(
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
514
|
+
(function(PropertiesTypePropertiesTypeEnum4) {
|
|
515
|
+
PropertiesTypePropertiesTypeEnum4["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
|
|
516
|
+
PropertiesTypePropertiesTypeEnum4["STRING"] = "STRING";
|
|
517
|
+
PropertiesTypePropertiesTypeEnum4["NUMBER"] = "NUMBER";
|
|
518
|
+
PropertiesTypePropertiesTypeEnum4["BOOLEAN"] = "BOOLEAN";
|
|
519
|
+
PropertiesTypePropertiesTypeEnum4["ARRAY"] = "ARRAY";
|
|
499
520
|
})(PropertiesTypePropertiesTypeEnum || (PropertiesTypePropertiesTypeEnum = {}));
|
|
500
521
|
(function(ArrayComponentType3) {
|
|
501
522
|
ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
@@ -535,6 +556,7 @@ var init_types_impl = __esm({
|
|
|
535
556
|
(function(ObjectArrayComponentType4) {
|
|
536
557
|
ObjectArrayComponentType4["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
537
558
|
ObjectArrayComponentType4["REPEATER"] = "REPEATER";
|
|
559
|
+
ObjectArrayComponentType4["PIKACHU"] = "PIKACHU";
|
|
538
560
|
})(ObjectArrayComponentType || (ObjectArrayComponentType = {}));
|
|
539
561
|
(function(InputFieldSchedulingComponentType3) {
|
|
540
562
|
InputFieldSchedulingComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
@@ -5493,12 +5515,12 @@ var init_types_impl2 = __esm({
|
|
|
5493
5515
|
ArrayItemsItemType3["BOOLEAN"] = "BOOLEAN";
|
|
5494
5516
|
ArrayItemsItemType3["OBJECT"] = "OBJECT";
|
|
5495
5517
|
})(ArrayItemsItemType2 || (ArrayItemsItemType2 = {}));
|
|
5496
|
-
(function(
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5518
|
+
(function(PropertiesTypePropertiesTypeEnum4) {
|
|
5519
|
+
PropertiesTypePropertiesTypeEnum4["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
|
|
5520
|
+
PropertiesTypePropertiesTypeEnum4["STRING"] = "STRING";
|
|
5521
|
+
PropertiesTypePropertiesTypeEnum4["NUMBER"] = "NUMBER";
|
|
5522
|
+
PropertiesTypePropertiesTypeEnum4["BOOLEAN"] = "BOOLEAN";
|
|
5523
|
+
PropertiesTypePropertiesTypeEnum4["ARRAY"] = "ARRAY";
|
|
5502
5524
|
})(PropertiesTypePropertiesTypeEnum2 || (PropertiesTypePropertiesTypeEnum2 = {}));
|
|
5503
5525
|
(function(ArrayComponentType3) {
|
|
5504
5526
|
ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
@@ -25985,6 +26007,9 @@ var EVENTS_FIELD_TYPES = {
|
|
|
25985
26007
|
EVENTS_RSVP: "EVENTS_RSVP",
|
|
25986
26008
|
EVENTS_REPEATER: "EVENTS_REPEATER"
|
|
25987
26009
|
};
|
|
26010
|
+
var ENTITY_PICKER_FIELD_TYPES = {
|
|
26011
|
+
PIKACHU: "PIKACHU"
|
|
26012
|
+
};
|
|
25988
26013
|
var INPUT_FIELD_TYPES = {
|
|
25989
26014
|
...CONTACTS_FIELD_TYPES,
|
|
25990
26015
|
...QUIZ_FIELD_TYPES,
|
|
@@ -25994,7 +26019,8 @@ var INPUT_FIELD_TYPES = {
|
|
|
25994
26019
|
...BOOKINGS_FIELD_TYPES,
|
|
25995
26020
|
...PAYMENTS_FIELD_TYPES,
|
|
25996
26021
|
...COMMON_FIELD_TYPES,
|
|
25997
|
-
...EVENTS_FIELD_TYPES
|
|
26022
|
+
...EVENTS_FIELD_TYPES,
|
|
26023
|
+
...ENTITY_PICKER_FIELD_TYPES
|
|
25998
26024
|
};
|
|
25999
26025
|
|
|
26000
26026
|
// ../form-fields/dist/esm/constants/readonly-field-types.js
|
|
@@ -27261,6 +27287,7 @@ var FIELD_PROPS_MAPPERS = {
|
|
|
27261
27287
|
DONATION: DonationMapper,
|
|
27262
27288
|
EVENTS_RSVP: RadioGroupMapper,
|
|
27263
27289
|
EVENTS_REPEATER: TextMapper,
|
|
27290
|
+
PIKACHU: DefaultMapper,
|
|
27264
27291
|
FILE_UPLOAD: FileUploadMapper,
|
|
27265
27292
|
SIGNATURE: SignatureMapper,
|
|
27266
27293
|
RATING_INPUT: RatingInputMapper,
|
|
@@ -28666,7 +28693,19 @@ var NodeType4;
|
|
|
28666
28693
|
NodeType5["LAYOUT"] = "LAYOUT";
|
|
28667
28694
|
NodeType5["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
28668
28695
|
NodeType5["SHAPE"] = "SHAPE";
|
|
28696
|
+
NodeType5["CARD"] = "CARD";
|
|
28697
|
+
NodeType5["TOC"] = "TOC";
|
|
28669
28698
|
})(NodeType4 || (NodeType4 = {}));
|
|
28699
|
+
var StylesBackgroundType2;
|
|
28700
|
+
(function(StylesBackgroundType3) {
|
|
28701
|
+
StylesBackgroundType3["COLOR"] = "COLOR";
|
|
28702
|
+
StylesBackgroundType3["GRADIENT"] = "GRADIENT";
|
|
28703
|
+
})(StylesBackgroundType2 || (StylesBackgroundType2 = {}));
|
|
28704
|
+
var GradientType2;
|
|
28705
|
+
(function(GradientType3) {
|
|
28706
|
+
GradientType3["LINEAR"] = "LINEAR";
|
|
28707
|
+
GradientType3["RADIAL"] = "RADIAL";
|
|
28708
|
+
})(GradientType2 || (GradientType2 = {}));
|
|
28670
28709
|
var WidthType4;
|
|
28671
28710
|
(function(WidthType5) {
|
|
28672
28711
|
WidthType5["CONTENT"] = "CONTENT";
|
|
@@ -28766,6 +28805,7 @@ var Source4;
|
|
|
28766
28805
|
Source5["HTML"] = "HTML";
|
|
28767
28806
|
Source5["ADSENSE"] = "ADSENSE";
|
|
28768
28807
|
Source5["AI"] = "AI";
|
|
28808
|
+
Source5["AI_WIDGET"] = "AI_WIDGET";
|
|
28769
28809
|
})(Source4 || (Source4 = {}));
|
|
28770
28810
|
var Position4;
|
|
28771
28811
|
(function(Position5) {
|
|
@@ -28917,6 +28957,16 @@ var Origin4;
|
|
|
28917
28957
|
Origin5["IMAGE"] = "IMAGE";
|
|
28918
28958
|
Origin5["LAYOUT"] = "LAYOUT";
|
|
28919
28959
|
})(Origin4 || (Origin4 = {}));
|
|
28960
|
+
var LayoutDataBackgroundType2;
|
|
28961
|
+
(function(LayoutDataBackgroundType3) {
|
|
28962
|
+
LayoutDataBackgroundType3["COLOR"] = "COLOR";
|
|
28963
|
+
LayoutDataBackgroundType3["GRADIENT"] = "GRADIENT";
|
|
28964
|
+
})(LayoutDataBackgroundType2 || (LayoutDataBackgroundType2 = {}));
|
|
28965
|
+
var BackdropType2;
|
|
28966
|
+
(function(BackdropType3) {
|
|
28967
|
+
BackdropType3["COLOR"] = "COLOR";
|
|
28968
|
+
BackdropType3["GRADIENT"] = "GRADIENT";
|
|
28969
|
+
})(BackdropType2 || (BackdropType2 = {}));
|
|
28920
28970
|
var VerticalAlignmentAlignment4;
|
|
28921
28971
|
(function(VerticalAlignmentAlignment5) {
|
|
28922
28972
|
VerticalAlignmentAlignment5["TOP"] = "TOP";
|
|
@@ -28933,6 +28983,44 @@ var DesignTarget4;
|
|
|
28933
28983
|
DesignTarget5["LAYOUT"] = "LAYOUT";
|
|
28934
28984
|
DesignTarget5["CELL"] = "CELL";
|
|
28935
28985
|
})(DesignTarget4 || (DesignTarget4 = {}));
|
|
28986
|
+
var ImageScalingScaling2;
|
|
28987
|
+
(function(ImageScalingScaling3) {
|
|
28988
|
+
ImageScalingScaling3["AUTO"] = "AUTO";
|
|
28989
|
+
ImageScalingScaling3["CONTAIN"] = "CONTAIN";
|
|
28990
|
+
ImageScalingScaling3["COVER"] = "COVER";
|
|
28991
|
+
})(ImageScalingScaling2 || (ImageScalingScaling2 = {}));
|
|
28992
|
+
var ImagePositionPosition2;
|
|
28993
|
+
(function(ImagePositionPosition3) {
|
|
28994
|
+
ImagePositionPosition3["CENTER"] = "CENTER";
|
|
28995
|
+
ImagePositionPosition3["CENTER_LEFT"] = "CENTER_LEFT";
|
|
28996
|
+
ImagePositionPosition3["CENTER_RIGHT"] = "CENTER_RIGHT";
|
|
28997
|
+
ImagePositionPosition3["TOP"] = "TOP";
|
|
28998
|
+
ImagePositionPosition3["TOP_LEFT"] = "TOP_LEFT";
|
|
28999
|
+
ImagePositionPosition3["TOP_RIGHT"] = "TOP_RIGHT";
|
|
29000
|
+
ImagePositionPosition3["BOTTOM"] = "BOTTOM";
|
|
29001
|
+
ImagePositionPosition3["BOTTOM_LEFT"] = "BOTTOM_LEFT";
|
|
29002
|
+
ImagePositionPosition3["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
|
|
29003
|
+
})(ImagePositionPosition2 || (ImagePositionPosition2 = {}));
|
|
29004
|
+
var CardDataBackgroundType2;
|
|
29005
|
+
(function(CardDataBackgroundType3) {
|
|
29006
|
+
CardDataBackgroundType3["COLOR"] = "COLOR";
|
|
29007
|
+
CardDataBackgroundType3["GRADIENT"] = "GRADIENT";
|
|
29008
|
+
})(CardDataBackgroundType2 || (CardDataBackgroundType2 = {}));
|
|
29009
|
+
var ListStyle2;
|
|
29010
|
+
(function(ListStyle3) {
|
|
29011
|
+
ListStyle3["PLAIN"] = "PLAIN";
|
|
29012
|
+
ListStyle3["NUMBERED"] = "NUMBERED";
|
|
29013
|
+
ListStyle3["LETTERS"] = "LETTERS";
|
|
29014
|
+
ListStyle3["ROMAN"] = "ROMAN";
|
|
29015
|
+
ListStyle3["BULLETED"] = "BULLETED";
|
|
29016
|
+
ListStyle3["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
|
|
29017
|
+
ListStyle3["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
|
|
29018
|
+
})(ListStyle2 || (ListStyle2 = {}));
|
|
29019
|
+
var Indentation2;
|
|
29020
|
+
(function(Indentation3) {
|
|
29021
|
+
Indentation3["NESTED"] = "NESTED";
|
|
29022
|
+
Indentation3["FLAT"] = "FLAT";
|
|
29023
|
+
})(Indentation2 || (Indentation2 = {}));
|
|
28936
29024
|
var ImagePosition4;
|
|
28937
29025
|
(function(ImagePosition5) {
|
|
28938
29026
|
ImagePosition5["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|
|
@@ -28984,14 +29072,14 @@ var ItemType;
|
|
|
28984
29072
|
ItemType2["BOOLEAN"] = "BOOLEAN";
|
|
28985
29073
|
ItemType2["OBJECT"] = "OBJECT";
|
|
28986
29074
|
})(ItemType || (ItemType = {}));
|
|
28987
|
-
var
|
|
28988
|
-
(function(
|
|
28989
|
-
|
|
28990
|
-
|
|
28991
|
-
|
|
28992
|
-
|
|
28993
|
-
|
|
28994
|
-
})(
|
|
29075
|
+
var PropertiesTypeEnum2;
|
|
29076
|
+
(function(PropertiesTypeEnum3) {
|
|
29077
|
+
PropertiesTypeEnum3["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
|
|
29078
|
+
PropertiesTypeEnum3["STRING"] = "STRING";
|
|
29079
|
+
PropertiesTypeEnum3["NUMBER"] = "NUMBER";
|
|
29080
|
+
PropertiesTypeEnum3["BOOLEAN"] = "BOOLEAN";
|
|
29081
|
+
PropertiesTypeEnum3["ARRAY"] = "ARRAY";
|
|
29082
|
+
})(PropertiesTypeEnum2 || (PropertiesTypeEnum2 = {}));
|
|
28995
29083
|
var ComponentType;
|
|
28996
29084
|
(function(ComponentType2) {
|
|
28997
29085
|
ComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
@@ -29049,7 +29137,15 @@ var ObjectArrayComponentType3;
|
|
|
29049
29137
|
(function(ObjectArrayComponentType4) {
|
|
29050
29138
|
ObjectArrayComponentType4["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
29051
29139
|
ObjectArrayComponentType4["REPEATER"] = "REPEATER";
|
|
29140
|
+
ObjectArrayComponentType4["PIKACHU"] = "PIKACHU";
|
|
29052
29141
|
})(ObjectArrayComponentType3 || (ObjectArrayComponentType3 = {}));
|
|
29142
|
+
var PropertiesTypePropertiesTypeEnum3;
|
|
29143
|
+
(function(PropertiesTypePropertiesTypeEnum4) {
|
|
29144
|
+
PropertiesTypePropertiesTypeEnum4["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
|
|
29145
|
+
PropertiesTypePropertiesTypeEnum4["STRING"] = "STRING";
|
|
29146
|
+
PropertiesTypePropertiesTypeEnum4["NUMBER"] = "NUMBER";
|
|
29147
|
+
PropertiesTypePropertiesTypeEnum4["BOOLEAN"] = "BOOLEAN";
|
|
29148
|
+
})(PropertiesTypePropertiesTypeEnum3 || (PropertiesTypePropertiesTypeEnum3 = {}));
|
|
29053
29149
|
var SchedulingComponentType;
|
|
29054
29150
|
(function(SchedulingComponentType2) {
|
|
29055
29151
|
SchedulingComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
@@ -30879,6 +30975,7 @@ var DEFAULT_VALUE = {
|
|
|
30879
30975
|
[FIELD_TYPES.SERVICES_MULTI_CHOICE]: resolveDefaultValue,
|
|
30880
30976
|
[FIELD_TYPES.EVENTS_RSVP]: resolveDefaultValue,
|
|
30881
30977
|
[FIELD_TYPES.EVENTS_REPEATER]: resolveDefaultValue,
|
|
30978
|
+
[FIELD_TYPES.PIKACHU]: resolveDefaultValue,
|
|
30882
30979
|
[FIELD_TYPES.PHONE]: resolveDefaultValue
|
|
30883
30980
|
};
|
|
30884
30981
|
function resolveDefaultValue(field) {
|
|
@@ -31079,6 +31176,7 @@ var ADDITIONAL_FIELD_VALIDATION = {
|
|
|
31079
31176
|
[FIELD_TYPES.SERVICES_MULTI_CHOICE]: null,
|
|
31080
31177
|
[FIELD_TYPES.EVENTS_RSVP]: null,
|
|
31081
31178
|
[FIELD_TYPES.EVENTS_REPEATER]: null,
|
|
31179
|
+
[FIELD_TYPES.PIKACHU]: null,
|
|
31082
31180
|
[FIELD_TYPES.IMAGE_CHOICE]: null,
|
|
31083
31181
|
[FIELD_TYPES.PHONE]: null
|
|
31084
31182
|
};
|
|
@@ -32632,12 +32730,19 @@ var NORMALIZED_VALUE = {
|
|
|
32632
32730
|
[FIELD_TYPES.SERVICES_MULTI_CHOICE]: removeInvalidOptions,
|
|
32633
32731
|
[FIELD_TYPES.EVENTS_RSVP]: acceptOnlyValidOptionByValue,
|
|
32634
32732
|
[FIELD_TYPES.EVENTS_REPEATER]: normalizeRepeater,
|
|
32733
|
+
[FIELD_TYPES.PIKACHU]: acceptObjectArrayValue,
|
|
32635
32734
|
[FIELD_TYPES.IMAGE_CHOICE]: removeInvalidOptions,
|
|
32636
32735
|
[FIELD_TYPES.PHONE]: acceptPhoneValue
|
|
32637
32736
|
};
|
|
32638
32737
|
function keepValueUnchanged({ fieldValue }) {
|
|
32639
32738
|
return fieldValue;
|
|
32640
32739
|
}
|
|
32740
|
+
function acceptObjectArrayValue({ fieldValue }) {
|
|
32741
|
+
if (fieldValue === EMPTY_VALUE) {
|
|
32742
|
+
return fieldValue;
|
|
32743
|
+
}
|
|
32744
|
+
return Array.isArray(fieldValue) ? fieldValue : EMPTY_VALUE;
|
|
32745
|
+
}
|
|
32641
32746
|
function acceptPhoneValue({ fieldValue }) {
|
|
32642
32747
|
const isEmptyValue = fieldValue === EMPTY_VALUE;
|
|
32643
32748
|
if (isEmptyValue) {
|
|
@@ -33527,6 +33632,8 @@ var FIELD_TYPE_MAP = {
|
|
|
33527
33632
|
SUBMIT_BUTTON: "SUBMIT_BUTTON",
|
|
33528
33633
|
SERVICES_MULTI_CHOICE: "CHECKBOX_GROUP",
|
|
33529
33634
|
IMAGE_CHOICE: "IMAGE_CHOICE",
|
|
33635
|
+
// ENTITY_PICKER_FIELD_TYPES
|
|
33636
|
+
PIKACHU: "TEXT_INPUT",
|
|
33530
33637
|
// fields that have not been implemented
|
|
33531
33638
|
NESTED_FORM: "TEXT_INPUT",
|
|
33532
33639
|
PASSWORD: "TEXT_INPUT",
|