@club-employes/utopia 4.376.0 → 4.377.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,19 @@
1
+ import { UserSelectionProps, UserItem } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<UserSelectionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
+ "update:modelValue": (value: (string | number)[]) => any;
5
+ "update:searchQuery": (value: string) => any;
6
+ "update:currentPage": (value: number) => any;
7
+ }, string, PublicProps, Readonly<UserSelectionProps> & Readonly<{
8
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
9
+ "onUpdate:searchQuery"?: ((value: string) => any) | undefined;
10
+ "onUpdate:currentPage"?: ((value: number) => any) | undefined;
11
+ }>, {
12
+ modelValue: (string | number)[];
13
+ currentPage: number;
14
+ searchQuery: string;
15
+ users: UserItem[];
16
+ totalItems: number;
17
+ itemsPerPage: number;
18
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
19
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as UserSelection } from './UserSelection';
@@ -0,0 +1,13 @@
1
+ export interface UserItem {
2
+ id: string | number;
3
+ name: string;
4
+ email: string;
5
+ }
6
+ export interface UserSelectionProps {
7
+ users: UserItem[];
8
+ modelValue?: (string | number)[];
9
+ searchQuery?: string;
10
+ totalItems?: number;
11
+ currentPage?: number;
12
+ itemsPerPage?: number;
13
+ }
@@ -39,3 +39,5 @@ export type { CustomCriteriaSectionProps } from './CustomCriteriaSection';
39
39
  export { CustomCriterionV, CustomCriterionValuePreview } from './CustomCriterionV';
40
40
  export type { CustomCriterionVProps, CustomCriterionValueType } from './CustomCriterionV';
41
41
  export { CartConfirmation, type CartConfirmationProps, type CartConfirmationSavingColor } from './CartConfirmation';
42
+ export { UserSelection } from './UserSelection';
43
+ export type { UserSelectionProps } from './UserSelection';
package/dist/index.d.ts CHANGED
@@ -102,6 +102,7 @@ export type { DeliveryMethodSelectorProps, DeliveryMethodProductRecap, DeliveryM
102
102
  export type { CustomCriteriaSectionProps, CustomCriterion } from './components/organisms/CustomCriteriaSection/types';
103
103
  export type { CustomCriterionVProps, CustomCriterionValueType } from './components/organisms/CustomCriterionV/types';
104
104
  export type { CartConfirmationProps, CartConfirmationSavingColor } from './components/organisms/CartConfirmation/types';
105
+ export type { UserSelectionProps } from './components/organisms/UserSelection/types';
105
106
  export type { AddressFormProps, AddressFormSchema, AddressFormSection } from './components/organisms/AddressForm/types';
106
107
  export type { CartPreviewProps, CartPreviewPrice, CartPreviewPriceLine } from './components/organisms/CartPreview/types';
107
108
  export type { CartPreviewItemProps } from './components/molecules/CartPreviewItem/types';