@orderingstack/front-components-product-configurator 1.3.1 → 1.3.2
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/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1 -8
- package/dist/index.es.js.map +1 -1
- package/dist/utils/validate.d.ts.map +1 -1
- package/package.json +2 -1
package/dist/index.es.js
CHANGED
|
@@ -6256,14 +6256,7 @@ const createFilterSlice = (set2) => ({
|
|
|
6256
6256
|
}
|
|
6257
6257
|
});
|
|
6258
6258
|
const isInputEnabled = (item, validationMap) => {
|
|
6259
|
-
|
|
6260
|
-
const { selCtx } = item;
|
|
6261
|
-
const isParentProductKind = ((_a = validationMap == null ? void 0 : validationMap[selCtx]) == null ? void 0 : _a.parentKind) === ProductKinds.PRODUCT;
|
|
6262
|
-
if (isParentProductKind) {
|
|
6263
|
-
return checkSelCtxParam(item, validationMap, "isSelCntAllowedToIncrement");
|
|
6264
|
-
} else {
|
|
6265
|
-
return checkSelCtxParam(item, validationMap, "isSelCntAllowedToIncrement") && checkParentSelCtxParam(item, validationMap, "isSelCntAllowedToIncrement");
|
|
6266
|
-
}
|
|
6259
|
+
return checkSelCtxParam(item, validationMap, "isSelCntAllowedToIncrement") && checkSelCtxParam(item, validationMap, "isQtyCntAllowedToIncrement") && checkParentSelCtxParam(item, validationMap, "isQtyCntAllowedToIncrement") && checkParentSelCtxParam(item, validationMap, "isQtyCntAllowedToIncrement");
|
|
6267
6260
|
};
|
|
6268
6261
|
const isInputCounterIncrementEnabled = (item, itemActualQty, validationMap) => {
|
|
6269
6262
|
var _a;
|