@bigbinary/neeto-form-frontend 4.4.13 → 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.
- package/app/javascript/src/translations/ar.json +0 -2
- package/app/javascript/src/translations/bg.json +0 -2
- package/app/javascript/src/translations/ca.json +0 -2
- package/app/javascript/src/translations/cs.json +0 -2
- package/app/javascript/src/translations/da.json +0 -2
- package/app/javascript/src/translations/de.json +0 -2
- package/app/javascript/src/translations/en.json +0 -2
- package/app/javascript/src/translations/es-MX.json +0 -2
- package/app/javascript/src/translations/es.json +0 -2
- package/app/javascript/src/translations/et.json +0 -2
- package/app/javascript/src/translations/fi.json +0 -2
- package/app/javascript/src/translations/fil.json +0 -2
- package/app/javascript/src/translations/fr.json +0 -2
- package/app/javascript/src/translations/he.json +0 -2
- package/app/javascript/src/translations/hi.json +0 -2
- package/app/javascript/src/translations/hr.json +0 -2
- package/app/javascript/src/translations/hu.json +0 -2
- package/app/javascript/src/translations/id.json +0 -2
- package/app/javascript/src/translations/it.json +0 -2
- package/app/javascript/src/translations/ja.json +0 -2
- package/app/javascript/src/translations/ko.json +0 -2
- package/app/javascript/src/translations/nl.json +0 -2
- package/app/javascript/src/translations/pl.json +0 -2
- package/app/javascript/src/translations/pt-BR.json +0 -2
- package/app/javascript/src/translations/pt.json +0 -2
- package/app/javascript/src/translations/ro.json +0 -2
- package/app/javascript/src/translations/ru.json +0 -2
- package/app/javascript/src/translations/sk.json +0 -2
- package/app/javascript/src/translations/sl.json +0 -2
- package/app/javascript/src/translations/sv.json +0 -2
- package/app/javascript/src/translations/th.json +0 -2
- package/app/javascript/src/translations/tr.json +0 -2
- package/app/javascript/src/translations/uk.json +0 -2
- package/app/javascript/src/translations/vi.json +0 -2
- package/app/javascript/src/translations/zh-CN.json +0 -2
- package/app/javascript/src/translations/zh-TW.json +0 -2
- package/dist/.ready +1 -1
- package/dist/BuildForm.js +30 -30
- package/dist/BuildForm.js.map +1 -1
- package/dist/cjs/BuildForm.js +30 -30
- package/dist/cjs/BuildForm.js.map +1 -1
- package/package.json +18 -18
|
@@ -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-
|
|
1
|
+
Built at 2026-04-13T09:29:18.380Z
|
package/dist/BuildForm.js
CHANGED
|
@@ -304,7 +304,7 @@ var Card = function Card(_ref) {
|
|
|
304
304
|
size: 16
|
|
305
305
|
}), /*#__PURE__*/jsxs("div", {
|
|
306
306
|
"data-testid": "neeto-form-engine-".concat(slugify(questionLabel)),
|
|
307
|
-
className: classnames("neeto-ui-rounded neeto-ui-border-gray-300 neeto-ui-bg-white neeto-form-nano-form__card flex h-10 grow items-center justify-between gap-1 border p-2", {
|
|
307
|
+
className: classnames("neeto-ui-rounded neeto-ui-border-gray-300 neeto-ui-bg-white neeto-form-nano-form__card flex h-10 grow items-center justify-between gap-1 border p-2 overflow-hidden", {
|
|
308
308
|
"neeto-ui-border-primary-500 neeto-form-nano-form__card--active": isActive
|
|
309
309
|
}),
|
|
310
310
|
onClick: function onClick() {
|
|
@@ -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-
|
|
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(
|
|
1170
|
-
|
|
1171
|
-
|
|
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(
|
|
2449
|
-
|
|
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")
|