@stsdti/funky-ui-kit 1.4.5 → 1.4.6
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/funky-ui-kit.es.js +13 -4
- package/dist/funky-ui-kit.es.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
package/dist/funky-ui-kit.es.js
CHANGED
|
@@ -20109,7 +20109,13 @@ const _BaseRepository = class _BaseRepository {
|
|
|
20109
20109
|
}
|
|
20110
20110
|
let filterParam = {};
|
|
20111
20111
|
for (let filter2 of filters) {
|
|
20112
|
-
|
|
20112
|
+
if (typeof filter2 === "string") {
|
|
20113
|
+
const [key, value] = filter2.split("=");
|
|
20114
|
+
const normalizedKey = key.replace(/filter\[(.+)\]/, "filter.$1");
|
|
20115
|
+
lodashExports.set(filterParam, normalizedKey, value);
|
|
20116
|
+
} else {
|
|
20117
|
+
lodashExports.set(filterParam, `filter.${filter2.field}`, filter2.value);
|
|
20118
|
+
}
|
|
20113
20119
|
}
|
|
20114
20120
|
let limitParam = limit ? { limit } : null;
|
|
20115
20121
|
let offsetParam = offset2 ? { offset: offset2 } : null;
|
|
@@ -20131,6 +20137,10 @@ const _BaseRepository = class _BaseRepository {
|
|
|
20131
20137
|
}
|
|
20132
20138
|
let filters = [];
|
|
20133
20139
|
for (const filter2 of filterArray) {
|
|
20140
|
+
if (typeof filter2 === "string") {
|
|
20141
|
+
filters.push(filter2);
|
|
20142
|
+
continue;
|
|
20143
|
+
}
|
|
20134
20144
|
let filterValue = Array.isArray(filter2.value) ? filter2.value.join(",") : filter2.value;
|
|
20135
20145
|
if (filterValue === null || filterValue === void 0 || filterValue === "") {
|
|
20136
20146
|
continue;
|
|
@@ -82699,9 +82709,8 @@ const _sfc_main = {
|
|
|
82699
82709
|
return modelValue.value.some((selectedItem) => lodashExports.isEqual(selectedItem, item));
|
|
82700
82710
|
};
|
|
82701
82711
|
const selectCell = (item) => {
|
|
82702
|
-
let newValue;
|
|
82703
|
-
newValue =
|
|
82704
|
-
newValue = props2.isMultiSelect ? newValue : lodashExports.tail(newValue);
|
|
82712
|
+
let newValue = isSelected(item) ? modelValue.value.filter((selectedItem) => !lodashExports.isEqual(selectedItem, item)) : [...modelValue.value, item];
|
|
82713
|
+
newValue = props2.isMultiSelect ? newValue : [lodashExports.last(newValue)];
|
|
82705
82714
|
modelValue.value = newValue;
|
|
82706
82715
|
};
|
|
82707
82716
|
const boardStyle = computed(() => ({
|