@club-employes/utopia 4.117.0 → 4.119.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.
@@ -0,0 +1,8 @@
1
+ import { FavoriteToggleProps } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<FavoriteToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4
+ "toggle-favorite": () => any;
5
+ }, string, PublicProps, Readonly<FavoriteToggleProps> & Readonly<{
6
+ "onToggle-favorite"?: (() => any) | undefined;
7
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
8
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as FavoriteToggle } from './FavoriteToggle';
2
+ export type { FavoriteToggleProps } from './types';
@@ -0,0 +1,3 @@
1
+ export interface FavoriteToggleProps {
2
+ isFavorite?: boolean;
3
+ }
@@ -25,3 +25,4 @@ export type IconName = string;
25
25
  export type IconSize = 'extra-small' | 'small' | 'medium' | 'large';
26
26
  export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'neutral' | 'current';
27
27
  export type Currency = '€' | '£';
28
+ export { FavoriteToggle, type FavoriteToggleProps } from './FavoriteToggle';
@@ -0,0 +1,19 @@
1
+ import { ProductImageProps } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<ProductImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4
+ "toggle-favorite": (payload: {
5
+ id: string;
6
+ newState: boolean;
7
+ }) => any;
8
+ }, string, PublicProps, Readonly<ProductImageProps> & Readonly<{
9
+ "onToggle-favorite"?: ((payload: {
10
+ id: string;
11
+ newState: boolean;
12
+ }) => any) | undefined;
13
+ }>, {
14
+ disabled: boolean;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
16
+ galleryRef: HTMLDivElement;
17
+ mainImageContainerRef: HTMLDivElement;
18
+ }, HTMLDivElement>;
19
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as ProductImage } from './ProductImage';
@@ -0,0 +1,8 @@
1
+ export interface ProductImageProps {
2
+ imagesUrls: string[];
3
+ id: string;
4
+ isFavorite: boolean;
5
+ alt: string;
6
+ fallbackImageUrl: string;
7
+ disabled?: boolean;
8
+ }
@@ -29,3 +29,5 @@ export { PriceSummary, type PriceSummaryProps } from './PriceSummary';
29
29
  export { GrantUsersSelection, type GrantUsersSelectionProps } from './GrantUsersSelection';
30
30
  export { FooterAction, type FooterActionProps } from './FooterAction';
31
31
  export { CounterButtons, type CounterButtonsProps } from './CounterButtons';
32
+ export { ProductImage } from './ProductImage';
33
+ export type { ProductImageProps } from './ProductImage';
@@ -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: (action: string) => any;
4
+ actionClicked: (payload: {
5
+ actionName: string;
6
+ data: any;
7
+ }) => any;
5
8
  }, string, PublicProps, Readonly<CellProps> & Readonly<{
6
- onActionClicked?: ((action: string) => any) | undefined;
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, emitPageChange: (value: number) => void, emitPageSizeChange: (value: number) => void, translations: ComputedRef<{
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;
@@ -1,5 +1,5 @@
1
1
  {
2
- "generated": "2026-01-27T20:24:41.792Z",
2
+ "generated": "2026-01-29T09:02:49.815Z",
3
3
  "count": 1239,
4
4
  "icons": [
5
5
  "Accessibility",
package/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ export type { TipsProps } from './components/atoms/Tips/types';
22
22
  export type { TextAreaProps } from './components/atoms/TextArea/types';
23
23
  export type { RadioBoxProps } from './components/atoms/RadioBox/types';
24
24
  export type { FilterButtonProps } from './components/atoms/FilterButton/types';
25
+ export type { FavoriteToggleProps } from './components/atoms/FavoriteToggle/types';
25
26
  export type { BottomSheetChangeReason, BottomSheetProps } from './components/molecules/BottomSheet/types';
26
27
  export type { DatePickerProps } from './components/molecules/DatePicker/types';
27
28
  export type { DropDownOption, DropDownProps } from './components/molecules/DropDown/types';
@@ -41,6 +42,7 @@ export type { PriceSummaryProps } from './components/molecules/PriceSummary/type
41
42
  export type { GrantUsersSelectionProps } from './components/molecules/GrantUsersSelection/types';
42
43
  export type { FooterActionProps } from './components/molecules/FooterAction/types';
43
44
  export type { CounterButtonsProps } from './components/molecules/CounterButtons/types';
45
+ export type { ProductImageProps } from './components/molecules/ProductImage/types';
44
46
  export type { BreadcrumbsItem, BreadcrumbsProps } from './components/organisms/Breadcrumbs/types';
45
47
  export type { Filter, FilterGroupProps, Sort } from './components/organisms/FilterGroup/types';
46
48
  export type { FilterPriceProps } from './components/organisms/FilterPrice/types';