@club-employes/utopia 4.395.0 → 4.397.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.
- package/dist/components/molecules/Tree/Tree.d.ts +1 -0
- package/dist/components/molecules/Tree/__tests__/Tree.spec.d.ts +1 -0
- package/dist/components/molecules/Tree/types.d.ts +7 -0
- package/dist/components/organisms/Table/utils/hasAppliedRangeFilter.d.ts +8 -0
- package/dist/i18n/messages/fr.d.ts +0 -7
- package/dist/index.js +6053 -6041
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -29,6 +29,7 @@ declare const __VLS_component: DefineComponent<TreeProps, {
|
|
|
29
29
|
size: "sm" | "md" | "lg";
|
|
30
30
|
loading: boolean;
|
|
31
31
|
checkMode: "auto" | "manual";
|
|
32
|
+
propagateSelectionUp: boolean;
|
|
32
33
|
filterMode: "lenient" | "strict";
|
|
33
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
34
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -18,6 +18,13 @@ export interface TreeProps {
|
|
|
18
18
|
selectionKeys?: Record<string, TreeSelectionKey>;
|
|
19
19
|
selectionMode?: 'checkbox';
|
|
20
20
|
checkMode?: 'auto' | 'manual';
|
|
21
|
+
/**
|
|
22
|
+
* Quand un enfant est coché/décoché, répercute automatiquement l'état sur ses
|
|
23
|
+
* parents (checked/partialChecked recalculés à partir des enfants). Passer à
|
|
24
|
+
* `false` pour qu'un nœud parent coché reste inchangé tant qu'il n'est pas
|
|
25
|
+
* cliqué directement, indépendamment de l'état de ses enfants.
|
|
26
|
+
*/
|
|
27
|
+
propagateSelectionUp?: boolean;
|
|
21
28
|
loading?: boolean;
|
|
22
29
|
/** Affiche un champ de recherche au-dessus de l'arbre. */
|
|
23
30
|
filter?: boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Un filtre plage (Budget/Range/DateRange) est considéré "appliqué" si `modelValue` porte au
|
|
3
|
+
* moins une borne réelle — pas seulement "différent de `null`" : le variant `fromKey`/`toKey`
|
|
4
|
+
* (deux clés séparées, ex. filtre RANGE ou DATE_RANGE) renvoie un tableau `[min, max]` déjà non
|
|
5
|
+
* `null` même à l'état vide (`[null, null]`), contrairement au variant clé unique qui renvoie
|
|
6
|
+
* directement `null`.
|
|
7
|
+
*/
|
|
8
|
+
export declare function hasAppliedRangeFilter(value: unknown[] | string | number | null | undefined): boolean;
|
|
@@ -80,13 +80,6 @@ declare const _default: {
|
|
|
80
80
|
showMore: string;
|
|
81
81
|
showLess: string;
|
|
82
82
|
};
|
|
83
|
-
budgetFilterCell: {
|
|
84
|
-
budgetLabel: string;
|
|
85
|
-
budgetMinLabel: string;
|
|
86
|
-
budgetMaxLabel: string;
|
|
87
|
-
clearLabel: string;
|
|
88
|
-
confirmLabel: string;
|
|
89
|
-
};
|
|
90
83
|
cartPreview: {
|
|
91
84
|
title: string;
|
|
92
85
|
buttonLabel: string;
|