@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.js CHANGED
@@ -44,7 +44,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
44
44
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
45
45
 
46
46
  // ../../node_modules/@wix/ambassador-forms-v4-form/es/build/types.impl.js
47
- 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;
47
+ 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;
48
48
  var init_types_impl = __esm({
49
49
  "../../node_modules/@wix/ambassador-forms-v4-form/es/build/types.impl.js"() {
50
50
  (function(Format6) {
@@ -90,6 +90,12 @@ var init_types_impl = __esm({
90
90
  PriceType5["FIXED_PRICE"] = "FIXED_PRICE";
91
91
  PriceType5["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
92
92
  })(PriceType || (PriceType = {}));
93
+ (function(PropertiesTypeEnum3) {
94
+ PropertiesTypeEnum3["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
95
+ PropertiesTypeEnum3["STRING"] = "STRING";
96
+ PropertiesTypeEnum3["NUMBER"] = "NUMBER";
97
+ PropertiesTypeEnum3["BOOLEAN"] = "BOOLEAN";
98
+ })(PropertiesTypeEnum || (PropertiesTypeEnum = {}));
93
99
  (function(FieldFieldType3) {
94
100
  FieldFieldType3["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
95
101
  FieldFieldType3["INPUT"] = "INPUT";
@@ -160,14 +166,15 @@ var init_types_impl = __esm({
160
166
  NodeType5["LAYOUT_CELL"] = "LAYOUT_CELL";
161
167
  NodeType5["SHAPE"] = "SHAPE";
162
168
  NodeType5["CARD"] = "CARD";
169
+ NodeType5["TOC"] = "TOC";
163
170
  })(NodeType || (NodeType = {}));
164
- (function(StylesBackgroundType2) {
165
- StylesBackgroundType2["COLOR"] = "COLOR";
166
- StylesBackgroundType2["GRADIENT"] = "GRADIENT";
171
+ (function(StylesBackgroundType3) {
172
+ StylesBackgroundType3["COLOR"] = "COLOR";
173
+ StylesBackgroundType3["GRADIENT"] = "GRADIENT";
167
174
  })(StylesBackgroundType || (StylesBackgroundType = {}));
168
- (function(GradientType2) {
169
- GradientType2["LINEAR"] = "LINEAR";
170
- GradientType2["RADIAL"] = "RADIAL";
175
+ (function(GradientType3) {
176
+ GradientType3["LINEAR"] = "LINEAR";
177
+ GradientType3["RADIAL"] = "RADIAL";
171
178
  })(GradientType || (GradientType = {}));
172
179
  (function(WidthType5) {
173
180
  WidthType5["CONTENT"] = "CONTENT";
@@ -253,6 +260,7 @@ var init_types_impl = __esm({
253
260
  Source5["HTML"] = "HTML";
254
261
  Source5["ADSENSE"] = "ADSENSE";
255
262
  Source5["AI"] = "AI";
263
+ Source5["AI_WIDGET"] = "AI_WIDGET";
256
264
  })(Source || (Source = {}));
257
265
  (function(Position5) {
258
266
  Position5["START"] = "START";
@@ -380,13 +388,13 @@ var init_types_impl = __esm({
380
388
  Origin5["IMAGE"] = "IMAGE";
381
389
  Origin5["LAYOUT"] = "LAYOUT";
382
390
  })(Origin || (Origin = {}));
383
- (function(LayoutDataBackgroundType2) {
384
- LayoutDataBackgroundType2["COLOR"] = "COLOR";
385
- LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
391
+ (function(LayoutDataBackgroundType3) {
392
+ LayoutDataBackgroundType3["COLOR"] = "COLOR";
393
+ LayoutDataBackgroundType3["GRADIENT"] = "GRADIENT";
386
394
  })(LayoutDataBackgroundType || (LayoutDataBackgroundType = {}));
387
- (function(BackdropType2) {
388
- BackdropType2["COLOR"] = "COLOR";
389
- BackdropType2["GRADIENT"] = "GRADIENT";
395
+ (function(BackdropType3) {
396
+ BackdropType3["COLOR"] = "COLOR";
397
+ BackdropType3["GRADIENT"] = "GRADIENT";
390
398
  })(BackdropType || (BackdropType = {}));
391
399
  (function(VerticalAlignmentAlignment5) {
392
400
  VerticalAlignmentAlignment5["TOP"] = "TOP";
@@ -401,26 +409,39 @@ var init_types_impl = __esm({
401
409
  DesignTarget5["LAYOUT"] = "LAYOUT";
402
410
  DesignTarget5["CELL"] = "CELL";
403
411
  })(DesignTarget || (DesignTarget = {}));
404
- (function(ImageScalingScaling2) {
405
- ImageScalingScaling2["AUTO"] = "AUTO";
406
- ImageScalingScaling2["CONTAIN"] = "CONTAIN";
407
- ImageScalingScaling2["COVER"] = "COVER";
412
+ (function(ImageScalingScaling3) {
413
+ ImageScalingScaling3["AUTO"] = "AUTO";
414
+ ImageScalingScaling3["CONTAIN"] = "CONTAIN";
415
+ ImageScalingScaling3["COVER"] = "COVER";
408
416
  })(ImageScalingScaling || (ImageScalingScaling = {}));
409
- (function(ImagePositionPosition2) {
410
- ImagePositionPosition2["CENTER"] = "CENTER";
411
- ImagePositionPosition2["CENTER_LEFT"] = "CENTER_LEFT";
412
- ImagePositionPosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
413
- ImagePositionPosition2["TOP"] = "TOP";
414
- ImagePositionPosition2["TOP_LEFT"] = "TOP_LEFT";
415
- ImagePositionPosition2["TOP_RIGHT"] = "TOP_RIGHT";
416
- ImagePositionPosition2["BOTTOM"] = "BOTTOM";
417
- ImagePositionPosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
418
- ImagePositionPosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
417
+ (function(ImagePositionPosition3) {
418
+ ImagePositionPosition3["CENTER"] = "CENTER";
419
+ ImagePositionPosition3["CENTER_LEFT"] = "CENTER_LEFT";
420
+ ImagePositionPosition3["CENTER_RIGHT"] = "CENTER_RIGHT";
421
+ ImagePositionPosition3["TOP"] = "TOP";
422
+ ImagePositionPosition3["TOP_LEFT"] = "TOP_LEFT";
423
+ ImagePositionPosition3["TOP_RIGHT"] = "TOP_RIGHT";
424
+ ImagePositionPosition3["BOTTOM"] = "BOTTOM";
425
+ ImagePositionPosition3["BOTTOM_LEFT"] = "BOTTOM_LEFT";
426
+ ImagePositionPosition3["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
419
427
  })(ImagePositionPosition || (ImagePositionPosition = {}));
420
- (function(CardDataBackgroundType2) {
421
- CardDataBackgroundType2["COLOR"] = "COLOR";
422
- CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
428
+ (function(CardDataBackgroundType3) {
429
+ CardDataBackgroundType3["COLOR"] = "COLOR";
430
+ CardDataBackgroundType3["GRADIENT"] = "GRADIENT";
423
431
  })(CardDataBackgroundType || (CardDataBackgroundType = {}));
432
+ (function(ListStyle3) {
433
+ ListStyle3["PLAIN"] = "PLAIN";
434
+ ListStyle3["NUMBERED"] = "NUMBERED";
435
+ ListStyle3["LETTERS"] = "LETTERS";
436
+ ListStyle3["ROMAN"] = "ROMAN";
437
+ ListStyle3["BULLETED"] = "BULLETED";
438
+ ListStyle3["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
439
+ ListStyle3["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
440
+ })(ListStyle || (ListStyle = {}));
441
+ (function(Indentation3) {
442
+ Indentation3["NESTED"] = "NESTED";
443
+ Indentation3["FLAT"] = "FLAT";
444
+ })(Indentation || (Indentation = {}));
424
445
  (function(ImagePosition5) {
425
446
  ImagePosition5["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
426
447
  ImagePosition5["ABOVE"] = "ABOVE";
@@ -464,12 +485,12 @@ var init_types_impl = __esm({
464
485
  ArrayItemsItemType3["BOOLEAN"] = "BOOLEAN";
465
486
  ArrayItemsItemType3["OBJECT"] = "OBJECT";
466
487
  })(ArrayItemsItemType || (ArrayItemsItemType = {}));
467
- (function(PropertiesTypePropertiesTypeEnum3) {
468
- PropertiesTypePropertiesTypeEnum3["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
469
- PropertiesTypePropertiesTypeEnum3["STRING"] = "STRING";
470
- PropertiesTypePropertiesTypeEnum3["NUMBER"] = "NUMBER";
471
- PropertiesTypePropertiesTypeEnum3["BOOLEAN"] = "BOOLEAN";
472
- PropertiesTypePropertiesTypeEnum3["ARRAY"] = "ARRAY";
488
+ (function(PropertiesTypePropertiesTypeEnum4) {
489
+ PropertiesTypePropertiesTypeEnum4["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
490
+ PropertiesTypePropertiesTypeEnum4["STRING"] = "STRING";
491
+ PropertiesTypePropertiesTypeEnum4["NUMBER"] = "NUMBER";
492
+ PropertiesTypePropertiesTypeEnum4["BOOLEAN"] = "BOOLEAN";
493
+ PropertiesTypePropertiesTypeEnum4["ARRAY"] = "ARRAY";
473
494
  })(PropertiesTypePropertiesTypeEnum || (PropertiesTypePropertiesTypeEnum = {}));
474
495
  (function(ArrayComponentType3) {
475
496
  ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
@@ -509,6 +530,7 @@ var init_types_impl = __esm({
509
530
  (function(ObjectArrayComponentType4) {
510
531
  ObjectArrayComponentType4["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
511
532
  ObjectArrayComponentType4["REPEATER"] = "REPEATER";
533
+ ObjectArrayComponentType4["PIKACHU"] = "PIKACHU";
512
534
  })(ObjectArrayComponentType || (ObjectArrayComponentType = {}));
513
535
  (function(InputFieldSchedulingComponentType3) {
514
536
  InputFieldSchedulingComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
@@ -5467,12 +5489,12 @@ var init_types_impl2 = __esm({
5467
5489
  ArrayItemsItemType3["BOOLEAN"] = "BOOLEAN";
5468
5490
  ArrayItemsItemType3["OBJECT"] = "OBJECT";
5469
5491
  })(ArrayItemsItemType2 || (ArrayItemsItemType2 = {}));
5470
- (function(PropertiesTypePropertiesTypeEnum3) {
5471
- PropertiesTypePropertiesTypeEnum3["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
5472
- PropertiesTypePropertiesTypeEnum3["STRING"] = "STRING";
5473
- PropertiesTypePropertiesTypeEnum3["NUMBER"] = "NUMBER";
5474
- PropertiesTypePropertiesTypeEnum3["BOOLEAN"] = "BOOLEAN";
5475
- PropertiesTypePropertiesTypeEnum3["ARRAY"] = "ARRAY";
5492
+ (function(PropertiesTypePropertiesTypeEnum4) {
5493
+ PropertiesTypePropertiesTypeEnum4["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
5494
+ PropertiesTypePropertiesTypeEnum4["STRING"] = "STRING";
5495
+ PropertiesTypePropertiesTypeEnum4["NUMBER"] = "NUMBER";
5496
+ PropertiesTypePropertiesTypeEnum4["BOOLEAN"] = "BOOLEAN";
5497
+ PropertiesTypePropertiesTypeEnum4["ARRAY"] = "ARRAY";
5476
5498
  })(PropertiesTypePropertiesTypeEnum2 || (PropertiesTypePropertiesTypeEnum2 = {}));
5477
5499
  (function(ArrayComponentType3) {
5478
5500
  ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
@@ -25959,6 +25981,9 @@ var EVENTS_FIELD_TYPES = {
25959
25981
  EVENTS_RSVP: "EVENTS_RSVP",
25960
25982
  EVENTS_REPEATER: "EVENTS_REPEATER"
25961
25983
  };
25984
+ var ENTITY_PICKER_FIELD_TYPES = {
25985
+ PIKACHU: "PIKACHU"
25986
+ };
25962
25987
  var INPUT_FIELD_TYPES = {
25963
25988
  ...CONTACTS_FIELD_TYPES,
25964
25989
  ...QUIZ_FIELD_TYPES,
@@ -25968,7 +25993,8 @@ var INPUT_FIELD_TYPES = {
25968
25993
  ...BOOKINGS_FIELD_TYPES,
25969
25994
  ...PAYMENTS_FIELD_TYPES,
25970
25995
  ...COMMON_FIELD_TYPES,
25971
- ...EVENTS_FIELD_TYPES
25996
+ ...EVENTS_FIELD_TYPES,
25997
+ ...ENTITY_PICKER_FIELD_TYPES
25972
25998
  };
25973
25999
 
25974
26000
  // ../form-fields/dist/esm/constants/readonly-field-types.js
@@ -27235,6 +27261,7 @@ var FIELD_PROPS_MAPPERS = {
27235
27261
  DONATION: DonationMapper,
27236
27262
  EVENTS_RSVP: RadioGroupMapper,
27237
27263
  EVENTS_REPEATER: TextMapper,
27264
+ PIKACHU: DefaultMapper,
27238
27265
  FILE_UPLOAD: FileUploadMapper,
27239
27266
  SIGNATURE: SignatureMapper,
27240
27267
  RATING_INPUT: RatingInputMapper,
@@ -28640,7 +28667,19 @@ var NodeType4;
28640
28667
  NodeType5["LAYOUT"] = "LAYOUT";
28641
28668
  NodeType5["LAYOUT_CELL"] = "LAYOUT_CELL";
28642
28669
  NodeType5["SHAPE"] = "SHAPE";
28670
+ NodeType5["CARD"] = "CARD";
28671
+ NodeType5["TOC"] = "TOC";
28643
28672
  })(NodeType4 || (NodeType4 = {}));
28673
+ var StylesBackgroundType2;
28674
+ (function(StylesBackgroundType3) {
28675
+ StylesBackgroundType3["COLOR"] = "COLOR";
28676
+ StylesBackgroundType3["GRADIENT"] = "GRADIENT";
28677
+ })(StylesBackgroundType2 || (StylesBackgroundType2 = {}));
28678
+ var GradientType2;
28679
+ (function(GradientType3) {
28680
+ GradientType3["LINEAR"] = "LINEAR";
28681
+ GradientType3["RADIAL"] = "RADIAL";
28682
+ })(GradientType2 || (GradientType2 = {}));
28644
28683
  var WidthType4;
28645
28684
  (function(WidthType5) {
28646
28685
  WidthType5["CONTENT"] = "CONTENT";
@@ -28740,6 +28779,7 @@ var Source4;
28740
28779
  Source5["HTML"] = "HTML";
28741
28780
  Source5["ADSENSE"] = "ADSENSE";
28742
28781
  Source5["AI"] = "AI";
28782
+ Source5["AI_WIDGET"] = "AI_WIDGET";
28743
28783
  })(Source4 || (Source4 = {}));
28744
28784
  var Position4;
28745
28785
  (function(Position5) {
@@ -28891,6 +28931,16 @@ var Origin4;
28891
28931
  Origin5["IMAGE"] = "IMAGE";
28892
28932
  Origin5["LAYOUT"] = "LAYOUT";
28893
28933
  })(Origin4 || (Origin4 = {}));
28934
+ var LayoutDataBackgroundType2;
28935
+ (function(LayoutDataBackgroundType3) {
28936
+ LayoutDataBackgroundType3["COLOR"] = "COLOR";
28937
+ LayoutDataBackgroundType3["GRADIENT"] = "GRADIENT";
28938
+ })(LayoutDataBackgroundType2 || (LayoutDataBackgroundType2 = {}));
28939
+ var BackdropType2;
28940
+ (function(BackdropType3) {
28941
+ BackdropType3["COLOR"] = "COLOR";
28942
+ BackdropType3["GRADIENT"] = "GRADIENT";
28943
+ })(BackdropType2 || (BackdropType2 = {}));
28894
28944
  var VerticalAlignmentAlignment4;
28895
28945
  (function(VerticalAlignmentAlignment5) {
28896
28946
  VerticalAlignmentAlignment5["TOP"] = "TOP";
@@ -28907,6 +28957,44 @@ var DesignTarget4;
28907
28957
  DesignTarget5["LAYOUT"] = "LAYOUT";
28908
28958
  DesignTarget5["CELL"] = "CELL";
28909
28959
  })(DesignTarget4 || (DesignTarget4 = {}));
28960
+ var ImageScalingScaling2;
28961
+ (function(ImageScalingScaling3) {
28962
+ ImageScalingScaling3["AUTO"] = "AUTO";
28963
+ ImageScalingScaling3["CONTAIN"] = "CONTAIN";
28964
+ ImageScalingScaling3["COVER"] = "COVER";
28965
+ })(ImageScalingScaling2 || (ImageScalingScaling2 = {}));
28966
+ var ImagePositionPosition2;
28967
+ (function(ImagePositionPosition3) {
28968
+ ImagePositionPosition3["CENTER"] = "CENTER";
28969
+ ImagePositionPosition3["CENTER_LEFT"] = "CENTER_LEFT";
28970
+ ImagePositionPosition3["CENTER_RIGHT"] = "CENTER_RIGHT";
28971
+ ImagePositionPosition3["TOP"] = "TOP";
28972
+ ImagePositionPosition3["TOP_LEFT"] = "TOP_LEFT";
28973
+ ImagePositionPosition3["TOP_RIGHT"] = "TOP_RIGHT";
28974
+ ImagePositionPosition3["BOTTOM"] = "BOTTOM";
28975
+ ImagePositionPosition3["BOTTOM_LEFT"] = "BOTTOM_LEFT";
28976
+ ImagePositionPosition3["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
28977
+ })(ImagePositionPosition2 || (ImagePositionPosition2 = {}));
28978
+ var CardDataBackgroundType2;
28979
+ (function(CardDataBackgroundType3) {
28980
+ CardDataBackgroundType3["COLOR"] = "COLOR";
28981
+ CardDataBackgroundType3["GRADIENT"] = "GRADIENT";
28982
+ })(CardDataBackgroundType2 || (CardDataBackgroundType2 = {}));
28983
+ var ListStyle2;
28984
+ (function(ListStyle3) {
28985
+ ListStyle3["PLAIN"] = "PLAIN";
28986
+ ListStyle3["NUMBERED"] = "NUMBERED";
28987
+ ListStyle3["LETTERS"] = "LETTERS";
28988
+ ListStyle3["ROMAN"] = "ROMAN";
28989
+ ListStyle3["BULLETED"] = "BULLETED";
28990
+ ListStyle3["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
28991
+ ListStyle3["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
28992
+ })(ListStyle2 || (ListStyle2 = {}));
28993
+ var Indentation2;
28994
+ (function(Indentation3) {
28995
+ Indentation3["NESTED"] = "NESTED";
28996
+ Indentation3["FLAT"] = "FLAT";
28997
+ })(Indentation2 || (Indentation2 = {}));
28910
28998
  var ImagePosition4;
28911
28999
  (function(ImagePosition5) {
28912
29000
  ImagePosition5["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
@@ -28958,14 +29046,14 @@ var ItemType;
28958
29046
  ItemType2["BOOLEAN"] = "BOOLEAN";
28959
29047
  ItemType2["OBJECT"] = "OBJECT";
28960
29048
  })(ItemType || (ItemType = {}));
28961
- var PropertiesTypeEnum;
28962
- (function(PropertiesTypeEnum2) {
28963
- PropertiesTypeEnum2["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
28964
- PropertiesTypeEnum2["STRING"] = "STRING";
28965
- PropertiesTypeEnum2["NUMBER"] = "NUMBER";
28966
- PropertiesTypeEnum2["BOOLEAN"] = "BOOLEAN";
28967
- PropertiesTypeEnum2["ARRAY"] = "ARRAY";
28968
- })(PropertiesTypeEnum || (PropertiesTypeEnum = {}));
29049
+ var PropertiesTypeEnum2;
29050
+ (function(PropertiesTypeEnum3) {
29051
+ PropertiesTypeEnum3["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
29052
+ PropertiesTypeEnum3["STRING"] = "STRING";
29053
+ PropertiesTypeEnum3["NUMBER"] = "NUMBER";
29054
+ PropertiesTypeEnum3["BOOLEAN"] = "BOOLEAN";
29055
+ PropertiesTypeEnum3["ARRAY"] = "ARRAY";
29056
+ })(PropertiesTypeEnum2 || (PropertiesTypeEnum2 = {}));
28969
29057
  var ComponentType;
28970
29058
  (function(ComponentType2) {
28971
29059
  ComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
@@ -29023,7 +29111,15 @@ var ObjectArrayComponentType3;
29023
29111
  (function(ObjectArrayComponentType4) {
29024
29112
  ObjectArrayComponentType4["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
29025
29113
  ObjectArrayComponentType4["REPEATER"] = "REPEATER";
29114
+ ObjectArrayComponentType4["PIKACHU"] = "PIKACHU";
29026
29115
  })(ObjectArrayComponentType3 || (ObjectArrayComponentType3 = {}));
29116
+ var PropertiesTypePropertiesTypeEnum3;
29117
+ (function(PropertiesTypePropertiesTypeEnum4) {
29118
+ PropertiesTypePropertiesTypeEnum4["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
29119
+ PropertiesTypePropertiesTypeEnum4["STRING"] = "STRING";
29120
+ PropertiesTypePropertiesTypeEnum4["NUMBER"] = "NUMBER";
29121
+ PropertiesTypePropertiesTypeEnum4["BOOLEAN"] = "BOOLEAN";
29122
+ })(PropertiesTypePropertiesTypeEnum3 || (PropertiesTypePropertiesTypeEnum3 = {}));
29027
29123
  var SchedulingComponentType;
29028
29124
  (function(SchedulingComponentType2) {
29029
29125
  SchedulingComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
@@ -30853,6 +30949,7 @@ var DEFAULT_VALUE = {
30853
30949
  [FIELD_TYPES.SERVICES_MULTI_CHOICE]: resolveDefaultValue,
30854
30950
  [FIELD_TYPES.EVENTS_RSVP]: resolveDefaultValue,
30855
30951
  [FIELD_TYPES.EVENTS_REPEATER]: resolveDefaultValue,
30952
+ [FIELD_TYPES.PIKACHU]: resolveDefaultValue,
30856
30953
  [FIELD_TYPES.PHONE]: resolveDefaultValue
30857
30954
  };
30858
30955
  function resolveDefaultValue(field) {
@@ -31053,6 +31150,7 @@ var ADDITIONAL_FIELD_VALIDATION = {
31053
31150
  [FIELD_TYPES.SERVICES_MULTI_CHOICE]: null,
31054
31151
  [FIELD_TYPES.EVENTS_RSVP]: null,
31055
31152
  [FIELD_TYPES.EVENTS_REPEATER]: null,
31153
+ [FIELD_TYPES.PIKACHU]: null,
31056
31154
  [FIELD_TYPES.IMAGE_CHOICE]: null,
31057
31155
  [FIELD_TYPES.PHONE]: null
31058
31156
  };
@@ -32606,12 +32704,19 @@ var NORMALIZED_VALUE = {
32606
32704
  [FIELD_TYPES.SERVICES_MULTI_CHOICE]: removeInvalidOptions,
32607
32705
  [FIELD_TYPES.EVENTS_RSVP]: acceptOnlyValidOptionByValue,
32608
32706
  [FIELD_TYPES.EVENTS_REPEATER]: normalizeRepeater,
32707
+ [FIELD_TYPES.PIKACHU]: acceptObjectArrayValue,
32609
32708
  [FIELD_TYPES.IMAGE_CHOICE]: removeInvalidOptions,
32610
32709
  [FIELD_TYPES.PHONE]: acceptPhoneValue
32611
32710
  };
32612
32711
  function keepValueUnchanged({ fieldValue }) {
32613
32712
  return fieldValue;
32614
32713
  }
32714
+ function acceptObjectArrayValue({ fieldValue }) {
32715
+ if (fieldValue === EMPTY_VALUE) {
32716
+ return fieldValue;
32717
+ }
32718
+ return Array.isArray(fieldValue) ? fieldValue : EMPTY_VALUE;
32719
+ }
32615
32720
  function acceptPhoneValue({ fieldValue }) {
32616
32721
  const isEmptyValue = fieldValue === EMPTY_VALUE;
32617
32722
  if (isEmptyValue) {
@@ -33501,6 +33606,8 @@ var FIELD_TYPE_MAP = {
33501
33606
  SUBMIT_BUTTON: "SUBMIT_BUTTON",
33502
33607
  SERVICES_MULTI_CHOICE: "CHECKBOX_GROUP",
33503
33608
  IMAGE_CHOICE: "IMAGE_CHOICE",
33609
+ // ENTITY_PICKER_FIELD_TYPES
33610
+ PIKACHU: "TEXT_INPUT",
33504
33611
  // fields that have not been implemented
33505
33612
  NESTED_FORM: "TEXT_INPUT",
33506
33613
  PASSWORD: "TEXT_INPUT",