@feathery/react 2.6.8 → 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/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/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/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
package/dist/Form/index.d.ts
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { FieldValues } from '../utils/init';
|
|
3
|
-
import { ContextOnAction, ContextOnChange, ContextOnError, ContextOnSubmit, ContextOnView, ElementProps, FormContext, PopupOptions } from '../types/Form';
|
|
4
|
-
import { InitialLoader } from '../hooks/useLoader';
|
|
5
|
-
export * from './grid/StyledContainer';
|
|
6
|
-
export type { StyledContainerProps } from './grid/StyledContainer';
|
|
7
|
-
export interface Props {
|
|
8
|
-
formId: string;
|
|
9
|
-
onChange?: null | ((context: ContextOnChange) => Promise<any> | void);
|
|
10
|
-
onLoad?: null | ((context: FormContext) => Promise<any> | void);
|
|
11
|
-
onFormLoad?: null | ((context: FormContext) => Promise<any> | void);
|
|
12
|
-
onFormComplete?: null | ((context: FormContext) => Promise<any> | void);
|
|
13
|
-
onSubmit?: null | ((context: ContextOnSubmit) => Promise<any> | void);
|
|
14
|
-
onError?: null | ((context: ContextOnError) => Promise<any> | void);
|
|
15
|
-
onView?: null | ((context: ContextOnView) => Promise<any> | void);
|
|
16
|
-
onAction?: null | ((context: ContextOnAction) => Promise<any> | void);
|
|
17
|
-
onViewElements?: string[];
|
|
18
|
-
saveUrlParams?: boolean;
|
|
19
|
-
initialValues?: FieldValues;
|
|
20
|
-
initialStepId?: string;
|
|
21
|
-
hideTestUI?: boolean;
|
|
22
|
-
language?: string;
|
|
23
|
-
initialLoader?: InitialLoader;
|
|
24
|
-
popupOptions?: PopupOptions;
|
|
25
|
-
elementProps?: ElementProps;
|
|
26
|
-
contextRef?: React.MutableRefObject<null | FormContext>;
|
|
27
|
-
formProps?: Record<string, any>;
|
|
28
|
-
customComponents?: Record<string, any>;
|
|
29
|
-
style?: {
|
|
30
|
-
[cssProperty: string]: string;
|
|
31
|
-
};
|
|
32
|
-
className?: string;
|
|
33
|
-
children?: ReactNode;
|
|
34
|
-
_draft?: boolean;
|
|
35
|
-
readOnly?: boolean;
|
|
36
|
-
hashNavigation?: boolean;
|
|
37
|
-
}
|
|
38
|
-
interface InternalProps {
|
|
39
|
-
_internalId: string;
|
|
40
|
-
_isAuthLoading?: boolean;
|
|
41
|
-
_bypassCDN?: boolean;
|
|
42
|
-
_pollFuserData?: boolean;
|
|
43
|
-
}
|
|
44
|
-
export interface ClickActionElement {
|
|
45
|
-
id: string;
|
|
46
|
-
properties: {
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
};
|
|
49
|
-
repeat?: any;
|
|
50
|
-
}
|
|
51
|
-
export declare function JSForm({ formId, _internalId, _isAuthLoading, ...props }: Props & InternalProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
52
|
-
export default function ReactForm(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { FieldValues } from '../utils/init';
|
|
3
|
+
import { ContextOnAction, ContextOnChange, ContextOnError, ContextOnSubmit, ContextOnView, ElementProps, FormContext, PopupOptions } from '../types/Form';
|
|
4
|
+
import { InitialLoader } from '../hooks/useLoader';
|
|
5
|
+
export * from './grid/StyledContainer';
|
|
6
|
+
export type { StyledContainerProps } from './grid/StyledContainer';
|
|
7
|
+
export interface Props {
|
|
8
|
+
formId: string;
|
|
9
|
+
onChange?: null | ((context: ContextOnChange) => Promise<any> | void);
|
|
10
|
+
onLoad?: null | ((context: FormContext) => Promise<any> | void);
|
|
11
|
+
onFormLoad?: null | ((context: FormContext) => Promise<any> | void);
|
|
12
|
+
onFormComplete?: null | ((context: FormContext) => Promise<any> | void);
|
|
13
|
+
onSubmit?: null | ((context: ContextOnSubmit) => Promise<any> | void);
|
|
14
|
+
onError?: null | ((context: ContextOnError) => Promise<any> | void);
|
|
15
|
+
onView?: null | ((context: ContextOnView) => Promise<any> | void);
|
|
16
|
+
onAction?: null | ((context: ContextOnAction) => Promise<any> | void);
|
|
17
|
+
onViewElements?: string[];
|
|
18
|
+
saveUrlParams?: boolean;
|
|
19
|
+
initialValues?: FieldValues;
|
|
20
|
+
initialStepId?: string;
|
|
21
|
+
hideTestUI?: boolean;
|
|
22
|
+
language?: string;
|
|
23
|
+
initialLoader?: InitialLoader;
|
|
24
|
+
popupOptions?: PopupOptions;
|
|
25
|
+
elementProps?: ElementProps;
|
|
26
|
+
contextRef?: React.MutableRefObject<null | FormContext>;
|
|
27
|
+
formProps?: Record<string, any>;
|
|
28
|
+
customComponents?: Record<string, any>;
|
|
29
|
+
style?: {
|
|
30
|
+
[cssProperty: string]: string;
|
|
31
|
+
};
|
|
32
|
+
className?: string;
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
_draft?: boolean;
|
|
35
|
+
readOnly?: boolean;
|
|
36
|
+
hashNavigation?: boolean;
|
|
37
|
+
}
|
|
38
|
+
interface InternalProps {
|
|
39
|
+
_internalId: string;
|
|
40
|
+
_isAuthLoading?: boolean;
|
|
41
|
+
_bypassCDN?: boolean;
|
|
42
|
+
_pollFuserData?: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface ClickActionElement {
|
|
45
|
+
id: string;
|
|
46
|
+
properties: {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
repeat?: any;
|
|
50
|
+
}
|
|
51
|
+
export declare function JSForm({ formId, _internalId, _isAuthLoading, ...props }: Props & InternalProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
52
|
+
export default function ReactForm(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
53
53
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/Form/logic.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Program } from 'acorn';
|
|
2
|
-
import { ExtractedSharedCodeInfo, SharedCodeInfo } from './definitions';
|
|
3
|
-
import { ClientSideLogicRule, LogicRule, ServerSideLogicRule } from '../types/Form';
|
|
4
|
-
import { FormInternalState } from '../utils/internalState';
|
|
5
|
-
export declare function getAcornParsedNodes(input: string): Program | null;
|
|
6
|
-
export declare function extractExportedCodeInfoArray(sharedCodeInfoArray: SharedCodeInfo[]): ExtractedSharedCodeInfo[];
|
|
7
|
-
export declare function replaceImportsWithDefinitions(code: string, extractedSharedCodeInfo: ExtractedSharedCodeInfo[]): string;
|
|
8
|
-
export declare const handleRuleError: (errorMessage: string, logicRule: LogicRule) => void;
|
|
9
|
-
export declare const runServerSideLogic: (logicRule: ServerSideLogicRule, client: any, isDraft: boolean) => Promise<void>;
|
|
10
|
-
export declare const runClientSideLogic: (logicRule: ClientSideLogicRule, client: any, extractedSharedCodeInfo: ExtractedSharedCodeInfo[], internalState: FormInternalState, connectorFields: any, props: Record<string, any>) => Promise<void>;
|
|
1
|
+
import { Program } from 'acorn';
|
|
2
|
+
import { ExtractedSharedCodeInfo, SharedCodeInfo } from './definitions';
|
|
3
|
+
import { ClientSideLogicRule, LogicRule, ServerSideLogicRule } from '../types/Form';
|
|
4
|
+
import { FormInternalState } from '../utils/internalState';
|
|
5
|
+
export declare function getAcornParsedNodes(input: string): Program | null;
|
|
6
|
+
export declare function extractExportedCodeInfoArray(sharedCodeInfoArray: SharedCodeInfo[]): ExtractedSharedCodeInfo[];
|
|
7
|
+
export declare function replaceImportsWithDefinitions(code: string, extractedSharedCodeInfo: ExtractedSharedCodeInfo[]): string;
|
|
8
|
+
export declare const handleRuleError: (errorMessage: string, logicRule: LogicRule) => void;
|
|
9
|
+
export declare const runServerSideLogic: (logicRule: ServerSideLogicRule, client: any, isDraft: boolean) => Promise<void>;
|
|
10
|
+
export declare const runClientSideLogic: (logicRule: ClientSideLogicRule, client: any, extractedSharedCodeInfo: ExtractedSharedCodeInfo[], internalState: FormInternalState, connectorFields: any, props: Record<string, any>) => Promise<void>;
|
|
11
11
|
//# sourceMappingURL=logic.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare type MockClickActionElement = {
|
|
2
|
-
id: string;
|
|
3
|
-
properties: Record<string, any>;
|
|
4
|
-
repeat?: number;
|
|
5
|
-
};
|
|
6
|
-
export declare const CheckButtonActionMod: any;
|
|
1
|
+
export declare type MockClickActionElement = {
|
|
2
|
+
id: string;
|
|
3
|
+
properties: Record<string, any>;
|
|
4
|
+
repeat?: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const CheckButtonActionMod: any;
|
|
7
7
|
//# sourceMappingURL=testMocks.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default function LoginError({ message }: {
|
|
2
|
-
message: string;
|
|
3
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
1
|
+
export default function LoginError({ message }: {
|
|
2
|
+
message: string;
|
|
3
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=LoginError.d.ts.map
|
package/dist/auth/LoginForm.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { Props as FormProps } from '../Form';
|
|
3
|
-
export declare const AuthContext: React.Context<any>;
|
|
4
|
-
export declare const authState: {
|
|
5
|
-
client: any;
|
|
6
|
-
authId: string;
|
|
7
|
-
authType: string;
|
|
8
|
-
authFormKey: string;
|
|
9
|
-
_featheryHosted: boolean;
|
|
10
|
-
redirectAfterLogin: boolean;
|
|
11
|
-
hasRedirected: boolean;
|
|
12
|
-
sentAuth: boolean;
|
|
13
|
-
setAuthId: (newId: string) => void;
|
|
14
|
-
setClient: (newClient: any) => void;
|
|
15
|
-
onLogin: () => void;
|
|
16
|
-
onLogout: () => void;
|
|
17
|
-
showError: (msg?: string) => void;
|
|
18
|
-
};
|
|
19
|
-
declare const LoginForm: ({ authId: authIdProp, formProps, loginPath, onLogin, onLogout, onClientReady, _featheryHosted, children }: {
|
|
20
|
-
authId?: string | undefined;
|
|
21
|
-
formProps: FormProps;
|
|
22
|
-
loginPath?: string | undefined;
|
|
23
|
-
onLogin?: (() => void) | undefined;
|
|
24
|
-
onLogout?: (() => void) | undefined;
|
|
25
|
-
onClientReady?: ((authClient: any) => void) | undefined;
|
|
26
|
-
_featheryHosted?: boolean | undefined;
|
|
27
|
-
children?: ReactNode;
|
|
28
|
-
}) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
29
|
-
export default LoginForm;
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { Props as FormProps } from '../Form';
|
|
3
|
+
export declare const AuthContext: React.Context<any>;
|
|
4
|
+
export declare const authState: {
|
|
5
|
+
client: any;
|
|
6
|
+
authId: string;
|
|
7
|
+
authType: string;
|
|
8
|
+
authFormKey: string;
|
|
9
|
+
_featheryHosted: boolean;
|
|
10
|
+
redirectAfterLogin: boolean;
|
|
11
|
+
hasRedirected: boolean;
|
|
12
|
+
sentAuth: boolean;
|
|
13
|
+
setAuthId: (newId: string) => void;
|
|
14
|
+
setClient: (newClient: any) => void;
|
|
15
|
+
onLogin: () => void;
|
|
16
|
+
onLogout: () => void;
|
|
17
|
+
showError: (msg?: string) => void;
|
|
18
|
+
};
|
|
19
|
+
declare const LoginForm: ({ authId: authIdProp, formProps, loginPath, onLogin, onLogout, onClientReady, _featheryHosted, children }: {
|
|
20
|
+
authId?: string | undefined;
|
|
21
|
+
formProps: FormProps;
|
|
22
|
+
loginPath?: string | undefined;
|
|
23
|
+
onLogin?: (() => void) | undefined;
|
|
24
|
+
onLogout?: (() => void) | undefined;
|
|
25
|
+
onClientReady?: ((authClient: any) => void) | undefined;
|
|
26
|
+
_featheryHosted?: boolean | undefined;
|
|
27
|
+
children?: ReactNode;
|
|
28
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
29
|
+
export default LoginForm;
|
|
30
30
|
//# sourceMappingURL=LoginForm.d.ts.map
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import FeatheryClient from '../../utils/featheryClient';
|
|
2
|
-
declare function isHrefMagicLink(): boolean;
|
|
3
|
-
declare function inferLoginOnLoad(featheryClient: FeatheryClient): Promise<any> | undefined;
|
|
4
|
-
declare function isThereAnExistingSession(): boolean;
|
|
5
|
-
declare function inferAuthLogout(): Promise<void>;
|
|
6
|
-
declare function sendSms(phoneNum: string, featheryClient: any): any;
|
|
7
|
-
declare function verifySMSOTP(params: {
|
|
8
|
-
fieldVal: string;
|
|
9
|
-
featheryClient: any;
|
|
10
|
-
}): Promise<any>;
|
|
11
|
-
declare function sendMagicLink(email: string): any;
|
|
12
|
-
declare function oauthRedirect(oauthType: string, client?: any): Promise<any> | undefined;
|
|
13
|
-
declare function initializeAuthClientListeners(): void;
|
|
14
|
-
/**
|
|
15
|
-
* This function fires when the idle timer goes off. It either extends the auth
|
|
16
|
-
* session or performs logout actions
|
|
17
|
-
*/
|
|
18
|
-
declare function idleTimerAction(hasAuthed: boolean, logoutActions: () => void): Promise<void>;
|
|
19
|
-
declare const _default: {
|
|
20
|
-
isHrefMagicLink: typeof isHrefMagicLink;
|
|
21
|
-
inferLoginOnLoad: typeof inferLoginOnLoad;
|
|
22
|
-
isThereAnExistingSession: typeof isThereAnExistingSession;
|
|
23
|
-
inferAuthLogout: typeof inferAuthLogout;
|
|
24
|
-
sendSms: typeof sendSms;
|
|
25
|
-
verifySMSOTP: typeof verifySMSOTP;
|
|
26
|
-
sendMagicLink: typeof sendMagicLink;
|
|
27
|
-
oauthRedirect: typeof oauthRedirect;
|
|
28
|
-
initializeAuthClientListeners: typeof initializeAuthClientListeners;
|
|
29
|
-
idleTimerAction: typeof idleTimerAction;
|
|
30
|
-
};
|
|
31
|
-
export default _default;
|
|
1
|
+
import FeatheryClient from '../../utils/featheryClient';
|
|
2
|
+
declare function isHrefMagicLink(): boolean;
|
|
3
|
+
declare function inferLoginOnLoad(featheryClient: FeatheryClient): Promise<any> | undefined;
|
|
4
|
+
declare function isThereAnExistingSession(): boolean;
|
|
5
|
+
declare function inferAuthLogout(): Promise<void>;
|
|
6
|
+
declare function sendSms(phoneNum: string, featheryClient: any): any;
|
|
7
|
+
declare function verifySMSOTP(params: {
|
|
8
|
+
fieldVal: string;
|
|
9
|
+
featheryClient: any;
|
|
10
|
+
}): Promise<any>;
|
|
11
|
+
declare function sendMagicLink(email: string): any;
|
|
12
|
+
declare function oauthRedirect(oauthType: string, client?: any): Promise<any> | undefined;
|
|
13
|
+
declare function initializeAuthClientListeners(): void;
|
|
14
|
+
/**
|
|
15
|
+
* This function fires when the idle timer goes off. It either extends the auth
|
|
16
|
+
* session or performs logout actions
|
|
17
|
+
*/
|
|
18
|
+
declare function idleTimerAction(hasAuthed: boolean, logoutActions: () => void): Promise<void>;
|
|
19
|
+
declare const _default: {
|
|
20
|
+
isHrefMagicLink: typeof isHrefMagicLink;
|
|
21
|
+
inferLoginOnLoad: typeof inferLoginOnLoad;
|
|
22
|
+
isThereAnExistingSession: typeof isThereAnExistingSession;
|
|
23
|
+
inferAuthLogout: typeof inferAuthLogout;
|
|
24
|
+
sendSms: typeof sendSms;
|
|
25
|
+
verifySMSOTP: typeof verifySMSOTP;
|
|
26
|
+
sendMagicLink: typeof sendMagicLink;
|
|
27
|
+
oauthRedirect: typeof oauthRedirect;
|
|
28
|
+
initializeAuthClientListeners: typeof initializeAuthClientListeners;
|
|
29
|
+
idleTimerAction: typeof idleTimerAction;
|
|
30
|
+
};
|
|
31
|
+
export default _default;
|
|
32
32
|
//# sourceMappingURL=AuthIntegrationInterface.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const useFormAuth: ({ initialStep, integrations, setStepKey, steps, client, _internalId }: {
|
|
3
|
-
initialStep: string;
|
|
4
|
-
integrations: null | Record<string, any>;
|
|
5
|
-
setStepKey: React.Dispatch<React.SetStateAction<string>>;
|
|
6
|
-
steps: any;
|
|
7
|
-
client: any;
|
|
8
|
-
_internalId: string;
|
|
9
|
-
}) => (nextStepCandidate?: any) => string;
|
|
10
|
-
export default useFormAuth;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const useFormAuth: ({ initialStep, integrations, setStepKey, steps, client, _internalId }: {
|
|
3
|
+
initialStep: string;
|
|
4
|
+
integrations: null | Record<string, any>;
|
|
5
|
+
setStepKey: React.Dispatch<React.SetStateAction<string>>;
|
|
6
|
+
steps: any;
|
|
7
|
+
client: any;
|
|
8
|
+
_internalId: string;
|
|
9
|
+
}) => (nextStepCandidate?: any) => string;
|
|
10
|
+
export default useFormAuth;
|
|
11
11
|
//# sourceMappingURL=useFormAuth.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare function isAuthStytch(): boolean | undefined;
|
|
2
|
-
export declare function getAuthIntegrationMetadata(integrations: null | Record<string, any>): undefined | any;
|
|
3
|
-
/**
|
|
4
|
-
* Determines whether form should be considered completed or not. Completed
|
|
5
|
-
* should be false if it is a 'terminal step' in the middle of a login flow with
|
|
6
|
-
* steps configured for after login
|
|
7
|
-
* @param authIntegration
|
|
8
|
-
* @param stepId terminal step ID
|
|
9
|
-
* @returns {boolean} true if there are auth gated steps after this one
|
|
10
|
-
*/
|
|
11
|
-
export declare function isTerminalStepAuth(authIntegration: any, stepId: string): boolean;
|
|
12
|
-
export declare function hasAuthGatedSteps(integrations: any): boolean;
|
|
13
|
-
export declare function getRedirectUrl(): string;
|
|
1
|
+
export declare function isAuthStytch(): boolean | undefined;
|
|
2
|
+
export declare function getAuthIntegrationMetadata(integrations: null | Record<string, any>): undefined | any;
|
|
3
|
+
/**
|
|
4
|
+
* Determines whether form should be considered completed or not. Completed
|
|
5
|
+
* should be false if it is a 'terminal step' in the middle of a login flow with
|
|
6
|
+
* steps configured for after login
|
|
7
|
+
* @param authIntegration
|
|
8
|
+
* @param stepId terminal step ID
|
|
9
|
+
* @returns {boolean} true if there are auth gated steps after this one
|
|
10
|
+
*/
|
|
11
|
+
export declare function isTerminalStepAuth(authIntegration: any, stepId: string): boolean;
|
|
12
|
+
export declare function hasAuthGatedSteps(integrations: any): boolean;
|
|
13
|
+
export declare function getRedirectUrl(): string;
|
|
14
14
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const useAuthClient: () => any;
|
|
2
|
-
export default useAuthClient;
|
|
1
|
+
declare const useAuthClient: () => any;
|
|
2
|
+
export default useAuthClient;
|
|
3
3
|
//# sourceMappingURL=useAuthClient.d.ts.map
|
package/dist/auth/utils.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const getLoginStep: (steps: any, integrations: any) => unknown;
|
|
1
|
+
export declare const getLoginStep: (steps: any, integrations: any) => unknown;
|
|
2
2
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function ButtonElement({ element, responsiveStyles, loader, editMode, focused, disabled, active, textCallbacks, onClick, elementProps, inlineError, children, featheryContext }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
-
export default ButtonElement;
|
|
1
|
+
declare function ButtonElement({ element, responsiveStyles, loader, editMode, focused, disabled, active, textCallbacks, onClick, elementProps, inlineError, children, featheryContext }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default ButtonElement;
|
|
3
3
|
//# sourceMappingURL=ButtonElement.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const PLACEHOLDER_IMAGE = "https://feathery.s3.us-west-1.amazonaws.com/theme-image-preview.png";
|
|
2
|
-
declare function ImageElement({ element, responsiveStyles, elementProps, editMode, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default ImageElement;
|
|
1
|
+
export declare const PLACEHOLDER_IMAGE = "https://feathery.s3.us-west-1.amazonaws.com/theme-image-preview.png";
|
|
2
|
+
declare function ImageElement({ element, responsiveStyles, elementProps, editMode, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default ImageElement;
|
|
4
4
|
//# sourceMappingURL=ImageElement.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function SegmentBar({ styles, percent, numSegments }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
-
export default SegmentBar;
|
|
1
|
+
declare function SegmentBar({ styles, percent, numSegments }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default SegmentBar;
|
|
3
3
|
//# sourceMappingURL=SegmentBar.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function SmoothBar({ styles, percent }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
-
export default SmoothBar;
|
|
1
|
+
declare function SmoothBar({ styles, percent }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default SmoothBar;
|
|
3
3
|
//# sourceMappingURL=SmoothBar.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function ProgressBarElement({ element, responsiveStyles, progress, curDepth, maxDepth, elementProps, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
-
export default ProgressBarElement;
|
|
1
|
+
declare function ProgressBarElement({ element, responsiveStyles, progress, curDepth, maxDepth, elementProps, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default ProgressBarElement;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function TextElement({ element, responsiveStyles, editMode, focused, textCallbacks, textSpanOnClick, conditions, elementProps, children, featheryContext }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
-
export default TextElement;
|
|
1
|
+
declare function TextElement({ element, responsiveStyles, editMode, focused, textCallbacks, textSpanOnClick, conditions, elementProps, children, featheryContext }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default TextElement;
|
|
3
3
|
//# sourceMappingURL=TextElement.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function VideoElement({ element, responsiveStyles, elementProps, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
-
export default VideoElement;
|
|
1
|
+
declare function VideoElement({ element, responsiveStyles, elementProps, children }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default VideoElement;
|
|
3
3
|
//# sourceMappingURL=VideoElement.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
2
|
-
export default function ErrorInput(props: ComponentProps<'input'>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
export default function ErrorInput(props: ComponentProps<'input'>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=ErrorInput.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
2
|
-
interface FormControlProps extends ComponentProps<'input'> {
|
|
3
|
-
htmlSize?: number;
|
|
4
|
-
css?: any;
|
|
5
|
-
}
|
|
6
|
-
export declare function FormControl({ type, htmlSize, css, ...props }: FormControlProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
FormControl: typeof FormControl;
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
interface FormControlProps extends ComponentProps<'input'> {
|
|
3
|
+
htmlSize?: number;
|
|
4
|
+
css?: any;
|
|
5
|
+
}
|
|
6
|
+
export declare function FormControl({ type, htmlSize, css, ...props }: FormControlProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
FormControl: typeof FormControl;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
11
|
//# sourceMappingURL=FormControl.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare const FILLED_OUT = "filled_out";
|
|
2
|
-
export declare const CLOSED = "closed";
|
|
3
|
-
export declare const COLLAB_DIRECT_DISABLED = "direct_submission_disabled";
|
|
4
|
-
export declare const COLLAB_COMPLETED = "collab_completed";
|
|
5
|
-
export declare const NO_BUSINESS_EMAIL = "no_business_email";
|
|
6
|
-
export default function FormOff({ width, reason, showCTA }: {
|
|
7
|
-
width?: number | undefined;
|
|
8
|
-
reason?: string | undefined;
|
|
9
|
-
showCTA?: boolean | undefined;
|
|
10
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const FILLED_OUT = "filled_out";
|
|
2
|
+
export declare const CLOSED = "closed";
|
|
3
|
+
export declare const COLLAB_DIRECT_DISABLED = "direct_submission_disabled";
|
|
4
|
+
export declare const COLLAB_COMPLETED = "collab_completed";
|
|
5
|
+
export declare const NO_BUSINESS_EMAIL = "no_business_email";
|
|
6
|
+
export default function FormOff({ width, reason, showCTA }: {
|
|
7
|
+
width?: number | undefined;
|
|
8
|
+
reason?: string | undefined;
|
|
9
|
+
showCTA?: boolean | undefined;
|
|
10
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
11
|
//# sourceMappingURL=FormOff.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface InlineTooltipProps {
|
|
3
|
-
id: string;
|
|
4
|
-
text: string;
|
|
5
|
-
responsiveStyles: any;
|
|
6
|
-
absolute?: boolean;
|
|
7
|
-
containerRef?: React.RefObject<HTMLElement | null>;
|
|
8
|
-
repeat?: any;
|
|
9
|
-
}
|
|
10
|
-
export default function InlineTooltip({ id, text, responsiveStyles, absolute, containerRef, repeat }: InlineTooltipProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
11
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface InlineTooltipProps {
|
|
3
|
+
id: string;
|
|
4
|
+
text: string;
|
|
5
|
+
responsiveStyles: any;
|
|
6
|
+
absolute?: boolean;
|
|
7
|
+
containerRef?: React.RefObject<HTMLElement | null>;
|
|
8
|
+
repeat?: any;
|
|
9
|
+
}
|
|
10
|
+
export default function InlineTooltip({ id, text, responsiveStyles, absolute, containerRef, repeat }: InlineTooltipProps): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export {};
|
|
12
12
|
//# sourceMappingURL=InlineTooltip.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
declare const LoaderContainer: ({ isStepLoaderForButton, backgroundColor, showLoader, height, width, children }: {
|
|
3
|
-
isStepLoaderForButton: boolean;
|
|
4
|
-
backgroundColor: string | undefined;
|
|
5
|
-
showLoader: boolean;
|
|
6
|
-
height: string;
|
|
7
|
-
width: string;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default LoaderContainer;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
declare const LoaderContainer: ({ isStepLoaderForButton, backgroundColor, showLoader, height, width, children }: {
|
|
3
|
+
isStepLoaderForButton: boolean;
|
|
4
|
+
backgroundColor: string | undefined;
|
|
5
|
+
showLoader: boolean;
|
|
6
|
+
height: string;
|
|
7
|
+
width: string;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default LoaderContainer;
|
|
11
11
|
//# sourceMappingURL=LoaderContainer.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare function loadLottieLight(): void;
|
|
2
|
-
export default function Lottie({ animationData }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare function loadLottieLight(): void;
|
|
2
|
+
export default function Lottie({ animationData }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=Lottie.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
declare type Placement = 'top' | 'top-start' | 'top-end' | 'left' | 'left-start' | 'left-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end';
|
|
3
|
-
interface OverlayProps {
|
|
4
|
-
show: boolean;
|
|
5
|
-
targetRef: React.RefObject<HTMLElement | null>;
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
onHide?: () => void;
|
|
8
|
-
placement?: Placement;
|
|
9
|
-
offset?: number;
|
|
10
|
-
zIndex?: number;
|
|
11
|
-
/** Optional container ref to render the overlay into. Defaults to document.body */
|
|
12
|
-
containerRef?: React.RefObject<HTMLElement | null>;
|
|
13
|
-
}
|
|
14
|
-
declare const Overlay: ({ show, targetRef, children, onHide, placement, offset, zIndex, containerRef }: OverlayProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
15
|
-
export default Overlay;
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
declare type Placement = 'top' | 'top-start' | 'top-end' | 'left' | 'left-start' | 'left-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end';
|
|
3
|
+
interface OverlayProps {
|
|
4
|
+
show: boolean;
|
|
5
|
+
targetRef: React.RefObject<HTMLElement | null>;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
onHide?: () => void;
|
|
8
|
+
placement?: Placement;
|
|
9
|
+
offset?: number;
|
|
10
|
+
zIndex?: number;
|
|
11
|
+
/** Optional container ref to render the overlay into. Defaults to document.body */
|
|
12
|
+
containerRef?: React.RefObject<HTMLElement | null>;
|
|
13
|
+
}
|
|
14
|
+
declare const Overlay: ({ show, targetRef, children, onHide, placement, offset, zIndex, containerRef }: OverlayProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
15
|
+
export default Overlay;
|
|
16
16
|
//# sourceMappingURL=Overlay.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default function Placeholder({ value, element, responsiveStyles, type, inputFocused, repeatIndex }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
1
|
+
export default function Placeholder({ value, element, responsiveStyles, type, inputFocused, repeatIndex }: any): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
2
|
//# sourceMappingURL=Placeholder.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function generateFormElement(doc: Document): HTMLFormElement | undefined;
|
|
1
|
+
export declare function generateFormElement(doc: Document): HTMLFormElement | undefined;
|
|
2
2
|
//# sourceMappingURL=form.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function generateHeaderElement(doc: Document, inline?: boolean): HTMLDivElement | undefined;
|
|
1
|
+
export declare function generateHeaderElement(doc: Document, inline?: boolean): HTMLDivElement | undefined;
|
|
2
2
|
//# sourceMappingURL=header.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generates and returns a new sidebar element with all transformations applied.
|
|
3
|
-
* @param {Document} doc The document object.
|
|
4
|
-
* @returns {HTMLElement|undefined} The new sidebar element, or undefined if the original wrapper isn't found.
|
|
5
|
-
*/
|
|
6
|
-
export declare function generateSidebarElement(doc: any): any;
|
|
1
|
+
/**
|
|
2
|
+
* Generates and returns a new sidebar element with all transformations applied.
|
|
3
|
+
* @param {Document} doc The document object.
|
|
4
|
+
* @returns {HTMLElement|undefined} The new sidebar element, or undefined if the original wrapper isn't found.
|
|
5
|
+
*/
|
|
6
|
+
export declare function generateSidebarElement(doc: any): any;
|
|
7
7
|
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
interface FrameProps {
|
|
2
|
-
html?: string;
|
|
3
|
-
css?: any;
|
|
4
|
-
inline?: boolean;
|
|
5
|
-
setShow?: (val: boolean) => void;
|
|
6
|
-
formKey?: string;
|
|
7
|
-
}
|
|
8
|
-
declare function QuikFormViewer({ html, css, setShow, inline, formKey }: FrameProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default QuikFormViewer;
|
|
1
|
+
interface FrameProps {
|
|
2
|
+
html?: string;
|
|
3
|
+
css?: any;
|
|
4
|
+
inline?: boolean;
|
|
5
|
+
setShow?: (val: boolean) => void;
|
|
6
|
+
formKey?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function QuikFormViewer({ html, css, setShow, inline, formKey }: FrameProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default QuikFormViewer;
|
|
10
10
|
//# sourceMappingURL=QuikFormViewer.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare function FeatherySpinner(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare const _default: React.MemoExoticComponent<typeof FeatherySpinner>;
|
|
4
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare function FeatherySpinner(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<typeof FeatherySpinner>;
|
|
4
|
+
export default _default;
|
|
5
5
|
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React, { RefObject } from 'react';
|
|
2
|
-
interface TextHoverTooltipProps {
|
|
3
|
-
text: string;
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
containerRef?: RefObject<HTMLElement>;
|
|
6
|
-
}
|
|
7
|
-
export default function TextHoverTooltip({ text, children, containerRef }: TextHoverTooltipProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
|
+
interface TextHoverTooltipProps {
|
|
3
|
+
text: string;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
containerRef?: RefObject<HTMLElement>;
|
|
6
|
+
}
|
|
7
|
+
export default function TextHoverTooltip({ text, children, containerRef }: TextHoverTooltipProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
9
|
//# sourceMappingURL=TextHoverTooltip.d.ts.map
|