@bigbinary/neeto-form-frontend 1.2.19 → 1.2.20

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.
@@ -79,7 +79,6 @@
79
79
  "addNewQuestion": "Add new question",
80
80
  "noQuestionLeft": "No more question fields to add"
81
81
  },
82
- "advancedProperties": "Advanced properties",
83
82
  "duplicateBtn": "Duplicate",
84
83
  "questionFields": {
85
84
  "field": {
package/dist/index.cjs.js CHANGED
@@ -132,6 +132,7 @@ var QUERY_KEYS = {
132
132
  FORMIK: "neetoFormFormik"
133
133
  };
134
134
  var DIRECT_UPLOAD_URL = "/api/direct_uploads";
135
+ var FIELD_CODE_DOC = "https://help.neetocal.com/public/p-0ee1deebdb";
135
136
 
136
137
  function _objectWithoutPropertiesLoose$2(source, excluded) {
137
138
  if (source == null) return {};
@@ -10211,16 +10212,21 @@ var validateFieldCode = validateSchema(yup__namespace.string().trim().required(i
10211
10212
  var FieldCode = reactUtils.withT(function (_ref) {
10212
10213
  var t = _ref.t,
10213
10214
  name = _ref.name;
10214
- return /*#__PURE__*/React__default["default"].createElement("div", {
10215
- className: "flex flex-col space-y-3"
10216
- }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
10217
- className: "mt-4",
10218
- style: "h4"
10219
- }, t("neetoForm.questions.common.advancedProperties")), /*#__PURE__*/React__default["default"].createElement(InputWithMaxLength, {
10215
+ return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(InputWithMaxLength, {
10220
10216
  required: true,
10217
+ className: "mt-14",
10221
10218
  label: t("neetoForm.questions.common.questionFields.field.fieldCode"),
10222
10219
  name: "".concat(name, ".fieldCode"),
10223
- validate: validateFieldCode
10220
+ validate: validateFieldCode,
10221
+ labelProps: {
10222
+ helpIconProps: {
10223
+ icon: neetoIcons.Info,
10224
+ className: "cursor-pointer",
10225
+ onClick: function onClick() {
10226
+ return window.open(FIELD_CODE_DOC, "_blank", "noopener,noreferrer");
10227
+ }
10228
+ }
10229
+ }
10224
10230
  }));
10225
10231
  });
10226
10232