@bigbinary/neeto-form-frontend 4.4.54-beta2 → 4.4.54-beta4
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 +1 -1
- package/dist/ExternalForm.js +2 -2
- package/dist/UrlBuilder.js +2 -2
- package/dist/cjs/BuildForm.js +1 -1
- package/dist/cjs/ExternalForm.js +2 -2
- package/dist/cjs/UrlBuilder.js +2 -2
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/{utils-DLNHhhHU.js → utils-DkzQcu6R.js} +2 -2
- package/dist/cjs/{utils-DLNHhhHU.js.map → utils-DkzQcu6R.js.map} +1 -1
- package/dist/cjs/v2/BuildForm.js +1 -1
- package/dist/cjs/v2/ExternalForm.js +2 -2
- package/dist/cjs/v2/UrlBuilder.js +2 -2
- package/dist/cjs/v2/index.js +2 -2
- package/dist/cjs/v2/{utils-BbAi1RX7.js → utils-DF4T4m5g.js} +2 -2
- package/dist/cjs/v2/{utils-BbAi1RX7.js.map → utils-DF4T4m5g.js.map} +1 -1
- package/dist/cjs/v2/{yup-BU9GEfgJ.js → yup-BYZxGYQT.js} +2 -2
- package/dist/cjs/v2/yup-BYZxGYQT.js.map +1 -0
- package/dist/cjs/{yup-D9_Bpt2X.js → yup-Cy_8XyN-.js} +2 -2
- package/dist/cjs/yup-Cy_8XyN-.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/{utils-BAuCKggg.js → utils-CZKXpXMw.js} +2 -2
- package/dist/{utils-BAuCKggg.js.map → utils-CZKXpXMw.js.map} +1 -1
- package/dist/v2/BuildForm.js +1 -1
- package/dist/v2/ExternalForm.js +2 -2
- package/dist/v2/UrlBuilder.js +2 -2
- package/dist/v2/index.js +2 -2
- package/dist/v2/{utils-CkWZHMpN.js → utils-DlcYlVi6.js} +2 -2
- package/dist/v2/{utils-CkWZHMpN.js.map → utils-DlcYlVi6.js.map} +1 -1
- package/dist/v2/{yup-DTFTJl9E.js → yup-eAZgNU6P.js} +2 -2
- package/dist/v2/yup-eAZgNU6P.js.map +1 -0
- package/dist/{yup-WoBODD2n.js → yup-Cl8wC8xx.js} +2 -2
- package/dist/yup-Cl8wC8xx.js.map +1 -0
- package/package.json +1 -1
- package/dist/cjs/v2/yup-BU9GEfgJ.js.map +0 -1
- package/dist/cjs/yup-D9_Bpt2X.js.map +0 -1
- package/dist/v2/yup-DTFTJl9E.js.map +0 -1
- package/dist/yup-WoBODD2n.js.map +0 -1
package/dist/v2/BuildForm.js
CHANGED
|
@@ -4,7 +4,7 @@ import classnames from 'classnames';
|
|
|
4
4
|
import { isPresent, truncate, findBy, slugify, existsBy, removeBy, isNotPresent, findById, findIndexById, hyphenate, nullSafe, modifyBy, noop } from '@bigbinary/neeto-cist';
|
|
5
5
|
import { equals, path, omit, when, assoc, includes, isEmpty, reject, keys, pick, evolve, map, mergeLeft, prop, isNil, pipe, filter, isNotNil, values, uniq, join, pathSatisfies, assocPath, dissoc, pluck, append, paths, difference, startsWith, split, last, union, either, F, T } from 'ramda';
|
|
6
6
|
import { k as useDeleteQuestion, b as useForm, l as useCreateQuestion, m as useUpdateQuestion, n as useReorderQuestions, Q as QUERY_KEYS } from './useFormApi-BZtUzxW_.js';
|
|
7
|
-
import { r as QUESTION_ACTIONS, s as INDEPENDENT_LABELS_MAP, t as buildDisplayLabel, c as isFunction, u as LOCALIZED_DEFAULT_LABEL_KEYS, v as SELECTABLE_KINDS, w as isAutoGeneratedQuestion, g as fieldWithFallback, x as isRichTextQuestion, y as SPOT_QUESTION_FIELD_CODE, z as isNameQuestion, N as NON_BASIC_LATIN_CHARACTERS_REGEX, B as RESERVED_FIELD_CODES, F as renameKey, j as LABEL_FIELDS, G as isDefaultLanguage, H as buildAddQuestionButtonProps, J as validateEditorContent, K as FIELD_CODES_REJECT_CHARS_REGEX, M as MIN_WORDS_SWITCH_LABEL_PROPS, O as MIN_WORDS, T as isImmutableField, a as QUESTIONS_WITHOUT_FIELD_CODE, U as NON_HIDEABLE_FIELDS, V as NON_READ_ONLY_FIELDS, W as OPINION_LABEL_MAX_LENGTH, X as RICH_TEXT_QUESTIONS, h as ADDRESS_FIELD_WIDTHS, A as ADDRESS_FIELD_TYPES, Z as generateDefaultOptions, _ as MINIMUM_ADDRESS_FIELDS, $ as getDeletedRecords, a0 as randomId, a1 as getActiveRecords, a2 as FILE_TYPES_MAP, a3 as FILE_GROUPS, a4 as OPINION_SCALE_MIN_VALUE_OPTIONS, a5 as OPINION_SCALE_MAX_VALUE_OPTIONS, l as DEFAULT_CHOICE_QUESTION_ATTRIBUTES, a6 as MINIMUM_OPTIONS, a7 as IMAGE_HEIGHT_SLIDER_DEFAULTS, a8 as RATING_OPTIONS, a9 as STAR_RATING_MIN_VALUE_OPTIONS, aa as STAR_RATING_MAX_VALUE_OPTIONS, ab as STAR_RATING_ICONS_MAP, ac as YES_NO_ICONS_MAP, ad as buildDisabledAddButtonHelpPopoverProps, ae as buildReorderPayload, af as QUESTIONS_INITIAL_VALUE, ag as isMandatoryField, ah as QUESTION_KINDS, Q as QUESTION_KIND, ai as getActiveQuestionKindDetails, aj as DEFAULT_AVAILABLE_LANGUAGES, ak as DEFAULT_ADVANCED_FEATURES } from './yup-
|
|
7
|
+
import { r as QUESTION_ACTIONS, s as INDEPENDENT_LABELS_MAP, t as buildDisplayLabel, c as isFunction, u as LOCALIZED_DEFAULT_LABEL_KEYS, v as SELECTABLE_KINDS, w as isAutoGeneratedQuestion, g as fieldWithFallback, x as isRichTextQuestion, y as SPOT_QUESTION_FIELD_CODE, z as isNameQuestion, N as NON_BASIC_LATIN_CHARACTERS_REGEX, B as RESERVED_FIELD_CODES, F as renameKey, j as LABEL_FIELDS, G as isDefaultLanguage, H as buildAddQuestionButtonProps, J as validateEditorContent, K as FIELD_CODES_REJECT_CHARS_REGEX, M as MIN_WORDS_SWITCH_LABEL_PROPS, O as MIN_WORDS, T as isImmutableField, a as QUESTIONS_WITHOUT_FIELD_CODE, U as NON_HIDEABLE_FIELDS, V as NON_READ_ONLY_FIELDS, W as OPINION_LABEL_MAX_LENGTH, X as RICH_TEXT_QUESTIONS, h as ADDRESS_FIELD_WIDTHS, A as ADDRESS_FIELD_TYPES, Z as generateDefaultOptions, _ as MINIMUM_ADDRESS_FIELDS, $ as getDeletedRecords, a0 as randomId, a1 as getActiveRecords, a2 as FILE_TYPES_MAP, a3 as FILE_GROUPS, a4 as OPINION_SCALE_MIN_VALUE_OPTIONS, a5 as OPINION_SCALE_MAX_VALUE_OPTIONS, l as DEFAULT_CHOICE_QUESTION_ATTRIBUTES, a6 as MINIMUM_OPTIONS, a7 as IMAGE_HEIGHT_SLIDER_DEFAULTS, a8 as RATING_OPTIONS, a9 as STAR_RATING_MIN_VALUE_OPTIONS, aa as STAR_RATING_MAX_VALUE_OPTIONS, ab as STAR_RATING_ICONS_MAP, ac as YES_NO_ICONS_MAP, ad as buildDisabledAddButtonHelpPopoverProps, ae as buildReorderPayload, af as QUESTIONS_INITIAL_VALUE, ag as isMandatoryField, ah as QUESTION_KINDS, Q as QUESTION_KIND, ai as getActiveQuestionKindDetails, aj as DEFAULT_AVAILABLE_LANGUAGES, ak as DEFAULT_ADVANCED_FEATURES } from './yup-eAZgNU6P.js';
|
|
8
8
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
9
9
|
import { createElement, useRef, useEffect, useState } from 'react';
|
|
10
10
|
import { Droppable, Draggable, DragDropContext } from '@hello-pangea/dnd';
|
package/dist/v2/ExternalForm.js
CHANGED
|
@@ -18,8 +18,8 @@ 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-BZtUzxW_.js';
|
|
19
19
|
import { g as getComponentDisplayName } from './index-CUrkh_zd.js';
|
|
20
20
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
21
|
-
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-
|
|
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-
|
|
21
|
+
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-DlcYlVi6.js';
|
|
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-eAZgNU6P.js';
|
|
23
23
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
24
24
|
import { withT } from '@bigbinary/neeto-commons-frontend/v2/react-utils';
|
|
25
25
|
import '@babel/runtime/helpers/toConsumableArray';
|
package/dist/v2/UrlBuilder.js
CHANGED
|
@@ -10,9 +10,9 @@ 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-BZtUzxW_.js';
|
|
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-DlcYlVi6.js';
|
|
14
14
|
import { parsePhoneNumber } from 'libphonenumber-js';
|
|
15
|
-
import { Q as QUESTION_KIND, a as QUESTIONS_WITHOUT_FIELD_CODE } from './yup-
|
|
15
|
+
import { Q as QUESTION_KIND, a as QUESTIONS_WITHOUT_FIELD_CODE } from './yup-eAZgNU6P.js';
|
|
16
16
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
17
17
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
18
18
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
package/dist/v2/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import '@babel/runtime/helpers/typeof';
|
|
|
24
24
|
import '@bigbinary/neeto-editor/utils';
|
|
25
25
|
import '@bigbinary/neeto-atoms';
|
|
26
26
|
import 'classnames';
|
|
27
|
-
import './yup-
|
|
27
|
+
import './yup-eAZgNU6P.js';
|
|
28
28
|
import 'react';
|
|
29
29
|
import 'react/jsx-runtime';
|
|
30
30
|
import 'lucide-react';
|
|
@@ -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-DlcYlVi6.js';
|
|
53
53
|
import 'libphonenumber-js';
|
|
54
54
|
import '@bigbinary/neeto-editor/v2/EditorContent';
|
|
55
55
|
import '@bigbinary/neeto-molecules/v2/PhoneNumber';
|
|
@@ -2,7 +2,7 @@ import { useEffect, useState, useImperativeHandle, memo, Fragment as Fragment$1
|
|
|
2
2
|
import { useFormikContext, useField, Field as Field$1, FastField } from 'formik';
|
|
3
3
|
import { isPresent, findBy, isNotEmpty, filterBy, findById, isNotPresent, hyphenate, noop, toLabelAndValue, getRandomInt, randomPick, slugify, notEqualsDeep } from '@bigbinary/neeto-cist';
|
|
4
4
|
import { dayjs, buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
|
|
5
|
-
import { c as isFunction, d as isEmptyValues, Q as QUESTION_KIND, A as ADDRESS_FIELD_TYPES, S as SPOT_QUESTION_DEFAULT_VALUE, Y as YES_NO_VALUES, P as PARENTHESES_REGEX, R as RATING_VALUES, E as EMAIL_REGEX, e as SCHEMA_LESS_QUESTION_KINDS, I as INTEGER_REGEX, D as DECIMAL_REGEX, f as SIX_DIGIT_NUMBER_REGEX, g as fieldWithFallback, h as ADDRESS_FIELD_WIDTHS, j as LABEL_FIELDS, k as generateArray, l as DEFAULT_CHOICE_QUESTION_ATTRIBUTES, m as RADIO_DESELECT_KEYS, n as RATING_OPTIONS, o as ICONS_MAP, q as YES_NO_DISPLAY_ICONS_MAP } from './yup-
|
|
5
|
+
import { c as isFunction, d as isEmptyValues, Q as QUESTION_KIND, A as ADDRESS_FIELD_TYPES, S as SPOT_QUESTION_DEFAULT_VALUE, Y as YES_NO_VALUES, P as PARENTHESES_REGEX, R as RATING_VALUES, E as EMAIL_REGEX, e as SCHEMA_LESS_QUESTION_KINDS, I as INTEGER_REGEX, D as DECIMAL_REGEX, f as SIX_DIGIT_NUMBER_REGEX, g as fieldWithFallback, h as ADDRESS_FIELD_WIDTHS, j as LABEL_FIELDS, k as generateArray, l as DEFAULT_CHOICE_QUESTION_ATTRIBUTES, m as RADIO_DESELECT_KEYS, n as RATING_OPTIONS, o as ICONS_MAP, q as YES_NO_DISPLAY_ICONS_MAP } from './yup-eAZgNU6P.js';
|
|
6
6
|
import { parsePhoneNumber } from 'libphonenumber-js';
|
|
7
7
|
import { getFromLocalStorage, setToLocalStorage, removeFromLocalStorage, dayjs as dayjs$1, withEventTargetValue } from '@bigbinary/neeto-commons-frontend/v2/utils';
|
|
8
8
|
import { pick, mergeRight, omit, isEmpty, max, when, is, last, includes, __, mergeLeft, isNil, clamp, prop, trim, map, zipObj, identity, pluck, values, pipe, dec, equals } from 'ramda';
|
|
@@ -2937,4 +2937,4 @@ var getVisibleOptions = function getVisibleOptions(options) {
|
|
|
2937
2937
|
};
|
|
2938
2938
|
|
|
2939
2939
|
export { FormikWrap as F, buildAutoCompleteAttribute as a, buildDateQueryParameters as b, generateInitValues as c, clientI18nInstance$1 as d, getWithExpiry as e, clearEmailVerificationDetails as f, getFieldComponent as g, generateFormResponse as h, clearLocalStorageValues as i, mergeRefs as m, renderButtonsInOrder as r };
|
|
2940
|
-
//# sourceMappingURL=utils-
|
|
2940
|
+
//# sourceMappingURL=utils-DlcYlVi6.js.map
|