@wix/forms 1.0.54 → 1.0.56
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/build/cjs/src/forms-v4-submission.public.d.ts +2 -2
- package/build/cjs/src/forms-v4-submission.public.js +7 -5
- package/build/cjs/src/forms-v4-submission.public.js.map +1 -1
- package/build/cjs/src/forms-v4-submission.types.d.ts +222 -147
- package/build/cjs/src/forms-v4-submission.types.js +48 -31
- package/build/cjs/src/forms-v4-submission.types.js.map +1 -1
- package/build/cjs/src/forms-v4-submission.universal.d.ts +199 -124
- package/build/cjs/src/forms-v4-submission.universal.js +48 -31
- package/build/cjs/src/forms-v4-submission.universal.js.map +1 -1
- package/build/es/src/forms-v4-submission.public.d.ts +2 -2
- package/build/es/src/forms-v4-submission.public.js +1 -1
- package/build/es/src/forms-v4-submission.public.js.map +1 -1
- package/build/es/src/forms-v4-submission.types.d.ts +222 -147
- package/build/es/src/forms-v4-submission.types.js +46 -29
- package/build/es/src/forms-v4-submission.types.js.map +1 -1
- package/build/es/src/forms-v4-submission.universal.d.ts +199 -124
- package/build/es/src/forms-v4-submission.universal.js +46 -29
- package/build/es/src/forms-v4-submission.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -572,6 +572,60 @@ export interface FormFieldV2FieldTypeOptionsOneOf {
|
|
|
572
572
|
/** Submit button of the form */
|
|
573
573
|
submitOptions?: SubmitButton;
|
|
574
574
|
}
|
|
575
|
+
export interface InputFieldStringType {
|
|
576
|
+
/** Minimum length. */
|
|
577
|
+
minLength?: number | null;
|
|
578
|
+
/** Maximum length. */
|
|
579
|
+
maxLength?: number | null;
|
|
580
|
+
/** Pattern for a regular expression match. */
|
|
581
|
+
pattern?: string | null;
|
|
582
|
+
/** Format of a string. */
|
|
583
|
+
format?: FormatEnumFormat;
|
|
584
|
+
/** Custom error messages when validation fails. */
|
|
585
|
+
errorMessages?: InputFieldStringErrorMessages;
|
|
586
|
+
/** List of allowed values. */
|
|
587
|
+
enum?: string[] | null;
|
|
588
|
+
}
|
|
589
|
+
export declare enum FormatEnumFormat {
|
|
590
|
+
UNDEFINED = "UNDEFINED",
|
|
591
|
+
DATE = "DATE",
|
|
592
|
+
TIME = "TIME",
|
|
593
|
+
DATE_TIME = "DATE_TIME",
|
|
594
|
+
EMAIL = "EMAIL",
|
|
595
|
+
URL = "URL",
|
|
596
|
+
UUID = "UUID",
|
|
597
|
+
PHONE = "PHONE",
|
|
598
|
+
URI = "URI",
|
|
599
|
+
HOSTNAME = "HOSTNAME",
|
|
600
|
+
COLOR_HEX = "COLOR_HEX",
|
|
601
|
+
CURRENCY = "CURRENCY",
|
|
602
|
+
LANGUAGE = "LANGUAGE",
|
|
603
|
+
DATE_OPTIONAL_TIME = "DATE_OPTIONAL_TIME"
|
|
604
|
+
}
|
|
605
|
+
export interface InputFieldStringErrorMessages {
|
|
606
|
+
/** Default error message on invalid validation. */
|
|
607
|
+
default?: string | null;
|
|
608
|
+
}
|
|
609
|
+
export declare enum StringComponentType {
|
|
610
|
+
UNKNOWN = "UNKNOWN",
|
|
611
|
+
TEXT_INPUT = "TEXT_INPUT",
|
|
612
|
+
RADIO_GROUP = "RADIO_GROUP",
|
|
613
|
+
DROPDOWN = "DROPDOWN",
|
|
614
|
+
DATE_TIME = "DATE_TIME"
|
|
615
|
+
}
|
|
616
|
+
export interface TextInput {
|
|
617
|
+
/** Label of the field */
|
|
618
|
+
label?: string | null;
|
|
619
|
+
/** Description of the field */
|
|
620
|
+
description?: RichContent;
|
|
621
|
+
/** Placeholder for the value input */
|
|
622
|
+
placeholder?: string | null;
|
|
623
|
+
/**
|
|
624
|
+
* Flag identifying to hide or not label
|
|
625
|
+
* Default: true
|
|
626
|
+
*/
|
|
627
|
+
showLabel?: boolean | null;
|
|
628
|
+
}
|
|
575
629
|
export interface RichContent {
|
|
576
630
|
/** Node objects representing a rich content document. */
|
|
577
631
|
nodes?: Node[];
|
|
@@ -1760,6 +1814,24 @@ export interface TextNodeStyle {
|
|
|
1760
1814
|
/** Line height for text in the node. */
|
|
1761
1815
|
lineHeight?: string | null;
|
|
1762
1816
|
}
|
|
1817
|
+
export interface RadioGroup {
|
|
1818
|
+
/** Label of the field */
|
|
1819
|
+
label?: string | null;
|
|
1820
|
+
/** Description of the field */
|
|
1821
|
+
description?: RichContent;
|
|
1822
|
+
/**
|
|
1823
|
+
* Flag identifying to show option allowing input custom value
|
|
1824
|
+
* List of options to select from
|
|
1825
|
+
*/
|
|
1826
|
+
options?: RadioGroupOption[];
|
|
1827
|
+
/**
|
|
1828
|
+
* Flag identifying to hide or not label
|
|
1829
|
+
* Default: true
|
|
1830
|
+
*/
|
|
1831
|
+
showLabel?: boolean | null;
|
|
1832
|
+
/** Option which can be specified by UoU, enabled when this object is specified. */
|
|
1833
|
+
customOption?: RadioGroupCustomOption;
|
|
1834
|
+
}
|
|
1763
1835
|
export interface RadioGroupOption {
|
|
1764
1836
|
/** Selectable option label */
|
|
1765
1837
|
label?: string | null;
|
|
@@ -1776,6 +1848,23 @@ export interface RadioGroupCustomOption {
|
|
|
1776
1848
|
/** Placeholder of custom option input */
|
|
1777
1849
|
placeholder?: string | null;
|
|
1778
1850
|
}
|
|
1851
|
+
export interface Dropdown {
|
|
1852
|
+
/** Label of the field */
|
|
1853
|
+
label?: string | null;
|
|
1854
|
+
/** Description of the field */
|
|
1855
|
+
description?: RichContent;
|
|
1856
|
+
/** List of options to select from */
|
|
1857
|
+
options?: DropdownOption[];
|
|
1858
|
+
/**
|
|
1859
|
+
* Flag identifying to hide or not label
|
|
1860
|
+
* Default: true
|
|
1861
|
+
*/
|
|
1862
|
+
showLabel?: boolean | null;
|
|
1863
|
+
/** Option which can be specified by UoU, enabled when this object is specified. */
|
|
1864
|
+
customOption?: DropdownCustomOption;
|
|
1865
|
+
/** Placeholder of dropdown input */
|
|
1866
|
+
placeholder?: string | null;
|
|
1867
|
+
}
|
|
1779
1868
|
export interface DropdownOption {
|
|
1780
1869
|
/** Selectable option label */
|
|
1781
1870
|
label?: string | null;
|
|
@@ -1792,93 +1881,75 @@ export interface DropdownCustomOption {
|
|
|
1792
1881
|
/** Placeholder of custom option input */
|
|
1793
1882
|
placeholder?: string | null;
|
|
1794
1883
|
}
|
|
1795
|
-
export interface
|
|
1796
|
-
/**
|
|
1797
|
-
|
|
1798
|
-
/**
|
|
1799
|
-
|
|
1800
|
-
/**
|
|
1801
|
-
|
|
1802
|
-
/**
|
|
1803
|
-
format?: FormatEnumFormat;
|
|
1804
|
-
/** Custom error messages when validation fails. */
|
|
1805
|
-
errorMessages?: InputFieldStringErrorMessages;
|
|
1806
|
-
/** List of allowed values. */
|
|
1807
|
-
enum?: string[] | null;
|
|
1808
|
-
}
|
|
1809
|
-
export declare enum FormatEnumFormat {
|
|
1810
|
-
UNDEFINED = "UNDEFINED",
|
|
1811
|
-
DATE = "DATE",
|
|
1812
|
-
TIME = "TIME",
|
|
1813
|
-
DATE_TIME = "DATE_TIME",
|
|
1814
|
-
EMAIL = "EMAIL",
|
|
1815
|
-
URL = "URL",
|
|
1816
|
-
UUID = "UUID",
|
|
1817
|
-
PHONE = "PHONE",
|
|
1818
|
-
URI = "URI",
|
|
1819
|
-
HOSTNAME = "HOSTNAME",
|
|
1820
|
-
COLOR_HEX = "COLOR_HEX",
|
|
1821
|
-
CURRENCY = "CURRENCY",
|
|
1822
|
-
LANGUAGE = "LANGUAGE",
|
|
1823
|
-
DATE_OPTIONAL_TIME = "DATE_OPTIONAL_TIME"
|
|
1824
|
-
}
|
|
1825
|
-
export interface InputFieldStringErrorMessages {
|
|
1826
|
-
/** Default error message on invalid validation. */
|
|
1827
|
-
default?: string | null;
|
|
1828
|
-
}
|
|
1829
|
-
export declare enum StringComponentType {
|
|
1830
|
-
UNKNOWN = "UNKNOWN",
|
|
1831
|
-
TEXT_INPUT = "TEXT_INPUT",
|
|
1832
|
-
RADIO_GROUP = "RADIO_GROUP",
|
|
1833
|
-
DROPDOWN = "DROPDOWN"
|
|
1834
|
-
}
|
|
1835
|
-
export interface TextInput {
|
|
1836
|
-
/** Label of the field */
|
|
1884
|
+
export interface DateTimeInput extends DateTimeInputDateTimeInputTypeOptionsOneOf {
|
|
1885
|
+
/** Options specific to the combined Date and Time input type. */
|
|
1886
|
+
dateTimeOptions?: DateTimeOptions;
|
|
1887
|
+
/** Options specific to the Date-only input type. */
|
|
1888
|
+
dateOptions?: DateOptions;
|
|
1889
|
+
/** Options specific to the Time-only input type. */
|
|
1890
|
+
timeOptions?: TimeOptions;
|
|
1891
|
+
/** Label of the field. Displayed text for the date/time input. */
|
|
1837
1892
|
label?: string | null;
|
|
1838
|
-
/** Description of the field */
|
|
1893
|
+
/** Description of the field. Additional information about the date/time input. */
|
|
1839
1894
|
description?: RichContent;
|
|
1840
|
-
/** Placeholder for the value input */
|
|
1841
|
-
placeholder?: string | null;
|
|
1842
1895
|
/**
|
|
1843
|
-
* Flag identifying to
|
|
1896
|
+
* Flag identifying whether to show or hide the label.
|
|
1844
1897
|
* Default: true
|
|
1845
1898
|
*/
|
|
1846
1899
|
showLabel?: boolean | null;
|
|
1847
|
-
}
|
|
1848
|
-
export interface RadioGroup {
|
|
1849
|
-
/** Label of the field */
|
|
1850
|
-
label?: string | null;
|
|
1851
|
-
/** Description of the field */
|
|
1852
|
-
description?: RichContent;
|
|
1853
1900
|
/**
|
|
1854
|
-
* Flag identifying to show
|
|
1855
|
-
*
|
|
1901
|
+
* Flag identifying whether to show or hide the placeholder.
|
|
1902
|
+
* Default: true
|
|
1856
1903
|
*/
|
|
1857
|
-
|
|
1904
|
+
showPlaceholder?: boolean | null;
|
|
1858
1905
|
/**
|
|
1859
|
-
*
|
|
1860
|
-
*
|
|
1906
|
+
* Date and/or time input component type
|
|
1907
|
+
* @readonly
|
|
1861
1908
|
*/
|
|
1862
|
-
|
|
1863
|
-
/** Option which can be specified by UoU, enabled when this object is specified. */
|
|
1864
|
-
customOption?: RadioGroupCustomOption;
|
|
1909
|
+
dateTimeInputType?: DateTimeInputType;
|
|
1865
1910
|
}
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1911
|
+
/** @oneof */
|
|
1912
|
+
export interface DateTimeInputDateTimeInputTypeOptionsOneOf {
|
|
1913
|
+
/** Options specific to the combined Date and Time input type. */
|
|
1914
|
+
dateTimeOptions?: DateTimeOptions;
|
|
1915
|
+
/** Options specific to the Date-only input type. */
|
|
1916
|
+
dateOptions?: DateOptions;
|
|
1917
|
+
/** Options specific to the Time-only input type. */
|
|
1918
|
+
timeOptions?: TimeOptions;
|
|
1919
|
+
}
|
|
1920
|
+
export declare enum DateFormatPart {
|
|
1921
|
+
YEAR = "YEAR",
|
|
1922
|
+
MONTH = "MONTH",
|
|
1923
|
+
DAY = "DAY"
|
|
1924
|
+
}
|
|
1925
|
+
export declare enum DateTimeInputType {
|
|
1926
|
+
UNKNOWN = "UNKNOWN",
|
|
1927
|
+
/** Show date and time input */
|
|
1928
|
+
DATE_TIME = "DATE_TIME",
|
|
1929
|
+
/** Show only date input */
|
|
1930
|
+
DATE = "DATE",
|
|
1931
|
+
/** Show only time input */
|
|
1932
|
+
TIME = "TIME"
|
|
1933
|
+
}
|
|
1934
|
+
export interface DateTimeOptions {
|
|
1935
|
+
/** Order of date picking component parts (e.g., YEAR, MONTH, DAY). */
|
|
1936
|
+
dateFormatParts?: DateFormatPart[];
|
|
1873
1937
|
/**
|
|
1874
|
-
* Flag
|
|
1875
|
-
* Default:
|
|
1938
|
+
* Flag indicating whether to use the 24-hour time format.
|
|
1939
|
+
* Default: false.
|
|
1876
1940
|
*/
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
/**
|
|
1881
|
-
|
|
1941
|
+
use24HourFormat?: boolean;
|
|
1942
|
+
}
|
|
1943
|
+
export interface DateOptions {
|
|
1944
|
+
/** Order of date picking component parts (e.g., YEAR, MONTH, DAY). */
|
|
1945
|
+
dateFormatParts?: DateFormatPart[];
|
|
1946
|
+
}
|
|
1947
|
+
export interface TimeOptions {
|
|
1948
|
+
/**
|
|
1949
|
+
* Flag indicating whether to use the 24-hour time format.
|
|
1950
|
+
* Default: false.
|
|
1951
|
+
*/
|
|
1952
|
+
use24HourFormat?: boolean;
|
|
1882
1953
|
}
|
|
1883
1954
|
export interface InputFieldNumberType {
|
|
1884
1955
|
/** Inclusive maximum value. */
|
|
@@ -1931,33 +2002,6 @@ export interface Checkbox {
|
|
|
1931
2002
|
/** Label of the field */
|
|
1932
2003
|
label?: RichContent;
|
|
1933
2004
|
}
|
|
1934
|
-
export interface MediaItem extends MediaItemMediaOneOf {
|
|
1935
|
-
/** WixMedia image. */
|
|
1936
|
-
image?: string;
|
|
1937
|
-
}
|
|
1938
|
-
/** @oneof */
|
|
1939
|
-
export interface MediaItemMediaOneOf {
|
|
1940
|
-
/** WixMedia image. */
|
|
1941
|
-
image?: string;
|
|
1942
|
-
}
|
|
1943
|
-
export interface Option {
|
|
1944
|
-
/** Selectable option label */
|
|
1945
|
-
label?: string | null;
|
|
1946
|
-
/** Selectable option value, which is saved to DB. */
|
|
1947
|
-
value?: any;
|
|
1948
|
-
/** Flag identifying that option should be selected by default */
|
|
1949
|
-
default?: boolean;
|
|
1950
|
-
/** Option id. Used as binding for translations */
|
|
1951
|
-
_id?: string;
|
|
1952
|
-
/** Media item. Media, associated with option, like image. */
|
|
1953
|
-
media?: MediaItem;
|
|
1954
|
-
}
|
|
1955
|
-
export interface CustomOption {
|
|
1956
|
-
/** Label of custom option input */
|
|
1957
|
-
label?: string | null;
|
|
1958
|
-
/** Placeholder of custom option input */
|
|
1959
|
-
placeholder?: string | null;
|
|
1960
|
-
}
|
|
1961
2005
|
export interface InputFieldArrayType {
|
|
1962
2006
|
/** Maximum amount of array elements. */
|
|
1963
2007
|
maxItems?: number | null;
|
|
@@ -2091,16 +2135,32 @@ export interface CheckboxGroup {
|
|
|
2091
2135
|
/** Option which can be specified by UoU, enabled when this object is specified. */
|
|
2092
2136
|
customOption?: CustomOption;
|
|
2093
2137
|
}
|
|
2094
|
-
export
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
/**
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2138
|
+
export interface MediaItem extends MediaItemMediaOneOf {
|
|
2139
|
+
/** WixMedia image. */
|
|
2140
|
+
image?: string;
|
|
2141
|
+
}
|
|
2142
|
+
/** @oneof */
|
|
2143
|
+
export interface MediaItemMediaOneOf {
|
|
2144
|
+
/** WixMedia image. */
|
|
2145
|
+
image?: string;
|
|
2146
|
+
}
|
|
2147
|
+
export interface Option {
|
|
2148
|
+
/** Selectable option label */
|
|
2149
|
+
label?: string | null;
|
|
2150
|
+
/** Selectable option value, which is saved to DB. */
|
|
2151
|
+
value?: any;
|
|
2152
|
+
/** Flag identifying that option should be selected by default */
|
|
2153
|
+
default?: boolean;
|
|
2154
|
+
/** Option id. Used as binding for translations */
|
|
2155
|
+
_id?: string;
|
|
2156
|
+
/** Media item. Media, associated with option, like image. */
|
|
2157
|
+
media?: MediaItem;
|
|
2158
|
+
}
|
|
2159
|
+
export interface CustomOption {
|
|
2160
|
+
/** Label of custom option input */
|
|
2161
|
+
label?: string | null;
|
|
2162
|
+
/** Placeholder of custom option input */
|
|
2163
|
+
placeholder?: string | null;
|
|
2104
2164
|
}
|
|
2105
2165
|
export declare enum WixFileComponentType {
|
|
2106
2166
|
UNKNOWN = "UNKNOWN",
|
|
@@ -2125,27 +2185,38 @@ export interface FileUpload {
|
|
|
2125
2185
|
/** Custom text which appears when file is uploaded, if missing file name will be shown */
|
|
2126
2186
|
explanationText?: string | null;
|
|
2127
2187
|
}
|
|
2128
|
-
export
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2188
|
+
export declare enum UploadFileFormat {
|
|
2189
|
+
UNDEFINED = "UNDEFINED",
|
|
2190
|
+
/** Video files */
|
|
2191
|
+
VIDEO = "VIDEO",
|
|
2192
|
+
/** Image files */
|
|
2193
|
+
IMAGE = "IMAGE",
|
|
2194
|
+
/** Audio files */
|
|
2195
|
+
AUDIO = "AUDIO",
|
|
2196
|
+
/** Document files */
|
|
2197
|
+
DOCUMENT = "DOCUMENT"
|
|
2137
2198
|
}
|
|
2138
2199
|
export declare enum PaymentComponentType {
|
|
2139
2200
|
UNKNOWN = "UNKNOWN",
|
|
2140
2201
|
CHECKBOX_GROUP = "CHECKBOX_GROUP"
|
|
2141
2202
|
}
|
|
2142
|
-
export interface
|
|
2203
|
+
export interface ProductCheckboxGroup {
|
|
2143
2204
|
/** Label of the field. */
|
|
2144
2205
|
label?: string | null;
|
|
2145
2206
|
/** Description of the field. */
|
|
2146
2207
|
description?: RichContent;
|
|
2147
2208
|
/** List of options to select from. */
|
|
2148
|
-
options?:
|
|
2209
|
+
options?: ProductCheckboxGroupOption[];
|
|
2210
|
+
}
|
|
2211
|
+
export interface ProductCheckboxGroupOption {
|
|
2212
|
+
/** Selectable option label. */
|
|
2213
|
+
label?: string | null;
|
|
2214
|
+
/** Selectable option value, which is saved to DB. Corresponds to product id, found in field's products list. */
|
|
2215
|
+
value?: any;
|
|
2216
|
+
/** Option id. Used as binding for translations. */
|
|
2217
|
+
_id?: string;
|
|
2218
|
+
/** Media item. Media, associated with option, like image. */
|
|
2219
|
+
media?: MediaItem;
|
|
2149
2220
|
}
|
|
2150
2221
|
export declare enum InputType {
|
|
2151
2222
|
UNKNOWN = "UNKNOWN",
|
|
@@ -2164,6 +2235,8 @@ export interface _String extends _StringComponentTypeOptionsOneOf {
|
|
|
2164
2235
|
radioGroupOptions?: RadioGroup;
|
|
2165
2236
|
/** Selection field as drop down */
|
|
2166
2237
|
dropdownOptions?: Dropdown;
|
|
2238
|
+
/** Field for selecting date and/or time */
|
|
2239
|
+
dateTimeOptions?: DateTimeInput;
|
|
2167
2240
|
/** Validation of field output value. */
|
|
2168
2241
|
validation?: InputFieldStringType;
|
|
2169
2242
|
/**
|
|
@@ -2180,6 +2253,8 @@ export interface _StringComponentTypeOptionsOneOf {
|
|
|
2180
2253
|
radioGroupOptions?: RadioGroup;
|
|
2181
2254
|
/** Selection field as drop down */
|
|
2182
2255
|
dropdownOptions?: Dropdown;
|
|
2256
|
+
/** Field for selecting date and/or time */
|
|
2257
|
+
dateTimeOptions?: DateTimeInput;
|
|
2183
2258
|
}
|
|
2184
2259
|
export interface _Number extends _NumberComponentTypeOptionsOneOf {
|
|
2185
2260
|
/** Number value input field */
|
|
@@ -2254,7 +2329,7 @@ export interface WixFileComponentTypeOptionsOneOf {
|
|
|
2254
2329
|
}
|
|
2255
2330
|
export interface Payment extends PaymentComponentTypeOptionsOneOf {
|
|
2256
2331
|
/** Checkbox group input field. */
|
|
2257
|
-
checkboxGroupOptions?:
|
|
2332
|
+
checkboxGroupOptions?: ProductCheckboxGroup;
|
|
2258
2333
|
/**
|
|
2259
2334
|
* Component type of the payment input field.
|
|
2260
2335
|
* @readonly
|
|
@@ -2266,7 +2341,7 @@ export interface Payment extends PaymentComponentTypeOptionsOneOf {
|
|
|
2266
2341
|
/** @oneof */
|
|
2267
2342
|
export interface PaymentComponentTypeOptionsOneOf {
|
|
2268
2343
|
/** Checkbox group input field. */
|
|
2269
|
-
checkboxGroupOptions?:
|
|
2344
|
+
checkboxGroupOptions?: ProductCheckboxGroup;
|
|
2270
2345
|
}
|
|
2271
2346
|
export interface Header {
|
|
2272
2347
|
/** Content of the header */
|
|
@@ -75,6 +75,31 @@ export var PriceType;
|
|
|
75
75
|
/** Dynamic price from price range. */
|
|
76
76
|
PriceType["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
77
77
|
})(PriceType || (PriceType = {}));
|
|
78
|
+
export var FormatEnumFormat;
|
|
79
|
+
(function (FormatEnumFormat) {
|
|
80
|
+
FormatEnumFormat["UNDEFINED"] = "UNDEFINED";
|
|
81
|
+
FormatEnumFormat["DATE"] = "DATE";
|
|
82
|
+
FormatEnumFormat["TIME"] = "TIME";
|
|
83
|
+
FormatEnumFormat["DATE_TIME"] = "DATE_TIME";
|
|
84
|
+
FormatEnumFormat["EMAIL"] = "EMAIL";
|
|
85
|
+
FormatEnumFormat["URL"] = "URL";
|
|
86
|
+
FormatEnumFormat["UUID"] = "UUID";
|
|
87
|
+
FormatEnumFormat["PHONE"] = "PHONE";
|
|
88
|
+
FormatEnumFormat["URI"] = "URI";
|
|
89
|
+
FormatEnumFormat["HOSTNAME"] = "HOSTNAME";
|
|
90
|
+
FormatEnumFormat["COLOR_HEX"] = "COLOR_HEX";
|
|
91
|
+
FormatEnumFormat["CURRENCY"] = "CURRENCY";
|
|
92
|
+
FormatEnumFormat["LANGUAGE"] = "LANGUAGE";
|
|
93
|
+
FormatEnumFormat["DATE_OPTIONAL_TIME"] = "DATE_OPTIONAL_TIME";
|
|
94
|
+
})(FormatEnumFormat || (FormatEnumFormat = {}));
|
|
95
|
+
export var StringComponentType;
|
|
96
|
+
(function (StringComponentType) {
|
|
97
|
+
StringComponentType["UNKNOWN"] = "UNKNOWN";
|
|
98
|
+
StringComponentType["TEXT_INPUT"] = "TEXT_INPUT";
|
|
99
|
+
StringComponentType["RADIO_GROUP"] = "RADIO_GROUP";
|
|
100
|
+
StringComponentType["DROPDOWN"] = "DROPDOWN";
|
|
101
|
+
StringComponentType["DATE_TIME"] = "DATE_TIME";
|
|
102
|
+
})(StringComponentType || (StringComponentType = {}));
|
|
78
103
|
export var NodeType;
|
|
79
104
|
(function (NodeType) {
|
|
80
105
|
NodeType["PARAGRAPH"] = "PARAGRAPH";
|
|
@@ -362,30 +387,22 @@ export var NullValue;
|
|
|
362
387
|
/** Null value. */
|
|
363
388
|
NullValue["NULL_VALUE"] = "NULL_VALUE";
|
|
364
389
|
})(NullValue || (NullValue = {}));
|
|
365
|
-
export var
|
|
366
|
-
(function (
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
})(FormatEnumFormat || (FormatEnumFormat = {}));
|
|
382
|
-
export var StringComponentType;
|
|
383
|
-
(function (StringComponentType) {
|
|
384
|
-
StringComponentType["UNKNOWN"] = "UNKNOWN";
|
|
385
|
-
StringComponentType["TEXT_INPUT"] = "TEXT_INPUT";
|
|
386
|
-
StringComponentType["RADIO_GROUP"] = "RADIO_GROUP";
|
|
387
|
-
StringComponentType["DROPDOWN"] = "DROPDOWN";
|
|
388
|
-
})(StringComponentType || (StringComponentType = {}));
|
|
390
|
+
export var DateFormatPart;
|
|
391
|
+
(function (DateFormatPart) {
|
|
392
|
+
DateFormatPart["YEAR"] = "YEAR";
|
|
393
|
+
DateFormatPart["MONTH"] = "MONTH";
|
|
394
|
+
DateFormatPart["DAY"] = "DAY";
|
|
395
|
+
})(DateFormatPart || (DateFormatPart = {}));
|
|
396
|
+
export var DateTimeInputType;
|
|
397
|
+
(function (DateTimeInputType) {
|
|
398
|
+
DateTimeInputType["UNKNOWN"] = "UNKNOWN";
|
|
399
|
+
/** Show date and time input */
|
|
400
|
+
DateTimeInputType["DATE_TIME"] = "DATE_TIME";
|
|
401
|
+
/** Show only date input */
|
|
402
|
+
DateTimeInputType["DATE"] = "DATE";
|
|
403
|
+
/** Show only time input */
|
|
404
|
+
DateTimeInputType["TIME"] = "TIME";
|
|
405
|
+
})(DateTimeInputType || (DateTimeInputType = {}));
|
|
389
406
|
export var NumberComponentType;
|
|
390
407
|
(function (NumberComponentType) {
|
|
391
408
|
NumberComponentType["UNKNOWN"] = "UNKNOWN";
|
|
@@ -419,6 +436,11 @@ export var ComponentType;
|
|
|
419
436
|
ComponentType["UNKNOWN"] = "UNKNOWN";
|
|
420
437
|
ComponentType["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
421
438
|
})(ComponentType || (ComponentType = {}));
|
|
439
|
+
export var WixFileComponentType;
|
|
440
|
+
(function (WixFileComponentType) {
|
|
441
|
+
WixFileComponentType["UNKNOWN"] = "UNKNOWN";
|
|
442
|
+
WixFileComponentType["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
443
|
+
})(WixFileComponentType || (WixFileComponentType = {}));
|
|
422
444
|
export var UploadFileFormat;
|
|
423
445
|
(function (UploadFileFormat) {
|
|
424
446
|
UploadFileFormat["UNDEFINED"] = "UNDEFINED";
|
|
@@ -431,11 +453,6 @@ export var UploadFileFormat;
|
|
|
431
453
|
/** Document files */
|
|
432
454
|
UploadFileFormat["DOCUMENT"] = "DOCUMENT";
|
|
433
455
|
})(UploadFileFormat || (UploadFileFormat = {}));
|
|
434
|
-
export var WixFileComponentType;
|
|
435
|
-
(function (WixFileComponentType) {
|
|
436
|
-
WixFileComponentType["UNKNOWN"] = "UNKNOWN";
|
|
437
|
-
WixFileComponentType["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
438
|
-
})(WixFileComponentType || (WixFileComponentType = {}));
|
|
439
456
|
export var PaymentComponentType;
|
|
440
457
|
(function (PaymentComponentType) {
|
|
441
458
|
PaymentComponentType["UNKNOWN"] = "UNKNOWN";
|