@arche-mc2/vue-ui-lib 1.0.6 → 1.0.8
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/icons.svg +1613 -0
- package/dist/types/components/ButtonBase.vue.d.ts +23 -0
- package/dist/types/components/CheckboxBase.vue.d.ts +29 -0
- package/dist/types/components/DataGrid.vue.d.ts +30 -0
- package/dist/types/components/FlyoutMenu.vue.d.ts +20 -0
- package/dist/types/components/InputBase.vue.d.ts +21 -0
- package/dist/types/components/ListWithSearch.vue.d.ts +24 -0
- package/dist/types/components/ModalBase.vue.d.ts +16 -0
- package/dist/types/components/OptionalWrapperComponent.vue.d.ts +19 -0
- package/dist/types/components/RadioBase.vue.d.ts +21 -0
- package/dist/types/components/SegmentedButton.vue.d.ts +41 -0
- package/dist/types/components/SelectBase.vue.d.ts +19 -0
- package/dist/types/components/TagBase.vue.d.ts +6 -0
- package/dist/types/components/ToastBase.vue.d.ts +2 -0
- package/dist/types/components/ToggleAdvanced.vue.d.ts +25 -0
- package/dist/types/components/ToggleBase.vue.d.ts +23 -0
- package/dist/types/components/TooltipBase.vue.d.ts +21 -0
- package/dist/types/components/datePicker/DatePicker.vue.d.ts +12 -0
- package/dist/types/components/datePicker/DatePickerCalendar.vue.d.ts +18 -0
- package/dist/types/components/datePicker/DatePickerNavigation.vue.d.ts +13 -0
- package/dist/types/components/loaderBase/LoaderBase.vue.d.ts +7 -0
- package/dist/types/components/selectionBase/SelectionGroup.vue.d.ts +19 -0
- package/dist/types/components/selectionBase/SelectionItem.vue.d.ts +29 -0
- package/dist/types/components/svgIcon/SvgIcon.vue.d.ts +16 -0
- package/dist/types/components/svgIcon/iconNames.d.ts +2 -0
- package/dist/types/constantes.d.ts +2 -0
- package/dist/types/index.d.ts +39 -0
- package/dist/types/stories/buttonBase.stories.d.ts +11 -0
- package/dist/types/stories/checkboxBase.stories.d.ts +9 -0
- package/dist/types/stories/dataGrid.stories.d.ts +9 -0
- package/dist/types/stories/datePicker.stories.d.ts +6 -0
- package/dist/types/stories/flyoutMenu.stories.d.ts +6 -0
- package/dist/types/stories/inputBase.stories.d.ts +12 -0
- package/dist/types/stories/listWithSearch.stories.d.ts +9 -0
- package/dist/types/stories/loaderBase.stories.d.ts +7 -0
- package/dist/types/stories/modalBase.stories.d.ts +5 -0
- package/dist/types/stories/radioBase.stories.d.ts +10 -0
- package/dist/types/stories/segmentedButton.stories.d.ts +8 -0
- package/dist/types/stories/selectBase.stories.d.ts +9 -0
- package/dist/types/stories/selectionGroup.stories.d.ts +7 -0
- package/dist/types/stories/svgIcon.stories.d.ts +7 -0
- package/dist/types/stories/tagBase.stories.d.ts +9 -0
- package/dist/types/stories/toastBase.stories.d.ts +6 -0
- package/dist/types/stories/toggleAdvanced.stories.d.ts +8 -0
- package/dist/types/stories/toggleBase.stories.d.ts +8 -0
- package/dist/types/stories/tooltipBase.stories.d.ts +104 -0
- package/dist/types/types.d.ts +46 -0
- package/dist/types/utils/date.d.ts +91 -0
- package/dist/types/utils/provideToast.d.ts +7 -0
- package/dist/types/utils/string.d.ts +2 -0
- package/dist/vue-ui-lib.es.js +2586 -2586
- package/dist/vue-ui-lib.umd.js +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { IconName } from "./svgIcon/iconNames";
|
|
2
|
+
import { ButtonTypes } from "@/types";
|
|
3
|
+
export interface ButtonBaseProps {
|
|
4
|
+
type?: ButtonTypes;
|
|
5
|
+
iconName?: IconName;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
active?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare var __VLS_5: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_5) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<ButtonBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonBaseProps> & Readonly<{}>, {
|
|
15
|
+
type: ButtonTypes;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { CSSProperties } from "vue";
|
|
2
|
+
import type { IconName } from "./svgIcon/iconNames";
|
|
3
|
+
interface BaseCheckboxTheme extends CSSProperties {
|
|
4
|
+
"--amc2-checkbox-color"?: CSSProperties["color"];
|
|
5
|
+
"--amc2-checkbox-disabled-color"?: CSSProperties["color"];
|
|
6
|
+
"--amc2-checkmark-color"?: CSSProperties["color"];
|
|
7
|
+
}
|
|
8
|
+
export interface BaseCheckboxProps {
|
|
9
|
+
label?: string;
|
|
10
|
+
icon?: IconName;
|
|
11
|
+
iconStyle?: {
|
|
12
|
+
height?: string;
|
|
13
|
+
width?: string;
|
|
14
|
+
};
|
|
15
|
+
theme?: BaseCheckboxTheme;
|
|
16
|
+
indeterminate?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
type __VLS_Props = BaseCheckboxProps;
|
|
21
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
22
|
+
modelValue?: boolean;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (value: boolean) => any;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
27
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { DatagridHeader } from "../types";
|
|
2
|
+
export interface DataGridProps {
|
|
3
|
+
headers: DatagridHeader[];
|
|
4
|
+
items: any[];
|
|
5
|
+
selection?: boolean;
|
|
6
|
+
hasMore: boolean;
|
|
7
|
+
allCheckState?: {
|
|
8
|
+
isChecked: boolean;
|
|
9
|
+
partially: boolean;
|
|
10
|
+
};
|
|
11
|
+
modalFilter?: (header: any) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import("vue").DefineComponent<DataGridProps, {
|
|
14
|
+
resetScroll: () => void | undefined;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
loadMore: () => any;
|
|
17
|
+
updateCheckItem: (id: number, isChecked: boolean) => any;
|
|
18
|
+
updateCheckAll: (isChecked: boolean) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<DataGridProps> & Readonly<{
|
|
20
|
+
onLoadMore?: (() => any) | undefined;
|
|
21
|
+
onUpdateCheckItem?: ((id: number, isChecked: boolean) => any) | undefined;
|
|
22
|
+
onUpdateCheckAll?: ((isChecked: boolean) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
selection: boolean;
|
|
25
|
+
allCheckState: {
|
|
26
|
+
isChecked: boolean;
|
|
27
|
+
partially: boolean;
|
|
28
|
+
};
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { FlyoutMenuItem, Position } from "../types";
|
|
2
|
+
export interface FlyoutMenuProps {
|
|
3
|
+
items?: FlyoutMenuItem[];
|
|
4
|
+
displayEl?: HTMLElement | null;
|
|
5
|
+
position?: Position;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
} & {
|
|
11
|
+
content?: (props: typeof __VLS_3) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<FlyoutMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FlyoutMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { IconName } from "./svgIcon/iconNames";
|
|
2
|
+
type TypeInput = "text" | "number" | "time" | "search" | "email" | "password" | "tel" | "url" | "date";
|
|
3
|
+
type TypeValue = string | number;
|
|
4
|
+
export interface InputBaseProps {
|
|
5
|
+
label?: string;
|
|
6
|
+
modelValue?: TypeValue;
|
|
7
|
+
type?: TypeInput;
|
|
8
|
+
iconName?: IconName;
|
|
9
|
+
clearable?: boolean;
|
|
10
|
+
passwordControl?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
error?: boolean;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import("vue").DefineComponent<InputBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
"update:modelValue": (value: TypeValue) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<InputBaseProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: TypeValue) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Option } from "../types";
|
|
2
|
+
export interface ListWithSearchProps {
|
|
3
|
+
stickyHeader?: boolean;
|
|
4
|
+
searchable?: boolean;
|
|
5
|
+
itemSize?: string;
|
|
6
|
+
searchPlaceholder?: string;
|
|
7
|
+
emptyMessage?: string;
|
|
8
|
+
labelSelectAll?: string;
|
|
9
|
+
modelValue: Option[];
|
|
10
|
+
options: Option[];
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
multiple?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: import("vue").DefineComponent<ListWithSearchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<ListWithSearchProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
stickyHeader: boolean;
|
|
20
|
+
searchPlaceholder: string;
|
|
21
|
+
emptyMessage: string;
|
|
22
|
+
labelSelectAll: string;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface ModalBaseProps {
|
|
2
|
+
visible: boolean;
|
|
3
|
+
title: string;
|
|
4
|
+
}
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<ModalBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ModalBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
is?: Component | string | null;
|
|
4
|
+
wrap?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_7: {}, __VLS_9: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_9) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface RadioTheme {
|
|
2
|
+
"--amc2-radio-color"?: string;
|
|
3
|
+
"--amc2-radio-disabled-color"?: string;
|
|
4
|
+
"--amc2-radio-point-color"?: string;
|
|
5
|
+
"--amc2-radio-point-disabled-color"?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface RadioBaseProps {
|
|
8
|
+
label?: string;
|
|
9
|
+
icon?: string;
|
|
10
|
+
theme?: RadioTheme;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
modelValue?: any;
|
|
13
|
+
value: any;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import("vue").DefineComponent<RadioBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (...args: any[]) => void;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<RadioBaseProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { CSSProperties } from "vue";
|
|
2
|
+
import type { IconName } from "./svgIcon/iconNames";
|
|
3
|
+
type SegmentedButtonState = "left" | "center" | "right";
|
|
4
|
+
interface SegmentedButtonTheme {
|
|
5
|
+
"amc2-segmented-button-on-color"?: CSSProperties["color"];
|
|
6
|
+
"amc2-segmented-button-on-hover-color"?: CSSProperties["color"];
|
|
7
|
+
"amc2-segmented-button-off-color"?: CSSProperties["color"];
|
|
8
|
+
"amc2-segmented-button-off-hover-color"?: CSSProperties["color"];
|
|
9
|
+
"amc2-segmented-button-on-disabled-color"?: CSSProperties["color"];
|
|
10
|
+
"amc2-segmented-button-off-disabled-color"?: CSSProperties["color"];
|
|
11
|
+
}
|
|
12
|
+
export interface SegmentedButtonProps {
|
|
13
|
+
iconLeft?: IconName;
|
|
14
|
+
labelLeft?: string;
|
|
15
|
+
toolTipLabelLeft?: string;
|
|
16
|
+
iconCenter?: IconName;
|
|
17
|
+
labelCenter?: string;
|
|
18
|
+
toolTipLabelCenter?: string;
|
|
19
|
+
iconRight?: IconName;
|
|
20
|
+
labelRight?: string;
|
|
21
|
+
toolTipLabelRight?: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
modelValue?: SegmentedButtonState;
|
|
24
|
+
theme?: SegmentedButtonTheme;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: import("vue").DefineComponent<SegmentedButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
27
|
+
"update:modelValue": (value: SegmentedButtonState) => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<SegmentedButtonProps> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((value: SegmentedButtonState) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
modelValue: SegmentedButtonState;
|
|
32
|
+
iconLeft: IconName;
|
|
33
|
+
labelLeft: string;
|
|
34
|
+
toolTipLabelLeft: string;
|
|
35
|
+
labelCenter: string;
|
|
36
|
+
toolTipLabelCenter: string;
|
|
37
|
+
iconRight: IconName;
|
|
38
|
+
labelRight: string;
|
|
39
|
+
toolTipLabelRight: string;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Option } from "../types";
|
|
2
|
+
export interface SelectBaseProps {
|
|
3
|
+
options: Option[];
|
|
4
|
+
multiple?: boolean;
|
|
5
|
+
searchable?: boolean;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
clearable?: boolean;
|
|
9
|
+
modelValue: Option[];
|
|
10
|
+
label?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import("vue").DefineComponent<SelectBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<SelectBaseProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
clearable: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface TagBaseProps {
|
|
2
|
+
label: string;
|
|
3
|
+
backgroundColor: "blue" | "green" | "primary" | "secondary";
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<TagBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TagBaseProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface ToggleTheme {
|
|
2
|
+
"--amc2-toggle-on-color"?: string;
|
|
3
|
+
"--amc2-toggle-off-color"?: string;
|
|
4
|
+
"--amc2-toggle-on-disabled-color"?: string;
|
|
5
|
+
"--amc2-toggle-off-disabled-color"?: string;
|
|
6
|
+
"--amc2-slider-on-color"?: string;
|
|
7
|
+
"--amc2-slider-off-color"?: string;
|
|
8
|
+
"--amc2-slider-on-hover-color"?: string;
|
|
9
|
+
"--amc2-slider-off-hover-color"?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ToggleAdvancedProps {
|
|
12
|
+
labelLeft?: string;
|
|
13
|
+
iconLeft?: string;
|
|
14
|
+
labelRight?: string;
|
|
15
|
+
iconRight?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
modelValue?: boolean;
|
|
18
|
+
theme?: ToggleTheme;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: import("vue").DefineComponent<ToggleAdvancedProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (...args: any[]) => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<ToggleAdvancedProps> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
interface ToggleTheme {
|
|
2
|
+
"amc2-toggle-on-color"?: string;
|
|
3
|
+
"amc2-toggle-off-color"?: string;
|
|
4
|
+
"amc2-toggle-on-disabled-color"?: string;
|
|
5
|
+
"amc2-toggle-off-disabled-color"?: string;
|
|
6
|
+
"amc2-slider-on-color"?: string;
|
|
7
|
+
"amc2-slider-off-color"?: string;
|
|
8
|
+
"amc2-slider-on-disabled-color"?: string;
|
|
9
|
+
"amc2-slider-off-disabled-color"?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ToggleBaseProps {
|
|
12
|
+
label?: string;
|
|
13
|
+
icon?: string;
|
|
14
|
+
theme?: ToggleTheme;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
modelValue?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import("vue").DefineComponent<ToggleBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
|
+
"update:modelValue": (value: boolean) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<ToggleBaseProps> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Position } from "../types";
|
|
2
|
+
export interface TooltipBaseProps {
|
|
3
|
+
position?: Position;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
declare var __VLS_1: {}, __VLS_8: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
} & {
|
|
10
|
+
content?: (props: typeof __VLS_8) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<TooltipBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TooltipBaseProps> & Readonly<{}>, {
|
|
13
|
+
position: Position;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface DatePickerProps {
|
|
2
|
+
modelValue?: Date;
|
|
3
|
+
min?: Date;
|
|
4
|
+
max?: Date;
|
|
5
|
+
onDateChange?: (date: Date) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<DatePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (selectedDate: Date) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<DatePickerProps> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((selectedDate: Date) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { NavType } from "../../types";
|
|
2
|
+
interface DatePickerCalendarProps {
|
|
3
|
+
selectedDate: Date | undefined;
|
|
4
|
+
navigationDate: Date;
|
|
5
|
+
navType: NavType;
|
|
6
|
+
min?: Date;
|
|
7
|
+
max?: Date;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<DatePickerCalendarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
updateNavDate: (newDate: Date) => any;
|
|
11
|
+
updateNavType: (newNavType: NavType) => any;
|
|
12
|
+
updateSelectedDate: (newDate: Date) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<DatePickerCalendarProps> & Readonly<{
|
|
14
|
+
onUpdateNavDate?: ((newDate: Date) => any) | undefined;
|
|
15
|
+
onUpdateNavType?: ((newNavType: NavType) => any) | undefined;
|
|
16
|
+
onUpdateSelectedDate?: ((newDate: Date) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NavType } from "../../types";
|
|
2
|
+
interface DatePickerNavigationProps {
|
|
3
|
+
navigationDate: Date;
|
|
4
|
+
navType: NavType;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<DatePickerNavigationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
updateNavDate: (newDate: Date) => any;
|
|
8
|
+
updateNavType: (newNavType: NavType) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<DatePickerNavigationProps> & Readonly<{
|
|
10
|
+
onUpdateNavDate?: ((newDate: Date) => any) | undefined;
|
|
11
|
+
onUpdateNavType?: ((newNavType: NavType) => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface LoaderBaseProps {
|
|
2
|
+
size?: number;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<LoaderBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LoaderBaseProps> & Readonly<{}>, {
|
|
5
|
+
size: number;
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface SelectItem {
|
|
2
|
+
value: any;
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
export interface SelectionGroupProps {
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
clearable?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
tooltipStyle?: Record<string, any>;
|
|
10
|
+
modelValue: SelectItem[];
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import("vue").DefineComponent<SelectionGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:modelValue": (value: SelectItem[]) => any;
|
|
14
|
+
clearAll: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<SelectionGroupProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: SelectItem[]) => any) | undefined;
|
|
17
|
+
onClearAll?: (() => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
interface SelectItem {
|
|
2
|
+
value: any;
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
clearable?: boolean;
|
|
8
|
+
modelValue: SelectItem | null;
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_1: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_1) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
15
|
+
clear: () => any;
|
|
16
|
+
"update:modelValue": (value: SelectItem | null) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onClear?: (() => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: SelectItem | null) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
clearable: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IconName } from "./iconNames";
|
|
2
|
+
export interface SvgIconProps {
|
|
3
|
+
iconName: IconName;
|
|
4
|
+
color?: string;
|
|
5
|
+
hover?: string;
|
|
6
|
+
height?: string;
|
|
7
|
+
width?: string;
|
|
8
|
+
accessibilityTitle?: string;
|
|
9
|
+
classIcon?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import("vue").DefineComponent<SvgIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SvgIconProps> & Readonly<{}>, {
|
|
12
|
+
color: string;
|
|
13
|
+
height: string;
|
|
14
|
+
width: string;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare type IconName = (typeof iconNames)[number];
|
|
2
|
+
export declare const iconNames: readonly ["NFC-Phone", "NFC-card", "accounting", "activity", "add-comment", "address-book", "administration", "airplay", "alert-circle", "alert-octagon", "alert-triangle", "align-center", "align-justify", "align-left", "align-right", "almond", "ambulance", "anchor", "aperture", "arche-1", "arche-2", "arche-3", "armchair", "arrow-down-1-9", "arrow-down-9-1", "arrow-down-left", "arrow-down-right", "arrow-down-a-z", "arrow-down-z-a", "arrow-down", "arrow-go", "arrow-left", "arrow-right", "arrow-up-9-1", "arrow-up-a-z", "arrow-up-left", "arrow-up-right", "arrow-up", "assistance", "at-sign", "attach", "award", "bacteria", "bar-chart-2", "bar-chart", "bar-code", "battery-charging", "battery", "bed", "bell-off", "bell-ring", "bell", "bike", "birthday", "bluetooth-off", "bluetooth", "book-open", "book", "bookmark", "box-archive", "box", "briefcase", "broom", "budget-grid", "budget-grid2", "budget-grid3", "budget-grid4", "budget-grid5", "budget", "bug", "bulb-broken", "bulb", "burger", "bus", "calc", "calendar-alert", "calendar-check", "calendar-download", "calendar-import", "calendar-parameters", "calendar-plus", "calendar-warning", "calendar", "camera-off", "camera", "car-2", "car", "cardboard", "cars", "cast", "cellular-network-2", "cellular-network-3", "cellular-network-4", "cellular-network-head", "cellular-network-top", "certificat", "chart", "check-circle", "check-square", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "chevrons-down", "chevrons-left", "chevrons-right", "chevrons-up", "chrome", "circle-full", "circle-half", "circle-quarter", "circle-three-quarters", "circle", "circles", "clipboard-check", "clipboard-error", "clipboard-full", "clipboard-off", "clipboard-plus", "clipboard-warning", "clipboard", "clock", "close", "cloud-drizzle", "cloud-lightning", "cloud-off", "cloud-rain", "cloud-snow", "cloud", "column", "combined-shape", "command", "company", "company2", "compass", "computer", "copy", "copy2", "copyright", "corner-down-left", "corner-down-right", "corner-left-down", "corner-left-up", "corner-right-down", "corner-right-up", "corner-up-left-double-check", "corner-up-left-double-error", "corner-up-left-double-warning", "corner-up-left", "corner-up-right-check", "corner-up-right-error", "corner-up-right-warning", "corner-up-right", "cpu", "crab", "credit-card", "cross-hair", "customer-card", "cut", "delete", "desk", "disc", "dog-2", "dog", "dome", "door-open", "door", "dot", "download-cloud", "download", "droplet", "drugs", "edit-2", "edit-3", "edit", "education", "egg", "euro", "export-image", "extern-al-link", "eye-off", "eye", "facebook", "fall", "fast-forward", "faucet", "fax", "feather", "female", "file-close", "file-doc", "file-export", "file-import", "file-jpg", "file-minus", "file-off", "file-pdf", "file-plus", "file-png", "file-text", "file-txt", "file-warning", "file-xls", "file-xxx", "file", "files", "film", "filter-off", "filter", "fire", "flag", "folder-error", "folder-open-error", "folder-open-warning", "folder-open", "folder-warning", "folder", "folders", "for-me", "for-you", "forbidden", "fridge", "furniture", "github", "globe", "grant", "grid-3", "grid-empty", "grid-header", "grid-import", "grid", "haha", "hands", "hash", "head-set", "headphones", "health-kit", "health", "heart-2", "heart", "hide-grid-header", "history", "holiday", "home", "hourglass", "human", "iban-rib", "image", "inbox", "info", "injection", "instagram", "invoice", "itinerary", "journey", "key-2", "key-3", "key", "keychain-off", "keychain", "km", "law", "layers", "layout", "letter-a-plus", "letter-a", "letter-c", "letter-d", "letter-m", "letter-o", "letter-sigma", "letter-sigma2", "letter-t", "life-buoy", "line", "link-2", "link", "loader", "loan", "lock", "log-in", "log-out", "macro", "mail-check", "mail-copy", "mail-open", "mail", "male", "mandatary", "map-2", "map-pin-off", "map-pin", "map", "max", "maximize-2", "maximize", "menu", "message-circle", "message-square-off", "message-square", "mic-off", "mic", "min", "minimize-2", "minimize", "minus-circle", "minus-square", "minus", "mms", "mobile-call", "monitor", "moon", "more-horizontal", "more-vertical", "move", "music", "navigation-2", "navigation", "network", "newmenu", "newspaper", "nfc-hand", "no_data", "number-1", "number-10", "number-2", "number-3", "number-4", "number-5", "number-6", "number-7", "number-8", "number-9", "nurse", "octagon", "package", "palette", "paste", "pause-circle", "pause", "pear", "percent", "phone-call", "phone-forwarded", "phone-hangs-up", "phone-incoming", "phone-keyboard", "phone-missed-2", "phone-missed", "phone-off", "phone-outgoing", "phone", "pie-chart-2", "pie-chart", "piggy-bank", "pin", "play-circle", "play", "plus-circle", "plus-square", "plus", "pocket", "pointer", "power", "prestataire", "preview", "printer-selection", "printer", "processing", "qr-code", "question-circle", "question", "questions", "quote-close", "quote-open", "quote", "radio-off", "radio", "rank", "refresh-ccw", "refresh-cw", "repeat", "reset", "restaurant", "restore-size", "rewind", "road-sign", "rotate-ccw", "rotate-cw", "save", "scan", "scissors", "search", "select-line", "send", "server", "settings-check", "settings-ok", "settings", "share-2", "share", "share1", "shield-2", "shield", "shopbag1", "shopbag2", "shower", "shuffle", "sidebar", "sign-add", "sign-remove", "sign", "sim-card", "sink", "skip-back", "skip-forward", "slack", "slash", "smartphone", "smile", "speaker", "square", "ssiad", "star-full", "star-half", "star", "stethoscope-plus", "stethoscope", "stop-circle", "storage-2", "storage", "stroller", "sugar", "sun", "sunrise", "sunset", "surprise", "swim", "tablet-2", "tablet-synchro", "tablet", "tag", "target", "task-2", "task", "thermometer", "thumbs-down", "thumbs-up", "time-constraint", "timestamp", "toggle-left", "toggle-right", "tools", "torch-on", "torch", "traceability-off", "traceability-on", "transfert", "transmission", "trash-2", "trash", "trending-down", "trending-up", "triangle", "truck", "tune", "twitter", "type", "umbrella", "uniEAAB", "uniEAAC", "uniEAAD", "uniEAAE", "uniEAAF", "uniEAB0", "uniEAB1", "uniEAB2", "uniEAB3", "uniEAB4", "unlink", "unlock", "up-down", "update-cell", "update-month", "update-type", "update-year", "update", "upload-cloud", "upload", "user-admin", "user-alert", "user-check", "user-lock", "user-minus", "user-plus", "user-tie", "user-x", "user", "users-alert", "users-plus", "users", "vacuum", "video-off", "video", "voicemail", "volume-1", "volume-2", "volume-x", "volume", "voucher-2", "voucher", "walk", "wallet", "watch", "wifi-1", "wifi-2", "wifi-3", "wifi-off", "wifi", "wifi1", "wind", "workgroup", "x-circle", "x-square", "x", "youtube", "zap", "zoom-in", "zoom-out"];
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export { default as ButtonBase } from "./components/ButtonBase.vue";
|
|
2
|
+
export type { ButtonBaseProps } from "./components/ButtonBase.vue";
|
|
3
|
+
export { default as CheckboxBase } from "./components/CheckboxBase.vue";
|
|
4
|
+
export type { BaseCheckboxProps } from "./components/CheckboxBase.vue";
|
|
5
|
+
export { default as DataGrid } from "./components/DataGrid.vue";
|
|
6
|
+
export type { DataGridProps } from "./components/DataGrid.vue";
|
|
7
|
+
export { default as FlyoutMenu } from "./components/FlyoutMenu.vue";
|
|
8
|
+
export type { FlyoutMenuProps } from "./components/FlyoutMenu.vue";
|
|
9
|
+
export { default as InputBase } from "./components/InputBase.vue";
|
|
10
|
+
export type { InputBaseProps } from "./components/InputBase.vue";
|
|
11
|
+
export { default as ListWithSearch } from "./components/ListWithSearch.vue";
|
|
12
|
+
export type { ListWithSearchProps } from "./components/ListWithSearch.vue";
|
|
13
|
+
export { default as ModalBase } from "./components/ModalBase.vue";
|
|
14
|
+
export type { ModalBaseProps } from "./components/ModalBase.vue";
|
|
15
|
+
export { default as RadioBase } from "./components/RadioBase.vue";
|
|
16
|
+
export type { RadioBaseProps } from "./components/RadioBase.vue";
|
|
17
|
+
export { default as SegmentedButton } from "./components/SegmentedButton.vue";
|
|
18
|
+
export type { SegmentedButtonProps } from "./components/SegmentedButton.vue";
|
|
19
|
+
export { default as SelectBase } from "./components/SelectBase.vue";
|
|
20
|
+
export type { SelectBaseProps } from "./components/SelectBase.vue";
|
|
21
|
+
export { default as TagBase } from "./components/TagBase.vue";
|
|
22
|
+
export type { TagBaseProps } from "./components/TagBase.vue";
|
|
23
|
+
export { default as ToggleAdvanced } from "./components/ToggleAdvanced.vue";
|
|
24
|
+
export type { ToggleAdvancedProps } from "./components/ToggleAdvanced.vue";
|
|
25
|
+
export { default as ToggleBase } from "./components/ToggleBase.vue";
|
|
26
|
+
export type { ToggleBaseProps } from "./components/ToggleBase.vue";
|
|
27
|
+
export { default as TooltipBase } from "./components/TooltipBase.vue";
|
|
28
|
+
export type { TooltipBaseProps } from "./components/TooltipBase.vue";
|
|
29
|
+
export { default as DatePicker } from "./components/datePicker/DatePicker.vue";
|
|
30
|
+
export type { DatePickerProps } from "./components/datePicker/DatePicker.vue";
|
|
31
|
+
export { default as LoaderBase } from "./components/loaderBase/LoaderBase.vue";
|
|
32
|
+
export type { LoaderBaseProps } from "./components/loaderBase/LoaderBase.vue";
|
|
33
|
+
export { default as SelectionGroup } from "./components/selectionBase/SelectionGroup.vue";
|
|
34
|
+
export type { SelectionGroupProps } from "./components/selectionBase/SelectionGroup.vue";
|
|
35
|
+
export { default as SvgIcon } from "./components/svgIcon/SvgIcon.vue";
|
|
36
|
+
export type { SvgIconProps } from "./components/svgIcon/SvgIcon.vue";
|
|
37
|
+
export type { IconName } from "./components/svgIcon/iconNames";
|
|
38
|
+
export { default as ToastBase } from "./components/ToastBase.vue";
|
|
39
|
+
export { provideToast, useToast } from "./utils/provideToast";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import ButtonBase from "../components/ButtonBase.vue";
|
|
2
|
+
import type { Meta, StoryFn } from "@storybook/vue3";
|
|
3
|
+
declare const meta: Meta<typeof ButtonBase>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Primaire: StoryFn;
|
|
6
|
+
export declare const Secondaire: StoryFn;
|
|
7
|
+
export declare const AvecIcône: StoryFn;
|
|
8
|
+
export declare const Chargement: StoryFn;
|
|
9
|
+
export declare const Désactivé: StoryFn;
|
|
10
|
+
export declare const Actif: StoryFn;
|
|
11
|
+
export declare const Tous: StoryFn;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import CheckboxBase from "../components/CheckboxBase.vue";
|
|
2
|
+
import type { Meta, StoryFn } from "@storybook/vue3";
|
|
3
|
+
declare const _default: Meta<typeof CheckboxBase>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Défaut: StoryFn;
|
|
6
|
+
export declare const Indeterminé: StoryFn;
|
|
7
|
+
export declare const Désactivé: StoryFn;
|
|
8
|
+
export declare const AvecIcône: StoryFn;
|
|
9
|
+
export declare const ThemePersonnalisé: StoryFn;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import DataGrid from "../components/DataGrid.vue";
|
|
2
|
+
import type { Meta, StoryFn } from "@storybook/vue3";
|
|
3
|
+
declare const _default: Meta<typeof DataGrid>;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const Template: StoryFn<typeof DataGrid>;
|
|
6
|
+
export declare const Défaut: typeof Template;
|
|
7
|
+
export declare const SansSelection: typeof Template;
|
|
8
|
+
export declare const AvecScroll: typeof Template;
|
|
9
|
+
export declare const AvecFiltres: typeof Template;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryFn } from "@storybook/vue3";
|
|
2
|
+
import DatePicker from "../components/datePicker/DatePicker.vue";
|
|
3
|
+
declare const meta: Meta<typeof DatePicker>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Simple: StoryFn;
|
|
6
|
+
export declare const AvecLimites: StoryFn;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryFn } from "@storybook/vue3";
|
|
2
|
+
import FlyoutMenu from "../components/FlyoutMenu.vue";
|
|
3
|
+
declare const _default: Meta<typeof FlyoutMenu>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Défaut: StoryFn;
|
|
6
|
+
export declare const AvecSlot: StoryFn;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Meta, StoryFn } from "@storybook/vue3";
|
|
2
|
+
import Input from "../components/InputBase.vue";
|
|
3
|
+
declare const meta: Meta<typeof Input>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Texte: StoryFn;
|
|
6
|
+
export declare const MotDePasse: StoryFn;
|
|
7
|
+
export declare const AvecIcône: StoryFn;
|
|
8
|
+
export declare const Désactivé: StoryFn;
|
|
9
|
+
export declare const AvecErreur: StoryFn;
|
|
10
|
+
export declare const Requis: StoryFn;
|
|
11
|
+
export declare const ChampDate: StoryFn;
|
|
12
|
+
export declare const AvecEffacement: StoryFn;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import ListWithSearch from "../components/ListWithSearch.vue";
|
|
2
|
+
import type { Meta, StoryFn } from "@storybook/vue3";
|
|
3
|
+
declare const _default: Meta<typeof ListWithSearch>;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const Template: StoryFn<typeof ListWithSearch>;
|
|
6
|
+
export declare const Défaut: typeof Template;
|
|
7
|
+
export declare const AvecValeursSelectionnées: typeof Template;
|
|
8
|
+
export declare const SelectionUnique: typeof Template;
|
|
9
|
+
export declare const ListeVide: typeof Template;
|