@bigbinary/neeto-form-frontend 3.13.0 → 3.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BuildForm.js +2 -2
- package/dist/BuildForm.js.map +1 -1
- package/dist/cjs/BuildForm.js +2 -2
- package/dist/cjs/BuildForm.js.map +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +22 -20
package/dist/BuildForm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useQueryClient } from '@tanstack/react-query';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
import { isPresent, truncate, findBy, isNotPresent, slugify, existsBy, hyphenate, noop, nullSafe, removeBy } from '@bigbinary/neeto-cist';
|
|
4
|
-
import
|
|
4
|
+
import Spinner from '@bigbinary/neetoui/Spinner';
|
|
5
5
|
import { equals, path, curry, assoc, prop, dissoc, when, includes, isEmpty, reject, keys, pick, omit, evolve, map, mergeLeft, isNil, pipe, filter, isNotNil, uniq, join, pluck, test, paths, difference, split, last, either, T, F } from 'ramda';
|
|
6
6
|
import { j as useDeleteQuestion, Q as QUESTION_TYPES, a as useForm, k as useCreateQuestion, l as useUpdateQuestion, C as CAPTCHA_TYPES, m as useReorderQuestions, i as QUERY_KEYS } from './constants-DBuFEVFA.js';
|
|
7
7
|
import { d as buildDisplayLabel, e as INDEPENDENT_LABELS_MAP, f as QUESTION_ACTIONS, i as isElementOverflowing, D as Drag, h as SELECTABLE_KINDS, j as isAutoGeneratedQuestion, k as isRichTextQuestion, N as NON_BASIC_LATIN_CHARACTERS_REGEX, l as RESERVED_FIELD_CODES, L as LABEL_FIELDS, m as isDefaultLanguage, n as buildDisabledAddButtonTooltipProps, o as buildAddQuestionButtonProps, v as validateEditorContent, F as FIELD_CODES_REJECT_CHARS_REGEX, p as isImmutableField, Q as QUESTIONS_WITHOUT_FIELD_CODE, q as NON_HIDEABLE_FIELDS, r as NON_READ_ONLY_FIELDS, s as RICH_TEXT_QUESTIONS, t as FILE_TYPES_MAP, u as FILE_GROUPS, M as MINIMUM_OPTIONS, w as RATING_OPTIONS, x as STAR_RATING_MIN_VALUE_OPTIONS, y as STAR_RATING_MAX_VALUE_OPTIONS, z as STAR_RATING_ICONS_MAP, A as buildReorderPayload, B as isMandatoryField, G as QUESTION_KINDS, a as QUESTION_KIND, H as getActiveQuestionKindDetails, J as DEFAULT_AVAILABLE_LANGUAGES, K as DEFAULT_ADVANCED_FEATURES, O as QUESTIONS_INITIAL_VALUE } from './constants-T3w90EO4.js';
|
|
@@ -2410,7 +2410,7 @@ var BuildForm = function BuildForm(_ref) {
|
|
|
2410
2410
|
if (isLoading || isQuestionsLoading && !isQuestionsPending) {
|
|
2411
2411
|
return /*#__PURE__*/jsx("div", {
|
|
2412
2412
|
className: "flex h-full w-full items-center justify-center py-6",
|
|
2413
|
-
children: /*#__PURE__*/jsx(
|
|
2413
|
+
children: /*#__PURE__*/jsx(Spinner, {})
|
|
2414
2414
|
});
|
|
2415
2415
|
}
|
|
2416
2416
|
var onValueChange = function onValueChange(questions) {
|