@engagently/types 7.4.0 → 7.5.2

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.
@@ -114,7 +114,7 @@ export interface DiscussionWidget {
114
114
  slots: Array<DiscussionSlotValues>;
115
115
  attributes: Array<`${DiscussionAttributes}`>;
116
116
  }
117
- export declare enum DiscussionCommentaryActions {
117
+ export declare enum CommentaryActions {
118
118
  BOOKMARK = "bookmark",
119
119
  IGNORE = "ignore",
120
120
  DELETE = "delete",
@@ -128,9 +128,9 @@ export declare enum DiscussionCommentaryActions {
128
128
  SHARE = "share"
129
129
  }
130
130
  export type CommentaryActionPlacements = {
131
- footer?: Array<`${DiscussionCommentaryActions}`>;
132
- header?: Array<`${DiscussionCommentaryActions}`>;
133
- menu?: Array<`${DiscussionCommentaryActions}`>;
131
+ footer?: Array<`${CommentaryActions}`>;
132
+ header?: Array<`${CommentaryActions}`>;
133
+ menu?: Array<`${CommentaryActions}`>;
134
134
  };
135
135
  export declare const DEFAULT_COMMENT_ACTIONS_PLACEMENTS: CommentaryActionPlacements;
136
136
  export declare enum UserAttributes {
@@ -205,6 +205,12 @@ export interface DebateWidget {
205
205
  attributes: Array<`${DebateAttributes}`>;
206
206
  slots: Array<DebateSlotValues>;
207
207
  }
208
+ export type ArgumentActionPlacements = {
209
+ footer?: Array<`${CommentaryActions}`>;
210
+ header?: Array<`${CommentaryActions}`>;
211
+ menu?: Array<`${CommentaryActions}`>;
212
+ };
213
+ export declare const DEFAULT_ARGUMENT_ACTIONS_PLACEMENTS: ArgumentActionPlacements;
208
214
  export declare enum DebatesTarget {
209
215
  BLANK = "_blank",
210
216
  SELF = "_self"
@@ -794,7 +800,7 @@ export type SubmitCommentaryPayload = {
794
800
  mode: 'CREATE' | 'EDIT';
795
801
  };
796
802
  export type ActionPayload = {
797
- actionType: DiscussionCommentaryActions;
803
+ actionType: CommentaryActions;
798
804
  result: 'create' | 'delete' | 'update' | 'error' | 'none';
799
805
  };
800
806
  /**
@@ -131,3 +131,7 @@ export declare enum UserRole {
131
131
  Moderator = "MODERATOR",
132
132
  Staff = "STAFF"
133
133
  }
134
+ export declare enum VisibilityStatus {
135
+ Hidden = "HIDDEN",
136
+ Visible = "VISIBLE"
137
+ }
@@ -1,7 +1,7 @@
1
1
  import type { InitOptions, TFuncKey } from 'i18next';
2
2
  import i18n from 'i18next';
3
3
  export type TranslationKeys = TFuncKey<[keyof (typeof resources)['en']]>;
4
- export type Language = 'de' | 'en';
4
+ export type Language = 'de' | 'en' | 'se';
5
5
  export declare const defaultResources: {
6
6
  de: {
7
7
  readonly common: {
@@ -403,6 +403,7 @@ export declare const defaultResources: {
403
403
  };
404
404
  };
405
405
  };
406
+ "visibility-hidden": string;
406
407
  };
407
408
  readonly emojis: {
408
409
  categories: {
@@ -988,6 +989,592 @@ export declare const defaultResources: {
988
989
  };
989
990
  };
990
991
  };
992
+ "visibility-hidden": string;
993
+ };
994
+ readonly emojis: {
995
+ categories: {
996
+ activity: string;
997
+ flags: string;
998
+ foods: string;
999
+ nature: string;
1000
+ objects: string;
1001
+ people: string;
1002
+ places: string;
1003
+ symbols: string;
1004
+ };
1005
+ choose: string;
1006
+ "recently-used": string;
1007
+ search: string;
1008
+ };
1009
+ readonly errors: {
1010
+ api: {
1011
+ EGY_USERNAME_DUPLICATE: string;
1012
+ EGY_USERNAME_INVALID: string;
1013
+ EGY_USERNAME_LOCKED: string;
1014
+ EGY_USERNAME_NOT_EDITABLE: string;
1015
+ EGY_USERNAME_PRESCRIBED: string;
1016
+ };
1017
+ inline: {
1018
+ "write-comment": string;
1019
+ };
1020
+ "report-commentary": string;
1021
+ };
1022
+ readonly features: {
1023
+ COMMENT: {
1024
+ "call-to-action": string;
1025
+ };
1026
+ COMMENTARY_IMAGE_UPLOAD: {
1027
+ "call-to-action": string;
1028
+ };
1029
+ COMMENTARY_READ: {
1030
+ "call-to-action": string;
1031
+ };
1032
+ IGNORE: {
1033
+ "call-to-action": string;
1034
+ };
1035
+ INSTANT_CONTEXT: {
1036
+ "call-to-action": string;
1037
+ };
1038
+ MY_PROFILE: {
1039
+ "call-to-action": string;
1040
+ };
1041
+ ONBOARD_NAMEHINT: {
1042
+ "call-to-action": string;
1043
+ };
1044
+ PROFILE: {
1045
+ "call-to-action": string;
1046
+ };
1047
+ REACTION: {
1048
+ "call-to-action": string;
1049
+ };
1050
+ REPLY: {
1051
+ "call-to-action": string;
1052
+ };
1053
+ REPORT: {
1054
+ "call-to-action": string;
1055
+ };
1056
+ SHARE: {
1057
+ "call-to-action": string;
1058
+ };
1059
+ };
1060
+ readonly forms: {
1061
+ validation: {
1062
+ "checkbox-required": string;
1063
+ "email-invalid": string;
1064
+ "email-no-match": string;
1065
+ "min-length": string;
1066
+ required: string;
1067
+ };
1068
+ };
1069
+ readonly interpolation: {
1070
+ comment: string;
1071
+ "comment-do": string;
1072
+ comments: string;
1073
+ conversation: string;
1074
+ conversations: string;
1075
+ debate: string;
1076
+ debates: string;
1077
+ discussion: string;
1078
+ discussions: string;
1079
+ list: string;
1080
+ lists: string;
1081
+ message: string;
1082
+ messages: string;
1083
+ participation: string;
1084
+ participations: string;
1085
+ poll: string;
1086
+ polls: string;
1087
+ replies: string;
1088
+ reply: string;
1089
+ "reply-do": string;
1090
+ thread: string;
1091
+ threads: string;
1092
+ vote: string;
1093
+ votes: string;
1094
+ };
1095
+ readonly messages: {
1096
+ "debate-closed": string;
1097
+ "debate-finished": string;
1098
+ "debate-global-closed": string;
1099
+ "debate-preamble": string;
1100
+ "discussion-closed": string;
1101
+ "discussion-global-closed": string;
1102
+ "discussion-live-closed": string;
1103
+ "discussion-preamble": string;
1104
+ "log-in-to-comment": string;
1105
+ "log-in-to-view-user": string;
1106
+ "login-errors": {
1107
+ assertion_failed: {
1108
+ NEEDS_VERIFIED_EMAIL: string;
1109
+ };
1110
+ };
1111
+ "user-sanction-block": string;
1112
+ "user-sanction-block-until": string;
1113
+ "user-sanction-warn": string;
1114
+ "username-change": string;
1115
+ "username-change-prescribed": string;
1116
+ "vote-to-debate": string;
1117
+ };
1118
+ readonly poll: {
1119
+ "call-to-action": string;
1120
+ "live-poll": string;
1121
+ "thank-you-for-vote": string;
1122
+ viewed: string;
1123
+ vote_one: string;
1124
+ vote_other: string;
1125
+ };
1126
+ readonly quiz: {
1127
+ "call-to-action": string;
1128
+ "next-question": string;
1129
+ participation_one: string;
1130
+ participation_other: string;
1131
+ progress: string;
1132
+ reparticipate: string;
1133
+ "result-msg": string;
1134
+ "show-summary": string;
1135
+ "start-quiz": string;
1136
+ "submit-choice": string;
1137
+ viewed: string;
1138
+ };
1139
+ readonly user: {
1140
+ alerts: {
1141
+ "bookmark-limit": {
1142
+ message: string;
1143
+ };
1144
+ "ignore-user-limit": {
1145
+ message: string;
1146
+ };
1147
+ "no-bookmarks": {
1148
+ message: string;
1149
+ title: string;
1150
+ };
1151
+ "no-ignored-users": {
1152
+ message: string;
1153
+ title: string;
1154
+ };
1155
+ };
1156
+ "onboarding-username-change": string;
1157
+ "username-change-blocked": string;
1158
+ "username-change-confirm": string;
1159
+ views: {
1160
+ me: {
1161
+ nav: string;
1162
+ tabs: {
1163
+ bookmarks: string;
1164
+ comments: string;
1165
+ "ignored-users": string;
1166
+ settings: {
1167
+ nav: string;
1168
+ sections: {
1169
+ account: string;
1170
+ "ignored-users": string;
1171
+ };
1172
+ };
1173
+ };
1174
+ title: string;
1175
+ };
1176
+ };
1177
+ };
1178
+ };
1179
+ se: {
1180
+ readonly common: {
1181
+ account: {
1182
+ account: string;
1183
+ bookmarks: string;
1184
+ "last-active": string;
1185
+ "member-since": string;
1186
+ profile: string;
1187
+ "profile-not-public": string;
1188
+ "recent-activity": string;
1189
+ settings: string;
1190
+ };
1191
+ actions: {
1192
+ cancel: string;
1193
+ "click-or-drop-image": string;
1194
+ close: string;
1195
+ confirm: string;
1196
+ continue: string;
1197
+ discard: string;
1198
+ edit: string;
1199
+ "go-to-discussion": string;
1200
+ na: string;
1201
+ next: string;
1202
+ ok: string;
1203
+ "open-discussion": string;
1204
+ save: string;
1205
+ send: string;
1206
+ "show-all-comments": string;
1207
+ view: string;
1208
+ };
1209
+ and: string;
1210
+ "are-you-sure": string;
1211
+ aria: {
1212
+ "scroll-left": string;
1213
+ "scroll-right": string;
1214
+ };
1215
+ category: string;
1216
+ comment: string;
1217
+ comment_other: string;
1218
+ "comment-in-thread": string;
1219
+ commentary: string;
1220
+ commentary_other: string;
1221
+ confirm: string;
1222
+ "contact-details": string;
1223
+ "copy-to-clipboard": string;
1224
+ "date-and-time": string;
1225
+ edited: string;
1226
+ "featured-comment": string;
1227
+ live: string;
1228
+ "load-more": string;
1229
+ "load-more-comments": string;
1230
+ "load-newer-comments": string;
1231
+ "load-newer-replies": string;
1232
+ "load-older-comments": string;
1233
+ "load-older-replies": string;
1234
+ logout: string;
1235
+ "logout-hint": string;
1236
+ options: string;
1237
+ reply: string;
1238
+ reply_other: string;
1239
+ "reply-count": string;
1240
+ "reply-count_other": string;
1241
+ session: string;
1242
+ share: string;
1243
+ "shared-argument": string;
1244
+ "shared-comment": string;
1245
+ "shared-reply": string;
1246
+ user: {
1247
+ email: string;
1248
+ "email-confirmation": string;
1249
+ name: string;
1250
+ };
1251
+ vote: string;
1252
+ vote_other: string;
1253
+ };
1254
+ readonly debate: {
1255
+ "all-arguments": string;
1256
+ "aria-labels": {
1257
+ "negative-sentiment": string;
1258
+ "positive-sentiment": string;
1259
+ };
1260
+ "back-to-debate": string;
1261
+ "call-to-action": string;
1262
+ "current-debates": string;
1263
+ "desc-header": string;
1264
+ "filter-by": string;
1265
+ filters: {
1266
+ ACTIVE: {
1267
+ description: string;
1268
+ title: string;
1269
+ };
1270
+ ALL: {
1271
+ description: string;
1272
+ title: string;
1273
+ };
1274
+ PUBLISHED_AT_ASC: {
1275
+ description: string;
1276
+ title: string;
1277
+ };
1278
+ PUBLISHED_AT_DESC: {
1279
+ description: string;
1280
+ title: string;
1281
+ };
1282
+ };
1283
+ inactive: string;
1284
+ labels: {
1285
+ "filter-debates": string;
1286
+ "sort-debates": string;
1287
+ };
1288
+ "live-poll": string;
1289
+ "load-more-debates": string;
1290
+ "no-arguments-yet": string;
1291
+ "no-debates": string;
1292
+ option_one: string;
1293
+ option_other: string;
1294
+ placeholders: {
1295
+ "new-commentary": string;
1296
+ };
1297
+ "thank-you-for-vote": string;
1298
+ viewed: string;
1299
+ vote_one: string;
1300
+ vote_other: string;
1301
+ voted: string;
1302
+ "your-vote-heading": string;
1303
+ };
1304
+ readonly discussions: {
1305
+ alerts: {
1306
+ "bookmark-limit": {
1307
+ message: string;
1308
+ };
1309
+ "featured-comments-only": {
1310
+ message: string;
1311
+ title_one: string;
1312
+ title_other: string;
1313
+ };
1314
+ "ignore-user-limit": {
1315
+ message: string;
1316
+ };
1317
+ "moderate-hint": {
1318
+ cta: string;
1319
+ description: string;
1320
+ };
1321
+ "no-bookmarks": {
1322
+ message: string;
1323
+ title: string;
1324
+ };
1325
+ "no-comments": {
1326
+ message: string;
1327
+ title: string;
1328
+ };
1329
+ "no-ignored-users": {
1330
+ message: string;
1331
+ title: string;
1332
+ };
1333
+ };
1334
+ attachments: {
1335
+ "image-crop-hint": string;
1336
+ "image-invalid-aspect-ratio": string;
1337
+ "image-not-supported": string;
1338
+ "image-size-warning": string;
1339
+ "image-status": {
1340
+ expired: string;
1341
+ pending: string;
1342
+ };
1343
+ "image-too-large": string;
1344
+ };
1345
+ "comment-as": string;
1346
+ "commentary-actions": {
1347
+ bookmark: {
1348
+ active: string;
1349
+ deletable: string;
1350
+ inactive: string;
1351
+ };
1352
+ delete: string;
1353
+ edit: string;
1354
+ ignore: {
1355
+ action: string;
1356
+ hint: string;
1357
+ submitted: string;
1358
+ title: string;
1359
+ };
1360
+ moderate: string;
1361
+ reaction: {
1362
+ REACTION_AGREE: string;
1363
+ REACTION_AGREE_zero: string;
1364
+ REACTION_DISAGREE: string;
1365
+ REACTION_DISAGREE_zero: string;
1366
+ REACTION1: string;
1367
+ REACTION1_zero: string;
1368
+ REACTION2: string;
1369
+ REACTION2_zero: string;
1370
+ REACTION3: string;
1371
+ REACTION3_zero: string;
1372
+ };
1373
+ reply: string;
1374
+ report: {
1375
+ action: string;
1376
+ "contact-me-confirmation": string;
1377
+ dsa: {
1378
+ "main-category": {
1379
+ ANIMAL_WELFARE: string;
1380
+ CHILD_AND_YOUTH_PROTECTION: string;
1381
+ CONSUMER_INFORMATION_VIOLATIONS: string;
1382
+ CYBER_VIOLENCE: string;
1383
+ CYBER_VIOLENCE_AGAINST_WOMEN: string;
1384
+ DATA_PROTECTION_AND_PRIVACY_VIOLATIONS: string;
1385
+ DECEPTION_AND_OR_FRAUD: string;
1386
+ ILLEGAL_STATEMENTS_OR_HARMFUL_SPEECH: string;
1387
+ INTELLECTUAL_PROPERTY_VIOLATIONS: string;
1388
+ NEGATIVE_IMPACT_ON_PUBLIC_DISCOURSE_OR_ELECTIONS: string;
1389
+ OTHER: string;
1390
+ SELF_HARM: string;
1391
+ THREAT_TO_PUBLIC_SAFETY: string;
1392
+ UNSAFE_NONCOMPLIANT_OR_PROHIBITED_PRODUCTS: string;
1393
+ VIOLENCE: string;
1394
+ };
1395
+ "report-target": {
1396
+ AUTHORITY: string;
1397
+ FLAGGER: string;
1398
+ PERSON: string;
1399
+ };
1400
+ "report-target-title": string;
1401
+ "select-main-category": string;
1402
+ "select-sub-category": string;
1403
+ "sub-category": {
1404
+ AGE_SPECIFIC_RESTRICTIONS_FOR_MINORS: string;
1405
+ ANIMAL_CRUELTY: string;
1406
+ BIOMETRIC_DATA_PROTECTION_VIOLATION: string;
1407
+ CONTENT_PROMOTING_EATING_DISORDERS: string;
1408
+ COPYRIGHT_VIOLATIONS: string;
1409
+ CYBER_HARASSMENT: string;
1410
+ CYBERBULLYING_AGAINST_WOMEN: string;
1411
+ CYBERSTALKING: string;
1412
+ CYBERSTALKING_AGAINST_WOMEN: string;
1413
+ DANGEROUS_CHALLENGES: string;
1414
+ DATA_FALSIFICATION: string;
1415
+ DEFAMATION: string;
1416
+ DEPICTIONS_OF_CHILD_SEXUAL_ABUSE: string;
1417
+ DEPICTIONS_OF_CHILD_SEXUAL_ABUSE_DEEPFAKE: string;
1418
+ DESIGN_RIGHTS_VIOLATIONS: string;
1419
+ DISCRIMINATION: string;
1420
+ FAKE_ACCOUNTS: string;
1421
+ FAKE_LISTINGS: string;
1422
+ FAKE_USER_REVIEWS: string;
1423
+ GENDER_SPECIFIC_DISINFORMATION: string;
1424
+ GENERAL_CALLS_OR_INCITEMENT_TO_VIOLENCE_AND_OR_HATRED: string;
1425
+ GEOGRAPHICAL_INDICATIONS_VIOLATIONS: string;
1426
+ GROOMING_OF_MINORS: string;
1427
+ HIDDEN_ADVERTISING_OR_COMMERCIAL_COMMUNICATION: string;
1428
+ HUMAN_EXPLOITATION: string;
1429
+ HUMAN_TRAFFICKING: string;
1430
+ IDENTITY_FRAUD_OR_ACCOUNT_TAKEOVER: string;
1431
+ ILLEGAL_INCITEMENT_TO_VIOLENCE_AND_HATRED_AGAINST_WOMEN: string;
1432
+ ILLEGAL_INCITEMENT_TO_VIOLENCE_AND_HATRED_BASED_ON_PROTECTED_CHARACTERISTICS: string;
1433
+ ILLEGAL_ORGANIZATIONS: string;
1434
+ ILLEGAL_SALE_OF_ANIMALS: string;
1435
+ INCITEMENT_TO_VIOLENCE: string;
1436
+ INCITEMENT_TO_VIOLENCE_OR_HATRED_ONLINE: string;
1437
+ INSUFFICIENT_INFORMATION_ABOUT_TRADERS: string;
1438
+ MISINFORMATION_DISINFORMATION_AND_FOREIGN_INFORMATION_MANIPULATION: string;
1439
+ MISLEADING_INFORMATION_ABOUT_CONSUMER_RIGHTS: string;
1440
+ MISLEADING_INFORMATION_ABOUT_GOODS_AND_SERVICES: string;
1441
+ MISSING_BASIS_FOR_DATA_PROCESSING: string;
1442
+ NON_COMPLIANCE_WITH_PRICING_REGULATIONS: string;
1443
+ NON_CONSENSUAL_SHARING_OF_DEEPFAKE_MATERIAL: string;
1444
+ NON_CONSENSUAL_SHARING_OF_DEEPFAKE_MATERIAL_AGAINST_WOMEN: string;
1445
+ NON_CONSENSUAL_SHARING_OF_INTIMATE_MATERIAL: string;
1446
+ NON_CONSENSUAL_SHARING_OF_INTIMATE_MATERIAL_AGAINST_WOMEN: string;
1447
+ ONLINE_BULLYING_AND_INTIMIDATION: string;
1448
+ ONLINE_BULLYING_AND_INTIMIDATION_OF_GIRLS: string;
1449
+ OTHER: string;
1450
+ PATENT_VIOLATIONS: string;
1451
+ PHISHING: string;
1452
+ PROHIBITED_OR_RESTRICTED_PRODUCTS: string;
1453
+ PYRAMID_SCHEMES: string;
1454
+ RIGHT_TO_BE_FORGOTTEN: string;
1455
+ RISK_OF_ENVIRONMENTAL_DAMAGE: string;
1456
+ RISK_TO_PUBLIC_HEALTH: string;
1457
+ SELF_MUTILATION: string;
1458
+ SUICIDE: string;
1459
+ TERRORIST_CONTENT: string;
1460
+ TRADE_SECRET_VIOLATIONS: string;
1461
+ TRADEMARK_VIOLATIONS: string;
1462
+ TRAFFICKING_OF_WOMEN_AND_GIRLS: string;
1463
+ UNSAFE_OR_NONCOMPLIANT_PRODUCTS: string;
1464
+ VIOLATION_OF_EU_LAW_REGARDING_PUBLIC_DISCOURSE_OR_ELECTIONS: string;
1465
+ VIOLATION_OF_NATIONAL_LAW_REGARDING_PUBLIC_DISCOURSE_OR_ELECTIONS: string;
1466
+ };
1467
+ };
1468
+ "dsa-confirmation": string;
1469
+ "justification-description": string;
1470
+ reasons: {
1471
+ BEHAVIOUR: string;
1472
+ BULLY: string;
1473
+ FAKE: string;
1474
+ HATE: string;
1475
+ LEGAL: string;
1476
+ OTHER: string;
1477
+ PRIVACY: string;
1478
+ SEXUAL: string;
1479
+ SPAM: string;
1480
+ TERMS: string;
1481
+ TOXIC: string;
1482
+ USERNAME: string;
1483
+ VIOLENCE: string;
1484
+ };
1485
+ submitted: string;
1486
+ title: string;
1487
+ };
1488
+ share: string;
1489
+ unignore: string;
1490
+ };
1491
+ "commentary-not-available": string;
1492
+ feedback: string;
1493
+ filters: {
1494
+ CREATED_AT_ASC: {
1495
+ description: string;
1496
+ header: string;
1497
+ title: string;
1498
+ };
1499
+ CREATED_AT_DESC: {
1500
+ description: string;
1501
+ header: string;
1502
+ title: string;
1503
+ };
1504
+ LIST: {
1505
+ description: string;
1506
+ title: string;
1507
+ };
1508
+ POPULARITY_DESC: {
1509
+ description: string;
1510
+ header: string;
1511
+ title: string;
1512
+ };
1513
+ sort: string;
1514
+ THREAD: {
1515
+ description: string;
1516
+ title: string;
1517
+ };
1518
+ };
1519
+ labels: {
1520
+ "author-badge": string;
1521
+ "comment-list": string;
1522
+ "commentary-actions": string;
1523
+ "sort-comments": string;
1524
+ "view-structure": string;
1525
+ };
1526
+ "new-commentary": string;
1527
+ "new-commentary_other": string;
1528
+ "no-comments-yet": string;
1529
+ "no-more-comments": string;
1530
+ "no-recent-comments": string;
1531
+ "onboarding-username-change": string;
1532
+ placeholders: {
1533
+ "new-commentary": string;
1534
+ "new-reply": string;
1535
+ };
1536
+ "reply-as": string;
1537
+ "reply-to": string;
1538
+ "show-less": string;
1539
+ "show-more": string;
1540
+ "text-editor": {
1541
+ bold: string;
1542
+ emojis: string;
1543
+ image: string;
1544
+ italic: string;
1545
+ underline: string;
1546
+ };
1547
+ "username-change-blocked": string;
1548
+ "username-change-confirm": string;
1549
+ "view-mode": string;
1550
+ "view-modes": {
1551
+ "all-comments": string;
1552
+ featured: string;
1553
+ focus: string;
1554
+ list: string;
1555
+ live: string;
1556
+ };
1557
+ views: {
1558
+ user: {
1559
+ "back-to-discussion": string;
1560
+ data: {
1561
+ nav: string;
1562
+ tabs: {
1563
+ bookmarks: string;
1564
+ comments: string;
1565
+ "ignored-users": string;
1566
+ };
1567
+ title: string;
1568
+ };
1569
+ settings: {
1570
+ nav: string;
1571
+ tabs: {
1572
+ account: string;
1573
+ };
1574
+ title: string;
1575
+ };
1576
+ };
1577
+ };
991
1578
  };
992
1579
  readonly emojis: {
993
1580
  categories: {
@@ -1553,7 +2140,593 @@ declare const resources: {
1553
2140
  focus: string;
1554
2141
  list: string;
1555
2142
  live: string;
1556
- thread: string;
2143
+ thread: string;
2144
+ };
2145
+ views: {
2146
+ user: {
2147
+ "back-to-discussion": string;
2148
+ data: {
2149
+ nav: string;
2150
+ tabs: {
2151
+ bookmarks: string;
2152
+ comments: string;
2153
+ "ignored-users": string;
2154
+ };
2155
+ title: string;
2156
+ };
2157
+ settings: {
2158
+ nav: string;
2159
+ tabs: {
2160
+ account: string;
2161
+ };
2162
+ title: string;
2163
+ };
2164
+ };
2165
+ };
2166
+ "visibility-hidden": string;
2167
+ };
2168
+ readonly emojis: {
2169
+ categories: {
2170
+ activity: string;
2171
+ flags: string;
2172
+ foods: string;
2173
+ nature: string;
2174
+ objects: string;
2175
+ people: string;
2176
+ places: string;
2177
+ symbols: string;
2178
+ };
2179
+ choose: string;
2180
+ "recently-used": string;
2181
+ search: string;
2182
+ };
2183
+ readonly errors: {
2184
+ api: {
2185
+ EGY_USERNAME_DUPLICATE: string;
2186
+ EGY_USERNAME_INVALID: string;
2187
+ EGY_USERNAME_LOCKED: string;
2188
+ EGY_USERNAME_NOT_EDITABLE: string;
2189
+ EGY_USERNAME_PRESCRIBED: string;
2190
+ };
2191
+ inline: {
2192
+ "write-comment": string;
2193
+ };
2194
+ "report-commentary": string;
2195
+ };
2196
+ readonly features: {
2197
+ COMMENT: {
2198
+ "call-to-action": string;
2199
+ };
2200
+ COMMENTARY_IMAGE_UPLOAD: {
2201
+ "call-to-action": string;
2202
+ };
2203
+ COMMENTARY_READ: {
2204
+ "call-to-action": string;
2205
+ };
2206
+ IGNORE: {
2207
+ "call-to-action": string;
2208
+ };
2209
+ INSTANT_CONTEXT: {
2210
+ "call-to-action": string;
2211
+ };
2212
+ MY_PROFILE: {
2213
+ "call-to-action": string;
2214
+ };
2215
+ ONBOARD_NAMEHINT: {
2216
+ "call-to-action": string;
2217
+ };
2218
+ PROFILE: {
2219
+ "call-to-action": string;
2220
+ };
2221
+ REACTION: {
2222
+ "call-to-action": string;
2223
+ };
2224
+ REPLY: {
2225
+ "call-to-action": string;
2226
+ };
2227
+ REPORT: {
2228
+ "call-to-action": string;
2229
+ };
2230
+ SHARE: {
2231
+ "call-to-action": string;
2232
+ };
2233
+ };
2234
+ readonly forms: {
2235
+ validation: {
2236
+ "checkbox-required": string;
2237
+ "email-invalid": string;
2238
+ "email-no-match": string;
2239
+ "min-length": string;
2240
+ required: string;
2241
+ };
2242
+ };
2243
+ readonly interpolation: {
2244
+ comment: string;
2245
+ "comment-do": string;
2246
+ comments: string;
2247
+ conversation: string;
2248
+ conversations: string;
2249
+ debate: string;
2250
+ debates: string;
2251
+ discussion: string;
2252
+ discussions: string;
2253
+ list: string;
2254
+ lists: string;
2255
+ message: string;
2256
+ messages: string;
2257
+ participation: string;
2258
+ participations: string;
2259
+ poll: string;
2260
+ polls: string;
2261
+ replies: string;
2262
+ reply: string;
2263
+ "reply-do": string;
2264
+ thread: string;
2265
+ threads: string;
2266
+ vote: string;
2267
+ votes: string;
2268
+ };
2269
+ readonly messages: {
2270
+ "debate-closed": string;
2271
+ "debate-finished": string;
2272
+ "debate-global-closed": string;
2273
+ "debate-preamble": string;
2274
+ "discussion-closed": string;
2275
+ "discussion-global-closed": string;
2276
+ "discussion-live-closed": string;
2277
+ "discussion-preamble": string;
2278
+ "log-in-to-comment": string;
2279
+ "log-in-to-view-user": string;
2280
+ "login-errors": {
2281
+ assertion_failed: {
2282
+ NEEDS_VERIFIED_EMAIL: string;
2283
+ };
2284
+ };
2285
+ "user-sanction-block": string;
2286
+ "user-sanction-block-until": string;
2287
+ "user-sanction-warn": string;
2288
+ "username-change": string;
2289
+ "username-change-prescribed": string;
2290
+ "vote-to-debate": string;
2291
+ };
2292
+ readonly poll: {
2293
+ "call-to-action": string;
2294
+ "live-poll": string;
2295
+ "thank-you-for-vote": string;
2296
+ viewed: string;
2297
+ vote_one: string;
2298
+ vote_other: string;
2299
+ };
2300
+ readonly quiz: {
2301
+ "call-to-action": string;
2302
+ "next-question": string;
2303
+ participation_one: string;
2304
+ participation_other: string;
2305
+ progress: string;
2306
+ reparticipate: string;
2307
+ "result-msg": string;
2308
+ "show-summary": string;
2309
+ "start-quiz": string;
2310
+ "submit-choice": string;
2311
+ viewed: string;
2312
+ };
2313
+ readonly user: {
2314
+ alerts: {
2315
+ "bookmark-limit": {
2316
+ message: string;
2317
+ };
2318
+ "ignore-user-limit": {
2319
+ message: string;
2320
+ };
2321
+ "no-bookmarks": {
2322
+ message: string;
2323
+ title: string;
2324
+ };
2325
+ "no-ignored-users": {
2326
+ message: string;
2327
+ title: string;
2328
+ };
2329
+ };
2330
+ "onboarding-username-change": string;
2331
+ "username-change-blocked": string;
2332
+ "username-change-confirm": string;
2333
+ views: {
2334
+ me: {
2335
+ nav: string;
2336
+ tabs: {
2337
+ bookmarks: string;
2338
+ comments: string;
2339
+ "ignored-users": string;
2340
+ settings: {
2341
+ nav: string;
2342
+ sections: {
2343
+ account: string;
2344
+ "ignored-users": string;
2345
+ };
2346
+ };
2347
+ };
2348
+ title: string;
2349
+ };
2350
+ };
2351
+ };
2352
+ };
2353
+ en: {
2354
+ readonly common: {
2355
+ account: {
2356
+ account: string;
2357
+ bookmarks: string;
2358
+ "last-active": string;
2359
+ "member-since": string;
2360
+ profile: string;
2361
+ "profile-not-public": string;
2362
+ "recent-activity": string;
2363
+ settings: string;
2364
+ };
2365
+ actions: {
2366
+ cancel: string;
2367
+ "click-or-drop-image": string;
2368
+ close: string;
2369
+ confirm: string;
2370
+ continue: string;
2371
+ discard: string;
2372
+ edit: string;
2373
+ "go-to-discussion": string;
2374
+ na: string;
2375
+ next: string;
2376
+ ok: string;
2377
+ "open-discussion": string;
2378
+ save: string;
2379
+ send: string;
2380
+ "show-all-comments": string;
2381
+ view: string;
2382
+ };
2383
+ and: string;
2384
+ "are-you-sure": string;
2385
+ aria: {
2386
+ "scroll-left": string;
2387
+ "scroll-right": string;
2388
+ };
2389
+ category: string;
2390
+ comment: string;
2391
+ comment_other: string;
2392
+ "comment-in-thread": string;
2393
+ commentary: string;
2394
+ commentary_other: string;
2395
+ confirm: string;
2396
+ "contact-details": string;
2397
+ "copy-to-clipboard": string;
2398
+ "date-and-time": string;
2399
+ edited: string;
2400
+ "featured-comment": string;
2401
+ live: string;
2402
+ "load-more": string;
2403
+ "load-more-comments": string;
2404
+ "load-newer-comments": string;
2405
+ "load-newer-replies": string;
2406
+ "load-older-comments": string;
2407
+ "load-older-replies": string;
2408
+ logout: string;
2409
+ "logout-hint": string;
2410
+ options: string;
2411
+ reply: string;
2412
+ reply_other: string;
2413
+ "reply-count": string;
2414
+ "reply-count_other": string;
2415
+ session: string;
2416
+ share: string;
2417
+ "shared-argument": string;
2418
+ "shared-comment": string;
2419
+ "shared-reply": string;
2420
+ user: {
2421
+ email: string;
2422
+ "email-confirmation": string;
2423
+ name: string;
2424
+ };
2425
+ vote: string;
2426
+ vote_other: string;
2427
+ };
2428
+ readonly debate: {
2429
+ "all-arguments": string;
2430
+ "aria-labels": {
2431
+ "negative-sentiment": string;
2432
+ "positive-sentiment": string;
2433
+ };
2434
+ "back-to-debate": string;
2435
+ "call-to-action": string;
2436
+ "current-debates": string;
2437
+ "desc-header": string;
2438
+ "filter-by": string;
2439
+ filters: {
2440
+ ACTIVE: {
2441
+ description: string;
2442
+ title: string;
2443
+ };
2444
+ ALL: {
2445
+ description: string;
2446
+ title: string;
2447
+ };
2448
+ PUBLISHED_AT_ASC: {
2449
+ description: string;
2450
+ title: string;
2451
+ };
2452
+ PUBLISHED_AT_DESC: {
2453
+ description: string;
2454
+ title: string;
2455
+ };
2456
+ };
2457
+ inactive: string;
2458
+ labels: {
2459
+ "filter-debates": string;
2460
+ "sort-debates": string;
2461
+ };
2462
+ "live-poll": string;
2463
+ "load-more-debates": string;
2464
+ "no-arguments-yet": string;
2465
+ "no-debates": string;
2466
+ option_one: string;
2467
+ option_other: string;
2468
+ placeholders: {
2469
+ "new-commentary": string;
2470
+ };
2471
+ "thank-you-for-vote": string;
2472
+ viewed: string;
2473
+ vote_one: string;
2474
+ vote_other: string;
2475
+ voted: string;
2476
+ "your-vote-heading": string;
2477
+ };
2478
+ readonly discussions: {
2479
+ alerts: {
2480
+ "bookmark-limit": {
2481
+ message: string;
2482
+ };
2483
+ "featured-comments-only": {
2484
+ message: string;
2485
+ title_one: string;
2486
+ title_other: string;
2487
+ };
2488
+ "ignore-user-limit": {
2489
+ message: string;
2490
+ };
2491
+ "moderate-hint": {
2492
+ cta: string;
2493
+ description: string;
2494
+ };
2495
+ "no-bookmarks": {
2496
+ message: string;
2497
+ title: string;
2498
+ };
2499
+ "no-comments": {
2500
+ message: string;
2501
+ title: string;
2502
+ };
2503
+ "no-ignored-users": {
2504
+ message: string;
2505
+ title: string;
2506
+ };
2507
+ };
2508
+ attachments: {
2509
+ "image-crop-hint": string;
2510
+ "image-invalid-aspect-ratio": string;
2511
+ "image-not-supported": string;
2512
+ "image-size-warning": string;
2513
+ "image-status": {
2514
+ expired: string;
2515
+ pending: string;
2516
+ };
2517
+ "image-too-large": string;
2518
+ };
2519
+ "comment-as": string;
2520
+ "commentary-actions": {
2521
+ bookmark: {
2522
+ active: string;
2523
+ deletable: string;
2524
+ inactive: string;
2525
+ };
2526
+ delete: string;
2527
+ edit: string;
2528
+ ignore: {
2529
+ action: string;
2530
+ hint: string;
2531
+ submitted: string;
2532
+ title: string;
2533
+ };
2534
+ moderate: string;
2535
+ reaction: {
2536
+ REACTION_AGREE: string;
2537
+ REACTION_AGREE_zero: string;
2538
+ REACTION_DISAGREE: string;
2539
+ REACTION_DISAGREE_zero: string;
2540
+ REACTION1: string;
2541
+ REACTION1_zero: string;
2542
+ REACTION2: string;
2543
+ REACTION2_zero: string;
2544
+ REACTION3: string;
2545
+ REACTION3_zero: string;
2546
+ };
2547
+ reply: string;
2548
+ report: {
2549
+ action: string;
2550
+ "contact-me-confirmation": string;
2551
+ dsa: {
2552
+ "main-category": {
2553
+ ANIMAL_WELFARE: string;
2554
+ CHILD_AND_YOUTH_PROTECTION: string;
2555
+ CONSUMER_INFORMATION_VIOLATIONS: string;
2556
+ CYBER_VIOLENCE: string;
2557
+ CYBER_VIOLENCE_AGAINST_WOMEN: string;
2558
+ DATA_PROTECTION_AND_PRIVACY_VIOLATIONS: string;
2559
+ DECEPTION_AND_OR_FRAUD: string;
2560
+ ILLEGAL_STATEMENTS_OR_HARMFUL_SPEECH: string;
2561
+ INTELLECTUAL_PROPERTY_VIOLATIONS: string;
2562
+ NEGATIVE_IMPACT_ON_PUBLIC_DISCOURSE_OR_ELECTIONS: string;
2563
+ OTHER: string;
2564
+ SELF_HARM: string;
2565
+ THREAT_TO_PUBLIC_SAFETY: string;
2566
+ UNSAFE_NONCOMPLIANT_OR_PROHIBITED_PRODUCTS: string;
2567
+ VIOLENCE: string;
2568
+ };
2569
+ "report-target": {
2570
+ AUTHORITY: string;
2571
+ FLAGGER: string;
2572
+ PERSON: string;
2573
+ };
2574
+ "report-target-title": string;
2575
+ "select-main-category": string;
2576
+ "select-sub-category": string;
2577
+ "sub-category": {
2578
+ AGE_SPECIFIC_RESTRICTIONS_FOR_MINORS: string;
2579
+ ANIMAL_CRUELTY: string;
2580
+ BIOMETRIC_DATA_PROTECTION_VIOLATION: string;
2581
+ CONTENT_PROMOTING_EATING_DISORDERS: string;
2582
+ COPYRIGHT_VIOLATIONS: string;
2583
+ CYBER_HARASSMENT: string;
2584
+ CYBERBULLYING_AGAINST_WOMEN: string;
2585
+ CYBERSTALKING: string;
2586
+ CYBERSTALKING_AGAINST_WOMEN: string;
2587
+ DANGEROUS_CHALLENGES: string;
2588
+ DATA_FALSIFICATION: string;
2589
+ DEFAMATION: string;
2590
+ DEPICTIONS_OF_CHILD_SEXUAL_ABUSE: string;
2591
+ DEPICTIONS_OF_CHILD_SEXUAL_ABUSE_DEEPFAKE: string;
2592
+ DESIGN_RIGHTS_VIOLATIONS: string;
2593
+ DISCRIMINATION: string;
2594
+ FAKE_ACCOUNTS: string;
2595
+ FAKE_LISTINGS: string;
2596
+ FAKE_USER_REVIEWS: string;
2597
+ GENDER_SPECIFIC_DISINFORMATION: string;
2598
+ GENERAL_CALLS_OR_INCITEMENT_TO_VIOLENCE_AND_OR_HATRED: string;
2599
+ GEOGRAPHICAL_INDICATIONS_VIOLATIONS: string;
2600
+ GROOMING_OF_MINORS: string;
2601
+ HIDDEN_ADVERTISING_OR_COMMERCIAL_COMMUNICATION: string;
2602
+ HUMAN_EXPLOITATION: string;
2603
+ HUMAN_TRAFFICKING: string;
2604
+ IDENTITY_FRAUD_OR_ACCOUNT_TAKEOVER: string;
2605
+ ILLEGAL_INCITEMENT_TO_VIOLENCE_AND_HATRED_AGAINST_WOMEN: string;
2606
+ ILLEGAL_INCITEMENT_TO_VIOLENCE_AND_HATRED_BASED_ON_PROTECTED_CHARACTERISTICS: string;
2607
+ ILLEGAL_ORGANIZATIONS: string;
2608
+ ILLEGAL_SALE_OF_ANIMALS: string;
2609
+ INCITEMENT_TO_VIOLENCE: string;
2610
+ INCITEMENT_TO_VIOLENCE_OR_HATRED_ONLINE: string;
2611
+ INSUFFICIENT_INFORMATION_ABOUT_TRADERS: string;
2612
+ MISINFORMATION_DISINFORMATION_AND_FOREIGN_INFORMATION_MANIPULATION: string;
2613
+ MISLEADING_INFORMATION_ABOUT_CONSUMER_RIGHTS: string;
2614
+ MISLEADING_INFORMATION_ABOUT_GOODS_AND_SERVICES: string;
2615
+ MISSING_BASIS_FOR_DATA_PROCESSING: string;
2616
+ NON_COMPLIANCE_WITH_PRICING_REGULATIONS: string;
2617
+ NON_CONSENSUAL_SHARING_OF_DEEPFAKE_MATERIAL: string;
2618
+ NON_CONSENSUAL_SHARING_OF_DEEPFAKE_MATERIAL_AGAINST_WOMEN: string;
2619
+ NON_CONSENSUAL_SHARING_OF_INTIMATE_MATERIAL: string;
2620
+ NON_CONSENSUAL_SHARING_OF_INTIMATE_MATERIAL_AGAINST_WOMEN: string;
2621
+ ONLINE_BULLYING_AND_INTIMIDATION: string;
2622
+ ONLINE_BULLYING_AND_INTIMIDATION_OF_GIRLS: string;
2623
+ OTHER: string;
2624
+ PATENT_VIOLATIONS: string;
2625
+ PHISHING: string;
2626
+ PROHIBITED_OR_RESTRICTED_PRODUCTS: string;
2627
+ PYRAMID_SCHEMES: string;
2628
+ RIGHT_TO_BE_FORGOTTEN: string;
2629
+ RISK_OF_ENVIRONMENTAL_DAMAGE: string;
2630
+ RISK_TO_PUBLIC_HEALTH: string;
2631
+ SELF_MUTILATION: string;
2632
+ SUICIDE: string;
2633
+ TERRORIST_CONTENT: string;
2634
+ TRADE_SECRET_VIOLATIONS: string;
2635
+ TRADEMARK_VIOLATIONS: string;
2636
+ TRAFFICKING_OF_WOMEN_AND_GIRLS: string;
2637
+ UNSAFE_OR_NONCOMPLIANT_PRODUCTS: string;
2638
+ VIOLATION_OF_EU_LAW_REGARDING_PUBLIC_DISCOURSE_OR_ELECTIONS: string;
2639
+ VIOLATION_OF_NATIONAL_LAW_REGARDING_PUBLIC_DISCOURSE_OR_ELECTIONS: string;
2640
+ };
2641
+ };
2642
+ "dsa-confirmation": string;
2643
+ "justification-description": string;
2644
+ reasons: {
2645
+ BEHAVIOUR: string;
2646
+ BULLY: string;
2647
+ FAKE: string;
2648
+ HATE: string;
2649
+ LEGAL: string;
2650
+ OTHER: string;
2651
+ PRIVACY: string;
2652
+ SEXUAL: string;
2653
+ SPAM: string;
2654
+ TERMS: string;
2655
+ TOXIC: string;
2656
+ USERNAME: string;
2657
+ VIOLENCE: string;
2658
+ };
2659
+ submitted: string;
2660
+ title: string;
2661
+ };
2662
+ share: string;
2663
+ unignore: string;
2664
+ };
2665
+ "commentary-not-available": string;
2666
+ feedback: string;
2667
+ filters: {
2668
+ CREATED_AT_ASC: {
2669
+ description: string;
2670
+ header: string;
2671
+ title: string;
2672
+ };
2673
+ CREATED_AT_DESC: {
2674
+ description: string;
2675
+ header: string;
2676
+ title: string;
2677
+ };
2678
+ LIST: {
2679
+ description: string;
2680
+ title: string;
2681
+ };
2682
+ POPULARITY_DESC: {
2683
+ description: string;
2684
+ header: string;
2685
+ title: string;
2686
+ };
2687
+ sort: string;
2688
+ THREAD: {
2689
+ description: string;
2690
+ title: string;
2691
+ };
2692
+ };
2693
+ labels: {
2694
+ "author-badge": string;
2695
+ "comment-list": string;
2696
+ "commentary-actions": string;
2697
+ "sort-comments": string;
2698
+ "view-structure": string;
2699
+ };
2700
+ "new-commentary": string;
2701
+ "new-commentary_other": string;
2702
+ "no-comments-yet": string;
2703
+ "no-more-comments": string;
2704
+ "no-recent-comments": string;
2705
+ "onboarding-username-change": string;
2706
+ placeholders: {
2707
+ "new-commentary": string;
2708
+ "new-reply": string;
2709
+ };
2710
+ "reply-as": string;
2711
+ "reply-to": string;
2712
+ "show-less": string;
2713
+ "show-more": string;
2714
+ "text-editor": {
2715
+ bold: string;
2716
+ emojis: string;
2717
+ image: string;
2718
+ italic: string;
2719
+ underline: string;
2720
+ };
2721
+ "username-change-blocked": string;
2722
+ "username-change-confirm": string;
2723
+ "view-mode": string;
2724
+ "view-modes": {
2725
+ "all-comments": string;
2726
+ featured: string;
2727
+ focus: string;
2728
+ list: string;
2729
+ live: string;
1557
2730
  };
1558
2731
  views: {
1559
2732
  user: {
@@ -1576,6 +2749,7 @@ declare const resources: {
1576
2749
  };
1577
2750
  };
1578
2751
  };
2752
+ "visibility-hidden": string;
1579
2753
  };
1580
2754
  readonly emojis: {
1581
2755
  categories: {
@@ -1762,7 +2936,7 @@ declare const resources: {
1762
2936
  };
1763
2937
  };
1764
2938
  };
1765
- en: {
2939
+ se: {
1766
2940
  readonly common: {
1767
2941
  account: {
1768
2942
  account: string;
@@ -1,7 +1,7 @@
1
1
  import type { ColorSchemesConfig } from '../../themes/_types';
2
2
  import type { ButtonSizes, ButtonVariants, ComponentColorScheme, ThemeAnimations, ThemeBreakpoints, ThemeLevels, ThemePalette, ThemeShadows, ThemeShape, ThemeSpacing, ThemeTypography } from '../../themes/config';
3
3
  import type emptyTheme from '../../themes/unstyled';
4
- import type { CommentaryActionPlacements } from '../../../common';
4
+ import type { ArgumentActionPlacements, CommentaryActionPlacements } from '../../../common';
5
5
  /**
6
6
  * Theme styles are custom styles that are different depending on the chosen
7
7
  * theme. For example in theme-a the button could have a drop shadow, whereas
@@ -15,6 +15,7 @@ export type ThemeStyles = typeof emptyTheme;
15
15
  * of styles.
16
16
  */
17
17
  export type ThemeSettings = {
18
+ argumentActionPlacements?: ArgumentActionPlacements;
18
19
  avatarSize: number;
19
20
  buttonDiscussionFocusColor?: ComponentColorScheme;
20
21
  buttonDiscussionFocusVariant: ButtonVariants;
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "main": "./index.ts",
15
15
  "name": "@engagently/types",
16
16
  "types": "dist/types/engagently.d.ts",
17
- "version": "7.4.0",
17
+ "version": "7.5.2",
18
18
  "scripts": {
19
19
  "build": "vite build",
20
20
  "clean": "rimraf dist"