@club-employes/utopia 4.157.0 → 4.158.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,16 @@
1
+ import { TableEmptyStateProps } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<TableEmptyStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4
+ action: () => any;
5
+ }, string, PublicProps, Readonly<TableEmptyStateProps> & Readonly<{
6
+ onAction?: (() => any) | undefined;
7
+ }>, {
8
+ title: string;
9
+ icon: string;
10
+ loading: boolean;
11
+ state: "NO_RESULTS_FOR_SEARCH" | "NO_DATA";
12
+ description: string;
13
+ actionLabel: string;
14
+ context: "USERS" | "CAMPAIGNS" | "RESTAURANTS";
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
16
+ export default _default;
@@ -1,3 +1,4 @@
1
1
  export { default as Table } from './Table';
2
- export type { TableProps, ColumnType, CellProps, CellEditorProps, CellContent, MatchMode, TableRequestData, SortConfig, ColumnOrder, ErrorType, ValidationValue, TableRowData, TextImageContentType, TagContentType, PriceContentType, DateContentType, DateRangeContentType, DropdownContentType, ProgressBarContentType, ActionsContentType, ActionContentType, ToggleContentType, } from './types';
2
+ export { default as TableEmptyState } from './TableEmptyState';
3
+ export type { TableProps, ColumnType, CellProps, CellEditorProps, CellContent, MatchMode, TableRequestData, SortConfig, ColumnOrder, ErrorType, ValidationValue, TableRowData, TextImageContentType, TagContentType, PriceContentType, DateContentType, DateRangeContentType, DropdownContentType, ProgressBarContentType, ActionsContentType, ActionContentType, ToggleContentType, TableEmptyStateProps } from './types';
3
4
  export { CellContentType, CellFilterType } from './types';
@@ -1,13 +1,14 @@
1
1
  import { ColumnType } from '../../types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type ModelValue = string | number | (string | number)[] | boolean | null | undefined;
3
4
  type __VLS_Props = {
4
5
  column: ColumnType;
5
- modelValue: string | number | (string | number)[] | boolean | null | undefined;
6
+ modelValue: ModelValue;
6
7
  filters?: Record<string, any>;
7
8
  };
8
9
  declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
9
- "update:modelValue": (value: string | number | boolean | (string | number)[] | null | undefined) => any;
10
+ "update:modelValue": (value: ModelValue) => any;
10
11
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
11
- "onUpdate:modelValue"?: ((value: string | number | boolean | (string | number)[] | null | undefined) => any) | undefined;
12
+ "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
12
13
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
14
  export default _default;
@@ -6,6 +6,7 @@ import { ButtonVariant, ButtonSize } from '../../atoms/Button/types';
6
6
  export type ColumnFilterMatchModeOptions = Record<string, string>;
7
7
  export declare enum CellFilterType {
8
8
  TEXT = "text",
9
+ MULTI_SELECT = "multiSelect",
9
10
  TAG = "tag",
10
11
  DATE = "date",
11
12
  DATE_RANGE = "dateRange",
@@ -608,3 +609,12 @@ export interface TableRequestData {
608
609
  sort: SortConfig[];
609
610
  filters?: Record<string, unknown>;
610
611
  }
612
+ export interface TableEmptyStateProps {
613
+ icon?: string;
614
+ loading?: boolean;
615
+ context?: 'USERS' | 'CAMPAIGNS' | 'RESTAURANTS';
616
+ state?: 'NO_RESULTS_FOR_SEARCH' | 'NO_DATA';
617
+ title?: string;
618
+ description?: string;
619
+ actionLabel?: string;
620
+ }
@@ -5,8 +5,8 @@ export { ProductCard } from './ProductCard';
5
5
  export { FilterPrice } from './FilterPrice';
6
6
  export { PageNavigation } from './PageNavigation';
7
7
  export { MyEditor, HtmlPreview, renderProseMirrorToHtml, type MyEditorProps } from './MyEditor';
8
- export { Table } from './Table';
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';
8
+ export { TableEmptyState, Table } from './Table';
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, TableEmptyStateProps } 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,5 +1,5 @@
1
1
  {
2
- "generated": "2026-02-13T15:33:20.007Z",
2
+ "generated": "2026-02-16T10:53:04.397Z",
3
3
  "count": 1239,
4
4
  "icons": [
5
5
  "Accessibility",
package/dist/index.d.ts CHANGED
@@ -62,7 +62,7 @@ export type { PageNavigationProps } from './components/organisms/PageNavigation/
62
62
  export type { ProductCardProps } from './components/organisms/ProductCard/types';
63
63
  export type { ProductSummaryProps, ProductSummaryPrice, ProductSummaryQuantity, ProductSummaryButton, ProductSummaryVariant } from './components/organisms/ProductSummary/types';
64
64
  export { CellContentType, CellFilterType } from './components/organisms/Table';
65
- export type { CellContent, CellProps, ColumnOrder, ColumnType, MatchMode, SortConfig, TableProps, TableRequestData } from './components/organisms/Table/types';
65
+ export type { CellContent, CellProps, ColumnOrder, ColumnType, MatchMode, SortConfig, TableProps, TableRequestData, TableEmptyStateProps } from './components/organisms/Table/types';
66
66
  export type { TransactionProps } from './components/organisms/Transaction/types';
67
67
  export { clubEmployesDark, clubEmployesLight } from './themes/club-employes';
68
68
  export { gifteoDark, gifteoLight } from './themes/gifteo';