@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,28 @@
1
+ interface WidgetProps {
2
+ width?: string;
3
+ height?: string;
4
+ color?: string;
5
+ isLoading?: boolean;
6
+ }
7
+ declare const __VLS_template: () => {
8
+ __VLS_Slots: {
9
+ header?: (props: {}) => any;
10
+ } & {
11
+ body?: (props: {}) => any;
12
+ } & {
13
+ footer?: (props: {}) => any;
14
+ };
15
+ };
16
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
17
+ declare const __VLS_base: import("vue").DefineComponent<WidgetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WidgetProps> & Readonly<{}>, {
18
+ height: string;
19
+ width: string;
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,13 @@
1
+ interface DatePickerProps {
2
+ modelValue?: Date;
3
+ min?: Date;
4
+ max?: Date;
5
+ onDateChange?: (date: Date) => void;
6
+ }
7
+ declare const __VLS_export: 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
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,19 @@
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 __VLS_export: 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
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { NavType } from "../../types";
2
+ interface DatePickerNavigationProps {
3
+ navigationDate: Date;
4
+ navType: NavType;
5
+ }
6
+ declare const __VLS_export: 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
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -0,0 +1,23 @@
1
+ export type DiffValueKind = "modification" | "creation" | "suppression";
2
+ interface DiffValueProps {
3
+ /** Type d'action : pilote le rendu (couple ancien→nouveau, nouvelle seule, ou suppression) */
4
+ kind?: DiffValueKind;
5
+ /**
6
+ * Ancienne valeur (modification, suppression). Vide sur une modification =
7
+ * ajout d'une information : seule la nouvelle valeur est rendue.
8
+ */
9
+ oldValue?: string;
10
+ /**
11
+ * Nouvelle valeur (modification, création). Vide sur une modification =
12
+ * vidage d'une information : rendu comme une suppression (ancienne barrée
13
+ * → « Supprimé »).
14
+ */
15
+ newValue?: string;
16
+ }
17
+ declare const __VLS_export: import("vue").DefineComponent<DiffValueProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DiffValueProps> & Readonly<{}>, {
18
+ kind: DiffValueKind;
19
+ oldValue: string;
20
+ newValue: string;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
@@ -0,0 +1,39 @@
1
+ export type HistoryItemType = "modification" | "creation" | "suppression";
2
+ export interface HistoryItemField {
3
+ /** Libellé du champ concerné */
4
+ label: string;
5
+ /** Ancienne valeur (modification, suppression) */
6
+ oldValue?: string;
7
+ /** Nouvelle valeur (modification, création) */
8
+ newValue?: string;
9
+ }
10
+ interface HistoryItemProps {
11
+ /** Type d'action : pilote le badge, la couleur et le rendu des valeurs */
12
+ type?: HistoryItemType;
13
+ /** Panneau de détail déplié ou non (v-model:open) */
14
+ open?: boolean;
15
+ /** Horodatage affiché (ex. "02/05/2026 14:08") */
16
+ date?: string;
17
+ /** Nom de l'auteur affiché à côté de l'avatar */
18
+ author?: string;
19
+ /** Initiales de l'auteur pour l'avatar */
20
+ initials?: string;
21
+ /** Champs détaillés affichés quand le panneau est ouvert */
22
+ fields?: HistoryItemField[];
23
+ }
24
+ declare const __VLS_export: import("vue").DefineComponent<HistoryItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ toggle: (value: boolean) => any;
26
+ "update:open": (value: boolean) => any;
27
+ }, string, import("vue").PublicProps, Readonly<HistoryItemProps> & Readonly<{
28
+ onToggle?: ((value: boolean) => any) | undefined;
29
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
30
+ }>, {
31
+ type: HistoryItemType;
32
+ date: string;
33
+ initials: string;
34
+ open: boolean;
35
+ author: string;
36
+ fields: HistoryItemField[];
37
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
+ declare const _default: typeof __VLS_export;
39
+ export default _default;
@@ -0,0 +1,17 @@
1
+ import type { TagStatusType } from "./TagStatus.vue";
2
+ export type AppointmentPopupActivity = "jardinage" | "bricolage" | "menage" | "aideADomicile" | "gardeEnfants" | "trajet";
3
+ export type AppointmentPopupStatus = TagStatusType;
4
+ interface AppointmentPopupProps {
5
+ schedule: string;
6
+ activity?: AppointmentPopupActivity;
7
+ activityLabel?: string;
8
+ showActivityType?: boolean;
9
+ status: AppointmentPopupStatus;
10
+ recurrence: string;
11
+ keys: string;
12
+ }
13
+ declare const __VLS_export: import("vue").DefineComponent<AppointmentPopupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AppointmentPopupProps> & Readonly<{}>, {
14
+ showActivityType: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import "dayjs/locale/fr";
2
+ interface DayNavigatorProps {
3
+ date: Date | string;
4
+ disabledPrevious?: boolean;
5
+ disabledNext?: boolean;
6
+ label?: string;
7
+ }
8
+ declare const __VLS_export: import("vue").DefineComponent<DayNavigatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ next: () => any;
10
+ previous: () => any;
11
+ }, string, import("vue").PublicProps, Readonly<DayNavigatorProps> & Readonly<{
12
+ onNext?: (() => any) | undefined;
13
+ onPrevious?: (() => any) | undefined;
14
+ }>, {
15
+ label: string;
16
+ disabledPrevious: boolean;
17
+ disabledNext: boolean;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import type { Option } from "../../types";
2
+ export type FilterPanelSelectKey = "secteursClient" | "secteursIntervenant" | "gestionnaire" | "prestation" | "intervenant" | "client";
3
+ export type FilterPanelToggleKey = "interventionsAnnulees" | "trajets";
4
+ export type FilterPanelValue = Record<FilterPanelSelectKey, Option[]> & Record<FilterPanelToggleKey, boolean>;
5
+ export type FilterPanelOptions = Partial<Record<FilterPanelSelectKey, Option[]>>;
6
+ export type FilterPanelLabels = Partial<Record<FilterPanelSelectKey | FilterPanelToggleKey | "placeholder" | "close" | "reset" | "submit", string>>;
7
+ interface FilterPanelProps {
8
+ modelValue?: FilterPanelValue | null;
9
+ options?: FilterPanelOptions | null;
10
+ title?: string | null;
11
+ labels?: FilterPanelLabels | null;
12
+ closeOnOutsideClick?: boolean;
13
+ }
14
+ declare const __VLS_export: import("vue").DefineComponent<FilterPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ close: () => any;
16
+ reset: () => any;
17
+ "update:modelValue": (value: FilterPanelValue) => any;
18
+ }, string, import("vue").PublicProps, Readonly<FilterPanelProps> & Readonly<{
19
+ onClose?: (() => any) | undefined;
20
+ onReset?: (() => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: FilterPanelValue) => any) | undefined;
22
+ }>, {
23
+ closeOnOutsideClick: boolean;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export type HomeStepDirection = "departure" | "return";
2
+ export type HomeStepLabels = Partial<Record<"place" | HomeStepDirection, string>>;
3
+ interface HomeStepProps {
4
+ direction: HomeStepDirection | null;
5
+ labels?: HomeStepLabels;
6
+ }
7
+ declare const __VLS_export: import("vue").DefineComponent<HomeStepProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HomeStepProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
@@ -0,0 +1,13 @@
1
+ export type HoursCounterPopupRow = "trackingMethod" | "plannedHours" | "targetHours" | "hoursDifference" | "lostHours";
2
+ export type HoursCounterPopupLabels = Partial<Record<HoursCounterPopupRow, string>>;
3
+ interface HoursCounterPopupProps {
4
+ trackingMethod?: string | number;
5
+ plannedHours?: string | number;
6
+ targetHours?: string | number;
7
+ hoursDifference?: string | number;
8
+ lostHours?: string | number;
9
+ labels?: HoursCounterPopupLabels;
10
+ }
11
+ declare const __VLS_export: import("vue").DefineComponent<HoursCounterPopupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HoursCounterPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,10 @@
1
+ export type HoursGapBadgeContent = "positive" | "negative";
2
+ export type HoursGapBadgeLabels = Partial<Record<HoursGapBadgeContent, string>>;
3
+ interface HoursGapBadgeProps {
4
+ value?: string | number | null;
5
+ content?: HoursGapBadgeContent | null;
6
+ labels?: HoursGapBadgeLabels;
7
+ }
8
+ declare const __VLS_export: import("vue").DefineComponent<HoursGapBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HoursGapBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,31 @@
1
+ import type { TagStatusType } from "./TagStatus.vue";
2
+ import type { AppointmentPopupActivity } from "./AppointmentPopup.vue";
3
+ export type InterventionCardActivity = AppointmentPopupActivity | "replace";
4
+ export type InterventionCardState = "default" | "hover" | "selected" | "dragging";
5
+ interface InterventionCardProps {
6
+ activity?: InterventionCardActivity;
7
+ state?: InterventionCardState;
8
+ selected?: boolean;
9
+ clientName?: string;
10
+ activityLabel?: string;
11
+ time?: string;
12
+ status?: TagStatusType;
13
+ duration?: string;
14
+ hasTransmission?: boolean;
15
+ hasRepetition?: boolean;
16
+ hasAttention?: boolean;
17
+ }
18
+ declare const __VLS_export: import("vue").DefineComponent<InterventionCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InterventionCardProps> & Readonly<{}>, {
19
+ activity: InterventionCardActivity;
20
+ time: string;
21
+ activityLabel: string;
22
+ duration: string;
23
+ selected: boolean;
24
+ state: InterventionCardState;
25
+ clientName: string;
26
+ hasTransmission: boolean;
27
+ hasRepetition: boolean;
28
+ hasAttention: boolean;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
@@ -0,0 +1,10 @@
1
+ export type PlanningSlotContent = "default" | "hover" | "nonTravaille" | "arretMaladie" | "formation" | "dejeuner" | "conges" | "aAffecter";
2
+ export type PlanningSlotLabels = Partial<Record<PlanningSlotContent, string>>;
3
+ interface PlanningSlotProps {
4
+ content?: PlanningSlotContent | null;
5
+ showLabel?: boolean;
6
+ labels?: PlanningSlotLabels;
7
+ }
8
+ declare const __VLS_export: import("vue").DefineComponent<PlanningSlotProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PlanningSlotProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ export type ScoreBadgeLevel = "success" | "warning" | "error";
2
+ export type ScoreBadgeLabels = Partial<Record<"context" | ScoreBadgeLevel, string>>;
3
+ interface ScoreBadgeProps {
4
+ score?: number | string | null;
5
+ level?: ScoreBadgeLevel | null;
6
+ labels?: ScoreBadgeLabels;
7
+ }
8
+ declare const __VLS_export: import("vue").DefineComponent<ScoreBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScoreBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,28 @@
1
+ export interface ScoringPanelCriterion {
2
+ key: string;
3
+ label: string;
4
+ value: number | string;
5
+ }
6
+ interface ScoringPanelProps {
7
+ title?: string | null;
8
+ subtitle?: string | null;
9
+ modelValue?: ScoringPanelCriterion[] | null;
10
+ resetLabel?: string | null;
11
+ submitLabel?: string | null;
12
+ closeLabel?: string | null;
13
+ unitLabel?: string | null;
14
+ unitSpokenLabel?: string | null;
15
+ }
16
+ declare const __VLS_export: import("vue").DefineComponent<ScoringPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ close: () => any;
18
+ reset: () => any;
19
+ "update:modelValue": (criteria: ScoringPanelCriterion[]) => any;
20
+ apply: (criteria: ScoringPanelCriterion[]) => any;
21
+ }, string, import("vue").PublicProps, Readonly<ScoringPanelProps> & Readonly<{
22
+ onClose?: (() => any) | undefined;
23
+ onReset?: (() => any) | undefined;
24
+ "onUpdate:modelValue"?: ((criteria: ScoringPanelCriterion[]) => any) | undefined;
25
+ onApply?: ((criteria: ScoringPanelCriterion[]) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
@@ -0,0 +1,8 @@
1
+ interface StatCardProps {
2
+ label?: string;
3
+ value?: string | number;
4
+ range?: string;
5
+ }
6
+ declare const __VLS_export: import("vue").DefineComponent<StatCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<StatCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ export type TagStatusType = "cancelled" | "unassigned" | "completed" | "toDo";
2
+ interface TagStatusProps {
3
+ status?: TagStatusType;
4
+ }
5
+ declare const __VLS_export: import("vue").DefineComponent<TagStatusProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TagStatusProps> & 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,8 @@
1
+ interface TimelineHeaderProps {
2
+ label?: string;
3
+ }
4
+ declare const __VLS_export: import("vue").DefineComponent<TimelineHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimelineHeaderProps> & Readonly<{}>, {
5
+ label: string;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,12 @@
1
+ export type TripPopupTransport = "walk" | "bike" | "car" | "bus";
2
+ export type TripPopupOgustTransport = "V" | "B" | "C" | "P";
3
+ interface TripPopupProps {
4
+ type: string;
5
+ duration: string;
6
+ distance: string;
7
+ compensation: string;
8
+ transport?: TripPopupTransport | TripPopupOgustTransport;
9
+ }
10
+ declare const __VLS_export: import("vue").DefineComponent<TripPopupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TripPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import type { ScoreBadgeLabels, ScoreBadgeLevel } from "../ScoreBadge.vue";
2
+ import type { CriterionRowLabels, CriterionRowLevel } from "./CriterionRow.vue";
3
+ export interface CompatibilityPopupCriterion {
4
+ label: string;
5
+ value: number | string;
6
+ max: number | string;
7
+ level: CriterionRowLevel;
8
+ }
9
+ interface CompatibilityPopupProps {
10
+ score?: number | string | null;
11
+ level?: ScoreBadgeLevel | null;
12
+ criteria?: CompatibilityPopupCriterion[] | null;
13
+ title?: string | null;
14
+ scoreLabels?: ScoreBadgeLabels;
15
+ criterionLabels?: CriterionRowLabels;
16
+ }
17
+ declare const __VLS_export: import("vue").DefineComponent<CompatibilityPopupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CompatibilityPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import type { ScoreBadgeLevel } from "../ScoreBadge.vue";
2
+ export type CriterionRowLevel = ScoreBadgeLevel;
3
+ export type CriterionRowLabels = Partial<Record<CriterionRowLevel, string>>;
4
+ interface CriterionRowProps {
5
+ label?: string | number | null;
6
+ value?: number | string | null;
7
+ max?: number | string | null;
8
+ level?: CriterionRowLevel | null;
9
+ labels?: CriterionRowLabels;
10
+ }
11
+ declare const __VLS_export: import("vue").DefineComponent<CriterionRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CriterionRowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import type { CriterionRowLevel } from "./CriterionRow.vue";
2
+ export interface ParsedCriterion {
3
+ label: string;
4
+ valueText: string;
5
+ maxText: string;
6
+ level: CriterionRowLevel;
7
+ percent: number;
8
+ }
9
+ export declare const parseCriterion: (raw: {
10
+ label?: unknown;
11
+ value?: unknown;
12
+ max?: unknown;
13
+ level?: unknown;
14
+ }) => ParsedCriterion | undefined;
@@ -0,0 +1,35 @@
1
+ import type { HomeStepDirection, HomeStepLabels } from "../HomeStep.vue";
2
+ import type { InterventionCardActivity } from "../InterventionCard.vue";
3
+ import type { TagStatusType } from "../TagStatus.vue";
4
+ export interface WorkerDayJourneyHomeStep {
5
+ type: "home";
6
+ direction: HomeStepDirection;
7
+ }
8
+ export interface WorkerDayJourneyTripStep {
9
+ type: "trip";
10
+ label: string;
11
+ }
12
+ export interface WorkerDayJourneyInterventionStep {
13
+ type: "intervention";
14
+ id?: string | number;
15
+ activity?: InterventionCardActivity;
16
+ activityLabel?: string;
17
+ clientName?: string;
18
+ time?: string;
19
+ status?: TagStatusType;
20
+ hasTransmission?: boolean;
21
+ hasRepetition?: boolean;
22
+ }
23
+ export type WorkerDayJourneyStep = WorkerDayJourneyHomeStep | WorkerDayJourneyTripStep | WorkerDayJourneyInterventionStep;
24
+ interface WorkerDayJourneyProps {
25
+ steps?: WorkerDayJourneyStep[] | null;
26
+ title?: string | null;
27
+ homeStepLabels?: HomeStepLabels;
28
+ }
29
+ declare const __VLS_export: import("vue").DefineComponent<WorkerDayJourneyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ "intervention-click": (step: WorkerDayJourneyInterventionStep) => any;
31
+ }, string, import("vue").PublicProps, Readonly<WorkerDayJourneyProps> & Readonly<{
32
+ "onIntervention-click"?: ((step: WorkerDayJourneyInterventionStep) => any) | undefined;
33
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import type { HomeStepLabels } from "../HomeStep.vue";
2
+ import type { WorkerDayJourneyInterventionStep, WorkerDayJourneyStep } from "./WorkerDayJourney.vue";
3
+ export interface WorkerDayPanelStat {
4
+ label?: string;
5
+ value?: string | number;
6
+ range?: string;
7
+ }
8
+ export type WorkerDayPanelLabels = Partial<Record<"close" | "journeyTitle", string>>;
9
+ interface WorkerDayPanelProps {
10
+ workerName: string | null;
11
+ initials?: string | null;
12
+ avatarSrc?: string | null;
13
+ interventionsLabel?: string | number | null;
14
+ stats?: WorkerDayPanelStat[] | null;
15
+ journey?: WorkerDayJourneyStep[] | null;
16
+ labels?: WorkerDayPanelLabels | null;
17
+ homeStepLabels?: HomeStepLabels;
18
+ }
19
+ declare const __VLS_template: () => {
20
+ __VLS_Slots: {
21
+ map?: (props: {}) => any;
22
+ };
23
+ };
24
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
25
+ declare const __VLS_base: import("vue").DefineComponent<WorkerDayPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ close: () => any;
27
+ "intervention-click": (step: WorkerDayJourneyInterventionStep) => any;
28
+ }, string, import("vue").PublicProps, Readonly<WorkerDayPanelProps> & Readonly<{
29
+ onClose?: (() => any) | undefined;
30
+ "onIntervention-click"?: ((step: WorkerDayJourneyInterventionStep) => any) | undefined;
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,27 @@
1
+ import { CSSProperties } from "vue";
2
+ import type { Option, Position } from "../../types";
3
+ interface SelectItem {
4
+ value: any;
5
+ label: string;
6
+ }
7
+ type SelectionGroupProps = {
8
+ placeholder?: string;
9
+ singleLine?: boolean;
10
+ clearable?: boolean;
11
+ disabled?: boolean;
12
+ expandable?: boolean;
13
+ tooltipStyle?: CSSProperties;
14
+ modelValue: SelectItem[];
15
+ tooltipPosition?: Position;
16
+ };
17
+ declare const __VLS_export: import("vue").DefineComponent<SelectionGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
+ clear: (option: Option) => any;
19
+ "update:modelValue": (value: SelectItem[]) => any;
20
+ clearAll: (previous: Option[]) => any;
21
+ }, string, import("vue").PublicProps, Readonly<SelectionGroupProps> & Readonly<{
22
+ onClear?: ((option: Option) => any) | undefined;
23
+ "onUpdate:modelValue"?: ((value: SelectItem[]) => any) | undefined;
24
+ onClearAll?: ((previous: Option[]) => any) | undefined;
25
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
@@ -0,0 +1,32 @@
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 const __VLS_template: () => {
11
+ __VLS_Slots: {
12
+ default?: (props: {}) => any;
13
+ };
14
+ };
15
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
16
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ clear: () => any;
18
+ "update:modelValue": (value: SelectItem | null) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onClear?: (() => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: SelectItem | null) => any) | undefined;
22
+ }>, {
23
+ clearable: boolean;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,22 @@
1
+ import { IconName } from "../../types";
2
+ import "virtual:svg-icons-register";
3
+ type __VLS_Props = {
4
+ iconName: IconName;
5
+ color?: string;
6
+ colorSecondary?: string;
7
+ colorHover?: string;
8
+ colorSecondaryHover?: string;
9
+ height?: string;
10
+ width?: string;
11
+ accessibilityTitle?: string;
12
+ classIcon?: string;
13
+ id?: string;
14
+ };
15
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ color: string;
17
+ colorSecondary: string;
18
+ height: string;
19
+ width: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
@@ -0,0 +1 @@
1
+ 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", "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"];