@avenirs-esr/avenirs-dsav 0.1.47 → 0.1.50
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/avenirs-dsav.css +1 -1
- package/dist/avenirs-dsav.es.js +54 -46
- package/dist/avenirs-dsav.umd.js +1 -1
- package/package.json +7 -3
- package/src/styles/main.scss +6 -1
- package/dist/App.vue.d.ts +0 -2
- package/dist/components/badges/AvBadge/AvBadge.stories.d.ts +0 -36
- package/dist/components/badges/AvBadge/AvBadge.stub.d.ts +0 -18
- package/dist/components/badges/AvBadge/AvBadge.test.d.ts +0 -1
- package/dist/components/badges/AvBadge/AvBadge.vue.d.ts +0 -44
- package/dist/components/badges/index.d.ts +0 -2
- package/dist/components/base/AvIconText/AvIconText.stories.d.ts +0 -36
- package/dist/components/base/AvIconText/AvIconText.test.d.ts +0 -1
- package/dist/components/base/AvIconText/AvIconText.vue.d.ts +0 -40
- package/dist/components/base/AvNotice/AvNotice.stories.d.ts +0 -56
- package/dist/components/base/AvNotice/AvNotice.test.d.ts +0 -1
- package/dist/components/base/AvNotice/AvNotice.vue.d.ts +0 -22
- package/dist/components/base/AvVIcon/AvVIcon.stories.d.ts +0 -40
- package/dist/components/base/AvVIcon/AvVIcon.stub.d.ts +0 -5
- package/dist/components/base/AvVIcon/AvVIcon.vue.d.ts +0 -54
- package/dist/components/base/index.d.ts +0 -4
- package/dist/components/cards/AvCard/AvCard.stories.d.ts +0 -28
- package/dist/components/cards/AvCard/AvCard.test.d.ts +0 -1
- package/dist/components/cards/AvCard/AvCard.vue.d.ts +0 -58
- package/dist/components/cards/index.d.ts +0 -1
- package/dist/components/feedback/AvAlert/AvAlert.test.d.ts +0 -1
- package/dist/components/feedback/AvAlert/AvAlert.vue.d.ts +0 -77
- package/dist/components/feedback/AvToaster/AvToaster.test.d.ts +0 -1
- package/dist/components/feedback/AvToaster/AvToaster.vue.d.ts +0 -79
- package/dist/components/feedback/index.d.ts +0 -2
- package/dist/components/header/AvHeader/AvHeader.test.d.ts +0 -1
- package/dist/components/header/AvHeader/AvHeader.vue.d.ts +0 -132
- package/dist/components/header/AvHeaderMenuLinks/AvHeaderMenuLinks.test.d.ts +0 -1
- package/dist/components/header/AvHeaderMenuLinks/AvHeaderMenuLinks.vue.d.ts +0 -38
- package/dist/components/header/AvLogo.vue.d.ts +0 -2
- package/dist/components/header/EsupLogo.test.d.ts +0 -1
- package/dist/components/header/EsupLogo.vue.d.ts +0 -7
- package/dist/components/header/index.d.ts +0 -5
- package/dist/components/index.d.ts +0 -8
- package/dist/components/interaction/accordions/AvAccordion/AvAccordion.stories.d.ts +0 -30
- package/dist/components/interaction/accordions/AvAccordion/AvAccordion.test.d.ts +0 -1
- package/dist/components/interaction/accordions/AvAccordion/AvAccordion.vue.d.ts +0 -31
- package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.stories.d.ts +0 -41
- package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.test.d.ts +0 -1
- package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.vue.d.ts +0 -36
- package/dist/components/interaction/accordions/index.d.ts +0 -2
- package/dist/components/interaction/buttons/AvButton/AvButton.stories.d.ts +0 -66
- package/dist/components/interaction/buttons/AvButton/AvButton.stub.d.ts +0 -6
- package/dist/components/interaction/buttons/AvButton/AvButton.test.d.ts +0 -1
- package/dist/components/interaction/buttons/AvButton/AvButton.vue.d.ts +0 -78
- package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.stories.d.ts +0 -44
- package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.stub.d.ts +0 -6
- package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.test.d.ts +0 -1
- package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.vue.d.ts +0 -47
- package/dist/components/interaction/buttons/AvRichButton/AvRichButton.stories.d.ts +0 -39
- package/dist/components/interaction/buttons/AvRichButton/AvRichButton.test.d.ts +0 -1
- package/dist/components/interaction/buttons/AvRichButton/AvRichButton.vue.d.ts +0 -48
- package/dist/components/interaction/buttons/index.d.ts +0 -4
- package/dist/components/interaction/files/AvFileUpload/AvFileUpload.stories.d.ts +0 -22
- package/dist/components/interaction/files/AvFileUpload/AvFileUpload.test.d.ts +0 -1
- package/dist/components/interaction/files/AvFileUpload/AvFileUpload.vue.d.ts +0 -121
- package/dist/components/interaction/files/AvFileUpload/AvFileUploadAlert.vue.d.ts +0 -19
- package/dist/components/interaction/files/index.d.ts +0 -1
- package/dist/components/interaction/index.d.ts +0 -10
- package/dist/components/interaction/inputs/AvInput/AvInput.stories.d.ts +0 -61
- package/dist/components/interaction/inputs/AvInput/AvInput.test.d.ts +0 -1
- package/dist/components/interaction/inputs/AvInput/AvInput.vue.d.ts +0 -123
- package/dist/components/interaction/inputs/index.d.ts +0 -1
- package/dist/components/interaction/lists/AvList/AvList.stories.d.ts +0 -55
- package/dist/components/interaction/lists/AvList/AvList.stub.d.ts +0 -5
- package/dist/components/interaction/lists/AvList/AvList.test.d.ts +0 -1
- package/dist/components/interaction/lists/AvList/AvList.vue.d.ts +0 -74
- package/dist/components/interaction/lists/AvListItem/AvListItem.stories.d.ts +0 -59
- package/dist/components/interaction/lists/AvListItem/AvListItem.stub.d.ts +0 -6
- package/dist/components/interaction/lists/AvListItem/AvListItem.test.d.ts +0 -1
- package/dist/components/interaction/lists/AvListItem/AvListItem.vue.d.ts +0 -112
- package/dist/components/interaction/lists/index.d.ts +0 -4
- package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.stories.d.ts +0 -24
- package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.test.d.ts +0 -1
- package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.vue.d.ts +0 -23
- package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.stories.d.ts +0 -96
- package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.stub.d.ts +0 -5
- package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.test.d.ts +0 -1
- package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.vue.d.ts +0 -79
- package/dist/components/interaction/pickers/index.d.ts +0 -3
- package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.stories.d.ts +0 -34
- package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.test.d.ts +0 -1
- package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.vue.d.ts +0 -38
- package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.stories.d.ts +0 -47
- package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.test.d.ts +0 -1
- package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.vue.d.ts +0 -76
- package/dist/components/interaction/radios/index.d.ts +0 -2
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +0 -565
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stub.d.ts +0 -6
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.test.d.ts +0 -1
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.types.d.ts +0 -101
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.vue.d.ts +0 -204
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteContext.d.ts +0 -14
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteDropdown.vue.d.ts +0 -60
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteInput.vue.d.ts +0 -585
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteSelectedTags.vue.d.ts +0 -42
- package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.stories.d.ts +0 -132
- package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.test.d.ts +0 -1
- package/dist/components/interaction/selects/AvMultiselect/AvMultiselect.vue.d.ts +0 -94
- package/dist/components/interaction/selects/AvSelect/AvSelect.stories.d.ts +0 -96
- package/dist/components/interaction/selects/AvSelect/AvSelect.stub.d.ts +0 -11
- package/dist/components/interaction/selects/AvSelect/AvSelect.test.d.ts +0 -1
- package/dist/components/interaction/selects/AvSelect/AvSelect.vue.d.ts +0 -63
- package/dist/components/interaction/selects/index.d.ts +0 -6
- package/dist/components/interaction/tabs/AvTab/AvTab.stories.d.ts +0 -34
- package/dist/components/interaction/tabs/AvTab/AvTab.test.d.ts +0 -1
- package/dist/components/interaction/tabs/AvTab/AvTab.vue.d.ts +0 -31
- package/dist/components/interaction/tabs/AvTabs/AvTabs.stories.d.ts +0 -45
- package/dist/components/interaction/tabs/AvTabs/AvTabs.test.d.ts +0 -1
- package/dist/components/interaction/tabs/AvTabs/AvTabs.vue.d.ts +0 -46
- package/dist/components/interaction/tabs/index.d.ts +0 -2
- package/dist/components/interaction/toggles/AvToggle/AvToggle.stories.d.ts +0 -21
- package/dist/components/interaction/toggles/AvToggle/AvToggle.test.d.ts +0 -1
- package/dist/components/interaction/toggles/AvToggle/AvToggle.vue.d.ts +0 -46
- package/dist/components/interaction/toggles/index.d.ts +0 -1
- package/dist/components/navigation/AvNavigation/AvNavigation.stories.d.ts +0 -27
- package/dist/components/navigation/AvNavigation/AvNavigation.test.d.ts +0 -1
- package/dist/components/navigation/AvNavigation/AvNavigation.vue.d.ts +0 -16
- package/dist/components/navigation/AvNavigation/index.d.ts +0 -1
- package/dist/components/navigation/AvPagination/AvPagination.test.d.ts +0 -1
- package/dist/components/navigation/AvPagination/AvPagination.vue.d.ts +0 -57
- package/dist/components/navigation/AvPagination/utils.d.ts +0 -14
- package/dist/components/navigation/AvPagination/utils.test.d.ts +0 -1
- package/dist/components/navigation/AvSideMenu/AvSideMenu.stories.d.ts +0 -55
- package/dist/components/navigation/AvSideMenu/AvSideMenu.test.d.ts +0 -1
- package/dist/components/navigation/AvSideMenu/AvSideMenu.vue.d.ts +0 -61
- package/dist/components/navigation/AvSideNavigation/AvSideNavigation.stories.d.ts +0 -59
- package/dist/components/navigation/AvSideNavigation/AvSideNavigation.stub.d.ts +0 -11
- package/dist/components/navigation/AvSideNavigation/AvSideNavigation.test.d.ts +0 -1
- package/dist/components/navigation/AvSideNavigation/AvSideNavigation.vue.d.ts +0 -42
- package/dist/components/navigation/AvStepper/AvStepper.stories.d.ts +0 -28
- package/dist/components/navigation/AvStepper/AvStepper.stub.d.ts +0 -14
- package/dist/components/navigation/AvStepper/AvStepper.test.d.ts +0 -1
- package/dist/components/navigation/AvStepper/AvStepper.vue.d.ts +0 -19
- package/dist/components/navigation/index.d.ts +0 -8
- package/dist/components/overlay/drawers/AvDrawer/AvDrawer.stories.d.ts +0 -53
- package/dist/components/overlay/drawers/AvDrawer/AvDrawer.stub.d.ts +0 -6
- package/dist/components/overlay/drawers/AvDrawer/AvDrawer.test.d.ts +0 -1
- package/dist/components/overlay/drawers/AvDrawer/AvDrawer.vue.d.ts +0 -60
- package/dist/components/overlay/index.d.ts +0 -4
- package/dist/components/overlay/modals/AvModal/AvModal.test.d.ts +0 -1
- package/dist/components/overlay/modals/AvModal/AvModal.vue.d.ts +0 -92
- package/dist/components/overlay/popovers/AvPopover/AvPopover.stories.d.ts +0 -49
- package/dist/components/overlay/popovers/AvPopover/AvPopover.test.d.ts +0 -1
- package/dist/components/overlay/popovers/AvPopover/AvPopover.vue.d.ts +0 -48
- package/dist/components/overlay/popovers/AvPopover/use-popover.d.ts +0 -41
- package/dist/components/overlay/popovers/AvPopover/use-popover.test.d.ts +0 -1
- package/dist/composables/index.d.ts +0 -2
- package/dist/composables/use-breakpoint/use-breakpoint.d.ts +0 -54
- package/dist/composables/use-breakpoint/use-breakpoint.test.d.ts +0 -1
- package/dist/composables/use-focus-trap/use-focus-trap.d.ts +0 -25
- package/dist/composables/use-focus-trap/use-focus-trap.test.d.ts +0 -1
- package/dist/config/breakpoints.d.ts +0 -10
- package/dist/config/index.d.ts +0 -2
- package/dist/config/page-sizes.d.ts +0 -6
- package/dist/index.d.ts +0 -7
- package/dist/main.d.ts +0 -8
- package/dist/stories/foundations/icons.stories.d.ts +0 -6
- package/dist/stories/foundations/typography.stories.d.ts +0 -5
- package/dist/tests/index.d.ts +0 -1
- package/dist/tests/stubs.d.ts +0 -41
- package/dist/tests/utils.d.ts +0 -30
- package/dist/tokens/icons.d.ts +0 -92
- package/dist/tokens/index.d.ts +0 -1
- package/dist/utils/array/array.d.ts +0 -8
- package/dist/utils/forms/form.test.d.ts +0 -1
- package/dist/utils/forms/forms.d.ts +0 -6
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/string/string.d.ts +0 -27
- package/dist/utils/string/string.test.d.ts +0 -1
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import type { VIcon } from '@gouvminint/vue-dsfr';
|
|
2
|
-
/**
|
|
3
|
-
* AvButton component props.
|
|
4
|
-
*/
|
|
5
|
-
export interface AvButtonProps {
|
|
6
|
-
/**
|
|
7
|
-
* Button variant: borderless (`DEFAULT`) or with border (`OUTLINED`).
|
|
8
|
-
* @default 'DEFAULT'
|
|
9
|
-
*/
|
|
10
|
-
variant?: 'DEFAULT' | 'OUTLINED' | 'FLAT';
|
|
11
|
-
/**
|
|
12
|
-
* Button theme: blue (`PRIMARY`) or gray (`SECONDARY`).
|
|
13
|
-
* @default 'PRIMARY'
|
|
14
|
-
*/
|
|
15
|
-
theme?: 'PRIMARY' | 'SECONDARY';
|
|
16
|
-
/**
|
|
17
|
-
* Indicates button loading status.
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
isLoading?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Manually change icon size.
|
|
23
|
-
* If not defined, the size is automatically calculated.
|
|
24
|
-
*/
|
|
25
|
-
iconScale?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Removes radii from the button border.
|
|
28
|
-
* @default false
|
|
29
|
-
*/
|
|
30
|
-
noRadius?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Indicates if the button is disabled.
|
|
33
|
-
* @default false
|
|
34
|
-
*/
|
|
35
|
-
disabled?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Button text label.
|
|
38
|
-
*/
|
|
39
|
-
label: string;
|
|
40
|
-
/**
|
|
41
|
-
* Indicates icon position:
|
|
42
|
-
* left (`false`) or right (`true`).
|
|
43
|
-
* @default false
|
|
44
|
-
*/
|
|
45
|
-
iconRight?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Hide label text (`true`) or show it (`false`).
|
|
48
|
-
* @default false
|
|
49
|
-
*/
|
|
50
|
-
iconOnly?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Button size: 'sm', 'small', 'md', 'medium', 'lg', 'large' or ''.
|
|
53
|
-
* @default 'md'
|
|
54
|
-
*/
|
|
55
|
-
size?: 'sm' | 'small' | 'lg' | 'large' | 'md' | 'medium' | '' | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* Icon to be displayed in the button. Can be a name or an icon configuration (eg: `{"name": "mdi:stars"}`).
|
|
58
|
-
*/
|
|
59
|
-
icon?: string | InstanceType<typeof VIcon>['$props'];
|
|
60
|
-
/**
|
|
61
|
-
* Function called when button is clicked.
|
|
62
|
-
* @param event The click MouseEvent
|
|
63
|
-
*/
|
|
64
|
-
onClick?: ($event: MouseEvent) => void;
|
|
65
|
-
}
|
|
66
|
-
declare const _default: import("vue").DefineComponent<AvButtonProps, {
|
|
67
|
-
computedSvgScale: import("vue").ComputedRef<number>;
|
|
68
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvButtonProps> & Readonly<{}>, {
|
|
69
|
-
size: "" | "small" | "sm" | "lg" | "large" | "md" | "medium";
|
|
70
|
-
variant: "DEFAULT" | "OUTLINED" | "FLAT";
|
|
71
|
-
theme: "PRIMARY" | "SECONDARY";
|
|
72
|
-
isLoading: boolean;
|
|
73
|
-
noRadius: boolean;
|
|
74
|
-
disabled: boolean;
|
|
75
|
-
iconRight: boolean;
|
|
76
|
-
iconOnly: boolean;
|
|
77
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
78
|
-
export default _default;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
import { type AvCancelConfirmButtonsProps } from '@/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.vue';
|
|
3
|
-
/**
|
|
4
|
-
* <h2 class="n2">✨ Introduction</h2>
|
|
5
|
-
*
|
|
6
|
-
* <p>
|
|
7
|
-
* <span class="b2-regular">
|
|
8
|
-
* The <code>AvCancelConfirmButtons</code> is an interaction element with an interface enabling the user
|
|
9
|
-
* to perform a cancel and/or a confirm action.
|
|
10
|
-
* </span>
|
|
11
|
-
* </p>
|
|
12
|
-
*
|
|
13
|
-
* <h2 class="n2">🏗️ Structure</h2>
|
|
14
|
-
*
|
|
15
|
-
* <p>
|
|
16
|
-
* <span class="b2-regular">
|
|
17
|
-
* This component consists of two optional buttons:
|
|
18
|
-
* </span>
|
|
19
|
-
* </p>
|
|
20
|
-
*
|
|
21
|
-
* <ul>
|
|
22
|
-
* <li>
|
|
23
|
-
* <span class="b2-regular">
|
|
24
|
-
* A <strong>cancel button</strong>, displayed by passing the <code>cancelLabel</code> prop.
|
|
25
|
-
* </span>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <span class="b2-regular">
|
|
29
|
-
* A <strong>confirm button</strong>, displayed by passing the <code>confirmLabel</code> prop.
|
|
30
|
-
* </span>
|
|
31
|
-
* </li>
|
|
32
|
-
* </ul>
|
|
33
|
-
*/
|
|
34
|
-
declare const meta: Meta<AvCancelConfirmButtonsProps>;
|
|
35
|
-
export default meta;
|
|
36
|
-
export declare const Default: StoryFn<AvCancelConfirmButtonsProps>;
|
|
37
|
-
export declare const CancelOnly: StoryFn<AvCancelConfirmButtonsProps>;
|
|
38
|
-
export declare const ConfirmOnly: StoryFn<AvCancelConfirmButtonsProps>;
|
|
39
|
-
export declare const CancelDisabled: StoryFn<AvCancelConfirmButtonsProps>;
|
|
40
|
-
export declare const ConfirmDisabled: StoryFn<AvCancelConfirmButtonsProps>;
|
|
41
|
-
export declare const BothDisabled: StoryFn<AvCancelConfirmButtonsProps>;
|
|
42
|
-
export declare const CancelLoading: StoryFn<AvCancelConfirmButtonsProps>;
|
|
43
|
-
export declare const ConfirmLoading: StoryFn<AvCancelConfirmButtonsProps>;
|
|
44
|
-
export declare const BothLoading: StoryFn<AvCancelConfirmButtonsProps>;
|
package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.vue.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AvCancelConfirmButtons component props.
|
|
3
|
-
*/
|
|
4
|
-
export interface AvCancelConfirmButtonsProps {
|
|
5
|
-
/**
|
|
6
|
-
* Label and title (for accessibility) of the cancel button.
|
|
7
|
-
*/
|
|
8
|
-
cancelLabel?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Icon name of the cancel button.
|
|
11
|
-
* @default 'mdi:close-circle-outline'
|
|
12
|
-
*/
|
|
13
|
-
cancelIcon?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Adds a disabled state on the cancel button.
|
|
16
|
-
*/
|
|
17
|
-
cancelDisabled?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Adds a loading state on the cancel button.
|
|
20
|
-
*/
|
|
21
|
-
cancelIsLoading?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Label and title (for accessibility) of the confirm button.
|
|
24
|
-
*/
|
|
25
|
-
confirmLabel?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Icon name of the confirm button.
|
|
28
|
-
* @default 'mdi:check-circle-outline'
|
|
29
|
-
*/
|
|
30
|
-
confirmIcon?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Adds a disabled state on the confirm button.
|
|
33
|
-
*/
|
|
34
|
-
confirmDisabled?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Adds a loading state on the confirm button.
|
|
37
|
-
*/
|
|
38
|
-
confirmIsLoading?: boolean;
|
|
39
|
-
}
|
|
40
|
-
declare const _default: import("vue").DefineComponent<AvCancelConfirmButtonsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
41
|
-
cancel: () => any;
|
|
42
|
-
confirm: () => any;
|
|
43
|
-
}, string, import("vue").PublicProps, Readonly<AvCancelConfirmButtonsProps> & Readonly<{
|
|
44
|
-
onCancel?: (() => any) | undefined;
|
|
45
|
-
onConfirm?: (() => any) | undefined;
|
|
46
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
|
-
export default _default;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
import { type AvRichButtonProps } from '@/components/interaction/buttons/AvRichButton/AvRichButton.vue';
|
|
3
|
-
/**
|
|
4
|
-
* <h1 class="n1">Rich buttons - <code>AvRichButton</code></h1>
|
|
5
|
-
*
|
|
6
|
-
* <h2 class="n2">✨ Introduction</h2>
|
|
7
|
-
*
|
|
8
|
-
* <p>
|
|
9
|
-
* <span class="b2-regular">
|
|
10
|
-
* The rich button is an interaction element with an interface enabling the user to perform an action.
|
|
11
|
-
* </span>
|
|
12
|
-
* </p>
|
|
13
|
-
*
|
|
14
|
-
* <p>
|
|
15
|
-
* <span class="b2-regular">
|
|
16
|
-
* The <code>AvRichButton</code> is an elegant, reusable Vue component designed to simplify the creation of custom rich buttons.
|
|
17
|
-
* It features optional icons and a click manager. It is easy to use, with the flexibility to adapt to different contexts.
|
|
18
|
-
* </span>
|
|
19
|
-
* </p>
|
|
20
|
-
*
|
|
21
|
-
* <p>
|
|
22
|
-
* <span class="b2-regular">
|
|
23
|
-
* With a default slot, button content is highly customizable. The <code>label</code> property lets you assign the button <code>title</code> and <code>aria-label</code>.
|
|
24
|
-
* </span>
|
|
25
|
-
* </p>
|
|
26
|
-
*
|
|
27
|
-
* <h2 class="n2">🏗️ Structure</h2>
|
|
28
|
-
*
|
|
29
|
-
* <p><span class="b2-regular">Rich buttons consist of a button composed of :</span></p>
|
|
30
|
-
*
|
|
31
|
-
* <ul>
|
|
32
|
-
* <li><span class="b2-regular">an optional left icon</span></li>
|
|
33
|
-
* <li><span class="b2-regular">a default slot for button content</span></li>
|
|
34
|
-
* <li><span class="b2-regular">an optional right icon</span></li>
|
|
35
|
-
* </ul>
|
|
36
|
-
*/
|
|
37
|
-
declare const meta: Meta<AvRichButtonProps>;
|
|
38
|
-
export default meta;
|
|
39
|
-
export declare const Default: StoryFn<AvRichButtonProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { Slot } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* AvRichButton component props.
|
|
4
|
-
*/
|
|
5
|
-
export interface AvRichButtonProps {
|
|
6
|
-
/**
|
|
7
|
-
* Button aria label and title for accessibility.
|
|
8
|
-
*/
|
|
9
|
-
label: string;
|
|
10
|
-
/**
|
|
11
|
-
* Icon displayed on the left of the button.
|
|
12
|
-
* Must be an icon name.
|
|
13
|
-
*/
|
|
14
|
-
iconLeft?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Icon displayed on the right of the button.
|
|
17
|
-
* Must be an icon name.
|
|
18
|
-
*/
|
|
19
|
-
iconRight?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Allows you to change the padding of the button.
|
|
22
|
-
* @default '1rem'
|
|
23
|
-
*/
|
|
24
|
-
customPadding?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Function called when button is clicked.
|
|
27
|
-
* @param event The MouseEvent of the click.
|
|
28
|
-
*/
|
|
29
|
-
onClick?: (event: MouseEvent) => void;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Slots available in the AvRichButton component.
|
|
33
|
-
*
|
|
34
|
-
* @slot default - Default slot for rich button content.
|
|
35
|
-
*/
|
|
36
|
-
type __VLS_Slots = {
|
|
37
|
-
/**
|
|
38
|
-
* Default slot for rich button content.
|
|
39
|
-
*/
|
|
40
|
-
default: Slot;
|
|
41
|
-
};
|
|
42
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvRichButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvRichButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
43
|
-
export default _default;
|
|
44
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
-
new (): {
|
|
46
|
-
$slots: S;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { AvButtonStub } from './AvButton/AvButton.stub';
|
|
2
|
-
export { default as AvButton, type AvButtonProps } from './AvButton/AvButton.vue';
|
|
3
|
-
export { default as AvCancelConfirmButtons } from './AvCancelConfirmButtons/AvCancelConfirmButtons.vue';
|
|
4
|
-
export { default as AvRichButton } from './AvRichButton/AvRichButton.vue';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
import { type AvFileUploadProps } from '@/components/interaction/files/AvFileUpload/AvFileUpload.vue';
|
|
3
|
-
/**
|
|
4
|
-
* <h1 class="n1">File uploader - <code>AvFileUpload</code></h1>
|
|
5
|
-
*
|
|
6
|
-
* <h2 class="n2">✨ Introduction</h2>
|
|
7
|
-
*
|
|
8
|
-
* <p>
|
|
9
|
-
* <span class="b2-regular">
|
|
10
|
-
* The <code>AvFileUpload</code> component allows you to upload files by clicking on the file upload area
|
|
11
|
-
* or by dragging and dropping a file in the area.
|
|
12
|
-
* </span>
|
|
13
|
-
* </p>
|
|
14
|
-
*/
|
|
15
|
-
declare const meta: Meta<AvFileUploadProps>;
|
|
16
|
-
export default meta;
|
|
17
|
-
export declare const Default: StoryFn<AvFileUploadProps>;
|
|
18
|
-
export declare const Error: StoryFn<AvFileUploadProps>;
|
|
19
|
-
export declare const Success: StoryFn<AvFileUploadProps>;
|
|
20
|
-
export declare const LeftSlot: StoryFn<AvFileUploadProps & {
|
|
21
|
-
leftImageSrc: string;
|
|
22
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { type Slot } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* AvFileUpload component props.
|
|
4
|
-
*/
|
|
5
|
-
export interface AvFileUploadProps {
|
|
6
|
-
/**
|
|
7
|
-
* Unique identifier for the file download component.
|
|
8
|
-
* If not specified, a random ID is generated.
|
|
9
|
-
*
|
|
10
|
-
* @default () => useRandomId(...)
|
|
11
|
-
*/
|
|
12
|
-
id?: string;
|
|
13
|
-
/**
|
|
14
|
-
* ARIA label for file download button.
|
|
15
|
-
*
|
|
16
|
-
* @default ''
|
|
17
|
-
*/
|
|
18
|
-
ariaLabel?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Accepted file types, specified as a string (like HTML `accept` attribute)
|
|
21
|
-
* or an array of strings (which will be transformed into a string).
|
|
22
|
-
*
|
|
23
|
-
* @default undefined
|
|
24
|
-
*/
|
|
25
|
-
accept?: string | string[];
|
|
26
|
-
/**
|
|
27
|
-
* Error message to be displayed in case of download problem.
|
|
28
|
-
*
|
|
29
|
-
* @default ''
|
|
30
|
-
*/
|
|
31
|
-
error?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Message indicating that the downloaded file is valid.
|
|
34
|
-
*
|
|
35
|
-
* @default ''
|
|
36
|
-
*/
|
|
37
|
-
validMessage?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Whether the file upload input is disabled.
|
|
40
|
-
*
|
|
41
|
-
* @default false
|
|
42
|
-
*/
|
|
43
|
-
disabled?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Value linked to file upload input template.
|
|
46
|
-
*
|
|
47
|
-
* @default null
|
|
48
|
-
*/
|
|
49
|
-
modelValue?: File | null;
|
|
50
|
-
/**
|
|
51
|
-
* Max width of the component.
|
|
52
|
-
*
|
|
53
|
-
* @default undefined
|
|
54
|
-
*/
|
|
55
|
-
maxWidth?: string;
|
|
56
|
-
/**
|
|
57
|
-
* Title of the file upload section.
|
|
58
|
-
*/
|
|
59
|
-
title: string;
|
|
60
|
-
/**
|
|
61
|
-
* Description of the file upload section.
|
|
62
|
-
* @default undefined
|
|
63
|
-
*/
|
|
64
|
-
description: string;
|
|
65
|
-
/**
|
|
66
|
-
* delete button label
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
|
-
deleteButtonLabel?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Name of actual file.
|
|
72
|
-
*
|
|
73
|
-
* @default undefined
|
|
74
|
-
*/
|
|
75
|
-
fileName?: string;
|
|
76
|
-
/**
|
|
77
|
-
* Method executed on delete file button click.
|
|
78
|
-
*
|
|
79
|
-
* @default undefined
|
|
80
|
-
*/
|
|
81
|
-
onDeleteFile?: () => void;
|
|
82
|
-
/**
|
|
83
|
-
* Whether the file upload input enable multiple file selection or not.
|
|
84
|
-
*
|
|
85
|
-
* @default false
|
|
86
|
-
*/
|
|
87
|
-
enableMultiple?: boolean;
|
|
88
|
-
}
|
|
89
|
-
type __VLS_Slots = {
|
|
90
|
-
/**
|
|
91
|
-
* Slot for the hint description.
|
|
92
|
-
*/
|
|
93
|
-
hint?: Slot;
|
|
94
|
-
/**
|
|
95
|
-
* Slot for the left content.
|
|
96
|
-
*/
|
|
97
|
-
left?: Slot;
|
|
98
|
-
/**
|
|
99
|
-
* Default slot for global content between the left and right icons.
|
|
100
|
-
*/
|
|
101
|
-
default?: Slot;
|
|
102
|
-
};
|
|
103
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvFileUploadProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
104
|
-
change: (payload: FileList) => any;
|
|
105
|
-
"update:modelValue": (payload: File | null) => any;
|
|
106
|
-
"update:validMessage": (payload: string | null) => any;
|
|
107
|
-
"update:error": (payload: string | null) => any;
|
|
108
|
-
onDropAcceptTypeError: () => any;
|
|
109
|
-
}, string, import("vue").PublicProps, Readonly<AvFileUploadProps> & Readonly<{
|
|
110
|
-
onChange?: ((payload: FileList) => any) | undefined;
|
|
111
|
-
"onUpdate:modelValue"?: ((payload: File | null) => any) | undefined;
|
|
112
|
-
"onUpdate:validMessage"?: ((payload: string | null) => any) | undefined;
|
|
113
|
-
"onUpdate:error"?: ((payload: string | null) => any) | undefined;
|
|
114
|
-
onOnDropAcceptTypeError?: (() => any) | undefined;
|
|
115
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
116
|
-
export default _default;
|
|
117
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
118
|
-
new (): {
|
|
119
|
-
$slots: S;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface AvFileUploadAlertProps {
|
|
2
|
-
/**
|
|
3
|
-
* Error message to be displayed in case of upload problem.
|
|
4
|
-
*
|
|
5
|
-
* @default undefined
|
|
6
|
-
*/
|
|
7
|
-
error?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Message indicating that the uploaded file is valid.
|
|
10
|
-
*
|
|
11
|
-
* @default undefined
|
|
12
|
-
*/
|
|
13
|
-
validMessage?: string;
|
|
14
|
-
}
|
|
15
|
-
declare const _default: import("vue").DefineComponent<AvFileUploadAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvFileUploadAlertProps> & Readonly<{}>, {
|
|
16
|
-
error: string;
|
|
17
|
-
validMessage: string;
|
|
18
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as AvFileUpload, type AvFileUploadProps } from './AvFileUpload/AvFileUpload.vue';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './accordions';
|
|
2
|
-
export * from './buttons';
|
|
3
|
-
export * from './files';
|
|
4
|
-
export * from './inputs';
|
|
5
|
-
export * from './lists';
|
|
6
|
-
export * from './pickers';
|
|
7
|
-
export * from './radios';
|
|
8
|
-
export * from './selects';
|
|
9
|
-
export * from './tabs';
|
|
10
|
-
export * from './toggles';
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
import { type AvInputProps } from '@/components/interaction/inputs/AvInput/AvInput.vue';
|
|
3
|
-
/**
|
|
4
|
-
* <h2 class="n2">✨ Introduction</h2>
|
|
5
|
-
*
|
|
6
|
-
* <p>
|
|
7
|
-
* <span class="b2-regular">
|
|
8
|
-
* The <code>AvInput</code> component is a flexible and accessible input component that provides a standardized way to collect user input in forms and interfaces.
|
|
9
|
-
* It supports various input types, validation states, and accessibility features to ensure a consistent user experience.
|
|
10
|
-
* </span>
|
|
11
|
-
* </p>
|
|
12
|
-
*
|
|
13
|
-
* <p>
|
|
14
|
-
* <span class="b2-regular">
|
|
15
|
-
* It adds prefix icon support, enhanced validation messaging, and custom styling while maintaining full compatibility with the French government's design system standards.
|
|
16
|
-
* </span>
|
|
17
|
-
* </p>
|
|
18
|
-
*
|
|
19
|
-
* <h2 class="n2">🏗️ Structure</h2>
|
|
20
|
-
*
|
|
21
|
-
* <p><span class="b2-regular">The input component consists of the following elements:</span></p>
|
|
22
|
-
* <ul>
|
|
23
|
-
* <li><span class="b2-regular"><strong>Wrapper</strong>: Container that manages the overall layout and positioning</span></li>
|
|
24
|
-
* <li><span class="b2-regular"><strong>Prefix Icon</strong> (optional): Visual icon positioned at the beginning of the input field</span></li>
|
|
25
|
-
* <li><span class="b2-regular"><strong>Input Field</strong>: The main input element (can be rendered as input or textarea)</span></li>
|
|
26
|
-
* <li><span class="b2-regular"><strong>Label</strong>: Descriptive text for the input field</span></li>
|
|
27
|
-
* <li><span class="b2-regular"><strong>Hint</strong>: Optional helper text displayed below the label</span></li>
|
|
28
|
-
* <li><span class="b2-regular"><strong>Error Messages</strong>: Validation error messages displayed when validation fails</span></li>
|
|
29
|
-
* <li><span class="b2-regular"><strong>Success Messages</strong>: Validation success messages displayed when validation passes</span></li>
|
|
30
|
-
* </ul>
|
|
31
|
-
*
|
|
32
|
-
* <p>
|
|
33
|
-
* <span class="b2-regular">
|
|
34
|
-
* The component integrates focus management, proper ARIA attributes, and responsive design patterns.
|
|
35
|
-
* </span>
|
|
36
|
-
* </p>
|
|
37
|
-
*/
|
|
38
|
-
declare const meta: Meta<AvInputProps>;
|
|
39
|
-
export default meta;
|
|
40
|
-
export declare const Default: StoryFn<AvInputProps>;
|
|
41
|
-
export declare const WithHint: StoryFn<AvInputProps>;
|
|
42
|
-
export declare const Required: StoryFn<AvInputProps>;
|
|
43
|
-
export declare const Valid: StoryFn<AvInputProps>;
|
|
44
|
-
export declare const Disabled: StoryFn<AvInputProps>;
|
|
45
|
-
export declare const Email: StoryFn<AvInputProps>;
|
|
46
|
-
export declare const Password: StoryFn<AvInputProps>;
|
|
47
|
-
export declare const DateInput: StoryFn<AvInputProps>;
|
|
48
|
-
export declare const Textarea: StoryFn<AvInputProps>;
|
|
49
|
-
export declare const WithoutLabel: StoryFn<AvInputProps>;
|
|
50
|
-
export declare const WithMaxLength: StoryFn<AvInputProps>;
|
|
51
|
-
export declare const MultipleErrors: StoryFn<AvInputProps>;
|
|
52
|
-
export declare const MultipleValidMessages: StoryFn<AvInputProps>;
|
|
53
|
-
export declare const WithPrefixIcon: StoryFn<AvInputProps>;
|
|
54
|
-
export declare const EmailWithIcon: StoryFn<AvInputProps>;
|
|
55
|
-
export declare const PasswordWithIcon: StoryFn<AvInputProps>;
|
|
56
|
-
export declare const PhoneWithIcon: StoryFn<AvInputProps>;
|
|
57
|
-
export declare const PrefixIconWithValidation: StoryFn<AvInputProps>;
|
|
58
|
-
export declare const PrefixIconDisabled: StoryFn<AvInputProps>;
|
|
59
|
-
export declare const NumberInput: StoryFn<AvInputProps>;
|
|
60
|
-
export declare const SearchInput: StoryFn<AvInputProps>;
|
|
61
|
-
export declare const UrlInput: StoryFn<AvInputProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import type { Slot } from 'vue';
|
|
2
|
-
export interface AvInputProps {
|
|
3
|
-
/**
|
|
4
|
-
* ID of the input element
|
|
5
|
-
*/
|
|
6
|
-
id?: string;
|
|
7
|
-
/**
|
|
8
|
-
* ID of the description element
|
|
9
|
-
*/
|
|
10
|
-
descriptionId?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Hint text displayed below the label
|
|
13
|
-
*/
|
|
14
|
-
hint?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Validation state - valid
|
|
17
|
-
*/
|
|
18
|
-
isValid?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Render as textarea instead of input
|
|
21
|
-
*/
|
|
22
|
-
isTextarea?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Whether the label is visible
|
|
25
|
-
*/
|
|
26
|
-
labelVisible?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Label text
|
|
29
|
-
*/
|
|
30
|
-
label?: string;
|
|
31
|
-
/**
|
|
32
|
-
* CSS class for the label
|
|
33
|
-
*/
|
|
34
|
-
labelClass?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Model value for v-model
|
|
37
|
-
*/
|
|
38
|
-
modelValue?: string | number | null;
|
|
39
|
-
/**
|
|
40
|
-
* Placeholder text
|
|
41
|
-
*/
|
|
42
|
-
placeholder?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Input type (text, email, password, etc.)
|
|
45
|
-
*/
|
|
46
|
-
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'datetime-local' | 'month' | 'time' | 'week' | 'color' | 'file' | 'hidden' | 'range';
|
|
47
|
-
/**
|
|
48
|
-
* Minimum date for date inputs
|
|
49
|
-
*/
|
|
50
|
-
minDate?: Date;
|
|
51
|
-
/**
|
|
52
|
-
* Max date for date inputs
|
|
53
|
-
*/
|
|
54
|
-
maxDate?: Date;
|
|
55
|
-
/**
|
|
56
|
-
* Whether the input is disabled
|
|
57
|
-
*/
|
|
58
|
-
disabled?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Whether the input is required
|
|
61
|
-
*/
|
|
62
|
-
required?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Maximum length of input
|
|
65
|
-
*/
|
|
66
|
-
maxlength?: number;
|
|
67
|
-
/**
|
|
68
|
-
* Minimum length of input
|
|
69
|
-
*/
|
|
70
|
-
minlength?: number;
|
|
71
|
-
/**
|
|
72
|
-
* Error message to display
|
|
73
|
-
*/
|
|
74
|
-
errorMessage?: string | string[];
|
|
75
|
-
/**
|
|
76
|
-
* Valid message to display
|
|
77
|
-
*/
|
|
78
|
-
validMessage?: string | string[];
|
|
79
|
-
/**
|
|
80
|
-
* Prefix icon name (optional)
|
|
81
|
-
*/
|
|
82
|
-
prefixIcon?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Width of the input
|
|
85
|
-
*/
|
|
86
|
-
width?: string;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Slots available for the component.
|
|
90
|
-
*
|
|
91
|
-
* @slot requiredTip - Slot for custom required tip content.
|
|
92
|
-
*/
|
|
93
|
-
type __VLS_Slots = {
|
|
94
|
-
/**
|
|
95
|
-
* Slot for custom required tip content
|
|
96
|
-
*/
|
|
97
|
-
requiredTip?: Slot;
|
|
98
|
-
/**
|
|
99
|
-
* Slot for custom captions, such as error or valid messages.
|
|
100
|
-
*/
|
|
101
|
-
customCaptions?: Slot<{
|
|
102
|
-
currentValue?: string | number | null;
|
|
103
|
-
maxlength?: number;
|
|
104
|
-
}>;
|
|
105
|
-
};
|
|
106
|
-
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
107
|
-
"update:modelValue": (value: string | number | null) => any;
|
|
108
|
-
}, string, import("vue").PublicProps, Readonly<AvInputProps> & Readonly<{
|
|
109
|
-
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
110
|
-
}>, {
|
|
111
|
-
type: "number" | "time" | "text" | "color" | "search" | "email" | "password" | "tel" | "url" | "date" | "datetime-local" | "month" | "week" | "file" | "hidden" | "range";
|
|
112
|
-
disabled: boolean;
|
|
113
|
-
required: boolean;
|
|
114
|
-
isValid: boolean;
|
|
115
|
-
isTextarea: boolean;
|
|
116
|
-
labelVisible: boolean;
|
|
117
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
|
|
118
|
-
export default _default;
|
|
119
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
120
|
-
new (): {
|
|
121
|
-
$slots: S;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as AvInput, type AvInputProps } from './AvInput/AvInput.vue';
|