@wix/forms 1.0.151 → 1.0.153

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.
@@ -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",
@@ -2338,7 +2377,8 @@ interface Signature$1 {
2338
2377
  declare enum PaymentComponentType$1 {
2339
2378
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2340
2379
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
2341
- DONATION_INPUT = "DONATION_INPUT"
2380
+ DONATION_INPUT = "DONATION_INPUT",
2381
+ PAYMENT_INPUT = "PAYMENT_INPUT"
2342
2382
  }
2343
2383
  interface ProductCheckboxGroup$1 {
2344
2384
  /** Label of the field. */
@@ -2401,11 +2441,23 @@ interface DonationInputOption$1 {
2401
2441
  /** Flag identifying that option should be selected by default */
2402
2442
  default?: boolean;
2403
2443
  }
2404
- interface CommonCustomOption$1 {
2405
- /** Label of custom option input */
2444
+ interface PaymentInput$1 {
2445
+ /** Label of the field. */
2406
2446
  label?: string | null;
2447
+ /** Description of the field. */
2448
+ description?: RichContent$1;
2449
+ /**
2450
+ * Flag identifying to hide or not label
2451
+ * Default: true
2452
+ */
2453
+ showLabel?: boolean | null;
2407
2454
  /** Placeholder of custom option input */
2408
2455
  placeholder?: string | null;
2456
+ /**
2457
+ * Flag identifying if the payment input is fixed price
2458
+ * Default: true
2459
+ */
2460
+ fixedPrice?: boolean | null;
2409
2461
  }
2410
2462
  declare enum MultilineAddressComponentType$1 {
2411
2463
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
@@ -2626,6 +2678,8 @@ interface _BooleanComponentTypeOptionsOneOf$1 {
2626
2678
  interface _Array$1 extends _ArrayComponentTypeOptionsOneOf$1 {
2627
2679
  /** Checkbox group input field */
2628
2680
  checkboxGroupOptions?: CheckboxGroup$1;
2681
+ /** Tags input field */
2682
+ tagsOptions?: Tags$1;
2629
2683
  /** Validation of array type. */
2630
2684
  validation?: InputFieldArrayType$1;
2631
2685
  /**
@@ -2638,6 +2692,8 @@ interface _Array$1 extends _ArrayComponentTypeOptionsOneOf$1 {
2638
2692
  interface _ArrayComponentTypeOptionsOneOf$1 {
2639
2693
  /** Checkbox group input field */
2640
2694
  checkboxGroupOptions?: CheckboxGroup$1;
2695
+ /** Tags input field */
2696
+ tagsOptions?: Tags$1;
2641
2697
  }
2642
2698
  interface _Object$1 extends _ObjectValidationOneOf$1 {
2643
2699
  /** Validation of object type. */
@@ -2671,6 +2727,8 @@ interface Payment$1 extends PaymentComponentTypeOptionsOneOf$1 {
2671
2727
  checkboxGroupOptions?: ProductCheckboxGroup$1;
2672
2728
  /** Donation input field. */
2673
2729
  donationInputOptions?: DonationInput$1;
2730
+ /** Payment input field. */
2731
+ paymentInputOptions?: PaymentInput$1;
2674
2732
  /**
2675
2733
  * Component type of the payment input field.
2676
2734
  * @readonly
@@ -2685,6 +2743,8 @@ interface PaymentComponentTypeOptionsOneOf$1 {
2685
2743
  checkboxGroupOptions?: ProductCheckboxGroup$1;
2686
2744
  /** Donation input field. */
2687
2745
  donationInputOptions?: DonationInput$1;
2746
+ /** Payment input field. */
2747
+ paymentInputOptions?: PaymentInput$1;
2688
2748
  }
2689
2749
  interface InputFieldMultilineAddress$1 extends InputFieldMultilineAddressComponentTypeOptionsOneOf$1 {
2690
2750
  /** Multiline address input field. */
@@ -3846,6 +3906,16 @@ interface CheckboxGroupNonNullableFields$1 {
3846
3906
  options: OptionNonNullableFields$1[];
3847
3907
  numberOfColumns: NumberOfColumns$1;
3848
3908
  }
3909
+ interface TagsOptionNonNullableFields$1 {
3910
+ default: boolean;
3911
+ id: string;
3912
+ media?: MediaItemNonNullableFields$1;
3913
+ }
3914
+ interface TagsNonNullableFields$1 {
3915
+ description?: RichContentNonNullableFields$1;
3916
+ options: TagsOptionNonNullableFields$1[];
3917
+ numberOfColumns: NumberOfColumns$1;
3918
+ }
3849
3919
  interface ArrayTypeArrayItemsNonNullableFields$1 {
3850
3920
  stringOptions?: InputFieldStringTypeNonNullableFields$1;
3851
3921
  booleanOptions?: InputFieldBooleanTypeNonNullableFields$1;
@@ -3856,6 +3926,7 @@ interface InputFieldArrayTypeNonNullableFields$1 {
3856
3926
  }
3857
3927
  interface _ArrayNonNullableFields$1 {
3858
3928
  checkboxGroupOptions?: CheckboxGroupNonNullableFields$1;
3929
+ tagsOptions?: TagsNonNullableFields$1;
3859
3930
  validation?: InputFieldArrayTypeNonNullableFields$1;
3860
3931
  componentType: ComponentType$1;
3861
3932
  }
@@ -3891,9 +3962,13 @@ interface DonationInputNonNullableFields$1 {
3891
3962
  options: DonationInputOptionNonNullableFields$1[];
3892
3963
  numberOfColumns: NumberOfColumns$1;
3893
3964
  }
3965
+ interface PaymentInputNonNullableFields$1 {
3966
+ description?: RichContentNonNullableFields$1;
3967
+ }
3894
3968
  interface PaymentNonNullableFields$1 {
3895
3969
  checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields$1;
3896
3970
  donationInputOptions?: DonationInputNonNullableFields$1;
3971
+ paymentInputOptions?: PaymentInputNonNullableFields$1;
3897
3972
  componentType: PaymentComponentType$1;
3898
3973
  validation?: PaymentTypeNonNullableFields$1;
3899
3974
  }
@@ -6353,7 +6428,8 @@ interface InputFieldArrayErrorMessages {
6353
6428
  }
6354
6429
  declare enum ComponentType {
6355
6430
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
6356
- CHECKBOX_GROUP = "CHECKBOX_GROUP"
6431
+ CHECKBOX_GROUP = "CHECKBOX_GROUP",
6432
+ TAGS = "TAGS"
6357
6433
  }
6358
6434
  interface CheckboxGroup {
6359
6435
  /** Label of the field */
@@ -6402,6 +6478,44 @@ interface CustomOption {
6402
6478
  /** Placeholder of custom option input */
6403
6479
  placeholder?: string | null;
6404
6480
  }
6481
+ interface Tags {
6482
+ /** Label of the field */
6483
+ label?: string | null;
6484
+ /** Description of the field */
6485
+ description?: RichContent;
6486
+ /** List of options to select from */
6487
+ options?: TagsOption[];
6488
+ /**
6489
+ * Flag identifying to hide or not label
6490
+ * Default: true
6491
+ */
6492
+ showLabel?: boolean | null;
6493
+ /** Option which can be specified by UoU, enabled when this object is specified. */
6494
+ customOption?: CommonCustomOption;
6495
+ /**
6496
+ * Specifies the number of columns used to display the selections within the component.
6497
+ * Default: ONE
6498
+ */
6499
+ numberOfColumns?: NumberOfColumns;
6500
+ }
6501
+ interface TagsOption {
6502
+ /** Selectable option label */
6503
+ label?: string | null;
6504
+ /** Selectable option value, which is saved to DB. */
6505
+ value?: any;
6506
+ /** Flag identifying that option should be selected by default */
6507
+ default?: boolean;
6508
+ /** Option id. Used as binding for translations */
6509
+ _id?: string;
6510
+ /** Media item. Media, associated with option, like image. */
6511
+ media?: MediaItem;
6512
+ }
6513
+ interface CommonCustomOption {
6514
+ /** Label of custom option input */
6515
+ label?: string | null;
6516
+ /** Placeholder of custom option input */
6517
+ placeholder?: string | null;
6518
+ }
6405
6519
  declare enum WixFileComponentType {
6406
6520
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
6407
6521
  FILE_UPLOAD = "FILE_UPLOAD",
@@ -6455,7 +6569,8 @@ interface Signature {
6455
6569
  declare enum PaymentComponentType {
6456
6570
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
6457
6571
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
6458
- DONATION_INPUT = "DONATION_INPUT"
6572
+ DONATION_INPUT = "DONATION_INPUT",
6573
+ PAYMENT_INPUT = "PAYMENT_INPUT"
6459
6574
  }
6460
6575
  interface ProductCheckboxGroup {
6461
6576
  /** Label of the field. */
@@ -6518,11 +6633,23 @@ interface DonationInputOption {
6518
6633
  /** Flag identifying that option should be selected by default */
6519
6634
  default?: boolean;
6520
6635
  }
6521
- interface CommonCustomOption {
6522
- /** Label of custom option input */
6636
+ interface PaymentInput {
6637
+ /** Label of the field. */
6523
6638
  label?: string | null;
6639
+ /** Description of the field. */
6640
+ description?: RichContent;
6641
+ /**
6642
+ * Flag identifying to hide or not label
6643
+ * Default: true
6644
+ */
6645
+ showLabel?: boolean | null;
6524
6646
  /** Placeholder of custom option input */
6525
6647
  placeholder?: string | null;
6648
+ /**
6649
+ * Flag identifying if the payment input is fixed price
6650
+ * Default: true
6651
+ */
6652
+ fixedPrice?: boolean | null;
6526
6653
  }
6527
6654
  declare enum MultilineAddressComponentType {
6528
6655
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
@@ -6743,6 +6870,8 @@ interface _BooleanComponentTypeOptionsOneOf {
6743
6870
  interface _Array extends _ArrayComponentTypeOptionsOneOf {
6744
6871
  /** Checkbox group input field */
6745
6872
  checkboxGroupOptions?: CheckboxGroup;
6873
+ /** Tags input field */
6874
+ tagsOptions?: Tags;
6746
6875
  /** Validation of array type. */
6747
6876
  validation?: InputFieldArrayType;
6748
6877
  /**
@@ -6755,6 +6884,8 @@ interface _Array extends _ArrayComponentTypeOptionsOneOf {
6755
6884
  interface _ArrayComponentTypeOptionsOneOf {
6756
6885
  /** Checkbox group input field */
6757
6886
  checkboxGroupOptions?: CheckboxGroup;
6887
+ /** Tags input field */
6888
+ tagsOptions?: Tags;
6758
6889
  }
6759
6890
  interface _Object extends _ObjectValidationOneOf {
6760
6891
  /** Validation of object type. */
@@ -6788,6 +6919,8 @@ interface Payment extends PaymentComponentTypeOptionsOneOf {
6788
6919
  checkboxGroupOptions?: ProductCheckboxGroup;
6789
6920
  /** Donation input field. */
6790
6921
  donationInputOptions?: DonationInput;
6922
+ /** Payment input field. */
6923
+ paymentInputOptions?: PaymentInput;
6791
6924
  /**
6792
6925
  * Component type of the payment input field.
6793
6926
  * @readonly
@@ -6802,6 +6935,8 @@ interface PaymentComponentTypeOptionsOneOf {
6802
6935
  checkboxGroupOptions?: ProductCheckboxGroup;
6803
6936
  /** Donation input field. */
6804
6937
  donationInputOptions?: DonationInput;
6938
+ /** Payment input field. */
6939
+ paymentInputOptions?: PaymentInput;
6805
6940
  }
6806
6941
  interface InputFieldMultilineAddress extends InputFieldMultilineAddressComponentTypeOptionsOneOf {
6807
6942
  /** Multiline address input field. */
@@ -7957,6 +8092,16 @@ interface CheckboxGroupNonNullableFields {
7957
8092
  options: OptionNonNullableFields[];
7958
8093
  numberOfColumns: NumberOfColumns;
7959
8094
  }
8095
+ interface TagsOptionNonNullableFields {
8096
+ default: boolean;
8097
+ _id: string;
8098
+ media?: MediaItemNonNullableFields;
8099
+ }
8100
+ interface TagsNonNullableFields {
8101
+ description?: RichContentNonNullableFields;
8102
+ options: TagsOptionNonNullableFields[];
8103
+ numberOfColumns: NumberOfColumns;
8104
+ }
7960
8105
  interface ArrayTypeArrayItemsNonNullableFields {
7961
8106
  stringOptions?: InputFieldStringTypeNonNullableFields;
7962
8107
  booleanOptions?: InputFieldBooleanTypeNonNullableFields;
@@ -7967,6 +8112,7 @@ interface InputFieldArrayTypeNonNullableFields {
7967
8112
  }
7968
8113
  interface _ArrayNonNullableFields {
7969
8114
  checkboxGroupOptions?: CheckboxGroupNonNullableFields;
8115
+ tagsOptions?: TagsNonNullableFields;
7970
8116
  validation?: InputFieldArrayTypeNonNullableFields;
7971
8117
  componentType: ComponentType;
7972
8118
  }
@@ -8002,9 +8148,13 @@ interface DonationInputNonNullableFields {
8002
8148
  options: DonationInputOptionNonNullableFields[];
8003
8149
  numberOfColumns: NumberOfColumns;
8004
8150
  }
8151
+ interface PaymentInputNonNullableFields {
8152
+ description?: RichContentNonNullableFields;
8153
+ }
8005
8154
  interface PaymentNonNullableFields {
8006
8155
  checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields;
8007
8156
  donationInputOptions?: DonationInputNonNullableFields;
8157
+ paymentInputOptions?: PaymentInputNonNullableFields;
8008
8158
  componentType: PaymentComponentType;
8009
8159
  validation?: PaymentTypeNonNullableFields;
8010
8160
  }