@club-employes/utopia 4.350.0 → 4.352.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/MyUserGroups/MyUserGroups.d.ts +12 -0
- package/dist/components/molecules/MyUserGroups/index.d.ts +2 -0
- package/dist/components/molecules/MyUserGroups/types.d.ts +16 -0
- package/dist/components/molecules/index.d.ts +2 -0
- package/dist/components/organisms/DeliveryMethodSelector/index.d.ts +1 -1
- package/dist/components/organisms/DeliveryMethodSelector/types.d.ts +1 -1
- package/dist/components/organisms/OrderRecap/types.d.ts +1 -1
- package/dist/components/organisms/index.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +6067 -5908
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MyUserGroupsProps, UserGroupCriterion } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<MyUserGroupsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
+
edit: () => any;
|
|
5
|
+
}, string, PublicProps, Readonly<MyUserGroupsProps> & Readonly<{
|
|
6
|
+
onEdit?: (() => any) | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
peopleLabel: string;
|
|
9
|
+
criteria: UserGroupCriterion[];
|
|
10
|
+
criteriaLabel: string;
|
|
11
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChipVariant } from '../../atoms/Chip/types';
|
|
2
|
+
export type { ChipVariant };
|
|
3
|
+
export interface UserGroupCriterion {
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
variant?: ChipVariant;
|
|
7
|
+
ghost?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface MyUserGroupsProps {
|
|
10
|
+
rank: number;
|
|
11
|
+
title: string;
|
|
12
|
+
peopleCount: number;
|
|
13
|
+
peopleLabel?: string;
|
|
14
|
+
criteria?: UserGroupCriterion[];
|
|
15
|
+
criteriaLabel?: string;
|
|
16
|
+
}
|
|
@@ -65,3 +65,5 @@ export { CartStepper, type CartStepperProps, type CartStepperStep } from './Cart
|
|
|
65
65
|
export { CartPreviewItem, type CartPreviewItemProps } from './CartPreviewItem';
|
|
66
66
|
export { DateRange, type DateRangeProps, type DateRangeValue, type DateRangeTrigger } from './DateRange';
|
|
67
67
|
export { DeliveryMethodCard, type DeliveryMethodCardProps } from './DeliveryMethodCard';
|
|
68
|
+
export { MyUserGroups } from './MyUserGroups';
|
|
69
|
+
export type { MyUserGroupsProps } from './MyUserGroups';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as DeliveryMethodSelector } from './DeliveryMethodSelector';
|
|
2
|
-
export type { DeliveryMethodSelectorProps } from './types';
|
|
2
|
+
export type { DeliveryMethodSelectorProps, DeliveryMethodProductRecap, DeliveryMethod } from './types';
|
|
@@ -13,7 +13,7 @@ export interface DeliveryMethodProductRecap {
|
|
|
13
13
|
/** A single selectable shipping/delivery method. */
|
|
14
14
|
export interface DeliveryMethod {
|
|
15
15
|
/** Whether this method is currently selected. Selection is driven externally. */
|
|
16
|
-
active
|
|
16
|
+
active?: boolean;
|
|
17
17
|
/** Method name, e.g. "Lettre suivie". */
|
|
18
18
|
title?: string;
|
|
19
19
|
/** Pre-formatted price, e.g. "3,30 €". The component never formats. */
|
|
@@ -5,7 +5,7 @@ export interface OrderRecapPriceLine {
|
|
|
5
5
|
export interface OrderRecapDiscountSection {
|
|
6
6
|
label: string;
|
|
7
7
|
total: string;
|
|
8
|
-
color
|
|
8
|
+
color?: 'accent' | 'subvention' | 'secondary';
|
|
9
9
|
lines: OrderRecapPriceLine[];
|
|
10
10
|
defaultExpanded?: boolean;
|
|
11
11
|
}
|
|
@@ -33,4 +33,4 @@ export { OrderRecap, type OrderRecapProps, type OrderRecapMessage } from './Orde
|
|
|
33
33
|
export { SummaryMetricCard } from './SummaryMetricCard';
|
|
34
34
|
export type { SummaryMetricCardProps } from './SummaryMetricCard';
|
|
35
35
|
export { DeliveryMethodSelector } from './DeliveryMethodSelector';
|
|
36
|
-
export type { DeliveryMethodSelectorProps } from './DeliveryMethodSelector';
|
|
36
|
+
export type { DeliveryMethodSelectorProps, DeliveryMethodProductRecap, DeliveryMethod } from './DeliveryMethodSelector';
|
package/dist/index.d.ts
CHANGED
|
@@ -98,10 +98,12 @@ export type { InputSearchProps } from './components/organisms/InputSearch/types'
|
|
|
98
98
|
export type { ProductRecapProps } from './components/organisms/ProductRecap/types';
|
|
99
99
|
export type { OrderRecapProps, OrderRecapMessage } from './components/organisms/OrderRecap/types';
|
|
100
100
|
export type { SummaryMetricCardProps } from './components/organisms/SummaryMetricCard/types';
|
|
101
|
-
export type { DeliveryMethodSelectorProps } from './components/organisms/DeliveryMethodSelector/types';
|
|
101
|
+
export type { DeliveryMethodSelectorProps, DeliveryMethodProductRecap, DeliveryMethod } from './components/organisms/DeliveryMethodSelector/types';
|
|
102
102
|
export type { AddressFormProps, AddressFormSchema, AddressFormSection } from './components/organisms/AddressForm/types';
|
|
103
103
|
export type { CartPreviewProps, CartPreviewPrice, CartPreviewPriceLine } from './components/organisms/CartPreview/types';
|
|
104
104
|
export type { CartPreviewItemProps } from './components/molecules/CartPreviewItem/types';
|
|
105
|
+
export { MyUserGroups } from './components/molecules/MyUserGroups';
|
|
106
|
+
export type { MyUserGroupsProps, UserGroupCriterion } from './components/molecules/MyUserGroups/types';
|
|
105
107
|
export { clubEmployesDark, clubEmployesLight } from './themes/club-employes';
|
|
106
108
|
export { gifteoDark, gifteoLight } from './themes/gifteo';
|
|
107
109
|
export type { LoaderProps } from './components/templates/Loader/types';
|