@club-employes/utopia 4.180.0 → 4.181.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.
@@ -16,8 +16,8 @@ declare const __VLS_component: DefineComponent<TextProps, {}, {}, {}, {}, Compon
16
16
  as: TextTag;
17
17
  align: TextAlign;
18
18
  weight: TextWeight;
19
- family: "sans" | "mono" | string;
20
19
  tooltipWhenTruncated: boolean;
20
+ family: "sans" | "mono" | string;
21
21
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
22
22
  textRef: unknown;
23
23
  }, any>;
@@ -65,8 +65,8 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
65
65
  as: TextTag;
66
66
  align: TextAlign;
67
67
  weight: TextWeight;
68
- family: "sans" | "mono" | string;
69
68
  tooltipWhenTruncated: boolean;
69
+ family: "sans" | "mono" | string;
70
70
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
71
71
  beforeCreate?: (() => void) | (() => void)[];
72
72
  created?: (() => void) | (() => void)[];
@@ -91,9 +91,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
91
91
  as: TextTag;
92
92
  align: TextAlign;
93
93
  weight: TextWeight;
94
- family: "sans" | "mono" | string;
95
94
  tooltipWhenTruncated: boolean;
96
- }> & Omit<Readonly< TextProps> & Readonly<{}>, "as" | "align" | "weight" | "family" | "tooltipWhenTruncated"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
95
+ family: "sans" | "mono" | string;
96
+ }> & Omit<Readonly< TextProps> & Readonly<{}>, "as" | "align" | "weight" | "tooltipWhenTruncated" | "family"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
97
97
  $slots: {
98
98
  default?(_: {}): any;
99
99
  default?(_: {}): any;
@@ -22,6 +22,7 @@ declare const __VLS_component: DefineComponent<InputSearchProps, {}, {}, {}, {},
22
22
  }>, {
23
23
  message: string;
24
24
  size: "extra-small" | "small" | "medium" | "large";
25
+ type: "text" | "number";
25
26
  disabled: boolean;
26
27
  modelValue: string;
27
28
  state: "default" | "error" | "valid";
@@ -9,6 +9,7 @@ export interface InputSearchProps {
9
9
  placeholder?: string;
10
10
  /** Placeholder du dropdown quand aucun champ n'est sélectionné */
11
11
  size?: 'extra-small' | 'small' | 'medium' | 'large';
12
+ type?: 'text' | 'number';
12
13
  disabled?: boolean;
13
14
  /** État du champ recherche */
14
15
  state?: 'default' | 'error' | 'valid';
@@ -8,5 +8,5 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
8
8
  "update:modelValue": (value: string) => any;
9
9
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
10
10
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
12
12
  export default _default;
@@ -97,8 +97,12 @@ export interface ColumnType {
97
97
  showClearButton?: boolean;
98
98
  showApplyButton?: boolean;
99
99
  excludeGlobalFilter?: boolean;
100
+ /** Largeur fixe de la colonne (ex: '200px'). Si défini, minWidth/maxWidth sont ignorés pour cette colonne. */
101
+ width?: string;
100
102
  /** Largeur minimale de la colonne (ex: '200px') */
101
103
  minWidth?: string;
104
+ /** Largeur maximale de la colonne (ex: '200px') */
105
+ maxWidth?: string;
102
106
  /** Alignement du contenu dans les cellules */
103
107
  align?: 'left' | 'center' | 'right';
104
108
  hasHeaderTooltip?: boolean;
@@ -433,6 +437,10 @@ export interface TextImageContentType {
433
437
  size?: TextSize;
434
438
  weight?: TextWeight;
435
439
  color?: string;
440
+ lines?: number;
441
+ truncate?: boolean;
442
+ noWrap?: boolean;
443
+ tooltipWhenTruncated?: boolean;
436
444
  /**
437
445
  * Reçoit une valeur si key est string, ou un argument par clé si key est string[] (dans le même ordre).
438
446
  * Ex. key: ['name', 'lastName'] → format(name, lastName) => `${name} Qte: (${String(lastName).toUpperCase()})`
@@ -451,6 +459,10 @@ export interface TextImageContentType {
451
459
  size?: TextSize;
452
460
  weight?: TextWeight;
453
461
  color?: string;
462
+ lines?: number;
463
+ truncate?: boolean;
464
+ noWrap?: boolean;
465
+ tooltipWhenTruncated?: boolean;
454
466
  /** Une valeur si key est string, plusieurs arguments si key est string[]. */
455
467
  format?: (...values: (string | number | boolean | null | undefined)[]) => string | number | boolean | null | undefined;
456
468
  icon?: {
@@ -466,6 +478,10 @@ export interface TextImageContentType {
466
478
  size?: TextSize;
467
479
  weight?: TextWeight;
468
480
  color?: string;
481
+ lines?: number;
482
+ truncate?: boolean;
483
+ noWrap?: boolean;
484
+ tooltipWhenTruncated?: boolean;
469
485
  /** Une valeur si key est string, plusieurs arguments si key est string[]. */
470
486
  format?: (...values: (string | number | boolean | null | undefined)[]) => string | number | boolean | null | undefined;
471
487
  icon?: {