@club-employes/utopia 4.84.0 → 4.86.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.
@@ -6,6 +6,7 @@ interface Props {
6
6
  declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  slots: {
9
+ header?(_: {}): any;
9
10
  header?(_: {}): any;
10
11
  'nav-items'?(_: {
11
12
  collapsed: boolean;
@@ -1,4 +1,6 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
+ import { TextTag, TextWeight, TextAlign, TextTransform, TextSize, TextProps } from '../../atoms/Text/types';
3
+ import { OnCleanup } from '@vue/reactivity';
2
4
  interface Props {
3
5
  campaignName: string;
4
6
  category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport';
@@ -21,6 +23,72 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
21
23
  currency: string;
22
24
  expiredLabel: string;
23
25
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
24
- titleRef: HTMLHeadingElement;
26
+ titleRef: ({
27
+ $: ComponentInternalInstance;
28
+ $data: {};
29
+ $props: {
30
+ readonly as?: TextTag | undefined;
31
+ readonly family?: "sans" | "mono" | string | undefined;
32
+ readonly weight?: TextWeight | undefined;
33
+ readonly align?: TextAlign | undefined;
34
+ readonly transform?: TextTransform | undefined;
35
+ readonly truncate?: boolean | undefined;
36
+ readonly noWrap?: boolean | undefined;
37
+ readonly variant?: "h1Modal | h2Modal" | undefined;
38
+ readonly size?: TextSize | undefined;
39
+ readonly color?: string | undefined;
40
+ readonly underline?: boolean | undefined;
41
+ readonly italic?: boolean | undefined;
42
+ readonly strike?: boolean | undefined;
43
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
44
+ $attrs: {
45
+ [x: string]: unknown;
46
+ };
47
+ $refs: {
48
+ [x: string]: unknown;
49
+ };
50
+ $slots: Readonly<{
51
+ [name: string]: Slot<any> | undefined;
52
+ }>;
53
+ $root: ComponentPublicInstance | null;
54
+ $parent: ComponentPublicInstance | null;
55
+ $host: Element | null;
56
+ $emit: (event: string, ...args: any[]) => void;
57
+ $el: any;
58
+ $options: ComponentOptionsBase<Readonly< TextProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
59
+ as: TextTag;
60
+ align: TextAlign;
61
+ weight: TextWeight;
62
+ family: "sans" | "mono" | string;
63
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
64
+ beforeCreate?: (() => void) | (() => void)[];
65
+ created?: (() => void) | (() => void)[];
66
+ beforeMount?: (() => void) | (() => void)[];
67
+ mounted?: (() => void) | (() => void)[];
68
+ beforeUpdate?: (() => void) | (() => void)[];
69
+ updated?: (() => void) | (() => void)[];
70
+ activated?: (() => void) | (() => void)[];
71
+ deactivated?: (() => void) | (() => void)[];
72
+ beforeDestroy?: (() => void) | (() => void)[];
73
+ beforeUnmount?: (() => void) | (() => void)[];
74
+ destroyed?: (() => void) | (() => void)[];
75
+ unmounted?: (() => void) | (() => void)[];
76
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
77
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
78
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
79
+ };
80
+ $forceUpdate: () => void;
81
+ $nextTick: nextTick;
82
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
83
+ } & Readonly<{
84
+ as: TextTag;
85
+ align: TextAlign;
86
+ weight: TextWeight;
87
+ family: "sans" | "mono" | string;
88
+ }> & Omit<Readonly< TextProps> & Readonly<{}>, "as" | "align" | "weight" | "family"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
89
+ $slots: {
90
+ default?(_: {}): any;
91
+ };
92
+ }) | null;
25
93
  }, HTMLDivElement>;
26
94
  export default _default;
@@ -1,19 +1,6 @@
1
+ import { BalanceCardGroupProps } from './types';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface BalanceCardData {
3
- campaignName: string;
4
- category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport';
5
- totalAmount: number;
6
- amount: number;
7
- campaignCount: number;
8
- actionable?: () => void;
9
- disabled?: boolean;
10
- }
11
- interface Props {
12
- cards: BalanceCardData[];
13
- language?: 'fr' | 'en';
14
- currency?: string;
15
- }
16
- declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
3
+ declare const _default: DefineComponent<BalanceCardGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BalanceCardGroupProps> & Readonly<{}>, {
17
4
  language: "fr" | "en";
18
5
  currency: string;
19
6
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -1,3 +1,4 @@
1
+ export type CampaignCategory = 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport';
1
2
  export interface BalanceCardGroupProps {
2
3
  cards: BalanceCardData[];
3
4
  language?: 'fr' | 'en';
@@ -5,7 +6,7 @@ export interface BalanceCardGroupProps {
5
6
  }
6
7
  export interface BalanceCardData {
7
8
  campaignName: string;
8
- category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport';
9
+ category: CampaignCategory;
9
10
  totalAmount: number;
10
11
  amount: number;
11
12
  campaignCount: number;
@@ -1,5 +1,5 @@
1
1
  {
2
- "generated": "2026-01-08T13:37:18.148Z",
2
+ "generated": "2026-01-09T14:02:58.542Z",
3
3
  "count": 1239,
4
4
  "icons": [
5
5
  "Accessibility",