@club-employes/utopia 4.145.0 → 4.147.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/Table/types.d.ts +4 -11
- package/dist/components/organisms/index.d.ts +1 -1
- package/dist/composables/useTableFilters.d.ts +3 -3
- package/dist/composables/useTableRequestData.d.ts +6 -1
- package/dist/icons-list.json +1 -1
- package/dist/index.d.ts +27 -26
- package/dist/index.js +5565 -5549
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -564,14 +564,6 @@ export interface SortConfig {
|
|
|
564
564
|
field: string;
|
|
565
565
|
order: 1 | -1;
|
|
566
566
|
}
|
|
567
|
-
/**
|
|
568
|
-
* Type pour représenter un filtre actif (uniquement les colonnes avec un filtrage non vide)
|
|
569
|
-
*/
|
|
570
|
-
export interface ActiveFilter {
|
|
571
|
-
columnKey: string;
|
|
572
|
-
value: string | boolean | number | Date[] | Date | null | undefined;
|
|
573
|
-
matchMode: MatchMode;
|
|
574
|
-
}
|
|
575
567
|
/**
|
|
576
568
|
* Type pour représenter l'ordre des colonnes
|
|
577
569
|
*/
|
|
@@ -588,12 +580,13 @@ export interface ColumnOrder {
|
|
|
588
580
|
*/
|
|
589
581
|
export interface TableRequestData {
|
|
590
582
|
columnOrder: ColumnOrder[];
|
|
583
|
+
activatedColumns: string[];
|
|
591
584
|
pagination: {
|
|
592
585
|
currentPage: number;
|
|
593
586
|
pageSize: number;
|
|
587
|
+
totalPages: number;
|
|
594
588
|
};
|
|
589
|
+
totalRecords: number;
|
|
595
590
|
sort: SortConfig[];
|
|
596
|
-
filters:
|
|
597
|
-
columns: ActiveFilter[];
|
|
598
|
-
};
|
|
591
|
+
filters: DataTableFilterMeta;
|
|
599
592
|
}
|
|
@@ -6,7 +6,7 @@ export { FilterPrice } from './FilterPrice';
|
|
|
6
6
|
export { PageNavigation } from './PageNavigation';
|
|
7
7
|
export { MyEditor, HtmlPreview, renderProseMirrorToHtml, type MyEditorProps } from './MyEditor';
|
|
8
8
|
export { Table } from './Table';
|
|
9
|
-
export type { TableProps, ColumnType, CellEditorProps, CellProps, CellContentType, CellFilterType, TableRequestData, SortConfig,
|
|
9
|
+
export type { TableProps, ColumnType, CellEditorProps, CellProps, CellContentType, CellFilterType, TableRequestData, SortConfig, ColumnOrder, MatchMode, ErrorType, TableRowData, TextImageContentType, TagContentType, PriceContentType, DateContentType, DateRangeContentType, DropdownContentType, ProgressBarContentType, ActionsContentType, ActionContentType, ToggleContentType } from './Table';
|
|
10
10
|
export { DropFile } from './DropFile';
|
|
11
11
|
export type { DropFileProps, DropFileVariant, DropFileErrorCode, DropFileFileData, DropFileDropEvent, DropFileErrorEvent } from './DropFile';
|
|
12
12
|
export { FilterGroup } from './FilterGroup';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
1
|
+
import { MaybeRefOrGetter, Ref } from 'vue';
|
|
2
2
|
import { ColumnFilterMatchModeOptions } from 'primevue/column';
|
|
3
3
|
import { ColumnType } from '../components/organisms/Table/types';
|
|
4
4
|
export interface UseTableFiltersReturn {
|
|
@@ -6,6 +6,6 @@ export interface UseTableFiltersReturn {
|
|
|
6
6
|
doUpdateFilter: (filter: Record<string, any>) => void;
|
|
7
7
|
getFilterOptions: (col: ColumnType) => ColumnFilterMatchModeOptions[];
|
|
8
8
|
}
|
|
9
|
-
export declare function useTableFilters(initialFilters: Record<string, any>, emit: (value: Record<string, any>) => void, translations: {
|
|
9
|
+
export declare function useTableFilters(initialFilters: Record<string, any>, columns: MaybeRefOrGetter<ColumnType[]>, emit: (value: Record<string, any>) => void, translations: {
|
|
10
10
|
filter: Record<string, string>;
|
|
11
|
-
}): UseTableFiltersReturn;
|
|
11
|
+
}, isColumnFilterable: (col: ColumnType) => boolean): UseTableFiltersReturn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
1
|
+
import { ComputedRef, MaybeRefOrGetter, Ref } from 'vue';
|
|
2
2
|
import { TableRequestData, SortConfig } from '../components/organisms/Table/types';
|
|
3
3
|
export interface UseTableRequestDataOptions {
|
|
4
4
|
localColumns: Ref<Array<{
|
|
@@ -9,6 +9,11 @@ export interface UseTableRequestDataOptions {
|
|
|
9
9
|
currentSort: Ref<SortConfig[]>;
|
|
10
10
|
internalCurrentPage: Ref<number>;
|
|
11
11
|
internalPageSize: Ref<number>;
|
|
12
|
+
internalActivatedColumns: Ref<string[]>;
|
|
13
|
+
paginationOptions: MaybeRefOrGetter<{
|
|
14
|
+
totalRecords?: number;
|
|
15
|
+
totalPages?: number;
|
|
16
|
+
}>;
|
|
12
17
|
}
|
|
13
18
|
export interface UseTableRequestDataReturn {
|
|
14
19
|
requestData: ComputedRef<TableRequestData>;
|
package/dist/icons-list.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,67 +1,68 @@
|
|
|
1
|
+
export { FilterMatchMode, FilterOperator } from '@primevue/core/api';
|
|
1
2
|
export { ThemeProvider } from './theme-provider';
|
|
2
3
|
export type { ThemeConfig, ThemeProviderProps } from './theme-provider';
|
|
3
4
|
export * from './components';
|
|
4
5
|
export { Skeleton, SkeletonAvatar, SkeletonText } from './components/atoms/Skeleton';
|
|
5
6
|
export { DefaultLayout, Header, Menu, NavItem } from './components/layouts';
|
|
6
|
-
export { BalanceCard, BalanceCardGroup,
|
|
7
|
+
export { BalanceCard, BalanceCardGroup, HtmlPreview, MyEditor, renderProseMirrorToHtml } from './components/organisms';
|
|
7
8
|
export type { BalanceCardData, BalanceCardGroupProps, BalanceCardProps } from './components/organisms';
|
|
8
9
|
export { Loader } from './components/templates';
|
|
9
10
|
export type { ButtonProps } from './components/atoms/Button/types';
|
|
10
11
|
export type { CardProps } from './components/atoms/Card/types';
|
|
11
12
|
export type { CheckboxProps } from './components/atoms/Checkbox/types';
|
|
12
13
|
export type { ChipProps } from './components/atoms/Chip/types';
|
|
14
|
+
export type { FavoriteToggleProps } from './components/atoms/FavoriteToggle/types';
|
|
15
|
+
export type { FilterButtonProps } from './components/atoms/FilterButton/types';
|
|
13
16
|
export type { InputTextProps } from './components/atoms/InputText/types';
|
|
14
17
|
export type { LinkProps } from './components/atoms/Link/types';
|
|
15
18
|
export type { LogoProps } from './components/atoms/Logo/types';
|
|
16
|
-
export type { SkeletonAvatarProps, SkeletonProps, SkeletonTextProps } from './components/atoms/Skeleton/types';
|
|
17
|
-
export type { SwitchProps } from './components/atoms/Switch/types';
|
|
18
19
|
export type { ProgressBarProps } from './components/atoms/ProgressBar/types';
|
|
19
|
-
export type {
|
|
20
|
+
export type { RadioBoxProps } from './components/atoms/RadioBox/types';
|
|
20
21
|
export type { SectionTitleProps } from './components/atoms/SectionTitle/types';
|
|
21
|
-
export type {
|
|
22
|
+
export type { SkeletonAvatarProps, SkeletonProps, SkeletonTextProps } from './components/atoms/Skeleton/types';
|
|
23
|
+
export type { StepperProps } from './components/atoms/Stepper/types';
|
|
24
|
+
export type { SwitchProps } from './components/atoms/Switch/types';
|
|
22
25
|
export type { TextAreaProps } from './components/atoms/TextArea/types';
|
|
23
|
-
export type {
|
|
24
|
-
export type { FilterButtonProps } from './components/atoms/FilterButton/types';
|
|
25
|
-
export type { FavoriteToggleProps } from './components/atoms/FavoriteToggle/types';
|
|
26
|
+
export type { TipsProps } from './components/atoms/Tips/types';
|
|
26
27
|
export type { WarningBlockProps } from './components/atoms/WarningBlock/types';
|
|
27
28
|
export type { BottomSheetChangeReason, BottomSheetProps } from './components/molecules/BottomSheet/types';
|
|
29
|
+
export type { CounterButtonsProps } from './components/molecules/CounterButtons/types';
|
|
28
30
|
export type { DatePickerProps } from './components/molecules/DatePicker/types';
|
|
29
31
|
export type { DropDownOption, DropDownProps } from './components/molecules/DropDown/types';
|
|
30
32
|
export type { ErrorStateProps, FeedbackStateProps } from './components/molecules/FeedbackState/types';
|
|
31
33
|
export type { FilterChipProps } from './components/molecules/FilterChip/types';
|
|
34
|
+
export type { FilterLocationProps } from './components/molecules/FilterLocation/types';
|
|
32
35
|
export type { FilterSelectOption, FilterSelectProps } from './components/molecules/FilterSelect/types';
|
|
36
|
+
export type { FooterActionProps } from './components/molecules/FooterAction/types';
|
|
37
|
+
export type { FormGroupProps } from './components/molecules/FormGroup/types';
|
|
38
|
+
export type { GrantUsersSelectionProps } from './components/molecules/GrantUsersSelection/types';
|
|
39
|
+
export type { IconPickerProps } from './components/molecules/IconPicker/types';
|
|
33
40
|
export type { InputCodeProps } from './components/molecules/InputCode/types';
|
|
34
41
|
export type { InputPhoneProps } from './components/molecules/InputPhone/types';
|
|
35
42
|
export type { ModalChangeReason, ModalProps } from './components/molecules/Modal/types';
|
|
36
|
-
export type {
|
|
37
|
-
export type {
|
|
38
|
-
export type { FilterLocationProps } from './components/molecules/FilterLocation/types';
|
|
43
|
+
export type { MultiSelectProps } from './components/molecules/MultiSelect/types';
|
|
44
|
+
export type { OptionSelectProps } from './components/molecules/OptionSelect/types';
|
|
39
45
|
export { PageHeader } from './components/molecules/PageHeader';
|
|
40
46
|
export type { PageHeaderProps } from './components/molecules/PageHeader/types';
|
|
41
|
-
export type { RadioCardProps } from './components/molecules/RadioCard/types';
|
|
42
47
|
export type { PriceSummaryProps } from './components/molecules/PriceSummary/types';
|
|
43
|
-
export type {
|
|
44
|
-
export type { FooterActionProps } from './components/molecules/FooterAction/types';
|
|
45
|
-
export type { CounterButtonsProps } from './components/molecules/CounterButtons/types';
|
|
48
|
+
export type { PriceTagProps } from './components/molecules/PriceTag/types';
|
|
46
49
|
export type { ProductImageProps } from './components/molecules/ProductImage/types';
|
|
47
|
-
export type {
|
|
48
|
-
export type {
|
|
49
|
-
export type {
|
|
50
|
-
export type {
|
|
50
|
+
export type { RadioCardProps } from './components/molecules/RadioCard/types';
|
|
51
|
+
export type { TooltipProps } from './components/molecules/Tooltip/types';
|
|
52
|
+
export type { AuthLayoutProps } from './components/layouts/AuthLayout/types';
|
|
53
|
+
export type { AccordionItemProps, AccordionProps } from './components/organisms/Accordion/types';
|
|
51
54
|
export type { BreadcrumbsItem, BreadcrumbsProps } from './components/organisms/Breadcrumbs/types';
|
|
55
|
+
export type { DropFileProps } from './components/organisms/DropFile/types';
|
|
52
56
|
export type { Filter, FilterGroupProps, Sort } from './components/organisms/FilterGroup/types';
|
|
53
57
|
export type { FilterPriceProps } from './components/organisms/FilterPrice/types';
|
|
58
|
+
export type { MenuSectionItem } from './components/organisms/MenuSection/types';
|
|
59
|
+
export type { MyEditorProps } from './components/organisms/MyEditor/types';
|
|
54
60
|
export type { PageNavigationProps } from './components/organisms/PageNavigation/types';
|
|
55
61
|
export type { ProductCardProps } from './components/organisms/ProductCard/types';
|
|
56
|
-
export type {
|
|
57
|
-
export type { TableProps, ColumnType, CellProps, CellContent, MatchMode, TableRequestData, SortConfig, ActiveFilter, ColumnOrder } from './components/organisms/Table/types';
|
|
62
|
+
export type { ProductSummaryProps } from './components/organisms/ProductSummary/types';
|
|
58
63
|
export { CellContentType, CellFilterType } from './components/organisms/Table';
|
|
59
|
-
export type {
|
|
60
|
-
export type { AccordionProps, AccordionItemProps } from './components/organisms/Accordion/types';
|
|
64
|
+
export type { CellContent, CellProps, ColumnOrder, ColumnType, MatchMode, SortConfig, TableProps, TableRequestData } from './components/organisms/Table/types';
|
|
61
65
|
export type { TransactionProps } from './components/organisms/Transaction/types';
|
|
62
|
-
export type { MenuSectionItem } from './components/organisms/MenuSection/types';
|
|
63
|
-
export type { ProductSummaryProps } from './components/organisms/ProductSummary/types';
|
|
64
|
-
export type { AuthLayoutProps } from './components/layouts/AuthLayout/types';
|
|
65
66
|
export { clubEmployesDark, clubEmployesLight } from './themes/club-employes';
|
|
66
67
|
export { gifteoDark, gifteoLight } from './themes/gifteo';
|
|
67
68
|
export type { LoaderProps } from './components/templates/Loader/types';
|