@abyss-project/commons-front-core 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CookieConsentSettings.component-Dqbo9N8Y.js → CookieConsentSettings.component-Babyi3W7.js} +234 -152
- package/dist/assets/logo/index.d.ts +3 -0
- package/dist/components/CommandPalette/AbyssCommandPalette.d.ts +3 -0
- package/dist/components/CommandPalette/index.d.ts +3 -0
- package/dist/components/CommandPalette/types.d.ts +41 -0
- package/dist/components/CommandPalette/useCommandPaletteHotkey.d.ts +1 -0
- package/dist/components/Data/AbyssTable/AbyssTable.component.d.ts +5 -1
- package/dist/components/Data/AbyssTable/abyss-table.logic.d.ts +8 -0
- package/dist/components/Data/AbyssTable/abyss-table.logic.spec.d.ts +1 -0
- package/dist/components/Data/AbyssTable/index.d.ts +1 -1
- package/dist/components/Inputs/AbyssNumberField/format.d.ts +7 -0
- package/dist/components/Inputs/AbyssNumberField/format.spec.d.ts +1 -0
- package/dist/components/Support/SupportCategoryChip.component.d.ts +1 -0
- package/dist/components/Support/SupportStatusTimeline.component.d.ts +8 -0
- package/dist/components/Support/support-attachment.logic.d.ts +2 -0
- package/dist/components/Support/support-attachment.logic.spec.d.ts +1 -0
- package/dist/components/Support/support-author.logic.d.ts +4 -0
- package/dist/components/Support/support-author.logic.spec.d.ts +1 -0
- package/dist/components/Support/support-create-stepper.logic.d.ts +2 -0
- package/dist/components/Support/support-create-stepper.logic.spec.d.ts +1 -0
- package/dist/components/Support/support-message-input.logic.d.ts +7 -0
- package/dist/components/Support/support-message-input.logic.spec.d.ts +1 -0
- package/dist/components/Support/support-status-timeline.logic.d.ts +9 -0
- package/dist/components/Support/support-status-timeline.logic.spec.d.ts +1 -0
- package/dist/components/Support/types.d.ts +17 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/cookie-consent.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +1637 -10
- package/dist/{index-BlzWN-fF.js → index-8yeiMsN2.js} +2 -2
- package/dist/{index-BpWXdbgQ.js → index-B5_AMDvn.js} +2 -2
- package/dist/{index-B-2z6q2v.js → index-B6HSnKic.js} +4 -4
- package/dist/{index-CLF9NQ8C.js → index-B899a19q.js} +2 -2
- package/dist/{index-bMyvNflH.js → index-BPBq7o9R.js} +2 -2
- package/dist/{index-COi2yBLA.js → index-BZZzNup7.js} +2 -2
- package/dist/{index-B-P1QKAg.js → index-Bck6bTkX.js} +4 -4
- package/dist/{index-DQyEpcqz.js → index-BhERZKZL.js} +2 -2
- package/dist/{index-DllsRoZP.js → index-BlBO8RTR.js} +2 -2
- package/dist/{index-DLWOblEi.js → index-BpfMLh3g.js} +3 -3
- package/dist/{index-BXrCl6C3.js → index-CKKJ_tQH.js} +3 -3
- package/dist/{index-BCFBtzjV.js → index-C_ItzEqZ.js} +2 -2
- package/dist/{index-BTux9SSr.js → index-CwQu80hq.js} +47979 -46468
- package/dist/{index-C9IJ7P0m.js → index-D3OGRmMG.js} +2 -2
- package/dist/{index-D5jjOWER.js → index-D4JrV75A.js} +3 -3
- package/dist/{index-BC5xQAJy.js → index-DQYsp1ra.js} +1 -1
- package/dist/{index-C9XRl1Nh.js → index-DmY-WbY8.js} +2 -2
- package/dist/{index-DWPB-CUq.js → index-FykPQo4w.js} +2 -2
- package/dist/{index-CloGjvJj.js → index-pdKyXaVF.js} +3 -3
- package/dist/{index-Baf7tyzz.js → index-vWfRDX8u.js} +4 -4
- package/dist/{index-jqv2cexL.js → index-y87yi7Ik.js} +2 -2
- package/dist/{index-BIAHQxD_.js → index-yvn0gNA4.js} +2 -2
- package/dist/index.js +240 -235
- package/dist/translations/en.d.ts +48 -7
- package/dist/translations/fr.d.ts +48 -7
- package/dist/translations/quota-reached-i18n-coverage.spec.d.ts +1 -0
- package/dist/utils/color.utils.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useCallback as
|
|
3
|
-
import { Paper as te, Stack as D, Box as
|
|
1
|
+
import { jsx as o, jsxs as g, Fragment as $ } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback as I, useMemo as x, useState as b, useEffect as z, createContext as Q, useContext as ee } from "react";
|
|
3
|
+
import { Paper as te, Stack as D, Box as f, Typography as m, Button as N, Dialog as ie, DialogTitle as oe, DialogContent as re, FormControlLabel as R, Checkbox as _, DialogActions as ae, Card as se, CardContent as ne } from "@mui/material";
|
|
4
4
|
import { useIntl as le } from "react-intl";
|
|
5
5
|
import { UserLanguage as y, enTranslation as ce, frTranslation as de, AbyssCore as k } from "@abyss-project/main";
|
|
6
6
|
import { useQuery as ue, useMutation as pe } from "@tanstack/react-query";
|
|
@@ -125,7 +125,7 @@ const q = {
|
|
|
125
125
|
// yellow
|
|
126
126
|
"#C084FC"
|
|
127
127
|
// purple
|
|
128
|
-
],
|
|
128
|
+
], G = [
|
|
129
129
|
...M,
|
|
130
130
|
"#E879F9",
|
|
131
131
|
// fuchsia
|
|
@@ -143,7 +143,7 @@ const q = {
|
|
|
143
143
|
// cyan light
|
|
144
144
|
"#F9A8D4"
|
|
145
145
|
// pink light
|
|
146
|
-
],
|
|
146
|
+
], Oe = [
|
|
147
147
|
"#6366f1",
|
|
148
148
|
// indigo
|
|
149
149
|
"#8b5cf6",
|
|
@@ -176,14 +176,14 @@ const q = {
|
|
|
176
176
|
// sky
|
|
177
177
|
"#3b82f6"
|
|
178
178
|
// blue
|
|
179
|
-
],
|
|
179
|
+
], fe = (e) => M[e % M.length], Ce = (e) => G[e % G.length], qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
180
180
|
__proto__: null,
|
|
181
181
|
amber: W,
|
|
182
182
|
chipColors: Te,
|
|
183
183
|
colorPool: M,
|
|
184
|
-
colorPoolExtended:
|
|
184
|
+
colorPoolExtended: G,
|
|
185
185
|
cyan: ge,
|
|
186
|
-
getPoolColor:
|
|
186
|
+
getPoolColor: fe,
|
|
187
187
|
getPoolColorExtended: Ce,
|
|
188
188
|
green: Ee,
|
|
189
189
|
indigo: q,
|
|
@@ -191,8 +191,8 @@ const q = {
|
|
|
191
191
|
purple: Se,
|
|
192
192
|
red: Ae,
|
|
193
193
|
social: he,
|
|
194
|
-
tagColorPool:
|
|
195
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
194
|
+
tagColorPool: Oe
|
|
195
|
+
}, Symbol.toStringTag, { value: "Module" })), Ie = {
|
|
196
196
|
"space-display-name": {
|
|
197
197
|
personal: "Mon Cloud",
|
|
198
198
|
"perso-in-org": "Mon Cloud (dans org)",
|
|
@@ -452,7 +452,6 @@ const q = {
|
|
|
452
452
|
FORM_DOCUMENTS_STORAGE_GB: "Stockage pièces jointes",
|
|
453
453
|
TOOLS_DRAW_COUNT: "Draws",
|
|
454
454
|
TOOLS_BOARD_COUNT: "Boards",
|
|
455
|
-
TOOLS_MEMO_COUNT: "Memos",
|
|
456
455
|
TOOLS_ATLAS_COUNT: "Atlases",
|
|
457
456
|
TOOLS_RETROSPECTIVE_COUNT: "Rétrospectives",
|
|
458
457
|
TOOLS_SHORT_LINK_COUNT: "Liens courts",
|
|
@@ -465,7 +464,18 @@ const q = {
|
|
|
465
464
|
TRAINING_TEMPLATES_COUNT: "Modèles",
|
|
466
465
|
TRAINING_CUSTOM_EXERCISES_COUNT: "Exercices personnalisés",
|
|
467
466
|
MEMORIES_EVENTS_COUNT: "Événements",
|
|
468
|
-
MEMORIES_MEDIA_STORAGE_GB: "Stockage médias"
|
|
467
|
+
MEMORIES_MEDIA_STORAGE_GB: "Stockage médias",
|
|
468
|
+
ACCOUNT_STORAGE_GB: "Stockage partagé (Go)",
|
|
469
|
+
ACCOUNT_AV_SCAN_UNITS: "Analyses antivirus",
|
|
470
|
+
TOOLS_EXTRACTION: "Extractions",
|
|
471
|
+
TOOLS_EXTRACTION_OCR_PAGES: "Pages OCR",
|
|
472
|
+
TOOLS_EXTRACT_TEMPLATES_ACTIVE: "Modèles d'extraction actifs",
|
|
473
|
+
TOOLS_EXTRACTION_TRACE_RETENTION_DAYS: "Rétention des traces (jours)",
|
|
474
|
+
TOOLS_BEAM_COUNT: "Transferts",
|
|
475
|
+
TOOLS_BEAM_UPLOADS_MONTH: "Envois / mois",
|
|
476
|
+
TOOLS_BEAM_BANDWIDTH_MONTH: "Bande passante transferts (Go)",
|
|
477
|
+
TOOLS_BEAM_EMAILS_DAY: "E-mails de transfert / jour",
|
|
478
|
+
TOOLS_BEAM_EXPIRY_MAX_DAYS: "Durée de vie des transferts (jours)"
|
|
469
479
|
}
|
|
470
480
|
},
|
|
471
481
|
"error-page": {
|
|
@@ -946,7 +956,6 @@ const q = {
|
|
|
946
956
|
label: {
|
|
947
957
|
draw: "un draw",
|
|
948
958
|
board: "un board",
|
|
949
|
-
memo: "un memo",
|
|
950
959
|
atlas: "un atlas",
|
|
951
960
|
retrospective: "une rétro",
|
|
952
961
|
"short-link": "un short link",
|
|
@@ -1014,6 +1023,7 @@ const q = {
|
|
|
1014
1023
|
billing: {
|
|
1015
1024
|
"current-plan": "Plan actuel",
|
|
1016
1025
|
"free-plan": "Gratuit",
|
|
1026
|
+
"custom-plan": "Plan personnalisé",
|
|
1017
1027
|
tier: {
|
|
1018
1028
|
FREEMIUM: "Gratuit",
|
|
1019
1029
|
DEFAULT: "Standard",
|
|
@@ -1144,9 +1154,16 @@ const q = {
|
|
|
1144
1154
|
WAITING: "En attente",
|
|
1145
1155
|
ESCALATED: "Escaladé",
|
|
1146
1156
|
RESOLVED: "Résolu",
|
|
1147
|
-
CLOSED: "
|
|
1157
|
+
CLOSED: "Clôturé",
|
|
1148
1158
|
ARCHIVED: "Archivé"
|
|
1149
1159
|
},
|
|
1160
|
+
timeline: {
|
|
1161
|
+
title: "Suivi du ticket",
|
|
1162
|
+
open: "Ouvert",
|
|
1163
|
+
"in-progress": "En cours",
|
|
1164
|
+
resolved: "Résolu",
|
|
1165
|
+
closed: "Clôturé"
|
|
1166
|
+
},
|
|
1150
1167
|
priority: {
|
|
1151
1168
|
NORMAL: "Normal",
|
|
1152
1169
|
HIGH: "Élevé",
|
|
@@ -1165,6 +1182,7 @@ const q = {
|
|
|
1165
1182
|
BUG_PERFORMANCE: "Performance",
|
|
1166
1183
|
BUG_DATA: "Problème de données",
|
|
1167
1184
|
BUG_OTHER: "Autre bug",
|
|
1185
|
+
EXTRACTION: "Extraction de documents",
|
|
1168
1186
|
ACCOUNT_ACCESS: "Accès au compte",
|
|
1169
1187
|
ACCOUNT_DELETE: "Suppression de compte",
|
|
1170
1188
|
ACCOUNT_SECURITY: "Sécurité du compte",
|
|
@@ -1172,6 +1190,7 @@ const q = {
|
|
|
1172
1190
|
BILLING_INVOICE: "Facture",
|
|
1173
1191
|
BILLING_CUSTOM_PLAN: "Plan personnalisé",
|
|
1174
1192
|
BILLING_REFUND: "Remboursement",
|
|
1193
|
+
BILLING_TRIAL: "Période d'essai",
|
|
1175
1194
|
API_INTEGRATION: "Intégration API",
|
|
1176
1195
|
API_DOCUMENTATION: "Documentation API",
|
|
1177
1196
|
API_KEY: "Clé API",
|
|
@@ -1202,15 +1221,20 @@ const q = {
|
|
|
1202
1221
|
"priority-reason-required": "La raison de la priorité est requise pour la priorité {priority}",
|
|
1203
1222
|
submit: "Envoyer le ticket",
|
|
1204
1223
|
back: "Retour",
|
|
1205
|
-
cancel: "Annuler"
|
|
1224
|
+
cancel: "Annuler",
|
|
1225
|
+
"attachment-failed": "Échec de l'envoi de la pièce jointe « {name} ». Vous pouvez réessayer depuis le ticket."
|
|
1206
1226
|
},
|
|
1207
1227
|
detail: {
|
|
1208
1228
|
description: "Description",
|
|
1229
|
+
"unknown-user": "Utilisateur",
|
|
1209
1230
|
"no-messages": "Aucun message",
|
|
1231
|
+
"waiting-title": "Votre demande est bien arrivée",
|
|
1232
|
+
"waiting-subtitle": "Un membre du support vous répondra ici. Vous recevrez un email dès qu’il y a du nouveau.",
|
|
1210
1233
|
"messages-title": "Messages",
|
|
1211
1234
|
"messages-count": "{count} messages",
|
|
1212
1235
|
"new-messages": "Nouveaux messages",
|
|
1213
1236
|
"send-placeholder": "Écrivez votre message...",
|
|
1237
|
+
"send-hint": "Entrée = nouvelle ligne · Ctrl/⌘+Entrée pour envoyer",
|
|
1214
1238
|
send: "Envoyer",
|
|
1215
1239
|
"admin-note": "Note admin",
|
|
1216
1240
|
"admin-note-placeholder": "Note interne (non visible par l'utilisateur)...",
|
|
@@ -1236,16 +1260,16 @@ const q = {
|
|
|
1236
1260
|
"created-at": "Créé le",
|
|
1237
1261
|
"updated-at": "Mis à jour le",
|
|
1238
1262
|
"resolved-at": "Résolu le",
|
|
1239
|
-
"closed-at": "
|
|
1263
|
+
"closed-at": "Clôturé le",
|
|
1240
1264
|
requester: "Demandeur",
|
|
1241
1265
|
unassigned: "Non assigné",
|
|
1242
1266
|
resolve: "Résoudre",
|
|
1243
|
-
close: "
|
|
1267
|
+
close: "Clôturer",
|
|
1244
1268
|
reopen: "Rouvrir",
|
|
1245
1269
|
"resolve-reason": "Raison de résolution",
|
|
1246
1270
|
"resolve-confirm-desc": "Êtes-vous sûr de vouloir résoudre ce ticket ?",
|
|
1247
|
-
"close-reason": "Raison de
|
|
1248
|
-
"close-confirm-desc": "Êtes-vous sûr de vouloir
|
|
1271
|
+
"close-reason": "Raison de clôture",
|
|
1272
|
+
"close-confirm-desc": "Êtes-vous sûr de vouloir clôturer ce ticket ?",
|
|
1249
1273
|
tags: "Tags",
|
|
1250
1274
|
"no-tags": "Aucun tag",
|
|
1251
1275
|
organization: "Organisation",
|
|
@@ -1262,7 +1286,7 @@ const q = {
|
|
|
1262
1286
|
CATEGORY_CHANGED: "Catégorie modifiée",
|
|
1263
1287
|
RESOLVED: "Résolu",
|
|
1264
1288
|
REOPENED: "Rouvert",
|
|
1265
|
-
CLOSED: "
|
|
1289
|
+
CLOSED: "Clôturé",
|
|
1266
1290
|
ESCALATED: "Escaladé",
|
|
1267
1291
|
PUT_ON_HOLD: "Mis en attente",
|
|
1268
1292
|
RESUMED: "Repris",
|
|
@@ -1274,9 +1298,9 @@ const q = {
|
|
|
1274
1298
|
},
|
|
1275
1299
|
action: {
|
|
1276
1300
|
TAKE_OVER: "Prendre en charge",
|
|
1277
|
-
CLOSE: "
|
|
1301
|
+
CLOSE: "Clôturer le ticket",
|
|
1278
1302
|
RESOLVE: "Résoudre",
|
|
1279
|
-
REOPEN: "Rouvrir",
|
|
1303
|
+
REOPEN: "Rouvrir le ticket",
|
|
1280
1304
|
ESCALATE: "Escalader",
|
|
1281
1305
|
PUT_ON_HOLD: "Mettre en attente",
|
|
1282
1306
|
RESUME: "Reprendre",
|
|
@@ -1291,8 +1315,13 @@ const q = {
|
|
|
1291
1315
|
"max-reached": "Nombre maximum de pièces jointes atteint",
|
|
1292
1316
|
delete: "Supprimer la pièce jointe",
|
|
1293
1317
|
"delete-confirm": "Êtes-vous sûr de vouloir supprimer cette pièce jointe ?",
|
|
1318
|
+
"delete-confirm-title": "Supprimer la pièce jointe ?",
|
|
1319
|
+
"delete-confirm-description": "« {name} » sera définitivement supprimée. Cette action est irréversible.",
|
|
1320
|
+
"delete-confirm-action": "Supprimer",
|
|
1294
1321
|
uploading: "Téléversement en cours...",
|
|
1295
|
-
"upload-hint": "Glissez-déposez un fichier ici ou cliquez pour parcourir"
|
|
1322
|
+
"upload-hint": "Glissez-déposez un fichier ici ou cliquez pour parcourir",
|
|
1323
|
+
open: "Ouvrir dans un nouvel onglet",
|
|
1324
|
+
download: "Télécharger"
|
|
1296
1325
|
},
|
|
1297
1326
|
stepper: {
|
|
1298
1327
|
categoryGroup: {
|
|
@@ -1304,13 +1333,25 @@ const q = {
|
|
|
1304
1333
|
},
|
|
1305
1334
|
selectSubCategory: "Sélectionnez une sous-catégorie",
|
|
1306
1335
|
step: {
|
|
1307
|
-
forWho:
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1336
|
+
forWho: {
|
|
1337
|
+
label: "Pour qui ?",
|
|
1338
|
+
help: "Indique l'utilisateur ou l'organisation concerné par la demande."
|
|
1339
|
+
},
|
|
1340
|
+
category: {
|
|
1341
|
+
label: "Catégorie",
|
|
1342
|
+
help: "Choisis la catégorie qui décrit le mieux ton problème pour accélérer le traitement."
|
|
1343
|
+
},
|
|
1344
|
+
details: {
|
|
1345
|
+
label: "Détails",
|
|
1346
|
+
help: "Donne un titre clair et décris ton problème avec le plus de détails possible (étapes, message d'erreur…)."
|
|
1347
|
+
},
|
|
1348
|
+
priority: {
|
|
1349
|
+
label: "Priorité",
|
|
1350
|
+
help: "Choisis l'urgence. Une priorité haute/critique demande une justification."
|
|
1351
|
+
}
|
|
1311
1352
|
},
|
|
1312
1353
|
next: "Suivant",
|
|
1313
|
-
|
|
1354
|
+
"attachments-title": "Pièces jointes"
|
|
1314
1355
|
},
|
|
1315
1356
|
service: {
|
|
1316
1357
|
ABYSS: "Abyss Platform",
|
|
@@ -1333,7 +1374,7 @@ const q = {
|
|
|
1333
1374
|
}
|
|
1334
1375
|
}
|
|
1335
1376
|
}
|
|
1336
|
-
},
|
|
1377
|
+
}, Ne = {
|
|
1337
1378
|
"space-display-name": {
|
|
1338
1379
|
personal: "My Cloud",
|
|
1339
1380
|
"perso-in-org": "My Cloud (in org)",
|
|
@@ -1593,7 +1634,6 @@ const q = {
|
|
|
1593
1634
|
FORM_DOCUMENTS_STORAGE_GB: "Attachment storage",
|
|
1594
1635
|
TOOLS_DRAW_COUNT: "Draws",
|
|
1595
1636
|
TOOLS_BOARD_COUNT: "Boards",
|
|
1596
|
-
TOOLS_MEMO_COUNT: "Memos",
|
|
1597
1637
|
TOOLS_ATLAS_COUNT: "Atlases",
|
|
1598
1638
|
TOOLS_RETROSPECTIVE_COUNT: "Retrospectives",
|
|
1599
1639
|
TOOLS_SHORT_LINK_COUNT: "Short links",
|
|
@@ -1606,7 +1646,18 @@ const q = {
|
|
|
1606
1646
|
TRAINING_TEMPLATES_COUNT: "Templates",
|
|
1607
1647
|
TRAINING_CUSTOM_EXERCISES_COUNT: "Custom exercises",
|
|
1608
1648
|
MEMORIES_EVENTS_COUNT: "Events",
|
|
1609
|
-
MEMORIES_MEDIA_STORAGE_GB: "Media storage"
|
|
1649
|
+
MEMORIES_MEDIA_STORAGE_GB: "Media storage",
|
|
1650
|
+
ACCOUNT_STORAGE_GB: "Shared storage (GB)",
|
|
1651
|
+
ACCOUNT_AV_SCAN_UNITS: "Antivirus scans",
|
|
1652
|
+
TOOLS_EXTRACTION: "Extractions",
|
|
1653
|
+
TOOLS_EXTRACTION_OCR_PAGES: "OCR pages",
|
|
1654
|
+
TOOLS_EXTRACT_TEMPLATES_ACTIVE: "Active extraction templates",
|
|
1655
|
+
TOOLS_EXTRACTION_TRACE_RETENTION_DAYS: "Trace retention (days)",
|
|
1656
|
+
TOOLS_BEAM_COUNT: "Transfers",
|
|
1657
|
+
TOOLS_BEAM_UPLOADS_MONTH: "Uploads / month",
|
|
1658
|
+
TOOLS_BEAM_BANDWIDTH_MONTH: "Transfer bandwidth (GB)",
|
|
1659
|
+
TOOLS_BEAM_EMAILS_DAY: "Transfer emails / day",
|
|
1660
|
+
TOOLS_BEAM_EXPIRY_MAX_DAYS: "Transfer lifetime (days)"
|
|
1610
1661
|
}
|
|
1611
1662
|
},
|
|
1612
1663
|
"error-page": {
|
|
@@ -2087,7 +2138,6 @@ const q = {
|
|
|
2087
2138
|
label: {
|
|
2088
2139
|
draw: "a draw",
|
|
2089
2140
|
board: "a board",
|
|
2090
|
-
memo: "a memo",
|
|
2091
2141
|
atlas: "an atlas",
|
|
2092
2142
|
retrospective: "a retro",
|
|
2093
2143
|
"short-link": "a short link",
|
|
@@ -2155,6 +2205,7 @@ const q = {
|
|
|
2155
2205
|
billing: {
|
|
2156
2206
|
"current-plan": "Current plan",
|
|
2157
2207
|
"free-plan": "Free",
|
|
2208
|
+
"custom-plan": "Custom plan",
|
|
2158
2209
|
tier: {
|
|
2159
2210
|
FREEMIUM: "Free",
|
|
2160
2211
|
DEFAULT: "Standard",
|
|
@@ -2269,6 +2320,13 @@ const q = {
|
|
|
2269
2320
|
CLOSED: "Closed",
|
|
2270
2321
|
ARCHIVED: "Archived"
|
|
2271
2322
|
},
|
|
2323
|
+
timeline: {
|
|
2324
|
+
title: "Ticket progress",
|
|
2325
|
+
open: "Open",
|
|
2326
|
+
"in-progress": "In progress",
|
|
2327
|
+
resolved: "Resolved",
|
|
2328
|
+
closed: "Closed"
|
|
2329
|
+
},
|
|
2272
2330
|
priority: {
|
|
2273
2331
|
NORMAL: "Normal",
|
|
2274
2332
|
HIGH: "High",
|
|
@@ -2287,6 +2345,7 @@ const q = {
|
|
|
2287
2345
|
BUG_PERFORMANCE: "Performance",
|
|
2288
2346
|
BUG_DATA: "Data issue",
|
|
2289
2347
|
BUG_OTHER: "Other bug",
|
|
2348
|
+
EXTRACTION: "Document extraction",
|
|
2290
2349
|
ACCOUNT_ACCESS: "Account access",
|
|
2291
2350
|
ACCOUNT_DELETE: "Account deletion",
|
|
2292
2351
|
ACCOUNT_SECURITY: "Account security",
|
|
@@ -2294,6 +2353,7 @@ const q = {
|
|
|
2294
2353
|
BILLING_INVOICE: "Invoice",
|
|
2295
2354
|
BILLING_CUSTOM_PLAN: "Custom plan",
|
|
2296
2355
|
BILLING_REFUND: "Refund",
|
|
2356
|
+
BILLING_TRIAL: "Free trial",
|
|
2297
2357
|
API_INTEGRATION: "API integration",
|
|
2298
2358
|
API_DOCUMENTATION: "API documentation",
|
|
2299
2359
|
API_KEY: "API key",
|
|
@@ -2324,15 +2384,20 @@ const q = {
|
|
|
2324
2384
|
"priority-reason-required": "Priority reason is required for {priority} priority",
|
|
2325
2385
|
submit: "Submit ticket",
|
|
2326
2386
|
back: "Back",
|
|
2327
|
-
cancel: "Cancel"
|
|
2387
|
+
cancel: "Cancel",
|
|
2388
|
+
"attachment-failed": 'Failed to upload attachment "{name}". You can retry it from the ticket.'
|
|
2328
2389
|
},
|
|
2329
2390
|
detail: {
|
|
2330
2391
|
description: "Description",
|
|
2392
|
+
"unknown-user": "User",
|
|
2331
2393
|
"no-messages": "No messages yet",
|
|
2394
|
+
"waiting-title": "We’ve got your request",
|
|
2395
|
+
"waiting-subtitle": "A support teammate will reply right here. We’ll email you as soon as there’s an update.",
|
|
2332
2396
|
"messages-title": "Messages",
|
|
2333
2397
|
"messages-count": "{count} messages",
|
|
2334
2398
|
"new-messages": "New messages",
|
|
2335
2399
|
"send-placeholder": "Type your message...",
|
|
2400
|
+
"send-hint": "Enter = new line · Ctrl/⌘+Enter to send",
|
|
2336
2401
|
send: "Send",
|
|
2337
2402
|
"admin-note": "Admin note",
|
|
2338
2403
|
"admin-note-placeholder": "Internal note (not visible to user)...",
|
|
@@ -2396,9 +2461,9 @@ const q = {
|
|
|
2396
2461
|
},
|
|
2397
2462
|
action: {
|
|
2398
2463
|
TAKE_OVER: "Take over",
|
|
2399
|
-
CLOSE: "Close",
|
|
2464
|
+
CLOSE: "Close ticket",
|
|
2400
2465
|
RESOLVE: "Resolve",
|
|
2401
|
-
REOPEN: "Reopen",
|
|
2466
|
+
REOPEN: "Reopen ticket",
|
|
2402
2467
|
ESCALATE: "Escalate",
|
|
2403
2468
|
PUT_ON_HOLD: "Put on hold",
|
|
2404
2469
|
RESUME: "Resume",
|
|
@@ -2413,8 +2478,13 @@ const q = {
|
|
|
2413
2478
|
"max-reached": "Maximum attachments reached",
|
|
2414
2479
|
delete: "Delete attachment",
|
|
2415
2480
|
"delete-confirm": "Are you sure you want to delete this attachment?",
|
|
2481
|
+
"delete-confirm-title": "Delete this attachment?",
|
|
2482
|
+
"delete-confirm-description": "“{name}” will be permanently deleted. This cannot be undone.",
|
|
2483
|
+
"delete-confirm-action": "Delete",
|
|
2416
2484
|
uploading: "Uploading...",
|
|
2417
|
-
"upload-hint": "Drag and drop a file here or click to browse"
|
|
2485
|
+
"upload-hint": "Drag and drop a file here or click to browse",
|
|
2486
|
+
open: "Open in a new tab",
|
|
2487
|
+
download: "Download"
|
|
2418
2488
|
},
|
|
2419
2489
|
stepper: {
|
|
2420
2490
|
categoryGroup: {
|
|
@@ -2426,13 +2496,25 @@ const q = {
|
|
|
2426
2496
|
},
|
|
2427
2497
|
selectSubCategory: "Select a sub-category",
|
|
2428
2498
|
step: {
|
|
2429
|
-
forWho:
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2499
|
+
forWho: {
|
|
2500
|
+
label: "For who?",
|
|
2501
|
+
help: "Pick the user or organization this request is about."
|
|
2502
|
+
},
|
|
2503
|
+
category: {
|
|
2504
|
+
label: "Category",
|
|
2505
|
+
help: "Choose the category that best describes your issue to speed up handling."
|
|
2506
|
+
},
|
|
2507
|
+
details: {
|
|
2508
|
+
label: "Details",
|
|
2509
|
+
help: "Give a clear title and describe your issue with as much detail as possible (steps, error message…)."
|
|
2510
|
+
},
|
|
2511
|
+
priority: {
|
|
2512
|
+
label: "Priority",
|
|
2513
|
+
help: "Pick the urgency. High/critical priority requires a justification."
|
|
2514
|
+
}
|
|
2433
2515
|
},
|
|
2434
2516
|
next: "Next",
|
|
2435
|
-
|
|
2517
|
+
"attachments-title": "Attachments"
|
|
2436
2518
|
},
|
|
2437
2519
|
service: {
|
|
2438
2520
|
ABYSS: "Abyss Platform",
|
|
@@ -2478,29 +2560,29 @@ const q = {
|
|
|
2478
2560
|
var U, B;
|
|
2479
2561
|
function ye() {
|
|
2480
2562
|
if (B) return U;
|
|
2481
|
-
B = 1, U =
|
|
2563
|
+
B = 1, U = i, i.flatten = i, i.unflatten = s;
|
|
2482
2564
|
function e(r) {
|
|
2483
2565
|
return r && r.constructor && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
|
|
2484
2566
|
}
|
|
2485
2567
|
function t(r) {
|
|
2486
2568
|
return r;
|
|
2487
2569
|
}
|
|
2488
|
-
function
|
|
2570
|
+
function i(r, a) {
|
|
2489
2571
|
a = a || {};
|
|
2490
|
-
const u = a.delimiter || ".", p = a.maxDepth, A = a.transformKey || t,
|
|
2572
|
+
const u = a.delimiter || ".", p = a.maxDepth, A = a.transformKey || t, O = {};
|
|
2491
2573
|
function n(h, C, T) {
|
|
2492
2574
|
T = T || 1, Object.keys(h).forEach(function(c) {
|
|
2493
|
-
const l = h[c], d = a.safe && Array.isArray(l), E = Object.prototype.toString.call(l), S = e(l), P = E === "[object Object]" || E === "[object Array]",
|
|
2575
|
+
const l = h[c], d = a.safe && Array.isArray(l), E = Object.prototype.toString.call(l), S = e(l), P = E === "[object Object]" || E === "[object Array]", v = C ? C + u + A(c) : A(c);
|
|
2494
2576
|
if (!d && !S && P && Object.keys(l).length && (!a.maxDepth || T < p))
|
|
2495
|
-
return n(l,
|
|
2496
|
-
|
|
2577
|
+
return n(l, v, T + 1);
|
|
2578
|
+
O[v] = l;
|
|
2497
2579
|
});
|
|
2498
2580
|
}
|
|
2499
|
-
return n(r),
|
|
2581
|
+
return n(r), O;
|
|
2500
2582
|
}
|
|
2501
2583
|
function s(r, a) {
|
|
2502
2584
|
a = a || {};
|
|
2503
|
-
const u = a.delimiter || ".", p = a.overwrite || !1, A = a.transformKey || t,
|
|
2585
|
+
const u = a.delimiter || ".", p = a.overwrite || !1, A = a.transformKey || t, O = {};
|
|
2504
2586
|
if (e(r) || Object.prototype.toString.call(r) !== "[object Object]")
|
|
2505
2587
|
return r;
|
|
2506
2588
|
function h(c) {
|
|
@@ -2526,58 +2608,58 @@ function ye() {
|
|
|
2526
2608
|
return !(d === "[object Object]" || d === "[object Array]") || T(r[l]) ? (c[l] = r[l], c) : C(
|
|
2527
2609
|
l,
|
|
2528
2610
|
c,
|
|
2529
|
-
|
|
2611
|
+
i(r[l], a)
|
|
2530
2612
|
);
|
|
2531
2613
|
}, {}), Object.keys(r).forEach(function(c) {
|
|
2532
2614
|
const l = c.split(u).map(A);
|
|
2533
|
-
let d = h(l.shift()), E = h(l[0]), S =
|
|
2615
|
+
let d = h(l.shift()), E = h(l[0]), S = O;
|
|
2534
2616
|
for (; E !== void 0; ) {
|
|
2535
2617
|
if (d === "__proto__")
|
|
2536
2618
|
return;
|
|
2537
|
-
const P = Object.prototype.toString.call(S[d]),
|
|
2538
|
-
if (!p && !
|
|
2619
|
+
const P = Object.prototype.toString.call(S[d]), v = P === "[object Object]" || P === "[object Array]";
|
|
2620
|
+
if (!p && !v && typeof S[d] < "u")
|
|
2539
2621
|
return;
|
|
2540
|
-
(p && !
|
|
2622
|
+
(p && !v || !p && S[d] == null) && (S[d] = typeof E == "number" && !a.object ? [] : {}), S = S[d], l.length > 0 && (d = h(l.shift()), E = h(l[0]));
|
|
2541
2623
|
}
|
|
2542
2624
|
S[d] = s(r[c], a);
|
|
2543
|
-
}),
|
|
2625
|
+
}), O;
|
|
2544
2626
|
}
|
|
2545
2627
|
return U;
|
|
2546
2628
|
}
|
|
2547
2629
|
var w = ye();
|
|
2548
2630
|
const j = {
|
|
2549
|
-
[y.FRENCH]: { ...
|
|
2550
|
-
[y.ENGLISH]: { ...
|
|
2631
|
+
[y.FRENCH]: { ...Ie, common: de },
|
|
2632
|
+
[y.ENGLISH]: { ...Ne, common: ce }
|
|
2551
2633
|
}, We = {
|
|
2552
2634
|
[y.FRENCH]: w.flatten(j[y.FRENCH]),
|
|
2553
2635
|
[y.ENGLISH]: w.flatten(j[y.ENGLISH])
|
|
2554
2636
|
}, be = {
|
|
2555
|
-
break: /* @__PURE__ */
|
|
2556
|
-
bold: (...e) => /* @__PURE__ */
|
|
2557
|
-
italic: (...e) => /* @__PURE__ */
|
|
2558
|
-
primary: (...e) => /* @__PURE__ */
|
|
2559
|
-
focus: (...e) => /* @__PURE__ */
|
|
2637
|
+
break: /* @__PURE__ */ o("br", {}),
|
|
2638
|
+
bold: (...e) => /* @__PURE__ */ o("strong", { children: e }),
|
|
2639
|
+
italic: (...e) => /* @__PURE__ */ o("i", { children: e }),
|
|
2640
|
+
primary: (...e) => /* @__PURE__ */ o("span", { style: { color: q[500] }, children: e }),
|
|
2641
|
+
focus: (...e) => /* @__PURE__ */ o("span", { style: { color: W[400] }, children: e })
|
|
2560
2642
|
}, K = () => {
|
|
2561
|
-
const e = le(), t =
|
|
2562
|
-
(
|
|
2643
|
+
const e = le(), t = I(
|
|
2644
|
+
(i, s) => e.formatMessage(i, { ...be, ...s }),
|
|
2563
2645
|
[e]
|
|
2564
2646
|
);
|
|
2565
2647
|
return x(() => {
|
|
2566
|
-
const { formatMessage:
|
|
2648
|
+
const { formatMessage: i, ...s } = e;
|
|
2567
2649
|
return { ...s, formatRichMessage: t };
|
|
2568
2650
|
}, [e, t]);
|
|
2569
|
-
}, L = "abyssCookieConsent", J = 365, Re = J * 24 * 60 * 60,
|
|
2570
|
-
const
|
|
2571
|
-
return e.domain &&
|
|
2572
|
-
},
|
|
2651
|
+
}, L = "abyssCookieConsent", J = 365, Re = J * 24 * 60 * 60, _e = () => typeof window > "u" ? !1 : window.location.protocol === "https:", X = (e, t) => {
|
|
2652
|
+
const i = ["Path=/", `Max-Age=${t}`, "SameSite=Lax"];
|
|
2653
|
+
return e.domain && i.push(`Domain=${e.domain}`), _e() && i.push("Secure"), i.join("; ");
|
|
2654
|
+
}, ve = () => {
|
|
2573
2655
|
if (typeof document > "u")
|
|
2574
2656
|
return null;
|
|
2575
|
-
const e = document.cookie.split(";").map((
|
|
2657
|
+
const e = document.cookie.split(";").map((i) => i.trim()).find((i) => i.startsWith(`${L}=`));
|
|
2576
2658
|
if (!e)
|
|
2577
2659
|
return null;
|
|
2578
2660
|
const t = e.slice(L.length + 1);
|
|
2579
2661
|
try {
|
|
2580
|
-
const
|
|
2662
|
+
const i = atob(decodeURIComponent(t)), s = JSON.parse(i);
|
|
2581
2663
|
return typeof s.a != "boolean" || typeof s.m != "boolean" || typeof s.d != "string" || typeof s.v != "string" ? null : s;
|
|
2582
2664
|
} catch {
|
|
2583
2665
|
return null;
|
|
@@ -2585,13 +2667,13 @@ const j = {
|
|
|
2585
2667
|
}, H = (e, t = {}) => {
|
|
2586
2668
|
if (typeof document > "u")
|
|
2587
2669
|
return;
|
|
2588
|
-
const
|
|
2589
|
-
document.cookie = `${L}=${
|
|
2670
|
+
const i = btoa(JSON.stringify(e));
|
|
2671
|
+
document.cookie = `${L}=${i}; ${X(t, Re)}`;
|
|
2590
2672
|
}, Pe = (e = {}) => {
|
|
2591
2673
|
typeof document > "u" || (document.cookie = `${L}=; ${X(e, 0)}`);
|
|
2592
2674
|
};
|
|
2593
|
-
var
|
|
2594
|
-
const
|
|
2675
|
+
var F = /* @__PURE__ */ ((e) => (e.NOOP = "noop", e.ADOPT_DB = "adopt-db", e.PUSH_COOKIE = "push-cookie", e))(F || {});
|
|
2676
|
+
const Y = (e) => ({
|
|
2595
2677
|
essentials: !0,
|
|
2596
2678
|
analytics: e.analytics,
|
|
2597
2679
|
marketing: e.marketing,
|
|
@@ -2601,34 +2683,34 @@ const V = (e) => ({
|
|
|
2601
2683
|
if (!e && !t)
|
|
2602
2684
|
return { action: "noop", value: null };
|
|
2603
2685
|
if (!e && t)
|
|
2604
|
-
return { action: "adopt-db", value:
|
|
2686
|
+
return { action: "adopt-db", value: Y(t) };
|
|
2605
2687
|
if (e && !t)
|
|
2606
2688
|
return { action: "push-cookie", value: e };
|
|
2607
|
-
const
|
|
2689
|
+
const i = new Date(e.decidedAt).getTime(), s = new Date(
|
|
2608
2690
|
typeof t.decidedAt == "string" ? t.decidedAt : t.decidedAt.toISOString()
|
|
2609
2691
|
).getTime();
|
|
2610
|
-
return s >
|
|
2692
|
+
return s > i ? { action: "adopt-db", value: Y(t) } : i > s ? { action: "push-cookie", value: e } : { action: "noop", value: e };
|
|
2611
2693
|
}, Me = J * 24 * 60 * 60 * 1e3, Le = (e) => ({
|
|
2612
2694
|
essentials: !0,
|
|
2613
2695
|
analytics: e.a,
|
|
2614
2696
|
marketing: e.m,
|
|
2615
2697
|
decidedAt: e.d,
|
|
2616
2698
|
consentVersion: e.v
|
|
2617
|
-
}),
|
|
2699
|
+
}), V = (e) => ({
|
|
2618
2700
|
a: e.analytics,
|
|
2619
2701
|
m: e.marketing,
|
|
2620
2702
|
d: e.decidedAt,
|
|
2621
2703
|
v: e.consentVersion
|
|
2622
|
-
}), Ue = (e, t,
|
|
2623
|
-
if (
|
|
2704
|
+
}), Ue = (e, t, i) => {
|
|
2705
|
+
if (i.v !== t)
|
|
2624
2706
|
return !1;
|
|
2625
2707
|
const s = new Date(e).getTime();
|
|
2626
2708
|
return Number.isNaN(s) ? !1 : Date.now() - s < Me;
|
|
2627
|
-
}, Fe = (e) => {
|
|
2628
|
-
const t = _e();
|
|
2629
|
-
return !t || !Ue(t.d, e, t) ? null : Le(t);
|
|
2630
2709
|
}, Ge = (e) => {
|
|
2631
|
-
const
|
|
2710
|
+
const t = ve();
|
|
2711
|
+
return !t || !Ue(t.d, e, t) ? null : Le(t);
|
|
2712
|
+
}, Fe = (e) => {
|
|
2713
|
+
const [t, i] = b(() => Ge(e.consentVersion)), s = ue({
|
|
2632
2714
|
queryKey: ["cookie-consent", "me"],
|
|
2633
2715
|
queryFn: async () => (await k.sdk.user.cookieConsent.get()).data.consent,
|
|
2634
2716
|
enabled: e.isAuthenticated,
|
|
@@ -2641,9 +2723,9 @@ const V = (e) => ({
|
|
|
2641
2723
|
decidedAt: n.decidedAt,
|
|
2642
2724
|
consentVersion: n.consentVersion
|
|
2643
2725
|
})).data.consent
|
|
2644
|
-
}), a =
|
|
2726
|
+
}), a = I(
|
|
2645
2727
|
(n) => {
|
|
2646
|
-
H(
|
|
2728
|
+
H(V(n), { domain: e.domain }), i(n), e.isAuthenticated && r.mutate(n);
|
|
2647
2729
|
},
|
|
2648
2730
|
[e.domain, e.isAuthenticated, r]
|
|
2649
2731
|
);
|
|
@@ -2651,9 +2733,9 @@ const V = (e) => ({
|
|
|
2651
2733
|
if (!e.isAuthenticated || s.isLoading || s.isError)
|
|
2652
2734
|
return;
|
|
2653
2735
|
const n = De(t, s.data ?? null);
|
|
2654
|
-
n.action ===
|
|
2736
|
+
n.action === F.ADOPT_DB && n.value ? (H(V(n.value), { domain: e.domain }), i(n.value)) : n.action === F.PUSH_COOKIE && n.value && r.mutate(n.value);
|
|
2655
2737
|
}, [e.isAuthenticated, s.isLoading, s.isError, s.data]);
|
|
2656
|
-
const u =
|
|
2738
|
+
const u = I(() => {
|
|
2657
2739
|
a({
|
|
2658
2740
|
essentials: !0,
|
|
2659
2741
|
analytics: !0,
|
|
@@ -2661,7 +2743,7 @@ const V = (e) => ({
|
|
|
2661
2743
|
decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2662
2744
|
consentVersion: e.consentVersion
|
|
2663
2745
|
});
|
|
2664
|
-
}, [e.consentVersion, a]), p =
|
|
2746
|
+
}, [e.consentVersion, a]), p = I(() => {
|
|
2665
2747
|
a({
|
|
2666
2748
|
essentials: !0,
|
|
2667
2749
|
analytics: !1,
|
|
@@ -2669,7 +2751,7 @@ const V = (e) => ({
|
|
|
2669
2751
|
decidedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2670
2752
|
consentVersion: e.consentVersion
|
|
2671
2753
|
});
|
|
2672
|
-
}, [e.consentVersion, a]), A =
|
|
2754
|
+
}, [e.consentVersion, a]), A = I(
|
|
2673
2755
|
(n) => {
|
|
2674
2756
|
a({
|
|
2675
2757
|
essentials: !0,
|
|
@@ -2680,16 +2762,16 @@ const V = (e) => ({
|
|
|
2680
2762
|
});
|
|
2681
2763
|
},
|
|
2682
2764
|
[e.consentVersion, a]
|
|
2683
|
-
),
|
|
2684
|
-
Pe({ domain: e.domain }),
|
|
2765
|
+
), O = I(() => {
|
|
2766
|
+
Pe({ domain: e.domain }), i(null);
|
|
2685
2767
|
}, [e.domain]);
|
|
2686
|
-
return { consent: t, isResolved: t !== null, acceptAll: u, rejectAll: p, save: A, reset:
|
|
2768
|
+
return { consent: t, isResolved: t !== null, acceptAll: u, rejectAll: p, save: A, reset: O };
|
|
2687
2769
|
}, ke = ({ api: e, privacyLinkHref: t }) => {
|
|
2688
|
-
const
|
|
2770
|
+
const i = K(), { acceptAll: s, rejectAll: r, save: a } = e, [u, p] = b(!1), [A, O] = b(!1), [n, h] = b(!1), C = () => {
|
|
2689
2771
|
a({ analytics: A, marketing: n }), p(!1);
|
|
2690
2772
|
};
|
|
2691
2773
|
return /* @__PURE__ */ g($, { children: [
|
|
2692
|
-
/* @__PURE__ */
|
|
2774
|
+
/* @__PURE__ */ o(
|
|
2693
2775
|
te,
|
|
2694
2776
|
{
|
|
2695
2777
|
elevation: 8,
|
|
@@ -2709,56 +2791,56 @@ const V = (e) => ({
|
|
|
2709
2791
|
role: "dialog",
|
|
2710
2792
|
"aria-labelledby": "cookie-consent-title",
|
|
2711
2793
|
children: /* @__PURE__ */ g(D, { direction: { xs: "column", md: "row" }, spacing: 2, alignItems: { xs: "stretch", md: "center" }, children: [
|
|
2712
|
-
/* @__PURE__ */ g(
|
|
2713
|
-
/* @__PURE__ */
|
|
2714
|
-
/* @__PURE__ */
|
|
2715
|
-
/* @__PURE__ */
|
|
2794
|
+
/* @__PURE__ */ g(f, { sx: { flex: 1 }, children: [
|
|
2795
|
+
/* @__PURE__ */ o(m, { id: "cookie-consent-title", variant: "subtitle1", fontWeight: 700, gutterBottom: !0, children: i.formatRichMessage({ id: "cookies.banner.title" }) }),
|
|
2796
|
+
/* @__PURE__ */ o(m, { variant: "body2", color: "text.secondary", children: i.formatRichMessage({ id: "cookies.banner.description" }) }),
|
|
2797
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", sx: { mt: 1, display: "block" }, children: /* @__PURE__ */ o("a", { href: t, style: { color: "inherit" }, rel: "noreferrer", children: i.formatRichMessage({ id: "cookies.banner.privacy-link" }) }) })
|
|
2716
2798
|
] }),
|
|
2717
2799
|
/* @__PURE__ */ g(D, { direction: { xs: "column", sm: "row" }, spacing: 1, sx: { flexShrink: 0 }, children: [
|
|
2718
|
-
/* @__PURE__ */
|
|
2719
|
-
/* @__PURE__ */
|
|
2720
|
-
/* @__PURE__ */
|
|
2800
|
+
/* @__PURE__ */ o(N, { variant: "text", onClick: r, children: i.formatRichMessage({ id: "cookies.action.reject-all" }) }),
|
|
2801
|
+
/* @__PURE__ */ o(N, { variant: "outlined", onClick: () => p(!0), children: i.formatRichMessage({ id: "cookies.action.configure" }) }),
|
|
2802
|
+
/* @__PURE__ */ o(N, { variant: "contained", onClick: s, children: i.formatRichMessage({ id: "cookies.action.accept-all" }) })
|
|
2721
2803
|
] })
|
|
2722
2804
|
] })
|
|
2723
2805
|
}
|
|
2724
2806
|
),
|
|
2725
|
-
/* @__PURE__ */ g(
|
|
2726
|
-
/* @__PURE__ */
|
|
2727
|
-
/* @__PURE__ */
|
|
2728
|
-
/* @__PURE__ */
|
|
2807
|
+
/* @__PURE__ */ g(ie, { open: u, onClose: () => p(!1), maxWidth: "sm", fullWidth: !0, children: [
|
|
2808
|
+
/* @__PURE__ */ o(oe, { children: i.formatRichMessage({ id: "cookies.configure.title" }) }),
|
|
2809
|
+
/* @__PURE__ */ o(re, { children: /* @__PURE__ */ g(D, { spacing: 2, sx: { pt: 1 }, children: [
|
|
2810
|
+
/* @__PURE__ */ o(
|
|
2729
2811
|
R,
|
|
2730
2812
|
{
|
|
2731
|
-
control: /* @__PURE__ */
|
|
2732
|
-
label: /* @__PURE__ */ g(
|
|
2733
|
-
/* @__PURE__ */
|
|
2734
|
-
/* @__PURE__ */
|
|
2813
|
+
control: /* @__PURE__ */ o(_, { checked: !0, disabled: !0 }),
|
|
2814
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2815
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: i.formatRichMessage({ id: "cookies.category.essentials.title" }) }),
|
|
2816
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: i.formatRichMessage({ id: "cookies.category.essentials.description" }) })
|
|
2735
2817
|
] })
|
|
2736
2818
|
}
|
|
2737
2819
|
),
|
|
2738
|
-
/* @__PURE__ */
|
|
2820
|
+
/* @__PURE__ */ o(
|
|
2739
2821
|
R,
|
|
2740
2822
|
{
|
|
2741
|
-
control: /* @__PURE__ */
|
|
2742
|
-
label: /* @__PURE__ */ g(
|
|
2743
|
-
/* @__PURE__ */
|
|
2744
|
-
/* @__PURE__ */
|
|
2823
|
+
control: /* @__PURE__ */ o(_, { checked: A, onChange: (T, c) => O(c) }),
|
|
2824
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2825
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: i.formatRichMessage({ id: "cookies.category.analytics.title" }) }),
|
|
2826
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: i.formatRichMessage({ id: "cookies.category.analytics.description" }) })
|
|
2745
2827
|
] })
|
|
2746
2828
|
}
|
|
2747
2829
|
),
|
|
2748
|
-
/* @__PURE__ */
|
|
2830
|
+
/* @__PURE__ */ o(
|
|
2749
2831
|
R,
|
|
2750
2832
|
{
|
|
2751
|
-
control: /* @__PURE__ */
|
|
2752
|
-
label: /* @__PURE__ */ g(
|
|
2753
|
-
/* @__PURE__ */
|
|
2754
|
-
/* @__PURE__ */
|
|
2833
|
+
control: /* @__PURE__ */ o(_, { checked: n, onChange: (T, c) => h(c) }),
|
|
2834
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2835
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: i.formatRichMessage({ id: "cookies.category.marketing.title" }) }),
|
|
2836
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: i.formatRichMessage({ id: "cookies.category.marketing.description" }) })
|
|
2755
2837
|
] })
|
|
2756
2838
|
}
|
|
2757
2839
|
)
|
|
2758
2840
|
] }) }),
|
|
2759
2841
|
/* @__PURE__ */ g(ae, { children: [
|
|
2760
|
-
/* @__PURE__ */
|
|
2761
|
-
/* @__PURE__ */
|
|
2842
|
+
/* @__PURE__ */ o(N, { onClick: () => p(!1), children: i.formatRichMessage({ id: "cookies.action.cancel" }) }),
|
|
2843
|
+
/* @__PURE__ */ o(N, { onClick: C, variant: "contained", children: i.formatRichMessage({ id: "cookies.action.save" }) })
|
|
2762
2844
|
] })
|
|
2763
2845
|
] })
|
|
2764
2846
|
] });
|
|
@@ -2770,65 +2852,65 @@ const V = (e) => ({
|
|
|
2770
2852
|
}, we = "https://abyss-project.fr/legal/privacy", Ke = ({
|
|
2771
2853
|
children: e,
|
|
2772
2854
|
consentVersion: t,
|
|
2773
|
-
isAuthenticated:
|
|
2855
|
+
isAuthenticated: i,
|
|
2774
2856
|
domain: s,
|
|
2775
2857
|
privacyLinkHref: r = we,
|
|
2776
2858
|
renderBanner: a
|
|
2777
2859
|
}) => {
|
|
2778
|
-
const u =
|
|
2860
|
+
const u = Fe({ isAuthenticated: i, consentVersion: t, domain: s }), p = x(() => u.isResolved ? null : a ? a(u) : /* @__PURE__ */ o(ke, { api: u, privacyLinkHref: r }), [u, r, a]);
|
|
2779
2861
|
return /* @__PURE__ */ g(Z.Provider, { value: u, children: [
|
|
2780
2862
|
e,
|
|
2781
2863
|
p
|
|
2782
2864
|
] });
|
|
2783
2865
|
}, Je = () => {
|
|
2784
|
-
const e = K(), { consent: t, save:
|
|
2866
|
+
const e = K(), { consent: t, save: i } = Be(), [s, r] = b((t == null ? void 0 : t.analytics) ?? !1), [a, u] = b((t == null ? void 0 : t.marketing) ?? !1);
|
|
2785
2867
|
return z(() => {
|
|
2786
2868
|
t && (r(t.analytics), u(t.marketing));
|
|
2787
|
-
}, [t == null ? void 0 : t.analytics, t == null ? void 0 : t.marketing]), /* @__PURE__ */
|
|
2788
|
-
/* @__PURE__ */
|
|
2789
|
-
/* @__PURE__ */
|
|
2869
|
+
}, [t == null ? void 0 : t.analytics, t == null ? void 0 : t.marketing]), /* @__PURE__ */ o(se, { sx: { borderRadius: 3 }, children: /* @__PURE__ */ o(ne, { children: /* @__PURE__ */ g(D, { spacing: 2, children: [
|
|
2870
|
+
/* @__PURE__ */ o(m, { variant: "h6", children: e.formatRichMessage({ id: "cookies.configure.title" }) }),
|
|
2871
|
+
/* @__PURE__ */ o(
|
|
2790
2872
|
R,
|
|
2791
2873
|
{
|
|
2792
|
-
control: /* @__PURE__ */
|
|
2793
|
-
label: /* @__PURE__ */ g(
|
|
2794
|
-
/* @__PURE__ */
|
|
2795
|
-
/* @__PURE__ */
|
|
2874
|
+
control: /* @__PURE__ */ o(_, { checked: !0, disabled: !0 }),
|
|
2875
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2876
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.essentials.title" }) }),
|
|
2877
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.essentials.description" }) })
|
|
2796
2878
|
] })
|
|
2797
2879
|
}
|
|
2798
2880
|
),
|
|
2799
|
-
/* @__PURE__ */
|
|
2881
|
+
/* @__PURE__ */ o(
|
|
2800
2882
|
R,
|
|
2801
2883
|
{
|
|
2802
|
-
control: /* @__PURE__ */
|
|
2803
|
-
label: /* @__PURE__ */ g(
|
|
2804
|
-
/* @__PURE__ */
|
|
2805
|
-
/* @__PURE__ */
|
|
2884
|
+
control: /* @__PURE__ */ o(_, { checked: s, onChange: (p, A) => r(A) }),
|
|
2885
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2886
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.analytics.title" }) }),
|
|
2887
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.analytics.description" }) })
|
|
2806
2888
|
] })
|
|
2807
2889
|
}
|
|
2808
2890
|
),
|
|
2809
|
-
/* @__PURE__ */
|
|
2891
|
+
/* @__PURE__ */ o(
|
|
2810
2892
|
R,
|
|
2811
2893
|
{
|
|
2812
|
-
control: /* @__PURE__ */
|
|
2813
|
-
label: /* @__PURE__ */ g(
|
|
2814
|
-
/* @__PURE__ */
|
|
2815
|
-
/* @__PURE__ */
|
|
2894
|
+
control: /* @__PURE__ */ o(_, { checked: a, onChange: (p, A) => u(A) }),
|
|
2895
|
+
label: /* @__PURE__ */ g(f, { children: [
|
|
2896
|
+
/* @__PURE__ */ o(m, { variant: "body2", fontWeight: 600, children: e.formatRichMessage({ id: "cookies.category.marketing.title" }) }),
|
|
2897
|
+
/* @__PURE__ */ o(m, { variant: "caption", color: "text.secondary", children: e.formatRichMessage({ id: "cookies.category.marketing.description" }) })
|
|
2816
2898
|
] })
|
|
2817
2899
|
}
|
|
2818
2900
|
),
|
|
2819
|
-
/* @__PURE__ */
|
|
2901
|
+
/* @__PURE__ */ o(f, { children: /* @__PURE__ */ o(N, { variant: "contained", onClick: () => i({ analytics: s, marketing: a }), children: e.formatRichMessage({ id: "cookies.action.save" }) }) })
|
|
2820
2902
|
] }) }) });
|
|
2821
2903
|
};
|
|
2822
2904
|
export {
|
|
2823
2905
|
Ke as A,
|
|
2824
2906
|
be as B,
|
|
2825
2907
|
ke as C,
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2908
|
+
Ne as D,
|
|
2909
|
+
Ie as E,
|
|
2910
|
+
F as R,
|
|
2829
2911
|
J as V,
|
|
2830
2912
|
Je as a,
|
|
2831
|
-
|
|
2913
|
+
Fe as b,
|
|
2832
2914
|
L as c,
|
|
2833
2915
|
Pe as d,
|
|
2834
2916
|
De as e,
|
|
@@ -2844,13 +2926,13 @@ export {
|
|
|
2844
2926
|
Te as o,
|
|
2845
2927
|
Se as p,
|
|
2846
2928
|
M as q,
|
|
2847
|
-
|
|
2929
|
+
ve as r,
|
|
2848
2930
|
he as s,
|
|
2849
|
-
|
|
2931
|
+
G as t,
|
|
2850
2932
|
Be as u,
|
|
2851
|
-
|
|
2933
|
+
Oe as v,
|
|
2852
2934
|
H as w,
|
|
2853
|
-
|
|
2935
|
+
fe as x,
|
|
2854
2936
|
Ce as y,
|
|
2855
2937
|
j as z
|
|
2856
2938
|
};
|