@wix/forms 1.0.181 → 1.0.183

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.
@@ -2751,14 +2751,6 @@ interface InputFieldMultilineAddressComponentTypeOptionsOneOf$1 {
2751
2751
  /** Multiline address input field. */
2752
2752
  multilineAddressOptions?: MultilineAddress$1;
2753
2753
  }
2754
- interface Header$1 {
2755
- /** Content of the header */
2756
- content?: RichContent$1;
2757
- }
2758
- interface RichText$1 {
2759
- /** Content of the rich text field */
2760
- content?: RichContent$1;
2761
- }
2762
2754
  declare enum Target$1 {
2763
2755
  /** Undefined target. */
2764
2756
  UNDEFINED = "UNDEFINED",
@@ -2849,11 +2841,25 @@ interface InputFieldInputTypeOptionsOneOf$1 {
2849
2841
  /** Input returns multiline address as value. */
2850
2842
  multilineAddressOptions?: InputFieldMultilineAddress$1;
2851
2843
  }
2852
- interface DisplayField$1 extends DisplayFieldComponentTypeOneOf$1 {
2844
+ /** Copy of the entity existing in form template project, needed to hide translations. */
2845
+ interface DisplayField$1 extends DisplayFieldDisplayFieldTypeOptionsOneOf$1, DisplayFieldComponentTypeOneOf$1 {
2846
+ /** Component displaying rich content */
2847
+ richContentOptions?: RichContentOptions$1;
2848
+ /** Page navigation component resolving as navigation or submit buttons */
2849
+ pageNavigationOptions?: PageNavigationOptions$1;
2853
2850
  /** Header field */
2854
2851
  header?: Header$1;
2855
2852
  /** Rich text field */
2856
2853
  richText?: RichText$1;
2854
+ /** Type of the display field */
2855
+ displayFieldType?: DisplayFieldType$1;
2856
+ }
2857
+ /** @oneof */
2858
+ interface DisplayFieldDisplayFieldTypeOptionsOneOf$1 {
2859
+ /** Component displaying rich content */
2860
+ richContentOptions?: RichContentOptions$1;
2861
+ /** Page navigation component resolving as navigation or submit buttons */
2862
+ pageNavigationOptions?: PageNavigationOptions$1;
2857
2863
  }
2858
2864
  /** @oneof */
2859
2865
  interface DisplayFieldComponentTypeOneOf$1 {
@@ -2862,6 +2868,31 @@ interface DisplayFieldComponentTypeOneOf$1 {
2862
2868
  /** Rich text field */
2863
2869
  richText?: RichText$1;
2864
2870
  }
2871
+ declare enum DisplayFieldType$1 {
2872
+ UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
2873
+ RICH_CONTENT = "RICH_CONTENT",
2874
+ PAGE_NAVIGATION = "PAGE_NAVIGATION"
2875
+ }
2876
+ interface RichContentOptions$1 {
2877
+ /** Content of the header */
2878
+ richContent?: RichContent$1;
2879
+ }
2880
+ interface PageNavigationOptions$1 {
2881
+ /** When button is not on last page it behaves as switch between pages page, text of label to go to next page. */
2882
+ nextPageText?: string | null;
2883
+ /** When button is not on last page it behaves as switch between pages page, text of label to go to previous page. */
2884
+ previousPageText?: string | null;
2885
+ /** Text on the button when button is submitting a form */
2886
+ submitText?: string | null;
2887
+ }
2888
+ interface Header$1 {
2889
+ /** Content of the header */
2890
+ content?: RichContent$1;
2891
+ }
2892
+ interface RichText$1 {
2893
+ /** Content of the rich text field */
2894
+ content?: RichContent$1;
2895
+ }
2865
2896
  interface SubmitButton$1 extends SubmitButtonSubmitActionOneOf$1 {
2866
2897
  /**
2867
2898
  * Submit action effect is to show message
@@ -4101,6 +4132,9 @@ interface InputFieldNonNullableFields$1 {
4101
4132
  contactMapping?: FormFieldContactInfoNonNullableFields$1;
4102
4133
  readOnly: boolean;
4103
4134
  }
4135
+ interface RichContentOptionsNonNullableFields$1 {
4136
+ richContent?: RichContentNonNullableFields$1;
4137
+ }
4104
4138
  interface HeaderNonNullableFields$1 {
4105
4139
  content?: RichContentNonNullableFields$1;
4106
4140
  }
@@ -4108,8 +4142,10 @@ interface RichTextNonNullableFields$1 {
4108
4142
  content?: RichContentNonNullableFields$1;
4109
4143
  }
4110
4144
  interface DisplayFieldNonNullableFields$1 {
4145
+ richContentOptions?: RichContentOptionsNonNullableFields$1;
4111
4146
  header?: HeaderNonNullableFields$1;
4112
4147
  richText?: RichTextNonNullableFields$1;
4148
+ displayFieldType: DisplayFieldType$1;
4113
4149
  }
4114
4150
  interface ThankYouMessageNonNullableFields$1 {
4115
4151
  text?: RichContentNonNullableFields$1;
@@ -7020,14 +7056,6 @@ interface InputFieldMultilineAddressComponentTypeOptionsOneOf {
7020
7056
  /** Multiline address input field. */
7021
7057
  multilineAddressOptions?: MultilineAddress;
7022
7058
  }
7023
- interface Header {
7024
- /** Content of the header */
7025
- content?: RichContent;
7026
- }
7027
- interface RichText {
7028
- /** Content of the rich text field */
7029
- content?: RichContent;
7030
- }
7031
7059
  declare enum Target {
7032
7060
  /** Undefined target. */
7033
7061
  UNDEFINED = "UNDEFINED",
@@ -7118,11 +7146,25 @@ interface InputFieldInputTypeOptionsOneOf {
7118
7146
  /** Input returns multiline address as value. */
7119
7147
  multilineAddressOptions?: InputFieldMultilineAddress;
7120
7148
  }
7121
- interface DisplayField extends DisplayFieldComponentTypeOneOf {
7149
+ /** Copy of the entity existing in form template project, needed to hide translations. */
7150
+ interface DisplayField extends DisplayFieldDisplayFieldTypeOptionsOneOf, DisplayFieldComponentTypeOneOf {
7151
+ /** Component displaying rich content */
7152
+ richContentOptions?: RichContentOptions;
7153
+ /** Page navigation component resolving as navigation or submit buttons */
7154
+ pageNavigationOptions?: PageNavigationOptions;
7122
7155
  /** Header field */
7123
7156
  header?: Header;
7124
7157
  /** Rich text field */
7125
7158
  richText?: RichText;
7159
+ /** Type of the display field */
7160
+ displayFieldType?: DisplayFieldType;
7161
+ }
7162
+ /** @oneof */
7163
+ interface DisplayFieldDisplayFieldTypeOptionsOneOf {
7164
+ /** Component displaying rich content */
7165
+ richContentOptions?: RichContentOptions;
7166
+ /** Page navigation component resolving as navigation or submit buttons */
7167
+ pageNavigationOptions?: PageNavigationOptions;
7126
7168
  }
7127
7169
  /** @oneof */
7128
7170
  interface DisplayFieldComponentTypeOneOf {
@@ -7131,6 +7173,31 @@ interface DisplayFieldComponentTypeOneOf {
7131
7173
  /** Rich text field */
7132
7174
  richText?: RichText;
7133
7175
  }
7176
+ declare enum DisplayFieldType {
7177
+ UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
7178
+ RICH_CONTENT = "RICH_CONTENT",
7179
+ PAGE_NAVIGATION = "PAGE_NAVIGATION"
7180
+ }
7181
+ interface RichContentOptions {
7182
+ /** Content of the header */
7183
+ richContent?: RichContent;
7184
+ }
7185
+ interface PageNavigationOptions {
7186
+ /** When button is not on last page it behaves as switch between pages page, text of label to go to next page. */
7187
+ nextPageText?: string | null;
7188
+ /** When button is not on last page it behaves as switch between pages page, text of label to go to previous page. */
7189
+ previousPageText?: string | null;
7190
+ /** Text on the button when button is submitting a form */
7191
+ submitText?: string | null;
7192
+ }
7193
+ interface Header {
7194
+ /** Content of the header */
7195
+ content?: RichContent;
7196
+ }
7197
+ interface RichText {
7198
+ /** Content of the rich text field */
7199
+ content?: RichContent;
7200
+ }
7134
7201
  interface SubmitButton extends SubmitButtonSubmitActionOneOf {
7135
7202
  /**
7136
7203
  * Submit action effect is to show message
@@ -8364,6 +8431,9 @@ interface InputFieldNonNullableFields {
8364
8431
  contactMapping?: FormFieldContactInfoNonNullableFields;
8365
8432
  readOnly: boolean;
8366
8433
  }
8434
+ interface RichContentOptionsNonNullableFields {
8435
+ richContent?: RichContentNonNullableFields;
8436
+ }
8367
8437
  interface HeaderNonNullableFields {
8368
8438
  content?: RichContentNonNullableFields;
8369
8439
  }
@@ -8371,8 +8441,10 @@ interface RichTextNonNullableFields {
8371
8441
  content?: RichContentNonNullableFields;
8372
8442
  }
8373
8443
  interface DisplayFieldNonNullableFields {
8444
+ richContentOptions?: RichContentOptionsNonNullableFields;
8374
8445
  header?: HeaderNonNullableFields;
8375
8446
  richText?: RichTextNonNullableFields;
8447
+ displayFieldType: DisplayFieldType;
8376
8448
  }
8377
8449
  interface ThankYouMessageNonNullableFields {
8378
8450
  text?: RichContentNonNullableFields;