@bigbinary/neeto-filters-frontend 2.12.14 → 2.12.15
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 +4 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -3236,6 +3236,9 @@ var groupByGroup = ramda.groupBy(function (_ref) {
|
|
|
3236
3236
|
var isBoolean = function isBoolean(type) {
|
|
3237
3237
|
return type === "boolean" || type === "custom.boolean";
|
|
3238
3238
|
};
|
|
3239
|
+
var isCheckbox = function isCheckbox(type) {
|
|
3240
|
+
return type === "checkbox" || type === "custom.checkbox";
|
|
3241
|
+
};
|
|
3239
3242
|
var isDate = function isDate(type) {
|
|
3240
3243
|
return type === "date" || type === "custom.date" || type === "custom.datetime";
|
|
3241
3244
|
};
|
|
@@ -7543,7 +7546,7 @@ var Item = function Item(_ref) {
|
|
|
7543
7546
|
handleApplyFilter: handleApplyFilter
|
|
7544
7547
|
});
|
|
7545
7548
|
}
|
|
7546
|
-
if (isBoolean(defaultType)) {
|
|
7549
|
+
if (isBoolean(defaultType) || isCheckbox(defaultType)) {
|
|
7547
7550
|
return /*#__PURE__*/React__default["default"].createElement(Boolean$1, {
|
|
7548
7551
|
autoFocus: autoFocus,
|
|
7549
7552
|
column: column,
|