@wix/forms 1.0.150 → 1.0.152
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/package.json +5 -5
- package/type-bundles/context.bundle.d.ts +402 -1135
- package/type-bundles/index.bundle.d.ts +402 -1135
- package/type-bundles/meta.bundle.d.ts +110 -14
|
@@ -2213,7 +2213,8 @@ interface InputFieldArrayErrorMessages$1 {
|
|
|
2213
2213
|
}
|
|
2214
2214
|
declare enum ComponentType$1 {
|
|
2215
2215
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2216
|
-
CHECKBOX_GROUP = "CHECKBOX_GROUP"
|
|
2216
|
+
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
|
2217
|
+
TAGS = "TAGS"
|
|
2217
2218
|
}
|
|
2218
2219
|
interface CheckboxGroup$1 {
|
|
2219
2220
|
/** Label of the field */
|
|
@@ -2285,6 +2286,44 @@ interface CustomOption$1 {
|
|
|
2285
2286
|
/** Placeholder of custom option input */
|
|
2286
2287
|
placeholder?: string | null;
|
|
2287
2288
|
}
|
|
2289
|
+
interface Tags$1 {
|
|
2290
|
+
/** Label of the field */
|
|
2291
|
+
label?: string | null;
|
|
2292
|
+
/** Description of the field */
|
|
2293
|
+
description?: RichContent$1;
|
|
2294
|
+
/** List of options to select from */
|
|
2295
|
+
options?: TagsOption$1[];
|
|
2296
|
+
/**
|
|
2297
|
+
* Flag identifying to hide or not label
|
|
2298
|
+
* Default: true
|
|
2299
|
+
*/
|
|
2300
|
+
showLabel?: boolean | null;
|
|
2301
|
+
/** Option which can be specified by UoU, enabled when this object is specified. */
|
|
2302
|
+
customOption?: CommonCustomOption$1;
|
|
2303
|
+
/**
|
|
2304
|
+
* Specifies the number of columns used to display the selections within the component.
|
|
2305
|
+
* Default: ONE
|
|
2306
|
+
*/
|
|
2307
|
+
numberOfColumns?: NumberOfColumns$1;
|
|
2308
|
+
}
|
|
2309
|
+
interface TagsOption$1 {
|
|
2310
|
+
/** Selectable option label */
|
|
2311
|
+
label?: string | null;
|
|
2312
|
+
/** Selectable option value, which is saved to DB. */
|
|
2313
|
+
value?: any;
|
|
2314
|
+
/** Flag identifying that option should be selected by default */
|
|
2315
|
+
default?: boolean;
|
|
2316
|
+
/** Option id. Used as binding for translations */
|
|
2317
|
+
id?: string;
|
|
2318
|
+
/** Media item. Media, associated with option, like image. */
|
|
2319
|
+
media?: MediaItem$1;
|
|
2320
|
+
}
|
|
2321
|
+
interface CommonCustomOption$1 {
|
|
2322
|
+
/** Label of custom option input */
|
|
2323
|
+
label?: string | null;
|
|
2324
|
+
/** Placeholder of custom option input */
|
|
2325
|
+
placeholder?: string | null;
|
|
2326
|
+
}
|
|
2288
2327
|
declare enum WixFileComponentType$1 {
|
|
2289
2328
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2290
2329
|
FILE_UPLOAD = "FILE_UPLOAD",
|
|
@@ -2401,12 +2440,6 @@ interface DonationInputOption$1 {
|
|
|
2401
2440
|
/** Flag identifying that option should be selected by default */
|
|
2402
2441
|
default?: boolean;
|
|
2403
2442
|
}
|
|
2404
|
-
interface CommonCustomOption$1 {
|
|
2405
|
-
/** Label of custom option input */
|
|
2406
|
-
label?: string | null;
|
|
2407
|
-
/** Placeholder of custom option input */
|
|
2408
|
-
placeholder?: string | null;
|
|
2409
|
-
}
|
|
2410
2443
|
declare enum MultilineAddressComponentType$1 {
|
|
2411
2444
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2412
2445
|
MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
|
|
@@ -2626,6 +2659,8 @@ interface _BooleanComponentTypeOptionsOneOf$1 {
|
|
|
2626
2659
|
interface _Array$1 extends _ArrayComponentTypeOptionsOneOf$1 {
|
|
2627
2660
|
/** Checkbox group input field */
|
|
2628
2661
|
checkboxGroupOptions?: CheckboxGroup$1;
|
|
2662
|
+
/** Tags input field */
|
|
2663
|
+
tagsOptions?: Tags$1;
|
|
2629
2664
|
/** Validation of array type. */
|
|
2630
2665
|
validation?: InputFieldArrayType$1;
|
|
2631
2666
|
/**
|
|
@@ -2638,6 +2673,8 @@ interface _Array$1 extends _ArrayComponentTypeOptionsOneOf$1 {
|
|
|
2638
2673
|
interface _ArrayComponentTypeOptionsOneOf$1 {
|
|
2639
2674
|
/** Checkbox group input field */
|
|
2640
2675
|
checkboxGroupOptions?: CheckboxGroup$1;
|
|
2676
|
+
/** Tags input field */
|
|
2677
|
+
tagsOptions?: Tags$1;
|
|
2641
2678
|
}
|
|
2642
2679
|
interface _Object$1 extends _ObjectValidationOneOf$1 {
|
|
2643
2680
|
/** Validation of object type. */
|
|
@@ -3846,6 +3883,16 @@ interface CheckboxGroupNonNullableFields$1 {
|
|
|
3846
3883
|
options: OptionNonNullableFields$1[];
|
|
3847
3884
|
numberOfColumns: NumberOfColumns$1;
|
|
3848
3885
|
}
|
|
3886
|
+
interface TagsOptionNonNullableFields$1 {
|
|
3887
|
+
default: boolean;
|
|
3888
|
+
id: string;
|
|
3889
|
+
media?: MediaItemNonNullableFields$1;
|
|
3890
|
+
}
|
|
3891
|
+
interface TagsNonNullableFields$1 {
|
|
3892
|
+
description?: RichContentNonNullableFields$1;
|
|
3893
|
+
options: TagsOptionNonNullableFields$1[];
|
|
3894
|
+
numberOfColumns: NumberOfColumns$1;
|
|
3895
|
+
}
|
|
3849
3896
|
interface ArrayTypeArrayItemsNonNullableFields$1 {
|
|
3850
3897
|
stringOptions?: InputFieldStringTypeNonNullableFields$1;
|
|
3851
3898
|
booleanOptions?: InputFieldBooleanTypeNonNullableFields$1;
|
|
@@ -3856,6 +3903,7 @@ interface InputFieldArrayTypeNonNullableFields$1 {
|
|
|
3856
3903
|
}
|
|
3857
3904
|
interface _ArrayNonNullableFields$1 {
|
|
3858
3905
|
checkboxGroupOptions?: CheckboxGroupNonNullableFields$1;
|
|
3906
|
+
tagsOptions?: TagsNonNullableFields$1;
|
|
3859
3907
|
validation?: InputFieldArrayTypeNonNullableFields$1;
|
|
3860
3908
|
componentType: ComponentType$1;
|
|
3861
3909
|
}
|
|
@@ -6353,7 +6401,8 @@ interface InputFieldArrayErrorMessages {
|
|
|
6353
6401
|
}
|
|
6354
6402
|
declare enum ComponentType {
|
|
6355
6403
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
6356
|
-
CHECKBOX_GROUP = "CHECKBOX_GROUP"
|
|
6404
|
+
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
|
6405
|
+
TAGS = "TAGS"
|
|
6357
6406
|
}
|
|
6358
6407
|
interface CheckboxGroup {
|
|
6359
6408
|
/** Label of the field */
|
|
@@ -6402,6 +6451,44 @@ interface CustomOption {
|
|
|
6402
6451
|
/** Placeholder of custom option input */
|
|
6403
6452
|
placeholder?: string | null;
|
|
6404
6453
|
}
|
|
6454
|
+
interface Tags {
|
|
6455
|
+
/** Label of the field */
|
|
6456
|
+
label?: string | null;
|
|
6457
|
+
/** Description of the field */
|
|
6458
|
+
description?: RichContent;
|
|
6459
|
+
/** List of options to select from */
|
|
6460
|
+
options?: TagsOption[];
|
|
6461
|
+
/**
|
|
6462
|
+
* Flag identifying to hide or not label
|
|
6463
|
+
* Default: true
|
|
6464
|
+
*/
|
|
6465
|
+
showLabel?: boolean | null;
|
|
6466
|
+
/** Option which can be specified by UoU, enabled when this object is specified. */
|
|
6467
|
+
customOption?: CommonCustomOption;
|
|
6468
|
+
/**
|
|
6469
|
+
* Specifies the number of columns used to display the selections within the component.
|
|
6470
|
+
* Default: ONE
|
|
6471
|
+
*/
|
|
6472
|
+
numberOfColumns?: NumberOfColumns;
|
|
6473
|
+
}
|
|
6474
|
+
interface TagsOption {
|
|
6475
|
+
/** Selectable option label */
|
|
6476
|
+
label?: string | null;
|
|
6477
|
+
/** Selectable option value, which is saved to DB. */
|
|
6478
|
+
value?: any;
|
|
6479
|
+
/** Flag identifying that option should be selected by default */
|
|
6480
|
+
default?: boolean;
|
|
6481
|
+
/** Option id. Used as binding for translations */
|
|
6482
|
+
_id?: string;
|
|
6483
|
+
/** Media item. Media, associated with option, like image. */
|
|
6484
|
+
media?: MediaItem;
|
|
6485
|
+
}
|
|
6486
|
+
interface CommonCustomOption {
|
|
6487
|
+
/** Label of custom option input */
|
|
6488
|
+
label?: string | null;
|
|
6489
|
+
/** Placeholder of custom option input */
|
|
6490
|
+
placeholder?: string | null;
|
|
6491
|
+
}
|
|
6405
6492
|
declare enum WixFileComponentType {
|
|
6406
6493
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
6407
6494
|
FILE_UPLOAD = "FILE_UPLOAD",
|
|
@@ -6518,12 +6605,6 @@ interface DonationInputOption {
|
|
|
6518
6605
|
/** Flag identifying that option should be selected by default */
|
|
6519
6606
|
default?: boolean;
|
|
6520
6607
|
}
|
|
6521
|
-
interface CommonCustomOption {
|
|
6522
|
-
/** Label of custom option input */
|
|
6523
|
-
label?: string | null;
|
|
6524
|
-
/** Placeholder of custom option input */
|
|
6525
|
-
placeholder?: string | null;
|
|
6526
|
-
}
|
|
6527
6608
|
declare enum MultilineAddressComponentType {
|
|
6528
6609
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
6529
6610
|
MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
|
|
@@ -6743,6 +6824,8 @@ interface _BooleanComponentTypeOptionsOneOf {
|
|
|
6743
6824
|
interface _Array extends _ArrayComponentTypeOptionsOneOf {
|
|
6744
6825
|
/** Checkbox group input field */
|
|
6745
6826
|
checkboxGroupOptions?: CheckboxGroup;
|
|
6827
|
+
/** Tags input field */
|
|
6828
|
+
tagsOptions?: Tags;
|
|
6746
6829
|
/** Validation of array type. */
|
|
6747
6830
|
validation?: InputFieldArrayType;
|
|
6748
6831
|
/**
|
|
@@ -6755,6 +6838,8 @@ interface _Array extends _ArrayComponentTypeOptionsOneOf {
|
|
|
6755
6838
|
interface _ArrayComponentTypeOptionsOneOf {
|
|
6756
6839
|
/** Checkbox group input field */
|
|
6757
6840
|
checkboxGroupOptions?: CheckboxGroup;
|
|
6841
|
+
/** Tags input field */
|
|
6842
|
+
tagsOptions?: Tags;
|
|
6758
6843
|
}
|
|
6759
6844
|
interface _Object extends _ObjectValidationOneOf {
|
|
6760
6845
|
/** Validation of object type. */
|
|
@@ -7957,6 +8042,16 @@ interface CheckboxGroupNonNullableFields {
|
|
|
7957
8042
|
options: OptionNonNullableFields[];
|
|
7958
8043
|
numberOfColumns: NumberOfColumns;
|
|
7959
8044
|
}
|
|
8045
|
+
interface TagsOptionNonNullableFields {
|
|
8046
|
+
default: boolean;
|
|
8047
|
+
_id: string;
|
|
8048
|
+
media?: MediaItemNonNullableFields;
|
|
8049
|
+
}
|
|
8050
|
+
interface TagsNonNullableFields {
|
|
8051
|
+
description?: RichContentNonNullableFields;
|
|
8052
|
+
options: TagsOptionNonNullableFields[];
|
|
8053
|
+
numberOfColumns: NumberOfColumns;
|
|
8054
|
+
}
|
|
7960
8055
|
interface ArrayTypeArrayItemsNonNullableFields {
|
|
7961
8056
|
stringOptions?: InputFieldStringTypeNonNullableFields;
|
|
7962
8057
|
booleanOptions?: InputFieldBooleanTypeNonNullableFields;
|
|
@@ -7967,6 +8062,7 @@ interface InputFieldArrayTypeNonNullableFields {
|
|
|
7967
8062
|
}
|
|
7968
8063
|
interface _ArrayNonNullableFields {
|
|
7969
8064
|
checkboxGroupOptions?: CheckboxGroupNonNullableFields;
|
|
8065
|
+
tagsOptions?: TagsNonNullableFields;
|
|
7970
8066
|
validation?: InputFieldArrayTypeNonNullableFields;
|
|
7971
8067
|
componentType: ComponentType;
|
|
7972
8068
|
}
|