@bigbinary/neeto-form-frontend 4.4.14 → 4.4.15

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 (42) hide show
  1. package/app/javascript/src/translations/ar.json +0 -2
  2. package/app/javascript/src/translations/bg.json +0 -2
  3. package/app/javascript/src/translations/ca.json +0 -2
  4. package/app/javascript/src/translations/cs.json +0 -2
  5. package/app/javascript/src/translations/da.json +0 -2
  6. package/app/javascript/src/translations/de.json +0 -2
  7. package/app/javascript/src/translations/en.json +0 -2
  8. package/app/javascript/src/translations/es-MX.json +0 -2
  9. package/app/javascript/src/translations/es.json +0 -2
  10. package/app/javascript/src/translations/et.json +0 -2
  11. package/app/javascript/src/translations/fi.json +0 -2
  12. package/app/javascript/src/translations/fil.json +0 -2
  13. package/app/javascript/src/translations/fr.json +0 -2
  14. package/app/javascript/src/translations/he.json +0 -2
  15. package/app/javascript/src/translations/hi.json +0 -2
  16. package/app/javascript/src/translations/hr.json +0 -2
  17. package/app/javascript/src/translations/hu.json +0 -2
  18. package/app/javascript/src/translations/id.json +0 -2
  19. package/app/javascript/src/translations/it.json +0 -2
  20. package/app/javascript/src/translations/ja.json +0 -2
  21. package/app/javascript/src/translations/ko.json +0 -2
  22. package/app/javascript/src/translations/nl.json +0 -2
  23. package/app/javascript/src/translations/pl.json +0 -2
  24. package/app/javascript/src/translations/pt-BR.json +0 -2
  25. package/app/javascript/src/translations/pt.json +0 -2
  26. package/app/javascript/src/translations/ro.json +0 -2
  27. package/app/javascript/src/translations/ru.json +0 -2
  28. package/app/javascript/src/translations/sk.json +0 -2
  29. package/app/javascript/src/translations/sl.json +0 -2
  30. package/app/javascript/src/translations/sv.json +0 -2
  31. package/app/javascript/src/translations/th.json +0 -2
  32. package/app/javascript/src/translations/tr.json +0 -2
  33. package/app/javascript/src/translations/uk.json +0 -2
  34. package/app/javascript/src/translations/vi.json +0 -2
  35. package/app/javascript/src/translations/zh-CN.json +0 -2
  36. package/app/javascript/src/translations/zh-TW.json +0 -2
  37. package/dist/.ready +1 -1
  38. package/dist/BuildForm.js +29 -29
  39. package/dist/BuildForm.js.map +1 -1
  40. package/dist/cjs/BuildForm.js +29 -29
  41. package/dist/cjs/BuildForm.js.map +1 -1
  42. package/package.json +5 -5
@@ -48,7 +48,6 @@
48
48
  "addGuestsHelper": "請輸入用逗號分隔的電子郵件。",
49
49
  "start": "開始",
50
50
  "end": "結束",
51
- "settings": "設置",
52
51
  "advancedProperties": "高級屬性",
53
52
  "clonedElementLabel": "{{label, anyCase}} 的副本",
54
53
  "option": "選項",
@@ -148,7 +147,6 @@
148
147
  "responseVisibleOnlyToHostHelpDescription": "啟用後,該問題的響應僅對主辦方可見",
149
148
  "readOnlyHelpDescription": "當啟用此選項時,客戶只能看到此問題的答案,但無法更改此問題的答案。因為您將此問題標記為「只讀」,您應該預填此問題的答案。",
150
149
  "verifyHuman": "驗證您是人類",
151
- "pictureChoiceSettings": "圖片選擇設定",
152
150
  "addPicturesToOptions": "將圖片添加至選項",
153
151
  "fitImages": "調整圖片適合",
154
152
  "imageHeight": "圖片高度",
package/dist/.ready CHANGED
@@ -1 +1 @@
1
- Built at 2026-04-10T18:57:04.744Z
1
+ Built at 2026-04-13T09:29:18.380Z
package/dist/BuildForm.js CHANGED
@@ -835,29 +835,6 @@ var Properties = function Properties(_ref) {
835
835
  });
836
836
  };
837
837
 
838
- var Block = function Block(_ref) {
839
- var title = _ref.title,
840
- children = _ref.children,
841
- dataTestid = _ref.dataTestid;
842
- return /*#__PURE__*/jsxs("div", {
843
- className: "mt-4 space-y-3",
844
- "data-testid": dataTestid,
845
- children: [/*#__PURE__*/jsx("div", {
846
- className: "flex items-center justify-between",
847
- "data-testid": "properties-header",
848
- children: /*#__PURE__*/jsx(Typography, {
849
- lineHeight: "normal",
850
- style: "body1",
851
- weight: "semibold",
852
- children: title
853
- })
854
- }), /*#__PURE__*/jsx("div", {
855
- className: "space-y-4",
856
- children: children
857
- })]
858
- });
859
- };
860
-
861
838
  var useUpdateEditorContent = function useUpdateEditorContent(_ref) {
862
839
  var editorRef = _ref.editorRef,
863
840
  fieldName = _ref.fieldName,
@@ -1160,15 +1137,15 @@ var Form$1 = function Form(_ref) {
1160
1137
  }), isRichTextQuestion(kind) ? /*#__PURE__*/jsx(Editor, {
1161
1138
  isLabelDisabled: isLabelDisabled
1162
1139
  }) : /*#__PURE__*/jsxs("div", {
1163
- className: "space-y-6",
1140
+ className: "space-y-4",
1164
1141
  children: [/*#__PURE__*/jsx(Properties, {
1165
1142
  handleLabelChange: handleLabelChange,
1166
1143
  isLabelDisabled: isLabelDisabled,
1167
1144
  kind: kind,
1168
1145
  questionProps: questionProps
1169
- }), isSettingsBlockVisible && /*#__PURE__*/jsxs(Block, {
1170
- dataTestid: "settings-card",
1171
- title: t("neetoForm.common.settings"),
1146
+ }), isSettingsBlockVisible && /*#__PURE__*/jsxs("div", {
1147
+ className: "space-y-4",
1148
+ "data-testid": "settings-card",
1172
1149
  children: [isBasicSettingsVisible && /*#__PURE__*/jsxs(Fragment, {
1173
1150
  children: [!isImmutable && kind !== QUESTION_TYPES.ADDRESS && kind !== QUESTION_TYPES.SPOT && /*#__PURE__*/jsx(RequiredSwitch, {}), shouldShowHideSwitch && /*#__PURE__*/jsx(Switch, {
1174
1151
  label: t("neetoForm.common.hideQuestion"),
@@ -1450,6 +1427,29 @@ var Edit = function Edit(_ref) {
1450
1427
  });
1451
1428
  };
1452
1429
 
1430
+ var Block = function Block(_ref) {
1431
+ var title = _ref.title,
1432
+ children = _ref.children,
1433
+ dataTestid = _ref.dataTestid;
1434
+ return /*#__PURE__*/jsxs("div", {
1435
+ className: "mt-4 space-y-3",
1436
+ "data-testid": dataTestid,
1437
+ children: [/*#__PURE__*/jsx("div", {
1438
+ className: "flex items-center justify-between",
1439
+ "data-testid": "properties-header",
1440
+ children: /*#__PURE__*/jsx(Typography, {
1441
+ lineHeight: "normal",
1442
+ style: "body1",
1443
+ weight: "semibold",
1444
+ children: title
1445
+ })
1446
+ }), /*#__PURE__*/jsx("div", {
1447
+ className: "space-y-4",
1448
+ children: children
1449
+ })]
1450
+ });
1451
+ };
1452
+
1453
1453
  var VARIANTS = {
1454
1454
  hidden: {
1455
1455
  opacity: 0,
@@ -2445,8 +2445,8 @@ var Options = function Options(_ref) {
2445
2445
  onChange: setOptionsAttributes
2446
2446
  })
2447
2447
  })]
2448
- }), !isDropdown && isPictureChoiceEnabled && /*#__PURE__*/jsxs(Block, {
2449
- title: t("neetoForm.questions.common.questionFields.field.pictureChoiceSettings"),
2448
+ }), !isDropdown && isPictureChoiceEnabled && /*#__PURE__*/jsxs("div", {
2449
+ className: "space-y-4",
2450
2450
  children: [/*#__PURE__*/jsx(Switch, {
2451
2451
  name: "isPictureChoice",
2452
2452
  label: t("neetoForm.questions.common.questionFields.field.addPicturesToOptions")