@wix/form-public 0.199.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 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(StylesBackgroundType2) {
191
- StylesBackgroundType2["COLOR"] = "COLOR";
192
- StylesBackgroundType2["GRADIENT"] = "GRADIENT";
197
+ (function(StylesBackgroundType3) {
198
+ StylesBackgroundType3["COLOR"] = "COLOR";
199
+ StylesBackgroundType3["GRADIENT"] = "GRADIENT";
193
200
  })(StylesBackgroundType || (StylesBackgroundType = {}));
194
- (function(GradientType2) {
195
- GradientType2["LINEAR"] = "LINEAR";
196
- GradientType2["RADIAL"] = "RADIAL";
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(LayoutDataBackgroundType2) {
410
- LayoutDataBackgroundType2["COLOR"] = "COLOR";
411
- LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
417
+ (function(LayoutDataBackgroundType3) {
418
+ LayoutDataBackgroundType3["COLOR"] = "COLOR";
419
+ LayoutDataBackgroundType3["GRADIENT"] = "GRADIENT";
412
420
  })(LayoutDataBackgroundType || (LayoutDataBackgroundType = {}));
413
- (function(BackdropType2) {
414
- BackdropType2["COLOR"] = "COLOR";
415
- BackdropType2["GRADIENT"] = "GRADIENT";
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(ImageScalingScaling2) {
431
- ImageScalingScaling2["AUTO"] = "AUTO";
432
- ImageScalingScaling2["CONTAIN"] = "CONTAIN";
433
- ImageScalingScaling2["COVER"] = "COVER";
438
+ (function(ImageScalingScaling3) {
439
+ ImageScalingScaling3["AUTO"] = "AUTO";
440
+ ImageScalingScaling3["CONTAIN"] = "CONTAIN";
441
+ ImageScalingScaling3["COVER"] = "COVER";
434
442
  })(ImageScalingScaling || (ImageScalingScaling = {}));
435
- (function(ImagePositionPosition2) {
436
- ImagePositionPosition2["CENTER"] = "CENTER";
437
- ImagePositionPosition2["CENTER_LEFT"] = "CENTER_LEFT";
438
- ImagePositionPosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
439
- ImagePositionPosition2["TOP"] = "TOP";
440
- ImagePositionPosition2["TOP_LEFT"] = "TOP_LEFT";
441
- ImagePositionPosition2["TOP_RIGHT"] = "TOP_RIGHT";
442
- ImagePositionPosition2["BOTTOM"] = "BOTTOM";
443
- ImagePositionPosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
444
- ImagePositionPosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
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(CardDataBackgroundType2) {
447
- CardDataBackgroundType2["COLOR"] = "COLOR";
448
- CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
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(PropertiesTypePropertiesTypeEnum3) {
494
- PropertiesTypePropertiesTypeEnum3["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
495
- PropertiesTypePropertiesTypeEnum3["STRING"] = "STRING";
496
- PropertiesTypePropertiesTypeEnum3["NUMBER"] = "NUMBER";
497
- PropertiesTypePropertiesTypeEnum3["BOOLEAN"] = "BOOLEAN";
498
- PropertiesTypePropertiesTypeEnum3["ARRAY"] = "ARRAY";
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(PropertiesTypePropertiesTypeEnum3) {
5497
- PropertiesTypePropertiesTypeEnum3["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
5498
- PropertiesTypePropertiesTypeEnum3["STRING"] = "STRING";
5499
- PropertiesTypePropertiesTypeEnum3["NUMBER"] = "NUMBER";
5500
- PropertiesTypePropertiesTypeEnum3["BOOLEAN"] = "BOOLEAN";
5501
- PropertiesTypePropertiesTypeEnum3["ARRAY"] = "ARRAY";
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";
@@ -22306,6 +22328,7 @@ var require_messages_en = __commonJS({
22306
22328
  "dext-url-input.input.error.message.required-error": "Enter a web URL like https://www.example.com.",
22307
22329
  "contacts-date-input.input.error.message.format-error": "Enter a month, day and year.",
22308
22330
  "signature.input.error.message.required-error.with-upload": "Sign in the box above or upload your signature.",
22331
+ "forms.widget.modals.show-password-tooltip": "Show password",
22309
22332
  "contacts-phone.input.error.message.required-error": "Enter a phone number.",
22310
22333
  "field.phone.country-selector-button.aria-label": "Select a country code",
22311
22334
  "field-context-menu.move-up": "Move up",
@@ -22351,7 +22374,9 @@ var require_messages_en = __commonJS({
22351
22374
  "bookings-phone.input.error.message.required-error": "Enter a phone number.",
22352
22375
  "form.file-upload.explanation-text": "{count, plural, =1 {# file} other {# files}} uploaded",
22353
22376
  "settings.scheduling.meeting-type.info-icon.intro": "How hosts are assigned:",
22377
+ "pikachu.input.error.message.required-error": "Choose an option.",
22354
22378
  "contacts-last-name.input.error.message.required-error": "Enter a last name.",
22379
+ "forms.widget.modals.hide-password-tooltip": "Hide password",
22355
22380
  "field.signature.mode.selector.aria-label": "Signature input mode",
22356
22381
  "phone.input.error.message.not-allowed-value": "Phone numbers with this country code aren't accepted.",
22357
22382
  "field.signature.mode.draw.label": "Draw",
@@ -25982,6 +26007,9 @@ var EVENTS_FIELD_TYPES = {
25982
26007
  EVENTS_RSVP: "EVENTS_RSVP",
25983
26008
  EVENTS_REPEATER: "EVENTS_REPEATER"
25984
26009
  };
26010
+ var ENTITY_PICKER_FIELD_TYPES = {
26011
+ PIKACHU: "PIKACHU"
26012
+ };
25985
26013
  var INPUT_FIELD_TYPES = {
25986
26014
  ...CONTACTS_FIELD_TYPES,
25987
26015
  ...QUIZ_FIELD_TYPES,
@@ -25991,7 +26019,8 @@ var INPUT_FIELD_TYPES = {
25991
26019
  ...BOOKINGS_FIELD_TYPES,
25992
26020
  ...PAYMENTS_FIELD_TYPES,
25993
26021
  ...COMMON_FIELD_TYPES,
25994
- ...EVENTS_FIELD_TYPES
26022
+ ...EVENTS_FIELD_TYPES,
26023
+ ...ENTITY_PICKER_FIELD_TYPES
25995
26024
  };
25996
26025
 
25997
26026
  // ../form-fields/dist/esm/constants/readonly-field-types.js
@@ -27258,6 +27287,7 @@ var FIELD_PROPS_MAPPERS = {
27258
27287
  DONATION: DonationMapper,
27259
27288
  EVENTS_RSVP: RadioGroupMapper,
27260
27289
  EVENTS_REPEATER: TextMapper,
27290
+ PIKACHU: DefaultMapper,
27261
27291
  FILE_UPLOAD: FileUploadMapper,
27262
27292
  SIGNATURE: SignatureMapper,
27263
27293
  RATING_INPUT: RatingInputMapper,
@@ -28663,7 +28693,19 @@ var NodeType4;
28663
28693
  NodeType5["LAYOUT"] = "LAYOUT";
28664
28694
  NodeType5["LAYOUT_CELL"] = "LAYOUT_CELL";
28665
28695
  NodeType5["SHAPE"] = "SHAPE";
28696
+ NodeType5["CARD"] = "CARD";
28697
+ NodeType5["TOC"] = "TOC";
28666
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 = {}));
28667
28709
  var WidthType4;
28668
28710
  (function(WidthType5) {
28669
28711
  WidthType5["CONTENT"] = "CONTENT";
@@ -28763,6 +28805,7 @@ var Source4;
28763
28805
  Source5["HTML"] = "HTML";
28764
28806
  Source5["ADSENSE"] = "ADSENSE";
28765
28807
  Source5["AI"] = "AI";
28808
+ Source5["AI_WIDGET"] = "AI_WIDGET";
28766
28809
  })(Source4 || (Source4 = {}));
28767
28810
  var Position4;
28768
28811
  (function(Position5) {
@@ -28914,6 +28957,16 @@ var Origin4;
28914
28957
  Origin5["IMAGE"] = "IMAGE";
28915
28958
  Origin5["LAYOUT"] = "LAYOUT";
28916
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 = {}));
28917
28970
  var VerticalAlignmentAlignment4;
28918
28971
  (function(VerticalAlignmentAlignment5) {
28919
28972
  VerticalAlignmentAlignment5["TOP"] = "TOP";
@@ -28930,6 +28983,44 @@ var DesignTarget4;
28930
28983
  DesignTarget5["LAYOUT"] = "LAYOUT";
28931
28984
  DesignTarget5["CELL"] = "CELL";
28932
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 = {}));
28933
29024
  var ImagePosition4;
28934
29025
  (function(ImagePosition5) {
28935
29026
  ImagePosition5["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
@@ -28981,14 +29072,14 @@ var ItemType;
28981
29072
  ItemType2["BOOLEAN"] = "BOOLEAN";
28982
29073
  ItemType2["OBJECT"] = "OBJECT";
28983
29074
  })(ItemType || (ItemType = {}));
28984
- var PropertiesTypeEnum;
28985
- (function(PropertiesTypeEnum2) {
28986
- PropertiesTypeEnum2["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
28987
- PropertiesTypeEnum2["STRING"] = "STRING";
28988
- PropertiesTypeEnum2["NUMBER"] = "NUMBER";
28989
- PropertiesTypeEnum2["BOOLEAN"] = "BOOLEAN";
28990
- PropertiesTypeEnum2["ARRAY"] = "ARRAY";
28991
- })(PropertiesTypeEnum || (PropertiesTypeEnum = {}));
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 = {}));
28992
29083
  var ComponentType;
28993
29084
  (function(ComponentType2) {
28994
29085
  ComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
@@ -29046,7 +29137,15 @@ var ObjectArrayComponentType3;
29046
29137
  (function(ObjectArrayComponentType4) {
29047
29138
  ObjectArrayComponentType4["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
29048
29139
  ObjectArrayComponentType4["REPEATER"] = "REPEATER";
29140
+ ObjectArrayComponentType4["PIKACHU"] = "PIKACHU";
29049
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 = {}));
29050
29149
  var SchedulingComponentType;
29051
29150
  (function(SchedulingComponentType2) {
29052
29151
  SchedulingComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
@@ -30876,6 +30975,7 @@ var DEFAULT_VALUE = {
30876
30975
  [FIELD_TYPES.SERVICES_MULTI_CHOICE]: resolveDefaultValue,
30877
30976
  [FIELD_TYPES.EVENTS_RSVP]: resolveDefaultValue,
30878
30977
  [FIELD_TYPES.EVENTS_REPEATER]: resolveDefaultValue,
30978
+ [FIELD_TYPES.PIKACHU]: resolveDefaultValue,
30879
30979
  [FIELD_TYPES.PHONE]: resolveDefaultValue
30880
30980
  };
30881
30981
  function resolveDefaultValue(field) {
@@ -31076,6 +31176,7 @@ var ADDITIONAL_FIELD_VALIDATION = {
31076
31176
  [FIELD_TYPES.SERVICES_MULTI_CHOICE]: null,
31077
31177
  [FIELD_TYPES.EVENTS_RSVP]: null,
31078
31178
  [FIELD_TYPES.EVENTS_REPEATER]: null,
31179
+ [FIELD_TYPES.PIKACHU]: null,
31079
31180
  [FIELD_TYPES.IMAGE_CHOICE]: null,
31080
31181
  [FIELD_TYPES.PHONE]: null
31081
31182
  };
@@ -32629,12 +32730,19 @@ var NORMALIZED_VALUE = {
32629
32730
  [FIELD_TYPES.SERVICES_MULTI_CHOICE]: removeInvalidOptions,
32630
32731
  [FIELD_TYPES.EVENTS_RSVP]: acceptOnlyValidOptionByValue,
32631
32732
  [FIELD_TYPES.EVENTS_REPEATER]: normalizeRepeater,
32733
+ [FIELD_TYPES.PIKACHU]: acceptObjectArrayValue,
32632
32734
  [FIELD_TYPES.IMAGE_CHOICE]: removeInvalidOptions,
32633
32735
  [FIELD_TYPES.PHONE]: acceptPhoneValue
32634
32736
  };
32635
32737
  function keepValueUnchanged({ fieldValue }) {
32636
32738
  return fieldValue;
32637
32739
  }
32740
+ function acceptObjectArrayValue({ fieldValue }) {
32741
+ if (fieldValue === EMPTY_VALUE) {
32742
+ return fieldValue;
32743
+ }
32744
+ return Array.isArray(fieldValue) ? fieldValue : EMPTY_VALUE;
32745
+ }
32638
32746
  function acceptPhoneValue({ fieldValue }) {
32639
32747
  const isEmptyValue = fieldValue === EMPTY_VALUE;
32640
32748
  if (isEmptyValue) {
@@ -33524,6 +33632,8 @@ var FIELD_TYPE_MAP = {
33524
33632
  SUBMIT_BUTTON: "SUBMIT_BUTTON",
33525
33633
  SERVICES_MULTI_CHOICE: "CHECKBOX_GROUP",
33526
33634
  IMAGE_CHOICE: "IMAGE_CHOICE",
33635
+ // ENTITY_PICKER_FIELD_TYPES
33636
+ PIKACHU: "TEXT_INPUT",
33527
33637
  // fields that have not been implemented
33528
33638
  NESTED_FORM: "TEXT_INPUT",
33529
33639
  PASSWORD: "TEXT_INPUT",