@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 +161 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +161 -51
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
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(
|
|
165
|
-
|
|
166
|
-
|
|
171
|
+
(function(StylesBackgroundType3) {
|
|
172
|
+
StylesBackgroundType3["COLOR"] = "COLOR";
|
|
173
|
+
StylesBackgroundType3["GRADIENT"] = "GRADIENT";
|
|
167
174
|
})(StylesBackgroundType || (StylesBackgroundType = {}));
|
|
168
|
-
(function(
|
|
169
|
-
|
|
170
|
-
|
|
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(
|
|
384
|
-
|
|
385
|
-
|
|
391
|
+
(function(LayoutDataBackgroundType3) {
|
|
392
|
+
LayoutDataBackgroundType3["COLOR"] = "COLOR";
|
|
393
|
+
LayoutDataBackgroundType3["GRADIENT"] = "GRADIENT";
|
|
386
394
|
})(LayoutDataBackgroundType || (LayoutDataBackgroundType = {}));
|
|
387
|
-
(function(
|
|
388
|
-
|
|
389
|
-
|
|
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(
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
412
|
+
(function(ImageScalingScaling3) {
|
|
413
|
+
ImageScalingScaling3["AUTO"] = "AUTO";
|
|
414
|
+
ImageScalingScaling3["CONTAIN"] = "CONTAIN";
|
|
415
|
+
ImageScalingScaling3["COVER"] = "COVER";
|
|
408
416
|
})(ImageScalingScaling || (ImageScalingScaling = {}));
|
|
409
|
-
(function(
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
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(
|
|
421
|
-
|
|
422
|
-
|
|
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(
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
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(
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
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";
|
|
@@ -22280,6 +22302,7 @@ var require_messages_en = __commonJS({
|
|
|
22280
22302
|
"dext-url-input.input.error.message.required-error": "Enter a web URL like https://www.example.com.",
|
|
22281
22303
|
"contacts-date-input.input.error.message.format-error": "Enter a month, day and year.",
|
|
22282
22304
|
"signature.input.error.message.required-error.with-upload": "Sign in the box above or upload your signature.",
|
|
22305
|
+
"forms.widget.modals.show-password-tooltip": "Show password",
|
|
22283
22306
|
"contacts-phone.input.error.message.required-error": "Enter a phone number.",
|
|
22284
22307
|
"field.phone.country-selector-button.aria-label": "Select a country code",
|
|
22285
22308
|
"field-context-menu.move-up": "Move up",
|
|
@@ -22325,7 +22348,9 @@ var require_messages_en = __commonJS({
|
|
|
22325
22348
|
"bookings-phone.input.error.message.required-error": "Enter a phone number.",
|
|
22326
22349
|
"form.file-upload.explanation-text": "{count, plural, =1 {# file} other {# files}} uploaded",
|
|
22327
22350
|
"settings.scheduling.meeting-type.info-icon.intro": "How hosts are assigned:",
|
|
22351
|
+
"pikachu.input.error.message.required-error": "Choose an option.",
|
|
22328
22352
|
"contacts-last-name.input.error.message.required-error": "Enter a last name.",
|
|
22353
|
+
"forms.widget.modals.hide-password-tooltip": "Hide password",
|
|
22329
22354
|
"field.signature.mode.selector.aria-label": "Signature input mode",
|
|
22330
22355
|
"phone.input.error.message.not-allowed-value": "Phone numbers with this country code aren't accepted.",
|
|
22331
22356
|
"field.signature.mode.draw.label": "Draw",
|
|
@@ -25956,6 +25981,9 @@ var EVENTS_FIELD_TYPES = {
|
|
|
25956
25981
|
EVENTS_RSVP: "EVENTS_RSVP",
|
|
25957
25982
|
EVENTS_REPEATER: "EVENTS_REPEATER"
|
|
25958
25983
|
};
|
|
25984
|
+
var ENTITY_PICKER_FIELD_TYPES = {
|
|
25985
|
+
PIKACHU: "PIKACHU"
|
|
25986
|
+
};
|
|
25959
25987
|
var INPUT_FIELD_TYPES = {
|
|
25960
25988
|
...CONTACTS_FIELD_TYPES,
|
|
25961
25989
|
...QUIZ_FIELD_TYPES,
|
|
@@ -25965,7 +25993,8 @@ var INPUT_FIELD_TYPES = {
|
|
|
25965
25993
|
...BOOKINGS_FIELD_TYPES,
|
|
25966
25994
|
...PAYMENTS_FIELD_TYPES,
|
|
25967
25995
|
...COMMON_FIELD_TYPES,
|
|
25968
|
-
...EVENTS_FIELD_TYPES
|
|
25996
|
+
...EVENTS_FIELD_TYPES,
|
|
25997
|
+
...ENTITY_PICKER_FIELD_TYPES
|
|
25969
25998
|
};
|
|
25970
25999
|
|
|
25971
26000
|
// ../form-fields/dist/esm/constants/readonly-field-types.js
|
|
@@ -27232,6 +27261,7 @@ var FIELD_PROPS_MAPPERS = {
|
|
|
27232
27261
|
DONATION: DonationMapper,
|
|
27233
27262
|
EVENTS_RSVP: RadioGroupMapper,
|
|
27234
27263
|
EVENTS_REPEATER: TextMapper,
|
|
27264
|
+
PIKACHU: DefaultMapper,
|
|
27235
27265
|
FILE_UPLOAD: FileUploadMapper,
|
|
27236
27266
|
SIGNATURE: SignatureMapper,
|
|
27237
27267
|
RATING_INPUT: RatingInputMapper,
|
|
@@ -28637,7 +28667,19 @@ var NodeType4;
|
|
|
28637
28667
|
NodeType5["LAYOUT"] = "LAYOUT";
|
|
28638
28668
|
NodeType5["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
28639
28669
|
NodeType5["SHAPE"] = "SHAPE";
|
|
28670
|
+
NodeType5["CARD"] = "CARD";
|
|
28671
|
+
NodeType5["TOC"] = "TOC";
|
|
28640
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 = {}));
|
|
28641
28683
|
var WidthType4;
|
|
28642
28684
|
(function(WidthType5) {
|
|
28643
28685
|
WidthType5["CONTENT"] = "CONTENT";
|
|
@@ -28737,6 +28779,7 @@ var Source4;
|
|
|
28737
28779
|
Source5["HTML"] = "HTML";
|
|
28738
28780
|
Source5["ADSENSE"] = "ADSENSE";
|
|
28739
28781
|
Source5["AI"] = "AI";
|
|
28782
|
+
Source5["AI_WIDGET"] = "AI_WIDGET";
|
|
28740
28783
|
})(Source4 || (Source4 = {}));
|
|
28741
28784
|
var Position4;
|
|
28742
28785
|
(function(Position5) {
|
|
@@ -28888,6 +28931,16 @@ var Origin4;
|
|
|
28888
28931
|
Origin5["IMAGE"] = "IMAGE";
|
|
28889
28932
|
Origin5["LAYOUT"] = "LAYOUT";
|
|
28890
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 = {}));
|
|
28891
28944
|
var VerticalAlignmentAlignment4;
|
|
28892
28945
|
(function(VerticalAlignmentAlignment5) {
|
|
28893
28946
|
VerticalAlignmentAlignment5["TOP"] = "TOP";
|
|
@@ -28904,6 +28957,44 @@ var DesignTarget4;
|
|
|
28904
28957
|
DesignTarget5["LAYOUT"] = "LAYOUT";
|
|
28905
28958
|
DesignTarget5["CELL"] = "CELL";
|
|
28906
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 = {}));
|
|
28907
28998
|
var ImagePosition4;
|
|
28908
28999
|
(function(ImagePosition5) {
|
|
28909
29000
|
ImagePosition5["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|
|
@@ -28955,14 +29046,14 @@ var ItemType;
|
|
|
28955
29046
|
ItemType2["BOOLEAN"] = "BOOLEAN";
|
|
28956
29047
|
ItemType2["OBJECT"] = "OBJECT";
|
|
28957
29048
|
})(ItemType || (ItemType = {}));
|
|
28958
|
-
var
|
|
28959
|
-
(function(
|
|
28960
|
-
|
|
28961
|
-
|
|
28962
|
-
|
|
28963
|
-
|
|
28964
|
-
|
|
28965
|
-
})(
|
|
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 = {}));
|
|
28966
29057
|
var ComponentType;
|
|
28967
29058
|
(function(ComponentType2) {
|
|
28968
29059
|
ComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
@@ -29020,7 +29111,15 @@ var ObjectArrayComponentType3;
|
|
|
29020
29111
|
(function(ObjectArrayComponentType4) {
|
|
29021
29112
|
ObjectArrayComponentType4["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
29022
29113
|
ObjectArrayComponentType4["REPEATER"] = "REPEATER";
|
|
29114
|
+
ObjectArrayComponentType4["PIKACHU"] = "PIKACHU";
|
|
29023
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 = {}));
|
|
29024
29123
|
var SchedulingComponentType;
|
|
29025
29124
|
(function(SchedulingComponentType2) {
|
|
29026
29125
|
SchedulingComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
@@ -30850,6 +30949,7 @@ var DEFAULT_VALUE = {
|
|
|
30850
30949
|
[FIELD_TYPES.SERVICES_MULTI_CHOICE]: resolveDefaultValue,
|
|
30851
30950
|
[FIELD_TYPES.EVENTS_RSVP]: resolveDefaultValue,
|
|
30852
30951
|
[FIELD_TYPES.EVENTS_REPEATER]: resolveDefaultValue,
|
|
30952
|
+
[FIELD_TYPES.PIKACHU]: resolveDefaultValue,
|
|
30853
30953
|
[FIELD_TYPES.PHONE]: resolveDefaultValue
|
|
30854
30954
|
};
|
|
30855
30955
|
function resolveDefaultValue(field) {
|
|
@@ -31050,6 +31150,7 @@ var ADDITIONAL_FIELD_VALIDATION = {
|
|
|
31050
31150
|
[FIELD_TYPES.SERVICES_MULTI_CHOICE]: null,
|
|
31051
31151
|
[FIELD_TYPES.EVENTS_RSVP]: null,
|
|
31052
31152
|
[FIELD_TYPES.EVENTS_REPEATER]: null,
|
|
31153
|
+
[FIELD_TYPES.PIKACHU]: null,
|
|
31053
31154
|
[FIELD_TYPES.IMAGE_CHOICE]: null,
|
|
31054
31155
|
[FIELD_TYPES.PHONE]: null
|
|
31055
31156
|
};
|
|
@@ -32603,12 +32704,19 @@ var NORMALIZED_VALUE = {
|
|
|
32603
32704
|
[FIELD_TYPES.SERVICES_MULTI_CHOICE]: removeInvalidOptions,
|
|
32604
32705
|
[FIELD_TYPES.EVENTS_RSVP]: acceptOnlyValidOptionByValue,
|
|
32605
32706
|
[FIELD_TYPES.EVENTS_REPEATER]: normalizeRepeater,
|
|
32707
|
+
[FIELD_TYPES.PIKACHU]: acceptObjectArrayValue,
|
|
32606
32708
|
[FIELD_TYPES.IMAGE_CHOICE]: removeInvalidOptions,
|
|
32607
32709
|
[FIELD_TYPES.PHONE]: acceptPhoneValue
|
|
32608
32710
|
};
|
|
32609
32711
|
function keepValueUnchanged({ fieldValue }) {
|
|
32610
32712
|
return fieldValue;
|
|
32611
32713
|
}
|
|
32714
|
+
function acceptObjectArrayValue({ fieldValue }) {
|
|
32715
|
+
if (fieldValue === EMPTY_VALUE) {
|
|
32716
|
+
return fieldValue;
|
|
32717
|
+
}
|
|
32718
|
+
return Array.isArray(fieldValue) ? fieldValue : EMPTY_VALUE;
|
|
32719
|
+
}
|
|
32612
32720
|
function acceptPhoneValue({ fieldValue }) {
|
|
32613
32721
|
const isEmptyValue = fieldValue === EMPTY_VALUE;
|
|
32614
32722
|
if (isEmptyValue) {
|
|
@@ -33498,6 +33606,8 @@ var FIELD_TYPE_MAP = {
|
|
|
33498
33606
|
SUBMIT_BUTTON: "SUBMIT_BUTTON",
|
|
33499
33607
|
SERVICES_MULTI_CHOICE: "CHECKBOX_GROUP",
|
|
33500
33608
|
IMAGE_CHOICE: "IMAGE_CHOICE",
|
|
33609
|
+
// ENTITY_PICKER_FIELD_TYPES
|
|
33610
|
+
PIKACHU: "TEXT_INPUT",
|
|
33501
33611
|
// fields that have not been implemented
|
|
33502
33612
|
NESTED_FORM: "TEXT_INPUT",
|
|
33503
33613
|
PASSWORD: "TEXT_INPUT",
|