hamzus-ui 0.0.256 → 0.0.258
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/package.json
CHANGED
|
@@ -47,14 +47,6 @@
|
|
|
47
47
|
|
|
48
48
|
$: handleChange(search);
|
|
49
49
|
|
|
50
|
-
$: updateSelection(selection ?? null)
|
|
51
|
-
|
|
52
|
-
function updateSelection(selection) {
|
|
53
|
-
if (!isMounted) return;
|
|
54
|
-
|
|
55
|
-
onChange(selection);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
50
|
// fnctions
|
|
59
51
|
function formatInput(inputValue) {
|
|
60
52
|
// verifier que c est un nombre
|
|
@@ -65,7 +57,7 @@
|
|
|
65
57
|
if (!isMounted) {
|
|
66
58
|
return;
|
|
67
59
|
}
|
|
68
|
-
console.log(val);
|
|
60
|
+
// console.log(val);
|
|
69
61
|
|
|
70
62
|
// suprimmer les result
|
|
71
63
|
results = [];
|
|
@@ -145,10 +137,12 @@
|
|
|
145
137
|
}
|
|
146
138
|
|
|
147
139
|
selection = [...(selection ?? []), element];
|
|
140
|
+
onChange(selection)
|
|
148
141
|
return;
|
|
149
142
|
}
|
|
150
143
|
|
|
151
144
|
selection = element;
|
|
145
|
+
onChange(selection)
|
|
152
146
|
}
|
|
153
147
|
function handleDelete(data) {
|
|
154
148
|
if (!multiple) {
|