@club-employes/utopia 4.155.0 → 4.157.0
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.
|
@@ -2,6 +2,8 @@ import { ColumnType } from './types';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
column: ColumnType;
|
|
5
|
+
/** Affiche l'input/dropdown de recherche (contenu FilterCell). Contrôlé par table.searchable && column.searchable */
|
|
6
|
+
searchable: boolean;
|
|
5
7
|
filters: Record<string, any>;
|
|
6
8
|
};
|
|
7
9
|
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -49,15 +49,16 @@ export interface ColumnType {
|
|
|
49
49
|
*/
|
|
50
50
|
sortable?: boolean;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* Si
|
|
52
|
+
* Affiche l'input/dropdown de recherche (contenu FilterCell) pour cette colonne.
|
|
53
|
+
* Table prioritaire : si table.searchable est false, aucune colonne n'affiche la recherche.
|
|
54
|
+
* Si table.searchable est true, la colonne affiche la recherche sauf si column.searchable === false.
|
|
55
55
|
*/
|
|
56
56
|
searchable?: boolean;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
58
|
+
* Affiche le bouton filter icon (menu match mode) à côté de la recherche.
|
|
59
|
+
* N'a d'effet que si searchable est true (table et colonne).
|
|
60
|
+
* Table prioritaire : si table.filterable est false, aucun bouton n'est affiché.
|
|
61
|
+
* Si table.filterable est true, la colonne affiche le bouton sauf si column.filterable === false.
|
|
61
62
|
*/
|
|
62
63
|
filterable?: boolean;
|
|
63
64
|
/**
|
|
@@ -73,6 +74,11 @@ export interface ColumnType {
|
|
|
73
74
|
*/
|
|
74
75
|
reorderableColumn?: boolean;
|
|
75
76
|
filterMatchModeOptions?: ColumnFilterMatchModeOptions[];
|
|
77
|
+
/**
|
|
78
|
+
* Délai de debounce (ms) pour les filtres de type input (TEXT, EMAIL, NUMBER).
|
|
79
|
+
* Par défaut 300ms pour ces types. Mettre 0 pour désactiver le debounce.
|
|
80
|
+
*/
|
|
81
|
+
filterDebounceMs?: number;
|
|
76
82
|
showFilterMatchModes?: boolean;
|
|
77
83
|
showFilterOperator?: boolean;
|
|
78
84
|
showClearButton?: boolean;
|
|
@@ -482,6 +488,11 @@ export interface PriceContentType {
|
|
|
482
488
|
size?: TextSize;
|
|
483
489
|
weight?: TextWeight;
|
|
484
490
|
color?: string;
|
|
491
|
+
/** Labels pour le filtre Budget quand filterType === BUDGET */
|
|
492
|
+
budgetTitle?: string;
|
|
493
|
+
budgetMinLabel?: string;
|
|
494
|
+
budgetMaxLabel?: string;
|
|
495
|
+
budgetMax?: number;
|
|
485
496
|
}
|
|
486
497
|
export interface DateContentType {
|
|
487
498
|
key: string;
|
|
@@ -534,6 +545,11 @@ export interface ProgressBarContentType {
|
|
|
534
545
|
hideMax?: boolean;
|
|
535
546
|
showPercentage?: boolean;
|
|
536
547
|
loading?: boolean;
|
|
548
|
+
/** Labels pour le filtre Budget quand filterType === BUDGET */
|
|
549
|
+
budgetTitle?: string;
|
|
550
|
+
budgetMinLabel?: string;
|
|
551
|
+
budgetMaxLabel?: string;
|
|
552
|
+
budgetMax?: number;
|
|
537
553
|
}
|
|
538
554
|
export interface ActionsContentType {
|
|
539
555
|
key: string;
|
package/dist/icons-list.json
CHANGED