@wayke-se/components-react 3.6.2 → 3.7.0
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,5 +1,12 @@
|
|
|
1
1
|
import deepCopy from '../deep-copy';
|
|
2
|
-
const PROPERTY_BLACK_LIST = Object.freeze([
|
|
2
|
+
const PROPERTY_BLACK_LIST = Object.freeze([
|
|
3
|
+
'towHitchFoldable',
|
|
4
|
+
'trailerTotalWeightB',
|
|
5
|
+
'gps',
|
|
6
|
+
'androidAuto',
|
|
7
|
+
'appleCarPlay',
|
|
8
|
+
'tintedWindows',
|
|
9
|
+
]);
|
|
3
10
|
const isForbiddenProperty = (key) => PROPERTY_BLACK_LIST.includes(key);
|
|
4
11
|
const CATEGORY_WHITE_LIST = Object.freeze([1, 2, 6, 8, 71, 119, 1000]);
|
|
5
12
|
const hasForbiddenCategory = (property) => !property.category ||
|
package/dist-web/index.js
CHANGED
|
@@ -7117,7 +7117,14 @@ var addCustomProperties = (item, properties) => {
|
|
|
7117
7117
|
return newProperties;
|
|
7118
7118
|
};
|
|
7119
7119
|
|
|
7120
|
-
const PROPERTY_BLACK_LIST = Object.freeze([
|
|
7120
|
+
const PROPERTY_BLACK_LIST = Object.freeze([
|
|
7121
|
+
'towHitchFoldable',
|
|
7122
|
+
'trailerTotalWeightB',
|
|
7123
|
+
'gps',
|
|
7124
|
+
'androidAuto',
|
|
7125
|
+
'appleCarPlay',
|
|
7126
|
+
'tintedWindows',
|
|
7127
|
+
]);
|
|
7121
7128
|
const isForbiddenProperty = (key) => PROPERTY_BLACK_LIST.includes(key);
|
|
7122
7129
|
const CATEGORY_WHITE_LIST = Object.freeze([1, 2, 6, 8, 71, 119, 1000]);
|
|
7123
7130
|
const hasForbiddenCategory = (property) => !property.category ||
|