@dative-gpi/foundation-core-components 0.0.110 → 0.0.111
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<FSAutocompleteField
|
|
3
3
|
:toggleSet="!$props.toggleSetDisabled && toggleSet"
|
|
4
|
+
:customFilter="customFilter"
|
|
4
5
|
:multiple="$props.multiple"
|
|
5
6
|
:items="userOrganisations"
|
|
6
7
|
:loading="loading"
|
|
@@ -147,6 +148,10 @@ export default defineComponent({
|
|
|
147
148
|
return getManyUserOrganisations({ ...props.userOrganisationFilters, search: search ?? undefined });
|
|
148
149
|
};
|
|
149
150
|
|
|
151
|
+
const customFilter = (label: any, search: string, item: any): boolean => {
|
|
152
|
+
return item.raw.name.toLowerCase().includes(search.toLowerCase());
|
|
153
|
+
};
|
|
154
|
+
|
|
150
155
|
const { toggleSet, search, init, onUpdate } = useAutocomplete(
|
|
151
156
|
userOrganisations,
|
|
152
157
|
[() => props.userOrganisationFilters],
|
|
@@ -163,7 +168,8 @@ export default defineComponent({
|
|
|
163
168
|
toggleSet,
|
|
164
169
|
loading,
|
|
165
170
|
search,
|
|
166
|
-
onUpdate
|
|
171
|
+
onUpdate,
|
|
172
|
+
customFilter
|
|
167
173
|
};
|
|
168
174
|
}
|
|
169
175
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-core-components",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.111",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dative-gpi/foundation-core-domain": "0.0.
|
|
14
|
-
"@dative-gpi/foundation-core-services": "0.0.
|
|
15
|
-
"@dative-gpi/foundation-shared-components": "0.0.
|
|
16
|
-
"@dative-gpi/foundation-shared-domain": "0.0.
|
|
17
|
-
"@dative-gpi/foundation-shared-services": "0.0.
|
|
13
|
+
"@dative-gpi/foundation-core-domain": "0.0.111",
|
|
14
|
+
"@dative-gpi/foundation-core-services": "0.0.111",
|
|
15
|
+
"@dative-gpi/foundation-shared-components": "0.0.111",
|
|
16
|
+
"@dative-gpi/foundation-shared-domain": "0.0.111",
|
|
17
|
+
"@dative-gpi/foundation-shared-services": "0.0.111",
|
|
18
18
|
"color": "^4.2.3",
|
|
19
19
|
"vue": "^3.4.23",
|
|
20
20
|
"vuedraggable": "^4.1.0"
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"sass": "^1.69.5",
|
|
25
25
|
"sass-loader": "^13.3.2"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "6856c1334706daad1394d57eeb456f1f4497389e"
|
|
28
28
|
}
|