@club-employes/utopia 4.376.0 → 4.378.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/molecules/RadioCard/RadioCard.d.ts +1 -0
- package/dist/components/molecules/RadioCard/index.d.ts +1 -1
- package/dist/components/molecules/RadioCard/types.d.ts +6 -1
- package/dist/components/molecules/index.d.ts +1 -1
- package/dist/components/organisms/UserSelection/UserSelection.d.ts +19 -0
- package/dist/components/organisms/UserSelection/index.d.ts +1 -0
- package/dist/components/organisms/UserSelection/types.d.ts +13 -0
- package/dist/components/organisms/index.d.ts +2 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5993 -5897
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ declare const __VLS_component: DefineComponent<RadioCardProps, {}, {}, {}, {}, C
|
|
|
30
30
|
bigPicto: boolean;
|
|
31
31
|
hideRadio: boolean;
|
|
32
32
|
collapsible: boolean;
|
|
33
|
+
inGroup: boolean;
|
|
33
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
34
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
36
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as RadioCard } from './RadioCard';
|
|
2
|
-
export type { RadioCardProps } from './types';
|
|
2
|
+
export type { RadioCardProps, RadioCardGroupProps } from './types';
|
|
@@ -11,7 +11,7 @@ export interface RadioCardProps {
|
|
|
11
11
|
color?: 'primary' | 'subvention' | 'echeque';
|
|
12
12
|
/** Texte affiché dans le composant Icon à côté du pictogramme (même couleur) */
|
|
13
13
|
iconLabel?: string;
|
|
14
|
-
/** Couleur du token pour l
|
|
14
|
+
/** Couleur du token pour l'icône (et le libellé si défini) */
|
|
15
15
|
iconColor?: string;
|
|
16
16
|
iconBgColor?: string;
|
|
17
17
|
iconSize?: IconSize;
|
|
@@ -26,4 +26,9 @@ export interface RadioCardProps {
|
|
|
26
26
|
hideRadio?: boolean;
|
|
27
27
|
collapsible?: boolean;
|
|
28
28
|
size?: 'sm' | 'md' | 'lg';
|
|
29
|
+
/** Mode groupe : retire la bordure/radius individuelle, centre le contenu. À utiliser dans un RadioCardGroup. */
|
|
30
|
+
inGroup?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface RadioCardGroupProps {
|
|
33
|
+
color?: 'primary' | 'subvention' | 'echeque';
|
|
29
34
|
}
|
|
@@ -26,7 +26,7 @@ export { Tabs, type TabProps, type TabsProps } from './Tabs';
|
|
|
26
26
|
export { Tooltip } from './Tooltip';
|
|
27
27
|
export { FilterLocation, type FilterLocationProps } from './FilterLocation';
|
|
28
28
|
export { PageHeader, type PageHeaderProps } from './PageHeader';
|
|
29
|
-
export { RadioCard, type RadioCardProps } from './RadioCard';
|
|
29
|
+
export { RadioCard, type RadioCardProps, type RadioCardGroupProps } from './RadioCard';
|
|
30
30
|
export { PriceSummary, type PriceSummaryProps, type PriceSummarySavingInfoTooltip } from './PriceSummary';
|
|
31
31
|
export { GrantUsersSelection, type GrantUsersSelectionProps } from './GrantUsersSelection';
|
|
32
32
|
export { FooterAction, type FooterActionProps } from './FooterAction';
|
|
@@ -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
|
@@ -52,7 +52,7 @@ export { PageHeader } from './components/molecules/PageHeader';
|
|
|
52
52
|
export type { PageHeaderProps } from './components/molecules/PageHeader/types';
|
|
53
53
|
export type { PriceSummaryProps, PriceSummarySavingInfoTooltip } from './components/molecules/PriceSummary/types';
|
|
54
54
|
export type { PriceTagProps } from './components/molecules/PriceTag/types';
|
|
55
|
-
export type { RadioCardProps } from './components/molecules/RadioCard/types';
|
|
55
|
+
export type { RadioCardProps, RadioCardGroupProps } from './components/molecules/RadioCard/types';
|
|
56
56
|
export type { TooltipProps } from './components/molecules/Tooltip/types';
|
|
57
57
|
export type { ProductImageType, ProductImageProps } from './components/molecules/ProductImage/types';
|
|
58
58
|
export type { NewsItemProps } from './components/molecules/NewsItem/types';
|
|
@@ -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';
|