@arche-mc2/vue-ui-lib 1.3.6 → 1.3.7

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.
Files changed (69) hide show
  1. package/dist/types/components/Alert.vue.d.ts +18 -0
  2. package/dist/types/components/AvatarBase.vue.d.ts +27 -0
  3. package/dist/types/components/ButtonBase.vue.d.ts +28 -0
  4. package/dist/types/components/CalendarBase.vue.d.ts +26 -0
  5. package/dist/types/components/CheckboxBase.vue.d.ts +31 -0
  6. package/dist/types/components/DataGrid.vue.d.ts +37 -0
  7. package/dist/types/components/FlyoutMenu.vue.d.ts +39 -0
  8. package/dist/types/components/HistoryBadge.vue.d.ts +7 -0
  9. package/dist/types/components/HistoryFilter.vue.d.ts +12 -0
  10. package/dist/types/components/InputBase.vue.d.ts +25 -0
  11. package/dist/types/components/ListWithSearch.vue.d.ts +25 -0
  12. package/dist/types/components/LoaderBase.vue.d.ts +8 -0
  13. package/dist/types/components/ModalBase.vue.d.ts +20 -0
  14. package/dist/types/components/OptionalWrapperComponent.vue.d.ts +22 -0
  15. package/dist/types/components/RadioBase.vue.d.ts +24 -0
  16. package/dist/types/components/SegmentedButton.vue.d.ts +42 -0
  17. package/dist/types/components/SelectBase.vue.d.ts +20 -0
  18. package/dist/types/components/SideMenu.vue.d.ts +8 -0
  19. package/dist/types/components/SliderBase.vue.d.ts +23 -0
  20. package/dist/types/components/TabBar.vue.d.ts +11 -0
  21. package/dist/types/components/TagBase.vue.d.ts +7 -0
  22. package/dist/types/components/ToastBase.vue.d.ts +3 -0
  23. package/dist/types/components/ToggleAdvanced.vue.d.ts +17 -0
  24. package/dist/types/components/ToggleBase.vue.d.ts +16 -0
  25. package/dist/types/components/TooltipBase.vue.d.ts +27 -0
  26. package/dist/types/components/WidgetBase.vue.d.ts +28 -0
  27. package/dist/types/components/datePicker/DatePicker.vue.d.ts +13 -0
  28. package/dist/types/components/datePicker/DatePickerCalendar.vue.d.ts +19 -0
  29. package/dist/types/components/datePicker/DatePickerNavigation.vue.d.ts +14 -0
  30. package/dist/types/components/historyItem/DiffValue.vue.d.ts +23 -0
  31. package/dist/types/components/historyItem/HistoryItem.vue.d.ts +39 -0
  32. package/dist/types/components/planning/AppointmentPopup.vue.d.ts +17 -0
  33. package/dist/types/components/planning/DayNavigator.vue.d.ts +20 -0
  34. package/dist/types/components/planning/FilterPanel.vue.d.ts +26 -0
  35. package/dist/types/components/planning/HomeStep.vue.d.ts +9 -0
  36. package/dist/types/components/planning/HoursCounterPopup.vue.d.ts +13 -0
  37. package/dist/types/components/planning/HoursGapBadge.vue.d.ts +10 -0
  38. package/dist/types/components/planning/InterventionCard.vue.d.ts +31 -0
  39. package/dist/types/components/planning/PlanningSlot.vue.d.ts +10 -0
  40. package/dist/types/components/planning/ScoreBadge.vue.d.ts +10 -0
  41. package/dist/types/components/planning/ScoringPanel.vue.d.ts +28 -0
  42. package/dist/types/components/planning/StatCard.vue.d.ts +8 -0
  43. package/dist/types/components/planning/TagStatus.vue.d.ts +7 -0
  44. package/dist/types/components/planning/Timeline.vue.d.ts +3 -0
  45. package/dist/types/components/planning/TimelineHeader.vue.d.ts +8 -0
  46. package/dist/types/components/planning/TripPopup.vue.d.ts +12 -0
  47. package/dist/types/components/planning/compatibilityPopup/CompatibilityPopup.vue.d.ts +19 -0
  48. package/dist/types/components/planning/compatibilityPopup/CriterionRow.vue.d.ts +13 -0
  49. package/dist/types/components/planning/compatibilityPopup/criterion.d.ts +14 -0
  50. package/dist/types/components/planning/workerDayPanel/WorkerDayJourney.vue.d.ts +35 -0
  51. package/dist/types/components/planning/workerDayPanel/WorkerDayPanel.vue.d.ts +39 -0
  52. package/dist/types/components/selectionBase/SelectionGroup.vue.d.ts +27 -0
  53. package/dist/types/components/selectionBase/SelectionItem.vue.d.ts +32 -0
  54. package/dist/types/components/svgIcon/SvgIcon.vue.d.ts +22 -0
  55. package/dist/types/components/svgIcon/iconNames.d.ts +1 -0
  56. package/dist/types/index.d.ts +73 -0
  57. package/dist/types/tokens.d.ts +222 -0
  58. package/dist/types/types.d.ts +69 -0
  59. package/dist/types/utils/date.d.ts +91 -0
  60. package/dist/types/utils/filterPanel.d.ts +17 -0
  61. package/dist/types/utils/homeStep.d.ts +2 -0
  62. package/dist/types/utils/id.d.ts +1 -0
  63. package/dist/types/utils/provideToast.d.ts +7 -0
  64. package/dist/types/utils/score.d.ts +4 -0
  65. package/dist/types/utils/string.d.ts +6 -0
  66. package/dist/vue-ui-lib.css +1 -1
  67. package/dist/vue-ui-lib.es.js +2708 -2668
  68. package/dist/vue-ui-lib.umd.js +7 -7
  69. package/package.json +17 -18
@@ -0,0 +1,18 @@
1
+ export type AlertStatus = "success" | "error" | "info" | "warning";
2
+ interface AlertProps {
3
+ status?: AlertStatus;
4
+ title?: string | null;
5
+ description?: string | null;
6
+ cancelable?: boolean;
7
+ closeLabel?: string | null;
8
+ cancelLabel?: string | null;
9
+ }
10
+ declare const __VLS_export: import("vue").DefineComponent<AlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ close: () => any;
12
+ cancel: () => any;
13
+ }, string, import("vue").PublicProps, Readonly<AlertProps> & Readonly<{
14
+ onClose?: (() => any) | undefined;
15
+ onCancel?: (() => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import type { AvatarColor, AvatarSize } from "../types";
2
+ interface AvatarBaseProps {
3
+ /** URL de la photo. Si absente ou en erreur de chargement, affiche les initiales. */
4
+ src?: string;
5
+ /** Texte alternatif de la photo ; à défaut le nom, puis les initiales */
6
+ alt?: string;
7
+ /** 1 ou 2 caractères affichés en repli (sans photo) ; nombre accepté (données PHP) */
8
+ initials?: string | number;
9
+ /** Taille de la pastille : 24 / 32 / 40 / 48 / 64 px */
10
+ size?: AvatarSize;
11
+ /** Couleur de la pastille (initiales) */
12
+ color?: AvatarColor;
13
+ /** Affiche le nom complet à droite de la pastille (`true`, `1`, `"1"`, `"true"`) */
14
+ withName?: boolean | string | number;
15
+ /** Nom complet, visible seulement si `withName` ; nombre accepté (données PHP) */
16
+ name?: string | number;
17
+ }
18
+ declare const __VLS_export: import("vue").DefineComponent<AvatarBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarBaseProps> & Readonly<{}>, {
19
+ color: AvatarColor;
20
+ name: string | number;
21
+ alt: string;
22
+ initials: string | number;
23
+ size: AvatarSize;
24
+ withName: string | number | boolean;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import type { IconName } from "../types";
2
+ import { ButtonTypes } from "../types";
3
+ interface ButtonBaseProps {
4
+ type?: ButtonTypes;
5
+ iconName?: IconName;
6
+ loading?: boolean;
7
+ disabled?: boolean;
8
+ active?: boolean;
9
+ id?: string;
10
+ inert?: boolean;
11
+ }
12
+ declare const __VLS_template: () => {
13
+ __VLS_Slots: {
14
+ default?: (props: {}) => any;
15
+ };
16
+ };
17
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
18
+ declare const __VLS_base: import("vue").DefineComponent<ButtonBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonBaseProps> & Readonly<{}>, {
19
+ type: ButtonTypes;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,26 @@
1
+ import "tippy.js/dist/tippy.css";
2
+ export interface CalendarRange {
3
+ start: string;
4
+ end: string;
5
+ }
6
+ export interface CalendarEvent extends CalendarRange {
7
+ id: string;
8
+ title: string;
9
+ }
10
+ export interface CalendarBaseProps {
11
+ events?: CalendarEvent[];
12
+ initialView?: "day" | "week" | "month";
13
+ btnToday?: boolean;
14
+ btnViewOption?: boolean;
15
+ }
16
+ declare const __VLS_export: import("vue").DefineComponent<CalendarBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ onSelectDate: (range: CalendarRange) => any;
18
+ onClickEvent: (event: CalendarEvent) => any;
19
+ onChangeView: (range: CalendarRange) => any;
20
+ }, string, import("vue").PublicProps, Readonly<CalendarBaseProps> & Readonly<{
21
+ onOnSelectDate?: ((range: CalendarRange) => any) | undefined;
22
+ onOnClickEvent?: ((event: CalendarEvent) => any) | undefined;
23
+ onOnChangeView?: ((range: CalendarRange) => any) | undefined;
24
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import { CSSProperties } from "vue";
2
+ import type { IconName } from "../types";
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
+ 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_ModelProps = {
22
+ modelValue?: boolean;
23
+ };
24
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
25
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ "update:modelValue": (value: boolean) => any;
27
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
29
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
@@ -0,0 +1,37 @@
1
+ import type { DatagridHeader } from "../types";
2
+ interface DataGridProps {
3
+ headers: DatagridHeader[];
4
+ items: any[];
5
+ selection?: boolean;
6
+ hasMore: boolean;
7
+ allCheckState?: {
8
+ isChecked: boolean;
9
+ partially: boolean;
10
+ };
11
+ displaySettingsHeader?: boolean;
12
+ displaySettings?: boolean;
13
+ modalFilter?: (header: any) => void;
14
+ dataSort?: (header: any) => void;
15
+ }
16
+ declare const __VLS_export: import("vue").DefineComponent<DataGridProps, {
17
+ resetScroll: () => void | undefined;
18
+ checkLoadMore: () => Promise<void>;
19
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ loadMore: () => any;
21
+ updateCheckItem: (id: number, isChecked: boolean) => any;
22
+ updateCheckAll: (isChecked: boolean) => any;
23
+ }, string, import("vue").PublicProps, Readonly<DataGridProps> & Readonly<{
24
+ onLoadMore?: (() => any) | undefined;
25
+ onUpdateCheckItem?: ((id: number, isChecked: boolean) => any) | undefined;
26
+ onUpdateCheckAll?: ((isChecked: boolean) => any) | undefined;
27
+ }>, {
28
+ selection: boolean;
29
+ allCheckState: {
30
+ isChecked: boolean;
31
+ partially: boolean;
32
+ };
33
+ displaySettingsHeader: boolean;
34
+ displaySettings: boolean;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import type { FlyoutMenuItem, Position } from "../types";
2
+ /**
3
+ * Menu flottant ancré sur son déclencheur (slot par défaut).
4
+ *
5
+ * Le menu reste dans le DOM du déclencheur (les sélecteurs CSS des consommateurs continuent de
6
+ * s'appliquer) mais est positionné en `fixed` par rapport à la fenêtre : il n'est donc plus rogné
7
+ * par un ancêtre scrollable (ex. corps d'un DataGrid avec peu de lignes). S'il n'a pas la place
8
+ * dans le sens demandé, il se retourne ; s'il est plus haut que la fenêtre, il devient scrollable.
9
+ */
10
+ type __VLS_Props = {
11
+ items?: FlyoutMenuItem[];
12
+ /** @deprecated Conservé pour compatibilité : le positionnement fixed rend la contrainte inutile. */
13
+ displayEl?: HTMLElement | null;
14
+ position?: Position;
15
+ autoClose?: boolean;
16
+ };
17
+ declare const __VLS_template: () => {
18
+ __VLS_Slots: {
19
+ default?: (props: {}) => any;
20
+ } & {
21
+ content?: (props: {}) => any;
22
+ };
23
+ };
24
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
25
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ close: (...args: any[]) => void;
27
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
28
+ onClose?: ((...args: any[]) => any) | undefined;
29
+ }>, {
30
+ autoClose: boolean;
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
+ declare const _default: typeof __VLS_export;
34
+ export default _default;
35
+ type __VLS_WithSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,7 @@
1
+ export type HistoryBadgeType = "modification" | "creation" | "suppression";
2
+ type __VLS_Props = {
3
+ type: HistoryBadgeType;
4
+ };
5
+ declare const __VLS_export: 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>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,12 @@
1
+ export type HistoryFilterType = "all" | "modification" | "creation" | "suppression";
2
+ type __VLS_Props = {
3
+ type: HistoryFilterType;
4
+ active?: boolean;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ click: () => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ onClick?: (() => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import type { IconName } from "../types";
2
+ import { Option } from "../types";
3
+ type TypeInput = "text" | "number" | "time" | "search" | "email" | "password" | "tel" | "url" | "date";
4
+ type TypeValue = string | number;
5
+ type __VLS_Props = {
6
+ label?: string;
7
+ modelValue?: TypeValue;
8
+ type?: TypeInput;
9
+ iconName?: IconName;
10
+ clearable?: boolean;
11
+ passwordControl?: boolean;
12
+ disabled?: boolean;
13
+ error?: boolean;
14
+ errorMessage?: string;
15
+ required?: boolean;
16
+ placeholder?: string;
17
+ suggestions?: Option[];
18
+ };
19
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
+ "update:modelValue": (value: TypeValue) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: TypeValue) => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import type { Option } from "../types";
2
+ 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 __VLS_export: 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
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ size?: number;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
5
+ size: number;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ visible: boolean;
3
+ additionnal?: boolean;
4
+ title: string;
5
+ };
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
10
+ };
11
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
12
+ declare const __VLS_base: 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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,22 @@
1
+ import type { Component } from "vue";
2
+ type __VLS_Props = {
3
+ is?: Component | string | null;
4
+ wrap?: boolean;
5
+ };
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ } & {
10
+ default?: (props: {}) => any;
11
+ };
12
+ };
13
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
14
+ declare const __VLS_base: 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>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,24 @@
1
+ import { CSSProperties } from "vue";
2
+ import type { IconName } from "../types";
3
+ interface RadioTheme {
4
+ "--amc2-radio-color"?: CSSProperties["color"];
5
+ "--amc2-radio-disabled-color"?: CSSProperties["color"];
6
+ "--amc2-radio-point-color"?: CSSProperties["color"];
7
+ "--amc2-radio-point-disabled-color"?: CSSProperties["color"];
8
+ }
9
+ interface RadioBaseProps {
10
+ label?: string;
11
+ icon?: IconName;
12
+ theme?: RadioTheme;
13
+ disabled?: boolean;
14
+ modelValue?: any;
15
+ value: any;
16
+ className?: string;
17
+ }
18
+ declare const __VLS_export: import("vue").DefineComponent<RadioBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:modelValue": (...args: any[]) => void;
20
+ }, string, import("vue").PublicProps, Readonly<RadioBaseProps> & Readonly<{
21
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
@@ -0,0 +1,42 @@
1
+ import type { CSSProperties } from 'vue';
2
+ import type { IconName } from '../types';
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
+ 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 __VLS_export: 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: "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" | "feminin" | "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" | "masculin" | "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";
33
+ labelLeft: string;
34
+ toolTipLabelLeft: string;
35
+ labelCenter: string;
36
+ toolTipLabelCenter: string;
37
+ iconRight: "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" | "feminin" | "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" | "masculin" | "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";
38
+ labelRight: string;
39
+ toolTipLabelRight: string;
40
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
+ declare const _default: typeof __VLS_export;
42
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import type { Option } from "../types";
2
+ 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 __VLS_export: 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
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { MenuItem } from "../types";
2
+ interface MenuProps {
3
+ items: MenuItem[];
4
+ idSelected?: number;
5
+ }
6
+ declare const __VLS_export: import("vue").DefineComponent<MenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MenuProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,23 @@
1
+ interface SliderBaseProps {
2
+ modelValue?: number | string | null;
3
+ label?: string | number | null;
4
+ min?: number | string;
5
+ max?: number | string;
6
+ step?: number | string;
7
+ unitLabel?: string | null;
8
+ unitSpokenLabel?: string | null;
9
+ locale?: string | null;
10
+ disabled?: boolean;
11
+ emptyLabel?: string | null;
12
+ }
13
+ declare const __VLS_export: import("vue").DefineComponent<SliderBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: number) => any;
15
+ }, string, import("vue").PublicProps, Readonly<SliderBaseProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
17
+ }>, {
18
+ max: string | number;
19
+ min: string | number;
20
+ step: string | number;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
@@ -0,0 +1,11 @@
1
+ interface TabBarProps {
2
+ listItems: string[];
3
+ listType: string;
4
+ }
5
+ declare const __VLS_export: import("vue").DefineComponent<TabBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ change: (selectedItem: string) => any;
7
+ }, string, import("vue").PublicProps, Readonly<TabBarProps> & Readonly<{
8
+ onChange?: ((selectedItem: string) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ backgroundColor: "blue" | "green" | "primary" | "secondary";
4
+ };
5
+ declare const __VLS_export: 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>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import { IconName, ToggleTheme } from "../types";
2
+ interface ToggleAdvancedProps {
3
+ labelLeft?: string;
4
+ iconLeft?: IconName;
5
+ labelRight?: string;
6
+ iconRight?: IconName;
7
+ disabled?: boolean;
8
+ modelValue?: boolean;
9
+ theme?: ToggleTheme;
10
+ }
11
+ declare const __VLS_export: import("vue").DefineComponent<ToggleAdvancedProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ "update:modelValue": (...args: any[]) => void;
13
+ }, string, import("vue").PublicProps, Readonly<ToggleAdvancedProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import type { ToggleTheme } from "../types";
2
+ interface ToggleBaseProps {
3
+ label?: string;
4
+ icon?: string;
5
+ theme?: ToggleTheme;
6
+ disabled?: boolean;
7
+ modelValue?: boolean;
8
+ ariaLabel?: string;
9
+ }
10
+ declare const __VLS_export: import("vue").DefineComponent<ToggleBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
+ "update:modelValue": (value: boolean) => any;
12
+ }, string, import("vue").PublicProps, Readonly<ToggleBaseProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { CSSProperties } from "vue";
2
+ import type { Position } from "../types";
3
+ type __VLS_Props = {
4
+ position?: Position;
5
+ className?: string;
6
+ style?: CSSProperties;
7
+ removeDelay?: number;
8
+ };
9
+ declare const __VLS_template: () => {
10
+ __VLS_Slots: {
11
+ default?: (props: {}) => any;
12
+ } & {
13
+ content?: (props: {}) => any;
14
+ };
15
+ };
16
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
17
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
+ position: Position;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };