@wayke-se/components-react 3.6.2 → 3.7.0-beta.1
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/dist-node/index.js
CHANGED
|
@@ -8091,7 +8091,7 @@ var addCustomProperties = ((item, properties) => {
|
|
|
8091
8091
|
return newProperties;
|
|
8092
8092
|
});
|
|
8093
8093
|
|
|
8094
|
-
const PROPERTY_BLACK_LIST = Object.freeze(['towHitchFoldable']);
|
|
8094
|
+
const PROPERTY_BLACK_LIST = Object.freeze(['towHitchFoldable', 'trailerTotalWeightB', 'gps', 'androidAuto', 'appleCarPlay', 'tintedWindows']);
|
|
8095
8095
|
const isForbiddenProperty = key => PROPERTY_BLACK_LIST.includes(key);
|
|
8096
8096
|
const CATEGORY_WHITE_LIST = Object.freeze([1, 2, 6, 8, 71, 119, 1000]);
|
|
8097
8097
|
const hasForbiddenCategory = property => !property.category || !property.category.id || !CATEGORY_WHITE_LIST.includes(property.category.id);
|