@fuentis/phoenix-ui 0.0.9-alpha.633 → 0.0.9-alpha.635
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/fesm2022/fuentis-phoenix-ui.mjs +159 -10
- package/fesm2022/fuentis-phoenix-ui.mjs.map +1 -1
- package/index.d.ts +20 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -564,7 +564,8 @@ declare enum tableFilterType {
|
|
|
564
564
|
DATE = "date",
|
|
565
565
|
BOOLEAN = "boolean",
|
|
566
566
|
MULTISELECT = "multiselect",
|
|
567
|
-
COMPLETNESS = "completness"
|
|
567
|
+
COMPLETNESS = "completness",
|
|
568
|
+
RANGE = "range"
|
|
568
569
|
}
|
|
569
570
|
|
|
570
571
|
type SortOrder = 1 | -1;
|
|
@@ -774,6 +775,13 @@ declare class TableComponent implements OnChanges, OnDestroy {
|
|
|
774
775
|
selectedColumnsInput: any[];
|
|
775
776
|
tableConfiguration: TableConfiguration;
|
|
776
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;
|
|
777
785
|
actionClick: EventEmitter<any>;
|
|
778
786
|
rowSelection: EventEmitter<any>;
|
|
779
787
|
checkBoxSelection: EventEmitter<any>;
|
|
@@ -856,6 +864,17 @@ declare class TableComponent implements OnChanges, OnDestroy {
|
|
|
856
864
|
* - empty filters mean "match all"
|
|
857
865
|
*/
|
|
858
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;
|
|
859
878
|
/**
|
|
860
879
|
* Reads nested values using dot paths and unwraps `.key` when present.
|
|
861
880
|
*/
|