not-node 5.0.17 → 5.0.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.
package/package.json
CHANGED
package/src/core/locales/en.json
CHANGED
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
"empty_list_placeholder": "List is empty",
|
|
5
5
|
"list_navigation_prev_button_label": "Prev",
|
|
6
6
|
"list_navigation_next_button_label": "Next",
|
|
7
|
+
"button_cancel_label": "Cancel",
|
|
8
|
+
"button_apply_label": "Apply",
|
|
7
9
|
"field_select_label": "Select",
|
|
10
|
+
"field_value_is_empty_placeholder": "Empty",
|
|
11
|
+
"loading_label": "Loading...",
|
|
8
12
|
"field_search_placeholder": "Search...",
|
|
9
13
|
"field_owner_label": "Owner",
|
|
10
14
|
"form_validation_error": "Form validation error",
|
package/src/core/locales/ru.json
CHANGED
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
"field_select_label": "Выбрать",
|
|
8
8
|
"field_search_placeholder": "Искать...",
|
|
9
9
|
"field_owner_label": "Владелец",
|
|
10
|
+
"field_value_is_empty_placeholder": "Пусто",
|
|
11
|
+
"loading_label": "Загрузка...",
|
|
12
|
+
"button_cancel_label": "Отмена",
|
|
13
|
+
"button_apply_label": "Применить",
|
|
10
14
|
"form_validation_error": "Форма заполнена с ошибками",
|
|
11
15
|
"field_active_label": "Активна",
|
|
12
16
|
"field_codeName_label": "Псевдоним",
|
package/src/model/versioning.js
CHANGED
|
@@ -36,10 +36,16 @@ class ModelVersioning{
|
|
|
36
36
|
return a;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
static jsonCopy(a){
|
|
40
|
+
return JSON.parse(JSON.stringify(a));
|
|
41
|
+
}
|
|
42
|
+
|
|
39
43
|
static isThisDocsDifferent(a, b) {
|
|
40
44
|
a = ModelVersioning.stripTechData(a);
|
|
41
45
|
b = ModelVersioning.stripTechData(b);
|
|
42
|
-
|
|
46
|
+
const plainA = ModelVersioning.jsonCopy(a);
|
|
47
|
+
const plainB = ModelVersioning.jsonCopy(b);
|
|
48
|
+
const diffLog = diff(plainA, plainB);
|
|
43
49
|
return (typeof diffLog !== 'undefined');
|
|
44
50
|
}
|
|
45
51
|
|