@feathery/react 2.6.7 → 2.7.1
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/Form/components/AIExtractionToast/ExtractionItem.d.ts +5 -5
- package/dist/Form/components/AIExtractionToast/icons.d.ts +7 -7
- package/dist/Form/components/AIExtractionToast/index.d.ts +8 -8
- package/dist/Form/components/AIExtractionToast/useAIExtractionToast.d.ts +64 -64
- package/dist/Form/components/DevNavBar.d.ts +1 -1
- package/dist/Form/components/ReactPortal.d.ts +2 -2
- package/dist/Form/definitions.d.ts +40 -40
- package/dist/Form/grid/CalendlyEmbed.d.ts +1 -1
- package/dist/Form/grid/Container/index.d.ts +19 -19
- package/dist/Form/grid/Element/index.d.ts +2 -2
- package/dist/Form/grid/Element/utils/address.d.ts +3 -3
- package/dist/Form/grid/Element/utils/utils.d.ts +13 -13
- package/dist/Form/grid/StyledContainer/hooks/index.d.ts +20 -20
- package/dist/Form/grid/StyledContainer/hooks/useFixedContainer.d.ts +1 -1
- package/dist/Form/grid/StyledContainer/index.d.ts +21 -21
- package/dist/Form/grid/StyledContainer/styles.d.ts +5 -5
- package/dist/Form/grid/StyledContainer/transform.d.ts +4 -4
- package/dist/Form/grid/StyledContainer/utils.d.ts +44 -44
- package/dist/Form/grid/index.d.ts +2 -2
- package/dist/Form/hooks/useCheckButtonAction.d.ts +6 -6
- package/dist/Form/hooks/useTrackUserInteraction.d.ts +2 -2
- package/dist/Form/index.d.ts +52 -52
- package/dist/Form/index.d.ts.map +1 -1
- package/dist/Form/logic.d.ts +10 -10
- package/dist/Form/tests/testMocks.d.ts +6 -6
- package/dist/auth/LoginError.d.ts +3 -3
- package/dist/auth/LoginForm.d.ts +29 -29
- package/dist/auth/internal/AuthIntegrationInterface.d.ts +31 -31
- package/dist/auth/internal/useFormAuth.d.ts +10 -10
- package/dist/auth/internal/utils.d.ts +13 -13
- package/dist/auth/useAuthClient.d.ts +2 -2
- package/dist/auth/utils.d.ts +1 -1
- package/dist/elements/basic/ButtonElement.d.ts +2 -2
- package/dist/elements/basic/ImageElement.d.ts +3 -3
- package/dist/elements/basic/ProgressBarElement/components/SegmentBar.d.ts +2 -2
- package/dist/elements/basic/ProgressBarElement/components/SmoothBar.d.ts +2 -2
- package/dist/elements/basic/ProgressBarElement/index.d.ts +2 -2
- package/dist/elements/basic/TextElement.d.ts +2 -2
- package/dist/elements/basic/VideoElement.d.ts +2 -2
- package/dist/elements/components/ErrorInput.d.ts +2 -2
- package/dist/elements/components/FormControl.d.ts +10 -10
- package/dist/elements/components/FormOff.d.ts +10 -10
- package/dist/elements/components/InlineTooltip.d.ts +11 -11
- package/dist/elements/components/LoaderContainer.d.ts +10 -10
- package/dist/elements/components/Lottie.d.ts +2 -2
- package/dist/elements/components/Overlay.d.ts +15 -15
- package/dist/elements/components/Placeholder.d.ts +1 -1
- package/dist/elements/components/QuikFormViewer/transforms/form.d.ts +1 -1
- package/dist/elements/components/QuikFormViewer/transforms/header.d.ts +1 -1
- package/dist/elements/components/QuikFormViewer/transforms/sidebar.d.ts +6 -6
- package/dist/elements/components/QuikFormViewer.d.ts +9 -9
- package/dist/elements/components/Spinner.d.ts +4 -4
- package/dist/elements/components/TextHoverTooltip.d.ts +8 -8
- package/dist/elements/components/TextNodes.d.ts +4 -4
- package/dist/elements/components/Tooltip.d.ts +7 -7
- package/dist/elements/components/Watermark.d.ts +1 -1
- package/dist/elements/components/data/countries.d.ts +14 -14
- package/dist/elements/components/data/states/ae.d.ts +5 -5
- package/dist/elements/components/data/states/au.d.ts +5 -5
- package/dist/elements/components/data/states/br.d.ts +5 -5
- package/dist/elements/components/data/states/ca.d.ts +5 -5
- package/dist/elements/components/data/states/cl.d.ts +5 -5
- package/dist/elements/components/data/states/cn.d.ts +5 -5
- package/dist/elements/components/data/states/co.d.ts +5 -5
- package/dist/elements/components/data/states/eg.d.ts +5 -5
- package/dist/elements/components/data/states/es.d.ts +5 -5
- package/dist/elements/components/data/states/gb.d.ts +5 -5
- package/dist/elements/components/data/states/gt.d.ts +5 -5
- package/dist/elements/components/data/states/hk.d.ts +5 -5
- package/dist/elements/components/data/states/id.d.ts +5 -5
- package/dist/elements/components/data/states/ie.d.ts +5 -5
- package/dist/elements/components/data/states/in.d.ts +5 -5
- package/dist/elements/components/data/states/index.d.ts +6 -6
- package/dist/elements/components/data/states/it.d.ts +5 -5
- package/dist/elements/components/data/states/jp.d.ts +5 -5
- package/dist/elements/components/data/states/kr.d.ts +5 -5
- package/dist/elements/components/data/states/mx.d.ts +5 -5
- package/dist/elements/components/data/states/my.d.ts +5 -5
- package/dist/elements/components/data/states/ng.d.ts +5 -5
- package/dist/elements/components/data/states/nz.d.ts +5 -5
- package/dist/elements/components/data/states/pa.d.ts +5 -5
- package/dist/elements/components/data/states/pe.d.ts +5 -5
- package/dist/elements/components/data/states/ph.d.ts +5 -5
- package/dist/elements/components/data/states/pt.d.ts +5 -5
- package/dist/elements/components/data/states/ro.d.ts +5 -5
- package/dist/elements/components/data/states/ru.d.ts +5 -5
- package/dist/elements/components/data/states/th.d.ts +5 -5
- package/dist/elements/components/data/states/us.d.ts +9 -9
- package/dist/elements/components/data/states/za.d.ts +5 -5
- package/dist/elements/components/icons/Close.d.ts +6 -6
- package/dist/elements/components/icons/DiagonalArrow.d.ts +5 -5
- package/dist/elements/components/icons/DownloadIcon.d.ts +4 -4
- package/dist/elements/components/icons/FileUpload.d.ts +1 -1
- package/dist/elements/components/icons/FormClosed.d.ts +5 -5
- package/dist/elements/components/icons/Heart.d.ts +1 -1
- package/dist/elements/components/icons/Help.d.ts +4 -4
- package/dist/elements/components/icons/HideEyeIcon.d.ts +5 -5
- package/dist/elements/components/icons/LeftChevron.d.ts +1 -1
- package/dist/elements/components/icons/RatingStar.d.ts +1 -1
- package/dist/elements/components/icons/RightChevron.d.ts +1 -1
- package/dist/elements/components/icons/ShowEyeIcon.d.ts +5 -5
- package/dist/elements/components/icons/Warning.d.ts +5 -5
- package/dist/elements/components/icons/index.d.ts +11 -11
- package/dist/elements/components/skeletons/FieldSkeleton.d.ts +7 -7
- package/dist/elements/components/useBorder.d.ts +21 -21
- package/dist/elements/components/useTextEdit.d.ts +6 -5
- package/dist/elements/components/useTextEdit.d.ts.map +1 -1
- package/dist/elements/fields/AddressLine1Field/index.d.ts +4 -4
- package/dist/elements/fields/AddressLine1Field/tests/test-utils.d.ts +33 -34
- package/dist/elements/fields/AddressLine1Field/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/AddressLine1Field/utils.d.ts +2 -2
- package/dist/elements/fields/ButtonGroupField/index.d.ts +2 -2
- package/dist/elements/fields/ButtonGroupField/tests/test-utils.d.ts +45 -46
- package/dist/elements/fields/ButtonGroupField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/CheckboxField/index.d.ts +5 -5
- package/dist/elements/fields/CheckboxField/tests/test-utils.d.ts +19 -20
- package/dist/elements/fields/CheckboxField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/CheckboxGroupField/index.d.ts +2 -2
- package/dist/elements/fields/CheckboxGroupField/tests/test-utils.d.ts +59 -60
- package/dist/elements/fields/CheckboxGroupField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/ColorPickerField/index.d.ts +2 -2
- package/dist/elements/fields/ColorPickerField/tests/test-utils.d.ts +20 -21
- package/dist/elements/fields/ColorPickerField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/CustomField/Status.d.ts +8 -8
- package/dist/elements/fields/CustomField/index.d.ts +3 -3
- package/dist/elements/fields/CustomField/template.d.ts +1 -1
- package/dist/elements/fields/CustomField/useCustomComponentIframe.d.ts +15 -15
- package/dist/elements/fields/DateSelectorField/index.d.ts +22 -22
- package/dist/elements/fields/DateSelectorField/index.d.ts.map +1 -1
- package/dist/elements/fields/DateSelectorField/styles.d.ts +4 -4
- package/dist/elements/fields/DateSelectorField/tests/test-utils.d.ts +73 -74
- package/dist/elements/fields/DateSelectorField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/DateSelectorField/useDateLocale.d.ts +7 -7
- package/dist/elements/fields/DateSelectorField/utils.d.ts +3 -3
- package/dist/elements/fields/DropdownField/index.d.ts +1 -1
- package/dist/elements/fields/DropdownField/tests/test-utils.d.ts +26 -28
- package/dist/elements/fields/DropdownField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/DropdownMultiField/DropdownMultiFieldSelectComponents.d.ts +8 -8
- package/dist/elements/fields/DropdownMultiField/createDropdownSelect.d.ts +190 -190
- package/dist/elements/fields/DropdownMultiField/index.d.ts +1 -1
- package/dist/elements/fields/DropdownMultiField/optionNormalization.d.ts +9 -9
- package/dist/elements/fields/DropdownMultiField/selectStyles.d.ts +12 -12
- package/dist/elements/fields/DropdownMultiField/tests/test-utils.d.ts +46 -47
- package/dist/elements/fields/DropdownMultiField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/DropdownMultiField/types.d.ts +49 -49
- package/dist/elements/fields/DropdownMultiField/useCollapsedSelectionManager.d.ts +46 -46
- package/dist/elements/fields/DropdownMultiField/useCollapsedValuesMeasurement.d.ts +19 -19
- package/dist/elements/fields/DropdownMultiField/useDropdownInteractions.d.ts +46 -46
- package/dist/elements/fields/DropdownMultiField/useDropdownOptions.d.ts +24 -24
- package/dist/elements/fields/DropdownMultiField/useSelectProps.d.ts +112 -112
- package/dist/elements/fields/FileUploadField/index.d.ts +2 -2
- package/dist/elements/fields/FileUploadField/tests/test-utils.d.ts +10 -10
- package/dist/elements/fields/MatrixField/index.d.ts +2 -2
- package/dist/elements/fields/MatrixField/tests/test-utils.d.ts +66 -67
- package/dist/elements/fields/MatrixField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/PasswordField/index.d.ts +4 -4
- package/dist/elements/fields/PasswordField/tests/test-utils.d.ts +29 -30
- package/dist/elements/fields/PasswordField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/PaymentMethodField.d.ts +4 -4
- package/dist/elements/fields/PhoneField/CountryDropdown.d.ts +3 -3
- package/dist/elements/fields/PhoneField/exampleNumbers.d.ts +2 -2
- package/dist/elements/fields/PhoneField/index.d.ts +4 -4
- package/dist/elements/fields/PhoneField/tests/test-utils.d.ts +85 -86
- package/dist/elements/fields/PhoneField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/PhoneField/timeZoneCountries.d.ts +4 -4
- package/dist/elements/fields/PhoneField/validation.d.ts +3 -3
- package/dist/elements/fields/PinInputField/index.d.ts +2 -2
- package/dist/elements/fields/PinInputField/tests/test-utils.d.ts +78 -79
- package/dist/elements/fields/PinInputField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/PinInputField/useOTPListener.d.ts +1 -1
- package/dist/elements/fields/QRScanner/constants.d.ts +14 -14
- package/dist/elements/fields/QRScanner/hooks/use-device-rotation.d.ts +11 -11
- package/dist/elements/fields/QRScanner/index.d.ts +2 -2
- package/dist/elements/fields/QRScanner/qrLoader.d.ts +2 -2
- package/dist/elements/fields/QRScanner/utils/local-storage.d.ts +5 -5
- package/dist/elements/fields/QRScanner/utils/select-camera.d.ts +9 -9
- package/dist/elements/fields/QRScanner/utils/supports-zoom.d.ts +8 -8
- package/dist/elements/fields/RadioButtonGroupField/index.d.ts +2 -2
- package/dist/elements/fields/RadioButtonGroupField/tests/test-utils.d.ts +54 -55
- package/dist/elements/fields/RadioButtonGroupField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/RatingField/index.d.ts +1 -1
- package/dist/elements/fields/RatingField/tests/test-utils.d.ts +21 -22
- package/dist/elements/fields/RatingField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/SignatureField/components/SignatureCanvas.d.ts +22 -22
- package/dist/elements/fields/SignatureField/components/SignatureModal.d.ts +12 -12
- package/dist/elements/fields/SignatureField/components/utils.d.ts +10 -10
- package/dist/elements/fields/SignatureField/index.d.ts +3 -3
- package/dist/elements/fields/SignatureField/translation.d.ts +17 -17
- package/dist/elements/fields/SliderField/index.d.ts +1 -1
- package/dist/elements/fields/SliderField/styles.d.ts +3 -3
- package/dist/elements/fields/SliderField/tests/test-utils.d.ts +21 -22
- package/dist/elements/fields/SliderField/tests/test-utils.d.ts.map +1 -1
- package/dist/elements/fields/TextArea/index.d.ts +4 -4
- package/dist/elements/fields/TextArea/tests/test-utils.d.ts +10 -10
- package/dist/elements/fields/TextField/TextAutocomplete.d.ts +15 -15
- package/dist/elements/fields/TextField/index.d.ts +4 -4
- package/dist/elements/fields/TextField/index.d.ts.map +1 -1
- package/dist/elements/fields/TextField/tests/test-utils.d.ts +10 -10
- package/dist/elements/fields/index.d.ts +27 -26
- package/dist/elements/fields/index.d.ts.map +1 -1
- package/dist/elements/fields/shared/tests/field-test-utils.d.ts +50 -51
- package/dist/elements/fields/shared/tests/field-test-utils.d.ts.map +1 -1
- package/dist/elements/index.d.ts +36 -36
- package/dist/elements/styles.d.ts +64 -64
- package/dist/elements/utils/fieldNormalization.d.ts +12 -12
- package/dist/fthry_FormControl.DxW_Bnm8.js +16 -0
- package/dist/fthry_InlineTooltip.CKU9xvD_.js +53 -0
- package/dist/fthry_Overlay.CAkqWcqE.js +228 -0
- package/dist/fthry_PaymentMethodField.DgbAXbj6.js +928 -0
- package/dist/fthry_Placeholder.Dns0M5df.js +14 -0
- package/dist/fthry_ShowEyeIcon.B5WMynZy.js +13 -0
- package/dist/fthry_index.3X-DqTfs.js +97 -0
- package/dist/fthry_index.B2eJWMcW.js +2000 -0
- package/dist/fthry_index.BMqtYXlU.js +8166 -0
- package/dist/fthry_index.BOBND5Kw.js +1427 -0
- package/dist/fthry_index.BOzMcNbx.js +1452 -0
- package/dist/fthry_index.BQObFcP7.js +15921 -0
- package/dist/fthry_index.CJrl9QNZ.js +888 -0
- package/dist/fthry_index.CcFhx1jU.js +73 -0
- package/dist/fthry_index.CcNVqQ7R.js +293 -0
- package/dist/fthry_index.CnVdemA5.js +1162 -0
- package/dist/fthry_index.CxRelutP.js +42 -0
- package/dist/fthry_index.D19e9CJD.js +1193 -0
- package/dist/fthry_index.D6UpFxPB.js +216 -0
- package/dist/fthry_index.DD4M0PFc.js +46 -0
- package/dist/fthry_index.DMgGgKWy.js +55 -0
- package/dist/fthry_index.DQB3aI2u.js +95 -0
- package/dist/fthry_index.DaJO430v.js +513 -0
- package/dist/fthry_index.DfiZRBo4.js +35 -0
- package/dist/fthry_index.Di1aadud.js +251 -0
- package/dist/fthry_index.DpFG-lbP.js +138 -0
- package/dist/fthry_index.DsECQjJb.js +131 -0
- package/dist/fthry_index.diObxaBS.js +60999 -0
- package/dist/fthry_index.ghZ0mkQF.js +98 -0
- package/dist/fthry_input.COhHyroj.js +3779 -0
- package/dist/fthry_script.D9CLkYzO.js +157 -0
- package/dist/fthry_styles.Bcy5cq6p.js +1654 -0
- package/dist/fthry_useElementSize.boD8p4bk.js +51 -0
- package/dist/fthry_useSalesforceSync.BNvWxPzE.js +44 -0
- package/dist/fthry_webfontloader.DEj1XG0u.js +57 -0
- package/dist/hooks/router.d.ts +14 -14
- package/dist/hooks/useElementSize.d.ts +7 -7
- package/dist/hooks/useLoader.d.ts +35 -35
- package/dist/hooks/useLoader.d.ts.map +1 -1
- package/dist/hooks/useMounted.d.ts +2 -2
- package/dist/hooks/usePollFuserData.d.ts +1 -1
- package/dist/hooks/usePrevious.d.ts +2 -2
- package/dist/hooks/useSalesforceSync.d.ts +10 -10
- package/dist/index.d.ts +150 -149
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -1
- package/dist/integrations/alloy.d.ts +2 -2
- package/dist/integrations/amplitude.d.ts +1 -1
- package/dist/integrations/argyle.d.ts +2 -2
- package/dist/integrations/calendly.d.ts +2 -2
- package/dist/integrations/firebase.d.ts +42 -42
- package/dist/integrations/flinks/index.d.ts +10 -10
- package/dist/integrations/flinks/utils.d.ts +12 -12
- package/dist/integrations/googleAnalytics.d.ts +3 -3
- package/dist/integrations/googleTagManager.d.ts +1 -1
- package/dist/integrations/heap.d.ts +2 -2
- package/dist/integrations/intercom.d.ts +2 -2
- package/dist/integrations/mixpanel.d.ts +2 -2
- package/dist/integrations/persona.d.ts +2 -2
- package/dist/integrations/plaid.d.ts +2 -2
- package/dist/integrations/recaptcha.d.ts +2 -2
- package/dist/integrations/rudderstack.d.ts +3 -3
- package/dist/integrations/schwab.d.ts +1 -1
- package/dist/integrations/segment.d.ts +1 -1
- package/dist/integrations/stripe/Cart.d.ts +19 -19
- package/dist/integrations/stripe/SimplifiedProduct.d.ts +39 -39
- package/dist/integrations/stripe/index.d.ts +1 -1
- package/dist/integrations/stripe/stripe.d.ts +97 -97
- package/dist/integrations/stytch.d.ts +19 -19
- package/dist/integrations/trustedform.d.ts +2 -2
- package/dist/integrations/utils.d.ts +14 -14
- package/dist/setupTests.d.ts +1 -1
- package/dist/types/Form.d.ts +80 -80
- package/dist/utils/DangerouslySetHTMLContent.d.ts +2 -2
- package/dist/utils/ShadowDomHtmlContent.d.ts +8 -8
- package/dist/utils/array.d.ts +11 -11
- package/dist/utils/browser.d.ts +23 -23
- package/dist/utils/callbackQueue.d.ts +10 -10
- package/dist/utils/document.d.ts +1 -1
- package/dist/utils/elementActions.d.ts +55 -55
- package/dist/utils/entities/Collaborator.d.ts +14 -14
- package/dist/utils/entities/Field.d.ts +129 -129
- package/dist/utils/error.d.ts +13 -13
- package/dist/utils/featheryClient/index.d.ts +103 -103
- package/dist/utils/featheryClient/integrationClient.d.ts +114 -114
- package/dist/utils/featheryClient/utils.d.ts +1 -1
- package/dist/utils/fieldHelperFunctions.d.ts +70 -70
- package/dist/utils/formContext.d.ts +104 -104
- package/dist/utils/formHelperFunctions.d.ts +44 -44
- package/dist/utils/hideAndRepeats.d.ts +27 -27
- package/dist/utils/hydration.d.ts +14 -14
- package/dist/utils/image.d.ts +39 -39
- package/dist/utils/init.d.ts +59 -59
- package/dist/utils/interactionState.d.ts +4 -4
- package/dist/utils/internalState.d.ts +91 -91
- package/dist/utils/logic.d.ts +50 -50
- package/dist/utils/offlineRequestHandler.d.ts +94 -94
- package/dist/utils/offlineRequestHandler.d.ts.map +1 -1
- package/dist/utils/polyfills.d.ts +2 -2
- package/dist/utils/primitives.d.ts +14 -14
- package/dist/utils/random.d.ts +1 -1
- package/dist/utils/repeat.d.ts +38 -38
- package/dist/utils/sensitiveActions.d.ts +7 -7
- package/dist/utils/stepHelperFunctions.d.ts +22 -22
- package/dist/utils/styles.d.ts +5 -5
- package/dist/utils/validation.d.ts +58 -58
- package/package.json +17 -5
- package/umd/466.e3456c8b3407ad04ba56.js +1 -0
- package/umd/{DateSelectorField.b98c0ecb80f56e65cc69.js → DateSelectorField.bd5646949de71f571d04.js} +1 -1
- package/umd/{TextField.a3d8d42f6f8236d00f83.js → TextField.5a5296fe3ea60c4459f2.js} +1 -1
- package/umd/index.js +1 -1
- package/umd/796.e66d52ea21ef09c4eeaa.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare function SignatureField({ element, fieldLabel, responsiveStyles, defaultValue, editMode, repeatIndex, elementProps, disabled, onEnd, onClear, ReactPortal, // This is allowing the ability to pass a portal for the modal
|
|
2
|
-
children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default SignatureField;
|
|
1
|
+
declare function SignatureField({ element, fieldLabel, responsiveStyles, defaultValue, editMode, repeatIndex, elementProps, disabled, onEnd, onClear, ReactPortal, // This is allowing the ability to pass a portal for the modal
|
|
2
|
+
children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SignatureField;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export declare const defaultTranslations: {
|
|
2
|
-
readonly label: "Sign here";
|
|
3
|
-
readonly title: "Add your signature";
|
|
4
|
-
readonly type_option: "Type your signature";
|
|
5
|
-
readonly type_placeholder: "Your full name";
|
|
6
|
-
readonly type_example: "Full Name";
|
|
7
|
-
readonly type_loading: "Generating signature";
|
|
8
|
-
readonly or_label: "or";
|
|
9
|
-
readonly draw_option: "Draw your signature";
|
|
10
|
-
readonly draw_subtitle: "Draw your signature here using your mouse or trackpad";
|
|
11
|
-
readonly draw_instructions: "Draw your signature in the box below";
|
|
12
|
-
readonly confirm: "Sign";
|
|
13
|
-
readonly cancel: "Cancel";
|
|
14
|
-
readonly back: "Back";
|
|
15
|
-
readonly clear: "Clear";
|
|
16
|
-
};
|
|
17
|
-
export declare type SignatureTranslations = typeof defaultTranslations;
|
|
1
|
+
export declare const defaultTranslations: {
|
|
2
|
+
readonly label: "Sign here";
|
|
3
|
+
readonly title: "Add your signature";
|
|
4
|
+
readonly type_option: "Type your signature";
|
|
5
|
+
readonly type_placeholder: "Your full name";
|
|
6
|
+
readonly type_example: "Full Name";
|
|
7
|
+
readonly type_loading: "Generating signature";
|
|
8
|
+
readonly or_label: "or";
|
|
9
|
+
readonly draw_option: "Draw your signature";
|
|
10
|
+
readonly draw_subtitle: "Draw your signature here using your mouse or trackpad";
|
|
11
|
+
readonly draw_instructions: "Draw your signature in the box below";
|
|
12
|
+
readonly confirm: "Sign";
|
|
13
|
+
readonly cancel: "Cancel";
|
|
14
|
+
readonly back: "Back";
|
|
15
|
+
readonly clear: "Clear";
|
|
16
|
+
};
|
|
17
|
+
export declare type SignatureTranslations = typeof defaultTranslations;
|
|
18
18
|
//# sourceMappingURL=translation.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default function SliderField({ element, fieldLabel, responsiveStyles, disabled, fieldVal, editMode, rightToLeft, onChange, elementProps, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
1
|
+
export default function SliderField({ element, fieldLabel, responsiveStyles, disabled, fieldVal, editMode, rightToLeft, onChange, elementProps, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function SliderStyles({ customStyles }: {
|
|
2
|
-
customStyles?: {} | undefined;
|
|
3
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
1
|
+
export default function SliderStyles({ customStyles }: {
|
|
2
|
+
customStyles?: {} | undefined;
|
|
3
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const
|
|
21
|
-
export declare const
|
|
22
|
-
export declare const expectSliderToHaveValue: (expectedValue: number) => void;
|
|
1
|
+
import { mockResponsiveStyles, setMockFieldValue, getMockFieldValue, resetMockFieldValue } from '../../shared/tests/field-test-utils';
|
|
2
|
+
export { mockResponsiveStyles, setMockFieldValue, getMockFieldValue, resetMockFieldValue };
|
|
3
|
+
export declare const createSliderElement: (type?: string, metadata?: any, properties?: any, styles?: any) => {
|
|
4
|
+
id: string;
|
|
5
|
+
servar: any;
|
|
6
|
+
properties: any;
|
|
7
|
+
styles: any;
|
|
8
|
+
repeat: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const createSliderProps: (element: any, customProps?: any) => any;
|
|
11
|
+
export declare const createStatefulOnChange: () => jest.Mock<void, [value: number]>;
|
|
12
|
+
export declare const getSliderHandle: () => HTMLElement;
|
|
13
|
+
export declare const getSliderRail: () => HTMLElement;
|
|
14
|
+
export declare const getSliderTrack: () => HTMLElement;
|
|
15
|
+
export declare const getSliderContainer: () => HTMLElement;
|
|
16
|
+
export declare const getMinLabel: () => string;
|
|
17
|
+
export declare const getMaxLabel: () => string;
|
|
18
|
+
export declare const getCurrentValueDisplay: () => string;
|
|
19
|
+
export declare const expectSliderToHaveMin: (expectedMin: number) => void;
|
|
20
|
+
export declare const expectSliderToHaveMax: (expectedMax: number) => void;
|
|
21
|
+
export declare const expectSliderToHaveValue: (expectedValue: number) => void;
|
|
23
22
|
//# sourceMappingURL=test-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../../../src/elements/fields/SliderField/tests/test-utils.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../../../src/elements/fields/SliderField/tests/test-utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACpB,CAAC;AAEF,eAAO,MAAM,mBAAmB,UACxB,MAAM,aACF,GAAG,eACD,GAAG,WACP,GAAG;;;;;;CA+BZ,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAAa,GAAG,gBAAe,GAAG,QAM5D,CAAC;AAEL,eAAO,MAAM,sBAAsB,wCAIlC,CAAC;AAEF,eAAO,MAAM,eAAe,mBAE3B,CAAC;AAEF,eAAO,MAAM,aAAa,mBAEzB,CAAC;AAEF,eAAO,MAAM,cAAc,mBAE1B,CAAC;AAEF,eAAO,MAAM,kBAAkB,mBAE9B,CAAC;AAEF,eAAO,MAAM,WAAW,cAGvB,CAAC;AAEF,eAAO,MAAM,WAAW,cAGvB,CAAC;AAEF,eAAO,MAAM,sBAAsB,cAGlC,CAAC;AAEF,eAAO,MAAM,qBAAqB,gBAAiB,MAAM,SAGxD,CAAC;AAEF,eAAO,MAAM,qBAAqB,gBAAiB,MAAM,SAGxD,CAAC;AAEF,eAAO,MAAM,uBAAuB,kBAAmB,MAAM,SAG5D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare function TextArea({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, editMode, onChange, setRef, rawValue, inlineError, repeatIndex, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare const _default: React.MemoExoticComponent<typeof TextArea>;
|
|
4
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare function TextArea({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, editMode, onChange, setRef, rawValue, inlineError, repeatIndex, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<typeof TextArea>;
|
|
4
|
+
export default _default;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { createStatefulTextOnChange, mockResponsiveStyles, setMockFieldValue, getMockFieldValue, resetMockFieldValue, expectFieldToBeDisabled, expectFieldToBeRequired, expectFieldToHaveMaxLength, expectFieldToHaveMinLength, expectFieldToHaveAriaLabel } from '../../shared/tests/field-test-utils';
|
|
2
|
-
export declare const createTextAreaElement: (type: string, metadata?: any, styles?: any) => {
|
|
3
|
-
id: string;
|
|
4
|
-
servar: any;
|
|
5
|
-
properties: any;
|
|
6
|
-
styles: any;
|
|
7
|
-
repeat: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare const createTextAreaProps: (element: any, customProps?: any) => any;
|
|
10
|
-
export { mockResponsiveStyles, setMockFieldValue, getMockFieldValue, resetMockFieldValue, expectFieldToBeDisabled, expectFieldToBeRequired, expectFieldToHaveMaxLength, expectFieldToHaveMinLength, expectFieldToHaveAriaLabel, createStatefulTextOnChange };
|
|
1
|
+
import { createStatefulTextOnChange, mockResponsiveStyles, setMockFieldValue, getMockFieldValue, resetMockFieldValue, expectFieldToBeDisabled, expectFieldToBeRequired, expectFieldToHaveMaxLength, expectFieldToHaveMinLength, expectFieldToHaveAriaLabel } from '../../shared/tests/field-test-utils';
|
|
2
|
+
export declare const createTextAreaElement: (type: string, metadata?: any, styles?: any) => {
|
|
3
|
+
id: string;
|
|
4
|
+
servar: any;
|
|
5
|
+
properties: any;
|
|
6
|
+
styles: any;
|
|
7
|
+
repeat: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const createTextAreaProps: (element: any, customProps?: any) => any;
|
|
10
|
+
export { mockResponsiveStyles, setMockFieldValue, getMockFieldValue, resetMockFieldValue, expectFieldToBeDisabled, expectFieldToBeRequired, expectFieldToHaveMaxLength, expectFieldToHaveMinLength, expectFieldToHaveAriaLabel, createStatefulTextOnChange };
|
|
11
11
|
//# sourceMappingURL=test-utils.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare function TextAutocomplete({ allOptions, showOptions, onSelect, onHide, onInputFocus, value, containerRef, responsiveStyles, listItemRef, children }: {
|
|
3
|
-
allOptions: string[];
|
|
4
|
-
showOptions: boolean;
|
|
5
|
-
onSelect: (a: string) => void;
|
|
6
|
-
onHide: () => void;
|
|
7
|
-
onInputFocus: () => void;
|
|
8
|
-
value: string;
|
|
9
|
-
containerRef?: React.RefObject<HTMLElement | null>;
|
|
10
|
-
responsiveStyles: any;
|
|
11
|
-
listItemRef: any;
|
|
12
|
-
children: any;
|
|
13
|
-
}): any;
|
|
14
|
-
declare const _default: React.MemoExoticComponent<typeof TextAutocomplete>;
|
|
15
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare function TextAutocomplete({ allOptions, showOptions, onSelect, onHide, onInputFocus, value, containerRef, responsiveStyles, listItemRef, children }: {
|
|
3
|
+
allOptions: string[];
|
|
4
|
+
showOptions: boolean;
|
|
5
|
+
onSelect: (a: string) => void;
|
|
6
|
+
onHide: () => void;
|
|
7
|
+
onInputFocus: () => void;
|
|
8
|
+
value: string;
|
|
9
|
+
containerRef?: React.RefObject<HTMLElement | null>;
|
|
10
|
+
responsiveStyles: any;
|
|
11
|
+
listItemRef: any;
|
|
12
|
+
children: any;
|
|
13
|
+
}): any;
|
|
14
|
+
declare const _default: React.MemoExoticComponent<typeof TextAutocomplete>;
|
|
15
|
+
export default _default;
|
|
16
16
|
//# sourceMappingURL=TextAutocomplete.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare function TextField({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, autoComplete, editMode, onAccept, onEnter, setRef, inlineError, repeatIndex, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare const _default: React.MemoExoticComponent<typeof TextField>;
|
|
4
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare function TextField({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, autoComplete, editMode, onAccept, onEnter, setRef, inlineError, repeatIndex, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<typeof TextField>;
|
|
4
|
+
export default _default;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/TextField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/fields/TextField/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAiMtD,iBAAS,SAAS,CAAC,EACjB,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,YAAiB,EACjB,QAAgB,EAChB,QAAgB,EAChB,YAAY,EACZ,QAAQ,EACR,QAAmB,EACnB,OAAkB,EAClB,MAAiB,EACjB,WAAW,EACX,WAAkB,EAClB,QAAQ,EACT,EAAE,GAAG,oDA6KL;;AAED,wBAA+B"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { createStatefulAcceptHandler, mockResponsiveStyles, setMockFieldValue, getMockFieldValue, resetMockFieldValue, expectFieldToBeDisabled, expectFieldToBeRequired, expectFieldToHaveMaxLength, expectFieldToHaveMinLength, expectFieldToHaveAriaLabel } from '../../shared/tests/field-test-utils';
|
|
2
|
-
export declare const createTextFieldElement: (type: string, metadata?: any, styles?: any) => {
|
|
3
|
-
id: string;
|
|
4
|
-
servar: any;
|
|
5
|
-
properties: any;
|
|
6
|
-
styles: any;
|
|
7
|
-
repeat: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare const createTextFieldProps: (element: any, customProps?: any) => any;
|
|
10
|
-
export { mockResponsiveStyles, setMockFieldValue, getMockFieldValue, resetMockFieldValue, expectFieldToBeDisabled, expectFieldToBeRequired, expectFieldToHaveMaxLength, expectFieldToHaveMinLength, expectFieldToHaveAriaLabel, createStatefulAcceptHandler };
|
|
1
|
+
import { createStatefulAcceptHandler, mockResponsiveStyles, setMockFieldValue, getMockFieldValue, resetMockFieldValue, expectFieldToBeDisabled, expectFieldToBeRequired, expectFieldToHaveMaxLength, expectFieldToHaveMinLength, expectFieldToHaveAriaLabel } from '../../shared/tests/field-test-utils';
|
|
2
|
+
export declare const createTextFieldElement: (type: string, metadata?: any, styles?: any) => {
|
|
3
|
+
id: string;
|
|
4
|
+
servar: any;
|
|
5
|
+
properties: any;
|
|
6
|
+
styles: any;
|
|
7
|
+
repeat: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const createTextFieldProps: (element: any, customProps?: any) => any;
|
|
10
|
+
export { mockResponsiveStyles, setMockFieldValue, getMockFieldValue, resetMockFieldValue, expectFieldToBeDisabled, expectFieldToBeRequired, expectFieldToHaveMaxLength, expectFieldToHaveMinLength, expectFieldToHaveAriaLabel, createStatefulAcceptHandler };
|
|
11
11
|
//# sourceMappingURL=test-utils.d.ts.map
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Fields: {
|
|
3
|
+
AddressLine1: import("react").LazyExoticComponent<import("react").MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, disabled, autoComplete, editMode, repeatIndex, onSelect, onChange, required, onBlur, onEnter, setRef, value, inlineError, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
4
|
+
ButtonGroupField: import("react").LazyExoticComponent<typeof import("./ButtonGroupField").default>;
|
|
5
|
+
CheckboxField: import("react").LazyExoticComponent<typeof import("./CheckboxField").default>;
|
|
6
|
+
CheckboxGroupField: import("react").LazyExoticComponent<typeof import("./CheckboxGroupField").default>;
|
|
7
|
+
ColorPickerField: import("react").LazyExoticComponent<typeof import("./ColorPickerField").default>;
|
|
8
|
+
CustomField: import("react").LazyExoticComponent<import("react").MemoExoticComponent<({ element, elementProps, responsiveStyles, onChange, rawValue, required, disabled, fieldStyles, editMode, rightToLeft, index }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
9
|
+
DateSelectorField: import("react").LazyExoticComponent<import("react").MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, repeatIndex, editMode, onComplete, onEnter, setRef, value, inlineError, children }: import("./DateSelectorField").DateSelectorProps) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
10
|
+
DropdownField: import("react").LazyExoticComponent<typeof import("./DropdownField").default>;
|
|
11
|
+
DropdownMultiField: import("react").LazyExoticComponent<typeof import("./DropdownMultiField").default>;
|
|
12
|
+
FileUploadField: import("react").LazyExoticComponent<typeof import("./FileUploadField").default>;
|
|
13
|
+
MatrixField: import("react").LazyExoticComponent<typeof import("./MatrixField").default>;
|
|
14
|
+
PasswordField: import("react").LazyExoticComponent<import("react").MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, repeatIndex, editMode, onChange, onEnter, setRef, rawValue, inlineError, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
15
|
+
PaymentMethodField: import("react").LazyExoticComponent<import("react").MemoExoticComponent<({ editMode, children, ...props }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
16
|
+
PhoneField: import("react").LazyExoticComponent<import("react").MemoExoticComponent<({ element, responsiveStyles, fieldLabel, fullNumber, elementProps, required, disabled, repeatIndex, autoComplete, editMode, onComplete, setRef, inlineError, rightToLeft, onEnter, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
17
|
+
PinInputField: import("react").LazyExoticComponent<typeof import("./PinInputField").default>;
|
|
18
|
+
QRScanner: import("react").LazyExoticComponent<typeof import("./QRScanner").default>;
|
|
19
|
+
RadioButtonGroupField: import("react").LazyExoticComponent<typeof import("./RadioButtonGroupField").default>;
|
|
20
|
+
RatingField: import("react").LazyExoticComponent<typeof import("./RatingField").default>;
|
|
21
|
+
SignatureField: import("react").LazyExoticComponent<typeof import("./SignatureField").default>;
|
|
22
|
+
SliderField: import("react").LazyExoticComponent<typeof import("./SliderField").default>;
|
|
23
|
+
TextField: import("react").LazyExoticComponent<import("react").MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, autoComplete, editMode, onAccept, onEnter, setRef, inlineError, repeatIndex, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
24
|
+
TextArea: import("react").LazyExoticComponent<import("react").MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, editMode, onChange, setRef, rawValue, inlineError, repeatIndex, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
25
|
+
};
|
|
26
|
+
export declare const DROPDOWN_Z_INDEX = 10;
|
|
27
|
+
export default Fields;
|
|
27
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/fields/index.tsx"],"names":[],"mappings":"AA6EA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAuBX,CAAC;AAkBF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AA0ZnC,eAAe,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/fields/index.tsx"],"names":[],"mappings":";AA6EA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAuBX,CAAC;AAkBF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AA0ZnC,eAAe,MAAM,CAAC"}
|
|
@@ -1,52 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export declare const
|
|
29
|
-
export declare const
|
|
30
|
-
export declare const
|
|
31
|
-
export declare const
|
|
32
|
-
export declare const
|
|
33
|
-
export declare const
|
|
34
|
-
export declare const
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
export declare const
|
|
48
|
-
export declare const
|
|
49
|
-
export declare const
|
|
50
|
-
export declare const
|
|
51
|
-
export declare const expectFieldToHaveAriaLabel: (field: HTMLElement, label: string) => void;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const setMockFieldValue: (value: any) => void;
|
|
3
|
+
export declare const getMockFieldValue: () => any;
|
|
4
|
+
export declare const resetMockFieldValue: () => void;
|
|
5
|
+
export declare const mockResponsiveStyles: {
|
|
6
|
+
getTarget: jest.Mock<{}, []>;
|
|
7
|
+
getTargets: jest.Mock<{}, []>;
|
|
8
|
+
getMobileBreakpoint: jest.Mock<number, []>;
|
|
9
|
+
applyFontStyles: jest.Mock<any, any>;
|
|
10
|
+
addTargets: jest.Mock<any, any>;
|
|
11
|
+
apply: jest.Mock<any, any>;
|
|
12
|
+
applyHeight: jest.Mock<any, any>;
|
|
13
|
+
applyWidth: jest.Mock<any, any>;
|
|
14
|
+
applyBorders: jest.Mock<any, any>;
|
|
15
|
+
applyCorners: jest.Mock<any, any>;
|
|
16
|
+
applyBoxShadow: jest.Mock<any, any>;
|
|
17
|
+
applyColor: jest.Mock<any, any>;
|
|
18
|
+
applySelectorStyles: jest.Mock<any, any>;
|
|
19
|
+
};
|
|
20
|
+
export declare const createBaseElement: (id: string, type: string, metadata?: any, properties?: any, styles?: any) => {
|
|
21
|
+
id: string;
|
|
22
|
+
servar: any;
|
|
23
|
+
properties: any;
|
|
24
|
+
styles: any;
|
|
25
|
+
repeat: boolean;
|
|
26
|
+
};
|
|
27
|
+
export declare const createFieldProps: (element: any, customProps?: any) => any;
|
|
28
|
+
export declare const createStatefulTextOnChange: () => jest.Mock<void, [e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>]>;
|
|
29
|
+
export declare const createStatefulFileOnChange: () => jest.Mock<void, [files: any[]]>;
|
|
30
|
+
export declare const createStatefulAcceptHandler: () => jest.Mock<void, [val: any]>;
|
|
31
|
+
export declare const createMockFile: (name: string, type: string, size?: number, content?: string) => File;
|
|
32
|
+
export declare const createMockImageFile: (name?: string, size?: number) => File;
|
|
33
|
+
export declare const createMockDocumentFile: (name?: string, size?: number) => File;
|
|
34
|
+
export declare const createFileInputChangeEvent: (files: File[]) => {
|
|
35
|
+
target: {
|
|
36
|
+
files: FileList;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const createDragEvent: (files: File[]) => {
|
|
40
|
+
preventDefault: jest.Mock<any, any>;
|
|
41
|
+
stopPropagation: jest.Mock<any, any>;
|
|
42
|
+
dataTransfer: {
|
|
43
|
+
files: FileList;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare const expectFieldToBeDisabled: (field: HTMLElement) => void;
|
|
47
|
+
export declare const expectFieldToBeRequired: (field: HTMLElement) => void;
|
|
48
|
+
export declare const expectFieldToHaveMaxLength: (field: HTMLElement, maxLength: number) => void;
|
|
49
|
+
export declare const expectFieldToHaveMinLength: (field: HTMLElement, minLength: number) => void;
|
|
50
|
+
export declare const expectFieldToHaveAriaLabel: (field: HTMLElement, label: string) => void;
|
|
52
51
|
//# sourceMappingURL=field-test-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-test-utils.d.ts","sourceRoot":"","sources":["../../../../../src/elements/fields/shared/tests/field-test-utils.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"field-test-utils.d.ts","sourceRoot":"","sources":["../../../../../src/elements/fields/shared/tests/field-test-utils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA8D1B,eAAO,MAAM,iBAAiB,UAAW,GAAG,SAE3C,CAAC;AAEF,eAAO,MAAM,iBAAiB,WAAuB,CAAC;AAEtD,eAAO,MAAM,mBAAmB,YAE/B,CAAC;AAGF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;CAehC,CAAC;AAGF,eAAO,MAAM,iBAAiB,OACxB,MAAM,QACJ,MAAM,aACF,GAAG,eACD,GAAG,WACP,GAAG;;;;;;CAsBX,CAAC;AAGH,eAAO,MAAM,gBAAgB,YAAa,GAAG,gBAAe,GAAG,QAY7D,CAAC;AAGH,eAAO,MAAM,0BAA0B,uFAMtC,CAAC;AAEF,eAAO,MAAM,0BAA0B,uCAItC,CAAC;AAEF,eAAO,MAAM,2BAA2B,mCAIvC,CAAC;AAGF,eAAO,MAAM,cAAc,SACnB,MAAM,QACN,MAAM,sCAGX,IAOF,CAAC;AAEF,eAAO,MAAM,mBAAmB,oCAG7B,IAEF,CAAC;AAEF,eAAO,MAAM,sBAAsB,oCAGhC,IAEF,CAAC;AAEF,eAAO,MAAM,0BAA0B,UAAW,IAAI,EAAE;;;;CAiBvD,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,IAAI,EAAE;;;;;;CAc5C,CAAC;AA0BF,eAAO,MAAM,uBAAuB,UAAW,WAAW,SAEzD,CAAC;AAEF,eAAO,MAAM,uBAAuB,UAAW,WAAW,SAEzD,CAAC;AAEF,eAAO,MAAM,0BAA0B,UAC9B,WAAW,aACP,MAAM,SAGlB,CAAC;AAEF,eAAO,MAAM,0BAA0B,UAC9B,WAAW,aACP,MAAM,SAGlB,CAAC;AAEF,eAAO,MAAM,0BAA0B,UAC9B,WAAW,SACX,MAAM,SAGd,CAAC"}
|
package/dist/elements/index.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import ImageElement from './basic/ImageElement';
|
|
3
|
-
import VideoElement from './basic/VideoElement';
|
|
4
|
-
import TextElement from './basic/TextElement';
|
|
5
|
-
import ButtonElement from './basic/ButtonElement';
|
|
6
|
-
import ProgressBarElement from './basic/ProgressBarElement';
|
|
7
|
-
declare const Elements: {
|
|
8
|
-
AddressLine1: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, disabled, autoComplete, editMode, repeatIndex, onSelect, onChange, required, onBlur, onEnter, setRef, value, inlineError, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
9
|
-
ButtonGroupField: React.LazyExoticComponent<typeof import("./fields/ButtonGroupField").default>;
|
|
10
|
-
CheckboxField: React.LazyExoticComponent<typeof import("./fields/CheckboxField").default>;
|
|
11
|
-
CheckboxGroupField: React.LazyExoticComponent<typeof import("./fields/CheckboxGroupField").default>;
|
|
12
|
-
ColorPickerField: React.LazyExoticComponent<typeof import("./fields/ColorPickerField").default>;
|
|
13
|
-
CustomField: React.LazyExoticComponent<React.MemoExoticComponent<({ element, elementProps, responsiveStyles, onChange, rawValue, required, disabled, fieldStyles, editMode, rightToLeft, index }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
14
|
-
DateSelectorField: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, repeatIndex, editMode, onComplete, onEnter, setRef, value, inlineError, children }: import("./fields/DateSelectorField").DateSelectorProps) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
15
|
-
DropdownField: React.LazyExoticComponent<typeof import("./fields/DropdownField").default>;
|
|
16
|
-
DropdownMultiField: React.LazyExoticComponent<typeof import("./fields/DropdownMultiField").default>;
|
|
17
|
-
FileUploadField: React.LazyExoticComponent<typeof import("./fields/FileUploadField").default>;
|
|
18
|
-
MatrixField: React.LazyExoticComponent<typeof import("./fields/MatrixField").default>;
|
|
19
|
-
PasswordField: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, repeatIndex, editMode, onChange, onEnter, setRef, rawValue, inlineError, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
20
|
-
PaymentMethodField: React.LazyExoticComponent<React.MemoExoticComponent<({ editMode, children, ...props }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
21
|
-
PhoneField: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, fullNumber, elementProps, required, disabled, repeatIndex, autoComplete, editMode, onComplete, setRef, inlineError, rightToLeft, onEnter, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
22
|
-
PinInputField: React.LazyExoticComponent<typeof import("./fields/PinInputField").default>;
|
|
23
|
-
QRScanner: React.LazyExoticComponent<typeof import("./fields/QRScanner").default>;
|
|
24
|
-
RadioButtonGroupField: React.LazyExoticComponent<typeof import("./fields/RadioButtonGroupField").default>;
|
|
25
|
-
RatingField: React.LazyExoticComponent<typeof import("./fields/RatingField").default>;
|
|
26
|
-
SignatureField: React.LazyExoticComponent<typeof import("./fields/SignatureField").default>;
|
|
27
|
-
SliderField: React.LazyExoticComponent<typeof import("./fields/SliderField").default>;
|
|
28
|
-
TextField: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, autoComplete, editMode, onAccept, onEnter, setRef, inlineError, repeatIndex, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
29
|
-
TextArea: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, editMode, onChange, setRef, rawValue, inlineError, repeatIndex, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
30
|
-
ImageElement: typeof ImageElement;
|
|
31
|
-
VideoElement: typeof VideoElement;
|
|
32
|
-
TextElement: typeof TextElement;
|
|
33
|
-
ButtonElement: typeof ButtonElement;
|
|
34
|
-
ProgressBarElement: typeof ProgressBarElement;
|
|
35
|
-
};
|
|
36
|
-
export default Elements;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ImageElement from './basic/ImageElement';
|
|
3
|
+
import VideoElement from './basic/VideoElement';
|
|
4
|
+
import TextElement from './basic/TextElement';
|
|
5
|
+
import ButtonElement from './basic/ButtonElement';
|
|
6
|
+
import ProgressBarElement from './basic/ProgressBarElement';
|
|
7
|
+
declare const Elements: {
|
|
8
|
+
AddressLine1: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, disabled, autoComplete, editMode, repeatIndex, onSelect, onChange, required, onBlur, onEnter, setRef, value, inlineError, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
9
|
+
ButtonGroupField: React.LazyExoticComponent<typeof import("./fields/ButtonGroupField").default>;
|
|
10
|
+
CheckboxField: React.LazyExoticComponent<typeof import("./fields/CheckboxField").default>;
|
|
11
|
+
CheckboxGroupField: React.LazyExoticComponent<typeof import("./fields/CheckboxGroupField").default>;
|
|
12
|
+
ColorPickerField: React.LazyExoticComponent<typeof import("./fields/ColorPickerField").default>;
|
|
13
|
+
CustomField: React.LazyExoticComponent<React.MemoExoticComponent<({ element, elementProps, responsiveStyles, onChange, rawValue, required, disabled, fieldStyles, editMode, rightToLeft, index }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
14
|
+
DateSelectorField: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, repeatIndex, editMode, onComplete, onEnter, setRef, value, inlineError, children }: import("./fields/DateSelectorField").DateSelectorProps) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
15
|
+
DropdownField: React.LazyExoticComponent<typeof import("./fields/DropdownField").default>;
|
|
16
|
+
DropdownMultiField: React.LazyExoticComponent<typeof import("./fields/DropdownMultiField").default>;
|
|
17
|
+
FileUploadField: React.LazyExoticComponent<typeof import("./fields/FileUploadField").default>;
|
|
18
|
+
MatrixField: React.LazyExoticComponent<typeof import("./fields/MatrixField").default>;
|
|
19
|
+
PasswordField: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, repeatIndex, editMode, onChange, onEnter, setRef, rawValue, inlineError, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
20
|
+
PaymentMethodField: React.LazyExoticComponent<React.MemoExoticComponent<({ editMode, children, ...props }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
21
|
+
PhoneField: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, fullNumber, elementProps, required, disabled, repeatIndex, autoComplete, editMode, onComplete, setRef, inlineError, rightToLeft, onEnter, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
22
|
+
PinInputField: React.LazyExoticComponent<typeof import("./fields/PinInputField").default>;
|
|
23
|
+
QRScanner: React.LazyExoticComponent<typeof import("./fields/QRScanner").default>;
|
|
24
|
+
RadioButtonGroupField: React.LazyExoticComponent<typeof import("./fields/RadioButtonGroupField").default>;
|
|
25
|
+
RatingField: React.LazyExoticComponent<typeof import("./fields/RatingField").default>;
|
|
26
|
+
SignatureField: React.LazyExoticComponent<typeof import("./fields/SignatureField").default>;
|
|
27
|
+
SliderField: React.LazyExoticComponent<typeof import("./fields/SliderField").default>;
|
|
28
|
+
TextField: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, autoComplete, editMode, onAccept, onEnter, setRef, inlineError, repeatIndex, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
29
|
+
TextArea: React.LazyExoticComponent<React.MemoExoticComponent<({ element, responsiveStyles, fieldLabel, elementProps, required, disabled, editMode, onChange, setRef, rawValue, inlineError, repeatIndex, children }: any) => import("@emotion/react/jsx-runtime").JSX.Element>>;
|
|
30
|
+
ImageElement: typeof ImageElement;
|
|
31
|
+
VideoElement: typeof VideoElement;
|
|
32
|
+
TextElement: typeof TextElement;
|
|
33
|
+
ButtonElement: typeof ButtonElement;
|
|
34
|
+
ProgressBarElement: typeof ProgressBarElement;
|
|
35
|
+
};
|
|
36
|
+
export default Elements;
|
|
37
37
|
//# sourceMappingURL=index.d.ts.map
|