@club-employes/utopia 4.116.0 → 4.118.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/organisms/BalanceCard/BalanceCard.d.ts +1 -1
- package/dist/components/organisms/BalanceCardGroup/types.d.ts +1 -1
- package/dist/components/organisms/Table/DataCell.d.ts +2 -2
- package/dist/components/organisms/Table/Table.d.ts +3 -2
- package/dist/components/organisms/Table/renderers/data/ActionsCell.d.ts +8 -2
- package/dist/composables/useTablePagination.d.ts +1 -1
- package/dist/dark-CsqziQn2.js +4 -0
- package/dist/dark-hg9ogaQ1.js +4 -0
- package/dist/icons-list.json +1 -1
- package/dist/index.js +5591 -5520
- package/dist/light-BAgAqzzc.js +4 -0
- package/dist/light-CGW6cDqC.js +4 -0
- package/dist/tokens/club-employes/dark.css +708 -31
- package/dist/tokens/club-employes/dark.js +708 -31
- package/dist/tokens/club-employes/light.css +702 -25
- package/dist/tokens/club-employes/light.js +702 -25
- package/dist/tokens/gifteo/dark.css +720 -53
- package/dist/tokens/gifteo/dark.js +720 -53
- package/dist/tokens/gifteo/light.css +714 -47
- package/dist/tokens/gifteo/light.js +714 -47
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
- package/dist/dark-BaXwRrGN.js +0 -4
- package/dist/dark-Cs0vKpZt.js +0 -4
- package/dist/light-BgwEUqT3.js +0 -4
- package/dist/light-DGbVygBu.js +0 -4
|
@@ -3,7 +3,7 @@ import { TextTag, TextWeight, TextAlign, TextTransform, TextSize, TextProps } fr
|
|
|
3
3
|
import { OnCleanup } from '@vue/reactivity';
|
|
4
4
|
interface Props {
|
|
5
5
|
campaignName: string;
|
|
6
|
-
category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport';
|
|
6
|
+
category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport' | 'vacances' | 'autres';
|
|
7
7
|
totalAmount: number;
|
|
8
8
|
spentAmount: number;
|
|
9
9
|
expirationDate: string | Date;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type CampaignCategory = 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport';
|
|
1
|
+
export type CampaignCategory = 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport' | 'vacances' | 'autres';
|
|
2
2
|
export interface BalanceCardGroupProps {
|
|
3
3
|
cards: BalanceCardData[];
|
|
4
4
|
language?: 'fr' | 'en';
|
|
@@ -11,9 +11,9 @@ declare function __VLS_template(): {
|
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
13
|
declare const __VLS_component: DefineComponent<CellProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
-
"action-clicked": (action: string) => any;
|
|
14
|
+
"action-clicked": (action: string, data: any) => any;
|
|
15
15
|
}, string, PublicProps, Readonly<CellProps> & Readonly<{
|
|
16
|
-
"onAction-clicked"?: ((action: string) => any) | undefined;
|
|
16
|
+
"onAction-clicked"?: ((action: string, data: any) => any) | undefined;
|
|
17
17
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
19
|
export default _default;
|
|
@@ -5,6 +5,7 @@ type __VLS_Props = TableProps<any>;
|
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
attrs: Partial<{}>;
|
|
7
7
|
slots: {
|
|
8
|
+
empty?(_: {}): any;
|
|
8
9
|
'custom-cell'?(_: {
|
|
9
10
|
data: any;
|
|
10
11
|
columnConfig: any;
|
|
@@ -30,13 +31,12 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
30
31
|
dataKey: string;
|
|
31
32
|
currentPage: number;
|
|
32
33
|
pageSize: number;
|
|
33
|
-
totalPages: number;
|
|
34
|
-
totalRecords: number;
|
|
35
34
|
sortable: boolean;
|
|
36
35
|
searchable: boolean;
|
|
37
36
|
filterable: boolean;
|
|
38
37
|
editable: boolean;
|
|
39
38
|
rows: number;
|
|
39
|
+
totalPages: number;
|
|
40
40
|
lazy: boolean;
|
|
41
41
|
isCsvDataCheckMode: boolean;
|
|
42
42
|
filters: DataTableFilterMeta;
|
|
@@ -53,6 +53,7 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
53
53
|
rowsPerPageOptions: number[];
|
|
54
54
|
columns: ColumnType[];
|
|
55
55
|
activatedColumns: string[];
|
|
56
|
+
totalRecords: number;
|
|
56
57
|
sortMode: "single" | "multiple";
|
|
57
58
|
rowHover: boolean;
|
|
58
59
|
editMode: "cell" | "row";
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { CellProps } from '../../types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<CellProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
-
actionClicked: (
|
|
4
|
+
actionClicked: (payload: {
|
|
5
|
+
actionName: string;
|
|
6
|
+
data: any;
|
|
7
|
+
}) => any;
|
|
5
8
|
}, string, PublicProps, Readonly<CellProps> & Readonly<{
|
|
6
|
-
onActionClicked?: ((
|
|
9
|
+
onActionClicked?: ((payload: {
|
|
10
|
+
actionName: string;
|
|
11
|
+
data: any;
|
|
12
|
+
}) => any) | undefined;
|
|
7
13
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
14
|
export default _default;
|
|
@@ -12,7 +12,7 @@ export interface UseTablePaginationReturn {
|
|
|
12
12
|
handlePageSizeChange: (size: number) => void;
|
|
13
13
|
footerDetails: ComputedRef<string>;
|
|
14
14
|
}
|
|
15
|
-
export declare function useTablePagination(options: UseTablePaginationOptions
|
|
15
|
+
export declare function useTablePagination(options: UseTablePaginationOptions | ComputedRef<UseTablePaginationOptions>, emitPageChange: (value: number) => void, emitPageSizeChange: (value: number) => void, translations: ComputedRef<{
|
|
16
16
|
to: string;
|
|
17
17
|
elements: string;
|
|
18
18
|
}>): UseTablePaginationReturn;
|