@bigbinary/neeto-form-frontend 4.4.41 → 4.4.43
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/app/javascript/src/translations/en.json +2 -2
- package/dist/.ready +1 -1
- package/dist/cjs/v2/ExternalForm.js +6 -2
- package/dist/cjs/v2/ExternalForm.js.map +1 -1
- package/dist/cjs/v2/UrlBuilder.js +1 -1
- package/dist/cjs/v2/index.js +1 -1
- package/dist/cjs/v2/{utils-vhbB2fwp.js → utils-Bd1yi8HI.js} +55 -27
- package/dist/cjs/v2/utils-Bd1yi8HI.js.map +1 -0
- package/dist/v2/ExternalForm.js +6 -2
- package/dist/v2/ExternalForm.js.map +1 -1
- package/dist/v2/UrlBuilder.js +1 -1
- package/dist/v2/index.js +1 -1
- package/dist/v2/main.css +1 -1
- package/dist/v2/main.css.map +1 -1
- package/dist/v2/{utils-B1ExnkqT.js → utils-DpoXv3Qp.js} +55 -27
- package/dist/v2/utils-DpoXv3Qp.js.map +1 -0
- package/package.json +7 -7
- package/dist/cjs/v2/utils-vhbB2fwp.js.map +0 -1
- package/dist/v2/utils-B1ExnkqT.js.map +0 -1
package/dist/v2/ExternalForm.js
CHANGED
|
@@ -18,7 +18,7 @@ import { I18nextProvider, useTranslation } from 'react-i18next';
|
|
|
18
18
|
import { d as usePublicForm, g as useCreateSubmission, h as useUpdateSubmission, f as useSubmission, Q as QUERY_KEYS } from './useFormApi-B5a0zkAT.js';
|
|
19
19
|
import { g as getComponentDisplayName } from './index-CUrkh_zd.js';
|
|
20
20
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
21
|
-
import { c as clientI18nInstance, d as getWithExpiry, e as clearEmailVerificationDetails, F as FormikWrap, g as getFieldComponent, b as buildAutoCompleteAttribute, r as renderButtonsInOrder, m as mergeRefs, a as generateInitValues, f as generateFormResponse, h as clearLocalStorageValues } from './utils-
|
|
21
|
+
import { c as clientI18nInstance, d as getWithExpiry, e as clearEmailVerificationDetails, F as FormikWrap, g as getFieldComponent, b as buildAutoCompleteAttribute, r as renderButtonsInOrder, m as mergeRefs, a as generateInitValues, f as generateFormResponse, h as clearLocalStorageValues } from './utils-DpoXv3Qp.js';
|
|
22
22
|
import { i as isBlank, C as CALLOUT_POSITIONS, b as CALLOUT_STYLES, L as LAST_ELEMENTS_THRESHOLD, Q as QUESTION_KIND, p as parseServerError } from './yup-DItlKUzb.js';
|
|
23
23
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
24
24
|
import { withT } from '@bigbinary/neeto-commons-frontend/v2/react-utils';
|
|
@@ -560,7 +560,8 @@ var ExternalForm = function ExternalForm(_ref) {
|
|
|
560
560
|
editorRef: editorRef,
|
|
561
561
|
isLastFewElements: isLastFewElements,
|
|
562
562
|
preview: preview,
|
|
563
|
-
question: question
|
|
563
|
+
question: question,
|
|
564
|
+
size: size
|
|
564
565
|
}, question.kind === QUESTION_KIND.SPOT.value && typeof remainingSlotsCount === "number" && {
|
|
565
566
|
remainingSlotsCount: remainingSlotsCount
|
|
566
567
|
})), {}, {
|
|
@@ -597,6 +598,7 @@ var ExternalForm = function ExternalForm(_ref) {
|
|
|
597
598
|
className: "neeto-form-nano-form-footer mt-8 flex items-center justify-between",
|
|
598
599
|
children: [cancelButtonProps && /*#__PURE__*/jsx(Button$1, _objectSpread({
|
|
599
600
|
label: t("neetoForm.common.cancel"),
|
|
601
|
+
size: size === "large" ? "lg" : "default",
|
|
600
602
|
variant: "outline"
|
|
601
603
|
}, cancelButtonProps)), /*#__PURE__*/jsx("div", {
|
|
602
604
|
className: "flex gap-x-2",
|
|
@@ -604,9 +606,11 @@ var ExternalForm = function ExternalForm(_ref) {
|
|
|
604
606
|
disabled: isSubmitting || isSubmitted,
|
|
605
607
|
label: t("neetoForm.common.submit"),
|
|
606
608
|
loading: isSubmitting,
|
|
609
|
+
size: size === "large" ? "lg" : "default",
|
|
607
610
|
type: "submit"
|
|
608
611
|
}, submitButtonProps), "submit"), /*#__PURE__*/jsx(Button$1, _objectSpread({
|
|
609
612
|
label: t("neetoForm.common.reset"),
|
|
613
|
+
size: size === "large" ? "lg" : "default",
|
|
610
614
|
type: "reset",
|
|
611
615
|
variant: "outline"
|
|
612
616
|
}, resetButtonProps), "reset")], isPresent(cancelButtonProps))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalForm.js","sources":["../../app/javascript/src/hocs/withI18nInstance.jsx","../../app/javascript/src/hooks/useIsMounted.js","../../app/javascript/src/v2/components/Common/Spinner.jsx","../../app/javascript/src/v2/components/Common/Button.jsx","../../app/javascript/src/v2/components/Common/Callout.jsx","../../app/javascript/src/v2/components/ExternalForm/Success.jsx","../../app/javascript/src/v2/components/ExternalForm/index.jsx"],"sourcesContent":["import { I18nextProvider } from \"react-i18next\";\n\nimport { getComponentDisplayName } from \"utils\";\n\nconst withI18nInstance = (Component, i18n) => {\n const I18nWrapper = props => (\n <I18nextProvider {...{ i18n }}>\n <Component {...props} />\n </I18nextProvider>\n );\n\n I18nWrapper.displayName = `I18nWrapper(${getComponentDisplayName(\n Component\n )})`;\n\n return I18nWrapper;\n};\n\nexport default withI18nInstance;\n","import { useRef, useEffect } from \"react\";\n\nconst useIsMounted = () => {\n const isMounted = useRef(true);\n\n useEffect(\n () => () => {\n isMounted.current = false;\n },\n []\n );\n\n return () => isMounted.current;\n};\n\nexport default useIsMounted;\n","import { memo } from \"react\";\n\nconst Spinner = ({ size = 24 }) => (\n <div className=\"neeto-form-engine-spinner\">\n <svg\n fill=\"none\"\n height={size}\n viewBox=\"0 0 25 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M12.5 5.00098V8.75M17.4401 7.04867L14.9888 9.5M19.5008 11.9994H15.5M17.4401 16.9372L14.9888 14.4859M12.5023 18.9979V15M7.5516 16.9372L10.4888 14M5.50391 11.9994H9.5M7.5516 7.04867L10.0029 9.5\"\n stroke=\"#87929D\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1.5\"\n />\n </svg>\n </div>\n);\n\nexport default memo(Spinner);\n","import classNames from \"classnames\";\nimport { Check } from \"lucide-react\";\n\nimport Spinner from \"./Spinner\";\n\nconst Button = ({\n label,\n loading = false,\n success = false,\n className = \"\",\n ...otherProps\n}) => (\n <button\n className={classNames(\"neeto-form-engine-button\", className)}\n {...otherProps}\n >\n {loading && <ButtonLoader />}\n {success && <Success />}\n {label}\n </button>\n);\n\nconst ButtonLoader = () => (\n <div className=\"neeto-form-engine-button__loader\">\n <Spinner />\n </div>\n);\n\nconst Success = () => (\n <div className=\"neeto-form-engine-button__success\">\n <Check />\n </div>\n);\n\nexport default Button;\n","import classnames from \"classnames\";\nimport { X } from \"lucide-react\";\nimport { isPresent } from \"neetocist\";\nimport { not } from \"ramda\";\n\nimport { isBlank } from \"v2/utils\";\n\nimport Button from \"./Button\";\nimport { CALLOUT_POSITIONS, CALLOUT_STYLES } from \"./constants\";\n\nconst Callout = ({\n style = CALLOUT_STYLES.ERROR,\n position = CALLOUT_POSITIONS.ABSOLUTE,\n callout = {},\n children,\n className,\n onClose,\n}) => {\n const { isVisible, title, message, primaryButton, secondaryButton } = callout;\n\n if (!isVisible) return null;\n\n return (\n <div\n className={classnames(\"neeto-form-engine-callout\", {\n \"neeto-form-engine-callout--error\": style === CALLOUT_STYLES.ERROR,\n \"neeto-form-engine-callout--info\": style === CALLOUT_STYLES.INFO,\n \"neeto-form-engine-callout--static\":\n position === CALLOUT_POSITIONS.STATIC,\n \"neeto-form-engine-callout--absolute\":\n position === CALLOUT_POSITIONS.ABSOLUTE,\n [className]: className,\n })}\n >\n {isPresent(onClose) && (\n <button className=\"neeto-form-engine-callout__close\" onClick={onClose}>\n <X size={16} />\n </button>\n )}\n <div className=\"neeto-form-engine-callout__content\">\n {not(isBlank(title)) && <h5>{title}</h5>}\n <p>{message}</p>\n </div>\n {primaryButton && (\n <Button\n label={primaryButton.label}\n size=\"small\"\n onClick={primaryButton.onClick}\n />\n )}\n {secondaryButton && (\n <Button\n label={secondaryButton.label}\n size=\"small\"\n onClick={secondaryButton.onClick}\n />\n )}\n {children}\n </div>\n );\n};\n\nexport default Callout;\n","import { memo } from \"react\";\n\nimport { Typography } from \"@bigbinary/neeto-atoms\";\nimport { withT } from \"neetocommons/v2/react-utils\";\n\nconst Success = withT(({ t }) => (\n <div className=\"neeto-form-nano-external-form-thank-you flex h-full w-full flex-col items-center justify-center space-y-3 py-20\">\n <Typography variant=\"h2\">🎉</Typography>\n <Typography className=\"text-center\" variant=\"h4\">\n {t(\"neetoForm.successPage.title1\")}\n </Typography>\n <Typography className=\"text-center\" color=\"muted\" variant=\"body2\">\n {t(\"neetoForm.successPage.title2\")}\n </Typography>\n </div>\n));\nexport default memo(Success);\n","import { useState, useRef, useEffect } from \"react\";\n\nimport {\n Typography,\n Button,\n Spinner,\n Callout as NeetoUICallout,\n Empty,\n} from \"@bigbinary/neeto-atoms\";\nimport { useQueryClient } from \"@tanstack/react-query\";\nimport classNames from \"classnames\";\nimport { Formik, Form } from \"formik\";\nimport i18next from \"i18next\";\nimport { ListTodo, TriangleAlert } from \"lucide-react\";\nimport { isPresent, noop, removeBy } from \"neetocist\";\nimport { getQueryParams } from \"neetocommons/v2/utils\";\nimport useHotkeys from \"neetohotkeys\";\nimport PageLoader from \"neetomolecules/v2/PageLoader\";\nimport PropTypes from \"prop-types\";\nimport { equals, isEmpty, path } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { QUERY_KEYS } from \"common/constants\";\nimport withI18nInstance from \"hocs/withI18nInstance\";\nimport {\n useCreateSubmission,\n usePublicForm,\n useSubmission,\n useUpdateSubmission,\n} from \"hooks/useFormApi\";\nimport useIsMounted from \"hooks/useIsMounted\";\nimport { clearLocalStorageValues, getWithExpiry } from \"utils/localStorage\";\nimport Callout from \"v2/components/Common/Callout\";\nimport FormikWrap from \"v2/components/Common/FormikWrap\";\nimport { parseServerError } from \"v2/utils\";\n\nimport { LAST_ELEMENTS_THRESHOLD, QUESTION_KIND } from \"./constants\";\nimport { clearEmailVerificationDetails } from \"./Fields/EmailField/utils\";\nimport { getFieldComponent } from \"./Fields/utils\";\nimport Success from \"./Success\";\nimport {\n generateInitValues,\n generateFormResponse,\n mergeRefs,\n buildAutoCompleteAttribute,\n renderButtonsInOrder,\n} from \"./utils\";\nimport { clientI18nInstance } from \"./utils/clientI18nInstance\";\n\nconst ExternalForm = ({\n size = \"medium\",\n preview = false,\n formId,\n submissionId,\n customSubmitHandler,\n onBeforeSubmit,\n onSubmitSuccess,\n showTitle = true,\n formTitle,\n submitButtonProps,\n cancelButtonProps,\n resetButtonProps,\n displayThankYou = true,\n showEmptyState = true,\n className,\n preserveValues = false,\n clearValuesOnReset = false,\n clearValuesOnSubmit = false,\n initialValues = {},\n onChange,\n formDomProps,\n editorProps = {},\n customValidator,\n autoCompleteKinds = [],\n enablePreFilling = false,\n language = i18next.resolvedLanguage,\n remainingSlotsCount = null,\n}) => {\n const [isSubmitted, setIsSubmitted] = useState(false);\n const [showSuccess, setShowSuccess] = useState(false);\n const [localValues, setLocalValues] = useState(\n getWithExpiry(`${formId}/values`)\n );\n const isMounted = useIsMounted();\n const [error, setError] = useState(null);\n\n const formRef = useRef();\n const formikInnerRef = useRef();\n const editorRef = useRef();\n const captchaRef = useRef(null);\n\n const queryClient = useQueryClient();\n\n const {\n data: form = { title: \"\", questions: [], isQuestionsLoading: true },\n isLoading,\n } = usePublicForm({ formId, language, preview, enabled: !preview });\n\n const { title, questions = [] } = form;\n const formUuid = path([0, \"formId\"], questions) ?? formId;\n\n useEffect(() => {\n if (equals(language, clientI18nInstance.resolvedLanguage)) return;\n\n clientI18nInstance.changeLanguage(language);\n }, [language]);\n\n useEffect(() => {\n if (!preserveValues) clearEmailVerificationDetails(formUuid);\n }, []);\n\n const { t } = useTranslation();\n\n useEffect(() => {\n setLocalValues(getWithExpiry(`${formId}/values`));\n }, [formId]);\n\n const { mutateAsync: createSubmission } = useCreateSubmission({\n enabled: !submissionId,\n });\n\n const { mutateAsync: updateSubmission } = useUpdateSubmission({\n enabled: !!submissionId,\n });\n\n const { data: submission } = useSubmission({\n formId,\n submissionId,\n placeholderData: submissionId ? { responses: [], isLoading: true } : {},\n enabled: !!submissionId,\n });\n\n const clearLocalFormValues = () =>\n clearLocalStorageValues(`${formId}/values`);\n\n const onSubmit = async (values, { setSubmitting }) => {\n setError(null);\n let responses = generateFormResponse(values, questions);\n try {\n if (preview) {\n await new Promise(resolve =>\n setTimeout(() => {\n resolve();\n setIsSubmitted(true);\n setTimeout(() => setShowSuccess(true), 1000);\n }, 1500)\n );\n } else {\n if (onBeforeSubmit) {\n const newResponses = await onBeforeSubmit(responses, values);\n if (newResponses) {\n responses = newResponses;\n }\n }\n let data;\n if (customSubmitHandler) {\n data = await customSubmitHandler(\n { responses, values },\n clearLocalFormValues\n );\n\n queryClient.invalidateQueries({\n queryKey: [QUERY_KEYS.SUBMISSION, formId, submissionId],\n });\n } else {\n if (submissionId) {\n data = await updateSubmission({\n formId,\n values: {\n neetoFormResponse: { submissionId, responses },\n },\n });\n } else {\n data = await createSubmission({\n formId,\n values: { neetoFormResponse: { responses } },\n });\n }\n }\n\n clearValuesOnSubmit && clearLocalFormValues();\n setTimeout(() => clearEmailVerificationDetails(formUuid), 1000);\n onSubmitSuccess?.({ values, responses, data }, clearLocalFormValues);\n if (isMounted()) {\n setIsSubmitted(true);\n setTimeout(() => setShowSuccess(true), 1000);\n }\n }\n } catch (error) {\n setError(parseServerError(error));\n } finally {\n if (isMounted()) {\n setSubmitting(false);\n }\n }\n };\n\n const onReset = (e, handleReset) => {\n if (clearValuesOnReset) {\n clearLocalStorageValues(`${formId}/values`);\n setLocalValues(generateInitValues({ questions }));\n submissionId &&\n queryClient.setQueryData(\n [QUERY_KEYS.SUBMISSION, formId, submissionId],\n { responses: [] }\n );\n }\n editorRef?.current?.editor?.commands?.setContent(\"\");\n captchaRef.current?.reset();\n handleReset(e);\n formDomProps?.onReset?.(e);\n clearEmailVerificationDetails(formUuid);\n };\n\n const handleScrollToError = errors => {\n if (!formRef.current) return;\n const errorKeys = Object.keys(errors);\n if (isEmpty(errorKeys)) return;\n for (const formElement of formRef.current) {\n if (errorKeys.includes(formElement.name)) {\n formElement.scrollIntoView({ behavior: \"smooth\", block: \"center\" });\n break;\n }\n }\n };\n\n const { dataUpdateCount } = queryClient.getQueryState([\n QUERY_KEYS.QUESTIONS,\n formId,\n language,\n ]);\n\n const keyPressRef = useHotkeys(\n \"command+enter\",\n formikInnerRef.current?.handleSubmit || noop,\n { mode: \"scoped\" }\n );\n\n if (\n isLoading ||\n form.isQuestionsLoading ||\n (!!submissionId && submission?.isLoading)\n ) {\n return (\n <div className=\"loader flex h-full w-full items-center justify-center\">\n <PageLoader />\n </div>\n );\n }\n\n const displayTitle = formTitle || title;\n\n const renderedQuestions = preview\n ? questions\n : removeBy({ isHidden: true }, questions);\n\n if (displayThankYou && showSuccess) {\n return <Success />;\n }\n\n return (\n <div\n className={classNames(\"neeto-form-nano-external-form\", {\n \"neeto-form-nano-external-form--size-large\": size === \"large\",\n \"neeto-form-nano-external-form--size-medium\": size === \"medium\",\n })}\n >\n {showTitle && displayTitle && (\n <div className=\"neeto-form-nano-external-form-header py-6\">\n <Typography\n className=\"neeto-form-nano-external-form-title\"\n variant=\"h6\"\n >\n {displayTitle}\n </Typography>\n </div>\n )}\n <Formik\n {...{ onSubmit }}\n enableReinitialize\n innerRef={formikInnerRef}\n initialValues={generateInitValues({\n questions,\n initialValues: submission?.responses,\n localValues: preserveValues ? localValues : initialValues,\n fieldCodes: enablePreFilling\n ? getQueryParams({ toCamelCase: false })\n : {},\n remainingSlotsCount,\n })}\n >\n {({ isSubmitting, errors, setFieldError, handleReset }) => (\n <FormikWrap\n {...{ dataUpdateCount, formId, preserveValues }}\n onError={handleScrollToError}\n onValuesChange={onChange}\n >\n <Form\n noValidate\n ref={mergeRefs(formRef, keyPressRef)}\n className={classNames(\"neeto-form-engine-form relative\", {\n \"space-y-6\": size === \"large\",\n \"space-y-4\": size === \"medium\",\n [className]: className,\n })}\n onChange={event => {\n if (isEmpty(errors)) return;\n setFieldError(event.target.name, \"\");\n }}\n {...formDomProps}\n onReset={e => onReset(e, handleReset)}\n >\n {submission?.isLoading && (\n <div className=\"bg-muted absolute bottom-0 start-0 end-0 top-0 flex items-center justify-center opacity-75\">\n <Spinner />\n </div>\n )}\n {renderedQuestions.map((question, index) => {\n const FieldComponent = getFieldComponent(question);\n const isLastFewElements =\n index >= renderedQuestions.length - LAST_ELEMENTS_THRESHOLD;\n\n return (\n <div\n className=\"w-full flex flex-col gap-2\"\n key={question.id ?? question.nodeId}\n >\n <FieldComponent\n {...{\n captchaRef,\n editorProps,\n editorRef,\n isLastFewElements,\n preview,\n question,\n ...(question.kind === QUESTION_KIND.SPOT.value &&\n typeof remainingSlotsCount === \"number\" && {\n remainingSlotsCount,\n }),\n }}\n customValidator={customValidator?.(question)}\n autoComplete={buildAutoCompleteAttribute(\n question.kind,\n autoCompleteKinds,\n formDomProps\n )}\n />\n {question.isHidden && (\n <NeetoUICallout\n data-testid=\"hidden-question-callout\"\n icon={TriangleAlert}\n variant=\"warning\"\n >\n <Typography color=\"inherit\" variant=\"body2\">\n {t(\"neetoForm.callouts.hiddenQuestion\")}\n </Typography>\n </NeetoUICallout>\n )}\n {preview && question.isResponseVisibleOnlyToHost && (\n <NeetoUICallout\n data-testid=\"response-visible-only-to-host-callout\"\n icon={TriangleAlert}\n variant=\"warning\"\n >\n <Typography color=\"inherit\" variant=\"body2\">\n {t(\"neetoForm.callouts.responseVisibleOnlyToHost\")}\n </Typography>\n </NeetoUICallout>\n )}\n </div>\n );\n })}\n {showEmptyState && isEmpty(renderedQuestions) && (\n <div className=\"flex w-full grow items-center justify-center py-8\">\n <Empty\n className=\"min-h-80\"\n icon={ListTodo}\n title={t(\"neetoForm.questions.common.noData\")}\n />\n </div>\n )}\n {!isEmpty(renderedQuestions) && (\n <div className=\"neeto-form-nano-form-footer mt-8 flex items-center justify-between\">\n {cancelButtonProps && (\n <Button\n label={t(\"neetoForm.common.cancel\")}\n variant=\"outline\"\n {...cancelButtonProps}\n />\n )}\n <div className=\"flex gap-x-2\">\n {renderButtonsInOrder(\n [\n <Button\n disabled={isSubmitting || isSubmitted}\n key=\"submit\"\n label={t(\"neetoForm.common.submit\")}\n loading={isSubmitting}\n type=\"submit\"\n {...submitButtonProps}\n />,\n <Button\n key=\"reset\"\n label={t(\"neetoForm.common.reset\")}\n type=\"reset\"\n variant=\"outline\"\n {...resetButtonProps}\n />,\n ],\n isPresent(cancelButtonProps)\n )}\n </div>\n </div>\n )}\n </Form>\n {!customSubmitHandler && (\n <Callout\n callout={{\n isVisible: isPresent(error),\n title: t(\"neetoForm.callouts.submitError\"),\n message: error,\n }}\n onClose={() => setError(null)}\n />\n )}\n </FormikWrap>\n )}\n </Formik>\n </div>\n );\n};\n\nExternalForm.propTypes = {\n preview: PropTypes.bool,\n formId: PropTypes.string,\n submissionId: PropTypes.string,\n onBeforeSubmit: PropTypes.func,\n onSubmitSuccess: PropTypes.func,\n showTitle: PropTypes.bool,\n submitButtonProps: PropTypes.object,\n cancelButtonProps: PropTypes.object,\n displayThankYou: PropTypes.bool,\n showEmptyState: PropTypes.bool,\n initialValues: PropTypes.object,\n className: PropTypes.string,\n enablePreFilling: PropTypes.bool,\n remainingSlotsCount: PropTypes.number,\n};\n\nexport default withI18nInstance(ExternalForm, clientI18nInstance);\n"],"names":["withI18nInstance","Component","i18n","I18nWrapper","props","_jsx","I18nextProvider","children","_objectSpread","displayName","concat","getComponentDisplayName","useIsMounted","isMounted","useRef","useEffect","current","Spinner","_ref","_ref$size","size","className","fill","height","viewBox","width","xmlns","d","stroke","strokeLinecap","strokeLinejoin","strokeWidth","memo","Button","label","_ref$loading","loading","_ref$success","success","_ref$className","otherProps","_objectWithoutProperties","_excluded","_jsxs","classNames","ButtonLoader","Success","Check","Callout","_ref$style","style","CALLOUT_STYLES","ERROR","_ref$position","position","CALLOUT_POSITIONS","ABSOLUTE","_ref$callout","callout","onClose","isVisible","title","message","primaryButton","secondaryButton","classnames","_defineProperty","INFO","STATIC","isPresent","onClick","X","not","isBlank","withT","t","Typography","variant","color","ExternalForm","_path","_formikInnerRef$curre","_ref$preview","preview","formId","submissionId","customSubmitHandler","onBeforeSubmit","onSubmitSuccess","_ref$showTitle","showTitle","formTitle","submitButtonProps","cancelButtonProps","resetButtonProps","_ref$displayThankYou","displayThankYou","_ref$showEmptyState","showEmptyState","_ref$preserveValues","preserveValues","_ref$clearValuesOnRes","clearValuesOnReset","_ref$clearValuesOnSub","clearValuesOnSubmit","_ref$initialValues","initialValues","onChange","formDomProps","_ref$editorProps","editorProps","customValidator","_ref$autoCompleteKind","autoCompleteKinds","_ref$enablePreFilling","enablePreFilling","_ref$language","language","i18next","resolvedLanguage","_ref$remainingSlotsCo","remainingSlotsCount","_useState","useState","_useState2","_slicedToArray","isSubmitted","setIsSubmitted","_useState3","_useState4","showSuccess","setShowSuccess","_useState5","getWithExpiry","_useState6","localValues","setLocalValues","_useState7","_useState8","error","setError","formRef","formikInnerRef","editorRef","captchaRef","queryClient","useQueryClient","_usePublicForm","usePublicForm","enabled","_usePublicForm$data","data","form","questions","isQuestionsLoading","isLoading","_form$questions","formUuid","path","equals","clientI18nInstance","changeLanguage","clearEmailVerificationDetails","_useTranslation","useTranslation","_useCreateSubmission","useCreateSubmission","createSubmission","mutateAsync","_useUpdateSubmission","useUpdateSubmission","updateSubmission","_useSubmission","useSubmission","placeholderData","responses","submission","clearLocalFormValues","clearLocalStorageValues","onSubmit","_ref3","_asyncToGenerator","_regeneratorRuntime","mark","_callee","values","_ref2","setSubmitting","newResponses","wrap","_callee$","_context","prev","next","generateFormResponse","Promise","resolve","setTimeout","sent","invalidateQueries","queryKey","QUERY_KEYS","SUBMISSION","neetoFormResponse","t0","parseServerError","finish","stop","_x","_x2","apply","arguments","onReset","e","handleReset","_editorRef$current","_captchaRef$current","_formDomProps$onReset","generateInitValues","setQueryData","editor","commands","setContent","reset","call","handleScrollToError","errors","errorKeys","Object","keys","isEmpty","_iterator","_createForOfIteratorHelper","_step","s","n","done","formElement","value","includes","name","scrollIntoView","behavior","block","err","f","_queryClient$getQuery","getQueryState","QUESTIONS","dataUpdateCount","keyPressRef","useHotkeys","handleSubmit","noop","mode","PageLoader","displayTitle","renderedQuestions","removeBy","isHidden","Formik","enableReinitialize","innerRef","fieldCodes","getQueryParams","toCamelCase","_ref4","isSubmitting","setFieldError","FormikWrap","onError","onValuesChange","Form","noValidate","ref","mergeRefs","event","target","map","question","index","_question$id","FieldComponent","getFieldComponent","isLastFewElements","length","LAST_ELEMENTS_THRESHOLD","kind","QUESTION_KIND","SPOT","autoComplete","buildAutoCompleteAttribute","NeetoUICallout","icon","TriangleAlert","isResponseVisibleOnlyToHost","id","nodeId","Empty","ListTodo","renderButtonsInOrder","disabled","type"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,SAAS,EAAEC,IAAI,EAAK;AAC5C,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAGC,KAAK,EAAA;IAAA,oBACvBC,GAAA,CAACC,eAAe,EAAA;AAAOJ,MAAAA,IAAI,EAAJA,IAAI;MAAAK,QAAA,eACzBF,GAAA,CAACJ,SAAS,EAAAO,eAAA,CAAA,EAAA,EAAKJ,KAAK,CAAG;AAAC,KACT,CAAC;EAAA,CACnB;EAEDD,WAAW,CAACM,WAAW,GAAA,cAAA,CAAAC,MAAA,CAAkBC,uBAAuB,CAC9DV,SACF,CAAC,EAAA,GAAA,CAAG;AAEJ,EAAA,OAAOE,WAAW;AACpB,CAAC;;ACdD,IAAMS,YAAY,GAAG,SAAfA,YAAYA,GAAS;AACzB,EAAA,IAAMC,SAAS,GAAGC,MAAM,CAAC,IAAI,CAAC;AAE9BC,EAAAA,SAAS,CACP,YAAA;AAAA,IAAA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AC;AAAA,MAAA;AACd,KACK,CAAC;AAAA,GACN,CAAC;AAEV,CAAC;AAmBD,YAAe5I,gBAAgB,CAAC+E,YAAY,EAAEiF,kBAAkB,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"ExternalForm.js","sources":["../../app/javascript/src/hocs/withI18nInstance.jsx","../../app/javascript/src/hooks/useIsMounted.js","../../app/javascript/src/v2/components/Common/Spinner.jsx","../../app/javascript/src/v2/components/Common/Button.jsx","../../app/javascript/src/v2/components/Common/Callout.jsx","../../app/javascript/src/v2/components/ExternalForm/Success.jsx","../../app/javascript/src/v2/components/ExternalForm/index.jsx"],"sourcesContent":["import { I18nextProvider } from \"react-i18next\";\n\nimport { getComponentDisplayName } from \"utils\";\n\nconst withI18nInstance = (Component, i18n) => {\n const I18nWrapper = props => (\n <I18nextProvider {...{ i18n }}>\n <Component {...props} />\n </I18nextProvider>\n );\n\n I18nWrapper.displayName = `I18nWrapper(${getComponentDisplayName(\n Component\n )})`;\n\n return I18nWrapper;\n};\n\nexport default withI18nInstance;\n","import { useRef, useEffect } from \"react\";\n\nconst useIsMounted = () => {\n const isMounted = useRef(true);\n\n useEffect(\n () => () => {\n isMounted.current = false;\n },\n []\n );\n\n return () => isMounted.current;\n};\n\nexport default useIsMounted;\n","import { memo } from \"react\";\n\nconst Spinner = ({ size = 24 }) => (\n <div className=\"neeto-form-engine-spinner\">\n <svg\n fill=\"none\"\n height={size}\n viewBox=\"0 0 25 24\"\n width={size}\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M12.5 5.00098V8.75M17.4401 7.04867L14.9888 9.5M19.5008 11.9994H15.5M17.4401 16.9372L14.9888 14.4859M12.5023 18.9979V15M7.5516 16.9372L10.4888 14M5.50391 11.9994H9.5M7.5516 7.04867L10.0029 9.5\"\n stroke=\"#87929D\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1.5\"\n />\n </svg>\n </div>\n);\n\nexport default memo(Spinner);\n","import classNames from \"classnames\";\nimport { Check } from \"lucide-react\";\n\nimport Spinner from \"./Spinner\";\n\nconst Button = ({\n label,\n loading = false,\n success = false,\n className = \"\",\n ...otherProps\n}) => (\n <button\n className={classNames(\"neeto-form-engine-button\", className)}\n {...otherProps}\n >\n {loading && <ButtonLoader />}\n {success && <Success />}\n {label}\n </button>\n);\n\nconst ButtonLoader = () => (\n <div className=\"neeto-form-engine-button__loader\">\n <Spinner />\n </div>\n);\n\nconst Success = () => (\n <div className=\"neeto-form-engine-button__success\">\n <Check />\n </div>\n);\n\nexport default Button;\n","import classnames from \"classnames\";\nimport { X } from \"lucide-react\";\nimport { isPresent } from \"neetocist\";\nimport { not } from \"ramda\";\n\nimport { isBlank } from \"v2/utils\";\n\nimport Button from \"./Button\";\nimport { CALLOUT_POSITIONS, CALLOUT_STYLES } from \"./constants\";\n\nconst Callout = ({\n style = CALLOUT_STYLES.ERROR,\n position = CALLOUT_POSITIONS.ABSOLUTE,\n callout = {},\n children,\n className,\n onClose,\n}) => {\n const { isVisible, title, message, primaryButton, secondaryButton } = callout;\n\n if (!isVisible) return null;\n\n return (\n <div\n className={classnames(\"neeto-form-engine-callout\", {\n \"neeto-form-engine-callout--error\": style === CALLOUT_STYLES.ERROR,\n \"neeto-form-engine-callout--info\": style === CALLOUT_STYLES.INFO,\n \"neeto-form-engine-callout--static\":\n position === CALLOUT_POSITIONS.STATIC,\n \"neeto-form-engine-callout--absolute\":\n position === CALLOUT_POSITIONS.ABSOLUTE,\n [className]: className,\n })}\n >\n {isPresent(onClose) && (\n <button className=\"neeto-form-engine-callout__close\" onClick={onClose}>\n <X size={16} />\n </button>\n )}\n <div className=\"neeto-form-engine-callout__content\">\n {not(isBlank(title)) && <h5>{title}</h5>}\n <p>{message}</p>\n </div>\n {primaryButton && (\n <Button\n label={primaryButton.label}\n size=\"small\"\n onClick={primaryButton.onClick}\n />\n )}\n {secondaryButton && (\n <Button\n label={secondaryButton.label}\n size=\"small\"\n onClick={secondaryButton.onClick}\n />\n )}\n {children}\n </div>\n );\n};\n\nexport default Callout;\n","import { memo } from \"react\";\n\nimport { Typography } from \"@bigbinary/neeto-atoms\";\nimport { withT } from \"neetocommons/v2/react-utils\";\n\nconst Success = withT(({ t }) => (\n <div className=\"neeto-form-nano-external-form-thank-you flex h-full w-full flex-col items-center justify-center space-y-3 py-20\">\n <Typography variant=\"h2\">🎉</Typography>\n <Typography className=\"text-center\" variant=\"h4\">\n {t(\"neetoForm.successPage.title1\")}\n </Typography>\n <Typography className=\"text-center\" color=\"muted\" variant=\"body2\">\n {t(\"neetoForm.successPage.title2\")}\n </Typography>\n </div>\n));\nexport default memo(Success);\n","import { useState, useRef, useEffect } from \"react\";\n\nimport {\n Typography,\n Button,\n Spinner,\n Callout as NeetoUICallout,\n Empty,\n} from \"@bigbinary/neeto-atoms\";\nimport { useQueryClient } from \"@tanstack/react-query\";\nimport classNames from \"classnames\";\nimport { Formik, Form } from \"formik\";\nimport i18next from \"i18next\";\nimport { ListTodo, TriangleAlert } from \"lucide-react\";\nimport { isPresent, noop, removeBy } from \"neetocist\";\nimport { getQueryParams } from \"neetocommons/v2/utils\";\nimport useHotkeys from \"neetohotkeys\";\nimport PageLoader from \"neetomolecules/v2/PageLoader\";\nimport PropTypes from \"prop-types\";\nimport { equals, isEmpty, path } from \"ramda\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { QUERY_KEYS } from \"common/constants\";\nimport withI18nInstance from \"hocs/withI18nInstance\";\nimport {\n useCreateSubmission,\n usePublicForm,\n useSubmission,\n useUpdateSubmission,\n} from \"hooks/useFormApi\";\nimport useIsMounted from \"hooks/useIsMounted\";\nimport { clearLocalStorageValues, getWithExpiry } from \"utils/localStorage\";\nimport Callout from \"v2/components/Common/Callout\";\nimport FormikWrap from \"v2/components/Common/FormikWrap\";\nimport { parseServerError } from \"v2/utils\";\n\nimport { LAST_ELEMENTS_THRESHOLD, QUESTION_KIND } from \"./constants\";\nimport { clearEmailVerificationDetails } from \"./Fields/EmailField/utils\";\nimport { getFieldComponent } from \"./Fields/utils\";\nimport Success from \"./Success\";\nimport {\n generateInitValues,\n generateFormResponse,\n mergeRefs,\n buildAutoCompleteAttribute,\n renderButtonsInOrder,\n} from \"./utils\";\nimport { clientI18nInstance } from \"./utils/clientI18nInstance\";\n\nconst ExternalForm = ({\n size = \"medium\",\n preview = false,\n formId,\n submissionId,\n customSubmitHandler,\n onBeforeSubmit,\n onSubmitSuccess,\n showTitle = true,\n formTitle,\n submitButtonProps,\n cancelButtonProps,\n resetButtonProps,\n displayThankYou = true,\n showEmptyState = true,\n className,\n preserveValues = false,\n clearValuesOnReset = false,\n clearValuesOnSubmit = false,\n initialValues = {},\n onChange,\n formDomProps,\n editorProps = {},\n customValidator,\n autoCompleteKinds = [],\n enablePreFilling = false,\n language = i18next.resolvedLanguage,\n remainingSlotsCount = null,\n}) => {\n const [isSubmitted, setIsSubmitted] = useState(false);\n const [showSuccess, setShowSuccess] = useState(false);\n const [localValues, setLocalValues] = useState(\n getWithExpiry(`${formId}/values`)\n );\n const isMounted = useIsMounted();\n const [error, setError] = useState(null);\n\n const formRef = useRef();\n const formikInnerRef = useRef();\n const editorRef = useRef();\n const captchaRef = useRef(null);\n\n const queryClient = useQueryClient();\n\n const {\n data: form = { title: \"\", questions: [], isQuestionsLoading: true },\n isLoading,\n } = usePublicForm({ formId, language, preview, enabled: !preview });\n\n const { title, questions = [] } = form;\n const formUuid = path([0, \"formId\"], questions) ?? formId;\n\n useEffect(() => {\n if (equals(language, clientI18nInstance.resolvedLanguage)) return;\n\n clientI18nInstance.changeLanguage(language);\n }, [language]);\n\n useEffect(() => {\n if (!preserveValues) clearEmailVerificationDetails(formUuid);\n }, []);\n\n const { t } = useTranslation();\n\n useEffect(() => {\n setLocalValues(getWithExpiry(`${formId}/values`));\n }, [formId]);\n\n const { mutateAsync: createSubmission } = useCreateSubmission({\n enabled: !submissionId,\n });\n\n const { mutateAsync: updateSubmission } = useUpdateSubmission({\n enabled: !!submissionId,\n });\n\n const { data: submission } = useSubmission({\n formId,\n submissionId,\n placeholderData: submissionId ? { responses: [], isLoading: true } : {},\n enabled: !!submissionId,\n });\n\n const clearLocalFormValues = () =>\n clearLocalStorageValues(`${formId}/values`);\n\n const onSubmit = async (values, { setSubmitting }) => {\n setError(null);\n let responses = generateFormResponse(values, questions);\n try {\n if (preview) {\n await new Promise(resolve =>\n setTimeout(() => {\n resolve();\n setIsSubmitted(true);\n setTimeout(() => setShowSuccess(true), 1000);\n }, 1500)\n );\n } else {\n if (onBeforeSubmit) {\n const newResponses = await onBeforeSubmit(responses, values);\n if (newResponses) {\n responses = newResponses;\n }\n }\n let data;\n if (customSubmitHandler) {\n data = await customSubmitHandler(\n { responses, values },\n clearLocalFormValues\n );\n\n queryClient.invalidateQueries({\n queryKey: [QUERY_KEYS.SUBMISSION, formId, submissionId],\n });\n } else {\n if (submissionId) {\n data = await updateSubmission({\n formId,\n values: {\n neetoFormResponse: { submissionId, responses },\n },\n });\n } else {\n data = await createSubmission({\n formId,\n values: { neetoFormResponse: { responses } },\n });\n }\n }\n\n clearValuesOnSubmit && clearLocalFormValues();\n setTimeout(() => clearEmailVerificationDetails(formUuid), 1000);\n onSubmitSuccess?.({ values, responses, data }, clearLocalFormValues);\n if (isMounted()) {\n setIsSubmitted(true);\n setTimeout(() => setShowSuccess(true), 1000);\n }\n }\n } catch (error) {\n setError(parseServerError(error));\n } finally {\n if (isMounted()) {\n setSubmitting(false);\n }\n }\n };\n\n const onReset = (e, handleReset) => {\n if (clearValuesOnReset) {\n clearLocalStorageValues(`${formId}/values`);\n setLocalValues(generateInitValues({ questions }));\n submissionId &&\n queryClient.setQueryData(\n [QUERY_KEYS.SUBMISSION, formId, submissionId],\n { responses: [] }\n );\n }\n editorRef?.current?.editor?.commands?.setContent(\"\");\n captchaRef.current?.reset();\n handleReset(e);\n formDomProps?.onReset?.(e);\n clearEmailVerificationDetails(formUuid);\n };\n\n const handleScrollToError = errors => {\n if (!formRef.current) return;\n const errorKeys = Object.keys(errors);\n if (isEmpty(errorKeys)) return;\n for (const formElement of formRef.current) {\n if (errorKeys.includes(formElement.name)) {\n formElement.scrollIntoView({ behavior: \"smooth\", block: \"center\" });\n break;\n }\n }\n };\n\n const { dataUpdateCount } = queryClient.getQueryState([\n QUERY_KEYS.QUESTIONS,\n formId,\n language,\n ]);\n\n const keyPressRef = useHotkeys(\n \"command+enter\",\n formikInnerRef.current?.handleSubmit || noop,\n { mode: \"scoped\" }\n );\n\n if (\n isLoading ||\n form.isQuestionsLoading ||\n (!!submissionId && submission?.isLoading)\n ) {\n return (\n <div className=\"loader flex h-full w-full items-center justify-center\">\n <PageLoader />\n </div>\n );\n }\n\n const displayTitle = formTitle || title;\n\n const renderedQuestions = preview\n ? questions\n : removeBy({ isHidden: true }, questions);\n\n if (displayThankYou && showSuccess) {\n return <Success />;\n }\n\n return (\n <div\n className={classNames(\"neeto-form-nano-external-form\", {\n \"neeto-form-nano-external-form--size-large\": size === \"large\",\n \"neeto-form-nano-external-form--size-medium\": size === \"medium\",\n })}\n >\n {showTitle && displayTitle && (\n <div className=\"neeto-form-nano-external-form-header py-6\">\n <Typography\n className=\"neeto-form-nano-external-form-title\"\n variant=\"h6\"\n >\n {displayTitle}\n </Typography>\n </div>\n )}\n <Formik\n {...{ onSubmit }}\n enableReinitialize\n innerRef={formikInnerRef}\n initialValues={generateInitValues({\n questions,\n initialValues: submission?.responses,\n localValues: preserveValues ? localValues : initialValues,\n fieldCodes: enablePreFilling\n ? getQueryParams({ toCamelCase: false })\n : {},\n remainingSlotsCount,\n })}\n >\n {({ isSubmitting, errors, setFieldError, handleReset }) => (\n <FormikWrap\n {...{ dataUpdateCount, formId, preserveValues }}\n onError={handleScrollToError}\n onValuesChange={onChange}\n >\n <Form\n noValidate\n ref={mergeRefs(formRef, keyPressRef)}\n className={classNames(\"neeto-form-engine-form relative\", {\n \"space-y-6\": size === \"large\",\n \"space-y-4\": size === \"medium\",\n [className]: className,\n })}\n onChange={event => {\n if (isEmpty(errors)) return;\n setFieldError(event.target.name, \"\");\n }}\n {...formDomProps}\n onReset={e => onReset(e, handleReset)}\n >\n {submission?.isLoading && (\n <div className=\"bg-muted absolute bottom-0 start-0 end-0 top-0 flex items-center justify-center opacity-75\">\n <Spinner />\n </div>\n )}\n {renderedQuestions.map((question, index) => {\n const FieldComponent = getFieldComponent(question);\n const isLastFewElements =\n index >= renderedQuestions.length - LAST_ELEMENTS_THRESHOLD;\n\n return (\n <div\n className=\"w-full flex flex-col gap-2\"\n key={question.id ?? question.nodeId}\n >\n <FieldComponent\n {...{\n captchaRef,\n editorProps,\n editorRef,\n isLastFewElements,\n preview,\n question,\n size,\n ...(question.kind === QUESTION_KIND.SPOT.value &&\n typeof remainingSlotsCount === \"number\" && {\n remainingSlotsCount,\n }),\n }}\n customValidator={customValidator?.(question)}\n autoComplete={buildAutoCompleteAttribute(\n question.kind,\n autoCompleteKinds,\n formDomProps\n )}\n />\n {question.isHidden && (\n <NeetoUICallout\n data-testid=\"hidden-question-callout\"\n icon={TriangleAlert}\n variant=\"warning\"\n >\n <Typography color=\"inherit\" variant=\"body2\">\n {t(\"neetoForm.callouts.hiddenQuestion\")}\n </Typography>\n </NeetoUICallout>\n )}\n {preview && question.isResponseVisibleOnlyToHost && (\n <NeetoUICallout\n data-testid=\"response-visible-only-to-host-callout\"\n icon={TriangleAlert}\n variant=\"warning\"\n >\n <Typography color=\"inherit\" variant=\"body2\">\n {t(\"neetoForm.callouts.responseVisibleOnlyToHost\")}\n </Typography>\n </NeetoUICallout>\n )}\n </div>\n );\n })}\n {showEmptyState && isEmpty(renderedQuestions) && (\n <div className=\"flex w-full grow items-center justify-center py-8\">\n <Empty\n className=\"min-h-80\"\n icon={ListTodo}\n title={t(\"neetoForm.questions.common.noData\")}\n />\n </div>\n )}\n {!isEmpty(renderedQuestions) && (\n <div className=\"neeto-form-nano-form-footer mt-8 flex items-center justify-between\">\n {cancelButtonProps && (\n <Button\n label={t(\"neetoForm.common.cancel\")}\n size={size === \"large\" ? \"lg\" : \"default\"}\n variant=\"outline\"\n {...cancelButtonProps}\n />\n )}\n <div className=\"flex gap-x-2\">\n {renderButtonsInOrder(\n [\n <Button\n disabled={isSubmitting || isSubmitted}\n key=\"submit\"\n label={t(\"neetoForm.common.submit\")}\n loading={isSubmitting}\n size={size === \"large\" ? \"lg\" : \"default\"}\n type=\"submit\"\n {...submitButtonProps}\n />,\n <Button\n key=\"reset\"\n label={t(\"neetoForm.common.reset\")}\n size={size === \"large\" ? \"lg\" : \"default\"}\n type=\"reset\"\n variant=\"outline\"\n {...resetButtonProps}\n />,\n ],\n isPresent(cancelButtonProps)\n )}\n </div>\n </div>\n )}\n </Form>\n {!customSubmitHandler && (\n <Callout\n callout={{\n isVisible: isPresent(error),\n title: t(\"neetoForm.callouts.submitError\"),\n message: error,\n }}\n onClose={() => setError(null)}\n />\n )}\n </FormikWrap>\n )}\n </Formik>\n </div>\n );\n};\n\nExternalForm.propTypes = {\n size: PropTypes.oneOf([\"small\", \"medium\", \"large\"]),\n preview: PropTypes.bool,\n formId: PropTypes.string,\n submissionId: PropTypes.string,\n onBeforeSubmit: PropTypes.func,\n onSubmitSuccess: PropTypes.func,\n showTitle: PropTypes.bool,\n submitButtonProps: PropTypes.object,\n cancelButtonProps: PropTypes.object,\n displayThankYou: PropTypes.bool,\n showEmptyState: PropTypes.bool,\n initialValues: PropTypes.object,\n className: PropTypes.string,\n enablePreFilling: PropTypes.bool,\n remainingSlotsCount: PropTypes.number,\n};\n\nexport default withI18nInstance(ExternalForm, clientI18nInstance);\n"],"names":["withI18nInstance","Component","i18n","I18nWrapper","props","_jsx","I18nextProvider","children","_objectSpread","displayName","concat","getComponentDisplayName","useIsMounted","isMounted","useRef","useEffect","current","Spinner","_ref","_ref$size","size","className","fill","height","viewBox","width","xmlns","d","stroke","strokeLinecap","strokeLinejoin","strokeWidth","memo","Button","label","_ref$loading","loading","_ref$success","success","_ref$className","otherProps","_objectWithoutProperties","_excluded","_jsxs","classNames","ButtonLoader","Success","Check","Callout","_ref$style","style","CALLOUT_STYLES","ERROR","_ref$position","position","CALLOUT_POSITIONS","ABSOLUTE","_ref$callout","callout","onClose","isVisible","title","message","primaryButton","secondaryButton","classnames","_defineProperty","INFO","STATIC","isPresent","onClick","X","not","isBlank","withT","t","Typography","variant","color","ExternalForm","_path","_formikInnerRef$curre","_ref$preview","preview","formId","submissionId","customSubmitHandler","onBeforeSubmit","onSubmitSuccess","_ref$showTitle","showTitle","formTitle","submitButtonProps","cancelButtonProps","resetButtonProps","_ref$displayThankYou","displayThankYou","_ref$showEmptyState","showEmptyState","_ref$preserveValues","preserveValues","_ref$clearValuesOnRes","clearValuesOnReset","_ref$clearValuesOnSub","clearValuesOnSubmit","_ref$initialValues","initialValues","onChange","formDomProps","_ref$editorProps","editorProps","customValidator","_ref$autoCompleteKind","autoCompleteKinds","_ref$enablePreFilling","enablePreFilling","_ref$language","language","i18next","resolvedLanguage","_ref$remainingSlotsCo","remainingSlotsCount","_useState","useState","_useState2","_slicedToArray","isSubmitted","setIsSubmitted","_useState3","_useState4","showSuccess","setShowSuccess","_useState5","getWithExpiry","_useState6","localValues","setLocalValues","_useState7","_useState8","error","setError","formRef","formikInnerRef","editorRef","captchaRef","queryClient","useQueryClient","_usePublicForm","usePublicForm","enabled","_usePublicForm$data","data","form","questions","isQuestionsLoading","isLoading","_form$questions","formUuid","path","equals","clientI18nInstance","changeLanguage","clearEmailVerificationDetails","_useTranslation","useTranslation","_useCreateSubmission","useCreateSubmission","createSubmission","mutateAsync","_useUpdateSubmission","useUpdateSubmission","updateSubmission","_useSubmission","useSubmission","placeholderData","responses","submission","clearLocalFormValues","clearLocalStorageValues","onSubmit","_ref3","_asyncToGenerator","_regeneratorRuntime","mark","_callee","values","_ref2","setSubmitting","newResponses","wrap","_callee$","_context","prev","next","generateFormResponse","Promise","resolve","setTimeout","sent","invalidateQueries","queryKey","QUERY_KEYS","SUBMISSION","neetoFormResponse","t0","parseServerError","finish","stop","_x","_x2","apply","arguments","onReset","e","handleReset","_editorRef$current","_captchaRef$current","_formDomProps$onReset","generateInitValues","setQueryData","editor","commands","setContent","reset","call","handleScrollToError","errors","errorKeys","Object","keys","isEmpty","_iterator","_createForOfIteratorHelper","_step","s","n","done","formElement","value","includes","name","scrollIntoView","behavior","block","err","f","_queryClient$getQuery","getQueryState","QUESTIONS","dataUpdateCount","keyPressRef","useHotkeys","handleSubmit","noop","mode","PageLoader","displayTitle","renderedQuestions","removeBy","isHidden","Formik","enableReinitialize","innerRef","fieldCodes","getQueryParams","toCamelCase","_ref4","isSubmitting","setFieldError","FormikWrap","onError","onValuesChange","Form","noValidate","ref","mergeRefs","event","target","map","question","index","_question$id","FieldComponent","getFieldComponent","isLastFewElements","length","LAST_ELEMENTS_THRESHOLD","kind","QUESTION_KIND","SPOT","autoComplete","buildAutoCompleteAttribute","NeetoUICallout","icon","TriangleAlert","isResponseVisibleOnlyToHost","id","nodeId","Empty","ListTodo","renderButtonsInOrder","disabled","type"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAMA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,SAAS,EAAEC,IAAI,EAAK;AAC5C,EAAA,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAGC,KAAK,EAAA;IAAA,oBACvBC,GAAA,CAACC,eAAe,EAAA;AAAOJ,MAAAA,IAAI,EAAJA,IAAI;MAAAK,QAAA,eACzBF,GAAA,CAACJ,SAAS,EAAAO,eAAA,CAAA,EAAA,EAAKJ,KAAK,CAAG;AAAC,KACT,CAAC;EAAA,CACnB;EAEDD,WAAW,CAACM,WAAW,GAAA,cAAA,CAAAC,MAAA,CAAkBC,uBAAuB,CAC9DV,SACF,CAAC,EAAA,GAAA,CAAG;AAEJ,EAAA,OAAOE,WAAW;AACpB,CAAC;;ACdD,IAAMS,YAAY,GAAG,SAAfA,YAAYA,GAAS;AACzB,EAAA,IAAMC,SAAS,GAAGC,MAAM,CAAC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,CAAC2C,OAAO,EAAA;AACNU,YAAAA,OAAO,EAAE;AACPE,cAAAA,SAAS,EAAES,SAAS,CAACsE,KAAK,CAAC;AAC3B9E,cAAAA,KAAK,EAAEc,CAAC,CAAC,gCAAgC,CAAC;AAC1Cb,cAAAA,OAAO,EAAE6E;aACT;YACFhF,OAAO,EAAE,SAATA,OAAOA,GAAA;cAAA,OAAQiF,QAAQ,CAAC,IAAI,CAAC;AAAA,YAAA;AAAC,WAC/B,CACF;AAAA,SACS,CAAC;AAAA,MAAA;AACd,KACK,CAAC;AAAA,GACN,CAAC;AAEV,CAAC;AAoBD,YAAe5I,gBAAgB,CAAC+E,YAAY,EAAEiF,kBAAkB,CAAC;;;;"}
|
package/dist/v2/UrlBuilder.js
CHANGED
|
@@ -10,7 +10,7 @@ import PageLoader from '@bigbinary/neeto-molecules/v2/PageLoader';
|
|
|
10
10
|
import { mergeLeft, map, filter, pluck, isEmpty } from 'ramda';
|
|
11
11
|
import { useTranslation } from 'react-i18next';
|
|
12
12
|
import { d as usePublicForm } from './useFormApi-B5a0zkAT.js';
|
|
13
|
-
import { F as FormikWrap, g as getFieldComponent, b as buildAutoCompleteAttribute, m as mergeRefs, a as generateInitValues } from './utils-
|
|
13
|
+
import { F as FormikWrap, g as getFieldComponent, b as buildAutoCompleteAttribute, m as mergeRefs, a as generateInitValues } from './utils-DpoXv3Qp.js';
|
|
14
14
|
import { parsePhoneNumber } from 'libphonenumber-js';
|
|
15
15
|
import { Q as QUESTION_KIND, a as QUESTIONS_WITHOUT_FIELD_CODE } from './yup-DItlKUzb.js';
|
|
16
16
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
package/dist/v2/index.js
CHANGED
|
@@ -49,7 +49,7 @@ import '@babel/runtime/regenerator';
|
|
|
49
49
|
import '@bigbinary/neeto-molecules/v2/HelpPopover';
|
|
50
50
|
import '@bigbinary/neeto-hotkeys';
|
|
51
51
|
import '@bigbinary/neeto-molecules/v2/PageLoader';
|
|
52
|
-
import './utils-
|
|
52
|
+
import './utils-DpoXv3Qp.js';
|
|
53
53
|
import 'libphonenumber-js';
|
|
54
54
|
import '@bigbinary/neeto-editor/v2/EditorContent';
|
|
55
55
|
import '@bigbinary/neeto-molecules/v2/PhoneNumber';
|
package/dist/v2/main.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
:root{--neeto-form-engine-primary-color:#2f3941;--neeto-form-engine-primary-color-dark:#000;--neeto-form-engine-secondary-color:#fff;--neeto-form-engine-question-color:0,0,0;--neeto-form-engine-answer-color:45,54,212;--neeto-form-engine-button-background-color:45,54,212;--neeto-form-engine-button-text-color:255,255,255;--neeto-form-engine-error-color:175,4,4;--neeto-form-engine-transition:all 0.1s ease-out;--neeto-form-engine-border-radius-sm:0.3125rem}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotate-and-scale{0%{transform:rotate(0deg) scale(0)}to{transform:rotate(-1turn) scale(1)}}@keyframes rotate-and-scale-clockwise{0%{transform:rotate(0deg) scale(0)}to{transform:rotate(1turn) scale(1)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.neeto-form-engine-loader{height:100%;width:100%}.neeto-form-engine-loader,.neeto-form-engine-spinner{align-items:center;display:flex;flex-direction:row;justify-content:center}.neeto-form-engine-spinner svg{animation:rotate 1s ease-in-out infinite}.neeto-form-engine-email-input{width:100%}.neeto-form-engine-email-input .neeto-form-engine-label{margin-bottom:.5rem}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row{gap:.5rem;justify-content:space-between;width:100%}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row .neeto-form-engine-label{flex-grow:1;overflow-wrap:break-word}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row .neeto-form-engine-email-input__counter{color:rgb(var(--neeto-form-engine-gray-700));line-height:1;margin-bottom:.5rem;margin-inline-start:auto}.neeto-form-engine-email-input .neeto-form-engine-email-input__prefix{margin-inline-start:.75rem}.neeto-form-engine-email-input .neeto-form-engine-email-input__prefix svg,.neeto-form-engine-email-input .neeto-form-engine-email-input__suffix svg{height:1rem;width:1rem}.neeto-molecules-file-upload__dropzone,.neeto-molecules-file-upload__uploaded-list{width:100%}.neeto-form-engine-address{display:flex;flex-wrap:wrap;margin-inline-end:-8px;margin-inline-start:-8px}.neeto-form-engine-address__field{padding:8px;width:100%}.neeto-form-engine-address__field--width-half{width:50%}.neeto-form-engine-address__field--width-one-forth{width:25%}.neeto-form-engine-address__field--width-three-forth{width:75%}.neeto-form-engine-add-question-between{visibility:hidden}.neeto-form-engine-add-question-between *{transition:none!important}.neeto-form-engine-question-accordion__drag-icon{display:none!important}.neeto-form-engine-question-accordion .neeto-form-engine-question-accordion__body,.neeto-form-engine-question-accordion .neeto-form-engine-question-accordion__header{border-radius:var(--radius-lg)}.neeto-form-engine-question-accordion:hover .neeto-form-engine-add-question-between{visibility:visible}.neeto-form-engine-question-accordion:hover .neeto-form-engine-question-accordion__drag-icon{display:block!important}.neeto-form-engine-question-accordion:hover .neeto-form-engine-question-accordion__icon{display:none!important}.neeto-form-engine-form h5{color:var(--foreground);font-size:.875rem;font-weight:600;line-height:1.5;margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-questions-wrapper{max-height:calc(100vh - 240px)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper:not(:last-child),.neeto-form-engine-form .neeto-form-engine-input__wrapper:not(:last-child),.neeto-form-engine-form .neeto-form-engine-rating:not(:last-child),.neeto-form-engine-form .neeto-form-engine-star-rating:not(:last-child){margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices{align-items:flex-start;display:flex;flex-direction:column;gap:.5rem;justify-content:flex-start;margin:.5rem 0 0}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice{align-items:center;background-color:var(--card);border:thin solid var(--border);border-radius:var(--radius);color:var(--foreground);cursor:pointer;display:flex;flex-direction:row;font-size:.875rem;gap:.75rem;justify-content:flex-start;line-height:1.5;padding:.625rem .75rem;transition:all .3s linear;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:100%}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice:hover{border-color:var(--input)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice.active{border-color:var(--ring)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]{border-radius:var(--radius-sm)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox],.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]{border:2px solid var(--border);height:1rem;width:1rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:not(:disabled),.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:not(:disabled){cursor:pointer}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:hover:not(:disabled,:checked),.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:hover:not(:disabled,:checked){border-color:var(--input)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:checked,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:checked{border:none!important}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:disabled,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:disabled{cursor:not-allowed;opacity:.5}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus-visible{outline:transparent}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus-visible{box-shadow:0 0 0 2px var(--background),0 0 0 4px var(--ring)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-weight:400}.neeto-form-engine-form .neeto-form-engine-star-rating>.neeto-form-engine-label{margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:1.5rem;justify-content:flex-start}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row input[type=radio]{display:none}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row .neeto-form-engine-star-rating__icon.neeto-form-engine-star-rating__icon--active{fill:var(--primary);stroke:var(--primary)}.neeto-form-engine-form .neeto-form-engine-rating>.neeto-form-engine-label{margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row{align-items:center;display:flex;flex-direction:row;gap:1.5rem;justify-content:flex-start}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row input[type=radio]{display:none}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item{align-items:center;color:var(--muted-foreground);cursor:pointer;display:flex;flex-direction:column;justify-content:center;padding:.5rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item svg{margin-bottom:.25rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item svg path{stroke:currentColor;transition:all .3s linear}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item .neeto-form-engine-label{color:inherit;transition:all .3s linear}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:hover{color:var(--success-foreground)}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:hover{color:var(--warning-foreground)}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:hover{color:var(--error-foreground)}.neeto-form-engine-terms .neeto-form-engine-choice{align-items:center;color:var(--foreground);display:flex;flex-direction:row;font-size:.875rem;gap:.75rem;justify-content:flex-start;line-height:1.5;padding:.5rem 0;transition:all .3s linear;width:100%}.neeto-form-engine-terms .neeto-form-engine-choice:hover{border-color:var(--input)}.neeto-form-engine-terms .neeto-form-engine-choice.active{border-color:var(--ring)}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]{border-radius:var(--radius-sm)}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox],.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]{align-self:flex-start;border:2px solid var(--border);height:1rem;margin-top:.125rem;width:1rem}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:not(:disabled),.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:not(:disabled){cursor:pointer}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:hover:not(:disabled,:checked),.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:hover:not(:disabled,:checked){border-color:var(--input)}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:checked,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:checked{border:none!important}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:disabled,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:disabled{cursor:not-allowed;opacity:.5}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus,.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus-visible{outline:transparent}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus-visible{box-shadow:0 0 0 2px var(--background),0 0 0 4px var(--ring)}body .neeto-form-engine-form .neeto-ui-react-select__container .neeto-ui-react-select__value-container{min-height:2.5rem}body .neeto-form-engine-form .neeto-form-engine-star-rating__row button{outline:none}body .neeto-form-engine-form .neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item{box-shadow:none;outline:none}body .neeto-form-engine-form .neeto-form-engine-form{display:flex;flex-direction:column;gap:.625rem}body .neeto-form-engine-form .neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice{background-color:var(--card);padding-bottom:.625rem;padding-top:.625rem}body .neeto-form-engine-form .neeto-ui-react-select__control.neeto-ui-react-select__control--is-focused{box-shadow:0 0 0 1px var(--primary) inset}body .neeto-form-engine-form .neeto-ui-react-select__container.neeto-ui-react-select__container--error .neeto-ui-react-select__control.neeto-ui-react-select__control--is-focused{box-shadow:0 0 0 1px var(--error-solid) inset}.neeto-form-nano-form__card--active{box-shadow:0 0 0 1px var(--primary) inset}@media (max-width:768px){.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-size:1rem}}button.neeto-form-engine-button{align-items:center;background-color:#2f3941;background-color:var(--neeto-form-engine-primary-color);border-radius:var(--radius-sm);color:#fff;color:var(--neeto-form-engine-secondary-color);display:flex;flex-direction:row;font-size:.875rem;font-weight:500;justify-content:center;letter-spacing:-.0094rem;line-height:1;padding:.5rem .75rem;position:relative;transition:all .3s linear}button.neeto-form-engine-button:active,button.neeto-form-engine-button:focus,button.neeto-form-engine-button:hover{background-color:#000;background-color:var(--neeto-form-engine-primary-color-dark)}.neeto-form-engine-button__loader,.neeto-form-engine-button__success{align-items:center;background:inherit;border-radius:inherit;cursor:default;display:flex;flex-direction:row;height:100%;inset-inline-start:0;justify-content:center;outline:none;position:absolute;top:0;width:100%}.neeto-form-engine-button__loader svg path,.neeto-form-engine-button__success svg path{stroke:currentColor}.neeto-form-engine-input__wrapper{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;justify-content:flex-start}.neeto-form-engine-input__wrapper .neeto-form-engine-input__label-wrapper{display:flex;justify-content:space-between;margin-bottom:.375rem;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-rich-text-input{width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input{align-items:center;background-color:var(--background);border:thin solid var(--input);border-radius:var(--radius);color:var(--foreground);display:flex;flex-direction:row;font-size:.875rem;justify-content:flex-start;line-height:1.6;overflow:hidden;transition:all .3s linear;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--textarea{padding:.5rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input input,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea{background-color:transparent;border:none;box-shadow:none;color:inherit;font-size:inherit;line-height:inherit;outline:none;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input input::-moz-placeholder,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea::-moz-placeholder{color:var(--muted-foreground)}.neeto-form-engine-input__wrapper .neeto-form-engine-input input::placeholder,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea::placeholder{color:var(--muted-foreground)}.neeto-form-engine-input__wrapper .neeto-form-engine-input input:focus,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea:focus{outline-color:transparent}.neeto-form-engine-input__wrapper .neeto-form-engine-input input{line-height:1.3;padding:.375rem .5rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea{max-height:14rem;overflow-y:auto;padding:0}.neeto-form-engine-input__wrapper .neeto-form-engine-input:focus-within:not(.neeto-form-engine-input--error){border-color:var(--ring);box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);box-shadow:var(--neeto-form-engine-shadow-overlay)}.neeto-form-engine-input__wrapper .neeto-form-engine-input:hover:not(.neeto-form-engine-input--error,.neeto-form-engine-input--disabled){border-color:var(--ring)}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error{border-color:var(--error-solid)}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error:focus-within{box-shadow:0 0 0 3px var(--error)}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error textarea{resize:none}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled{background-color:var(--muted);cursor:not-allowed}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled input,.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled textarea{cursor:not-allowed}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix{align-items:center;color:var(--muted-foreground);display:flex;flex-direction:row;font-size:.875rem;justify-content:flex-start}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix svg,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix svg{height:1rem;width:1rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix{margin-inline-start:.625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix{margin-inline-end:.625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__suffix{background-color:var(--muted);margin:0;padding:.5rem .625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__prefix{border-inline-end:thin solid var(--border)}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__suffix{border-inline-start:thin solid var(--border)}.neeto-form-engine-input__error{color:var(--error-foreground);font-size:.75rem;margin-top:.25rem}.neeto-form-engine-label{color:var(--foreground);font-size:.875rem;font-weight:500;letter-spacing:-.0094rem;line-height:1.5}@media (max-width:768px){.neeto-form-engine-input__wrapper .neeto-form-engine-input,.neeto-form-engine-input__wrapper .neeto-form-engine-input input,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea,.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix,.neeto-form-engine-input__wrapper .neeto-form-engine-rich-text-input{font-size:1rem}.neeto-ui-react-select__container,.neeto-ui-react-select__input,.neeto-ui-react-select__menu-portal,.neeto-ui-react-select__multi-value__label{font-size:1rem!important}}.neeto-form-engine-date-picker{display:flex;flex-direction:column;width:100%}.neeto-form-engine-dropdown{align-items:center;display:inline-flex;position:relative}.neeto-form-engine-dropdown button{margin:0}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu{background-color:var(--popover);border-radius:var(--radius);box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);box-shadow:var(--neeto-form-engine-shadow-overlay);color:var(--popover-foreground);inset-inline-end:0;margin:0;min-width:168px;opacity:0;padding:.25rem 0;pointer-events:none;position:absolute;top:100%;transition:all .3s linear}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li{list-style:none}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button{align-items:center;color:var(--foreground);cursor:pointer;display:flex;flex-direction:row;font-size:.75rem;gap:.5rem;justify-content:flex-start;line-height:1;padding:.5rem .625rem;transition:all .3s linear;white-space:nowrap;width:100%}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:active,.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:focus,.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:hover{background-color:var(--accent);color:var(--accent-foreground)}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button svg{height:.875rem;width:.875rem}.neeto-form-engine-dropdown:hover .neeto-form-engine-dropdown-menu,.neeto-form-engine-dropdown>button:focus+.neeto-form-engine-dropdown-menu{opacity:1;pointer-events:all}.neeto-form-engine-callout{align-items:center;animation:fade-in .3s both;background-color:var(--muted);border-radius:var(--radius-sm);bottom:2.5rem;color:var(--muted-foreground);display:flex;flex-direction:column;gap:.75rem;inset-inline-end:0;inset-inline-start:0;justify-content:flex-start;margin:auto;padding:.75rem;position:absolute;width:calc(100% - 48px)}.neeto-form-engine-callout.neeto-form-engine-callout--static{position:static}.neeto-form-engine-callout.neeto-form-engine-callout--error{background-color:var(--error);color:var(--error-foreground)}.neeto-form-engine-callout.neeto-form-engine-callout--info{background-color:var(--accent);color:var(--accent-foreground)}.neeto-form-engine-callout .neeto-form-engine-callout__close{color:var(--muted-foreground);inset-inline-end:.75rem;padding:0;position:absolute;top:.75rem;transition:all .3s linear}.neeto-form-engine-callout .neeto-form-engine-callout__close:active,.neeto-form-engine-callout .neeto-form-engine-callout__close:focus,.neeto-form-engine-callout .neeto-form-engine-callout__close:hover{color:var(--foreground)}.neeto-form-engine-callout .neeto-form-engine-callout__content{margin:auto;max-width:240px;width:100%}.neeto-form-engine-callout .neeto-form-engine-callout__content h5{color:var(--foreground);font-size:.875rem;font-weight:600;letter-spacing:-.0094rem;line-height:1rem;margin-bottom:.25rem;text-align:center}.neeto-form-engine-callout .neeto-form-engine-callout__content p{font-size:.75rem;line-height:1rem;text-align:center}.neeto-form-engine-callout button.neeto-form-engine-callout__button{align-items:center;background-color:var(--background);border-radius:var(--radius-sm);color:var(--foreground);display:flex;flex-direction:row;font-size:.875rem;font-weight:600;justify-content:center;letter-spacing:-.0094rem;line-height:1rem;padding:.375rem .5rem;transition:all .3s linear}.neeto-form-engine-callout button.neeto-form-engine-callout__button:active,.neeto-form-engine-callout button.neeto-form-engine-callout__button:focus,.neeto-form-engine-callout button.neeto-form-engine-callout__button:hover{background-color:var(--muted)}.loader{min-height:192px}.neeto-form-nano-external-form .neeto-form-engine-form{display:flex;flex-direction:column;gap:1rem}.neeto-form-nano-external-form--size-large{display:flex;flex-direction:column;margin:0 auto;max-width:46.5rem;padding-inline-end:1rem;padding-bottom:4rem;padding-top:1rem;padding-inline-start:1rem;width:100%}.neeto-form-nano-external-form--size-large .neeto-form-engine-input__label-wrapper{margin:.5rem 0 1rem}.neeto-form-nano-external-form--size-large .neeto-form-engine-label{font-size:1.3125rem;font-weight:400}.neeto-form-nano-external-form--size-large .neeto-form-nano-external-form-header .neeto-form-nano-external-form-title{font-size:2.25rem;font-weight:400;line-height:1.2;margin:.4em 0;text-align:start}.neeto-form-nano-external-form--size-large .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-size:1rem!important;position:relative;top:-.0625rem}.neeto-form-nano-external-form--size-large .neeto-form-engine-rating__item .neeto-form-engine-label,.neeto-form-nano-external-form--size-large .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row .neeto-form-engine-label{font-size:1rem}@media only screen and (min-width:768px){.neeto-form-nano-external-form--size-large .neeto-form-nano-external-form-header .neeto-form-nano-external-form-title{font-size:3rem}}.neeto-form-nano-sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.neeto-form-nano-math-captcha{align-items:center;border:2px dashed color-mix(in oklab,var(--primary) 50%,transparent);border-radius:.3125rem;color:var(--foreground);display:flex;font-size:.875rem;gap:.3125rem;padding:.5rem}.neeto-form-nano-math-captcha__button{align-items:center;background:var(--primary)!important;border:none;border-radius:.1875em;color:var(--primary-foreground);cursor:pointer;display:inline-flex;font-weight:400;gap:.25rem;line-height:1.2;min-height:2.25rem;padding:.3125em;text-decoration:none;transition:all .1s ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-form-nano-math-captcha__button:hover{opacity:.85}.neeto-form-nano-math-captcha__button:focus,.neeto-form-nano-math-captcha__button:focus-visible{outline:2px solid color-mix(in oklab,var(--primary) 20%,transparent);outline-offset:1px}.neeto-form-nano-math-captcha__equation{align-items:center;display:flex;gap:.3125rem;justify-content:center;min-width:4rem}.neeto-form-nano-math-captcha__input{border-color:var(--primary);width:6rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices.neeto-form-engine-choices--picture{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.neeto-form-engine-choice--picture.neeto-form-engine-choice--picture{align-items:start!important;display:flex;flex-direction:column!important}.neeto-form-engine-choice__image-wrapper{align-items:center;background-color:var(--muted);border-radius:.25rem;display:flex;justify-content:center;overflow:hidden;width:100%}.neeto-form-engine-choice__image-wrapper--loading{animation:pulse 1.5s ease-in-out infinite;background-color:var(--border)}.neeto-form-engine-choice__image{-webkit-user-drag:none;height:100%;-o-object-fit:contain;object-fit:contain;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:100%}.neeto-form-engine-choice__image--fit{-o-object-fit:cover;object-fit:cover}.neeto-form-engine-choice__image-placeholder{align-items:center;background-color:var(--border)!important;border-radius:.25rem;color:var(--muted-foreground);display:flex;justify-content:center;padding:4rem;width:100%}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.neeto-form-nano-opinion-scale__group{display:inline-block;max-width:100%;position:relative}.neeto-form-nano-opinion-scale__list{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;list-style:none;margin:0;padding:0;position:relative;width:100%}.neeto-form-nano-opinion-scale__item{color:var(--primary)}.neeto-form-nano-opinion-scale__item-label{border-radius:.3125rem;border-radius:var(--neeto-form-engine-border-radius-sm);cursor:pointer;display:block;height:3rem;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:3rem}.neeto-form-nano-opinion-scale__item-label:hover .neeto-form-nano-opinion-scale__item-highlight{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-opinion-scale__item-highlight{align-items:center;background-color:transparent;border-radius:.3125rem;border-radius:var(--neeto-form-engine-border-radius-sm);box-shadow:0 0 0 1px var(--border) inset;color:var(--primary);display:inline-flex;height:100%;inset-inline-start:0;justify-content:center;position:absolute;top:0;transition:all .1s ease-out;transition:var(--neeto-form-engine-transition);width:100%}.neeto-form-nano-opinion-scale__item-highlight:hover{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-opinion-scale__item-input:focus+.neeto-form-nano-opinion-scale__item-highlight{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-opinion-scale__item-input:checked+.neeto-form-nano-opinion-scale__item-highlight{background-color:var(--primary);border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset;color:var(--primary-foreground)!important}.neeto-form-nano-opinion-scale__item-input:checked+.neeto-form-nano-opinion-scale__item-highlight:hover{background-color:var(--primary)}.neeto-form-nano-opinion-scale__labels-wrap{align-items:center;display:flex;justify-content:space-between;margin:8px 0}.neeto-form-nano-opinion-scale__label{color:var(--foreground);font-size:.875rem;line-height:1.2}.neeto-form-nano-opinion-scale__label--start{visibility:hidden}@media (min-width:768px){.neeto-form-nano-opinion-scale__labels-wrap-mobile{display:none}.neeto-form-nano-opinion-scale__label--start{visibility:visible}}.neeto-form-nano-yes-no{display:inline-grid;gap:1rem;grid-template-columns:1fr 1fr;width:-moz-fit-content;width:fit-content}.neeto-form-nano-yes-no__item-label{align-items:center;box-shadow:0 0 0 1px var(--primary) inset;color:var(--primary);cursor:pointer;display:flex;flex-direction:column;gap:.5rem;justify-content:center;min-height:6rem;min-width:6rem;padding:.5rem;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-form-nano-yes-no__item-highlight,.neeto-form-nano-yes-no__item-label{border-radius:.3125rem;border-radius:var(--neeto-form-engine-border-radius-sm)}.neeto-form-nano-yes-no__item-highlight{background-color:transparent;height:100%;inset-inline-start:0;pointer-events:none;position:absolute;top:0;transition:all .1s ease-out;transition:var(--neeto-form-engine-transition);width:100%}.neeto-form-nano-yes-no__item-icon,.neeto-form-nano-yes-no__item-text{position:relative}.neeto-form-nano-yes-no__item-icon{height:3rem;width:3rem}.neeto-form-nano-yes-no__item-text{word-break:break-word}.neeto-form-nano-yes-no__item-input:focus-visible~.neeto-form-nano-yes-no__item-highlight,.neeto-form-nano-yes-no__item-label:hover .neeto-form-nano-yes-no__item-highlight{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-yes-no__item-input:checked~.neeto-form-nano-yes-no__item-highlight{background-color:var(--primary)}.neeto-form-nano-yes-no__item-input:checked~.neeto-form-nano-yes-no__item-icon,.neeto-form-nano-yes-no__item-input:checked~.neeto-form-nano-yes-no__item-text{color:var(--primary-foreground)}.neeto-form-nano-yes-no__item-input:disabled~.neeto-form-nano-yes-no__item-highlight{opacity:.6}:root{--neeto-form-engine-shadow-overlay:rgba(0,0,0,.2) 0px 3px 5px -1px,rgba(0,0,0,.14) 0px 6px 10px 0px,rgba(0,0,0,.12) 0px 1px 18px 0px}.dark{--neeto-form-engine-shadow-overlay:rgba(0,0,0,.5) 0px 3px 5px -1px,rgba(0,0,0,.4) 0px 6px 10px 0px,rgba(0,0,0,.36) 0px 1px 18px 0px}
|
|
1
|
+
:root{--neeto-form-engine-primary-color:#2f3941;--neeto-form-engine-primary-color-dark:#000;--neeto-form-engine-secondary-color:#fff;--neeto-form-engine-question-color:0,0,0;--neeto-form-engine-answer-color:45,54,212;--neeto-form-engine-button-background-color:45,54,212;--neeto-form-engine-button-text-color:255,255,255;--neeto-form-engine-error-color:175,4,4;--neeto-form-engine-transition:all 0.1s ease-out;--neeto-form-engine-border-radius-sm:0.3125rem}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotate-and-scale{0%{transform:rotate(0deg) scale(0)}to{transform:rotate(-1turn) scale(1)}}@keyframes rotate-and-scale-clockwise{0%{transform:rotate(0deg) scale(0)}to{transform:rotate(1turn) scale(1)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.neeto-form-engine-loader{height:100%;width:100%}.neeto-form-engine-loader,.neeto-form-engine-spinner{align-items:center;display:flex;flex-direction:row;justify-content:center}.neeto-form-engine-spinner svg{animation:rotate 1s ease-in-out infinite}.neeto-form-engine-email-input{width:100%}.neeto-form-engine-email-input .neeto-form-engine-label{margin-bottom:.5rem}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row{gap:.5rem;justify-content:space-between;width:100%}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row .neeto-form-engine-label{flex-grow:1;overflow-wrap:break-word}.neeto-form-engine-email-input .neeto-form-engine-email-input__title-row .neeto-form-engine-email-input__counter{color:rgb(var(--neeto-form-engine-gray-700));line-height:1;margin-bottom:.5rem;margin-inline-start:auto}.neeto-form-engine-email-input .neeto-form-engine-email-input__prefix{margin-inline-start:.75rem}.neeto-form-engine-email-input .neeto-form-engine-email-input__prefix svg,.neeto-form-engine-email-input .neeto-form-engine-email-input__suffix svg{height:1rem;width:1rem}.neeto-molecules-file-upload__dropzone,.neeto-molecules-file-upload__uploaded-list{width:100%}.neeto-form-engine-address{display:flex;flex-wrap:wrap;margin-inline-end:-8px;margin-inline-start:-8px}.neeto-form-engine-address__field{padding:8px;width:100%}.neeto-form-engine-address__field--width-half{width:50%}.neeto-form-engine-address__field--width-one-forth{width:25%}.neeto-form-engine-address__field--width-three-forth{width:75%}.neeto-form-engine-add-question-between{visibility:hidden}.neeto-form-engine-add-question-between *{transition:none!important}.neeto-form-engine-question-accordion__drag-icon{display:none!important}.neeto-form-engine-question-accordion .neeto-form-engine-question-accordion__body,.neeto-form-engine-question-accordion .neeto-form-engine-question-accordion__header{border-radius:var(--radius-lg)}.neeto-form-engine-question-accordion:hover .neeto-form-engine-add-question-between{visibility:visible}.neeto-form-engine-question-accordion:hover .neeto-form-engine-question-accordion__drag-icon{display:block!important}.neeto-form-engine-question-accordion:hover .neeto-form-engine-question-accordion__icon{display:none!important}.neeto-form-engine-form h5{color:var(--foreground);font-size:.875rem;font-weight:600;line-height:1.5;margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-questions-wrapper{max-height:calc(100vh - 240px)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper:not(:last-child),.neeto-form-engine-form .neeto-form-engine-input__wrapper:not(:last-child),.neeto-form-engine-form .neeto-form-engine-rating:not(:last-child),.neeto-form-engine-form .neeto-form-engine-star-rating:not(:last-child){margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices{align-items:flex-start;display:flex;flex-direction:column;gap:.5rem;justify-content:flex-start;margin:.5rem 0 0}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice{align-items:center;background-color:var(--card);border:thin solid var(--border);border-radius:var(--radius);color:var(--foreground);cursor:pointer;display:flex;flex-direction:row;font-size:.875rem;gap:.75rem;justify-content:flex-start;line-height:1.5;padding:.625rem .75rem;transition:all .3s linear;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:100%}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice:hover{border-color:var(--input)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice.active{border-color:var(--ring)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]{border-radius:var(--radius-sm)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox],.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]{border:2px solid var(--border);height:1rem;width:1rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:not(:disabled),.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:not(:disabled){cursor:pointer}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:hover:not(:disabled,:checked),.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:hover:not(:disabled,:checked){border-color:var(--input)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:checked,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:checked{border:none!important}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:disabled,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:disabled{cursor:not-allowed;opacity:.5}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus-visible{outline:transparent}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice input[type=radio]:focus-visible{box-shadow:0 0 0 2px var(--background),0 0 0 4px var(--ring)}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-weight:400}.neeto-form-engine-form .neeto-form-engine-star-rating>.neeto-form-engine-label{margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:1.5rem;justify-content:flex-start}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row input[type=radio]{display:none}.neeto-form-engine-form .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row .neeto-form-engine-star-rating__icon.neeto-form-engine-star-rating__icon--active{fill:var(--primary);stroke:var(--primary)}.neeto-form-engine-form .neeto-form-engine-rating>.neeto-form-engine-label{margin-bottom:1rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row{align-items:center;display:flex;flex-direction:row;gap:1.5rem;justify-content:flex-start}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row input[type=radio]{display:none}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item{align-items:center;color:var(--muted-foreground);cursor:pointer;display:flex;flex-direction:column;justify-content:center;padding:.5rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item svg{margin-bottom:.25rem}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item svg path{stroke:currentColor;transition:all .3s linear}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item .neeto-form-engine-label{color:inherit;transition:all .3s linear}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--happy:hover{color:var(--success-foreground)}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--confused:hover{color:var(--warning-foreground)}.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad.active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:active,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:focus,.neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item.neeto-form-engine-rating__item--sad:hover{color:var(--error-foreground)}.neeto-form-engine-terms .neeto-form-engine-choice{align-items:center;color:var(--foreground);display:flex;flex-direction:row;font-size:.875rem;gap:.75rem;justify-content:flex-start;line-height:1.5;padding:.5rem 0;transition:all .3s linear;width:100%}.neeto-form-engine-terms .neeto-form-engine-choice:hover{border-color:var(--input)}.neeto-form-engine-terms .neeto-form-engine-choice.active{border-color:var(--ring)}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]{border-radius:var(--radius-sm)}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox],.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]{align-self:flex-start;border:2px solid var(--border);height:1rem;margin-top:.125rem;width:1rem}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:not(:disabled),.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:not(:disabled){cursor:pointer}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:hover:not(:disabled,:checked),.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:hover:not(:disabled,:checked){border-color:var(--input)}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:checked,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:checked{border:none!important}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:disabled,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:disabled{cursor:not-allowed;opacity:.5}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus,.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus-visible{outline:transparent}.neeto-form-engine-terms .neeto-form-engine-choice input[type=checkbox]:focus-visible,.neeto-form-engine-terms .neeto-form-engine-choice input[type=radio]:focus-visible{box-shadow:0 0 0 2px var(--background),0 0 0 4px var(--ring)}body .neeto-form-engine-form .neeto-ui-react-select__container .neeto-ui-react-select__value-container{min-height:2.5rem}body .neeto-form-engine-form .neeto-form-engine-star-rating__row button{outline:none}body .neeto-form-engine-form .neeto-form-engine-form .neeto-form-engine-rating .neeto-form-engine-rating__row .neeto-form-engine-rating__item{box-shadow:none;outline:none}body .neeto-form-engine-form .neeto-form-engine-form{display:flex;flex-direction:column;gap:.625rem}body .neeto-form-engine-form .neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice{background-color:var(--card);padding-bottom:.625rem;padding-top:.625rem}body .neeto-form-engine-form .neeto-ui-react-select__control.neeto-ui-react-select__control--is-focused{box-shadow:0 0 0 1px var(--primary) inset}body .neeto-form-engine-form .neeto-ui-react-select__container.neeto-ui-react-select__container--error .neeto-ui-react-select__control.neeto-ui-react-select__control--is-focused{box-shadow:0 0 0 1px var(--error-solid) inset}.neeto-form-nano-form__card--active{box-shadow:0 0 0 1px var(--primary) inset}@media (max-width:768px){.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-size:1rem}}button.neeto-form-engine-button{align-items:center;background-color:#2f3941;background-color:var(--neeto-form-engine-primary-color);border-radius:var(--radius-sm);color:#fff;color:var(--neeto-form-engine-secondary-color);display:flex;flex-direction:row;font-size:.875rem;font-weight:500;justify-content:center;letter-spacing:-.0094rem;line-height:1;padding:.5rem .75rem;position:relative;transition:all .3s linear}button.neeto-form-engine-button:active,button.neeto-form-engine-button:focus,button.neeto-form-engine-button:hover{background-color:#000;background-color:var(--neeto-form-engine-primary-color-dark)}.neeto-form-engine-button__loader,.neeto-form-engine-button__success{align-items:center;background:inherit;border-radius:inherit;cursor:default;display:flex;flex-direction:row;height:100%;inset-inline-start:0;justify-content:center;outline:none;position:absolute;top:0;width:100%}.neeto-form-engine-button__loader svg path,.neeto-form-engine-button__success svg path{stroke:currentColor}.neeto-form-engine-input__wrapper{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;justify-content:flex-start}.neeto-form-engine-input__wrapper .neeto-form-engine-input__label-wrapper{display:flex;justify-content:space-between;margin-bottom:.375rem;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-rich-text-input{width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input{align-items:center;background-color:var(--background);border:thin solid var(--input);border-radius:var(--radius);color:var(--foreground);display:flex;flex-direction:row;font-size:.875rem;justify-content:flex-start;line-height:1.6;overflow:hidden;transition:all .3s linear;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--textarea{padding:.5rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input input,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea{background-color:transparent;border:none;box-shadow:none;color:inherit;font-size:inherit;line-height:inherit;outline:none;width:100%}.neeto-form-engine-input__wrapper .neeto-form-engine-input input::-moz-placeholder,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea::-moz-placeholder{color:var(--muted-foreground)}.neeto-form-engine-input__wrapper .neeto-form-engine-input input::placeholder,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea::placeholder{color:var(--muted-foreground)}.neeto-form-engine-input__wrapper .neeto-form-engine-input input:focus,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea:focus{outline-color:transparent}.neeto-form-engine-input__wrapper .neeto-form-engine-input input{line-height:1.3;padding:.375rem .5rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea{max-height:14rem;overflow-y:auto;padding:0}.neeto-form-engine-input__wrapper .neeto-form-engine-input:focus-within:not(.neeto-form-engine-input--error){border-color:var(--ring);box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);box-shadow:var(--neeto-form-engine-shadow-overlay)}.neeto-form-engine-input__wrapper .neeto-form-engine-input:hover:not(.neeto-form-engine-input--error,.neeto-form-engine-input--disabled){border-color:var(--ring)}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error{border-color:var(--error-solid)}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error:focus-within{box-shadow:0 0 0 3px var(--error)}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--error textarea{resize:none}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled{background-color:var(--muted);cursor:not-allowed}.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled input,.neeto-form-engine-input__wrapper .neeto-form-engine-input.neeto-form-engine-input--disabled textarea{cursor:not-allowed}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix{align-items:center;color:var(--muted-foreground);display:flex;flex-direction:row;font-size:.875rem;justify-content:flex-start}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix svg,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix svg{height:1rem;width:1rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix{margin-inline-start:.625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix{margin-inline-end:.625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__suffix{background-color:var(--muted);margin:0;padding:.5rem .625rem}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__prefix{border-inline-end:thin solid var(--border)}.neeto-form-engine-input__wrapper .neeto-form-engine-input--block-add-on .neeto-form-engine-input__suffix{border-inline-start:thin solid var(--border)}.neeto-form-engine-input__error{color:var(--error-foreground);font-size:.75rem;margin-top:.25rem}.neeto-form-engine-label{color:var(--foreground);font-size:.875rem;font-weight:500;letter-spacing:-.0094rem;line-height:1.5}@media (max-width:768px){.neeto-form-engine-input__wrapper .neeto-form-engine-input,.neeto-form-engine-input__wrapper .neeto-form-engine-input input,.neeto-form-engine-input__wrapper .neeto-form-engine-input textarea,.neeto-form-engine-input__wrapper .neeto-form-engine-input__prefix,.neeto-form-engine-input__wrapper .neeto-form-engine-input__suffix,.neeto-form-engine-input__wrapper .neeto-form-engine-rich-text-input{font-size:1rem}.neeto-ui-react-select__container,.neeto-ui-react-select__input,.neeto-ui-react-select__menu-portal,.neeto-ui-react-select__multi-value__label{font-size:1rem!important}}.neeto-form-engine-date-picker{display:flex;flex-direction:column;width:100%}.neeto-form-engine-dropdown{align-items:center;display:inline-flex;position:relative}.neeto-form-engine-dropdown button{margin:0}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu{background-color:var(--popover);border-radius:var(--radius);box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);box-shadow:var(--neeto-form-engine-shadow-overlay);color:var(--popover-foreground);inset-inline-end:0;margin:0;min-width:168px;opacity:0;padding:.25rem 0;pointer-events:none;position:absolute;top:100%;transition:all .3s linear}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li{list-style:none}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button{align-items:center;color:var(--foreground);cursor:pointer;display:flex;flex-direction:row;font-size:.75rem;gap:.5rem;justify-content:flex-start;line-height:1;padding:.5rem .625rem;transition:all .3s linear;white-space:nowrap;width:100%}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:active,.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:focus,.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button:hover{background-color:var(--accent);color:var(--accent-foreground)}.neeto-form-engine-dropdown .neeto-form-engine-dropdown-menu li button svg{height:.875rem;width:.875rem}.neeto-form-engine-dropdown:hover .neeto-form-engine-dropdown-menu,.neeto-form-engine-dropdown>button:focus+.neeto-form-engine-dropdown-menu{opacity:1;pointer-events:all}.neeto-form-engine-callout{align-items:center;animation:fade-in .3s both;background-color:var(--muted);border-radius:var(--radius-sm);bottom:2.5rem;color:var(--muted-foreground);display:flex;flex-direction:column;gap:.75rem;inset-inline-end:0;inset-inline-start:0;justify-content:flex-start;margin:auto;padding:.75rem;position:absolute;width:calc(100% - 48px)}.neeto-form-engine-callout.neeto-form-engine-callout--static{position:static}.neeto-form-engine-callout.neeto-form-engine-callout--error{background-color:var(--error);color:var(--error-foreground)}.neeto-form-engine-callout.neeto-form-engine-callout--info{background-color:var(--accent);color:var(--accent-foreground)}.neeto-form-engine-callout .neeto-form-engine-callout__close{color:var(--muted-foreground);inset-inline-end:.75rem;padding:0;position:absolute;top:.75rem;transition:all .3s linear}.neeto-form-engine-callout .neeto-form-engine-callout__close:active,.neeto-form-engine-callout .neeto-form-engine-callout__close:focus,.neeto-form-engine-callout .neeto-form-engine-callout__close:hover{color:var(--foreground)}.neeto-form-engine-callout .neeto-form-engine-callout__content{margin:auto;max-width:240px;width:100%}.neeto-form-engine-callout .neeto-form-engine-callout__content h5{color:var(--foreground);font-size:.875rem;font-weight:600;letter-spacing:-.0094rem;line-height:1rem;margin-bottom:.25rem;text-align:center}.neeto-form-engine-callout .neeto-form-engine-callout__content p{font-size:.75rem;line-height:1rem;text-align:center}.neeto-form-engine-callout button.neeto-form-engine-callout__button{align-items:center;background-color:var(--background);border-radius:var(--radius-sm);color:var(--foreground);display:flex;flex-direction:row;font-size:.875rem;font-weight:600;justify-content:center;letter-spacing:-.0094rem;line-height:1rem;padding:.375rem .5rem;transition:all .3s linear}.neeto-form-engine-callout button.neeto-form-engine-callout__button:active,.neeto-form-engine-callout button.neeto-form-engine-callout__button:focus,.neeto-form-engine-callout button.neeto-form-engine-callout__button:hover{background-color:var(--muted)}.loader{min-height:192px}.neeto-form-nano-external-form .neeto-form-engine-form{display:flex;flex-direction:column;gap:1rem}.neeto-form-nano-external-form--size-large{display:flex;flex-direction:column;margin:0 auto;max-width:46.5rem;padding-inline-end:1rem;padding-bottom:4rem;padding-top:1rem;padding-inline-start:1rem;width:100%}.neeto-form-nano-external-form--size-large .neeto-form-engine-input__label-wrapper{margin:.5rem 0 1rem}.neeto-form-nano-external-form--size-large .neeto-form-engine-label,.neeto-form-nano-external-form--size-large [data-slot=field-label]{font-size:1.3125rem;font-weight:400}.neeto-form-nano-external-form--size-large .neeto-form-nano-external-form-header .neeto-form-nano-external-form-title{font-size:2.25rem;font-weight:400;line-height:1.2;margin:.4em 0;text-align:start}.neeto-form-nano-external-form--size-large .neeto-form-engine-choices__wrapper .neeto-form-engine-choices .neeto-form-engine-choice label{font-size:1rem!important;position:relative;top:-.0625rem}.neeto-form-nano-external-form--size-large .neeto-form-engine-rating__item .neeto-form-engine-label,.neeto-form-nano-external-form--size-large .neeto-form-engine-star-rating .neeto-form-engine-star-rating__row .neeto-form-engine-label{font-size:1rem}@media only screen and (min-width:768px){.neeto-form-nano-external-form--size-large .neeto-form-nano-external-form-header .neeto-form-nano-external-form-title{font-size:3rem}}.neeto-form-nano-sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.neeto-form-nano-math-captcha{align-items:center;border:2px dashed color-mix(in oklab,var(--primary) 50%,transparent);border-radius:.3125rem;color:var(--foreground);display:flex;font-size:.875rem;gap:.3125rem;padding:.5rem}.neeto-form-nano-math-captcha__button{align-items:center;background:var(--primary)!important;border:none;border-radius:.1875em;color:var(--primary-foreground);cursor:pointer;display:inline-flex;font-weight:400;gap:.25rem;line-height:1.2;min-height:2.25rem;padding:.3125em;text-decoration:none;transition:all .1s ease-out;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-form-nano-math-captcha__button:hover{opacity:.85}.neeto-form-nano-math-captcha__button:focus,.neeto-form-nano-math-captcha__button:focus-visible{outline:2px solid color-mix(in oklab,var(--primary) 20%,transparent);outline-offset:1px}.neeto-form-nano-math-captcha__equation{align-items:center;display:flex;gap:.3125rem;justify-content:center;min-width:4rem}.neeto-form-nano-math-captcha__input{border-color:var(--primary);width:6rem}.neeto-form-engine-form .neeto-form-engine-choices__wrapper .neeto-form-engine-choices.neeto-form-engine-choices--picture{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.neeto-form-engine-choice--picture.neeto-form-engine-choice--picture{align-items:start!important;display:flex;flex-direction:column!important}.neeto-form-engine-choice__image-wrapper{align-items:center;background-color:var(--muted);border-radius:.25rem;display:flex;justify-content:center;overflow:hidden;width:100%}.neeto-form-engine-choice__image-wrapper--loading{animation:pulse 1.5s ease-in-out infinite;background-color:var(--border)}.neeto-form-engine-choice__image{-webkit-user-drag:none;height:100%;-o-object-fit:contain;object-fit:contain;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:100%}.neeto-form-engine-choice__image--fit{-o-object-fit:cover;object-fit:cover}.neeto-form-engine-choice__image-placeholder{align-items:center;background-color:var(--border)!important;border-radius:.25rem;color:var(--muted-foreground);display:flex;justify-content:center;padding:4rem;width:100%}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.neeto-form-nano-opinion-scale__group{display:inline-block;max-width:100%;position:relative}.neeto-form-nano-opinion-scale__list{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;list-style:none;margin:0;padding:0;position:relative;width:100%}.neeto-form-nano-opinion-scale__item{color:var(--primary)}.neeto-form-nano-opinion-scale__item-label{border-radius:.3125rem;border-radius:var(--neeto-form-engine-border-radius-sm);cursor:pointer;display:block;height:3rem;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:3rem}.neeto-form-nano-opinion-scale__item-label:hover .neeto-form-nano-opinion-scale__item-highlight{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-opinion-scale__item-highlight{align-items:center;background-color:transparent;border-radius:.3125rem;border-radius:var(--neeto-form-engine-border-radius-sm);box-shadow:0 0 0 1px var(--border) inset;color:var(--primary);display:inline-flex;height:100%;inset-inline-start:0;justify-content:center;position:absolute;top:0;transition:all .1s ease-out;transition:var(--neeto-form-engine-transition);width:100%}.neeto-form-nano-opinion-scale__item-highlight:hover{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-opinion-scale__item-input:focus+.neeto-form-nano-opinion-scale__item-highlight{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-opinion-scale__item-input:checked+.neeto-form-nano-opinion-scale__item-highlight{background-color:var(--primary);border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset;color:var(--primary-foreground)!important}.neeto-form-nano-opinion-scale__item-input:checked+.neeto-form-nano-opinion-scale__item-highlight:hover{background-color:var(--primary)}.neeto-form-nano-opinion-scale__labels-wrap{align-items:center;display:flex;justify-content:space-between;margin:8px 0}.neeto-form-nano-opinion-scale__label{color:var(--foreground);font-size:.875rem;line-height:1.2}.neeto-form-nano-opinion-scale__label--start{visibility:hidden}@media (min-width:768px){.neeto-form-nano-opinion-scale__labels-wrap-mobile{display:none}.neeto-form-nano-opinion-scale__label--start{visibility:visible}}.neeto-form-nano-yes-no{display:inline-grid;gap:1rem;grid-template-columns:1fr 1fr;width:-moz-fit-content;width:fit-content}.neeto-form-nano-yes-no__item-label{align-items:center;box-shadow:0 0 0 1px var(--primary) inset;color:var(--primary);cursor:pointer;display:flex;flex-direction:column;gap:.5rem;justify-content:center;min-height:6rem;min-width:6rem;padding:.5rem;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.neeto-form-nano-yes-no__item-highlight,.neeto-form-nano-yes-no__item-label{border-radius:.3125rem;border-radius:var(--neeto-form-engine-border-radius-sm)}.neeto-form-nano-yes-no__item-highlight{background-color:transparent;height:100%;inset-inline-start:0;pointer-events:none;position:absolute;top:0;transition:all .1s ease-out;transition:var(--neeto-form-engine-transition);width:100%}.neeto-form-nano-yes-no__item-icon,.neeto-form-nano-yes-no__item-text{position:relative}.neeto-form-nano-yes-no__item-icon{height:3rem;width:3rem}.neeto-form-nano-yes-no__item-text{word-break:break-word}.neeto-form-nano-yes-no__item-input:focus-visible~.neeto-form-nano-yes-no__item-highlight,.neeto-form-nano-yes-no__item-label:hover .neeto-form-nano-yes-no__item-highlight{background-color:color-mix(in oklab,var(--primary) 10%,transparent)}.neeto-form-nano-yes-no__item-input:checked~.neeto-form-nano-yes-no__item-highlight{background-color:var(--primary)}.neeto-form-nano-yes-no__item-input:checked~.neeto-form-nano-yes-no__item-icon,.neeto-form-nano-yes-no__item-input:checked~.neeto-form-nano-yes-no__item-text{color:var(--primary-foreground)}.neeto-form-nano-yes-no__item-input:disabled~.neeto-form-nano-yes-no__item-highlight{opacity:.6}:root{--neeto-form-engine-shadow-overlay:rgba(0,0,0,.2) 0px 3px 5px -1px,rgba(0,0,0,.14) 0px 6px 10px 0px,rgba(0,0,0,.12) 0px 1px 18px 0px}.dark{--neeto-form-engine-shadow-overlay:rgba(0,0,0,.5) 0px 3px 5px -1px,rgba(0,0,0,.4) 0px 6px 10px 0px,rgba(0,0,0,.36) 0px 1px 18px 0px}
|
|
2
2
|
/*# sourceMappingURL=main.css.map */
|