@optionfactory/ful 4.0.10 → 4.0.11
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/ful.iife.js +5 -2
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +5 -2
- package/dist/ful.mjs.map +1 -1
- package/package.json +1 -1
package/dist/ful.mjs
CHANGED
|
@@ -1995,7 +1995,9 @@ class Select extends ParsedElement {
|
|
|
1995
1995
|
this.#changed();
|
|
1996
1996
|
this.#syncBadges();
|
|
1997
1997
|
});
|
|
1998
|
-
|
|
1998
|
+
this.#input.addEventListener('change', e => {
|
|
1999
|
+
e.stopPropagation();
|
|
2000
|
+
});
|
|
1999
2001
|
this.#input.addEventListener('blur', e => {
|
|
2000
2002
|
e.stopPropagation();
|
|
2001
2003
|
if (e.relatedTarget && this.contains(e.relatedTarget)) {
|
|
@@ -2061,6 +2063,7 @@ class Select extends ParsedElement {
|
|
|
2061
2063
|
this.#syncBadges();
|
|
2062
2064
|
this.#input.focus();
|
|
2063
2065
|
this.#ddmenu.hide();
|
|
2066
|
+
this.#input.value = '';
|
|
2064
2067
|
});
|
|
2065
2068
|
this.replaceChildren(fragment);
|
|
2066
2069
|
}
|
|
@@ -2577,7 +2580,7 @@ class RemoteTableLoader {
|
|
|
2577
2580
|
return await this.#http.request(this.#method, this.#url)
|
|
2578
2581
|
.param("page", pageRequest.page)
|
|
2579
2582
|
.param("size", pageRequest.size)
|
|
2580
|
-
.param("sort", sortRequest
|
|
2583
|
+
.param("sort", sortRequest ? `${sortRequest.sorter},${sortRequest.order}` : null)
|
|
2581
2584
|
.param("filters", filters.length > 0 ? JSON.stringify(Object.fromEntries(filters)) : null)
|
|
2582
2585
|
.fetchJson();
|
|
2583
2586
|
}
|