thm-p3-configurator 0.0.240 → 0.0.241
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.
|
@@ -12,6 +12,7 @@ require("core-js/modules/esnext.iterator.map.js");
|
|
|
12
12
|
require("core-js/modules/web.dom-collections.iterator.js");
|
|
13
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
14
14
|
var _queries = require("../../__api__/queries");
|
|
15
|
+
var _constants__ = require("../../__constants__");
|
|
15
16
|
var _helpers__ = require("../../__helpers__");
|
|
16
17
|
var _ProductCardCheckbox = _interopRequireDefault(require("./ProductCardCheckbox"));
|
|
17
18
|
var _ProductCardDescription = _interopRequireDefault(require("./ProductCardDescription"));
|
|
@@ -21,7 +22,6 @@ var _ProductCardPrice = _interopRequireDefault(require("./ProductCardPrice"));
|
|
|
21
22
|
var _ProductCardRibbon = _interopRequireDefault(require("./ProductCardRibbon"));
|
|
22
23
|
var _ProductCardSpecifications = _interopRequireDefault(require("./ProductCardSpecifications"));
|
|
23
24
|
var _ProductCardUsps = _interopRequireDefault(require("./ProductCardUsps"));
|
|
24
|
-
var _constants__ = require("../../__constants__");
|
|
25
25
|
function _interopRequireDefault(e) {
|
|
26
26
|
return e && e.__esModule ? e : {
|
|
27
27
|
default: e
|
|
@@ -137,7 +137,10 @@ const ProductCard = _ref => {
|
|
|
137
137
|
}, /*#__PURE__*/_react.default.createElement(_ProductCardUsps.default, {
|
|
138
138
|
usps: productUsps
|
|
139
139
|
}), /*#__PURE__*/_react.default.createElement(_ProductCardSpecifications.default, {
|
|
140
|
-
specifications:
|
|
140
|
+
specifications: [...(productId ? [{
|
|
141
|
+
key: 'Artikel',
|
|
142
|
+
value: productId
|
|
143
|
+
}] : []), ...productSpecifications.map(_ref2 => {
|
|
141
144
|
let {
|
|
142
145
|
key,
|
|
143
146
|
value
|
|
@@ -146,7 +149,7 @@ const ProductCard = _ref => {
|
|
|
146
149
|
key: (productFieldLabels === null || productFieldLabels === void 0 ? void 0 : productFieldLabels[key]) || key,
|
|
147
150
|
value
|
|
148
151
|
};
|
|
149
|
-
}),
|
|
152
|
+
})],
|
|
150
153
|
excludeKeys: ['brand', 'brandName']
|
|
151
154
|
}), /*#__PURE__*/_react.default.createElement(_ProductCardDescription.default, {
|
|
152
155
|
description: productDescription
|
|
@@ -171,8 +171,11 @@ const MOUSE_EXIT_INTENT_THROTTLE = exports.MOUSE_EXIT_INTENT_THROTTLE = 50;
|
|
|
171
171
|
const MOUSE_EXIT_INTENT_OFFSET = exports.MOUSE_EXIT_INTENT_OFFSET = 20;
|
|
172
172
|
const ARTICLES_SYSTEM_FIELDS = exports.ARTICLES_SYSTEM_FIELDS = ['title', 'articleNumber', 'typeName', 'typeId', 'groupName', 'subgroupName', 'description', 'option', 'remark', 'incl', 'excl'];
|
|
173
173
|
const ARTICLE_SPECS_TRANSLATIONS = exports.ARTICLE_SPECS_TRANSLATIONS = [{
|
|
174
|
-
key: '
|
|
175
|
-
value: '
|
|
174
|
+
key: 'subgroupGroupName',
|
|
175
|
+
value: 'Groep'
|
|
176
|
+
}, {
|
|
177
|
+
key: 'Weight',
|
|
178
|
+
value: 'Gewicht'
|
|
176
179
|
}, {
|
|
177
180
|
key: 'D Value',
|
|
178
181
|
value: 'D-waarde'
|