@bigbinary/neeto-form-frontend 4.4.59 → 4.4.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.ready +1 -1
- package/dist/BuildForm.js +5 -5
- package/dist/ExternalForm.js +6 -6
- package/dist/Submission.js +2 -2
- package/dist/UrlBuilder.js +6 -6
- package/dist/{buildForm-BB_dcXDi.js → buildForm-Nb_rCdfy.js} +2 -2
- package/dist/{buildForm-BB_dcXDi.js.map → buildForm-Nb_rCdfy.js.map} +1 -1
- package/dist/cjs/BuildForm.js +5 -5
- package/dist/cjs/ExternalForm.js +6 -6
- package/dist/cjs/Submission.js +2 -2
- package/dist/cjs/UrlBuilder.js +6 -6
- package/dist/cjs/{buildForm-CioN98io.js → buildForm-xIwQXuvP.js} +2 -2
- package/dist/cjs/{buildForm-CioN98io.js.map → buildForm-xIwQXuvP.js.map} +1 -1
- package/dist/cjs/hooks.js +3 -3
- package/dist/cjs/{index-GEt7Ofup.js → index-DrN28_gt.js} +2 -2
- package/dist/cjs/{index-GEt7Ofup.js.map → index-DrN28_gt.js.map} +1 -1
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/{utils-BpyTbv4T.js → utils-BHn1TXSC.js} +6 -6
- package/dist/cjs/{utils-BpyTbv4T.js.map → utils-BHn1TXSC.js.map} +1 -1
- package/dist/cjs/v2/BuildForm.js +6 -6
- package/dist/cjs/v2/ExternalForm.js +7 -7
- package/dist/cjs/v2/Submission.js +2 -2
- package/dist/cjs/v2/UrlBuilder.js +5 -5
- package/dist/cjs/v2/{buildForm-bsda0SF2.js → buildForm-B3VEE0iY.js} +2 -2
- package/dist/cjs/v2/{buildForm-bsda0SF2.js.map → buildForm-B3VEE0iY.js.map} +1 -1
- package/dist/cjs/v2/hooks.js +3 -3
- package/dist/cjs/v2/{index-C1-XsBQ0.js → index-NFq_E15P.js} +2 -2
- package/dist/cjs/v2/{index-C1-XsBQ0.js.map → index-NFq_E15P.js.map} +1 -1
- package/dist/cjs/v2/index.js +8 -8
- package/dist/cjs/v2/{utils-BEmzx_CT.js → utils-C63zUZvf.js} +5 -5
- package/dist/cjs/v2/{utils-BEmzx_CT.js.map → utils-C63zUZvf.js.map} +1 -1
- package/dist/cjs/v2/{yup-BJdUP8f6.js → yup-D2FUYjqU.js} +2 -2
- package/dist/cjs/v2/{yup-BJdUP8f6.js.map → yup-D2FUYjqU.js.map} +1 -1
- package/dist/cjs/{yup-C1tUTQs0.js → yup-DD46Fc7X.js} +2 -2
- package/dist/cjs/{yup-C1tUTQs0.js.map → yup-DD46Fc7X.js.map} +1 -1
- package/dist/hooks.js +3 -3
- package/dist/{index-COGLnVTU.js → index-DRTYabIo.js} +2 -2
- package/dist/{index-COGLnVTU.js.map → index-DRTYabIo.js.map} +1 -1
- package/dist/index.js +7 -7
- package/dist/{utils-DwvyMha8.js → utils-DQC5qi6q.js} +6 -6
- package/dist/{utils-DwvyMha8.js.map → utils-DQC5qi6q.js.map} +1 -1
- package/dist/v2/BuildForm.js +6 -6
- package/dist/v2/ExternalForm.js +7 -7
- package/dist/v2/Submission.js +2 -2
- package/dist/v2/UrlBuilder.js +5 -5
- package/dist/v2/{buildForm-CpdYPz4r.js → buildForm-BMN86qUJ.js} +2 -2
- package/dist/v2/{buildForm-CpdYPz4r.js.map → buildForm-BMN86qUJ.js.map} +1 -1
- package/dist/v2/hooks.js +3 -3
- package/dist/v2/{index-CUrkh_zd.js → index-DsDXFqPW.js} +2 -2
- package/dist/v2/{index-CUrkh_zd.js.map → index-DsDXFqPW.js.map} +1 -1
- package/dist/v2/index.js +8 -8
- package/dist/v2/{utils-Dng9m1z9.js → utils-CSIZJTGG.js} +5 -5
- package/dist/v2/{utils-Dng9m1z9.js.map → utils-CSIZJTGG.js.map} +1 -1
- package/dist/v2/{yup-hYIKNz1B.js → yup-BRPSFuNj.js} +2 -2
- package/dist/v2/{yup-hYIKNz1B.js.map → yup-BRPSFuNj.js.map} +1 -1
- package/dist/{yup-TxS0SXvr.js → yup-Ccwwlg6e.js} +2 -2
- package/dist/{yup-TxS0SXvr.js.map → yup-Ccwwlg6e.js.map} +1 -1
- package/package.json +5 -5
- package/types.d.ts +1 -1
package/dist/.ready
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Built at 2026-10-
|
|
1
|
+
Built at 2026-10-08T11:44:36.608Z
|
package/dist/BuildForm.js
CHANGED
|
@@ -4,13 +4,13 @@ import { isPresent, truncate, findBy, isNotPresent, slugify, existsBy, noop, fin
|
|
|
4
4
|
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
5
5
|
import { equals, path, when, assoc, includes, isEmpty, reject, keys, pick, omit, evolve, map, mergeLeft, isNil, pipe, filter, isNotNil, values, uniq, join, pathSatisfies, assocPath, dissoc, pluck, append, test, paths, difference, prop, startsWith, split, last, union, either, F, T } from 'ramda';
|
|
6
6
|
import { m as useDeleteQuestion, Q as QUESTION_TYPES, b as useForm, n as useCreateQuestion, o as useUpdateQuestion, C as CAPTCHA_TYPES, D as DATE_INPUT_MODES, p as useReorderQuestions, i as QUERY_KEYS } from './constants-CA-b_gMT.js';
|
|
7
|
-
import { m as QUESTION_ACTIONS, n as INDEPENDENT_LABELS_MAP, o as buildDisplayLabel, p as isElementOverflowing, q as SELECTABLE_KINDS, r as isAutoGeneratedQuestion, s as isRichTextQuestion, t as isLayoutQuestion, u as SPOT_QUESTION_FIELD_CODE, N as NON_BASIC_LATIN_CHARACTERS_REGEX, v as RESERVED_FIELD_CODES, w as renameKey, f as LABEL_FIELDS, x as isDefaultLanguage, y as buildAddQuestionButtonProps, z as validateEditorContent, H as HEADING_IMAGE_UPLOAD_CONFIG, B as HEADING_IMAGE_WIDTH, F as FIELD_CODES_REJECT_CHARS_REGEX, M as MIN_WORDS_SWITCH_LABEL_PROPS, G as MIN_WORDS, J as isImmutableField, a as QUESTIONS_WITHOUT_FIELD_CODE, K as NON_HIDEABLE_FIELDS, O as NON_READ_ONLY_FIELDS, T as OPINION_LABEL_MAX_LENGTH, U as RICH_TEXT_QUESTIONS, e as ADDRESS_FIELD_WIDTHS, A as ADDRESS_FIELD_TYPES, V as generateDefaultOptions, W as MINIMUM_ADDRESS_FIELDS, X as getDeletedRecords, Z as randomId, _ as getActiveRecords, $ as FILE_TYPES_MAP, a0 as FILE_GROUPS, a1 as OPINION_SCALE_MIN_VALUE_OPTIONS, a2 as OPINION_SCALE_MAX_VALUE_OPTIONS, h as DEFAULT_CHOICE_QUESTION_ATTRIBUTES, a3 as MINIMUM_OPTIONS, a4 as IMAGE_HEIGHT_SLIDER_DEFAULTS, a5 as RATING_OPTIONS, a6 as STAR_RATING_MIN_VALUE_OPTIONS, a7 as STAR_RATING_MAX_VALUE_OPTIONS, a8 as STAR_RATING_ICONS_MAP, a9 as YES_NO_ICONS_MAP, aa as buildDisabledAddButtonHelpPopoverProps, ab as buildReorderPayload, ac as QUESTIONS_INITIAL_VALUE, ad as isMandatoryField, ae as QUESTION_KINDS, Q as QUESTION_KIND, af as getActiveQuestionKindDetails, ag as DEFAULT_AVAILABLE_LANGUAGES, ah as DEFAULT_ADVANCED_FEATURES } from './yup-
|
|
7
|
+
import { m as QUESTION_ACTIONS, n as INDEPENDENT_LABELS_MAP, o as buildDisplayLabel, p as isElementOverflowing, q as SELECTABLE_KINDS, r as isAutoGeneratedQuestion, s as isRichTextQuestion, t as isLayoutQuestion, u as SPOT_QUESTION_FIELD_CODE, N as NON_BASIC_LATIN_CHARACTERS_REGEX, v as RESERVED_FIELD_CODES, w as renameKey, f as LABEL_FIELDS, x as isDefaultLanguage, y as buildAddQuestionButtonProps, z as validateEditorContent, H as HEADING_IMAGE_UPLOAD_CONFIG, B as HEADING_IMAGE_WIDTH, F as FIELD_CODES_REJECT_CHARS_REGEX, M as MIN_WORDS_SWITCH_LABEL_PROPS, G as MIN_WORDS, J as isImmutableField, a as QUESTIONS_WITHOUT_FIELD_CODE, K as NON_HIDEABLE_FIELDS, O as NON_READ_ONLY_FIELDS, T as OPINION_LABEL_MAX_LENGTH, U as RICH_TEXT_QUESTIONS, e as ADDRESS_FIELD_WIDTHS, A as ADDRESS_FIELD_TYPES, V as generateDefaultOptions, W as MINIMUM_ADDRESS_FIELDS, X as getDeletedRecords, Z as randomId, _ as getActiveRecords, $ as FILE_TYPES_MAP, a0 as FILE_GROUPS, a1 as OPINION_SCALE_MIN_VALUE_OPTIONS, a2 as OPINION_SCALE_MAX_VALUE_OPTIONS, h as DEFAULT_CHOICE_QUESTION_ATTRIBUTES, a3 as MINIMUM_OPTIONS, a4 as IMAGE_HEIGHT_SLIDER_DEFAULTS, a5 as RATING_OPTIONS, a6 as STAR_RATING_MIN_VALUE_OPTIONS, a7 as STAR_RATING_MAX_VALUE_OPTIONS, a8 as STAR_RATING_ICONS_MAP, a9 as YES_NO_ICONS_MAP, aa as buildDisabledAddButtonHelpPopoverProps, ab as buildReorderPayload, ac as QUESTIONS_INITIAL_VALUE, ad as isMandatoryField, ae as QUESTION_KINDS, Q as QUESTION_KIND, af as getActiveQuestionKindDetails, ag as DEFAULT_AVAILABLE_LANGUAGES, ah as DEFAULT_ADVANCED_FEATURES } from './yup-Ccwwlg6e.js';
|
|
8
8
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
9
9
|
import { useState, useRef, useEffect, createElement } from 'react';
|
|
10
10
|
import { Droppable, Draggable, DragDropContext } from '@hello-pangea/dnd';
|
|
11
11
|
import { withT, isMetaKeyPressed, useStateWithDependency, useFuncDebounce, useOnClickOutside } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
12
12
|
import { showThumbsUpToastr, withEventTargetValue, hyphenize } from '@bigbinary/neeto-commons-frontend/utils';
|
|
13
|
-
import { a as useBuildFormStore } from './buildForm-
|
|
13
|
+
import { a as useBuildFormStore } from './buildForm-Nb_rCdfy.js';
|
|
14
14
|
import { shallow } from 'zustand/shallow';
|
|
15
15
|
import Alert from '@bigbinary/neetoui/Alert';
|
|
16
16
|
import { useTranslation, Trans } from 'react-i18next';
|
|
@@ -23,7 +23,7 @@ import Tooltip from '@bigbinary/neetoui/Tooltip';
|
|
|
23
23
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
24
24
|
import Equals from '@bigbinary/neeto-icons/Equals';
|
|
25
25
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
26
|
-
import { i as isFunction, f as fieldWithFallback, c as isNameQuestion } from './index-
|
|
26
|
+
import { i as isFunction, f as fieldWithFallback, c as isNameQuestion } from './index-DRTYabIo.js';
|
|
27
27
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
28
28
|
import { t } from 'i18next';
|
|
29
29
|
import { v4 } from 'uuid';
|
|
@@ -40,10 +40,10 @@ import Textarea$1 from '@bigbinary/neetoui/formik/Textarea';
|
|
|
40
40
|
import ImageUploader from '@bigbinary/neeto-image-uploader-frontend/ImageUploader';
|
|
41
41
|
import Label from '@bigbinary/neetoui/Label';
|
|
42
42
|
import Slider from '@bigbinary/neetoui/Slider';
|
|
43
|
-
import NeetoEditor from '@bigbinary/neeto-editor/Editor';
|
|
43
|
+
import NeetoEditor from '@bigbinary/neeto-editor-frontend/Editor';
|
|
44
44
|
import Input from '@bigbinary/neetoui/formik/Input';
|
|
45
45
|
import Switch$1 from '@bigbinary/neetoui/Switch';
|
|
46
|
-
import { isEditorEmpty } from '@bigbinary/neeto-editor/utils';
|
|
46
|
+
import { isEditorEmpty } from '@bigbinary/neeto-editor-frontend/utils';
|
|
47
47
|
import * as yup from 'yup';
|
|
48
48
|
import OptionFields from '@bigbinary/neeto-molecules/OptionFields';
|
|
49
49
|
import { AnimatePresence, motion } from 'framer-motion';
|
package/dist/ExternalForm.js
CHANGED
|
@@ -21,18 +21,18 @@ import { not, path, equals, isEmpty } from 'ramda';
|
|
|
21
21
|
import { I18nextProvider, useTranslation } from 'react-i18next';
|
|
22
22
|
import { d as usePublicForm, g as useCreateSubmission, h as useUpdateSubmission, f as useSubmission, i as QUERY_KEYS } from './constants-CA-b_gMT.js';
|
|
23
23
|
import Close from '@bigbinary/neeto-icons/Close';
|
|
24
|
-
import { a as isBlank, g as getComponentDisplayName, p as parseServerError } from './index-
|
|
24
|
+
import { a as isBlank, g as getComponentDisplayName, p as parseServerError } from './index-DRTYabIo.js';
|
|
25
25
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
26
26
|
import Check from '@bigbinary/neeto-icons/Check';
|
|
27
27
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
28
|
-
import { C as CALLOUT_POSITIONS, b as CALLOUT_STYLES, L as LAST_ELEMENTS_THRESHOLD, Q as QUESTION_KIND } from './yup-
|
|
29
|
-
import { d as clientI18nInstance, e as getWithExpiry, f as clearEmailVerificationDetails, F as FormikWrap, g as getFieldComponent, a as buildAutoCompleteAttribute, r as renderButtonsInOrder, m as mergeRefs, c as generateInitValues, h as generateFormResponse, i as clearLocalStorageValues } from './utils-
|
|
28
|
+
import { C as CALLOUT_POSITIONS, b as CALLOUT_STYLES, L as LAST_ELEMENTS_THRESHOLD, Q as QUESTION_KIND } from './yup-Ccwwlg6e.js';
|
|
29
|
+
import { d as clientI18nInstance, e as getWithExpiry, f as clearEmailVerificationDetails, F as FormikWrap, g as getFieldComponent, a as buildAutoCompleteAttribute, r as renderButtonsInOrder, m as mergeRefs, c as generateInitValues, h as generateFormResponse, i as clearLocalStorageValues } from './utils-DQC5qi6q.js';
|
|
30
30
|
import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
31
31
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
32
32
|
import '@bigbinary/neeto-commons-frontend/constants';
|
|
33
33
|
import 'axios';
|
|
34
34
|
import '@babel/runtime/helpers/typeof';
|
|
35
|
-
import '@bigbinary/neeto-editor/utils';
|
|
35
|
+
import '@bigbinary/neeto-editor-frontend/utils';
|
|
36
36
|
import '@bigbinary/neeto-icons/Address';
|
|
37
37
|
import '@bigbinary/neeto-icons/Calendar';
|
|
38
38
|
import '@bigbinary/neeto-icons/Captcha';
|
|
@@ -62,7 +62,7 @@ import 'dompurify';
|
|
|
62
62
|
import '@bigbinary/neeto-icons/Plus';
|
|
63
63
|
import 'yup';
|
|
64
64
|
import 'libphonenumber-js';
|
|
65
|
-
import '@bigbinary/neeto-editor/EditorContent';
|
|
65
|
+
import '@bigbinary/neeto-editor-frontend/EditorContent';
|
|
66
66
|
import '@bigbinary/neetoui/MultiEmailInput';
|
|
67
67
|
import '@bigbinary/neeto-molecules/PhoneNumber';
|
|
68
68
|
import './date-D1QLSrIi.js';
|
|
@@ -81,7 +81,7 @@ import '@bigbinary/neetoui/Label';
|
|
|
81
81
|
import '@bigbinary/neetoui/Checkbox';
|
|
82
82
|
import '@bigbinary/neetoui/Radio';
|
|
83
83
|
import '@bigbinary/neeto-icons/Image';
|
|
84
|
-
import '@bigbinary/neeto-editor/Editor';
|
|
84
|
+
import '@bigbinary/neeto-editor-frontend/Editor';
|
|
85
85
|
import '@bigbinary/neeto-icons/Info';
|
|
86
86
|
import '@bigbinary/neetoui/Textarea';
|
|
87
87
|
import '@bigbinary/neetoui/Tag';
|
package/dist/Submission.js
CHANGED
|
@@ -7,8 +7,8 @@ import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
|
|
|
7
7
|
import Typography from '@bigbinary/neetoui/Typography';
|
|
8
8
|
import { Q as QUESTION_TYPES, f as useSubmission } from './constants-CA-b_gMT.js';
|
|
9
9
|
import { t } from 'i18next';
|
|
10
|
-
import EditorContent from '@bigbinary/neeto-editor/EditorContent';
|
|
11
|
-
import { isEditorEmpty } from '@bigbinary/neeto-editor/utils';
|
|
10
|
+
import EditorContent from '@bigbinary/neeto-editor-frontend/EditorContent';
|
|
11
|
+
import { isEditorEmpty } from '@bigbinary/neeto-editor-frontend/utils';
|
|
12
12
|
import CopyToClipboardButton from '@bigbinary/neeto-molecules/CopyToClipboardButton';
|
|
13
13
|
import { PhoneNumber } from '@bigbinary/neeto-molecules/PhoneNumber';
|
|
14
14
|
import { isEmpty } from 'ramda';
|
package/dist/UrlBuilder.js
CHANGED
|
@@ -10,17 +10,17 @@ import Button from '@bigbinary/neetoui/Button';
|
|
|
10
10
|
import NoData from '@bigbinary/neetoui/NoData';
|
|
11
11
|
import { mergeLeft, map, filter, pluck, isEmpty } from 'ramda';
|
|
12
12
|
import { useTranslation } from 'react-i18next';
|
|
13
|
-
import { b as buildDateQueryParameters, F as FormikWrap, g as getFieldComponent, a as buildAutoCompleteAttribute, m as mergeRefs, c as generateInitValues } from './utils-
|
|
13
|
+
import { b as buildDateQueryParameters, F as FormikWrap, g as getFieldComponent, a as buildAutoCompleteAttribute, m as mergeRefs, c as generateInitValues } from './utils-DQC5qi6q.js';
|
|
14
14
|
import { d as usePublicForm } from './constants-CA-b_gMT.js';
|
|
15
15
|
import { parsePhoneNumber } from 'libphonenumber-js';
|
|
16
|
-
import { Q as QUESTION_KIND, a as QUESTIONS_WITHOUT_FIELD_CODE } from './yup-
|
|
16
|
+
import { Q as QUESTION_KIND, a as QUESTIONS_WITHOUT_FIELD_CODE } from './yup-Ccwwlg6e.js';
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-DRTYabIo.js';
|
|
19
19
|
import '@babel/runtime/helpers/typeof';
|
|
20
20
|
import 'i18next';
|
|
21
|
-
import '@bigbinary/neeto-editor/utils';
|
|
21
|
+
import '@bigbinary/neeto-editor-frontend/utils';
|
|
22
22
|
import '@bigbinary/neeto-commons-frontend/utils';
|
|
23
|
-
import '@bigbinary/neeto-editor/EditorContent';
|
|
23
|
+
import '@bigbinary/neeto-editor-frontend/EditorContent';
|
|
24
24
|
import '@babel/runtime/helpers/slicedToArray';
|
|
25
25
|
import '@bigbinary/neeto-icons/Plus';
|
|
26
26
|
import '@bigbinary/neetoui/MultiEmailInput';
|
|
@@ -51,7 +51,7 @@ import '@bigbinary/neetoui/Label';
|
|
|
51
51
|
import '@bigbinary/neetoui/Checkbox';
|
|
52
52
|
import '@bigbinary/neetoui/Radio';
|
|
53
53
|
import '@bigbinary/neeto-icons/Image';
|
|
54
|
-
import '@bigbinary/neeto-editor/Editor';
|
|
54
|
+
import '@bigbinary/neeto-editor-frontend/Editor';
|
|
55
55
|
import '@bigbinary/neeto-icons/Info';
|
|
56
56
|
import '@bigbinary/neetoui/Textarea';
|
|
57
57
|
import '@bigbinary/neetoui/Tag';
|
|
@@ -3,7 +3,7 @@ import { noop } from '@bigbinary/neeto-cist';
|
|
|
3
3
|
import { withImmutableActions } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
4
4
|
import { modify, mergeLeft, prop } from 'ramda';
|
|
5
5
|
import { create } from 'zustand';
|
|
6
|
-
import { i as isFunction } from './index-
|
|
6
|
+
import { i as isFunction } from './index-DRTYabIo.js';
|
|
7
7
|
|
|
8
8
|
/** @type {import("neetocommons/react-utils").ZustandStoreHook} */
|
|
9
9
|
var useBuildFormStore = create(withImmutableActions(function (set) {
|
|
@@ -32,4 +32,4 @@ var useBuildFormState = function useBuildFormState() {
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
export { useBuildFormStore as a, useBuildFormState as u };
|
|
35
|
-
//# sourceMappingURL=buildForm-
|
|
35
|
+
//# sourceMappingURL=buildForm-Nb_rCdfy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildForm-
|
|
1
|
+
{"version":3,"file":"buildForm-Nb_rCdfy.js","sources":["../app/javascript/src/stores/buildForm.js"],"sourcesContent":["import i18next from \"i18next\";\nimport { noop } from \"neetocist\";\nimport { withImmutableActions } from \"neetocommons/react-utils\";\nimport { mergeLeft, modify, prop } from \"ramda\";\nimport { create } from \"zustand\";\n\nimport { isFunction } from \"utils\";\n\n/** @type {import(\"neetocommons/react-utils\").ZustandStoreHook} */\nconst useBuildFormStore = create(\n withImmutableActions(set => ({\n formState: {\n selectedLanguage: i18next.resolvedLanguage,\n onLanguageChange: noop,\n formId: null,\n enabled: false,\n title: \"\",\n helpDocUrls: {},\n isUsingDefaultQuestionKinds: true,\n usesCustomSubmissionComponent: false,\n hostSpecificData: {},\n isReorderingQuestions: false,\n onMutateSuccess: noop,\n isPictureChoiceEnabled: false,\n },\n\n setFormData: arg =>\n set(modify(\"formState\", isFunction(arg) ? arg : mergeLeft(arg))),\n }))\n);\n\nexport const useBuildFormState = () => useBuildFormStore(prop(\"formState\"));\n\nexport default useBuildFormStore;\n"],"names":["useBuildFormStore","create","withImmutableActions","set","formState","selectedLanguage","i18next","resolvedLanguage","onLanguageChange","noop","formId","enabled","title","helpDocUrls","isUsingDefaultQuestionKinds","usesCustomSubmissionComponent","hostSpecificData","isReorderingQuestions","onMutateSuccess","isPictureChoiceEnabled","setFormData","arg","modify","isFunction","mergeLeft","useBuildFormState","prop"],"mappings":";;;;;;;AAQA;AACA,IAAMA,iBAAiB,GAAGC,MAAM,CAC9BC,oBAAoB,CAAC,UAAAC,GAAG,EAAA;EAAA,OAAK;AAC3BC,IAAAA,SAAS,EAAE;MACTC,gBAAgB,EAAEC,OAAO,CAACC,gBAAgB;AAC1CC,MAAAA,gBAAgB,EAAEC,IAAI;AACtBC,MAAAA,MAAM,EAAE,IAAI;AACZC,MAAAA,OAAO,EAAE,KAAK;AACdC,MAAAA,KAAK,EAAE,EAAE;MACTC,WAAW,EAAE,EAAE;AACfC,MAAAA,2BAA2B,EAAE,IAAI;AACjCC,MAAAA,6BAA6B,EAAE,KAAK;MACpCC,gBAAgB,EAAE,EAAE;AACpBC,MAAAA,qBAAqB,EAAE,KAAK;AAC5BC,MAAAA,eAAe,EAAET,IAAI;AACrBU,MAAAA,sBAAsB,EAAE;KACzB;AAEDC,IAAAA,WAAW,EAAE,SAAbA,WAAWA,CAAEC,GAAG,EAAA;AAAA,MAAA,OACdlB,GAAG,CAACmB,MAAM,CAAC,WAAW,EAAEC,UAAU,CAACF,GAAG,CAAC,GAAGA,GAAG,GAAGG,SAAS,CAACH,GAAG,CAAC,CAAC,CAAC;AAAA,IAAA;GACnE;AAAA,CAAC,CACJ;AAEO,IAAMI,iBAAiB,GAAG,SAApBA,iBAAiBA,GAAA;AAAA,EAAA,OAASzB,iBAAiB,CAAC0B,IAAI,CAAC,WAAW,CAAC,CAAC;AAAA;;;;"}
|
package/dist/cjs/BuildForm.js
CHANGED
|
@@ -6,13 +6,13 @@ var neetoCist = require('@bigbinary/neeto-cist');
|
|
|
6
6
|
var Spinner = require('@bigbinary/neetoui/Spinner');
|
|
7
7
|
var ramda = require('ramda');
|
|
8
8
|
var constants = require('./constants-B53NE3ql.js');
|
|
9
|
-
var yup = require('./yup-
|
|
9
|
+
var yup = require('./yup-DD46Fc7X.js');
|
|
10
10
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
11
11
|
var React = require('react');
|
|
12
12
|
var dnd = require('@hello-pangea/dnd');
|
|
13
13
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
14
14
|
var utils = require('@bigbinary/neeto-commons-frontend/utils');
|
|
15
|
-
var buildForm = require('./buildForm-
|
|
15
|
+
var buildForm = require('./buildForm-xIwQXuvP.js');
|
|
16
16
|
var shallow = require('zustand/shallow');
|
|
17
17
|
var Alert = require('@bigbinary/neetoui/Alert');
|
|
18
18
|
var reactI18next = require('react-i18next');
|
|
@@ -25,7 +25,7 @@ var Tooltip = require('@bigbinary/neetoui/Tooltip');
|
|
|
25
25
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
26
26
|
var Equals = require('@bigbinary/neeto-icons/Equals');
|
|
27
27
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
28
|
-
var index = require('./index-
|
|
28
|
+
var index = require('./index-DrN28_gt.js');
|
|
29
29
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
30
30
|
var i18next = require('i18next');
|
|
31
31
|
var uuid = require('uuid');
|
|
@@ -42,10 +42,10 @@ var Textarea$1 = require('@bigbinary/neetoui/formik/Textarea');
|
|
|
42
42
|
var ImageUploader = require('@bigbinary/neeto-image-uploader-frontend/ImageUploader');
|
|
43
43
|
var Label = require('@bigbinary/neetoui/Label');
|
|
44
44
|
var Slider = require('@bigbinary/neetoui/Slider');
|
|
45
|
-
var NeetoEditor = require('@bigbinary/neeto-editor/Editor');
|
|
45
|
+
var NeetoEditor = require('@bigbinary/neeto-editor-frontend/Editor');
|
|
46
46
|
var Input = require('@bigbinary/neetoui/formik/Input');
|
|
47
47
|
var Switch$1 = require('@bigbinary/neetoui/Switch');
|
|
48
|
-
var utils$1 = require('@bigbinary/neeto-editor/utils');
|
|
48
|
+
var utils$1 = require('@bigbinary/neeto-editor-frontend/utils');
|
|
49
49
|
var yup$1 = require('yup');
|
|
50
50
|
var OptionFields = require('@bigbinary/neeto-molecules/OptionFields');
|
|
51
51
|
var framerMotion = require('framer-motion');
|
package/dist/cjs/ExternalForm.js
CHANGED
|
@@ -23,18 +23,18 @@ var ramda = require('ramda');
|
|
|
23
23
|
var reactI18next = require('react-i18next');
|
|
24
24
|
var constants = require('./constants-B53NE3ql.js');
|
|
25
25
|
var Close = require('@bigbinary/neeto-icons/Close');
|
|
26
|
-
var index$1 = require('./index-
|
|
26
|
+
var index$1 = require('./index-DrN28_gt.js');
|
|
27
27
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
28
28
|
var Check = require('@bigbinary/neeto-icons/Check');
|
|
29
29
|
var jsxRuntime = require('react/jsx-runtime');
|
|
30
|
-
var yup = require('./yup-
|
|
31
|
-
var utils = require('./utils-
|
|
30
|
+
var yup = require('./yup-DD46Fc7X.js');
|
|
31
|
+
var utils = require('./utils-BHn1TXSC.js');
|
|
32
32
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
33
33
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
34
34
|
require('@bigbinary/neeto-commons-frontend/constants');
|
|
35
35
|
require('axios');
|
|
36
36
|
require('@babel/runtime/helpers/typeof');
|
|
37
|
-
require('@bigbinary/neeto-editor/utils');
|
|
37
|
+
require('@bigbinary/neeto-editor-frontend/utils');
|
|
38
38
|
require('@bigbinary/neeto-icons/Address');
|
|
39
39
|
require('@bigbinary/neeto-icons/Calendar');
|
|
40
40
|
require('@bigbinary/neeto-icons/Captcha');
|
|
@@ -64,7 +64,7 @@ require('dompurify');
|
|
|
64
64
|
require('@bigbinary/neeto-icons/Plus');
|
|
65
65
|
require('yup');
|
|
66
66
|
require('libphonenumber-js');
|
|
67
|
-
require('@bigbinary/neeto-editor/EditorContent');
|
|
67
|
+
require('@bigbinary/neeto-editor-frontend/EditorContent');
|
|
68
68
|
require('@bigbinary/neetoui/MultiEmailInput');
|
|
69
69
|
require('@bigbinary/neeto-molecules/PhoneNumber');
|
|
70
70
|
require('./date-MW59oHM9.js');
|
|
@@ -83,7 +83,7 @@ require('@bigbinary/neetoui/Label');
|
|
|
83
83
|
require('@bigbinary/neetoui/Checkbox');
|
|
84
84
|
require('@bigbinary/neetoui/Radio');
|
|
85
85
|
require('@bigbinary/neeto-icons/Image');
|
|
86
|
-
require('@bigbinary/neeto-editor/Editor');
|
|
86
|
+
require('@bigbinary/neeto-editor-frontend/Editor');
|
|
87
87
|
require('@bigbinary/neeto-icons/Info');
|
|
88
88
|
require('@bigbinary/neetoui/Textarea');
|
|
89
89
|
require('@bigbinary/neetoui/Tag');
|
package/dist/cjs/Submission.js
CHANGED
|
@@ -9,8 +9,8 @@ var PageLoader = require('@bigbinary/neeto-molecules/PageLoader');
|
|
|
9
9
|
var Typography = require('@bigbinary/neetoui/Typography');
|
|
10
10
|
var constants = require('./constants-B53NE3ql.js');
|
|
11
11
|
var i18next = require('i18next');
|
|
12
|
-
var EditorContent = require('@bigbinary/neeto-editor/EditorContent');
|
|
13
|
-
var utils = require('@bigbinary/neeto-editor/utils');
|
|
12
|
+
var EditorContent = require('@bigbinary/neeto-editor-frontend/EditorContent');
|
|
13
|
+
var utils = require('@bigbinary/neeto-editor-frontend/utils');
|
|
14
14
|
var CopyToClipboardButton = require('@bigbinary/neeto-molecules/CopyToClipboardButton');
|
|
15
15
|
var PhoneNumber = require('@bigbinary/neeto-molecules/PhoneNumber');
|
|
16
16
|
var ramda = require('ramda');
|
package/dist/cjs/UrlBuilder.js
CHANGED
|
@@ -12,17 +12,17 @@ var Button = require('@bigbinary/neetoui/Button');
|
|
|
12
12
|
var NoData = require('@bigbinary/neetoui/NoData');
|
|
13
13
|
var ramda = require('ramda');
|
|
14
14
|
var reactI18next = require('react-i18next');
|
|
15
|
-
var utils = require('./utils-
|
|
15
|
+
var utils = require('./utils-BHn1TXSC.js');
|
|
16
16
|
var constants = require('./constants-B53NE3ql.js');
|
|
17
17
|
var libphonenumberJs = require('libphonenumber-js');
|
|
18
|
-
var yup = require('./yup-
|
|
18
|
+
var yup = require('./yup-DD46Fc7X.js');
|
|
19
19
|
var jsxRuntime = require('react/jsx-runtime');
|
|
20
|
-
require('./index-
|
|
20
|
+
require('./index-DrN28_gt.js');
|
|
21
21
|
require('@babel/runtime/helpers/typeof');
|
|
22
22
|
require('i18next');
|
|
23
|
-
require('@bigbinary/neeto-editor/utils');
|
|
23
|
+
require('@bigbinary/neeto-editor-frontend/utils');
|
|
24
24
|
require('@bigbinary/neeto-commons-frontend/utils');
|
|
25
|
-
require('@bigbinary/neeto-editor/EditorContent');
|
|
25
|
+
require('@bigbinary/neeto-editor-frontend/EditorContent');
|
|
26
26
|
require('@babel/runtime/helpers/slicedToArray');
|
|
27
27
|
require('@bigbinary/neeto-icons/Plus');
|
|
28
28
|
require('@bigbinary/neetoui/MultiEmailInput');
|
|
@@ -53,7 +53,7 @@ require('@bigbinary/neetoui/Label');
|
|
|
53
53
|
require('@bigbinary/neetoui/Checkbox');
|
|
54
54
|
require('@bigbinary/neetoui/Radio');
|
|
55
55
|
require('@bigbinary/neeto-icons/Image');
|
|
56
|
-
require('@bigbinary/neeto-editor/Editor');
|
|
56
|
+
require('@bigbinary/neeto-editor-frontend/Editor');
|
|
57
57
|
require('@bigbinary/neeto-icons/Info');
|
|
58
58
|
require('@bigbinary/neetoui/Textarea');
|
|
59
59
|
require('@bigbinary/neetoui/Tag');
|
|
@@ -5,7 +5,7 @@ var neetoCist = require('@bigbinary/neeto-cist');
|
|
|
5
5
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
6
6
|
var ramda = require('ramda');
|
|
7
7
|
var zustand = require('zustand');
|
|
8
|
-
var index = require('./index-
|
|
8
|
+
var index = require('./index-DrN28_gt.js');
|
|
9
9
|
|
|
10
10
|
/** @type {import("neetocommons/react-utils").ZustandStoreHook} */
|
|
11
11
|
var useBuildFormStore = zustand.create(reactUtils.withImmutableActions(function (set) {
|
|
@@ -35,4 +35,4 @@ var useBuildFormState = function useBuildFormState() {
|
|
|
35
35
|
|
|
36
36
|
exports.useBuildFormState = useBuildFormState;
|
|
37
37
|
exports.useBuildFormStore = useBuildFormStore;
|
|
38
|
-
//# sourceMappingURL=buildForm-
|
|
38
|
+
//# sourceMappingURL=buildForm-xIwQXuvP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildForm-
|
|
1
|
+
{"version":3,"file":"buildForm-xIwQXuvP.js","sources":["../../app/javascript/src/stores/buildForm.js"],"sourcesContent":["import i18next from \"i18next\";\nimport { noop } from \"neetocist\";\nimport { withImmutableActions } from \"neetocommons/react-utils\";\nimport { mergeLeft, modify, prop } from \"ramda\";\nimport { create } from \"zustand\";\n\nimport { isFunction } from \"utils\";\n\n/** @type {import(\"neetocommons/react-utils\").ZustandStoreHook} */\nconst useBuildFormStore = create(\n withImmutableActions(set => ({\n formState: {\n selectedLanguage: i18next.resolvedLanguage,\n onLanguageChange: noop,\n formId: null,\n enabled: false,\n title: \"\",\n helpDocUrls: {},\n isUsingDefaultQuestionKinds: true,\n usesCustomSubmissionComponent: false,\n hostSpecificData: {},\n isReorderingQuestions: false,\n onMutateSuccess: noop,\n isPictureChoiceEnabled: false,\n },\n\n setFormData: arg =>\n set(modify(\"formState\", isFunction(arg) ? arg : mergeLeft(arg))),\n }))\n);\n\nexport const useBuildFormState = () => useBuildFormStore(prop(\"formState\"));\n\nexport default useBuildFormStore;\n"],"names":["useBuildFormStore","create","withImmutableActions","set","formState","selectedLanguage","i18next","resolvedLanguage","onLanguageChange","noop","formId","enabled","title","helpDocUrls","isUsingDefaultQuestionKinds","usesCustomSubmissionComponent","hostSpecificData","isReorderingQuestions","onMutateSuccess","isPictureChoiceEnabled","setFormData","arg","modify","isFunction","mergeLeft","useBuildFormState","prop"],"mappings":";;;;;;;;;AAQA;AACA,IAAMA,iBAAiB,GAAGC,cAAM,CAC9BC,+BAAoB,CAAC,UAAAC,GAAG,EAAA;EAAA,OAAK;AAC3BC,IAAAA,SAAS,EAAE;MACTC,gBAAgB,EAAEC,OAAO,CAACC,gBAAgB;AAC1CC,MAAAA,gBAAgB,EAAEC,cAAI;AACtBC,MAAAA,MAAM,EAAE,IAAI;AACZC,MAAAA,OAAO,EAAE,KAAK;AACdC,MAAAA,KAAK,EAAE,EAAE;MACTC,WAAW,EAAE,EAAE;AACfC,MAAAA,2BAA2B,EAAE,IAAI;AACjCC,MAAAA,6BAA6B,EAAE,KAAK;MACpCC,gBAAgB,EAAE,EAAE;AACpBC,MAAAA,qBAAqB,EAAE,KAAK;AAC5BC,MAAAA,eAAe,EAAET,cAAI;AACrBU,MAAAA,sBAAsB,EAAE;KACzB;AAEDC,IAAAA,WAAW,EAAE,SAAbA,WAAWA,CAAEC,GAAG,EAAA;AAAA,MAAA,OACdlB,GAAG,CAACmB,YAAM,CAAC,WAAW,EAAEC,gBAAU,CAACF,GAAG,CAAC,GAAGA,GAAG,GAAGG,eAAS,CAACH,GAAG,CAAC,CAAC,CAAC;AAAA,IAAA;GACnE;AAAA,CAAC,CACJ;AAEO,IAAMI,iBAAiB,GAAG,SAApBA,iBAAiBA,GAAA;AAAA,EAAA,OAASzB,iBAAiB,CAAC0B,UAAI,CAAC,WAAW,CAAC,CAAC;AAAA;;;;;"}
|
package/dist/cjs/hooks.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var constants = require('./constants-B53NE3ql.js');
|
|
4
4
|
var useFormSubmission = require('./useFormSubmission-BPdtoVVy.js');
|
|
5
|
-
var buildForm = require('./buildForm-
|
|
5
|
+
var buildForm = require('./buildForm-xIwQXuvP.js');
|
|
6
6
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
7
7
|
require('@babel/runtime/helpers/defineProperty');
|
|
8
8
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
@@ -16,9 +16,9 @@ require('axios');
|
|
|
16
16
|
require('@bigbinary/neeto-commons-frontend/utils');
|
|
17
17
|
require('@babel/runtime/helpers/slicedToArray');
|
|
18
18
|
require('zustand');
|
|
19
|
-
require('./index-
|
|
19
|
+
require('./index-DrN28_gt.js');
|
|
20
20
|
require('@babel/runtime/helpers/typeof');
|
|
21
|
-
require('@bigbinary/neeto-editor/utils');
|
|
21
|
+
require('@bigbinary/neeto-editor-frontend/utils');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('@babel/runtime/helpers/typeof');
|
|
4
4
|
var i18next = require('i18next');
|
|
5
|
-
var utils = require('@bigbinary/neeto-editor/utils');
|
|
5
|
+
var utils = require('@bigbinary/neeto-editor-frontend/utils');
|
|
6
6
|
var ramda = require('ramda');
|
|
7
7
|
var constants = require('./constants-B53NE3ql.js');
|
|
8
8
|
|
|
@@ -48,4 +48,4 @@ exports.isEmptyValues = isEmptyValues;
|
|
|
48
48
|
exports.isFunction = isFunction;
|
|
49
49
|
exports.isNameQuestion = isNameQuestion;
|
|
50
50
|
exports.parseServerError = parseServerError;
|
|
51
|
-
//# sourceMappingURL=index-
|
|
51
|
+
//# sourceMappingURL=index-DrN28_gt.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-DrN28_gt.js","sources":["../../app/javascript/src/utils/index.js"],"sourcesContent":["import { t } from \"i18next\";\nimport { isEditorEmpty } from \"neetoeditor\";\nimport {\n compose,\n isEmpty,\n trim,\n isNil,\n equals,\n values,\n either,\n useWith,\n path,\n split,\n isNotNil,\n} from \"ramda\";\n\nimport { QUESTION_TYPES } from \"components/constants\";\n\nexport const isBlank = compose(isEmpty, trim);\n\nexport const parseServerError = error =>\n error.notice ?? t(\"neetoForm.common.somethingWentWrong\");\n\nexport const isPlainObject = obj =>\n typeof obj === \"object\" && !Array.isArray(obj) && obj !== null;\n\nexport const isStringOrNumber = obj =>\n typeof obj === \"string\" || typeof obj === \"number\";\n\nexport const isEmptyValues = obj =>\n either(isNil, isEmpty)(obj)\n ? true\n : values(obj).every(value => {\n if (isEmpty(value)) {\n return true;\n } else if (Array.isArray(value)) {\n return equals([false, false, false], value);\n }\n\n return !value;\n });\n\n// eslint-disable-next-line react-hooks/rules-of-hooks\nexport const dotPath = useWith(path, [split(\".\")]);\n\nexport const isFunction = obj => typeof obj === \"function\";\n\nexport const fieldWithFallback = (\n question,\n fieldName,\n hasRichContent = false\n) => {\n const fallback = question[`${fieldName}Fallback`];\n const field = question[fieldName];\n const isFieldEmpty = hasRichContent ? isEditorEmpty(field) : isEmpty(field);\n\n return isFieldEmpty && isNotNil(fallback) ? fallback : field;\n};\n\nexport const getComponentDisplayName = Component =>\n Component.displayName || Component.name || \"Component\";\n\nexport const isNameQuestion = kind => kind === QUESTION_TYPES.NAME;\n"],"names":["isBlank","compose","isEmpty","trim","parseServerError","error","_error$notice","notice","t","isEmptyValues","obj","either","isNil","values","every","value","Array","isArray","equals","useWith","path","split","isFunction","fieldWithFallback","question","fieldName","hasRichContent","arguments","length","undefined","fallback","concat","field","isFieldEmpty","isEditorEmpty","isNotNil","getComponentDisplayName","Component","displayName","name","isNameQuestion","kind","QUESTION_TYPES","NAME"],"mappings":";;;;;;;;AAkBO,IAAMA,OAAO,GAAGC,aAAO,CAACC,aAAO,EAAEC,UAAI;IAE/BC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAGC,KAAK,EAAA;AAAA,EAAA,IAAAC,aAAA;AAAA,EAAA,OAAA,CAAAA,aAAA,GACnCD,KAAK,CAACE,MAAM,MAAA,IAAA,IAAAD,aAAA,KAAA,MAAA,GAAAA,aAAA,GAAIE,SAAC,CAAC,qCAAqC,CAAC;AAAA;IAQ7CC,aAAa,GAAG,SAAhBA,aAAaA,CAAGC,GAAG,EAAA;EAAA,OAC9BC,YAAM,CAACC,WAAK,EAAEV,aAAO,CAAC,CAACQ,GAAG,CAAC,GACvB,IAAI,GACJG,YAAM,CAACH,GAAG,CAAC,CAACI,KAAK,CAAC,UAAAC,KAAK,EAAI;AACzB,IAAA,IAAIb,aAAO,CAACa,KAAK,CAAC,EAAE;AAClB,MAAA,OAAO,IAAI;IACb,CAAC,MAAM,IAAIC,KAAK,CAACC,OAAO,CAACF,KAAK,CAAC,EAAE;MAC/B,OAAOG,YAAM,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,EAAEH,KAAK,CAAC;AAC7C,IAAA;AAEA,IAAA,OAAO,CAACA,KAAK;AACf,EAAA,CAAC,CAAC;AAAA;;AAER;AACuBI,aAAO,CAACC,UAAI,EAAE,CAACC,WAAK,CAAC,GAAG,CAAC,CAAC;IAEpCC,UAAU,GAAG,SAAbA,UAAUA,CAAGZ,GAAG,EAAA;EAAA,OAAI,OAAOA,GAAG,KAAK,UAAU;AAAA;AAEnD,IAAMa,iBAAiB,GAAG,SAApBA,iBAAiBA,CAC5BC,QAAQ,EACRC,SAAS,EAEN;AAAA,EAAA,IADHC,cAAc,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,KAAK;AAEtB,EAAA,IAAMG,QAAQ,GAAGN,QAAQ,IAAAO,MAAA,CAAIN,SAAS,EAAA,UAAA,CAAA,CAAW;AACjD,EAAA,IAAMO,KAAK,GAAGR,QAAQ,CAACC,SAAS,CAAC;AACjC,EAAA,IAAMQ,YAAY,GAAGP,cAAc,GAAGQ,mBAAa,CAACF,KAAK,CAAC,GAAG9B,aAAO,CAAC8B,KAAK,CAAC;EAE3E,OAAOC,YAAY,IAAIE,cAAQ,CAACL,QAAQ,CAAC,GAAGA,QAAQ,GAAGE,KAAK;AAC9D;IAEaI,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAGC,SAAS,EAAA;EAAA,OAC9CA,SAAS,CAACC,WAAW,IAAID,SAAS,CAACE,IAAI,IAAI,WAAW;AAAA;IAE3CC,cAAc,GAAG,SAAjBA,cAAcA,CAAGC,IAAI,EAAA;AAAA,EAAA,OAAIA,IAAI,KAAKC,wBAAc,CAACC,IAAI;AAAA;;;;;;;;;;"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -7,13 +7,13 @@ var Submission = require('./Submission.js');
|
|
|
7
7
|
var UrlBuilder = require('./UrlBuilder.js');
|
|
8
8
|
var constants = require('./constants-B53NE3ql.js');
|
|
9
9
|
var useFormSubmission = require('./useFormSubmission-BPdtoVVy.js');
|
|
10
|
-
var buildForm = require('./buildForm-
|
|
10
|
+
var buildForm = require('./buildForm-xIwQXuvP.js');
|
|
11
11
|
require('@tanstack/react-query');
|
|
12
12
|
require('classnames');
|
|
13
13
|
require('@bigbinary/neeto-cist');
|
|
14
14
|
require('@bigbinary/neetoui/Spinner');
|
|
15
15
|
require('ramda');
|
|
16
|
-
require('./yup-
|
|
16
|
+
require('./yup-DD46Fc7X.js');
|
|
17
17
|
require('i18next');
|
|
18
18
|
require('@babel/runtime/helpers/defineProperty');
|
|
19
19
|
require('@babel/runtime/helpers/objectWithoutProperties');
|
|
@@ -46,9 +46,9 @@ require('@bigbinary/neeto-icons/TextLines');
|
|
|
46
46
|
require('@bigbinary/neeto-icons/UserRoundedRect');
|
|
47
47
|
require('@bigbinary/neeto-icons/YesNo');
|
|
48
48
|
require('dompurify');
|
|
49
|
-
require('./index-
|
|
49
|
+
require('./index-DrN28_gt.js');
|
|
50
50
|
require('@babel/runtime/helpers/typeof');
|
|
51
|
-
require('@bigbinary/neeto-editor/utils');
|
|
51
|
+
require('@bigbinary/neeto-editor-frontend/utils');
|
|
52
52
|
require('@bigbinary/neeto-icons/Plus');
|
|
53
53
|
require('yup');
|
|
54
54
|
require('@babel/runtime/helpers/slicedToArray');
|
|
@@ -78,7 +78,7 @@ require('@bigbinary/neetoui/formik/Textarea');
|
|
|
78
78
|
require('@bigbinary/neeto-image-uploader-frontend/ImageUploader');
|
|
79
79
|
require('@bigbinary/neetoui/Label');
|
|
80
80
|
require('@bigbinary/neetoui/Slider');
|
|
81
|
-
require('@bigbinary/neeto-editor/Editor');
|
|
81
|
+
require('@bigbinary/neeto-editor-frontend/Editor');
|
|
82
82
|
require('@bigbinary/neetoui/formik/Input');
|
|
83
83
|
require('@bigbinary/neetoui/Switch');
|
|
84
84
|
require('@bigbinary/neeto-molecules/OptionFields');
|
|
@@ -99,9 +99,9 @@ require('@bigbinary/neeto-icons/Warning');
|
|
|
99
99
|
require('@bigbinary/neeto-molecules/PageLoader');
|
|
100
100
|
require('@bigbinary/neetoui/Callout');
|
|
101
101
|
require('@bigbinary/neeto-icons/Check');
|
|
102
|
-
require('./utils-
|
|
102
|
+
require('./utils-BHn1TXSC.js');
|
|
103
103
|
require('libphonenumber-js');
|
|
104
|
-
require('@bigbinary/neeto-editor/EditorContent');
|
|
104
|
+
require('@bigbinary/neeto-editor-frontend/EditorContent');
|
|
105
105
|
require('@bigbinary/neetoui/MultiEmailInput');
|
|
106
106
|
require('@bigbinary/neeto-molecules/PhoneNumber');
|
|
107
107
|
require('./date-MW59oHM9.js');
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var formik = require('formik');
|
|
5
5
|
var neetoCist = require('@bigbinary/neeto-cist');
|
|
6
|
-
var index = require('./index-
|
|
6
|
+
var index = require('./index-DrN28_gt.js');
|
|
7
7
|
var utils = require('@bigbinary/neeto-commons-frontend/utils');
|
|
8
8
|
var libphonenumberJs = require('libphonenumber-js');
|
|
9
9
|
var ramda = require('ramda');
|
|
10
10
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
11
|
-
var EditorContent = require('@bigbinary/neeto-editor/EditorContent');
|
|
11
|
+
var EditorContent = require('@bigbinary/neeto-editor-frontend/EditorContent');
|
|
12
12
|
var constants = require('./constants-B53NE3ql.js');
|
|
13
13
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
14
14
|
var Plus = require('@bigbinary/neeto-icons/Plus');
|
|
@@ -18,11 +18,11 @@ var reactI18next = require('react-i18next');
|
|
|
18
18
|
var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
|
|
19
19
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
20
20
|
var _regeneratorRuntime = require('@babel/runtime/regenerator');
|
|
21
|
-
var utils$1 = require('@bigbinary/neeto-editor/utils');
|
|
21
|
+
var utils$1 = require('@bigbinary/neeto-editor-frontend/utils');
|
|
22
22
|
var PhoneNumber = require('@bigbinary/neeto-molecules/PhoneNumber');
|
|
23
23
|
var date = require('./date-MW59oHM9.js');
|
|
24
24
|
var i18next = require('i18next');
|
|
25
|
-
var yup = require('./yup-
|
|
25
|
+
var yup = require('./yup-DD46Fc7X.js');
|
|
26
26
|
var _toArray = require('@babel/runtime/helpers/toArray');
|
|
27
27
|
var yup$1 = require('yup');
|
|
28
28
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -47,7 +47,7 @@ var Label = require('@bigbinary/neetoui/Label');
|
|
|
47
47
|
var Checkbox = require('@bigbinary/neetoui/Checkbox');
|
|
48
48
|
var Radio = require('@bigbinary/neetoui/Radio');
|
|
49
49
|
var Image = require('@bigbinary/neeto-icons/Image');
|
|
50
|
-
var NeetoEditor = require('@bigbinary/neeto-editor/Editor');
|
|
50
|
+
var NeetoEditor = require('@bigbinary/neeto-editor-frontend/Editor');
|
|
51
51
|
var Info = require('@bigbinary/neeto-icons/Info');
|
|
52
52
|
var Textarea = require('@bigbinary/neetoui/Textarea');
|
|
53
53
|
var Tag = require('@bigbinary/neetoui/Tag');
|
|
@@ -2951,4 +2951,4 @@ exports.getFieldComponent = getFieldComponent;
|
|
|
2951
2951
|
exports.getWithExpiry = getWithExpiry;
|
|
2952
2952
|
exports.mergeRefs = mergeRefs;
|
|
2953
2953
|
exports.renderButtonsInOrder = renderButtonsInOrder;
|
|
2954
|
-
//# sourceMappingURL=utils-
|
|
2954
|
+
//# sourceMappingURL=utils-BHn1TXSC.js.map
|