@club-employes/utopia 4.42.0 → 4.44.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/README.md +7 -1
- package/dist/components/atoms/Button/Button.d.ts +30 -0
- package/dist/components/atoms/Button/index.d.ts +1 -0
- package/dist/components/atoms/Button/types.d.ts +9 -0
- package/dist/components/atoms/Card/Card.d.ts +25 -0
- package/dist/components/atoms/Card/index.d.ts +2 -0
- package/dist/components/atoms/Card/types.d.ts +7 -0
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +27 -0
- package/dist/components/atoms/Checkbox/index.d.ts +1 -0
- package/dist/components/atoms/Checkbox/types.d.ts +5 -0
- package/dist/components/atoms/Chip/Chip.d.ts +30 -0
- package/dist/components/atoms/Chip/index.d.ts +2 -0
- package/dist/components/atoms/Chip/types.d.ts +11 -0
- package/dist/components/atoms/Icon/Icon.d.ts +23 -0
- package/dist/components/atoms/Icon/index.d.ts +2 -0
- package/dist/components/atoms/InputText/InputText.d.ts +41 -0
- package/dist/components/atoms/InputText/index.d.ts +1 -0
- package/dist/components/atoms/InputText/types.d.ts +22 -0
- package/dist/components/atoms/Link/Link.d.ts +22 -0
- package/dist/components/atoms/Link/LinkContent.d.ts +12 -0
- package/dist/components/atoms/Link/index.d.ts +1 -0
- package/dist/components/atoms/Link/types.d.ts +11 -0
- package/dist/components/atoms/Logo/Logo.d.ts +20 -0
- package/dist/components/atoms/Logo/index.d.ts +2 -0
- package/dist/components/atoms/Logo/types.d.ts +10 -0
- package/dist/components/atoms/RangeSlider/RangeSlider.d.ts +18 -0
- package/dist/components/atoms/RangeSlider/index.d.ts +1 -0
- package/dist/components/atoms/RangeSlider/types.d.ts +8 -0
- package/dist/components/atoms/Skeleton/Skeleton.d.ts +35 -0
- package/dist/components/atoms/Skeleton/SkeletonAvatar.d.ts +12 -0
- package/dist/components/atoms/Skeleton/SkeletonText.d.ts +16 -0
- package/dist/components/atoms/Skeleton/index.d.ts +3 -0
- package/dist/components/atoms/Skeleton/types.d.ts +21 -0
- package/dist/components/atoms/Switch/Switch.d.ts +27 -0
- package/dist/components/atoms/Switch/index.d.ts +1 -0
- package/dist/components/atoms/Switch/types.d.ts +6 -0
- package/dist/components/atoms/Text/Text.d.ts +24 -0
- package/dist/components/atoms/Text/index.d.ts +1 -0
- package/dist/components/atoms/Text/types.d.ts +16 -0
- package/dist/components/atoms/index.d.ts +23 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/layouts/AuthLayout/AuthLayout.d.ts +56 -0
- package/dist/components/layouts/AuthLayout/index.d.ts +1 -0
- package/dist/components/layouts/AuthLayout/types.d.ts +5 -0
- package/dist/components/layouts/DefaultLayout/DefaultLayout.d.ts +48 -0
- package/dist/components/layouts/DefaultLayout/components/Header.d.ts +27 -0
- package/dist/components/layouts/DefaultLayout/components/Menu.d.ts +44 -0
- package/dist/components/layouts/DefaultLayout/components/MenuSection.d.ts +11 -0
- package/dist/components/layouts/DefaultLayout/components/MobileMenu.d.ts +34 -0
- package/dist/components/layouts/DefaultLayout/components/MobileMenuButton.d.ts +8 -0
- package/dist/components/layouts/DefaultLayout/components/NavItem.d.ts +43 -0
- package/dist/components/layouts/DefaultLayout/components/index.d.ts +6 -0
- package/dist/components/layouts/DefaultLayout/index.d.ts +1 -0
- package/dist/components/layouts/index.d.ts +7 -0
- package/dist/components/molecules/BottomSheet/BottomSheet.d.ts +31 -0
- package/dist/components/molecules/BottomSheet/index.d.ts +2 -0
- package/dist/components/molecules/BottomSheet/types.d.ts +10 -0
- package/dist/components/molecules/DropDown/DropDown.d.ts +109 -0
- package/dist/components/molecules/DropDown/index.d.ts +1 -0
- package/dist/components/molecules/DropDown/types.d.ts +21 -0
- package/dist/components/molecules/FeedbackState/FeedbackState.d.ts +14 -0
- package/dist/components/molecules/FeedbackState/index.d.ts +1 -0
- package/dist/components/molecules/FeedbackState/types.d.ts +11 -0
- package/dist/components/molecules/FilterChip/FilterChip.d.ts +14 -0
- package/dist/components/molecules/FilterChip/index.d.ts +1 -0
- package/dist/components/molecules/FilterChip/types.d.ts +7 -0
- package/dist/components/molecules/InputCode/InputCode.d.ts +43 -0
- package/dist/components/molecules/InputCode/index.d.ts +2 -0
- package/dist/components/molecules/InputCode/types.d.ts +13 -0
- package/dist/components/molecules/Modal/Modal.d.ts +187 -0
- package/dist/components/molecules/Modal/index.d.ts +1 -0
- package/dist/components/molecules/Modal/types.d.ts +22 -0
- package/dist/components/molecules/PriceTag/PriceTag.d.ts +9 -0
- package/dist/components/molecules/PriceTag/index.d.ts +1 -0
- package/dist/components/molecules/PriceTag/types.d.ts +9 -0
- package/dist/components/molecules/SearchBox/SearchBox.d.ts +26 -0
- package/dist/components/molecules/SearchBox/index.d.ts +1 -0
- package/dist/components/molecules/SearchBox/types.d.ts +7 -0
- package/dist/components/molecules/Slider/Slider.d.ts +38 -0
- package/dist/components/molecules/Slider/SliderProps.d.ts +17 -0
- package/dist/components/molecules/Slider/index.d.ts +2 -0
- package/dist/components/molecules/Tooltip/Tooltip.d.ts +37 -0
- package/dist/components/molecules/Tooltip/index.d.ts +1 -0
- package/dist/components/molecules/Tooltip/types.d.ts +10 -0
- package/dist/components/molecules/index.d.ts +13 -0
- package/dist/components/organisms/BalanceCard/BalanceCard.d.ts +26 -0
- package/dist/components/organisms/BalanceCard/index.d.ts +2 -0
- package/dist/components/organisms/BalanceCard/types.d.ts +13 -0
- package/dist/components/organisms/BalanceCardGroup/BalanceCardGroup.d.ts +20 -0
- package/dist/components/organisms/BalanceCardGroup/index.d.ts +2 -0
- package/dist/components/organisms/BalanceCardGroup/types.d.ts +14 -0
- package/dist/components/organisms/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/components/organisms/Breadcrumbs/index.d.ts +1 -0
- package/dist/components/organisms/Breadcrumbs/types.d.ts +9 -0
- package/dist/components/organisms/DataTable/DataTable.d.ts +54 -0
- package/dist/components/organisms/DataTable/index.d.ts +1 -0
- package/dist/components/organisms/FilterPrice/FilterPrice.d.ts +14 -0
- package/dist/components/organisms/FilterPrice/index.d.ts +1 -0
- package/dist/components/organisms/FilterPrice/types.d.ts +9 -0
- package/dist/components/organisms/PageNavigation/PageNavigation.d.ts +18 -0
- package/dist/components/organisms/PageNavigation/index.d.ts +1 -0
- package/dist/components/organisms/PageNavigation/types.d.ts +11 -0
- package/dist/components/organisms/ProductCard/ProductCard.d.ts +28 -0
- package/dist/components/organisms/ProductCard/index.d.ts +1 -0
- package/dist/components/organisms/ProductCard/types.d.ts +19 -0
- package/dist/components/organisms/index.d.ts +9 -0
- package/dist/composables/index.d.ts +6 -0
- package/dist/composables/initializeTheme.d.ts +49 -0
- package/dist/composables/useBreakpoints.d.ts +11 -0
- package/dist/composables/useCurrency.d.ts +6 -0
- package/dist/composables/useFavicon.d.ts +10 -0
- package/dist/composables/useScrollShadows.d.ts +46 -0
- package/dist/composables/useTheme.d.ts +22 -0
- package/dist/icons-list.json +1 -1
- package/dist/index.d.ts +35 -522
- package/dist/index.js +765 -761
- package/dist/theme-provider/ThemeProvider.d.ts +28 -0
- package/dist/theme-provider/index.d.ts +11 -0
- package/dist/themes/club-employes/index.d.ts +4 -0
- package/dist/themes/gifteo/index.d.ts +4 -0
- package/dist/utopia.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { nextTick, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
|
|
2
|
+
import { ModalProps, ModalChangeReason, ModalSize, ModalAnimation, ModalPosition } from './types';
|
|
3
|
+
import { ButtonProps } from '../../..';
|
|
4
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
header?(_: {}): any;
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
footer?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
panelRef: HTMLDivElement;
|
|
14
|
+
closeButtonRef: ({
|
|
15
|
+
$: ComponentInternalInstance;
|
|
16
|
+
$data: {};
|
|
17
|
+
$props: {
|
|
18
|
+
readonly variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
19
|
+
readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
20
|
+
readonly disabled?: boolean | undefined;
|
|
21
|
+
readonly loading?: boolean | undefined;
|
|
22
|
+
readonly icon?: string | undefined;
|
|
23
|
+
readonly iconPosition?: "left" | "right" | undefined;
|
|
24
|
+
readonly ariaLabel?: string | undefined;
|
|
25
|
+
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
26
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
27
|
+
$attrs: {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
$refs: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
$slots: Readonly<{
|
|
34
|
+
[name: string]: Slot<any> | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
$root: ComponentPublicInstance | null;
|
|
37
|
+
$parent: ComponentPublicInstance | null;
|
|
38
|
+
$host: Element | null;
|
|
39
|
+
$emit: (event: "click", event: MouseEvent) => void;
|
|
40
|
+
$el: HTMLButtonElement;
|
|
41
|
+
$options: ComponentOptionsBase<Readonly< ButtonProps> & Readonly<{
|
|
42
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
43
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
44
|
+
click: (event: MouseEvent) => any;
|
|
45
|
+
}, string, {
|
|
46
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
47
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
48
|
+
disabled: boolean;
|
|
49
|
+
loading: boolean;
|
|
50
|
+
iconPosition: "left" | "right";
|
|
51
|
+
ariaLabel: string;
|
|
52
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
53
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
54
|
+
created?: (() => void) | (() => void)[];
|
|
55
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
56
|
+
mounted?: (() => void) | (() => void)[];
|
|
57
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
58
|
+
updated?: (() => void) | (() => void)[];
|
|
59
|
+
activated?: (() => void) | (() => void)[];
|
|
60
|
+
deactivated?: (() => void) | (() => void)[];
|
|
61
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
62
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
63
|
+
destroyed?: (() => void) | (() => void)[];
|
|
64
|
+
unmounted?: (() => void) | (() => void)[];
|
|
65
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
66
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
67
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
68
|
+
};
|
|
69
|
+
$forceUpdate: () => void;
|
|
70
|
+
$nextTick: typeof nextTick;
|
|
71
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
72
|
+
} & Readonly<{
|
|
73
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
74
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
75
|
+
disabled: boolean;
|
|
76
|
+
loading: boolean;
|
|
77
|
+
iconPosition: "left" | "right";
|
|
78
|
+
ariaLabel: string;
|
|
79
|
+
}> & Omit<Readonly< ButtonProps> & Readonly<{
|
|
80
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
81
|
+
}>, "size" | "variant" | "disabled" | "loading" | "iconPosition" | "ariaLabel"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
|
|
82
|
+
$slots: {
|
|
83
|
+
default?(_: {}): any;
|
|
84
|
+
};
|
|
85
|
+
}) | null;
|
|
86
|
+
};
|
|
87
|
+
rootEl: any;
|
|
88
|
+
};
|
|
89
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
90
|
+
declare const __VLS_component: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
91
|
+
"update:open": (value: boolean) => any;
|
|
92
|
+
openChange: (open: boolean, reason: ModalChangeReason) => any;
|
|
93
|
+
}, string, PublicProps, Readonly<ModalProps> & Readonly<{
|
|
94
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
95
|
+
onOpenChange?: ((open: boolean, reason: ModalChangeReason) => any) | undefined;
|
|
96
|
+
}>, {
|
|
97
|
+
title: string;
|
|
98
|
+
size: ModalSize;
|
|
99
|
+
closeOnOverlayClick: boolean;
|
|
100
|
+
disableScrollLock: boolean;
|
|
101
|
+
animation: ModalAnimation;
|
|
102
|
+
position: ModalPosition;
|
|
103
|
+
showCloseButton: boolean;
|
|
104
|
+
focusTrap: boolean;
|
|
105
|
+
blurBackdrop: boolean;
|
|
106
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
107
|
+
panelRef: HTMLDivElement;
|
|
108
|
+
closeButtonRef: ({
|
|
109
|
+
$: ComponentInternalInstance;
|
|
110
|
+
$data: {};
|
|
111
|
+
$props: {
|
|
112
|
+
readonly variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
113
|
+
readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
114
|
+
readonly disabled?: boolean | undefined;
|
|
115
|
+
readonly loading?: boolean | undefined;
|
|
116
|
+
readonly icon?: string | undefined;
|
|
117
|
+
readonly iconPosition?: "left" | "right" | undefined;
|
|
118
|
+
readonly ariaLabel?: string | undefined;
|
|
119
|
+
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
120
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
121
|
+
$attrs: {
|
|
122
|
+
[x: string]: unknown;
|
|
123
|
+
};
|
|
124
|
+
$refs: {
|
|
125
|
+
[x: string]: unknown;
|
|
126
|
+
};
|
|
127
|
+
$slots: Readonly<{
|
|
128
|
+
[name: string]: Slot<any> | undefined;
|
|
129
|
+
}>;
|
|
130
|
+
$root: ComponentPublicInstance | null;
|
|
131
|
+
$parent: ComponentPublicInstance | null;
|
|
132
|
+
$host: Element | null;
|
|
133
|
+
$emit: (event: "click", event: MouseEvent) => void;
|
|
134
|
+
$el: HTMLButtonElement;
|
|
135
|
+
$options: ComponentOptionsBase<Readonly< ButtonProps> & Readonly<{
|
|
136
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
137
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
138
|
+
click: (event: MouseEvent) => any;
|
|
139
|
+
}, string, {
|
|
140
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
141
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
142
|
+
disabled: boolean;
|
|
143
|
+
loading: boolean;
|
|
144
|
+
iconPosition: "left" | "right";
|
|
145
|
+
ariaLabel: string;
|
|
146
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
147
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
148
|
+
created?: (() => void) | (() => void)[];
|
|
149
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
150
|
+
mounted?: (() => void) | (() => void)[];
|
|
151
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
152
|
+
updated?: (() => void) | (() => void)[];
|
|
153
|
+
activated?: (() => void) | (() => void)[];
|
|
154
|
+
deactivated?: (() => void) | (() => void)[];
|
|
155
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
156
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
157
|
+
destroyed?: (() => void) | (() => void)[];
|
|
158
|
+
unmounted?: (() => void) | (() => void)[];
|
|
159
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
160
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
161
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
162
|
+
};
|
|
163
|
+
$forceUpdate: () => void;
|
|
164
|
+
$nextTick: typeof nextTick;
|
|
165
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
166
|
+
} & Readonly<{
|
|
167
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
168
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
169
|
+
disabled: boolean;
|
|
170
|
+
loading: boolean;
|
|
171
|
+
iconPosition: "left" | "right";
|
|
172
|
+
ariaLabel: string;
|
|
173
|
+
}> & Omit<Readonly< ButtonProps> & Readonly<{
|
|
174
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
175
|
+
}>, "size" | "variant" | "disabled" | "loading" | "iconPosition" | "ariaLabel"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
|
|
176
|
+
$slots: {
|
|
177
|
+
default?(_: {}): any;
|
|
178
|
+
};
|
|
179
|
+
}) | null;
|
|
180
|
+
}, any>;
|
|
181
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
182
|
+
export default _default;
|
|
183
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
184
|
+
new (): {
|
|
185
|
+
$slots: S;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Modal } from './Modal';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type ModalSize = 'sm' | 'md' | 'lg' | 'full';
|
|
2
|
+
export type ModalPosition = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
|
3
|
+
export type ModalAnimation = 'slide-top' | 'slide-horizontal' | 'slide-horizontal-left' | 'slide-bottom';
|
|
4
|
+
export type ModalChangeReason = 'open' | 'close' | 'overlay' | 'escape' | 'close-button';
|
|
5
|
+
export interface ModalProps {
|
|
6
|
+
open?: boolean;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
title?: string;
|
|
9
|
+
size?: ModalSize;
|
|
10
|
+
position?: ModalPosition;
|
|
11
|
+
closeOnOverlayClick?: boolean;
|
|
12
|
+
showCloseButton?: boolean;
|
|
13
|
+
disableScrollLock?: boolean;
|
|
14
|
+
focusTrap?: boolean;
|
|
15
|
+
blurBackdrop?: boolean;
|
|
16
|
+
animation?: ModalAnimation;
|
|
17
|
+
onOpenChange?: (open: boolean, reason: ModalChangeReason) => void;
|
|
18
|
+
}
|
|
19
|
+
export interface ModalOpenChangePayload {
|
|
20
|
+
open: boolean;
|
|
21
|
+
reason: ModalChangeReason;
|
|
22
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PriceTagProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<PriceTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PriceTagProps> & Readonly<{}>, {
|
|
4
|
+
currency: string;
|
|
5
|
+
isSubventioned: boolean;
|
|
6
|
+
isDiscounted: boolean;
|
|
7
|
+
language: "fr" | "en";
|
|
8
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PriceTag } from './PriceTag';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
size?: 'small' | 'medium' | 'large';
|
|
6
|
+
clearable?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
+
search: (value: string) => any;
|
|
11
|
+
blur: () => any;
|
|
12
|
+
focus: () => any;
|
|
13
|
+
"update:modelValue": (value: string) => any;
|
|
14
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
15
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
16
|
+
onBlur?: (() => any) | undefined;
|
|
17
|
+
onFocus?: (() => any) | undefined;
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
size: "small" | "medium" | "large";
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
modelValue: string;
|
|
23
|
+
placeholder: string;
|
|
24
|
+
clearable: boolean;
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SearchBox } from './SearchBox';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SliderProps as Props, SlideType } from './SliderProps';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
'prev-icon'?(_: {}): any;
|
|
7
|
+
'next-icon'?(_: {}): any;
|
|
8
|
+
slide?(_: {
|
|
9
|
+
slide: SlideType;
|
|
10
|
+
index: number;
|
|
11
|
+
}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
|
+
"slide-change": (index: number) => any;
|
|
19
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
+
"onSlide-change"?: ((index: number) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
height: string;
|
|
23
|
+
slides: SlideType[];
|
|
24
|
+
direction: "horizontal" | "vertical";
|
|
25
|
+
autoplay: boolean;
|
|
26
|
+
autoplayDelay: number;
|
|
27
|
+
showDots: boolean;
|
|
28
|
+
showControls: boolean;
|
|
29
|
+
alwaysShowControls: boolean;
|
|
30
|
+
transitionDuration: number;
|
|
31
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface SlideType {
|
|
2
|
+
image?: string;
|
|
3
|
+
alt?: string;
|
|
4
|
+
content?: string;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
export interface SliderProps {
|
|
8
|
+
slides: SlideType[];
|
|
9
|
+
direction?: 'horizontal' | 'vertical';
|
|
10
|
+
autoplay?: boolean;
|
|
11
|
+
autoplayDelay?: number;
|
|
12
|
+
showDots?: boolean;
|
|
13
|
+
showControls?: boolean;
|
|
14
|
+
alwaysShowControls?: boolean;
|
|
15
|
+
transitionDuration?: number;
|
|
16
|
+
height?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { TooltipProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
content?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {
|
|
10
|
+
triggerRef: HTMLSpanElement;
|
|
11
|
+
tooltipRef: HTMLDivElement;
|
|
12
|
+
arrowRef: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
interactive: boolean;
|
|
20
|
+
active: boolean;
|
|
21
|
+
placement: "top" | "bottom" | "left" | "right" | "auto" | "top_left" | "top_right" | "top_center" | "bottom_left" | "bottom_right" | "bottom_center";
|
|
22
|
+
openDelay: number;
|
|
23
|
+
closeDelay: number;
|
|
24
|
+
offset: number;
|
|
25
|
+
withArrow: boolean;
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
27
|
+
triggerRef: HTMLSpanElement;
|
|
28
|
+
tooltipRef: HTMLDivElement;
|
|
29
|
+
arrowRef: HTMLDivElement;
|
|
30
|
+
}, any>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Tooltip } from './Tooltip';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface TooltipProps {
|
|
2
|
+
placement?: 'top' | 'bottom' | 'left' | 'right' | 'auto' | 'top_left' | 'top_right' | 'top_center' | 'bottom_left' | 'bottom_right' | 'bottom_center';
|
|
3
|
+
openDelay?: number;
|
|
4
|
+
closeDelay?: number;
|
|
5
|
+
offset?: number;
|
|
6
|
+
withArrow?: boolean;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
interactive?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { BottomSheet } from './BottomSheet';
|
|
2
|
+
export type { BottomSheetChangeReason, BottomSheetProps } from './BottomSheet';
|
|
3
|
+
export { DropDown } from './DropDown';
|
|
4
|
+
export { FeedbackState } from './FeedbackState';
|
|
5
|
+
export { FilterChip } from './FilterChip';
|
|
6
|
+
export { InputCode } from './InputCode';
|
|
7
|
+
export type { InputCodeProps } from './InputCode';
|
|
8
|
+
export { Modal } from './Modal';
|
|
9
|
+
export { PriceTag } from './PriceTag';
|
|
10
|
+
export { SearchBox } from './SearchBox';
|
|
11
|
+
export { Slider } from './Slider';
|
|
12
|
+
export type { SlideType, SliderProps } from './Slider';
|
|
13
|
+
export { Tooltip } from './Tooltip';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
campaignName: string;
|
|
4
|
+
category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport';
|
|
5
|
+
totalAmount: number;
|
|
6
|
+
spentAmount: number;
|
|
7
|
+
expirationDate: string | Date;
|
|
8
|
+
variant?: 'default' | 'primary' | 'secondary';
|
|
9
|
+
size?: 'small' | 'medium' | 'large';
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
actionable?: () => void;
|
|
12
|
+
language?: 'fr' | 'en';
|
|
13
|
+
currency?: string;
|
|
14
|
+
expiredLabel?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
|
+
size: "small" | "medium" | "large";
|
|
18
|
+
variant: "default" | "primary" | "secondary";
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
currency: string;
|
|
21
|
+
language: "fr" | "en";
|
|
22
|
+
expiredLabel: string;
|
|
23
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
24
|
+
titleRef: HTMLHeadingElement;
|
|
25
|
+
}, HTMLDivElement>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface BalanceCardProps {
|
|
2
|
+
campaignName: string;
|
|
3
|
+
category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport';
|
|
4
|
+
totalAmount: number;
|
|
5
|
+
spentAmount: number;
|
|
6
|
+
expirationDate: string | Date;
|
|
7
|
+
variant?: 'default' | 'primary' | 'secondary';
|
|
8
|
+
size?: 'small' | 'medium' | 'large';
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
actionable?: () => void;
|
|
11
|
+
language?: 'fr' | 'en';
|
|
12
|
+
currency?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface BalanceCardData {
|
|
3
|
+
campaignName: string;
|
|
4
|
+
category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport';
|
|
5
|
+
totalAmount: number;
|
|
6
|
+
amount: number;
|
|
7
|
+
campaignCount: number;
|
|
8
|
+
actionable?: () => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface Props {
|
|
12
|
+
cards: BalanceCardData[];
|
|
13
|
+
language?: 'fr' | 'en';
|
|
14
|
+
currency?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
|
+
currency: string;
|
|
18
|
+
language: "fr" | "en";
|
|
19
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface BalanceCardGroupProps {
|
|
2
|
+
cards: BalanceCardData[];
|
|
3
|
+
language?: 'fr' | 'en';
|
|
4
|
+
currency?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface BalanceCardData {
|
|
7
|
+
campaignName: string;
|
|
8
|
+
category: 'culture' | 'noel' | 'voyages' | 'rentree' | 'retraite' | 'naissance' | 'mariage' | 'sport';
|
|
9
|
+
totalAmount: number;
|
|
10
|
+
amount: number;
|
|
11
|
+
campaignCount: number;
|
|
12
|
+
actionable?: () => void;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { BreadcrumbsProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<BreadcrumbsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Breadcrumbs } from './Breadcrumbs';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Column {
|
|
3
|
+
key: string;
|
|
4
|
+
label: string;
|
|
5
|
+
sortable?: boolean;
|
|
6
|
+
width?: string;
|
|
7
|
+
align?: 'left' | 'center' | 'right';
|
|
8
|
+
formatter?: (value: any) => string;
|
|
9
|
+
}
|
|
10
|
+
interface Props {
|
|
11
|
+
columns: Column[];
|
|
12
|
+
data: any[];
|
|
13
|
+
title?: string;
|
|
14
|
+
loading?: boolean;
|
|
15
|
+
selectable?: boolean;
|
|
16
|
+
striped?: boolean;
|
|
17
|
+
hoverable?: boolean;
|
|
18
|
+
rowKey?: string | ((row: any) => string);
|
|
19
|
+
}
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
attrs: Partial<{}>;
|
|
22
|
+
slots: Partial<Record<`cell-${string}`, (_: {
|
|
23
|
+
value: any;
|
|
24
|
+
row: any;
|
|
25
|
+
column: Column;
|
|
26
|
+
index: number;
|
|
27
|
+
}) => any>> & {
|
|
28
|
+
header?(_: {}): any;
|
|
29
|
+
empty?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
refs: {};
|
|
32
|
+
rootEl: HTMLDivElement;
|
|
33
|
+
};
|
|
34
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
36
|
+
"row-click": (row: any, index: number) => any;
|
|
37
|
+
"sort-change": (sortKey: string, sortOrder: "desc" | "asc" | null) => any;
|
|
38
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
39
|
+
"onRow-click"?: ((row: any, index: number) => any) | undefined;
|
|
40
|
+
"onSort-change"?: ((sortKey: string, sortOrder: "desc" | "asc" | null) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
loading: boolean;
|
|
43
|
+
selectable: boolean;
|
|
44
|
+
striped: boolean;
|
|
45
|
+
hoverable: boolean;
|
|
46
|
+
rowKey: string | ((row: any) => string);
|
|
47
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DataTable } from './DataTable';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FilterPriceProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { Currency } from '../..';
|
|
4
|
+
declare const _default: DefineComponent<FilterPriceProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
|
+
"update-value": (value: [number, number]) => any;
|
|
6
|
+
}, string, PublicProps, Readonly<FilterPriceProps> & Readonly<{
|
|
7
|
+
"onUpdate-value"?: ((value: [number, number]) => any) | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
min: number;
|
|
10
|
+
currency: Currency;
|
|
11
|
+
labelMin: string;
|
|
12
|
+
labelMax: string;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FilterPrice } from './FilterPrice';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PageNavigationProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<PageNavigationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
|
+
"page-change": (page: number) => any;
|
|
5
|
+
"size-change": (page: number) => any;
|
|
6
|
+
}, string, PublicProps, Readonly<PageNavigationProps> & Readonly<{
|
|
7
|
+
"onPage-change"?: ((page: number) => any) | undefined;
|
|
8
|
+
"onSize-change"?: ((page: number) => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
size: number;
|
|
11
|
+
compact: boolean;
|
|
12
|
+
showSize: boolean;
|
|
13
|
+
sizeLabel: string;
|
|
14
|
+
sizeOptions: number[];
|
|
15
|
+
showGoToPage: boolean;
|
|
16
|
+
goToPageLabel: string;
|
|
17
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PageNavigation } from './PageNavigation';
|