@bigbinary/neeto-form-frontend 4.4.1 → 4.4.2

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 CHANGED
@@ -4,7 +4,7 @@ import { isPresent, truncate, findBy, isNotPresent, slugify, existsBy, findById,
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, append, pluck, test, paths, difference, prop, startsWith, split, last, either, T, F } from 'ramda';
6
6
  import { k as useDeleteQuestion, Q as QUESTION_TYPES, a as useForm, l as useCreateQuestion, m as useUpdateQuestion, C as CAPTCHA_TYPES, n as useReorderQuestions, i as QUERY_KEYS } from './constants-30230o5k.js';
7
- import { h as buildDisplayLabel, i as INDEPENDENT_LABELS_MAP, j as QUESTION_ACTIONS, k as isElementOverflowing, l as Drag, m as SELECTABLE_KINDS, n as isAutoGeneratedQuestion, o as isRichTextQuestion, N as NON_BASIC_LATIN_CHARACTERS_REGEX, p as RESERVED_FIELD_CODES, r as renameKey, e as LABEL_FIELDS, q as isDefaultLanguage, s as buildAddQuestionButtonProps, v as validateEditorContent, F as FIELD_CODES_REJECT_CHARS_REGEX, t as isImmutableField, Q as QUESTIONS_WITHOUT_FIELD_CODE, u as NON_HIDEABLE_FIELDS, w as NON_READ_ONLY_FIELDS, x as RICH_TEXT_QUESTIONS, O as OPINION_LABEL_MAX_LENGTH, A as ADDRESS_FIELD_WIDTHS, d as ADDRESS_FIELD_TYPES, y as generateDefaultOptions, M as MINIMUM_ADDRESS_FIELDS, z as getDeletedRecords, B as randomId, G as getActiveRecords, H as FILE_TYPES_MAP, J as FILE_GROUPS, K as OPINION_SCALE_MIN_VALUE_OPTIONS, T as OPINION_SCALE_MAX_VALUE_OPTIONS, D as DEFAULT_CHOICE_QUESTION_ATTRIBUTES, U as MINIMUM_OPTIONS, V as IMAGE_HEIGHT_SLIDER_DEFAULTS, W as RATING_OPTIONS, X as STAR_RATING_MIN_VALUE_OPTIONS, Y as STAR_RATING_MAX_VALUE_OPTIONS, Z as STAR_RATING_ICONS_MAP, _ as buildDisabledAddButtonHelpPopoverProps, $ as buildReorderPayload, a0 as isMandatoryField, a1 as QUESTION_KINDS, a as QUESTION_KIND, a2 as getActiveQuestionKindDetails, a3 as DEFAULT_AVAILABLE_LANGUAGES, a4 as DEFAULT_ADVANCED_FEATURES, a5 as QUESTIONS_INITIAL_VALUE } from './yup-SHH_PrTm.js';
7
+ import { h as buildDisplayLabel, i as INDEPENDENT_LABELS_MAP, j as QUESTION_ACTIONS, k as isElementOverflowing, l as Drag, m as SELECTABLE_KINDS, n as isAutoGeneratedQuestion, o as isRichTextQuestion, N as NON_BASIC_LATIN_CHARACTERS_REGEX, p as RESERVED_FIELD_CODES, r as renameKey, e as LABEL_FIELDS, q as isDefaultLanguage, s as buildAddQuestionButtonProps, v as validateEditorContent, F as FIELD_CODES_REJECT_CHARS_REGEX, t as isImmutableField, Q as QUESTIONS_WITHOUT_FIELD_CODE, u as NON_HIDEABLE_FIELDS, w as NON_READ_ONLY_FIELDS, x as RICH_TEXT_QUESTIONS, O as OPINION_LABEL_MAX_LENGTH, A as ADDRESS_FIELD_WIDTHS, d as ADDRESS_FIELD_TYPES, y as generateDefaultOptions, M as MINIMUM_ADDRESS_FIELDS, z as getDeletedRecords, B as randomId, G as getActiveRecords, H as FILE_TYPES_MAP, J as FILE_GROUPS, K as OPINION_SCALE_MIN_VALUE_OPTIONS, T as OPINION_SCALE_MAX_VALUE_OPTIONS, D as DEFAULT_CHOICE_QUESTION_ATTRIBUTES, U as MINIMUM_OPTIONS, V as IMAGE_HEIGHT_SLIDER_DEFAULTS, W as RATING_OPTIONS, X as STAR_RATING_MIN_VALUE_OPTIONS, Y as STAR_RATING_MAX_VALUE_OPTIONS, Z as STAR_RATING_ICONS_MAP, _ as buildDisabledAddButtonHelpPopoverProps, $ as buildReorderPayload, a0 as isMandatoryField, a1 as QUESTION_KINDS, a as QUESTION_KIND, a2 as getActiveQuestionKindDetails, a3 as DEFAULT_AVAILABLE_LANGUAGES, a4 as DEFAULT_ADVANCED_FEATURES, a5 as QUESTIONS_INITIAL_VALUE } from './yup-CYww2O1T.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';
@@ -25,8 +25,8 @@ import { a as isBlank, g as getComponentDisplayName, p as parseServerError } fro
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_STYLES, b as CALLOUT_POSITIONS, L as LAST_ELEMENTS_THRESHOLD } from './yup-SHH_PrTm.js';
29
- import { c as clientI18nInstance, d as getWithExpiry, e as clearEmailVerificationDetails, g as generateInitValues, F as FormikWrap, a as getFieldComponent, b as buildAutoCompleteAttribute, r as renderButtonsInOrder, m as mergeRefs, f as generateFormResponse, h as clearLocalStorageValues } from './utils-CDyve_0y.js';
28
+ import { C as CALLOUT_STYLES, b as CALLOUT_POSITIONS, L as LAST_ELEMENTS_THRESHOLD } from './yup-CYww2O1T.js';
29
+ import { c as clientI18nInstance, d as getWithExpiry, e as clearEmailVerificationDetails, g as generateInitValues, F as FormikWrap, a as getFieldComponent, b as buildAutoCompleteAttribute, r as renderButtonsInOrder, m as mergeRefs, f as generateFormResponse, h as clearLocalStorageValues } from './utils-6fnIWcRG.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';
@@ -10,10 +10,10 @@ import Button from '@bigbinary/neetoui/Button';
10
10
  import NoData from '@bigbinary/neetoui/NoData';
11
11
  import { map, mergeLeft, filter, pluck, isEmpty } from 'ramda';
12
12
  import { useTranslation } from 'react-i18next';
13
- import { g as generateInitValues, F as FormikWrap, a as getFieldComponent, b as buildAutoCompleteAttribute, m as mergeRefs } from './utils-CDyve_0y.js';
13
+ import { g as generateInitValues, F as FormikWrap, a as getFieldComponent, b as buildAutoCompleteAttribute, m as mergeRefs } from './utils-6fnIWcRG.js';
14
14
  import { b as usePublicForm } from './constants-30230o5k.js';
15
15
  import { parsePhoneNumber } from 'libphonenumber-js';
16
- import { Q as QUESTIONS_WITHOUT_FIELD_CODE, a as QUESTION_KIND } from './yup-SHH_PrTm.js';
16
+ import { Q as QUESTIONS_WITHOUT_FIELD_CODE, a as QUESTION_KIND } from './yup-CYww2O1T.js';
17
17
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
18
18
  import './index-BfavwyMH.js';
19
19
  import '@babel/runtime/helpers/typeof';
@@ -6,7 +6,7 @@ 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-DNNZYQ9X.js');
9
- var yup = require('../yup-DcJey7xZ.js');
9
+ var yup = require('../yup-CVp85QQr.js');
10
10
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
11
11
  var React = require('react');
12
12
  var dnd = require('@hello-pangea/dnd');
@@ -27,8 +27,8 @@ var index$1 = require('../index-Dz5Yvk3n.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-DcJey7xZ.js');
31
- var utils = require('../utils-DfujkkDT.js');
30
+ var yup = require('../yup-CVp85QQr.js');
31
+ var utils = require('../utils-1rdREtjv.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');
@@ -12,10 +12,10 @@ 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-DfujkkDT.js');
15
+ var utils = require('../utils-1rdREtjv.js');
16
16
  var constants = require('../constants-DNNZYQ9X.js');
17
17
  var libphonenumberJs = require('libphonenumber-js');
18
- var yup = require('../yup-DcJey7xZ.js');
18
+ var yup = require('../yup-CVp85QQr.js');
19
19
  var jsxRuntime = require('react/jsx-runtime');
20
20
  require('../index-Dz5Yvk3n.js');
21
21
  require('@babel/runtime/helpers/typeof');
package/dist/cjs/index.js CHANGED
@@ -13,7 +13,7 @@ require('classnames');
13
13
  require('@bigbinary/neeto-cist');
14
14
  require('@bigbinary/neetoui/Spinner');
15
15
  require('ramda');
16
- require('../yup-DcJey7xZ.js');
16
+ require('../yup-CVp85QQr.js');
17
17
  require('i18next');
18
18
  require('react');
19
19
  require('@babel/runtime/helpers/defineProperty');
@@ -71,7 +71,7 @@ require('@bigbinary/neeto-icons/Warning');
71
71
  require('@bigbinary/neeto-molecules/PageLoader');
72
72
  require('@bigbinary/neetoui/Callout');
73
73
  require('@bigbinary/neeto-icons/Check');
74
- require('../utils-DfujkkDT.js');
74
+ require('../utils-1rdREtjv.js');
75
75
  require('libphonenumber-js');
76
76
  require('@bigbinary/neeto-editor/EditorContent');
77
77
  require('@bigbinary/neetoui/MultiEmailInput');
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import 'classnames';
11
11
  import '@bigbinary/neeto-cist';
12
12
  import '@bigbinary/neetoui/Spinner';
13
13
  import 'ramda';
14
- import './yup-SHH_PrTm.js';
14
+ import './yup-CYww2O1T.js';
15
15
  import 'i18next';
16
16
  import 'react';
17
17
  import '@babel/runtime/helpers/defineProperty';
@@ -69,7 +69,7 @@ import '@bigbinary/neeto-icons/Warning';
69
69
  import '@bigbinary/neeto-molecules/PageLoader';
70
70
  import '@bigbinary/neetoui/Callout';
71
71
  import '@bigbinary/neeto-icons/Check';
72
- import './utils-CDyve_0y.js';
72
+ import './utils-6fnIWcRG.js';
73
73
  import 'libphonenumber-js';
74
74
  import '@bigbinary/neeto-editor/EditorContent';
75
75
  import '@bigbinary/neetoui/MultiEmailInput';
@@ -22,7 +22,7 @@ var utils$1 = require('@bigbinary/neeto-editor/utils');
22
22
  var PhoneNumber = require('@bigbinary/neeto-molecules/PhoneNumber');
23
23
  var i18next = require('i18next');
24
24
  var jsxRuntime = require('react/jsx-runtime');
25
- var yup = require('./yup-DcJey7xZ.js');
25
+ var yup = require('./yup-CVp85QQr.js');
26
26
  var _toArray = require('@babel/runtime/helpers/toArray');
27
27
  var yup$1 = require('yup');
28
28
  var classnames = require('classnames');
@@ -2632,4 +2632,4 @@ exports.getFieldComponent = getFieldComponent;
2632
2632
  exports.getWithExpiry = getWithExpiry;
2633
2633
  exports.mergeRefs = mergeRefs;
2634
2634
  exports.renderButtonsInOrder = renderButtonsInOrder;
2635
- //# sourceMappingURL=utils-DfujkkDT.js.map
2635
+ //# sourceMappingURL=utils-1rdREtjv.js.map