@arche-mc2/vue-ui-lib 1.3.5 → 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.
- package/README.md +26 -2
- package/dist/types/components/Alert.vue.d.ts +18 -0
- package/dist/types/components/AvatarBase.vue.d.ts +27 -0
- package/dist/types/components/ButtonBase.vue.d.ts +28 -0
- package/dist/types/components/CalendarBase.vue.d.ts +26 -0
- package/dist/types/components/CheckboxBase.vue.d.ts +31 -0
- package/dist/types/components/DataGrid.vue.d.ts +37 -0
- package/dist/types/components/FlyoutMenu.vue.d.ts +39 -0
- package/dist/types/components/HistoryBadge.vue.d.ts +7 -0
- package/dist/types/components/HistoryFilter.vue.d.ts +12 -0
- package/dist/types/components/InputBase.vue.d.ts +25 -0
- package/dist/types/components/ListWithSearch.vue.d.ts +25 -0
- package/dist/types/components/LoaderBase.vue.d.ts +8 -0
- package/dist/types/components/ModalBase.vue.d.ts +20 -0
- package/dist/types/components/OptionalWrapperComponent.vue.d.ts +22 -0
- package/dist/types/components/RadioBase.vue.d.ts +24 -0
- package/dist/types/components/SegmentedButton.vue.d.ts +42 -0
- package/dist/types/components/SelectBase.vue.d.ts +20 -0
- package/dist/types/components/SideMenu.vue.d.ts +8 -0
- package/dist/types/components/SliderBase.vue.d.ts +23 -0
- package/dist/types/components/TabBar.vue.d.ts +11 -0
- package/dist/types/components/TagBase.vue.d.ts +7 -0
- package/dist/types/components/ToastBase.vue.d.ts +3 -0
- package/dist/types/components/ToggleAdvanced.vue.d.ts +17 -0
- package/dist/types/components/ToggleBase.vue.d.ts +16 -0
- package/dist/types/components/TooltipBase.vue.d.ts +27 -0
- package/dist/types/components/WidgetBase.vue.d.ts +28 -0
- package/dist/types/components/datePicker/DatePicker.vue.d.ts +13 -0
- package/dist/types/components/datePicker/DatePickerCalendar.vue.d.ts +19 -0
- package/dist/types/components/datePicker/DatePickerNavigation.vue.d.ts +14 -0
- package/dist/types/components/historyItem/DiffValue.vue.d.ts +23 -0
- package/dist/types/components/historyItem/HistoryItem.vue.d.ts +39 -0
- package/dist/types/components/planning/AppointmentPopup.vue.d.ts +17 -0
- package/dist/types/components/planning/DayNavigator.vue.d.ts +20 -0
- package/dist/types/components/planning/FilterPanel.vue.d.ts +26 -0
- package/dist/types/components/planning/HomeStep.vue.d.ts +9 -0
- package/dist/types/components/planning/HoursCounterPopup.vue.d.ts +13 -0
- package/dist/types/components/planning/HoursGapBadge.vue.d.ts +10 -0
- package/dist/types/components/planning/InterventionCard.vue.d.ts +31 -0
- package/dist/types/components/planning/PlanningSlot.vue.d.ts +10 -0
- package/dist/types/components/planning/ScoreBadge.vue.d.ts +10 -0
- package/dist/types/components/planning/ScoringPanel.vue.d.ts +28 -0
- package/dist/types/components/planning/StatCard.vue.d.ts +8 -0
- package/dist/types/components/planning/TagStatus.vue.d.ts +7 -0
- package/dist/types/components/planning/Timeline.vue.d.ts +3 -0
- package/dist/types/components/planning/TimelineHeader.vue.d.ts +8 -0
- package/dist/types/components/planning/TripPopup.vue.d.ts +12 -0
- package/dist/types/components/planning/compatibilityPopup/CompatibilityPopup.vue.d.ts +19 -0
- package/dist/types/components/planning/compatibilityPopup/CriterionRow.vue.d.ts +13 -0
- package/dist/types/components/planning/compatibilityPopup/criterion.d.ts +14 -0
- package/dist/types/components/planning/workerDayPanel/WorkerDayJourney.vue.d.ts +35 -0
- package/dist/types/components/planning/workerDayPanel/WorkerDayPanel.vue.d.ts +39 -0
- package/dist/types/components/selectionBase/SelectionGroup.vue.d.ts +27 -0
- package/dist/types/components/selectionBase/SelectionItem.vue.d.ts +32 -0
- package/dist/types/components/svgIcon/SvgIcon.vue.d.ts +22 -0
- package/dist/types/components/svgIcon/iconNames.d.ts +1 -0
- package/dist/types/index.d.ts +73 -0
- package/dist/types/tokens.d.ts +222 -0
- package/dist/types/types.d.ts +69 -0
- package/dist/types/utils/date.d.ts +91 -0
- package/dist/types/utils/filterPanel.d.ts +17 -0
- package/dist/types/utils/homeStep.d.ts +2 -0
- package/dist/types/utils/id.d.ts +1 -0
- package/dist/types/utils/provideToast.d.ts +7 -0
- package/dist/types/utils/score.d.ts +4 -0
- package/dist/types/utils/string.d.ts +6 -0
- package/dist/vue-ui-lib.css +1 -1
- package/dist/vue-ui-lib.es.js +5103 -4998
- package/dist/vue-ui-lib.umd.js +7 -7
- package/package.json +17 -18
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ import type { Option, ButtonTypes, IconName } from '@arche-mc2/vue-ui-lib'
|
|
|
47
47
|
|
|
48
48
|
---
|
|
49
49
|
|
|
50
|
-
## Composants disponibles (
|
|
50
|
+
## Composants disponibles (49)
|
|
51
51
|
|
|
52
52
|
| Composant | Description |
|
|
53
53
|
|-----------|-------------|
|
|
@@ -99,6 +99,7 @@ import type { Option, ButtonTypes, IconName } from '@arche-mc2/vue-ui-lib'
|
|
|
99
99
|
| [Alert](#alert) | Bandeau d'alerte inline (success, error, info, warning) : titre, description, croix, action « Annuler » optionnelle |
|
|
100
100
|
| [TimelineHeader](#timelineheader) | En-tête horaire du planning : frise de 24 cellules 00:00 → 23:00 de 87 px (`planningHourWidth`), groupe nommé, non défilante (scroll porté par l'hôte) |
|
|
101
101
|
| [Timeline](#timeline) | Indicateur décoratif de l'heure courante du planning : ligne verticale surmontée d'un point (`background/pink/strong`), positionnée par l'hôte |
|
|
102
|
+
| [PlanningSlot](#planningslot) | Fond d'un créneau de la grille du planning (87 × 80 px) : disponible, cible de dépôt, non travaillé, absences hachurées avec libellé optionnel, déjeuner, à affecter ; non interactif, état lu en texte masqué |
|
|
102
103
|
|
|
103
104
|
---
|
|
104
105
|
|
|
@@ -1279,6 +1280,25 @@ Indicateur de l'heure courante du planning, purement visuel et non interactif :
|
|
|
1279
1280
|
|
|
1280
1281
|
---
|
|
1281
1282
|
|
|
1283
|
+
### PlanningSlot
|
|
1284
|
+
|
|
1285
|
+
Fond d'un créneau de la grille du planning, **non interactif** : il indique l'état de l'intervenant sur ce créneau, les rendez-vous se posent par-dessus. 87 × 80 px (largeur `$planning-hour-width` / `planningHourWidth`, la même que les cellules de TimelineHeader ; hauteur sans jeton). Seules les **bordures droite et du bas** sont dessinées (un seul trait entre deux créneaux voisins ; haut et gauche de la grille fermés par l'en-tête des heures et la colonne des intervenants). États : `default` (case libre, fond `background/default`), `hover` (cible de dépôt posée par l'hôte pendant le glisser-déposer d'un rendez-vous, sur une case libre seulement : fond `background/muted`, tirets 5/5 `background/border/default` ; ce n'est pas un `:hover` CSS), `nonTravaille` (fond `background/subtle`, hachures), `arretMaladie` / `formation` / `conges` (fond `background/{pink,orange,green}/lightest`, bordure `background/{red,orange,green}/medium`, hachures `background/{couleur}/light`, libellé visible optionnel en `emphasis/3xs` 8/18 : `text/danger`, `text/warning`, `text/accent/green`), `dejeuner` (fond `background/yellow/lightest`, icône `restaurant` 12 px en `icon/accent/yellow` **toujours** affichée), `aAffecter` (fond `background/pink/lightest`, bas `border/pink/light`). Chaque case porte un **nom lu** en texte masqué (« Disponible », « Non travaillé », « Arrêt maladie », « Formation », « Déjeuner », « Congés », « À affecter ») ; quand le libellé visible est affiché, il porte ce nom (pas de double lecture). Hachures et icône décoratives. Données non typées : `content` sans tenir compte de la casse, des accents ni des espaces (noms Figma « Arrêt maladie », « À affecter » acceptés) ; absent, `null` ou vide → `default` ; hors liste → rendu neutre (aspect de la case libre, aucun état annoncé) ; `showLabel` accepte `"true"` / `"1"`, `"false"` est faux.
|
|
1286
|
+
|
|
1287
|
+
**Props :**
|
|
1288
|
+
| Prop | Type | Défaut | Description |
|
|
1289
|
+
|------|------|--------|-------------|
|
|
1290
|
+
| `content` | `PlanningSlotContent \| null` | `'default'` | `'default'` `'hover'` `'nonTravaille'` `'arretMaladie'` `'formation'` `'dejeuner'` `'conges'` `'aAffecter'` ; hors liste → rendu neutre sans état annoncé |
|
|
1291
|
+
| `showLabel` | `boolean` | `false` | Libellé visible des absences (arrêt maladie, formation, congés) ; sans effet sur les autres états |
|
|
1292
|
+
| `labels` | `PlanningSlotLabels` | libellés français | Un libellé par état (nom lu et libellé visible) ; un libellé absent ou vide garde le français |
|
|
1293
|
+
|
|
1294
|
+
```html
|
|
1295
|
+
<div style="display: flex;">
|
|
1296
|
+
<PlanningSlot v-for="slot in slots" :key="slot.hour" :content="slot.content" show-label />
|
|
1297
|
+
</div>
|
|
1298
|
+
```
|
|
1299
|
+
|
|
1300
|
+
---
|
|
1301
|
+
|
|
1282
1302
|
### Alert
|
|
1283
1303
|
|
|
1284
1304
|
Bandeau d'alerte inline qui informe ou alerte l'utilisateur dans une page : pastille d'icône colorée 28 px (décorative, `aria-hidden`), titre (`emphasis/lg`, `text/success|danger|info|warning`), description (`body/md`, `text/primary`) et croix de fermeture (icône `close` 20 px en `icon/subtle`, zone cliquable 32 px, `aria-label` traduisible), sur fond `status/*/subtle`, rayon `radius/md`. Statuts : `success` (glyphe `check`), `error` (`x`), `info` et `warning` (`alert-circle`) ; `role="status"` pour `success` et `info`, `role="alert"` pour `error` et `warning`. Avec `cancelable` et le statut `success` uniquement, une action texte « Annuler » (`emphasis/md`, soulignée au survol, zone cliquable 32 px) s'affiche sur sa propre ligne, alignée à droite. Les deux boutons ont un contour de focus `background/border/focus` et ne soumettent jamais un `<form>` englobant (`type="button"`). L'alerte ne se masque pas elle-même : elle émet `close` / `cancel`, le parent la retire (et rétablit l'état précédent pour `cancel`) puis replace le focus. Largeur fluide (celle du conteneur), textes qui passent à la ligne sans troncature. Données non typées : statut sans tenir compte de la casse, code Ogust `danger` (classes `alert-danger`, flash `addFlash('danger')`) rendu comme `error`, absent ou hors liste → rendu neutre `info` ; titre ou description vide, `null` ou fait d'espaces → ligne non rendue, et sans aucun des deux rien n'est visible mais le conteneur reste dans le DOM (la région live `role="status"` / `"alert"` doit exister avant son contenu pour qu'un lecteur d'écran annonce une alerte qui apparaît) ; `cancelable: "false"` (chaîne) n'affiche pas l'action.
|
|
@@ -1327,7 +1347,7 @@ import type {
|
|
|
1327
1347
|
HoursCounterPopupRow, HoursCounterPopupLabels,
|
|
1328
1348
|
ScoreBadgeLevel, ScoreBadgeLabels, HoursGapBadgeContent, HoursGapBadgeLabels,
|
|
1329
1349
|
CompatibilityPopupCriterion, CriterionRowLevel, CriterionRowLabels,
|
|
1330
|
-
ScoringPanelCriterion, AlertStatus,
|
|
1350
|
+
ScoringPanelCriterion, AlertStatus, PlanningSlotContent, PlanningSlotLabels,
|
|
1331
1351
|
FilterPanelValue, FilterPanelOptions, FilterPanelSelectKey, FilterPanelToggleKey, FilterPanelLabels,
|
|
1332
1352
|
WorkerDayPanelStat, WorkerDayPanelLabels,
|
|
1333
1353
|
WorkerDayJourneyStep, WorkerDayJourneyHomeStep, WorkerDayJourneyTripStep, WorkerDayJourneyInterventionStep
|
|
@@ -1430,6 +1450,10 @@ type ScoreBadgeLabels = Partial<Record<'context' | ScoreBadgeLevel, string>> //
|
|
|
1430
1450
|
type HoursGapBadgeContent = 'positive' | 'negative' // choisie par l'hôte, jamais déduite du signe
|
|
1431
1451
|
type HoursGapBadgeLabels = Partial<Record<HoursGapBadgeContent, string>> // texte masqué traduit
|
|
1432
1452
|
|
|
1453
|
+
// PlanningSlot
|
|
1454
|
+
type PlanningSlotContent = 'default' | 'hover' | 'nonTravaille' | 'arretMaladie' | 'formation' | 'dejeuner' | 'conges' | 'aAffecter'
|
|
1455
|
+
type PlanningSlotLabels = Partial<Record<PlanningSlotContent, string>> // nom lu et libellé visible traduits
|
|
1456
|
+
|
|
1433
1457
|
// CompatibilityPopup / CriterionRow
|
|
1434
1458
|
type CriterionRowLevel = ScoreBadgeLevel // 'success' | 'warning' | 'error', fourni par l'algorithme
|
|
1435
1459
|
type CriterionRowLabels = Partial<Record<CriterionRowLevel, string>> // qualification lue traduite
|
|
@@ -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;
|