@odoo/o-spreadsheet 18.4.0-alpha.7 → 18.4.0-alpha.8

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,9 +1,9 @@
1
1
  <!--
2
2
  This file is generated by o-spreadsheet build tools. Do not edit it.
3
3
  @see https://github.com/odoo/o-spreadsheet
4
- @version 18.4.0-alpha.7
5
- @date 2025-06-06T09:33:32.216Z
6
- @hash 2bfbe64
4
+ @version 18.4.0-alpha.8
5
+ @date 2025-06-12T09:54:36.987Z
6
+ @hash 9b7a8d0
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -5762,7 +5762,7 @@
5762
5762
  class="w-100 o-input my-2"
5763
5763
  t-ref="filterMenuSearchBar"
5764
5764
  type="text"
5765
- t-model="state.textFilter"
5765
+ t-on-input="updateSearch"
5766
5766
  placeholder="Search..."
5767
5767
  t-on-keydown="onKeyDown"
5768
5768
  />
@@ -5775,7 +5775,7 @@
5775
5775
  t-ref="filterValueList"
5776
5776
  t-on-click="this.clearScrolledToValue"
5777
5777
  t-on-scroll="this.clearScrolledToValue">
5778
- <t t-foreach="displayedValues" t-as="value" t-key="value.string">
5778
+ <t t-foreach="state.displayedValues" t-as="value" t-key="value.string">
5779
5779
  <FilterMenuValueItem
5780
5780
  onClick="() => this.checkValue(value)"
5781
5781
  onMouseMove="() => this.onMouseMove(value)"
@@ -5786,7 +5786,13 @@
5786
5786
  />
5787
5787
  </t>
5788
5788
  <div
5789
- t-if="displayedValues.length === 0"
5789
+ t-if="state.hasMoreValues"
5790
+ class="o-filter-load-more o-button-link d-flex justify-content-center py-1"
5791
+ t-on-click="this.loadMoreValues">
5792
+ Load more...
5793
+ </div>
5794
+ <div
5795
+ t-if="state.displayedValues.length === 0"
5790
5796
  class="o-filter-menu-no-values d-flex align-items-center justify-content-center w-100 h-100 ">
5791
5797
  No results
5792
5798
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.4.0-alpha.7",
3
+ "version": "18.4.0-alpha.8",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",