@fuentis/phoenix-ui 0.0.9-alpha.634 → 0.0.9-alpha.636

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/index.d.ts CHANGED
@@ -775,6 +775,13 @@ declare class TableComponent implements OnChanges, OnDestroy {
775
775
  selectedColumnsInput: any[];
776
776
  tableConfiguration: TableConfiguration;
777
777
  filters: any;
778
+ /**
779
+ * Filters passed down to table-caption.
780
+ * Identical to `filters`, except range filters get their numeric bounds
781
+ * (min/max) derived from the actual dataset so the slider reflects the
782
+ * real values present in the table. Explicit min/max in config still win.
783
+ */
784
+ computedFilters: any;
778
785
  actionClick: EventEmitter<any>;
779
786
  rowSelection: EventEmitter<any>;
780
787
  checkBoxSelection: EventEmitter<any>;
@@ -857,6 +864,17 @@ declare class TableComponent implements OnChanges, OnDestroy {
857
864
  * - empty filters mean "match all"
858
865
  */
859
866
  private getFilteredData;
867
+ /**
868
+ * Rebuild `computedFilters` from `filters`, deriving numeric bounds
869
+ * (min/max) for every range filter from the current dataset.
870
+ * An explicitly configured min/max always wins over the data-derived value.
871
+ */
872
+ private enrichRangeFilters;
873
+ /**
874
+ * Min/max numeric bounds for a field across originalData.
875
+ * Falls back to [0, 100] when no numeric values are present.
876
+ */
877
+ private computeDataBounds;
860
878
  /**
861
879
  * Reads nested values using dot paths and unwraps `.key` when present.
862
880
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuentis/phoenix-ui",
3
- "version": "0.0.9-alpha.634",
3
+ "version": "0.0.9-alpha.636",
4
4
  "description": "Phoenix UI Angular component library",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {