@bigbinary/neeto-form-frontend 4.4.36 → 4.4.38

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.
Files changed (95) hide show
  1. package/app/javascript/src/translations/en.json +5 -1
  2. package/dist/.ready +1 -1
  3. package/dist/BuildForm.js +57 -7
  4. package/dist/BuildForm.js.map +1 -1
  5. package/dist/ExternalForm.js +5 -4
  6. package/dist/ExternalForm.js.map +1 -1
  7. package/dist/Submission.js +1 -1
  8. package/dist/UrlBuilder.js +5 -4
  9. package/dist/UrlBuilder.js.map +1 -1
  10. package/dist/{buildForm-Ds5d1DR8.js → buildForm-C5642_SF.js} +2 -2
  11. package/dist/{buildForm-Ds5d1DR8.js.map → buildForm-C5642_SF.js.map} +1 -1
  12. package/dist/cjs/BuildForm.js +57 -7
  13. package/dist/cjs/BuildForm.js.map +1 -1
  14. package/dist/cjs/ExternalForm.js +5 -4
  15. package/dist/cjs/ExternalForm.js.map +1 -1
  16. package/dist/cjs/Submission.js +1 -1
  17. package/dist/cjs/UrlBuilder.js +5 -4
  18. package/dist/cjs/UrlBuilder.js.map +1 -1
  19. package/dist/cjs/{buildForm-CtHZCSpo.js → buildForm-BO5Vcxv_.js} +2 -2
  20. package/dist/cjs/{buildForm-CtHZCSpo.js.map → buildForm-BO5Vcxv_.js.map} +1 -1
  21. package/dist/cjs/{constants-CUBwzMb-.js → constants-D3en9KhN.js} +2 -1
  22. package/dist/cjs/constants-D3en9KhN.js.map +1 -0
  23. package/dist/cjs/hooks.js +4 -4
  24. package/dist/cjs/{index-Bj56Ua86.js → index-B9L6Cdpy.js} +2 -2
  25. package/dist/cjs/{index-Bj56Ua86.js.map → index-B9L6Cdpy.js.map} +1 -1
  26. package/dist/cjs/index.js +10 -9
  27. package/dist/cjs/index.js.map +1 -1
  28. package/dist/cjs/{useFormSubmission-DGRHK3u9.js → useFormSubmission-CdbaJ9RK.js} +2 -2
  29. package/dist/cjs/{useFormSubmission-DGRHK3u9.js.map → useFormSubmission-CdbaJ9RK.js.map} +1 -1
  30. package/dist/cjs/{utils-Xnit8PUn.js → utils-ojUD_GO6.js} +188 -96
  31. package/dist/cjs/utils-ojUD_GO6.js.map +1 -0
  32. package/dist/cjs/v2/BuildForm.js +157 -134
  33. package/dist/cjs/v2/BuildForm.js.map +1 -1
  34. package/dist/cjs/v2/ExternalForm.js +16 -42
  35. package/dist/cjs/v2/ExternalForm.js.map +1 -1
  36. package/dist/cjs/v2/Submission.js +5 -4
  37. package/dist/cjs/v2/Submission.js.map +1 -1
  38. package/dist/cjs/v2/UrlBuilder.js +6 -33
  39. package/dist/cjs/v2/UrlBuilder.js.map +1 -1
  40. package/dist/cjs/v2/{constants-DIy-d-Pb.js → constants-DyPOVMyi.js} +2 -1
  41. package/dist/cjs/v2/constants-DyPOVMyi.js.map +1 -0
  42. package/dist/cjs/v2/index.js +27 -57
  43. package/dist/cjs/v2/index.js.map +1 -1
  44. package/dist/cjs/v2/{utils-DO12kVcq.js → utils-ChwdTdnN.js} +197 -110
  45. package/dist/cjs/v2/utils-ChwdTdnN.js.map +1 -0
  46. package/dist/cjs/v2/{yup-DH3aFnam.js → yup-CKeWnmJ3.js} +362 -84
  47. package/dist/cjs/v2/yup-CKeWnmJ3.js.map +1 -0
  48. package/dist/cjs/{yup-DZgfXVgs.js → yup-DvB9BGdG.js} +340 -39
  49. package/dist/cjs/yup-DvB9BGdG.js.map +1 -0
  50. package/dist/{constants-fjoeNdhb.js → constants-ClqQe4qZ.js} +2 -1
  51. package/dist/constants-ClqQe4qZ.js.map +1 -0
  52. package/dist/hooks.js +4 -4
  53. package/dist/{index-Cx0yvXwJ.js → index-CAR9-spo.js} +2 -2
  54. package/dist/{index-Cx0yvXwJ.js.map → index-CAR9-spo.js.map} +1 -1
  55. package/dist/index.js +10 -9
  56. package/dist/index.js.map +1 -1
  57. package/dist/main.css +1 -1
  58. package/dist/main.css.map +1 -1
  59. package/dist/{useFormSubmission-DMpf1msR.js → useFormSubmission-DMRpRRj4.js} +2 -2
  60. package/dist/{useFormSubmission-DMpf1msR.js.map → useFormSubmission-DMRpRRj4.js.map} +1 -1
  61. package/dist/{utils-Chj7ZOKi.js → utils-6l6j_LN6.js} +188 -96
  62. package/dist/utils-6l6j_LN6.js.map +1 -0
  63. package/dist/v2/BuildForm.js +157 -134
  64. package/dist/v2/BuildForm.js.map +1 -1
  65. package/dist/v2/ExternalForm.js +15 -41
  66. package/dist/v2/ExternalForm.js.map +1 -1
  67. package/dist/v2/Submission.js +5 -4
  68. package/dist/v2/Submission.js.map +1 -1
  69. package/dist/v2/UrlBuilder.js +6 -33
  70. package/dist/v2/UrlBuilder.js.map +1 -1
  71. package/dist/v2/{constants-CZ7swzMG.js → constants-BlY0KFT4.js} +2 -1
  72. package/dist/v2/constants-BlY0KFT4.js.map +1 -0
  73. package/dist/v2/index.js +22 -52
  74. package/dist/v2/index.js.map +1 -1
  75. package/dist/v2/main.css +1 -1
  76. package/dist/v2/main.css.map +1 -1
  77. package/dist/v2/{utils-CW12NXEG.js → utils-B8sTYkWG.js} +194 -107
  78. package/dist/v2/utils-B8sTYkWG.js.map +1 -0
  79. package/dist/v2/{yup-Cddsv0mm.js → yup-Cf-x7SqN.js} +355 -80
  80. package/dist/v2/yup-Cf-x7SqN.js.map +1 -0
  81. package/dist/{yup-CwN-8JrO.js → yup-7qmI_2fI.js} +338 -40
  82. package/dist/yup-7qmI_2fI.js.map +1 -0
  83. package/package.json +18 -16
  84. package/dist/cjs/constants-CUBwzMb-.js.map +0 -1
  85. package/dist/cjs/utils-Xnit8PUn.js.map +0 -1
  86. package/dist/cjs/v2/constants-DIy-d-Pb.js.map +0 -1
  87. package/dist/cjs/v2/utils-DO12kVcq.js.map +0 -1
  88. package/dist/cjs/v2/yup-DH3aFnam.js.map +0 -1
  89. package/dist/cjs/yup-DZgfXVgs.js.map +0 -1
  90. package/dist/constants-fjoeNdhb.js.map +0 -1
  91. package/dist/utils-Chj7ZOKi.js.map +0 -1
  92. package/dist/v2/constants-CZ7swzMG.js.map +0 -1
  93. package/dist/v2/utils-CW12NXEG.js.map +0 -1
  94. package/dist/v2/yup-Cddsv0mm.js.map +0 -1
  95. package/dist/yup-CwN-8JrO.js.map +0 -1
@@ -1,55 +1,33 @@
1
1
  import { t } from 'i18next';
2
2
  import * as React from 'react';
3
3
  import { memo } from 'react';
4
- import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
5
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
6
5
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
7
- import Address from '@bigbinary/neeto-icons/Address';
8
- import Calendar from '@bigbinary/neeto-icons/Calendar';
9
- import Captcha from '@bigbinary/neeto-icons/Captcha';
10
- import Checkbox from '@bigbinary/neeto-icons/Checkbox';
11
- import DropdownClosed from '@bigbinary/neeto-icons/DropdownClosed';
12
- import Email from '@bigbinary/neeto-icons/Email';
13
- import FileUpload from '@bigbinary/neeto-icons/FileUpload';
14
- import Group from '@bigbinary/neeto-icons/Group';
15
- import Hash from '@bigbinary/neeto-icons/Hash';
16
- import Header from '@bigbinary/neeto-icons/Header';
17
- import Location from '@bigbinary/neeto-icons/Location';
18
- import LongText from '@bigbinary/neeto-icons/LongText';
19
- import MessageSquare from '@bigbinary/neeto-icons/MessageSquare';
20
- import NeetoInvisible from '@bigbinary/neeto-icons/NeetoInvisible';
21
- import PhoneRing from '@bigbinary/neeto-icons/PhoneRing';
22
- import Radio from '@bigbinary/neeto-icons/Radio';
23
- import Rating from '@bigbinary/neeto-icons/Rating';
24
- import Scale from '@bigbinary/neeto-icons/Scale';
25
- import Sms from '@bigbinary/neeto-icons/Sms';
26
- import Terms from '@bigbinary/neeto-icons/Terms';
27
- import TextLines from '@bigbinary/neeto-icons/TextLines';
28
- import UserRoundedRect from '@bigbinary/neeto-icons/UserRoundedRect';
29
- import { Q as QUESTION_TYPES, C as CAPTCHA_TYPES } from './constants-CZ7swzMG.js';
30
- import { compose, isEmpty, trim, useWith, path, split, isNotNil, either, isNil, values, equals, includes, __, curry, assoc, prop, dissoc, mergeAll, reduce, range, reject, filter, pipe, toLower, map } from 'ramda';
31
6
  import { jsx, jsxs } from 'react/jsx-runtime';
7
+ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
8
+ import { Plus, Mail, Users, Phone, User, MapPinHouse, Text, AlignLeft, Hash, Heading, EyeOff, SquareCheck, CircleDot, ChevronDown, Star as Star$1, Gauge, Binary, MessageSquare, ScrollText, Calendar, Upload, ShieldCheck, MessageSquareText, MapPin } from 'lucide-react';
9
+ import { Q as QUESTION_TYPES, C as CAPTCHA_TYPES } from './constants-BlY0KFT4.js';
10
+ import { compose, isEmpty, trim, useWith, path, split, isNotNil, either, isNil, values, equals, includes, __, curry, assoc, prop, dissoc, mergeAll, reduce, range, reject, filter, pipe, toLower, map } from 'ramda';
32
11
  import { dynamicArray, findBy, toLabelAndValue } from '@bigbinary/neeto-cist';
33
12
  import DOMPurify from 'dompurify';
34
13
  import '@babel/runtime/helpers/typeof';
35
14
  import { isEditorEmpty } from '@bigbinary/neeto-editor/v2/utils';
36
- import Plus from '@bigbinary/neeto-icons/Plus';
37
15
  import * as yup from 'yup';
38
16
 
39
- var _path$2, _path2$2;
40
- function _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }
41
- const SvgConfusedFace = props => /*#__PURE__*/React.createElement("svg", _extends$2({
17
+ var _path$8, _path2$3;
18
+ function _extends$8() { return _extends$8 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$8.apply(null, arguments); }
19
+ const SvgConfusedFace = props => /*#__PURE__*/React.createElement("svg", _extends$8({
42
20
  xmlns: "http://www.w3.org/2000/svg",
43
21
  width: 32,
44
22
  height: 32,
45
23
  fill: "none"
46
- }, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
24
+ }, props), _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
47
25
  stroke: "#68737D",
48
26
  strokeLinecap: "round",
49
27
  strokeLinejoin: "round",
50
28
  strokeWidth: 2,
51
29
  d: "M16 4C9.383 4 4 9.383 4 16s5.383 12 12 12 12-5.384 12-12S22.616 4 16 4Z"
52
- })), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
30
+ })), _path2$3 || (_path2$3 = /*#__PURE__*/React.createElement("path", {
53
31
  stroke: "#68737D",
54
32
  strokeLinecap: "round",
55
33
  strokeLinejoin: "round",
@@ -57,20 +35,20 @@ const SvgConfusedFace = props => /*#__PURE__*/React.createElement("svg", _extend
57
35
  d: "M20.668 20.918S18.916 22.667 16 22.667c-2.918 0-4.667-1.75-4.667-1.75m9.104-8.25a.333.333 0 1 0 .003.666.333.333 0 0 0-.003-.666Zm-8.918 0a.333.333 0 1 0 .003.666.333.333 0 0 0-.004-.666Z"
58
36
  })));
59
37
 
60
- var _path$1, _path2$1, _path3;
61
- function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
62
- const SvgHappyFace = props => /*#__PURE__*/React.createElement("svg", _extends$1({
38
+ var _path$7, _path2$2, _path3;
39
+ function _extends$7() { return _extends$7 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$7.apply(null, arguments); }
40
+ const SvgHappyFace = props => /*#__PURE__*/React.createElement("svg", _extends$7({
63
41
  xmlns: "http://www.w3.org/2000/svg",
64
42
  width: 32,
65
43
  height: 32,
66
44
  fill: "none"
67
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
45
+ }, props), _path$7 || (_path$7 = /*#__PURE__*/React.createElement("path", {
68
46
  stroke: "#68737D",
69
47
  strokeLinecap: "round",
70
48
  strokeLinejoin: "round",
71
49
  strokeWidth: 2,
72
50
  d: "M9.332 13.334c.527-.647 1.247-1.014 2-1.014.753 0 1.453.367 2 1.014m5.333 0c.527-.647 1.247-1.014 2-1.014.754 0 1.454.367 2 1.014"
73
- })), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
51
+ })), _path2$2 || (_path2$2 = /*#__PURE__*/React.createElement("path", {
74
52
  stroke: "#68737D",
75
53
  strokeLinecap: "round",
76
54
  strokeLinejoin: "round",
@@ -84,20 +62,20 @@ const SvgHappyFace = props => /*#__PURE__*/React.createElement("svg", _extends$1
84
62
  d: "M20.665 19.584s-1.75 1.75-4.666 1.75c-2.918 0-4.667-1.75-4.667-1.75"
85
63
  })));
86
64
 
87
- var _path, _path2;
88
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
89
- const SvgSadFace = props => /*#__PURE__*/React.createElement("svg", _extends({
65
+ var _path$6, _path2$1;
66
+ function _extends$6() { return _extends$6 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$6.apply(null, arguments); }
67
+ const SvgSadFace = props => /*#__PURE__*/React.createElement("svg", _extends$6({
90
68
  xmlns: "http://www.w3.org/2000/svg",
91
69
  width: 32,
92
70
  height: 32,
93
71
  fill: "none"
94
- }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
72
+ }, props), _path$6 || (_path$6 = /*#__PURE__*/React.createElement("path", {
95
73
  stroke: "#68737D",
96
74
  strokeLinecap: "round",
97
75
  strokeLinejoin: "round",
98
76
  strokeWidth: 2,
99
77
  d: "M20.667 12v1.333m3.818-5.818c4.687 4.686 4.687 12.284 0 16.97-4.686 4.687-12.284 4.687-16.97 0-4.687-4.686-4.687-12.284 0-16.97 4.686-4.687 12.284-4.687 16.97 0v0ZM11.333 12v1.333V12Z"
100
- })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
78
+ })), _path2$1 || (_path2$1 = /*#__PURE__*/React.createElement("path", {
101
79
  stroke: "#68737D",
102
80
  strokeLinecap: "round",
103
81
  strokeLinejoin: "round",
@@ -105,18 +83,18 @@ const SvgSadFace = props => /*#__PURE__*/React.createElement("svg", _extends({
105
83
  d: "M11.332 21.333s1.75-1.749 4.667-1.749 4.666 1.75 4.666 1.75"
106
84
  })));
107
85
 
108
- var _excluded$2 = ["size"],
109
- _excluded2$1 = ["size"],
110
- _excluded3$1 = ["size"],
111
- _excluded4 = ["size"],
112
- _excluded5 = ["size"];
113
- function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
114
- function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
86
+ var _excluded$3 = ["size"],
87
+ _excluded2$2 = ["size"],
88
+ _excluded3$2 = ["size"],
89
+ _excluded4$1 = ["size"],
90
+ _excluded5$1 = ["size"];
91
+ function ownKeys$4(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
92
+ function _objectSpread$4(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$4(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$4(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
115
93
  var Star = function Star(props) {
116
94
  var _props$size = props.size,
117
95
  size = _props$size === void 0 ? 20 : _props$size,
118
- other = _objectWithoutProperties(props, _excluded$2);
119
- return /*#__PURE__*/jsx("svg", _objectSpread$3(_objectSpread$3({
96
+ other = _objectWithoutProperties(props, _excluded$3);
97
+ return /*#__PURE__*/jsx("svg", _objectSpread$4(_objectSpread$4({
120
98
  fill: "none",
121
99
  height: size,
122
100
  stroke: "currentColor",
@@ -135,8 +113,8 @@ var Star = function Star(props) {
135
113
  var Heart = function Heart(props) {
136
114
  var _props$size2 = props.size,
137
115
  size = _props$size2 === void 0 ? 20 : _props$size2,
138
- other = _objectWithoutProperties(props, _excluded2$1);
139
- return /*#__PURE__*/jsx("svg", _objectSpread$3(_objectSpread$3({
116
+ other = _objectWithoutProperties(props, _excluded2$2);
117
+ return /*#__PURE__*/jsx("svg", _objectSpread$4(_objectSpread$4({
140
118
  fill: "none",
141
119
  height: size,
142
120
  stroke: "currentColor",
@@ -155,8 +133,8 @@ var Heart = function Heart(props) {
155
133
  var Zap = function Zap(props) {
156
134
  var _props$size3 = props.size,
157
135
  size = _props$size3 === void 0 ? 20 : _props$size3,
158
- other = _objectWithoutProperties(props, _excluded3$1);
159
- return /*#__PURE__*/jsx("svg", _objectSpread$3(_objectSpread$3({
136
+ other = _objectWithoutProperties(props, _excluded3$2);
137
+ return /*#__PURE__*/jsx("svg", _objectSpread$4(_objectSpread$4({
160
138
  fill: "none",
161
139
  height: size,
162
140
  stroke: "currentColor",
@@ -175,8 +153,8 @@ var Zap = function Zap(props) {
175
153
  var Crown = function Crown(_ref) {
176
154
  var _ref$size = _ref.size,
177
155
  size = _ref$size === void 0 ? 20 : _ref$size,
178
- otherProps = _objectWithoutProperties(_ref, _excluded4);
179
- return /*#__PURE__*/jsx("svg", _objectSpread$3(_objectSpread$3({
156
+ otherProps = _objectWithoutProperties(_ref, _excluded4$1);
157
+ return /*#__PURE__*/jsx("svg", _objectSpread$4(_objectSpread$4({
180
158
  fill: "none",
181
159
  height: size,
182
160
  stroke: "currentColor",
@@ -199,8 +177,8 @@ var Crown = function Crown(_ref) {
199
177
  var Trophy = function Trophy(_ref2) {
200
178
  var _ref2$size = _ref2.size,
201
179
  size = _ref2$size === void 0 ? 20 : _ref2$size,
202
- otherProps = _objectWithoutProperties(_ref2, _excluded5);
203
- return /*#__PURE__*/jsxs("svg", _objectSpread$3(_objectSpread$3({
180
+ otherProps = _objectWithoutProperties(_ref2, _excluded5$1);
181
+ return /*#__PURE__*/jsxs("svg", _objectSpread$4(_objectSpread$4({
204
182
  fill: "none",
205
183
  height: size,
206
184
  stroke: "currentColor",
@@ -250,6 +228,159 @@ var MemoizedZap = /*#__PURE__*/memo(Zap);
250
228
  var MemoizedCrown = /*#__PURE__*/memo(Crown);
251
229
  var MemoizedTrophy = /*#__PURE__*/memo(Trophy);
252
230
 
231
+ var _excluded$2 = ["size"],
232
+ _excluded2$1 = ["size"],
233
+ _excluded3$1 = ["size"],
234
+ _excluded4 = ["size"],
235
+ _excluded5 = ["size"],
236
+ _excluded6 = ["size"];
237
+ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
238
+ function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
239
+ var ThumbsUp = function ThumbsUp(props) {
240
+ var _props$size = props.size,
241
+ size = _props$size === void 0 ? 20 : _props$size,
242
+ other = _objectWithoutProperties(props, _excluded$2);
243
+ return /*#__PURE__*/jsx("svg", _objectSpread$3(_objectSpread$3({
244
+ fill: "none",
245
+ height: size,
246
+ stroke: "currentColor",
247
+ strokeLinecap: "round",
248
+ strokeLinejoin: "round",
249
+ strokeWidth: "2",
250
+ viewBox: "0 0 24 24",
251
+ width: size,
252
+ xmlns: "http://www.w3.org/2000/svg"
253
+ }, other), {}, {
254
+ children: /*#__PURE__*/jsx("path", {
255
+ d: "M14 9V5a3 3 0 00-3-3l-4 9v11h11.28a2 2 0 002-1.7l1.38-9a2 2 0 00-2-2.3zM7 22H4a2 2 0 01-2-2v-7a2 2 0 012-2h3"
256
+ })
257
+ }));
258
+ };
259
+ var ThumbsDown = function ThumbsDown(props) {
260
+ var _props$size2 = props.size,
261
+ size = _props$size2 === void 0 ? 20 : _props$size2,
262
+ other = _objectWithoutProperties(props, _excluded2$1);
263
+ return /*#__PURE__*/jsx("svg", _objectSpread$3(_objectSpread$3({
264
+ fill: "none",
265
+ height: size,
266
+ stroke: "currentColor",
267
+ strokeLinecap: "round",
268
+ strokeLinejoin: "round",
269
+ strokeWidth: "2",
270
+ viewBox: "0 0 24 24",
271
+ width: size,
272
+ xmlns: "http://www.w3.org/2000/svg"
273
+ }, other), {}, {
274
+ children: /*#__PURE__*/jsx("path", {
275
+ d: "M10 15v4a3 3 0 003 3l4-9V2H5.72a2 2 0 00-2 1.7l-1.38 9a2 2 0 002 2.3zm7-13h2.67A2.31 2.31 0 0122 4v7a2.31 2.31 0 01-2.33 2H17"
276
+ })
277
+ }));
278
+ };
279
+ var Check = function Check(props) {
280
+ var _props$size3 = props.size,
281
+ size = _props$size3 === void 0 ? 20 : _props$size3,
282
+ other = _objectWithoutProperties(props, _excluded3$1);
283
+ return /*#__PURE__*/jsx("svg", _objectSpread$3(_objectSpread$3({
284
+ fill: "none",
285
+ height: size,
286
+ stroke: "currentColor",
287
+ strokeLinecap: "round",
288
+ strokeLinejoin: "round",
289
+ strokeWidth: "2",
290
+ viewBox: "0 0 24 24",
291
+ width: size,
292
+ xmlns: "http://www.w3.org/2000/svg"
293
+ }, other), {}, {
294
+ children: /*#__PURE__*/jsx("path", {
295
+ d: "M20 6L9 17 4 12"
296
+ })
297
+ }));
298
+ };
299
+ var Close = function Close(props) {
300
+ var _props$size4 = props.size,
301
+ size = _props$size4 === void 0 ? 20 : _props$size4,
302
+ other = _objectWithoutProperties(props, _excluded4);
303
+ return /*#__PURE__*/jsxs("svg", _objectSpread$3(_objectSpread$3({
304
+ fill: "none",
305
+ height: size,
306
+ stroke: "currentColor",
307
+ strokeLinecap: "round",
308
+ strokeLinejoin: "round",
309
+ strokeWidth: "2",
310
+ viewBox: "0 0 24 24",
311
+ width: size,
312
+ xmlns: "http://www.w3.org/2000/svg"
313
+ }, other), {}, {
314
+ children: [/*#__PURE__*/jsx("path", {
315
+ d: "M18 6L6 18"
316
+ }), /*#__PURE__*/jsx("path", {
317
+ d: "M6 6L18 18"
318
+ })]
319
+ }));
320
+ };
321
+ var HappySmiley = function HappySmiley(props) {
322
+ var _props$size5 = props.size,
323
+ size = _props$size5 === void 0 ? 20 : _props$size5,
324
+ other = _objectWithoutProperties(props, _excluded5);
325
+ return /*#__PURE__*/jsxs("svg", _objectSpread$3(_objectSpread$3({
326
+ fill: "none",
327
+ height: size,
328
+ stroke: "currentColor",
329
+ strokeLinecap: "round",
330
+ strokeLinejoin: "round",
331
+ strokeWidth: "2",
332
+ viewBox: "0 0 24 24",
333
+ width: size,
334
+ xmlns: "http://www.w3.org/2000/svg"
335
+ }, other), {}, {
336
+ children: [/*#__PURE__*/jsx("circle", {
337
+ cx: "12",
338
+ cy: "12",
339
+ r: "10"
340
+ }), /*#__PURE__*/jsx("path", {
341
+ d: "M8 14s1.5 2 4 2 4-2 4-2"
342
+ }), /*#__PURE__*/jsx("path", {
343
+ d: "M9 9L9.01 9"
344
+ }), /*#__PURE__*/jsx("path", {
345
+ d: "M15 9L15.01 9"
346
+ })]
347
+ }));
348
+ };
349
+ var SadSmiley = function SadSmiley(props) {
350
+ var _props$size6 = props.size,
351
+ size = _props$size6 === void 0 ? 20 : _props$size6,
352
+ other = _objectWithoutProperties(props, _excluded6);
353
+ return /*#__PURE__*/jsxs("svg", _objectSpread$3(_objectSpread$3({
354
+ fill: "none",
355
+ height: size,
356
+ stroke: "currentColor",
357
+ strokeLinecap: "round",
358
+ strokeLinejoin: "round",
359
+ strokeWidth: "2",
360
+ viewBox: "0 0 24 24",
361
+ width: size,
362
+ xmlns: "http://www.w3.org/2000/svg"
363
+ }, other), {}, {
364
+ children: [/*#__PURE__*/jsx("circle", {
365
+ cx: "12",
366
+ cy: "12",
367
+ r: "10"
368
+ }), /*#__PURE__*/jsx("path", {
369
+ d: "M16 16s-1.5-2-4-2-4 2-4 2"
370
+ }), /*#__PURE__*/jsx("path", {
371
+ d: "M9 9L9.01 9"
372
+ }), /*#__PURE__*/jsx("path", {
373
+ d: "M15 9L15.01 9"
374
+ })]
375
+ }));
376
+ };
377
+ var MemoizedThumbsUp = /*#__PURE__*/memo(ThumbsUp);
378
+ var MemoizedThumbsDown = /*#__PURE__*/memo(ThumbsDown);
379
+ var MemoizedCheck = /*#__PURE__*/memo(Check);
380
+ var MemoizedClose = /*#__PURE__*/memo(Close);
381
+ var MemoizedHappySmiley = /*#__PURE__*/memo(HappySmiley);
382
+ var MemoizedSadSmiley = /*#__PURE__*/memo(SadSmiley);
383
+
253
384
  var QUESTION_KIND = {
254
385
  TEXT: {
255
386
  value: "text"
@@ -291,6 +422,9 @@ var QUESTION_KIND = {
291
422
  OPINION_SCALE: {
292
423
  value: "opinion_scale"
293
424
  },
425
+ YES_NO: {
426
+ value: "yes_no"
427
+ },
294
428
  TERMS: {
295
429
  value: "termsandcondition",
296
430
  type: "checkbox"
@@ -374,6 +508,33 @@ var ICONS_MAP = {
374
508
  trophy: MemoizedTrophy,
375
509
  zap: MemoizedZap
376
510
  };
511
+ var YES_NO_VALUES = {
512
+ YES: {
513
+ label: t("neetoForm.common.yes"),
514
+ value: "Yes"
515
+ },
516
+ NO: {
517
+ label: t("neetoForm.common.no"),
518
+ value: "No"
519
+ }
520
+ };
521
+
522
+ // Keys mirror YES_NO_ICONS in BuildForm/Questions/Fields/constants. Importing it
523
+ // here would close a cycle: BuildForm/index -> ExternalForm/constants -> BuildForm.
524
+ var YES_NO_DISPLAY_ICONS_MAP = {
525
+ thumbs: {
526
+ Yes: MemoizedThumbsUp,
527
+ No: MemoizedThumbsDown
528
+ },
529
+ check: {
530
+ Yes: MemoizedCheck,
531
+ No: MemoizedClose
532
+ },
533
+ emoji: {
534
+ Yes: MemoizedHappySmiley,
535
+ No: MemoizedSadSmiley
536
+ }
537
+ };
377
538
  var EMAIL_REGEX = new RegExp("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$", "i");
378
539
  var SIX_DIGIT_NUMBER_REGEX = /^\d{6}$/;
379
540
  var PARENTHESES_REGEX = /[()]/g;
@@ -443,6 +604,90 @@ var DEFAULT_ADVANCED_FEATURES = {
443
604
  };
444
605
  var MINIMUM_ADDRESS_FIELDS = 2;
445
606
 
607
+ var _path$5;
608
+ function _extends$5() { return _extends$5 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$5.apply(null, arguments); }
609
+ const SvgCheck = props => /*#__PURE__*/React.createElement("svg", _extends$5({
610
+ xmlns: "http://www.w3.org/2000/svg",
611
+ width: 16,
612
+ height: 16,
613
+ fill: "none"
614
+ }, props), _path$5 || (_path$5 = /*#__PURE__*/React.createElement("path", {
615
+ fill: "currentColor",
616
+ d: "M5.876 10.568 3.11 7.804l-.942.942 3.707 3.698 7.955-7.956-.942-.933-7.013 7.013Z"
617
+ })));
618
+
619
+ var _path$4;
620
+ function _extends$4() { return _extends$4 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$4.apply(null, arguments); }
621
+ const SvgClose = props => /*#__PURE__*/React.createElement("svg", _extends$4({
622
+ xmlns: "http://www.w3.org/2000/svg",
623
+ width: 16,
624
+ height: 16,
625
+ fill: "none"
626
+ }, props), _path$4 || (_path$4 = /*#__PURE__*/React.createElement("path", {
627
+ fill: "currentColor",
628
+ d: "m12.915 4.026-.942-.942L8 7.057 4.026 3.084l-.942.942L7.057 8l-3.973 3.973.942.942L8 8.942l3.973 3.973.942-.942L8.942 8l3.973-3.974Z"
629
+ })));
630
+
631
+ var _path$3;
632
+ function _extends$3() { return _extends$3 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$3.apply(null, arguments); }
633
+ const SvgNeutral = props => /*#__PURE__*/React.createElement("svg", _extends$3({
634
+ xmlns: "http://www.w3.org/2000/svg",
635
+ width: 16,
636
+ height: 16,
637
+ fill: "none"
638
+ }, props), _path$3 || (_path$3 = /*#__PURE__*/React.createElement("path", {
639
+ stroke: "currentColor",
640
+ strokeLinecap: "round",
641
+ strokeLinejoin: "round",
642
+ strokeWidth: 1.5,
643
+ d: "M8 14.667A6.667 6.667 0 1 0 8 1.334a6.667 6.667 0 0 0 0 13.333ZM5.333 10h5.333M6 6h.007M10 6h.007"
644
+ })));
645
+
646
+ var _path$2, _path2;
647
+ function _extends$2() { return _extends$2 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$2.apply(null, arguments); }
648
+ const SvgSmile = props => /*#__PURE__*/React.createElement("svg", _extends$2({
649
+ xmlns: "http://www.w3.org/2000/svg",
650
+ width: 16,
651
+ height: 16,
652
+ fill: "none"
653
+ }, props), _path$2 || (_path$2 = /*#__PURE__*/React.createElement("path", {
654
+ stroke: "currentColor",
655
+ strokeLinecap: "round",
656
+ strokeLinejoin: "round",
657
+ strokeWidth: 1.5,
658
+ d: "M8 14.667A6.667 6.667 0 1 0 8 1.334a6.667 6.667 0 0 0 0 13.333Z"
659
+ })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
660
+ stroke: "currentColor",
661
+ strokeLinecap: "round",
662
+ strokeLinejoin: "round",
663
+ strokeWidth: 1.5,
664
+ d: "M5.333 9.334s1 1.333 2.667 1.333c1.666 0 2.666-1.333 2.666-1.333M6 6h.007M10 6h.007"
665
+ })));
666
+
667
+ var _path$1;
668
+ function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
669
+ const SvgThumbDown = props => /*#__PURE__*/React.createElement("svg", _extends$1({
670
+ xmlns: "http://www.w3.org/2000/svg",
671
+ width: 16,
672
+ height: 16,
673
+ fill: "none"
674
+ }, props), _path$1 || (_path$1 = /*#__PURE__*/React.createElement("path", {
675
+ fill: "currentColor",
676
+ d: "M10 2H4c-.553 0-1.026.333-1.226.813L.76 7.513C.7 7.667.667 7.827.667 8v1.273l.007.007-.007.053c0 .734.6 1.334 1.333 1.334h4.207l-.633 3.046-.02.214c0 .273.113.526.293.706l.707.7 4.393-4.393c.24-.24.387-.573.387-.94V3.333C11.334 2.6 10.734 2 10 2Zm2.667 0v8h2.667V2h-2.667Z"
677
+ })));
678
+
679
+ var _path;
680
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
681
+ const SvgThumbUp = props => /*#__PURE__*/React.createElement("svg", _extends({
682
+ xmlns: "http://www.w3.org/2000/svg",
683
+ width: 16,
684
+ height: 16,
685
+ fill: "none"
686
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
687
+ fill: "currentColor",
688
+ d: "M.667 14h2.667V6H.667v8Zm14.667-7.334c0-.733-.6-1.333-1.334-1.333H9.794l.633-3.047.02-.213c0-.274-.113-.527-.293-.707l-.707-.7L5.06 5.059c-.246.24-.393.574-.393.94v6.667c0 .733.6 1.333 1.333 1.333h6c.554 0 1.027-.333 1.227-.813l2.013-4.7c.06-.153.094-.313.094-.487V6.726l-.007-.007.007-.053Z"
689
+ })));
690
+
446
691
  var _excluded$1 = ["size", "color"],
447
692
  _excluded2 = ["size", "color"],
448
693
  _excluded3 = ["size", "color"];
@@ -781,6 +1026,24 @@ var DEFAULT_ADDRESS_FIELDS = [{
781
1026
  }, {
782
1027
  label: t("neetoForm.questions.address.defaultFields.postalZipCode")
783
1028
  }];
1029
+ var YES_NO_ICONS = {
1030
+ THUMBS: "thumbs",
1031
+ CHECK: "check",
1032
+ EMOJI: "emoji"
1033
+ };
1034
+
1035
+ // Small filled glyphs for the builder swatches; the rendered form uses the
1036
+ // stroked YES_NO_DISPLAY_ICONS_MAP in ExternalForm/constants.
1037
+ var YES_NO_ICONS_MAP = _defineProperty(_defineProperty(_defineProperty({}, YES_NO_ICONS.THUMBS, {
1038
+ Yes: SvgThumbUp,
1039
+ No: SvgThumbDown
1040
+ }), YES_NO_ICONS.CHECK, {
1041
+ Yes: SvgCheck,
1042
+ No: SvgClose
1043
+ }), YES_NO_ICONS.EMOJI, {
1044
+ Yes: SvgSmile,
1045
+ No: SvgNeutral
1046
+ });
784
1047
  var MIN_WORDS_SWITCH_LABEL_PROPS = {
785
1048
  helpIconProps: {
786
1049
  "data-testid": "min-words-help-popover-button",
@@ -815,7 +1078,8 @@ var NAME = QUESTION_TYPES.NAME,
815
1078
  CAPTCHA = QUESTION_TYPES.CAPTCHA,
816
1079
  SMS_REMINDER = QUESTION_TYPES.SMS_REMINDER,
817
1080
  SPOT = QUESTION_TYPES.SPOT,
818
- ADDRESS = QUESTION_TYPES.ADDRESS;
1081
+ ADDRESS = QUESTION_TYPES.ADDRESS,
1082
+ YES_NO = QUESTION_TYPES.YES_NO;
819
1083
  var PARAGRAPH_SEARCH_ALIASES = t("neetoForm.questionAliases.def").split(",").map(function (alias) {
820
1084
  return alias.trim().toLowerCase();
821
1085
  });
@@ -837,7 +1101,7 @@ var DEFAULT_CHOICE_QUESTION_ATTRIBUTES = {
837
1101
  var QUESTION_KINDS = [{
838
1102
  type: EMAIL,
839
1103
  label: t("neetoForm.fields.eif"),
840
- icon: Email,
1104
+ icon: Mail,
841
1105
  isSingular: true,
842
1106
  defaults: {
843
1107
  label: ""
@@ -845,7 +1109,7 @@ var QUESTION_KINDS = [{
845
1109
  }, {
846
1110
  type: ADDITIONAL_GUESTS,
847
1111
  label: t("neetoForm.fields.agif"),
848
- icon: Group,
1112
+ icon: Users,
849
1113
  isSingular: true,
850
1114
  defaults: {
851
1115
  label: t("neetoForm.common.addAdditionalGuests")
@@ -853,7 +1117,7 @@ var QUESTION_KINDS = [{
853
1117
  }, {
854
1118
  type: PHONE,
855
1119
  label: t("neetoForm.fields.pif"),
856
- icon: PhoneRing,
1120
+ icon: Phone,
857
1121
  isSingular: false,
858
1122
  defaults: {
859
1123
  label: ""
@@ -861,7 +1125,7 @@ var QUESTION_KINDS = [{
861
1125
  }, {
862
1126
  type: NAME,
863
1127
  label: t("neetoForm.fields.nif"),
864
- icon: UserRoundedRect,
1128
+ icon: User,
865
1129
  isSingular: true,
866
1130
  defaults: {
867
1131
  label: ""
@@ -869,7 +1133,7 @@ var QUESTION_KINDS = [{
869
1133
  }, {
870
1134
  type: ADDRESS,
871
1135
  label: t("neetoForm.fields.address"),
872
- icon: Address,
1136
+ icon: MapPinHouse,
873
1137
  isSingular: false,
874
1138
  defaults: {
875
1139
  label: "",
@@ -879,7 +1143,7 @@ var QUESTION_KINDS = [{
879
1143
  }, {
880
1144
  type: TEXT,
881
1145
  label: t("neetoForm.fields.tif"),
882
- icon: TextLines,
1146
+ icon: Text,
883
1147
  isSingular: false,
884
1148
  defaults: {
885
1149
  label: ""
@@ -887,7 +1151,7 @@ var QUESTION_KINDS = [{
887
1151
  }, {
888
1152
  type: TEXTAREA,
889
1153
  label: t("neetoForm.fields.qif"),
890
- icon: LongText,
1154
+ icon: AlignLeft,
891
1155
  isSingular: false,
892
1156
  defaults: {
893
1157
  label: "",
@@ -912,7 +1176,7 @@ var QUESTION_KINDS = [{
912
1176
  }, {
913
1177
  type: RICH_TEXT,
914
1178
  label: t("neetoForm.fields.rtf"),
915
- icon: Header,
1179
+ icon: Heading,
916
1180
  isSingular: false,
917
1181
  defaults: {
918
1182
  label: ""
@@ -920,7 +1184,7 @@ var QUESTION_KINDS = [{
920
1184
  }, {
921
1185
  type: PARAGRAPH,
922
1186
  label: t("neetoForm.fields.def"),
923
- icon: NeetoInvisible,
1187
+ icon: EyeOff,
924
1188
  description: t("neetoForm.questionTooltips.def"),
925
1189
  aliases: PARAGRAPH_SEARCH_ALIASES,
926
1190
  isSingular: false,
@@ -930,25 +1194,25 @@ var QUESTION_KINDS = [{
930
1194
  }, {
931
1195
  type: CHECKBOX,
932
1196
  label: t("neetoForm.fields.mcf"),
933
- icon: Checkbox,
1197
+ icon: SquareCheck,
934
1198
  isSingular: false,
935
1199
  defaults: DEFAULT_CHOICE_QUESTION_ATTRIBUTES
936
1200
  }, {
937
1201
  type: RADIO,
938
1202
  label: t("neetoForm.fields.scf"),
939
- icon: Radio,
1203
+ icon: CircleDot,
940
1204
  isSingular: false,
941
1205
  defaults: DEFAULT_CHOICE_QUESTION_ATTRIBUTES
942
1206
  }, {
943
1207
  type: DROPDOWN,
944
1208
  label: t("neetoForm.fields.drf"),
945
- icon: DropdownClosed,
1209
+ icon: ChevronDown,
946
1210
  isSingular: false,
947
1211
  defaults: DEFAULT_CHOICE_QUESTION_ATTRIBUTES
948
1212
  }, {
949
1213
  type: STAR_RATING,
950
1214
  label: t("neetoForm.fields.starRating"),
951
- icon: Rating,
1215
+ icon: Star$1,
952
1216
  isSingular: false,
953
1217
  defaults: {
954
1218
  label: "",
@@ -960,12 +1224,23 @@ var QUESTION_KINDS = [{
960
1224
  }, {
961
1225
  type: OPINION_SCALE,
962
1226
  label: t("neetoForm.fields.opinionScale"),
963
- icon: Scale,
1227
+ icon: Gauge,
964
1228
  isSingular: false,
965
1229
  defaults: _objectSpread({
966
1230
  label: "",
967
1231
  isRequired: true
968
1232
  }, OPINION_SCALE_DEFAULT_VALUES)
1233
+ }, {
1234
+ type: YES_NO,
1235
+ label: t("neetoForm.fields.yesNo"),
1236
+ icon: Binary,
1237
+ isSingular: false,
1238
+ defaults: {
1239
+ label: "",
1240
+ isRequired: true,
1241
+ isIconEnabled: false,
1242
+ iconType: YES_NO_ICONS.EMOJI
1243
+ }
969
1244
  }, {
970
1245
  type: RATING,
971
1246
  label: t("neetoForm.fields.fbf"),
@@ -981,7 +1256,7 @@ var QUESTION_KINDS = [{
981
1256
  }, {
982
1257
  type: TERMS_AND_CONDITION,
983
1258
  label: t("neetoForm.fields.tcf"),
984
- icon: Terms,
1259
+ icon: ScrollText,
985
1260
  isSingular: false,
986
1261
  defaults: {
987
1262
  termsLink: "",
@@ -1001,7 +1276,7 @@ var QUESTION_KINDS = [{
1001
1276
  }, {
1002
1277
  type: FILE_UPLOAD,
1003
1278
  label: t("neetoForm.fields.fileUpload"),
1004
- icon: FileUpload,
1279
+ icon: Upload,
1005
1280
  isSingular: false,
1006
1281
  defaults: {
1007
1282
  label: "",
@@ -1011,7 +1286,7 @@ var QUESTION_KINDS = [{
1011
1286
  }, {
1012
1287
  type: CAPTCHA,
1013
1288
  label: t("neetoForm.fields.captcha"),
1014
- icon: Captcha,
1289
+ icon: ShieldCheck,
1015
1290
  isSingular: true,
1016
1291
  defaults: {
1017
1292
  label: t("neetoForm.questions.common.questionFields.field.verifyHuman"),
@@ -1021,7 +1296,7 @@ var QUESTION_KINDS = [{
1021
1296
  }, {
1022
1297
  type: SMS_REMINDER,
1023
1298
  label: t("neetoForm.fields.smsReminder"),
1024
- icon: Sms,
1299
+ icon: MessageSquareText,
1025
1300
  isSingular: true,
1026
1301
  defaults: {
1027
1302
  label: ""
@@ -1029,7 +1304,7 @@ var QUESTION_KINDS = [{
1029
1304
  }, {
1030
1305
  type: SPOT,
1031
1306
  label: t("neetoForm.fields.spot"),
1032
- icon: Location,
1307
+ icon: MapPin,
1033
1308
  isSingular: true,
1034
1309
  defaults: {
1035
1310
  label: t("neetoForm.questions.spot.defaultLabel"),
@@ -1072,5 +1347,5 @@ yup.addMethod(yup.array, "unique", function () {
1072
1347
  });
1073
1348
  });
1074
1349
 
1075
- export { FILE_GROUPS as $, ADDRESS_FIELD_TYPES as A, buildAddQuestionButtonProps as B, CALLOUT_POSITIONS as C, DEFAULT_CHOICE_QUESTION_ATTRIBUTES as D, EMAIL_REGEX as E, validateEditorContent as F, FIELD_CODES_REJECT_CHARS_REGEX as G, MIN_WORDS as H, ICONS_MAP as I, isImmutableField as J, NON_HIDEABLE_FIELDS as K, LAST_ELEMENTS_THRESHOLD as L, MIN_WORDS_SWITCH_LABEL_PROPS as M, NON_BASIC_LATIN_CHARACTERS_REGEX as N, NON_READ_ONLY_FIELDS as O, PARENTHESES_REGEX as P, QUESTION_KIND as Q, RATING_VALUES as R, SPOT_QUESTION_DEFAULT_VALUE as S, OPINION_LABEL_MAX_LENGTH as T, RICH_TEXT_QUESTIONS as U, generateDefaultOptions as V, MINIMUM_ADDRESS_FIELDS as W, getDeletedRecords as X, randomId as Y, getActiveRecords as Z, FILE_TYPES_MAP as _, QUESTIONS_WITHOUT_FIELD_CODE as a, OPINION_SCALE_MIN_VALUE_OPTIONS as a0, OPINION_SCALE_MAX_VALUE_OPTIONS as a1, MINIMUM_OPTIONS as a2, IMAGE_HEIGHT_SLIDER_DEFAULTS as a3, RATING_OPTIONS as a4, STAR_RATING_MIN_VALUE_OPTIONS as a5, STAR_RATING_MAX_VALUE_OPTIONS as a6, STAR_RATING_ICONS_MAP as a7, buildDisabledAddButtonHelpPopoverProps as a8, buildReorderPayload as a9, QUESTIONS_INITIAL_VALUE as aa, isMandatoryField as ab, QUESTION_KINDS as ac, getActiveQuestionKindDetails as ad, DEFAULT_AVAILABLE_LANGUAGES as ae, DEFAULT_ADVANCED_FEATURES as af, CALLOUT_STYLES as b, isFunction as c, isEmptyValues as d, SCHEMA_LESS_QUESTION_KINDS as e, SIX_DIGIT_NUMBER_REGEX as f, fieldWithFallback as g, ADDRESS_FIELD_WIDTHS as h, isBlank as i, LABEL_FIELDS as j, generateArray as k, RADIO_DESELECT_KEYS as l, RATING_OPTIONS$1 as m, QUESTION_ACTIONS as n, INDEPENDENT_LABELS_MAP as o, parseServerError as p, buildDisplayLabel as q, isElementOverflowing as r, SELECTABLE_KINDS as s, isAutoGeneratedQuestion as t, isRichTextQuestion as u, SPOT_QUESTION_FIELD_CODE as v, isNameQuestion as w, RESERVED_FIELD_CODES as x, renameKey as y, isDefaultLanguage as z };
1076
- //# sourceMappingURL=yup-Cddsv0mm.js.map
1350
+ export { getActiveRecords as $, ADDRESS_FIELD_TYPES as A, isDefaultLanguage as B, CALLOUT_POSITIONS as C, DEFAULT_CHOICE_QUESTION_ATTRIBUTES as D, EMAIL_REGEX as E, buildAddQuestionButtonProps as F, validateEditorContent as G, FIELD_CODES_REJECT_CHARS_REGEX as H, ICONS_MAP as I, MIN_WORDS as J, isImmutableField as K, LAST_ELEMENTS_THRESHOLD as L, MIN_WORDS_SWITCH_LABEL_PROPS as M, NON_BASIC_LATIN_CHARACTERS_REGEX as N, NON_HIDEABLE_FIELDS as O, PARENTHESES_REGEX as P, QUESTION_KIND as Q, RATING_VALUES as R, SPOT_QUESTION_DEFAULT_VALUE as S, NON_READ_ONLY_FIELDS as T, OPINION_LABEL_MAX_LENGTH as U, RICH_TEXT_QUESTIONS as V, generateDefaultOptions as W, MINIMUM_ADDRESS_FIELDS as X, YES_NO_VALUES as Y, getDeletedRecords as Z, randomId as _, QUESTIONS_WITHOUT_FIELD_CODE as a, FILE_TYPES_MAP as a0, FILE_GROUPS as a1, OPINION_SCALE_MIN_VALUE_OPTIONS as a2, OPINION_SCALE_MAX_VALUE_OPTIONS as a3, MINIMUM_OPTIONS as a4, IMAGE_HEIGHT_SLIDER_DEFAULTS as a5, RATING_OPTIONS as a6, STAR_RATING_MIN_VALUE_OPTIONS as a7, STAR_RATING_MAX_VALUE_OPTIONS as a8, STAR_RATING_ICONS_MAP as a9, YES_NO_ICONS_MAP as aa, buildDisabledAddButtonHelpPopoverProps as ab, buildReorderPayload as ac, QUESTIONS_INITIAL_VALUE as ad, isMandatoryField as ae, QUESTION_KINDS as af, getActiveQuestionKindDetails as ag, DEFAULT_AVAILABLE_LANGUAGES as ah, DEFAULT_ADVANCED_FEATURES as ai, CALLOUT_STYLES as b, isFunction as c, isEmptyValues as d, SCHEMA_LESS_QUESTION_KINDS as e, SIX_DIGIT_NUMBER_REGEX as f, fieldWithFallback as g, ADDRESS_FIELD_WIDTHS as h, isBlank as i, LABEL_FIELDS as j, generateArray as k, RADIO_DESELECT_KEYS as l, RATING_OPTIONS$1 as m, YES_NO_DISPLAY_ICONS_MAP as n, QUESTION_ACTIONS as o, parseServerError as p, INDEPENDENT_LABELS_MAP as q, buildDisplayLabel as r, isElementOverflowing as s, SELECTABLE_KINDS as t, isAutoGeneratedQuestion as u, isRichTextQuestion as v, SPOT_QUESTION_FIELD_CODE as w, isNameQuestion as x, RESERVED_FIELD_CODES as y, renameKey as z };
1351
+ //# sourceMappingURL=yup-Cf-x7SqN.js.map