@bigbinary/neeto-form-frontend 3.0.6 → 3.0.8
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"neetoForm": {
|
|
3
3
|
"common": {
|
|
4
|
-
"addGuests": "
|
|
4
|
+
"addGuests": "اضافة ضيوف",
|
|
5
5
|
"phoneNumberValidation": "رقم الهاتف يبدأ برمز البلد",
|
|
6
6
|
"mustAcceptTermsAndConditions": "يجب أن توافق على الشروط والأحكام",
|
|
7
7
|
"mustAcceptCondition": "يجب أن تقبل الشرط للاستمرار",
|
package/dist/index.cjs.js
CHANGED
|
@@ -3033,11 +3033,13 @@ var Form = function Form(_ref) {
|
|
|
3033
3033
|
questions: questions
|
|
3034
3034
|
});
|
|
3035
3035
|
var displayOrder = selectedQuestion.displayOrder + 1;
|
|
3036
|
+
var attributes = ramda.mergeLeft({
|
|
3037
|
+
displayOrder: displayOrder,
|
|
3038
|
+
isCloning: true
|
|
3039
|
+
}, values);
|
|
3036
3040
|
var payload = _objectSpread$n({
|
|
3037
3041
|
language: selectedLanguage,
|
|
3038
|
-
neetoFormQuestion:
|
|
3039
|
-
displayOrder: displayOrder
|
|
3040
|
-
}, values)
|
|
3042
|
+
neetoFormQuestion: attributes
|
|
3041
3043
|
}, buildRequestArgs);
|
|
3042
3044
|
createQuestion(payload, {
|
|
3043
3045
|
onSuccess: function onSuccess(_ref2) {
|