@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
|
@@ -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"];
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export { default as Alert } from "./components/Alert.vue";
|
|
2
|
+
export type { AlertStatus } from "./components/Alert.vue";
|
|
3
|
+
export { default as AppointmentPopup } from "./components/planning/AppointmentPopup.vue";
|
|
4
|
+
export type { AppointmentPopupActivity, AppointmentPopupStatus, } from "./components/planning/AppointmentPopup.vue";
|
|
5
|
+
export { default as AvatarBase } from "./components/AvatarBase.vue";
|
|
6
|
+
export { default as ButtonBase } from "./components/ButtonBase.vue";
|
|
7
|
+
export { default as CalendarBase } from "./components/CalendarBase.vue";
|
|
8
|
+
export { default as CheckboxBase } from "./components/CheckboxBase.vue";
|
|
9
|
+
export { default as CompatibilityPopup } from "./components/planning/compatibilityPopup/CompatibilityPopup.vue";
|
|
10
|
+
export { default as CriterionRow } from "./components/planning/compatibilityPopup/CriterionRow.vue";
|
|
11
|
+
export type { CompatibilityPopupCriterion } from "./components/planning/compatibilityPopup/CompatibilityPopup.vue";
|
|
12
|
+
export type { CriterionRowLevel, CriterionRowLabels, } from "./components/planning/compatibilityPopup/CriterionRow.vue";
|
|
13
|
+
export { default as DataGrid } from "./components/DataGrid.vue";
|
|
14
|
+
export { default as DatePicker } from "./components/datePicker/DatePicker.vue";
|
|
15
|
+
export { default as DayNavigator } from "./components/planning/DayNavigator.vue";
|
|
16
|
+
export { default as FilterPanel } from "./components/planning/FilterPanel.vue";
|
|
17
|
+
export { countActiveFilters, emptyFilterPanelValue, } from "./utils/filterPanel";
|
|
18
|
+
export type { FilterPanelLabels, FilterPanelOptions, FilterPanelSelectKey, FilterPanelToggleKey, FilterPanelValue, } from "./components/planning/FilterPanel.vue";
|
|
19
|
+
export { default as FlyoutMenu } from "./components/FlyoutMenu.vue";
|
|
20
|
+
export { default as HomeStep } from "./components/planning/HomeStep.vue";
|
|
21
|
+
export type { HomeStepDirection, HomeStepLabels } from "./components/planning/HomeStep.vue";
|
|
22
|
+
export { default as HoursGapBadge } from "./components/planning/HoursGapBadge.vue";
|
|
23
|
+
export type { HoursGapBadgeContent, HoursGapBadgeLabels } from "./components/planning/HoursGapBadge.vue";
|
|
24
|
+
export { default as InputBase } from "./components/InputBase.vue";
|
|
25
|
+
export { default as InterventionCard } from "./components/planning/InterventionCard.vue";
|
|
26
|
+
export type { InterventionCardActivity, InterventionCardState, } from "./components/planning/InterventionCard.vue";
|
|
27
|
+
export { default as ListWithSearch } from "./components/ListWithSearch.vue";
|
|
28
|
+
export { default as LoaderBase } from "./components/LoaderBase.vue";
|
|
29
|
+
export { default as ModalBase } from "./components/ModalBase.vue";
|
|
30
|
+
export { default as PlanningSlot } from "./components/planning/PlanningSlot.vue";
|
|
31
|
+
export type { PlanningSlotContent, PlanningSlotLabels } from "./components/planning/PlanningSlot.vue";
|
|
32
|
+
export { default as RadioBase } from "./components/RadioBase.vue";
|
|
33
|
+
export { default as ScoreBadge } from "./components/planning/ScoreBadge.vue";
|
|
34
|
+
export type { ScoreBadgeLevel, ScoreBadgeLabels } from "./components/planning/ScoreBadge.vue";
|
|
35
|
+
export { default as ScoringPanel } from "./components/planning/ScoringPanel.vue";
|
|
36
|
+
export type { ScoringPanelCriterion } from "./components/planning/ScoringPanel.vue";
|
|
37
|
+
export { default as SegmentedButton } from "./components/SegmentedButton.vue";
|
|
38
|
+
export { default as SelectBase } from "./components/SelectBase.vue";
|
|
39
|
+
export { default as SelectionGroup } from "./components/selectionBase/SelectionGroup.vue";
|
|
40
|
+
export { default as SideMenu } from "./components/SideMenu.vue";
|
|
41
|
+
export { default as SliderBase } from "./components/SliderBase.vue";
|
|
42
|
+
export { default as StatCard } from "./components/planning/StatCard.vue";
|
|
43
|
+
export { default as SvgIcon } from "./components/svgIcon/SvgIcon.vue";
|
|
44
|
+
export { default as TabBar } from "./components/TabBar.vue";
|
|
45
|
+
export { default as HistoryBadge } from "./components/HistoryBadge.vue";
|
|
46
|
+
export { default as HistoryFilter } from "./components/HistoryFilter.vue";
|
|
47
|
+
export { default as HistoryItem } from "./components/historyItem/HistoryItem.vue";
|
|
48
|
+
export { default as DiffValue } from "./components/historyItem/DiffValue.vue";
|
|
49
|
+
export type { DiffValueKind } from "./components/historyItem/DiffValue.vue";
|
|
50
|
+
export type { HistoryFilterType } from "./components/HistoryFilter.vue";
|
|
51
|
+
export type { HistoryBadgeType } from "./components/HistoryBadge.vue";
|
|
52
|
+
export type { HistoryItemType, HistoryItemField, } from "./components/historyItem/HistoryItem.vue";
|
|
53
|
+
export { default as TagBase } from "./components/TagBase.vue";
|
|
54
|
+
export { default as TagStatus } from "./components/planning/TagStatus.vue";
|
|
55
|
+
export type { TagStatusType } from "./components/planning/TagStatus.vue";
|
|
56
|
+
export { default as Timeline } from "./components/planning/Timeline.vue";
|
|
57
|
+
export { default as TimelineHeader } from "./components/planning/TimelineHeader.vue";
|
|
58
|
+
export { default as ToggleAdvanced } from "./components/ToggleAdvanced.vue";
|
|
59
|
+
export { default as ToggleBase } from "./components/ToggleBase.vue";
|
|
60
|
+
export { default as TooltipBase } from "./components/TooltipBase.vue";
|
|
61
|
+
export { default as TripPopup } from "./components/planning/TripPopup.vue";
|
|
62
|
+
export type { TripPopupTransport, TripPopupOgustTransport, } from "./components/planning/TripPopup.vue";
|
|
63
|
+
export { default as HoursCounterPopup } from "./components/planning/HoursCounterPopup.vue";
|
|
64
|
+
export type { HoursCounterPopupRow, HoursCounterPopupLabels, } from "./components/planning/HoursCounterPopup.vue";
|
|
65
|
+
export { default as ToastBase } from "./components/ToastBase.vue";
|
|
66
|
+
export { default as WidgetBase } from "./components/WidgetBase.vue";
|
|
67
|
+
export { default as WorkerDayPanel } from "./components/planning/workerDayPanel/WorkerDayPanel.vue";
|
|
68
|
+
export { default as WorkerDayJourney } from "./components/planning/workerDayPanel/WorkerDayJourney.vue";
|
|
69
|
+
export type { WorkerDayPanelLabels, WorkerDayPanelStat, } from "./components/planning/workerDayPanel/WorkerDayPanel.vue";
|
|
70
|
+
export type { WorkerDayJourneyHomeStep, WorkerDayJourneyInterventionStep, WorkerDayJourneyStep, WorkerDayJourneyTripStep, } from "./components/planning/workerDayPanel/WorkerDayJourney.vue";
|
|
71
|
+
export { provideToast, useToast } from "./utils/provideToast";
|
|
72
|
+
export * from "./types";
|
|
73
|
+
export { iconNames } from "./components/svgIcon/iconNames";
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
export declare const white = "#ffffff";
|
|
2
|
+
export declare const violet50 = "#fcfcfd";
|
|
3
|
+
export declare const violet100 = "#f3f3f7";
|
|
4
|
+
export declare const violet150 = "#e9e6f4";
|
|
5
|
+
export declare const violet200 = "#e5e4ee";
|
|
6
|
+
export declare const violet300 = "#cac8dc";
|
|
7
|
+
export declare const violet400 = "#9590b9";
|
|
8
|
+
export declare const violet500 = "#6b65a0";
|
|
9
|
+
export declare const violet600 = "#4e4890";
|
|
10
|
+
export declare const violet700 = "#3a3480";
|
|
11
|
+
export declare const violet800 = "#302870";
|
|
12
|
+
export declare const violet900 = "#2c2274";
|
|
13
|
+
export declare const violet950 = "#181340";
|
|
14
|
+
export declare const pink50 = "#fef0f3";
|
|
15
|
+
export declare const pink100 = "#fdecef";
|
|
16
|
+
export declare const pink200 = "#f9c5d0";
|
|
17
|
+
export declare const pink300 = "#f5acbb";
|
|
18
|
+
export declare const pink400 = "#f07d95";
|
|
19
|
+
export declare const pink500 = "#eb5a77";
|
|
20
|
+
export declare const pink600 = "#d94468";
|
|
21
|
+
export declare const pink700 = "#ce5a77";
|
|
22
|
+
export declare const pink800 = "#a83560";
|
|
23
|
+
export declare const pink900 = "#7a1f45";
|
|
24
|
+
export declare const teal50 = "#eaf9f9";
|
|
25
|
+
export declare const teal100 = "#c6f0f0";
|
|
26
|
+
export declare const teal200 = "#95e2e3";
|
|
27
|
+
export declare const teal300 = "#63d1d2";
|
|
28
|
+
export declare const teal400 = "#4dc6c7";
|
|
29
|
+
export declare const teal500 = "#55bdbe";
|
|
30
|
+
export declare const teal600 = "#3a9899";
|
|
31
|
+
export declare const teal700 = "#2b7576";
|
|
32
|
+
export declare const teal800 = "#1c5354";
|
|
33
|
+
export declare const teal900 = "#103535";
|
|
34
|
+
export declare const red50 = "#fff0f2";
|
|
35
|
+
export declare const red100 = "#f2bbc3";
|
|
36
|
+
export declare const red200 = "#f08090";
|
|
37
|
+
export declare const red300 = "#eb5068";
|
|
38
|
+
export declare const red400 = "#e62038";
|
|
39
|
+
export declare const red500 = "#e40424";
|
|
40
|
+
export declare const red600 = "#c0001e";
|
|
41
|
+
export declare const red700 = "#960017";
|
|
42
|
+
export declare const red800 = "#6c0010";
|
|
43
|
+
export declare const red900 = "#420009";
|
|
44
|
+
export declare const magenta50 = "#fff0fa";
|
|
45
|
+
export declare const magenta100 = "#fecdef";
|
|
46
|
+
export declare const magenta200 = "#fc9fdb";
|
|
47
|
+
export declare const magenta300 = "#f667c2";
|
|
48
|
+
export declare const magenta400 = "#ea1fa4";
|
|
49
|
+
export declare const magenta500 = "#bb0080";
|
|
50
|
+
export declare const magenta600 = "#990066";
|
|
51
|
+
export declare const magenta700 = "#75004f";
|
|
52
|
+
export declare const magenta800 = "#520038";
|
|
53
|
+
export declare const magenta900 = "#330023";
|
|
54
|
+
export declare const blue50 = "#e6f4fb";
|
|
55
|
+
export declare const blue100 = "#b3e0f5";
|
|
56
|
+
export declare const blue200 = "#80ccef";
|
|
57
|
+
export declare const blue300 = "#4db8e9";
|
|
58
|
+
export declare const blue400 = "#1aa4e3";
|
|
59
|
+
export declare const blue500 = "#009fe3";
|
|
60
|
+
export declare const blue600 = "#0086bf";
|
|
61
|
+
export declare const blue700 = "#0c6a96";
|
|
62
|
+
export declare const blue800 = "#094f70";
|
|
63
|
+
export declare const blue900 = "#063448";
|
|
64
|
+
export declare const yellow50 = "#fffce8";
|
|
65
|
+
export declare const yellow100 = "#fff3c0";
|
|
66
|
+
export declare const yellow200 = "#ffe580";
|
|
67
|
+
export declare const yellow300 = "#ffd740";
|
|
68
|
+
export declare const yellow400 = "#ffcb14";
|
|
69
|
+
export declare const yellow500 = "#ecbf00";
|
|
70
|
+
export declare const yellow600 = "#c29b00";
|
|
71
|
+
export declare const yellow700 = "#997a00";
|
|
72
|
+
export declare const yellow800 = "#6b5500";
|
|
73
|
+
export declare const yellow900 = "#473800";
|
|
74
|
+
export declare const green50 = "#f2faf5";
|
|
75
|
+
export declare const green100 = "#d0edd8";
|
|
76
|
+
export declare const green200 = "#a5ddbb";
|
|
77
|
+
export declare const green300 = "#70c490";
|
|
78
|
+
export declare const green400 = "#3dae6a";
|
|
79
|
+
export declare const green500 = "#2a9c50";
|
|
80
|
+
export declare const green600 = "#228540";
|
|
81
|
+
export declare const green700 = "#267d0b";
|
|
82
|
+
export declare const green800 = "#1a5a08";
|
|
83
|
+
export declare const green900 = "#103a05";
|
|
84
|
+
export declare const orange50 = "#fff5f0";
|
|
85
|
+
export declare const orange100 = "#ffe4d5";
|
|
86
|
+
export declare const orange200 = "#ffc3a8";
|
|
87
|
+
export declare const orange300 = "#ff9e70";
|
|
88
|
+
export declare const orange400 = "#f07840";
|
|
89
|
+
export declare const orange500 = "#e06020";
|
|
90
|
+
export declare const orange600 = "#d3581f";
|
|
91
|
+
export declare const orange700 = "#b04010";
|
|
92
|
+
export declare const orange800 = "#8a2e08";
|
|
93
|
+
export declare const orange900 = "#5c1c04";
|
|
94
|
+
export declare const brandDark = "#181340";
|
|
95
|
+
export declare const brandPrimary = "#2c2274";
|
|
96
|
+
export declare const brandHover = "#3a3480";
|
|
97
|
+
export declare const brandSubtle = "#f3f3f7";
|
|
98
|
+
export declare const brandSurface = "#fcfcfd";
|
|
99
|
+
export declare const textLink = "#181340";
|
|
100
|
+
export declare const textPrimary = "#2c2274";
|
|
101
|
+
export declare const textSecondary = "#9590b9";
|
|
102
|
+
export declare const textDisabled = "#cac8dc";
|
|
103
|
+
export declare const textInverse = "#ffffff";
|
|
104
|
+
export declare const textSecondaryBrand = "#a83560";
|
|
105
|
+
export declare const textStrong = "#181340";
|
|
106
|
+
export declare const textSubtle = "#4e4890";
|
|
107
|
+
export declare const textSecondaryBrandStrong = "#7a1f45";
|
|
108
|
+
export declare const textSuccess = "#1a5a08";
|
|
109
|
+
export declare const textDanger = "#960017";
|
|
110
|
+
export declare const textWarning = "#8a2e08";
|
|
111
|
+
export declare const textInfo = "#0c6a96";
|
|
112
|
+
export declare const textAccentGreen = "#1a5a08";
|
|
113
|
+
export declare const textAccentOrange = "#b04010";
|
|
114
|
+
export declare const textAccentYellow = "#6b5500";
|
|
115
|
+
export declare const textAccentBlue = "#0c6a96";
|
|
116
|
+
export declare const textAccentViolet = "#6b65a0";
|
|
117
|
+
export declare const textAccentPink = "#d94468";
|
|
118
|
+
export declare const textAccentMagenta = "#bb0080";
|
|
119
|
+
export declare const textAccentTeal = "#2b7576";
|
|
120
|
+
export declare const textAccentRed = "#c0001e";
|
|
121
|
+
export declare const backgroundInverse = "#2c2274";
|
|
122
|
+
export declare const backgroundMuted = "#e5e4ee";
|
|
123
|
+
export declare const backgroundSubtle = "#f3f3f7";
|
|
124
|
+
export declare const backgroundSurface = "#fcfcfd";
|
|
125
|
+
export declare const backgroundDefault = "#ffffff";
|
|
126
|
+
export declare const backgroundBorderFocus = "#2c2274";
|
|
127
|
+
export declare const backgroundBorderStrong = "#9590b9";
|
|
128
|
+
export declare const backgroundBorderDefault = "#cac8dc";
|
|
129
|
+
export declare const backgroundBorderSubtle = "#e5e4ee";
|
|
130
|
+
export declare const backgroundBorderDisabled = "#e5e4ee";
|
|
131
|
+
export declare const backgroundGreenLightest = "#f2faf5";
|
|
132
|
+
export declare const backgroundGreenLight = "#d0edd8";
|
|
133
|
+
export declare const backgroundGreenMedium = "#a5ddbb";
|
|
134
|
+
export declare const backgroundGreenStrong = "#228540";
|
|
135
|
+
export declare const borderGreenLight = "#70c490";
|
|
136
|
+
export declare const borderGreenMedium = "#2a9c50";
|
|
137
|
+
export declare const borderGreenStrong = "#267d0b";
|
|
138
|
+
export declare const backgroundOrangeLightest = "#fff5f0";
|
|
139
|
+
export declare const backgroundOrangeLight = "#ffe4d5";
|
|
140
|
+
export declare const backgroundOrangeMedium = "#ffc3a8";
|
|
141
|
+
export declare const backgroundOrangeStrong = "#d3581f";
|
|
142
|
+
export declare const borderOrangeLight = "#ff9e70";
|
|
143
|
+
export declare const borderOrangeMedium = "#e06020";
|
|
144
|
+
export declare const borderOrangeStrong = "#b04010";
|
|
145
|
+
export declare const backgroundYellowLightest = "#fffce8";
|
|
146
|
+
export declare const backgroundYellowLight = "#fff3c0";
|
|
147
|
+
export declare const backgroundYellowMedium = "#ffe580";
|
|
148
|
+
export declare const backgroundYellowStrong = "#c29b00";
|
|
149
|
+
export declare const borderYellowLight = "#ffd740";
|
|
150
|
+
export declare const borderYellowMedium = "#ecbf00";
|
|
151
|
+
export declare const borderYellowStrong = "#997a00";
|
|
152
|
+
export declare const backgroundBlueLightest = "#e6f4fb";
|
|
153
|
+
export declare const backgroundBlueLight = "#b3e0f5";
|
|
154
|
+
export declare const backgroundBlueMedium = "#80ccef";
|
|
155
|
+
export declare const backgroundBlueStrong = "#0086bf";
|
|
156
|
+
export declare const borderBlueLight = "#4db8e9";
|
|
157
|
+
export declare const borderBlueMedium = "#009fe3";
|
|
158
|
+
export declare const borderBlueStrong = "#0c6a96";
|
|
159
|
+
export declare const backgroundVioletLightest = "#fcfcfd";
|
|
160
|
+
export declare const backgroundVioletLight = "#f3f3f7";
|
|
161
|
+
export declare const backgroundVioletMedium = "#e5e4ee";
|
|
162
|
+
export declare const backgroundVioletStrong = "#4e4890";
|
|
163
|
+
export declare const borderVioletLight = "#cac8dc";
|
|
164
|
+
export declare const borderVioletMedium = "#6b65a0";
|
|
165
|
+
export declare const borderVioletStrong = "#3a3480";
|
|
166
|
+
export declare const backgroundPinkLightest = "#fef0f3";
|
|
167
|
+
export declare const backgroundPinkLight = "#fdecef";
|
|
168
|
+
export declare const backgroundPinkMedium = "#f9c5d0";
|
|
169
|
+
export declare const backgroundPinkStrong = "#d94468";
|
|
170
|
+
export declare const borderPinkLight = "#f5acbb";
|
|
171
|
+
export declare const borderPinkMedium = "#eb5a77";
|
|
172
|
+
export declare const borderPinkStrong = "#ce5a77";
|
|
173
|
+
export declare const backgroundMagentaLightest = "#fff0fa";
|
|
174
|
+
export declare const backgroundMagentaLight = "#fecdef";
|
|
175
|
+
export declare const backgroundMagentaMedium = "#fc9fdb";
|
|
176
|
+
export declare const backgroundMagentaStrong = "#990066";
|
|
177
|
+
export declare const borderMagentaLight = "#f667c2";
|
|
178
|
+
export declare const borderMagentaMedium = "#bb0080";
|
|
179
|
+
export declare const borderMagentaStrong = "#75004f";
|
|
180
|
+
export declare const backgroundTealLightest = "#eaf9f9";
|
|
181
|
+
export declare const backgroundTealLight = "#c6f0f0";
|
|
182
|
+
export declare const backgroundTealMedium = "#95e2e3";
|
|
183
|
+
export declare const backgroundTealStrong = "#3a9899";
|
|
184
|
+
export declare const borderTealLight = "#63d1d2";
|
|
185
|
+
export declare const borderTealMedium = "#55bdbe";
|
|
186
|
+
export declare const borderTealStrong = "#2b7576";
|
|
187
|
+
export declare const backgroundRedLightest = "#fff0f2";
|
|
188
|
+
export declare const backgroundRedLight = "#f2bbc3";
|
|
189
|
+
export declare const backgroundRedMedium = "#f08090";
|
|
190
|
+
export declare const backgroundRedStrong = "#c0001e";
|
|
191
|
+
export declare const borderRedLight = "#eb5068";
|
|
192
|
+
export declare const borderRedMedium = "#e40424";
|
|
193
|
+
export declare const borderRedStrong = "#960017";
|
|
194
|
+
export declare const statusErrorText = "#960017";
|
|
195
|
+
export declare const statusErrorDefault = "#e40424";
|
|
196
|
+
export declare const statusErrorSubtle = "#f2bbc3";
|
|
197
|
+
export declare const statusSuccessDefault = "#267d0b";
|
|
198
|
+
export declare const statusSuccessSubtle = "#a5ddbb";
|
|
199
|
+
export declare const statusSuccessText = "#1a5a08";
|
|
200
|
+
export declare const statusWarningDefault = "#d3581f";
|
|
201
|
+
export declare const statusWarningSubtle = "#ffc3a8";
|
|
202
|
+
export declare const statusWarningText = "#8a2e08";
|
|
203
|
+
export declare const statusInfoDefault = "#0086bf";
|
|
204
|
+
export declare const statusInfoSubtle = "#e6f4fb";
|
|
205
|
+
export declare const statusInfoText = "#0c6a96";
|
|
206
|
+
export declare const secondaryDark = "#ce5a77";
|
|
207
|
+
export declare const secondaryHover = "#d94468";
|
|
208
|
+
export declare const secondaryDefault = "#eb5a77";
|
|
209
|
+
export declare const secondaryLight = "#f5acbb";
|
|
210
|
+
export declare const secondarySubtle = "#fdecef";
|
|
211
|
+
export declare const secondaryStrong = "#a83560";
|
|
212
|
+
export declare const secondaryStrongHover = "#7a1f45";
|
|
213
|
+
export declare const iconPrimary = "#2c2274";
|
|
214
|
+
export declare const iconSecondary = "#9590b9";
|
|
215
|
+
export declare const iconSubtle = "#6b65a0";
|
|
216
|
+
export declare const iconDisabled = "#cac8dc";
|
|
217
|
+
export declare const iconInverse = "#ffffff";
|
|
218
|
+
export declare const iconSecondaryBrand = "#a83560";
|
|
219
|
+
export declare const iconSecondaryBrandStrong = "#7a1f45";
|
|
220
|
+
export declare const iconAccentPink = "#d94468";
|
|
221
|
+
export declare const iconAccentYellow = "#997a00";
|
|
222
|
+
export declare const planningHourWidth = 87;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { CSSProperties } from "vue";
|
|
2
|
+
import { iconNames } from "./components/svgIcon/iconNames";
|
|
3
|
+
export type IconName = (typeof iconNames)[number];
|
|
4
|
+
export type ButtonTypes = "primary" | "primary-pink" | "secondary" | "secondary-pink" | "action1" | "action2" | "action3" | "action4" | "action5" | "action6" | "action7";
|
|
5
|
+
export interface FlyoutMenuItem {
|
|
6
|
+
label: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export type Position = "top" | "bottom" | "left" | "right" | "bottom-left";
|
|
10
|
+
export type DayInfo = {
|
|
11
|
+
number: number;
|
|
12
|
+
month: string;
|
|
13
|
+
day: string;
|
|
14
|
+
isCurrent: boolean;
|
|
15
|
+
};
|
|
16
|
+
export type WeekInfo = DayInfo[];
|
|
17
|
+
export declare enum NavType {
|
|
18
|
+
Day = 0,
|
|
19
|
+
Month = 1,
|
|
20
|
+
Year = 2
|
|
21
|
+
}
|
|
22
|
+
export interface Header {
|
|
23
|
+
key: string;
|
|
24
|
+
label: string;
|
|
25
|
+
style?: CSSProperties;
|
|
26
|
+
sortable?: boolean;
|
|
27
|
+
filtered?: boolean;
|
|
28
|
+
sortOrder?: "ASC" | "DESC";
|
|
29
|
+
dataType: "string" | "number" | "date" | "array";
|
|
30
|
+
}
|
|
31
|
+
export interface DatagridHeader extends Header {
|
|
32
|
+
visibility: {
|
|
33
|
+
isShown: boolean;
|
|
34
|
+
isDisabled: boolean;
|
|
35
|
+
update: (value: boolean) => void;
|
|
36
|
+
};
|
|
37
|
+
fixedWidth?: boolean;
|
|
38
|
+
minChars?: number;
|
|
39
|
+
}
|
|
40
|
+
export type Option = {
|
|
41
|
+
value: string;
|
|
42
|
+
label: string;
|
|
43
|
+
id?: number;
|
|
44
|
+
};
|
|
45
|
+
export type Intent = "success" | "warning" | "error" | "info";
|
|
46
|
+
export interface Toast {
|
|
47
|
+
id: number;
|
|
48
|
+
message: string;
|
|
49
|
+
intent: Intent;
|
|
50
|
+
}
|
|
51
|
+
export interface ToggleTheme {
|
|
52
|
+
"amc2-toggle-on-color"?: CSSProperties["color"];
|
|
53
|
+
"amc2-toggle-off-color"?: CSSProperties["color"];
|
|
54
|
+
"amc2-toggle-on-disabled-color"?: CSSProperties["color"];
|
|
55
|
+
"amc2-toggle-off-disabled-color"?: CSSProperties["color"];
|
|
56
|
+
"amc2-slider-on-color"?: CSSProperties["color"];
|
|
57
|
+
"amc2-slider-off-color"?: CSSProperties["color"];
|
|
58
|
+
"amc2-slider-on-disabled-color"?: CSSProperties["color"];
|
|
59
|
+
"amc2-slider-off-disabled-color"?: CSSProperties["color"];
|
|
60
|
+
}
|
|
61
|
+
export interface MenuItem {
|
|
62
|
+
id: number;
|
|
63
|
+
label: string;
|
|
64
|
+
icon?: IconName;
|
|
65
|
+
action?: () => void;
|
|
66
|
+
children?: MenuItem[];
|
|
67
|
+
}
|
|
68
|
+
export type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
69
|
+
export type AvatarColor = "primary" | "secondary";
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import "dayjs/locale/fr";
|
|
2
|
+
import type { ManipulateType } from "dayjs";
|
|
3
|
+
import type { WeekInfo } from "../types";
|
|
4
|
+
/**
|
|
5
|
+
* Return true if the date1 is before the date2
|
|
6
|
+
* @param date1 {Date} date1
|
|
7
|
+
* @param date2 {Date} date2
|
|
8
|
+
* @returns {boolean} true if date1 is before date2
|
|
9
|
+
*/
|
|
10
|
+
export declare const isBefore: (date1: Date, date2: Date) => boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Return true if the date1 is after the date2
|
|
13
|
+
* @param date1 {Date} date1
|
|
14
|
+
* @param date2 {Date} date2
|
|
15
|
+
* @returns {boolean} true if date1 is after date2
|
|
16
|
+
*/
|
|
17
|
+
export declare const isAfter: (date1: Date, date2: Date) => boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Return the difference in days between date1 and date2 from the start of the month
|
|
20
|
+
* @param date1 {Date} date1
|
|
21
|
+
* @param date2 {Date} date2
|
|
22
|
+
* @returns {number} Difference in days
|
|
23
|
+
*/
|
|
24
|
+
export declare const differenceInMonths: (date1: Date, date2: Date) => number;
|
|
25
|
+
/**
|
|
26
|
+
* Return the first day of the month
|
|
27
|
+
* @param date {Date} Date object
|
|
28
|
+
* @returns {string} Date object
|
|
29
|
+
*/
|
|
30
|
+
export declare const firstDayOfMonth: (date?: Date) => string;
|
|
31
|
+
/**
|
|
32
|
+
* Return the number of days in the month
|
|
33
|
+
* @param date {Date} Date object
|
|
34
|
+
* @returns {number} Number of days
|
|
35
|
+
*/
|
|
36
|
+
export declare const daysInMonth: (date?: Date) => number;
|
|
37
|
+
/**
|
|
38
|
+
* Return if the date is full same
|
|
39
|
+
* @param date1 {Date} Date object
|
|
40
|
+
* @param date2 {Date} Date object
|
|
41
|
+
* @returns {boolean} True if the date is full same
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* isSameDate(new Date(2020, 0, 1), new Date(2020, 0, 1)) // true
|
|
45
|
+
* isSameDate(new Date(2020, 0, 1), new Date(2020, 0, 2)) // false
|
|
46
|
+
* isSameDate(new Date(2020, 0, 1), new Date(2020, 2, 1)) // false
|
|
47
|
+
*/
|
|
48
|
+
export declare const isSameDate: (date1: Date, date2: Date, { noDay, }?: {
|
|
49
|
+
noDay?: boolean;
|
|
50
|
+
}) => boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Return the date with the key (month,...) added
|
|
53
|
+
* @param date {Date} Date object
|
|
54
|
+
* @param key {string} Key to add (month, year, day...) Default: month
|
|
55
|
+
* @param amount {number} Number of month to add
|
|
56
|
+
* @returns {Date} Date object
|
|
57
|
+
*/
|
|
58
|
+
export declare const add: ({ date, key, number, }: {
|
|
59
|
+
date?: Date;
|
|
60
|
+
key?: ManipulateType;
|
|
61
|
+
number?: number;
|
|
62
|
+
}) => Date;
|
|
63
|
+
/**
|
|
64
|
+
* Get an array of X dates starting from the first day of the month
|
|
65
|
+
* @param date {Date} Date object
|
|
66
|
+
* @param number {number} Number of dates
|
|
67
|
+
* @param key {ManipulateType|undefined} Number of dates
|
|
68
|
+
* @returns {Date[]} Array of dates
|
|
69
|
+
*/
|
|
70
|
+
export declare const getDateInterval: (date: Date, number: number, key?: ManipulateType | undefined) => Date[];
|
|
71
|
+
/**
|
|
72
|
+
* Return the list of day of week
|
|
73
|
+
* @param date {Date} Date object
|
|
74
|
+
* @param options {object} Options
|
|
75
|
+
* @param options.skipWE {boolean} Skip weekends
|
|
76
|
+
* @param options.monthFormat {string} Formatting template for month
|
|
77
|
+
* @param options.dayFormat {string} Formatting template for days
|
|
78
|
+
* @returns {WeekInfo} Array of dates
|
|
79
|
+
*/
|
|
80
|
+
export declare const getWeek: (date?: Date, { skipWE, monthFormat, dayFormat }?: {
|
|
81
|
+
skipWE?: boolean | undefined;
|
|
82
|
+
monthFormat?: string | undefined;
|
|
83
|
+
dayFormat?: string | undefined;
|
|
84
|
+
}) => WeekInfo;
|
|
85
|
+
export declare const monthList: string[];
|
|
86
|
+
/**
|
|
87
|
+
* Return the Year
|
|
88
|
+
* @param date {Date} Date object
|
|
89
|
+
* @returns {string} Year YYYY
|
|
90
|
+
*/
|
|
91
|
+
export declare const getYear: (date: Date) => string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { FilterPanelLabels, FilterPanelSelectKey, FilterPanelToggleKey, FilterPanelValue } from "../components/planning/FilterPanel.vue";
|
|
2
|
+
import type { Option } from "../types";
|
|
3
|
+
export declare const FILTER_PANEL_SELECT_FIELDS: Record<FilterPanelSelectKey, {
|
|
4
|
+
label: string;
|
|
5
|
+
multiple: boolean;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const FILTER_PANEL_TOGGLE_FIELDS: Record<FilterPanelToggleKey, {
|
|
8
|
+
label: string;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const FILTER_PANEL_SELECT_KEYS: FilterPanelSelectKey[];
|
|
11
|
+
export declare const FILTER_PANEL_TOGGLE_KEYS: FilterPanelToggleKey[];
|
|
12
|
+
export declare const FILTER_PANEL_DEFAULT_LABELS: Required<FilterPanelLabels>;
|
|
13
|
+
export declare const emptyFilterPanelValue: () => FilterPanelValue;
|
|
14
|
+
export declare const normalizeOptionList: (list: unknown) => Option[];
|
|
15
|
+
export declare const normalizeFilterPanelOptions: (options: unknown) => Record<FilterPanelSelectKey, Option[]>;
|
|
16
|
+
export declare const normalizeFilterPanelValue: (value: unknown) => FilterPanelValue;
|
|
17
|
+
export declare const countActiveFilters: (value: unknown) => number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const uniqueId: (prefix: string) => string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ScoreBadgeLevel } from "../components/planning/ScoreBadge.vue";
|
|
2
|
+
export declare const parseDecimal: (raw: unknown) => number | undefined;
|
|
3
|
+
export declare const parseScore: (raw: unknown) => number | undefined;
|
|
4
|
+
export declare const parseLevel: (raw: unknown) => ScoreBadgeLevel | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const capitalizeFirstLetter: (str: string) => string;
|
|
2
|
+
export declare const removeAccents: (str: string) => string;
|
|
3
|
+
export declare const isFilled: (value: unknown) => value is string | number;
|
|
4
|
+
export declare const textOf: (value: unknown) => string;
|
|
5
|
+
export declare const textOr: (value: unknown, fallback: string) => string;
|
|
6
|
+
export declare const isTrue: (flag: unknown) => boolean;
|