@wix/form-public 0.18.0 → 0.20.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/_tsup-dts-rollup.d.cts +1662 -5
- package/dist/_tsup-dts-rollup.d.ts +1662 -5
- package/dist/index.cjs +11 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
export { Form } from './_tsup-dts-rollup.cjs';
|
|
2
|
+
export { FormFields } from './_tsup-dts-rollup.cjs';
|
|
2
3
|
export { FormProps } from './_tsup-dts-rollup.cjs';
|
|
3
4
|
export { FormError } from './_tsup-dts-rollup.cjs';
|
|
4
5
|
export { FormValues } from './_tsup-dts-rollup.cjs';
|
|
5
|
-
export {
|
|
6
|
+
export { CallingCountryCode } from './_tsup-dts-rollup.cjs';
|
|
7
|
+
export { PhoneInputProps } from './_tsup-dts-rollup.cjs';
|
|
8
|
+
export { MultilineAddressProps } from './_tsup-dts-rollup.cjs';
|
|
9
|
+
export { TextAreaProps } from './_tsup-dts-rollup.cjs';
|
|
10
|
+
export { TextInputProps } from './_tsup-dts-rollup.cjs';
|
|
11
|
+
export { NumberInputProps } from './_tsup-dts-rollup.cjs';
|
|
12
|
+
export { CheckboxProps } from './_tsup-dts-rollup.cjs';
|
|
13
|
+
export { FileUploadProps } from './_tsup-dts-rollup.cjs';
|
|
14
|
+
export { SignatureProps } from './_tsup-dts-rollup.cjs';
|
|
15
|
+
export { RatingInputProps } from './_tsup-dts-rollup.cjs';
|
|
16
|
+
export { RadioGroupProps } from './_tsup-dts-rollup.cjs';
|
|
17
|
+
export { CheckboxGroupProps } from './_tsup-dts-rollup.cjs';
|
|
18
|
+
export { DropdownProps } from './_tsup-dts-rollup.cjs';
|
|
19
|
+
export { TagsProps } from './_tsup-dts-rollup.cjs';
|
|
20
|
+
export { ImageChoiceProps } from './_tsup-dts-rollup.cjs';
|
|
21
|
+
export { DateInputProps } from './_tsup-dts-rollup.cjs';
|
|
22
|
+
export { DatePickerProps } from './_tsup-dts-rollup.cjs';
|
|
23
|
+
export { DateTimeInputProps } from './_tsup-dts-rollup.cjs';
|
|
24
|
+
export { TimeInputProps } from './_tsup-dts-rollup.cjs';
|
|
25
|
+
export { RichTextProps } from './_tsup-dts-rollup.cjs';
|
|
26
|
+
export { SubmitButtonProps } from './_tsup-dts-rollup.cjs';
|
|
27
|
+
export { FixedPaymentProps } from './_tsup-dts-rollup.cjs';
|
|
28
|
+
export { PaymentInputProps } from './_tsup-dts-rollup.cjs';
|
|
29
|
+
export { DonationProps } from './_tsup-dts-rollup.cjs';
|
|
30
|
+
export { AppointmentProps } from './_tsup-dts-rollup.cjs';
|
|
31
|
+
export { ProductListProps } from './_tsup-dts-rollup.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
export { Form } from './_tsup-dts-rollup.js';
|
|
2
|
+
export { FormFields } from './_tsup-dts-rollup.js';
|
|
2
3
|
export { FormProps } from './_tsup-dts-rollup.js';
|
|
3
4
|
export { FormError } from './_tsup-dts-rollup.js';
|
|
4
5
|
export { FormValues } from './_tsup-dts-rollup.js';
|
|
5
|
-
export {
|
|
6
|
+
export { CallingCountryCode } from './_tsup-dts-rollup.js';
|
|
7
|
+
export { PhoneInputProps } from './_tsup-dts-rollup.js';
|
|
8
|
+
export { MultilineAddressProps } from './_tsup-dts-rollup.js';
|
|
9
|
+
export { TextAreaProps } from './_tsup-dts-rollup.js';
|
|
10
|
+
export { TextInputProps } from './_tsup-dts-rollup.js';
|
|
11
|
+
export { NumberInputProps } from './_tsup-dts-rollup.js';
|
|
12
|
+
export { CheckboxProps } from './_tsup-dts-rollup.js';
|
|
13
|
+
export { FileUploadProps } from './_tsup-dts-rollup.js';
|
|
14
|
+
export { SignatureProps } from './_tsup-dts-rollup.js';
|
|
15
|
+
export { RatingInputProps } from './_tsup-dts-rollup.js';
|
|
16
|
+
export { RadioGroupProps } from './_tsup-dts-rollup.js';
|
|
17
|
+
export { CheckboxGroupProps } from './_tsup-dts-rollup.js';
|
|
18
|
+
export { DropdownProps } from './_tsup-dts-rollup.js';
|
|
19
|
+
export { TagsProps } from './_tsup-dts-rollup.js';
|
|
20
|
+
export { ImageChoiceProps } from './_tsup-dts-rollup.js';
|
|
21
|
+
export { DateInputProps } from './_tsup-dts-rollup.js';
|
|
22
|
+
export { DatePickerProps } from './_tsup-dts-rollup.js';
|
|
23
|
+
export { DateTimeInputProps } from './_tsup-dts-rollup.js';
|
|
24
|
+
export { TimeInputProps } from './_tsup-dts-rollup.js';
|
|
25
|
+
export { RichTextProps } from './_tsup-dts-rollup.js';
|
|
26
|
+
export { SubmitButtonProps } from './_tsup-dts-rollup.js';
|
|
27
|
+
export { FixedPaymentProps } from './_tsup-dts-rollup.js';
|
|
28
|
+
export { PaymentInputProps } from './_tsup-dts-rollup.js';
|
|
29
|
+
export { DonationProps } from './_tsup-dts-rollup.js';
|
|
30
|
+
export { AppointmentProps } from './_tsup-dts-rollup.js';
|
|
31
|
+
export { ProductListProps } from './_tsup-dts-rollup.js';
|
package/dist/index.js
CHANGED
|
@@ -17989,7 +17989,7 @@ var init_predefined_schema_property_mapper = __esm({
|
|
|
17989
17989
|
string: {
|
|
17990
17990
|
maxLength: 300
|
|
17991
17991
|
},
|
|
17992
|
-
required:
|
|
17992
|
+
required: false
|
|
17993
17993
|
},
|
|
17994
17994
|
fileType: {
|
|
17995
17995
|
string: {
|
|
@@ -29910,12 +29910,16 @@ var FIELD_TYPE_MAP = {
|
|
|
29910
29910
|
ECOM_COMPANY_NAME: "TEXT_INPUT",
|
|
29911
29911
|
ECOM_EMAIL: "TEXT_INPUT",
|
|
29912
29912
|
ECOM_SUBSCRIPTION: "CHECKBOX",
|
|
29913
|
+
ECOM_CONTACT_DETAILS: "TEXT",
|
|
29914
|
+
ECOM_SHIPPING_DETAILS: "TEXT",
|
|
29913
29915
|
// BOOKINGS_FIELD_TYPES
|
|
29914
29916
|
BOOKINGS_FIRST_NAME: "TEXT_INPUT",
|
|
29915
29917
|
BOOKINGS_LAST_NAME: "TEXT_INPUT",
|
|
29916
29918
|
BOOKINGS_EMAIL: "TEXT_INPUT",
|
|
29917
29919
|
BOOKINGS_PHONE: "PHONE_INPUT",
|
|
29918
29920
|
BOOKINGS_ADDRESS: "TEXT_INPUT",
|
|
29921
|
+
BOOKINGS_HEADER: "TEXT",
|
|
29922
|
+
BOOKINGS_RICH_TEXT: "TEXT",
|
|
29919
29923
|
// PAYMENTS_FIELD_TYPES
|
|
29920
29924
|
PRODUCT_LIST: "PRODUCT_LIST",
|
|
29921
29925
|
DONATION: "DONATION",
|
|
@@ -29954,7 +29958,12 @@ var FIELD_TYPE_MAP = {
|
|
|
29954
29958
|
DATE_PICKER: "DATE_PICKER",
|
|
29955
29959
|
HEADER: "TEXT",
|
|
29956
29960
|
RICH_TEXT: "TEXT",
|
|
29957
|
-
SUBMIT_BUTTON: "SUBMIT_BUTTON"
|
|
29961
|
+
SUBMIT_BUTTON: "SUBMIT_BUTTON",
|
|
29962
|
+
SERVICES_MULTI_CHOICE: "CHECKBOX_GROUP",
|
|
29963
|
+
// Additional field types
|
|
29964
|
+
NESTED_FORM: "",
|
|
29965
|
+
IDENTITY_PASSWORD: "",
|
|
29966
|
+
BOOKINGS_LOGIN_BAR: ""
|
|
29958
29967
|
};
|
|
29959
29968
|
function normalizeSchema(obj) {
|
|
29960
29969
|
if (Array.isArray(obj)) {
|