@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,56 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface ContactInfo {
|
|
3
|
+
text: string;
|
|
4
|
+
phone: string;
|
|
5
|
+
email: string;
|
|
6
|
+
}
|
|
7
|
+
interface Slide {
|
|
8
|
+
title?: string;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
image?: string;
|
|
11
|
+
alt?: string;
|
|
12
|
+
tips?: {
|
|
13
|
+
title: string;
|
|
14
|
+
text: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
interface Props {
|
|
18
|
+
title?: string;
|
|
19
|
+
subtitle?: string;
|
|
20
|
+
showWaveEmoji?: boolean;
|
|
21
|
+
showTips?: boolean;
|
|
22
|
+
tipsTitle?: string;
|
|
23
|
+
tipsText?: string;
|
|
24
|
+
contactInfo?: ContactInfo;
|
|
25
|
+
slides?: Slide[];
|
|
26
|
+
autoplay?: boolean;
|
|
27
|
+
autoplayDelay?: number;
|
|
28
|
+
}
|
|
29
|
+
declare function __VLS_template(): {
|
|
30
|
+
attrs: Partial<{}>;
|
|
31
|
+
slots: {
|
|
32
|
+
logo?(_: {}): any;
|
|
33
|
+
default?(_: {}): any;
|
|
34
|
+
};
|
|
35
|
+
refs: {};
|
|
36
|
+
rootEl: HTMLDivElement;
|
|
37
|
+
};
|
|
38
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
39
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
40
|
+
title: string;
|
|
41
|
+
slides: Slide[];
|
|
42
|
+
autoplay: boolean;
|
|
43
|
+
autoplayDelay: number;
|
|
44
|
+
subtitle: string;
|
|
45
|
+
showWaveEmoji: boolean;
|
|
46
|
+
showTips: boolean;
|
|
47
|
+
tipsTitle: string;
|
|
48
|
+
tipsText: string;
|
|
49
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
50
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AuthLayout } from './AuthLayout';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { MenuSection } from './components';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface MenuItem {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
icon: string;
|
|
7
|
+
to: string;
|
|
8
|
+
}
|
|
9
|
+
interface MenuSection {
|
|
10
|
+
key: string;
|
|
11
|
+
type: 'section';
|
|
12
|
+
label: string;
|
|
13
|
+
}
|
|
14
|
+
type MenuItemOrSection = MenuItem | MenuSection;
|
|
15
|
+
interface Props {
|
|
16
|
+
menuItems?: MenuItemOrSection[];
|
|
17
|
+
currentMode?: 'light' | 'dark';
|
|
18
|
+
}
|
|
19
|
+
declare function __VLS_template(): {
|
|
20
|
+
attrs: Partial<{}>;
|
|
21
|
+
slots: {
|
|
22
|
+
'header-right'?(_: {}): any;
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
footer?(_: {}): any;
|
|
25
|
+
};
|
|
26
|
+
refs: {};
|
|
27
|
+
rootEl: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
31
|
+
"nav-click": (page: string) => any;
|
|
32
|
+
"mode-toggle": () => any;
|
|
33
|
+
navigate: (to: string) => any;
|
|
34
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
35
|
+
"onNav-click"?: ((page: string) => any) | undefined;
|
|
36
|
+
"onMode-toggle"?: (() => any) | undefined;
|
|
37
|
+
onNavigate?: ((to: string) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
currentMode: "light" | "dark";
|
|
40
|
+
menuItems: MenuItemOrSection[];
|
|
41
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
left?(_: {}): any;
|
|
6
|
+
right?(_: {}): any;
|
|
7
|
+
'mobile-menu-header'?(_: {}): any;
|
|
8
|
+
'mobile-nav-items'?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
|
+
"nav-click": (page: string) => any;
|
|
16
|
+
"mobile-menu-open": () => any;
|
|
17
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
18
|
+
"onNav-click"?: ((page: string) => any) | undefined;
|
|
19
|
+
"onMobile-menu-open"?: (() => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
collapsed?: boolean;
|
|
4
|
+
headerCollapsed?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
header?(_: {}): any;
|
|
10
|
+
'nav-items'?(_: {
|
|
11
|
+
collapsed: boolean;
|
|
12
|
+
animating: boolean;
|
|
13
|
+
}): any;
|
|
14
|
+
footer?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {
|
|
17
|
+
menuNavRef: HTMLElement;
|
|
18
|
+
};
|
|
19
|
+
rootEl: HTMLElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: DefineComponent<Props, {
|
|
23
|
+
openMobileMenu: () => void;
|
|
24
|
+
closeMobileMenu: () => void;
|
|
25
|
+
toggleMenu: () => void;
|
|
26
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
27
|
+
"update:collapsed": (value: boolean) => any;
|
|
28
|
+
"update:headerCollapsed": (value: boolean) => any;
|
|
29
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
31
|
+
"onUpdate:headerCollapsed"?: ((value: boolean) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
collapsed: boolean;
|
|
34
|
+
headerCollapsed: boolean;
|
|
35
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
36
|
+
menuNavRef: HTMLElement;
|
|
37
|
+
}, HTMLElement>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
label: string;
|
|
4
|
+
collapsed?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
7
|
+
collapsed: boolean;
|
|
8
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
9
|
+
sectionRef: HTMLDivElement;
|
|
10
|
+
}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
header?(_: {}): any;
|
|
9
|
+
'header-content'?(_: {}): any;
|
|
10
|
+
'nav-items'?(_: {}): any;
|
|
11
|
+
footer?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {
|
|
14
|
+
menuNavRef: HTMLElement;
|
|
15
|
+
};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
20
|
+
close: () => any;
|
|
21
|
+
"nav-click": (page: string) => any;
|
|
22
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
23
|
+
onClose?: (() => any) | undefined;
|
|
24
|
+
"onNav-click"?: ((page: string) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
26
|
+
menuNavRef: HTMLElement;
|
|
27
|
+
}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
onOpenMenu?: () => void;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
|
+
onOpenMenu: () => void;
|
|
7
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Libellé du nav item */
|
|
4
|
+
label?: string;
|
|
5
|
+
/** Icône à afficher */
|
|
6
|
+
icon?: string;
|
|
7
|
+
/** URL pour les liens externes */
|
|
8
|
+
href?: string;
|
|
9
|
+
/** Route pour Vue Router */
|
|
10
|
+
to?: string | object;
|
|
11
|
+
/** État actif */
|
|
12
|
+
active?: boolean;
|
|
13
|
+
/** État collapsed du menu parent */
|
|
14
|
+
collapsed?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {
|
|
22
|
+
navItemRef: unknown;
|
|
23
|
+
};
|
|
24
|
+
rootEl: any;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
28
|
+
click: (event: MouseEvent) => any;
|
|
29
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
active: boolean;
|
|
33
|
+
collapsed: boolean;
|
|
34
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
35
|
+
navItemRef: unknown;
|
|
36
|
+
}, any>;
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as Header } from './Header';
|
|
2
|
+
export { default as Menu } from './Menu';
|
|
3
|
+
export { default as NavItem } from './NavItem';
|
|
4
|
+
export { default as MenuSection } from './MenuSection';
|
|
5
|
+
export { default as MobileMenu } from './MobileMenu';
|
|
6
|
+
export { default as MobileMenuButton } from './MobileMenuButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DefaultLayout } from './DefaultLayout';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { DefaultLayout } from './DefaultLayout';
|
|
2
|
+
export { default as Header } from './DefaultLayout/components/Header';
|
|
3
|
+
export { default as Menu } from './DefaultLayout/components/Menu';
|
|
4
|
+
export { default as MobileMenu } from './DefaultLayout/components/MobileMenu';
|
|
5
|
+
export { default as MobileMenuButton } from './DefaultLayout/components/MobileMenuButton';
|
|
6
|
+
export { default as NavItem } from './DefaultLayout/components/NavItem';
|
|
7
|
+
export { AuthLayout } from './AuthLayout';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BottomSheetProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: DefineComponent<BottomSheetProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:modelValue": (value: boolean) => any;
|
|
14
|
+
}, string, PublicProps, Readonly<BottomSheetProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
title: string;
|
|
18
|
+
size: "medium";
|
|
19
|
+
variant: "default" | "fullscreen";
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
modelValue: boolean;
|
|
22
|
+
closeOnOverlayClick: boolean;
|
|
23
|
+
disableScrollLock: boolean;
|
|
24
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type BottomSheetChangeReason = 'open' | 'close' | 'escape' | 'overlay';
|
|
2
|
+
export interface BottomSheetProps {
|
|
3
|
+
modelValue: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
variant?: 'default' | 'fullscreen';
|
|
6
|
+
size?: 'medium';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
closeOnOverlayClick?: boolean;
|
|
9
|
+
disableScrollLock?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { DropDownOption, DropDownProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
|
+
import { InputTextProps } from '../../..';
|
|
4
|
+
declare const _default: DefineComponent<DropDownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
|
+
blur: (event: FocusEvent) => any;
|
|
6
|
+
change: (value: string | number | (string | number)[]) => any;
|
|
7
|
+
close: () => any;
|
|
8
|
+
focus: (event: FocusEvent) => any;
|
|
9
|
+
"update:modelValue": (value: string | number | (string | number)[]) => any;
|
|
10
|
+
open: () => any;
|
|
11
|
+
}, string, PublicProps, Readonly<DropDownProps> & Readonly<{
|
|
12
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
13
|
+
onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
14
|
+
onClose?: (() => any) | undefined;
|
|
15
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
17
|
+
onOpen?: (() => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
label: string;
|
|
20
|
+
message: string;
|
|
21
|
+
size: "small" | "medium" | "large";
|
|
22
|
+
required: boolean;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
modelValue: string | number | (string | number)[];
|
|
25
|
+
placeholder: string;
|
|
26
|
+
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
27
|
+
readonly: boolean;
|
|
28
|
+
options: DropDownOption[];
|
|
29
|
+
multiple: boolean;
|
|
30
|
+
searchable: boolean;
|
|
31
|
+
clearable: boolean;
|
|
32
|
+
maxHeight: string;
|
|
33
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
34
|
+
triggerRef: HTMLButtonElement;
|
|
35
|
+
chipsScrollRef: HTMLDivElement;
|
|
36
|
+
menuRef: HTMLDivElement;
|
|
37
|
+
searchRef: CreateComponentPublicInstanceWithMixins<Readonly< InputTextProps> & Readonly<{
|
|
38
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
39
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
40
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
41
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
42
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
43
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
44
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
45
|
+
"onIcon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
46
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
47
|
+
input: (event: Event) => any;
|
|
48
|
+
blur: (event: FocusEvent) => any;
|
|
49
|
+
change: (event: Event) => any;
|
|
50
|
+
focus: (event: FocusEvent) => any;
|
|
51
|
+
keydown: (event: KeyboardEvent) => any;
|
|
52
|
+
paste: (event: ClipboardEvent) => any;
|
|
53
|
+
"update:modelValue": (value: string) => any;
|
|
54
|
+
"icon-click": (event: MouseEvent) => any;
|
|
55
|
+
}, PublicProps, {
|
|
56
|
+
label: string;
|
|
57
|
+
message: string;
|
|
58
|
+
size: "extra-small" | "small" | "medium" | "large";
|
|
59
|
+
icon: string;
|
|
60
|
+
type: "text" | "email" | "password" | "number" | "tel" | "url";
|
|
61
|
+
required: boolean;
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
iconPosition: "left" | "right";
|
|
64
|
+
modelValue: string;
|
|
65
|
+
placeholder: string;
|
|
66
|
+
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
67
|
+
readonly: boolean;
|
|
68
|
+
iconClickable: boolean;
|
|
69
|
+
step: number;
|
|
70
|
+
isCode: boolean;
|
|
71
|
+
forceModelValueOnBlur: boolean;
|
|
72
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
73
|
+
inputRef: HTMLInputElement;
|
|
74
|
+
}, any, ComponentProvideOptions, {
|
|
75
|
+
P: {};
|
|
76
|
+
B: {};
|
|
77
|
+
D: {};
|
|
78
|
+
C: {};
|
|
79
|
+
M: {};
|
|
80
|
+
Defaults: {};
|
|
81
|
+
}, Readonly< InputTextProps> & Readonly<{
|
|
82
|
+
onInput?: ((event: Event) => any) | undefined;
|
|
83
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
84
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
85
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
86
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
87
|
+
onPaste?: ((event: ClipboardEvent) => any) | undefined;
|
|
88
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
89
|
+
"onIcon-click"?: ((event: MouseEvent) => any) | undefined;
|
|
90
|
+
}>, {}, {}, {}, {}, {
|
|
91
|
+
label: string;
|
|
92
|
+
message: string;
|
|
93
|
+
size: "extra-small" | "small" | "medium" | "large";
|
|
94
|
+
icon: string;
|
|
95
|
+
type: "text" | "email" | "password" | "number" | "tel" | "url";
|
|
96
|
+
required: boolean;
|
|
97
|
+
disabled: boolean;
|
|
98
|
+
iconPosition: "left" | "right";
|
|
99
|
+
modelValue: string;
|
|
100
|
+
placeholder: string;
|
|
101
|
+
state: "default" | "error" | "valid" | "incomplete" | "completed";
|
|
102
|
+
readonly: boolean;
|
|
103
|
+
iconClickable: boolean;
|
|
104
|
+
step: number;
|
|
105
|
+
isCode: boolean;
|
|
106
|
+
forceModelValueOnBlur: boolean;
|
|
107
|
+
}> | null;
|
|
108
|
+
}, HTMLDivElement>;
|
|
109
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DropDown } from './DropDown';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface DropDownOption {
|
|
2
|
+
value: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface DropDownProps {
|
|
7
|
+
modelValue?: string | number | (string | number)[];
|
|
8
|
+
label?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
options?: DropDownOption[];
|
|
11
|
+
state?: 'default' | 'error' | 'valid' | 'incomplete' | 'completed';
|
|
12
|
+
size?: 'small' | 'medium' | 'large';
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
readonly?: boolean;
|
|
15
|
+
multiple?: boolean;
|
|
16
|
+
searchable?: boolean;
|
|
17
|
+
clearable?: boolean;
|
|
18
|
+
message?: string;
|
|
19
|
+
required?: boolean;
|
|
20
|
+
maxHeight?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ErrorStateProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ErrorStateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
|
+
retry: () => any;
|
|
5
|
+
}, string, PublicProps, Readonly<ErrorStateProps> & Readonly<{
|
|
6
|
+
onRetry?: (() => any) | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
actionLabel: string;
|
|
11
|
+
spinning: boolean;
|
|
12
|
+
preset: "gears" | "search";
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FeedbackState } from './FeedbackState';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface ErrorStateProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
actionLabel?: string;
|
|
5
|
+
retryAction?: () => void;
|
|
6
|
+
spinning?: boolean;
|
|
7
|
+
imageSrc?: string;
|
|
8
|
+
imageAlt?: string;
|
|
9
|
+
preset?: 'gears' | 'search';
|
|
10
|
+
}
|
|
11
|
+
export type FeedbackStateProps = ErrorStateProps;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FilterChipProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<FilterChipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
+
"update:filters": (filters: Record<string, string>) => any;
|
|
5
|
+
}, string, PublicProps, Readonly<FilterChipProps> & Readonly<{
|
|
6
|
+
"onUpdate:filters"?: ((filters: Record<string, string>) => any) | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
size: "extra-small" | "small" | "medium" | "large";
|
|
9
|
+
variant: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
removable: boolean;
|
|
12
|
+
filters: Record<string, any>;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FilterChip } from './FilterChip';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
length?: number;
|
|
6
|
+
type?: 'text' | 'number';
|
|
7
|
+
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
8
|
+
size?: 'small' | 'medium' | 'large';
|
|
9
|
+
state?: 'default' | 'error' | 'valid';
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
message?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
autoFocus?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: DefineComponent<Props, {
|
|
16
|
+
focus: () => void;
|
|
17
|
+
clear: () => void;
|
|
18
|
+
setValue: (value: string) => void;
|
|
19
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
+
blur: (event: FocusEvent) => any;
|
|
21
|
+
change: (value: string) => any;
|
|
22
|
+
focus: (event: FocusEvent) => any;
|
|
23
|
+
"update:modelValue": (value: string) => any;
|
|
24
|
+
complete: (value: string) => any;
|
|
25
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
27
|
+
onChange?: ((value: string) => any) | undefined;
|
|
28
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
29
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
30
|
+
onComplete?: ((value: string) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
length: number;
|
|
33
|
+
label: string;
|
|
34
|
+
message: string;
|
|
35
|
+
size: "small" | "medium" | "large";
|
|
36
|
+
type: "text" | "number";
|
|
37
|
+
required: boolean;
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
modelValue: string;
|
|
40
|
+
state: "default" | "error" | "valid";
|
|
41
|
+
autoFocus: boolean;
|
|
42
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface InputCodeProps {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
length?: number;
|
|
5
|
+
type?: 'text' | 'number';
|
|
6
|
+
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
7
|
+
size?: 'small' | 'medium' | 'large';
|
|
8
|
+
state?: 'default' | 'error' | 'valid';
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
message?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
autoFocus?: boolean;
|
|
13
|
+
}
|