@wix/form-public 0.149.0 → 0.151.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 +42 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +42 -20
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -367,9 +367,9 @@ var init_types_impl = __esm({
|
|
|
367
367
|
ResponsivenessBehaviour5["STACK"] = "STACK";
|
|
368
368
|
ResponsivenessBehaviour5["WRAP"] = "WRAP";
|
|
369
369
|
})(ResponsivenessBehaviour || (ResponsivenessBehaviour = {}));
|
|
370
|
-
(function(
|
|
371
|
-
|
|
372
|
-
|
|
370
|
+
(function(DesignTarget5) {
|
|
371
|
+
DesignTarget5["LAYOUT"] = "LAYOUT";
|
|
372
|
+
DesignTarget5["CELL"] = "CELL";
|
|
373
373
|
})(DesignTarget || (DesignTarget = {}));
|
|
374
374
|
(function(ImagePosition5) {
|
|
375
375
|
ImagePosition5["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|
|
@@ -629,12 +629,12 @@ var init_types_impl = __esm({
|
|
|
629
629
|
Operator5["IS_DATE_NEWER_THAN"] = "IS_DATE_NEWER_THAN";
|
|
630
630
|
Operator5["IS_DATE_NEWER_THAN_OR_EQUAL"] = "IS_DATE_NEWER_THAN_OR_EQUAL";
|
|
631
631
|
})(Operator || (Operator = {}));
|
|
632
|
-
(function(
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
632
|
+
(function(ResultsDisplay3) {
|
|
633
|
+
ResultsDisplay3["UNKNOWN_DISPLAY"] = "UNKNOWN_DISPLAY";
|
|
634
|
+
ResultsDisplay3["DO_NOT_DISPLAY"] = "DO_NOT_DISPLAY";
|
|
635
|
+
ResultsDisplay3["SCORE"] = "SCORE";
|
|
636
|
+
ResultsDisplay3["PASSING_STATUS"] = "PASSING_STATUS";
|
|
637
|
+
ResultsDisplay3["SCORE_AND_PASSING_STATUS"] = "SCORE_AND_PASSING_STATUS";
|
|
638
638
|
})(ResultsDisplay || (ResultsDisplay = {}));
|
|
639
639
|
(function(Fieldset2) {
|
|
640
640
|
Fieldset2["UNKNOWN"] = "UNKNOWN";
|
|
@@ -4859,10 +4859,10 @@ var init_max = __esm({
|
|
|
4859
4859
|
}
|
|
4860
4860
|
});
|
|
4861
4861
|
|
|
4862
|
-
// ../../node_modules/@wix/ambassador-forms-v1-validation-result/build/
|
|
4863
|
-
var ErrorType, Format2, ValidationFormat2, ProductType2, PriceType2, FieldFieldType2, StringTypeFormatEnumFormat2, InputFieldStringComponentType2, NodeType2, WidthType2, PluginContainerDataAlignment2, Type2, Target2, TextAlignment2, LineStyle2, Width2, Alignment2, ViewMode2, LayoutType2, Orientation2, Crop2, ThumbnailsAlignment2, GIFType2, Source2, Position2, MapType3, ViewRole2, VoteRole2, PollLayoutType2, PollLayoutDirection2, BackgroundType2, DecorationType2, FontType2, ImageStylesPosition2, AspectRatio2, Resizing2, Placement2, CardStylesType2, CardStylesAlignment2, CardStylesLayout2, AppType2, InitialExpandedItems2, Direction2, VerticalAlignment2, NullValue2, Scaling2, LayoutDataImagePosition2, VerticalAlignmentAlignment2, ResponsivenessBehaviour2, ImagePosition2, AlignmentEnumAlignment2, ImageFit2, NumberOfColumns2, FirstDayOfWeekEnumFirstDayOfWeek2, InputFieldNumberComponentType2, InputFieldBooleanComponentType2, ArrayItemsItemType2, PropertiesTypePropertiesTypeEnum2, ArrayComponentType2, InputFieldWixFileComponentType2, UploadFileFormat2, InputFieldPaymentComponentType2, AddressComponentType2, DefaultCountryConfigType2, ObjectArrayComponentType2, InputFieldSchedulingComponentType2, AppointmentFormat2, InputFieldInputType2, FormFieldContactInfoEmailInfoTag2, FormFieldContactInfoPhoneInfoTag2, AddressInfoTag2, ConfirmationLevel2, FormFieldContactInfoContactField2, DisplayFieldDisplayFieldType2, OverrideEntityType2, Kind2, EmailInfoTag2, PhoneInfoTag2, Tag2, OptInLevel2, ContactField2, SpamFilterProtectionLevel2, RequiredIndicator2, RequiredIndicatorPlacement2, UrlTargetEnumTarget2, SubmitSuccessAction2, ChangeableProperty2, OverrideEntityTypeEnumOverrideEntityType2, Operator2, ValidationMode, Feature, AscendPlan, ActionType;
|
|
4862
|
+
// ../../node_modules/@wix/ambassador-forms-v1-validation-result/es/build/types.impl.js
|
|
4863
|
+
var ErrorType, Format2, ValidationFormat2, ProductType2, PriceType2, FieldFieldType2, StringTypeFormatEnumFormat2, InputFieldStringComponentType2, NodeType2, WidthType2, PluginContainerDataAlignment2, Type2, Target2, TextAlignment2, LineStyle2, Width2, Alignment2, ViewMode2, LayoutType2, Orientation2, Crop2, ThumbnailsAlignment2, GIFType2, Source2, Position2, MapType3, ViewRole2, VoteRole2, PollLayoutType2, PollLayoutDirection2, BackgroundType2, DecorationType2, FontType2, ImageStylesPosition2, AspectRatio2, Resizing2, Placement2, CardStylesType2, CardStylesAlignment2, CardStylesLayout2, AppType2, InitialExpandedItems2, Direction2, VerticalAlignment2, NullValue2, Scaling2, LayoutDataImagePosition2, VerticalAlignmentAlignment2, ResponsivenessBehaviour2, DesignTarget2, ImagePosition2, AlignmentEnumAlignment2, ImageFit2, NumberOfColumns2, FirstDayOfWeekEnumFirstDayOfWeek2, InputFieldNumberComponentType2, InputFieldBooleanComponentType2, ArrayItemsItemType2, PropertiesTypePropertiesTypeEnum2, ArrayComponentType2, InputFieldWixFileComponentType2, UploadFileFormat2, InputFieldPaymentComponentType2, AddressComponentType2, DefaultCountryConfigType2, ObjectArrayComponentType2, InputFieldSchedulingComponentType2, AppointmentFormat2, InputFieldInputType2, FormFieldContactInfoEmailInfoTag2, FormFieldContactInfoPhoneInfoTag2, AddressInfoTag2, ConfirmationLevel2, FormFieldContactInfoContactField2, DisplayFieldDisplayFieldType2, OverrideEntityType2, Kind2, EmailInfoTag2, PhoneInfoTag2, Tag2, OptInLevel2, ContactField2, SpamFilterProtectionLevel2, RequiredIndicator2, RequiredIndicatorPlacement2, UrlTargetEnumTarget2, SubmitSuccessAction2, ChangeableProperty2, OverrideEntityTypeEnumOverrideEntityType2, Operator2, ResultsDisplay2, ValidationMode, Feature, AscendPlan, ActionType;
|
|
4864
4864
|
var init_types_impl2 = __esm({
|
|
4865
|
-
"../../node_modules/@wix/ambassador-forms-v1-validation-result/build/
|
|
4865
|
+
"../../node_modules/@wix/ambassador-forms-v1-validation-result/es/build/types.impl.js"() {
|
|
4866
4866
|
(function(ErrorType2) {
|
|
4867
4867
|
ErrorType2["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
|
|
4868
4868
|
ErrorType2["TYPE_ERROR"] = "TYPE_ERROR";
|
|
@@ -4965,6 +4965,7 @@ var init_types_impl2 = __esm({
|
|
|
4965
4965
|
InputFieldStringComponentType3["TIME_INPUT"] = "TIME_INPUT";
|
|
4966
4966
|
InputFieldStringComponentType3["DATE_PICKER"] = "DATE_PICKER";
|
|
4967
4967
|
InputFieldStringComponentType3["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
4968
|
+
InputFieldStringComponentType3["PASSWORD"] = "PASSWORD";
|
|
4968
4969
|
})(InputFieldStringComponentType2 || (InputFieldStringComponentType2 = {}));
|
|
4969
4970
|
(function(NodeType5) {
|
|
4970
4971
|
NodeType5["PARAGRAPH"] = "PARAGRAPH";
|
|
@@ -5000,6 +5001,7 @@ var init_types_impl2 = __esm({
|
|
|
5000
5001
|
NodeType5["CAPTION"] = "CAPTION";
|
|
5001
5002
|
NodeType5["LAYOUT"] = "LAYOUT";
|
|
5002
5003
|
NodeType5["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
5004
|
+
NodeType5["SHAPE"] = "SHAPE";
|
|
5003
5005
|
})(NodeType2 || (NodeType2 = {}));
|
|
5004
5006
|
(function(WidthType5) {
|
|
5005
5007
|
WidthType5["CONTENT"] = "CONTENT";
|
|
@@ -5217,6 +5219,10 @@ var init_types_impl2 = __esm({
|
|
|
5217
5219
|
ResponsivenessBehaviour5["STACK"] = "STACK";
|
|
5218
5220
|
ResponsivenessBehaviour5["WRAP"] = "WRAP";
|
|
5219
5221
|
})(ResponsivenessBehaviour2 || (ResponsivenessBehaviour2 = {}));
|
|
5222
|
+
(function(DesignTarget5) {
|
|
5223
|
+
DesignTarget5["LAYOUT"] = "LAYOUT";
|
|
5224
|
+
DesignTarget5["CELL"] = "CELL";
|
|
5225
|
+
})(DesignTarget2 || (DesignTarget2 = {}));
|
|
5220
5226
|
(function(ImagePosition5) {
|
|
5221
5227
|
ImagePosition5["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|
|
5222
5228
|
ImagePosition5["ABOVE"] = "ABOVE";
|
|
@@ -5475,6 +5481,13 @@ var init_types_impl2 = __esm({
|
|
|
5475
5481
|
Operator5["IS_DATE_NEWER_THAN"] = "IS_DATE_NEWER_THAN";
|
|
5476
5482
|
Operator5["IS_DATE_NEWER_THAN_OR_EQUAL"] = "IS_DATE_NEWER_THAN_OR_EQUAL";
|
|
5477
5483
|
})(Operator2 || (Operator2 = {}));
|
|
5484
|
+
(function(ResultsDisplay3) {
|
|
5485
|
+
ResultsDisplay3["UNKNOWN_DISPLAY"] = "UNKNOWN_DISPLAY";
|
|
5486
|
+
ResultsDisplay3["DO_NOT_DISPLAY"] = "DO_NOT_DISPLAY";
|
|
5487
|
+
ResultsDisplay3["SCORE"] = "SCORE";
|
|
5488
|
+
ResultsDisplay3["PASSING_STATUS"] = "PASSING_STATUS";
|
|
5489
|
+
ResultsDisplay3["SCORE_AND_PASSING_STATUS"] = "SCORE_AND_PASSING_STATUS";
|
|
5490
|
+
})(ResultsDisplay2 || (ResultsDisplay2 = {}));
|
|
5478
5491
|
(function(ValidationMode2) {
|
|
5479
5492
|
ValidationMode2["UNKNOWN"] = "UNKNOWN";
|
|
5480
5493
|
ValidationMode2["UNRESTRICTED_UPDATE"] = "UNRESTRICTED_UPDATE";
|
|
@@ -19987,10 +20000,10 @@ var init_compare_shema_backward_compatibility = __esm({
|
|
|
19987
20000
|
}
|
|
19988
20001
|
});
|
|
19989
20002
|
|
|
19990
|
-
// ../../node_modules/@wix/ambassador-forms-v4-restrictions/build/
|
|
20003
|
+
// ../../node_modules/@wix/ambassador-forms-v4-restrictions/es/build/types.impl.js
|
|
19991
20004
|
var Feature2, AscendPlan2;
|
|
19992
20005
|
var init_types_impl3 = __esm({
|
|
19993
|
-
"../../node_modules/@wix/ambassador-forms-v4-restrictions/build/
|
|
20006
|
+
"../../node_modules/@wix/ambassador-forms-v4-restrictions/es/build/types.impl.js"() {
|
|
19994
20007
|
(function(Feature3) {
|
|
19995
20008
|
Feature3["UNKNOWN_FEATURE"] = "UNKNOWN_FEATURE";
|
|
19996
20009
|
Feature3["FILE_UPLOAD_FIELD"] = "FILE_UPLOAD_FIELD";
|
|
@@ -27144,7 +27157,7 @@ function getPrecision(amount) {
|
|
|
27144
27157
|
return ((_amount$toString$spli = amount.toString().split(".")[1]) == null ? void 0 : _amount$toString$spli.length) || 0;
|
|
27145
27158
|
}
|
|
27146
27159
|
|
|
27147
|
-
// ../../node_modules/@wix/ambassador-forms-v1-form-template/build/
|
|
27160
|
+
// ../../node_modules/@wix/ambassador-forms-v1-form-template/es/build/types.impl.js
|
|
27148
27161
|
var Format4;
|
|
27149
27162
|
(function(Format6) {
|
|
27150
27163
|
Format6["UNDEFINED"] = "UNDEFINED";
|
|
@@ -27247,6 +27260,9 @@ var EditableProperties;
|
|
|
27247
27260
|
EditableProperties3["DESCRIPTION"] = "DESCRIPTION";
|
|
27248
27261
|
EditableProperties3["INPUT_VALUE_LIMITS"] = "INPUT_VALUE_LIMITS";
|
|
27249
27262
|
EditableProperties3["DEFAULT_VALUE"] = "DEFAULT_VALUE";
|
|
27263
|
+
EditableProperties3["ADDRESS_AUTOCOMPLETE"] = "ADDRESS_AUTOCOMPLETE";
|
|
27264
|
+
EditableProperties3["ADDRESS_FIELD_SETTINGS"] = "ADDRESS_FIELD_SETTINGS";
|
|
27265
|
+
EditableProperties3["ADDRESS_FIELD_VALIDATION"] = "ADDRESS_FIELD_VALIDATION";
|
|
27250
27266
|
})(EditableProperties || (EditableProperties = {}));
|
|
27251
27267
|
var NodeType3;
|
|
27252
27268
|
(function(NodeType5) {
|
|
@@ -27283,6 +27299,7 @@ var NodeType3;
|
|
|
27283
27299
|
NodeType5["CAPTION"] = "CAPTION";
|
|
27284
27300
|
NodeType5["LAYOUT"] = "LAYOUT";
|
|
27285
27301
|
NodeType5["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
27302
|
+
NodeType5["SHAPE"] = "SHAPE";
|
|
27286
27303
|
})(NodeType3 || (NodeType3 = {}));
|
|
27287
27304
|
var WidthType3;
|
|
27288
27305
|
(function(WidthType5) {
|
|
@@ -27540,6 +27557,11 @@ var ResponsivenessBehaviour3;
|
|
|
27540
27557
|
ResponsivenessBehaviour5["STACK"] = "STACK";
|
|
27541
27558
|
ResponsivenessBehaviour5["WRAP"] = "WRAP";
|
|
27542
27559
|
})(ResponsivenessBehaviour3 || (ResponsivenessBehaviour3 = {}));
|
|
27560
|
+
var DesignTarget3;
|
|
27561
|
+
(function(DesignTarget5) {
|
|
27562
|
+
DesignTarget5["LAYOUT"] = "LAYOUT";
|
|
27563
|
+
DesignTarget5["CELL"] = "CELL";
|
|
27564
|
+
})(DesignTarget3 || (DesignTarget3 = {}));
|
|
27543
27565
|
var Target3;
|
|
27544
27566
|
(function(Target5) {
|
|
27545
27567
|
Target5["UNKNOWN_TARGET"] = "UNKNOWN_TARGET";
|
|
@@ -27911,11 +27933,11 @@ var ResponsivenessBehaviour4;
|
|
|
27911
27933
|
ResponsivenessBehaviour5["STACK"] = "STACK";
|
|
27912
27934
|
ResponsivenessBehaviour5["WRAP"] = "WRAP";
|
|
27913
27935
|
})(ResponsivenessBehaviour4 || (ResponsivenessBehaviour4 = {}));
|
|
27914
|
-
var
|
|
27915
|
-
(function(
|
|
27916
|
-
|
|
27917
|
-
|
|
27918
|
-
})(
|
|
27936
|
+
var DesignTarget4;
|
|
27937
|
+
(function(DesignTarget5) {
|
|
27938
|
+
DesignTarget5["LAYOUT"] = "LAYOUT";
|
|
27939
|
+
DesignTarget5["CELL"] = "CELL";
|
|
27940
|
+
})(DesignTarget4 || (DesignTarget4 = {}));
|
|
27919
27941
|
var ImagePosition4;
|
|
27920
27942
|
(function(ImagePosition5) {
|
|
27921
27943
|
ImagePosition5["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|