@club-employes/utopia 4.426.0 → 4.428.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/layouts/AppShell/AppShell.d.ts +1 -0
- package/dist/components/layouts/AppShell/types.d.ts +7 -0
- package/dist/components/molecules/CartPreviewItem/CartPreviewItem.d.ts +2 -0
- package/dist/components/molecules/CartPreviewItem/__tests__/CartPreviewItem.spec.d.ts +1 -0
- package/dist/components/molecules/CartPreviewItem/types.d.ts +7 -0
- package/dist/components/organisms/CartPreview/CartPreview.d.ts +2 -0
- package/dist/components/organisms/FilterGroup/__tests__/FilterGroup.spec.d.ts +1 -0
- package/dist/components/organisms/ProductCard/__tests__/ProductCard.spec.d.ts +1 -0
- package/dist/components/organisms/Table/Table.d.ts +1 -0
- package/dist/index.js +632 -603
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -48,6 +48,7 @@ declare const __VLS_component: DefineComponent<AppShellProps, {}, {}, {}, {}, Co
|
|
|
48
48
|
headerHeightMobile: number;
|
|
49
49
|
persistTabletExpanded: boolean;
|
|
50
50
|
footerVariant: "bar" | "content";
|
|
51
|
+
hideSidebar: boolean;
|
|
51
52
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
52
53
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
54
|
export default _default;
|
|
@@ -60,6 +60,13 @@ export interface AppShellProps {
|
|
|
60
60
|
* ancré en bas du viewport sur les pages courtes par le flex de la colonne.
|
|
61
61
|
*/
|
|
62
62
|
footerVariant?: 'bar' | 'content';
|
|
63
|
+
/**
|
|
64
|
+
* Coquille sans navigation : ne rend ni la sidebar, ni le tiroir mobile,
|
|
65
|
+
* ni le bouton burger — le header et le footer restent. Pour les parcours
|
|
66
|
+
* « tunnel » (checkout e-commerce) où la navigation distrait ; pilotable
|
|
67
|
+
* par route (ex. :hide-sidebar="route.meta.cartNav"). Défaut false.
|
|
68
|
+
*/
|
|
69
|
+
hideSidebar?: boolean;
|
|
63
70
|
}
|
|
64
71
|
export interface ShellHeaderProps {
|
|
65
72
|
/** Tone appliqué en standalone (hors AppShell, ex. parité ce_front). */
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { CartPreviewItemProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: DefineComponent<CartPreviewItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
|
+
add: (id: string) => any;
|
|
4
5
|
remove: (id: string) => any;
|
|
5
6
|
}, string, PublicProps, Readonly<CartPreviewItemProps> & Readonly<{
|
|
7
|
+
onAdd?: ((id: string) => any) | undefined;
|
|
6
8
|
onRemove?: ((id: string) => any) | undefined;
|
|
7
9
|
}>, {
|
|
8
10
|
loading: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,4 +9,11 @@ export interface CartPreviewItemProps {
|
|
|
9
9
|
description?: string;
|
|
10
10
|
oldPrice?: string;
|
|
11
11
|
price?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Affiche un bouton « + » à côté de la corbeille, qui émet `add(id)` —
|
|
14
|
+
* pour incrémenter la quantité de la ligne depuis l'aperçu panier.
|
|
15
|
+
* À piloter par ligne (ex. false quand le stock max est atteint).
|
|
16
|
+
* Défaut false : rendu historique inchangé.
|
|
17
|
+
*/
|
|
18
|
+
incrementable?: boolean;
|
|
12
19
|
}
|
|
@@ -3,10 +3,12 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
import { CartPreviewItemProps } from '../..';
|
|
4
4
|
declare const _default: DefineComponent<CartPreviewProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5
5
|
close: () => any;
|
|
6
|
+
add: (id: string) => any;
|
|
6
7
|
remove: (id: string) => any;
|
|
7
8
|
"button-click": () => any;
|
|
8
9
|
}, string, PublicProps, Readonly<CartPreviewProps> & Readonly<{
|
|
9
10
|
onClose?: (() => any) | undefined;
|
|
11
|
+
onAdd?: ((id: string) => any) | undefined;
|
|
10
12
|
onRemove?: ((id: string) => any) | undefined;
|
|
11
13
|
"onButton-click"?: (() => any) | undefined;
|
|
12
14
|
}>, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|