tycho-components 0.28.10 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/configs/Localization.d.ts +2 -2
  2. package/dist/configs/Localization.js +21 -39
  3. package/dist/configs/index.d.ts +2 -0
  4. package/dist/configs/index.js +1 -0
  5. package/dist/configs/types/Document.d.ts +3 -3
  6. package/dist/configs/types/Document.js +4 -4
  7. package/dist/features/index.d.ts +15 -32
  8. package/dist/features/index.js +11 -21
  9. package/package.json +3 -3
  10. package/dist/features/DocumentDrawer/Actions/Actions.d.ts +0 -17
  11. package/dist/features/DocumentDrawer/Actions/Actions.js +0 -121
  12. package/dist/features/DocumentDrawer/Actions/PageRemoveSentences.d.ts +0 -7
  13. package/dist/features/DocumentDrawer/Actions/PageRemoveSentences.js +0 -23
  14. package/dist/features/DocumentDrawer/Actions/index.d.ts +0 -2
  15. package/dist/features/DocumentDrawer/Actions/index.js +0 -2
  16. package/dist/features/DocumentDrawer/Actions/style.scss +0 -0
  17. package/dist/features/DocumentDrawer/AutomaticParser/AutomaticParser.d.ts +0 -8
  18. package/dist/features/DocumentDrawer/AutomaticParser/AutomaticParser.js +0 -96
  19. package/dist/features/DocumentDrawer/AutomaticParser/index.d.ts +0 -2
  20. package/dist/features/DocumentDrawer/AutomaticParser/index.js +0 -2
  21. package/dist/features/DocumentDrawer/AutomaticParser/style.scss +0 -10
  22. package/dist/features/DocumentDrawer/DocumentDrawer.d.ts +0 -19
  23. package/dist/features/DocumentDrawer/DocumentDrawer.js +0 -102
  24. package/dist/features/DocumentDrawer/DocumentEdit/DocumentEdit.d.ts +0 -35
  25. package/dist/features/DocumentDrawer/DocumentEdit/DocumentEdit.js +0 -207
  26. package/dist/features/DocumentDrawer/DocumentEdit/index.d.ts +0 -2
  27. package/dist/features/DocumentDrawer/DocumentEdit/index.js +0 -1
  28. package/dist/features/DocumentDrawer/DocumentExport/DocumentExport.d.ts +0 -7
  29. package/dist/features/DocumentDrawer/DocumentExport/DocumentExport.js +0 -83
  30. package/dist/features/DocumentDrawer/DocumentExport/ExportInvalidSentences.d.ts +0 -7
  31. package/dist/features/DocumentDrawer/DocumentExport/ExportInvalidSentences.js +0 -12
  32. package/dist/features/DocumentDrawer/DocumentExport/ExportTxtTierModal.d.ts +0 -8
  33. package/dist/features/DocumentDrawer/DocumentExport/ExportTxtTierModal.js +0 -14
  34. package/dist/features/DocumentDrawer/DocumentExport/index.d.ts +0 -2
  35. package/dist/features/DocumentDrawer/DocumentExport/index.js +0 -2
  36. package/dist/features/DocumentDrawer/DocumentExport/style.scss +0 -49
  37. package/dist/features/DocumentDrawer/DocumentLexicon/DocumentLexicon.d.ts +0 -7
  38. package/dist/features/DocumentDrawer/DocumentLexicon/DocumentLexicon.js +0 -22
  39. package/dist/features/DocumentDrawer/DocumentLexicon/index.d.ts +0 -2
  40. package/dist/features/DocumentDrawer/DocumentLexicon/index.js +0 -2
  41. package/dist/features/DocumentDrawer/DocumentLexicon/style.scss +0 -38
  42. package/dist/features/DocumentDrawer/DocumentRemove/DocumentRemove.d.ts +0 -12
  43. package/dist/features/DocumentDrawer/DocumentRemove/DocumentRemove.js +0 -28
  44. package/dist/features/DocumentDrawer/DocumentRemove/index.d.ts +0 -2
  45. package/dist/features/DocumentDrawer/DocumentRemove/index.js +0 -2
  46. package/dist/features/DocumentDrawer/DocumentRemove/style.scss +0 -0
  47. package/dist/features/DocumentDrawer/Github/Github.d.ts +0 -8
  48. package/dist/features/DocumentDrawer/Github/Github.js +0 -11
  49. package/dist/features/DocumentDrawer/Github/GithubCommit.d.ts +0 -8
  50. package/dist/features/DocumentDrawer/Github/GithubCommit.js +0 -86
  51. package/dist/features/DocumentDrawer/Github/index.d.ts +0 -2
  52. package/dist/features/DocumentDrawer/Github/index.js +0 -2
  53. package/dist/features/DocumentDrawer/Github/style.scss +0 -31
  54. package/dist/features/DocumentDrawer/ImageGallery/GalleryImage.d.ts +0 -8
  55. package/dist/features/DocumentDrawer/ImageGallery/GalleryImage.js +0 -5
  56. package/dist/features/DocumentDrawer/ImageGallery/GalleryRemoval.d.ts +0 -9
  57. package/dist/features/DocumentDrawer/ImageGallery/GalleryRemoval.js +0 -14
  58. package/dist/features/DocumentDrawer/ImageGallery/ImageGallery.d.ts +0 -9
  59. package/dist/features/DocumentDrawer/ImageGallery/ImageGallery.js +0 -45
  60. package/dist/features/DocumentDrawer/ImageGallery/index.d.ts +0 -2
  61. package/dist/features/DocumentDrawer/ImageGallery/index.js +0 -2
  62. package/dist/features/DocumentDrawer/ImageGallery/style.scss +0 -41
  63. package/dist/features/DocumentDrawer/Inconsistency/Inconsistency.d.ts +0 -8
  64. package/dist/features/DocumentDrawer/Inconsistency/Inconsistency.js +0 -18
  65. package/dist/features/DocumentDrawer/Inconsistency/InconsistencyActions.d.ts +0 -7
  66. package/dist/features/DocumentDrawer/Inconsistency/InconsistencyActions.js +0 -77
  67. package/dist/features/DocumentDrawer/Inconsistency/InconsistencyResponse.d.ts +0 -31
  68. package/dist/features/DocumentDrawer/Inconsistency/InconsistencyResponse.js +0 -39
  69. package/dist/features/DocumentDrawer/Inconsistency/InconsistencyService.d.ts +0 -6
  70. package/dist/features/DocumentDrawer/Inconsistency/InconsistencyService.js +0 -8
  71. package/dist/features/DocumentDrawer/Inconsistency/style.scss +0 -64
  72. package/dist/features/DocumentDrawer/Info/Info.d.ts +0 -10
  73. package/dist/features/DocumentDrawer/Info/Info.js +0 -16
  74. package/dist/features/DocumentDrawer/Info/index.d.ts +0 -2
  75. package/dist/features/DocumentDrawer/Info/index.js +0 -2
  76. package/dist/features/DocumentDrawer/Info/style.scss +0 -24
  77. package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/DocumentMetadata.d.ts +0 -8
  78. package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/DocumentMetadata.js +0 -60
  79. package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/index.d.ts +0 -2
  80. package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/index.js +0 -2
  81. package/dist/features/DocumentDrawer/Metadata/DocumentMetadata/style.scss +0 -7
  82. package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/DocumentMetadataEdit.d.ts +0 -11
  83. package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/DocumentMetadataEdit.js +0 -195
  84. package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/index.d.ts +0 -2
  85. package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/index.js +0 -2
  86. package/dist/features/DocumentDrawer/Metadata/DocumentMetadataEdit/style.scss +0 -58
  87. package/dist/features/DocumentDrawer/PageStatusComponent/PageStatusComponent.d.ts +0 -9
  88. package/dist/features/DocumentDrawer/PageStatusComponent/PageStatusComponent.js +0 -30
  89. package/dist/features/DocumentDrawer/PageStatusComponent/index.d.ts +0 -2
  90. package/dist/features/DocumentDrawer/PageStatusComponent/index.js +0 -2
  91. package/dist/features/DocumentDrawer/PageStatusComponent/style.scss +0 -19
  92. package/dist/features/DocumentDrawer/Pages/BoxRemoval.d.ts +0 -10
  93. package/dist/features/DocumentDrawer/Pages/BoxRemoval.js +0 -14
  94. package/dist/features/DocumentDrawer/Pages/Boxes.d.ts +0 -10
  95. package/dist/features/DocumentDrawer/Pages/Boxes.js +0 -65
  96. package/dist/features/DocumentDrawer/Pages/PageRemoval.d.ts +0 -10
  97. package/dist/features/DocumentDrawer/Pages/PageRemoval.js +0 -15
  98. package/dist/features/DocumentDrawer/Pages/Pages.d.ts +0 -10
  99. package/dist/features/DocumentDrawer/Pages/Pages.js +0 -67
  100. package/dist/features/DocumentDrawer/Pages/style.scss +0 -48
  101. package/dist/features/DocumentDrawer/deps.d.ts +0 -28
  102. package/dist/features/DocumentDrawer/deps.js +0 -20
  103. package/dist/features/DocumentDrawer/functions/FileUtils.d.ts +0 -4
  104. package/dist/features/DocumentDrawer/functions/FileUtils.js +0 -8
  105. package/dist/features/DocumentDrawer/functions/MetadataUtils.d.ts +0 -41
  106. package/dist/features/DocumentDrawer/functions/MetadataUtils.js +0 -192
  107. package/dist/features/DocumentDrawer/index.d.ts +0 -7
  108. package/dist/features/DocumentDrawer/index.js +0 -4
  109. package/dist/features/DocumentDrawer/localization/ActionsTexts.d.ts +0 -119
  110. package/dist/features/DocumentDrawer/localization/ActionsTexts.js +0 -119
  111. package/dist/features/DocumentDrawer/localization/DocumentTexts.d.ts +0 -137
  112. package/dist/features/DocumentDrawer/localization/DocumentTexts.js +0 -137
  113. package/dist/features/DocumentDrawer/localization/ExportTexts.d.ts +0 -74
  114. package/dist/features/DocumentDrawer/localization/ExportTexts.js +0 -74
  115. package/dist/features/DocumentDrawer/localization/GithubTexts.d.ts +0 -35
  116. package/dist/features/DocumentDrawer/localization/GithubTexts.js +0 -35
  117. package/dist/features/DocumentDrawer/localization/InconsistencyTexts.d.ts +0 -101
  118. package/dist/features/DocumentDrawer/localization/InconsistencyTexts.js +0 -101
  119. package/dist/features/DocumentDrawer/localization/PageTexts.d.ts +0 -45
  120. package/dist/features/DocumentDrawer/localization/PageTexts.js +0 -45
  121. package/dist/features/DocumentDrawer/localization/ParserTexts.d.ts +0 -30
  122. package/dist/features/DocumentDrawer/localization/ParserTexts.js +0 -30
  123. package/dist/features/DocumentDrawer/services/AutomaticParserService.d.ts +0 -8
  124. package/dist/features/DocumentDrawer/services/AutomaticParserService.js +0 -9
  125. package/dist/features/DocumentDrawer/services/BoundingBoxService.d.ts +0 -11
  126. package/dist/features/DocumentDrawer/services/BoundingBoxService.js +0 -20
  127. package/dist/features/DocumentDrawer/services/DocumentService.d.ts +0 -13
  128. package/dist/features/DocumentDrawer/services/DocumentService.js +0 -20
  129. package/dist/features/DocumentDrawer/services/ExportService.d.ts +0 -11
  130. package/dist/features/DocumentDrawer/services/ExportService.js +0 -22
  131. package/dist/features/DocumentDrawer/services/GithubService.d.ts +0 -8
  132. package/dist/features/DocumentDrawer/services/GithubService.js +0 -12
  133. package/dist/features/DocumentDrawer/services/ImageService.d.ts +0 -8
  134. package/dist/features/DocumentDrawer/services/ImageService.js +0 -12
  135. package/dist/features/DocumentDrawer/services/LexiconService.d.ts +0 -7
  136. package/dist/features/DocumentDrawer/services/LexiconService.js +0 -6
  137. package/dist/features/DocumentDrawer/services/MetadataService.d.ts +0 -11
  138. package/dist/features/DocumentDrawer/services/MetadataService.js +0 -18
  139. package/dist/features/DocumentDrawer/services/PageService.d.ts +0 -13
  140. package/dist/features/DocumentDrawer/services/PageService.js +0 -19
  141. package/dist/features/DocumentDrawer/services/SentenceService.d.ts +0 -6
  142. package/dist/features/DocumentDrawer/services/SentenceService.js +0 -6
  143. package/dist/features/DocumentDrawer/style.scss +0 -192
  144. package/dist/features/DocumentDrawer/types/BoundingBox.d.ts +0 -8
  145. package/dist/features/DocumentDrawer/types/BoundingBox.js +0 -1
  146. package/dist/features/DocumentDrawer/types/CatalogSearchFilter.d.ts +0 -15
  147. package/dist/features/DocumentDrawer/types/CatalogSearchFilter.js +0 -16
  148. package/dist/features/DocumentDrawer/types/Category.d.ts +0 -16
  149. package/dist/features/DocumentDrawer/types/Category.js +0 -5
  150. package/dist/features/DocumentDrawer/types/DocumentDrawerActionId.d.ts +0 -3
  151. package/dist/features/DocumentDrawer/types/DocumentDrawerActionId.js +0 -14
  152. package/dist/features/DocumentDrawer/types/DocumentStatus.d.ts +0 -7
  153. package/dist/features/DocumentDrawer/types/DocumentStatus.js +0 -6
  154. package/dist/features/DocumentDrawer/types/DocumentUpdateRequest.d.ts +0 -13
  155. package/dist/features/DocumentDrawer/types/DocumentUpdateRequest.js +0 -1
  156. package/dist/features/DocumentDrawer/types/Export.d.ts +0 -30
  157. package/dist/features/DocumentDrawer/types/Export.js +0 -46
  158. package/dist/features/DocumentDrawer/types/Lexicon.d.ts +0 -6
  159. package/dist/features/DocumentDrawer/types/Lexicon.js +0 -1
  160. package/dist/features/DocumentDrawer/types/LexiconResponse.d.ts +0 -6
  161. package/dist/features/DocumentDrawer/types/LexiconResponse.js +0 -1
  162. package/dist/features/DocumentDrawer/types/Metadata.d.ts +0 -22
  163. package/dist/features/DocumentDrawer/types/Metadata.js +0 -8
  164. package/dist/features/DocumentDrawer/types/Page.d.ts +0 -10
  165. package/dist/features/DocumentDrawer/types/Page.js +0 -1
  166. package/dist/features/DocumentDrawer/types/PageStatus.d.ts +0 -9
  167. package/dist/features/DocumentDrawer/types/PageStatus.js +0 -8
  168. package/dist/features/DocumentDrawer/types/Parser.d.ts +0 -18
  169. package/dist/features/DocumentDrawer/types/Parser.js +0 -21
  170. package/dist/features/DocumentDrawer/types/Query.d.ts +0 -6
  171. package/dist/features/DocumentDrawer/types/Query.js +0 -1
  172. package/dist/features/DocumentDrawer/types/Sentence.d.ts +0 -4
  173. package/dist/features/DocumentDrawer/types/Sentence.js +0 -1
  174. package/dist/features/Participants/ParticipantCreate/ParticipantCreate.d.ts +0 -8
  175. package/dist/features/Participants/ParticipantCreate/ParticipantCreate.js +0 -44
  176. package/dist/features/Participants/ParticipantCreate/index.d.ts +0 -2
  177. package/dist/features/Participants/ParticipantCreate/index.js +0 -2
  178. package/dist/features/Participants/ParticipantRemove/ParticipantRemove.d.ts +0 -11
  179. package/dist/features/Participants/ParticipantRemove/ParticipantRemove.js +0 -39
  180. package/dist/features/Participants/ParticipantRemove/index.d.ts +0 -2
  181. package/dist/features/Participants/ParticipantRemove/index.js +0 -2
  182. package/dist/features/Participants/ParticipantRemove/style.scss +0 -15
  183. package/dist/features/Participants/ParticipantService.d.ts +0 -10
  184. package/dist/features/Participants/ParticipantService.js +0 -19
  185. package/dist/features/Participants/Participants.d.ts +0 -10
  186. package/dist/features/Participants/Participants.js +0 -134
  187. package/dist/features/Participants/index.d.ts +0 -2
  188. package/dist/features/Participants/index.js +0 -2
  189. package/dist/features/Participants/style.scss +0 -51
  190. package/dist/features/SentenceSplit/SentenceSplit.d.ts +0 -33
  191. package/dist/features/SentenceSplit/SentenceSplit.js +0 -191
  192. package/dist/features/SentenceSplit/SentenceSplitAudio/SentenceSplitAudioStep.d.ts +0 -9
  193. package/dist/features/SentenceSplit/SentenceSplitAudio/SentenceSplitAudioStep.js +0 -38
  194. package/dist/features/SentenceSplit/SentenceSplitAudio/index.d.ts +0 -2
  195. package/dist/features/SentenceSplit/SentenceSplitAudio/index.js +0 -2
  196. package/dist/features/SentenceSplit/SentenceSplitAudio/style.scss +0 -29
  197. package/dist/features/SentenceSplit/SentenceSplitChoose/SentenceSplitChoose.d.ts +0 -10
  198. package/dist/features/SentenceSplit/SentenceSplitChoose/SentenceSplitChoose.js +0 -23
  199. package/dist/features/SentenceSplit/SentenceSplitChoose/index.d.ts +0 -2
  200. package/dist/features/SentenceSplit/SentenceSplitChoose/index.js +0 -2
  201. package/dist/features/SentenceSplit/SentenceSplitChoose/style.scss +0 -25
  202. package/dist/features/SentenceSplit/SentenceSplitCommentUtils.d.ts +0 -21
  203. package/dist/features/SentenceSplit/SentenceSplitCommentUtils.js +0 -77
  204. package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentBlock.d.ts +0 -7
  205. package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentBlock.js +0 -6
  206. package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitComments.d.ts +0 -8
  207. package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitComments.js +0 -37
  208. package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsStep.d.ts +0 -11
  209. package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsStep.js +0 -72
  210. package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsWords.d.ts +0 -9
  211. package/dist/features/SentenceSplit/SentenceSplitComments/SentenceSplitCommentsWords.js +0 -15
  212. package/dist/features/SentenceSplit/SentenceSplitComments/index.d.ts +0 -2
  213. package/dist/features/SentenceSplit/SentenceSplitComments/index.js +0 -2
  214. package/dist/features/SentenceSplit/SentenceSplitComments/style.scss +0 -126
  215. package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreview.d.ts +0 -10
  216. package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreview.js +0 -10
  217. package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreviewStep.d.ts +0 -11
  218. package/dist/features/SentenceSplit/SentenceSplitPreview/SentenceSplitPreviewStep.js +0 -24
  219. package/dist/features/SentenceSplit/SentenceSplitPreview/index.d.ts +0 -2
  220. package/dist/features/SentenceSplit/SentenceSplitPreview/index.js +0 -2
  221. package/dist/features/SentenceSplit/SentenceSplitPreview/style.scss +0 -24
  222. package/dist/features/SentenceSplit/SentenceSplitService.d.ts +0 -13
  223. package/dist/features/SentenceSplit/SentenceSplitService.js +0 -13
  224. package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslations.d.ts +0 -12
  225. package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslations.js +0 -15
  226. package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslationsStep.d.ts +0 -10
  227. package/dist/features/SentenceSplit/SentenceSplitTranslations/SentenceSplitTranslationsStep.js +0 -8
  228. package/dist/features/SentenceSplit/SentenceSplitTranslations/index.d.ts +0 -2
  229. package/dist/features/SentenceSplit/SentenceSplitTranslations/index.js +0 -2
  230. package/dist/features/SentenceSplit/SentenceSplitTranslations/style.scss +0 -23
  231. package/dist/features/SentenceSplit/SentenceSplitUtils.d.ts +0 -6
  232. package/dist/features/SentenceSplit/SentenceSplitUtils.js +0 -17
  233. package/dist/features/SentenceSplit/index.d.ts +0 -2
  234. package/dist/features/SentenceSplit/index.js +0 -2
  235. package/dist/features/SentenceSplit/localization/SentenceSplitTexts.d.ts +0 -107
  236. package/dist/features/SentenceSplit/localization/SentenceSplitTexts.js +0 -107
  237. package/dist/features/SentenceSplit/style.scss +0 -173
  238. package/dist/features/SentenceSplit/types/Language.d.ts +0 -6
  239. package/dist/features/SentenceSplit/types/Language.js +0 -1
  240. package/dist/features/SentenceSplit/types/SentenceSplitRequest.d.ts +0 -20
  241. package/dist/features/SentenceSplit/types/SentenceSplitRequest.js +0 -16
  242. /package/dist/{features/Participants → configs}/types/Participant.d.ts +0 -0
  243. /package/dist/{features/Participants → configs}/types/Participant.js +0 -0
@@ -1,192 +0,0 @@
1
- .drawer-container {
2
- display: flex;
3
- flex-direction: column;
4
- height: 100%;
5
- overflow: hidden;
6
-
7
- > .drawer-header {
8
- display: flex;
9
- background-color: #1651aa;
10
- color: var(--text-on-color-light);
11
- border-bottom: 1px solid var(--border-subtle-2);
12
- padding: 8px 24px;
13
- gap: 4px;
14
-
15
- .corpus {
16
- @include subtitle-small-2;
17
- }
18
-
19
- .document {
20
- @include body-medium-2;
21
- }
22
-
23
- .ds-icon-button {
24
- margin-left: auto;
25
-
26
- &:hover {
27
- background-color: #13458f;
28
- }
29
-
30
- .ds-icon {
31
- color: var(--text-on-color-light) !important;
32
- }
33
- }
34
- }
35
-
36
- > .drawer-body {
37
- display: flex;
38
- }
39
-
40
- .info-col {
41
- width: 75%;
42
- overflow-y: auto;
43
- height: 94vh;
44
-
45
- .header {
46
- @include subtitle-medium-2;
47
- display: flex;
48
- align-items: center;
49
- justify-content: space-between;
50
- background-color: var(--layer-hover-2);
51
- padding: 8px 16px;
52
- border-bottom: 1px solid var(--border-subtle-2);
53
- }
54
-
55
- .body {
56
- .action-line {
57
- display: flex;
58
- cursor: pointer;
59
- border-bottom: var(--border-default);
60
- min-height: 96px;
61
-
62
- .action-button {
63
- display: flex;
64
- flex-direction: column;
65
- align-items: center;
66
- padding: 10px;
67
- margin: auto 16px;
68
- border: var(--border-default);
69
- border-radius: var(--border-200);
70
- }
71
-
72
- .action-desc {
73
- display: flex;
74
- flex-direction: column;
75
- margin-top: auto;
76
- margin-bottom: auto;
77
- padding-right: 16px;
78
- gap: 8px;
79
-
80
- > .title {
81
- @include label-medium-2;
82
- }
83
- }
84
-
85
- &:hover {
86
- background-color: var(--layer-hover-1);
87
- }
88
- }
89
- }
90
- }
91
-
92
- .tabs-col {
93
- width: 25%;
94
- background-color: #185abd;
95
- padding: 0;
96
-
97
- // Hide MUI Tabs indicator
98
- .MuiTabs-indicator {
99
- display: none;
100
- }
101
-
102
- // Style MUI Tab root elements
103
- .MuiTab-root {
104
- font-family: var(--font-family);
105
- cursor: pointer;
106
- display: flex;
107
- flex-direction: row;
108
- height: 100%;
109
- padding: 12px 0 12px 24px;
110
- color: var(--text-on-color-light);
111
- text-transform: none;
112
- min-height: auto;
113
- align-items: center;
114
- justify-content: flex-start;
115
-
116
- &.Mui-selected {
117
- background-color: #13458f;
118
- }
119
-
120
- &:hover {
121
- background-color: #1651aa;
122
- }
123
-
124
- .title {
125
- @include label-medium-1;
126
- }
127
- }
128
-
129
- .nav-link-icon {
130
- width: 25%;
131
- display: inline-block;
132
- text-align: center;
133
-
134
- .ds-icon {
135
- color: var(--text-on-color-light);
136
- }
137
- }
138
- }
139
- }
140
-
141
- .offcanvas-file {
142
- width: 42vw;
143
-
144
- > .MuiPaper-root {
145
- width: 42vw !important;
146
- }
147
- }
148
-
149
- @media (max-width: 1366px) {
150
- .offcanvas-file {
151
- width: 50vw;
152
-
153
- > .MuiPaper-root {
154
- width: 56vw !important;
155
- }
156
- }
157
- }
158
-
159
- @media (max-width: 768px) {
160
- .offcanvas-file {
161
- width: 90vw;
162
-
163
- > .MuiPaper-root {
164
- width: 90vw !important;
165
- }
166
- }
167
- }
168
-
169
- @media (max-width: 767px) {
170
- .offcanvas-file {
171
- width: 90vw;
172
-
173
- > .MuiPaper-root {
174
- width: 90vw !important;
175
- }
176
- }
177
-
178
- .drawer-container {
179
- .nav-item-close .title,
180
- .nav .title {
181
- display: none;
182
- }
183
-
184
- .info-col {
185
- width: 80%;
186
- }
187
-
188
- .tabs-col {
189
- width: 20%;
190
- }
191
- }
192
- }
@@ -1,8 +0,0 @@
1
- import type { UploadedFile } from '../../../common/AppDropzone/UploadedFile';
2
- type BoundingBox = {
3
- uid: string;
4
- document: string;
5
- order: number;
6
- image?: UploadedFile;
7
- };
8
- export default BoundingBox;
@@ -1 +0,0 @@
1
- export {};
@@ -1,15 +0,0 @@
1
- import type { DocumentStatus } from '../../../configs/types/Document';
2
- import type { MetadataQueryRequest } from './Query';
3
- import { AppPageable } from '../../../common/AppTable/types/AppPageable';
4
- export type CatalogSearchFilter = AppPageable & {
5
- metadata: MetadataQueryRequest[];
6
- documents: string[];
7
- categories: string[];
8
- name?: string;
9
- status?: DocumentStatus[];
10
- category?: string;
11
- seed?: number;
12
- };
13
- export declare const emptyCatalogSearchFilter: (useGrid: boolean) => CatalogSearchFilter;
14
- export declare function hasActiveCatalogFilter(filter?: CatalogSearchFilter): boolean;
15
- export default CatalogSearchFilter;
@@ -1,16 +0,0 @@
1
- import { EMPTY_GRID_PAGEABLE, EMPTY_PAGEABLE, } from '../../../common/AppTable/types/AppPageable';
2
- export const emptyCatalogSearchFilter = (useGrid) => ({
3
- metadata: [],
4
- documents: [],
5
- categories: [],
6
- ...(useGrid ? EMPTY_GRID_PAGEABLE : EMPTY_PAGEABLE),
7
- });
8
- export function hasActiveCatalogFilter(filter) {
9
- if (!filter)
10
- return false;
11
- return ((filter.metadata?.length ?? 0) > 0 ||
12
- (filter.documents?.length ?? 0) > 0 ||
13
- (filter.categories?.length ?? 0) > 0 ||
14
- !!filter.name?.trim() ||
15
- (filter.status?.length ?? 0) > 0);
16
- }
@@ -1,16 +0,0 @@
1
- type Category = {
2
- uid: string;
3
- name: string;
4
- isParent: boolean;
5
- order: number;
6
- parent?: string;
7
- value?: string;
8
- total?: number;
9
- children?: Category[];
10
- };
11
- export declare const EMPTY_CATEGORY: {
12
- uid: string;
13
- name: string;
14
- isParent: boolean;
15
- };
16
- export default Category;
@@ -1,5 +0,0 @@
1
- export const EMPTY_CATEGORY = {
2
- uid: '',
3
- name: '',
4
- isParent: false,
5
- };
@@ -1,3 +0,0 @@
1
- export declare const DOCUMENT_DRAWER_ACTION_IDS: readonly ["documents", "edition", "syntactic", "resume", "transcription", "automatic", "sync", "remove", "inconsistency"];
2
- export type DocumentDrawerActionId = (typeof DOCUMENT_DRAWER_ACTION_IDS)[number];
3
- export declare function isDocumentDrawerActionId(value: string): value is DocumentDrawerActionId;
@@ -1,14 +0,0 @@
1
- export const DOCUMENT_DRAWER_ACTION_IDS = [
2
- 'documents',
3
- 'edition',
4
- 'syntactic',
5
- 'resume',
6
- 'transcription',
7
- 'automatic',
8
- 'sync',
9
- 'remove',
10
- 'inconsistency',
11
- ];
12
- export function isDocumentDrawerActionId(value) {
13
- return DOCUMENT_DRAWER_ACTION_IDS.includes(value);
14
- }
@@ -1,7 +0,0 @@
1
- export type DocumentStatus = 'EDITING' | 'EDITED' | 'SYNTACTIC' | 'COMPLETED';
2
- export declare const DocumentStatusNames: {
3
- EDITING: string;
4
- EDITED: string;
5
- SYNTACTIC: string;
6
- COMPLETED: string;
7
- };
@@ -1,6 +0,0 @@
1
- export const DocumentStatusNames = {
2
- EDITING: 'document.status.editing',
3
- EDITED: 'document.status.edited',
4
- SYNTACTIC: 'document.status.syntactic',
5
- COMPLETED: 'document.status.completed',
6
- };
@@ -1,13 +0,0 @@
1
- import { DocumentStatus } from '../../../configs/types/Document';
2
- import { PlatformTools } from '../../../functions/ToolsUtils';
3
- export type DocumentUpdateRequest = {
4
- name?: string;
5
- translated?: string;
6
- author?: string;
7
- reference?: string;
8
- description?: string;
9
- category?: string;
10
- status?: DocumentStatus;
11
- visible?: boolean;
12
- defaultTool?: PlatformTools;
13
- };
@@ -1,30 +0,0 @@
1
- export type ExportType = 'TYCHO' | 'PSD' | 'CSV' | 'POS' | 'TEXT' | 'CHAT' | 'CONLLU';
2
- export declare const ExportTypeNames: {
3
- TYCHO: string;
4
- PSD: string;
5
- CSV: string;
6
- POS: string;
7
- TEXT: string;
8
- CHAT: string;
9
- CONLLU: string;
10
- };
11
- type Export = {
12
- uid: string;
13
- type: ExportType;
14
- status: 'IN_PROGRESS' | 'SUCCESS' | 'FAILED';
15
- url: string;
16
- error?: string;
17
- completed?: boolean;
18
- };
19
- type ExportTypeItem = {
20
- type: ExportType;
21
- icon: string;
22
- active: boolean;
23
- };
24
- export declare const EXPORT_TYPE_DISPLAY: ExportTypeItem[];
25
- export type TxtExportTier = 'ORIGINAL' | 'ILLEGIBLE' | 'INFLECTION';
26
- export declare const TXT_EXPORT_TIER_OPTIONS: {
27
- tier: TxtExportTier;
28
- labelKey: string;
29
- }[];
30
- export default Export;
@@ -1,46 +0,0 @@
1
- export const ExportTypeNames = {
2
- TYCHO: 'export.type.tycho',
3
- PSD: 'export.type.psd',
4
- CSV: 'export.type.csv',
5
- POS: 'export.type.pos',
6
- TEXT: 'export.type.text',
7
- CHAT: 'export.type.chat',
8
- CONLLU: 'export.type.conllu',
9
- };
10
- export const EXPORT_TYPE_DISPLAY = [
11
- {
12
- type: 'TYCHO',
13
- icon: 'local_parking',
14
- active: true,
15
- },
16
- {
17
- type: 'PSD',
18
- icon: 'graph_4',
19
- active: true,
20
- },
21
- {
22
- type: 'CSV',
23
- icon: 'csv',
24
- active: false,
25
- },
26
- {
27
- type: 'POS',
28
- icon: 'text_snippet',
29
- active: true,
30
- },
31
- {
32
- type: 'CONLLU',
33
- icon: 'format_list_bulleted',
34
- active: true,
35
- },
36
- {
37
- type: 'TEXT',
38
- icon: 'description',
39
- active: true,
40
- },
41
- ];
42
- export const TXT_EXPORT_TIER_OPTIONS = [
43
- { tier: 'ORIGINAL', labelKey: 'modal.txt.tier.diplomatic' },
44
- { tier: 'ILLEGIBLE', labelKey: 'modal.txt.tier.semiDiplomatic' },
45
- { tier: 'INFLECTION', labelKey: 'modal.txt.tier.modernized' },
46
- ];
@@ -1,6 +0,0 @@
1
- type Lexicon = {
2
- uid: string;
3
- name: string;
4
- picture?: string;
5
- };
6
- export default Lexicon;
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- type LexiconResponse = {
2
- value: string;
3
- tag: string;
4
- ops: Record<string, string>;
5
- };
6
- export default LexiconResponse;
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- export type MetadataType = 'TEXT' | 'DATE' | 'NUMBER' | 'LOCALE' | 'LIST' | 'YEAR';
2
- export declare const MetadataTypeNames: {
3
- DATE: string;
4
- LIST: string;
5
- LOCALE: string;
6
- NUMBER: string;
7
- TEXT: string;
8
- YEAR: string;
9
- };
10
- type Metadata = {
11
- uid: string;
12
- name: string;
13
- symbol?: string;
14
- observation: string;
15
- order: number;
16
- type: MetadataType;
17
- values?: string;
18
- options?: string[];
19
- min?: number;
20
- max?: number;
21
- };
22
- export default Metadata;
@@ -1,8 +0,0 @@
1
- export const MetadataTypeNames = {
2
- DATE: 'DATE',
3
- LIST: 'LIST',
4
- LOCALE: 'LOCALE',
5
- NUMBER: 'NUMBER',
6
- TEXT: 'TEXT',
7
- YEAR: 'YEAR',
8
- };
@@ -1,10 +0,0 @@
1
- import type { UploadedFile } from '../../../common/AppDropzone/UploadedFile';
2
- import { PageStatus } from './PageStatus';
3
- type Page = {
4
- uid: string;
5
- picture: string;
6
- image?: UploadedFile;
7
- order: number;
8
- status: PageStatus;
9
- };
10
- export default Page;
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- export type PageStatus = 'TRANSCRIPTION' | 'EDITION' | 'REVIEW' | 'COMPLETED';
2
- export declare const PageStatusNames: {
3
- TRANSCRIPTION: string;
4
- EDITION: string;
5
- REVIEW: string;
6
- COMPLETED: string;
7
- PROCESSING: string;
8
- ERROR: string;
9
- };
@@ -1,8 +0,0 @@
1
- export const PageStatusNames = {
2
- TRANSCRIPTION: 'page.status.transcription',
3
- EDITION: 'page.status.edition',
4
- REVIEW: 'page.status.review',
5
- COMPLETED: 'page.status.completed',
6
- PROCESSING: 'page.status.processing',
7
- ERROR: 'page.status.error',
8
- };
@@ -1,18 +0,0 @@
1
- export declare const STANFORD_MODELS: Parser[];
2
- type Parser = {
3
- id: string;
4
- name: string;
5
- };
6
- export type ParserAutoRequest = {
7
- reprocess: boolean;
8
- resetTags: boolean;
9
- };
10
- export type ParserAutoResponse = {
11
- total: number;
12
- parsed: number;
13
- executed?: number;
14
- errors?: number;
15
- completed: boolean;
16
- };
17
- export declare const EMPTY_PARSER_REQUEST: ParserAutoRequest;
18
- export default Parser;
@@ -1,21 +0,0 @@
1
- export const STANFORD_MODELS = [
2
- { name: 'Arabic - Stanford', id: 'arabicFactored' },
3
- { name: 'Chinese (Factored) - Stanford', id: 'chineseFactored' },
4
- { name: 'Chinese (PCFG) - Stanford', id: 'chinesePCFG' },
5
- {
6
- name: 'English - Stanford',
7
- id: 'englishPCFG.caseless',
8
- },
9
- { name: 'German - Stanford', id: 'germanPCFG' },
10
- { name: 'Spanish - Stanford', id: 'spanishPCFG' },
11
- { name: 'Xinhua (Factored) - Stanford', id: 'xinhuaFactored' },
12
- {
13
- name: 'Xinhua (Factored Segmenting) - Stanford',
14
- id: 'xinhuaFactoredSegmenting',
15
- },
16
- { name: 'Xinhua (PCFG) - Stanford', id: 'xinhuaPCFG' },
17
- ];
18
- export const EMPTY_PARSER_REQUEST = {
19
- reprocess: false,
20
- resetTags: false,
21
- };
@@ -1,6 +0,0 @@
1
- import { MetadataType } from './Metadata';
2
- export type MetadataQueryRequest = {
3
- uid: string;
4
- values: string[];
5
- type: MetadataType;
6
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- type Sentence = {
2
- uid: string;
3
- };
4
- export default Sentence;
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- import Participant from '../types/Participant';
2
- type Props = {
3
- document: string;
4
- onClose: () => void;
5
- onCreate: (p: Participant) => void;
6
- };
7
- export default function ParticipantCreate({ document, onClose, onCreate, }: Props): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,44 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { yupResolver } from '@hookform/resolvers/yup';
3
- import { useContext } from 'react';
4
- import { useForm } from 'react-hook-form';
5
- import { useTranslation } from 'react-i18next';
6
- import { TextField } from 'tycho-storybook';
7
- import * as yup from 'yup';
8
- import AppModal from '../../../common/AppModal';
9
- import CommonContext from '../../../configs/CommonContext';
10
- import ParticipantService from '../ParticipantService';
11
- import { useMessageUtils } from '../../../configs/useMessageUtils';
12
- export default function ParticipantCreate({ document, onClose, onCreate, }) {
13
- const { t } = useTranslation('participants');
14
- const { state } = useContext(CommonContext);
15
- const { dispatchLoading, dispatchError } = useMessageUtils();
16
- const createdForm = useForm({
17
- resolver: yupResolver(getFormSchema(t)),
18
- mode: 'onChange',
19
- });
20
- const handleAdd = () => {
21
- if (state.toastLoading)
22
- return;
23
- dispatchLoading(true);
24
- ParticipantService.add(document, createdForm.getValues())
25
- .then((r) => {
26
- onCreate(r.data);
27
- })
28
- .catch((err) => {
29
- dispatchError({ err, t, key: 'participants' });
30
- })
31
- .finally(() => {
32
- dispatchLoading(false);
33
- });
34
- };
35
- return (_jsx(AppModal, { title: t('modal.add.title'), className: "modal-participant", close: onClose, confirm: handleAdd, disableConfirm: !createdForm.formState.isValid, children: _jsxs("div", { className: "participant-container", children: [_jsx(TextField, { label: t('modal.input.code'), attr: "code",
36
- // @ts-ignore
37
- createdForm: createdForm, showEndAdornment: false, placeholder: t('common:generic.placeholder'), required: true }), _jsx(TextField, { label: t('modal.input.name'), attr: "name",
38
- // @ts-ignore
39
- createdForm: createdForm, showEndAdornment: false, placeholder: t('common:generic.placeholder') })] }) }));
40
- }
41
- const getFormSchema = (t) => yup.object().shape({
42
- code: yup.string().required(t('common:validation.required')),
43
- name: yup.string().required(t('common:validation.required')),
44
- });
@@ -1,2 +0,0 @@
1
- import ParticipantCreate from './ParticipantCreate';
2
- export default ParticipantCreate;
@@ -1,2 +0,0 @@
1
- import ParticipantCreate from './ParticipantCreate';
2
- export default ParticipantCreate;
@@ -1,11 +0,0 @@
1
- import Participant from '../types/Participant';
2
- import './style.scss';
3
- type Props = {
4
- participant: Participant;
5
- participants: Participant[];
6
- document: string;
7
- onClose: () => void;
8
- onChange: (p: Participant[]) => void;
9
- };
10
- export default function ParticipantRemove({ participant, participants, document, onClose, onChange, }: Props): import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,39 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Box, Modal } from '@mui/material';
3
- import { useContext } from 'react';
4
- import { useTranslation } from 'react-i18next';
5
- import { Button, Icon, SelectField } from 'tycho-storybook';
6
- import { modalRemoveStyle } from '../../../common/AppModal/AppModalRemove';
7
- import CommonContext from '../../../configs/CommonContext';
8
- import { useMessageUtils } from '../../../configs/useMessageUtils';
9
- import ParticipantService from '../ParticipantService';
10
- import { useForm } from 'react-hook-form';
11
- import './style.scss';
12
- export default function ParticipantRemove({ participant, participants, document, onClose, onChange, }) {
13
- const { t } = useTranslation('participants');
14
- const { state } = useContext(CommonContext);
15
- const { dispatchLoading } = useMessageUtils();
16
- const createdForm = useForm({
17
- mode: 'onChange',
18
- });
19
- const handleRemove = () => {
20
- if (state.toastLoading || !participant)
21
- return;
22
- dispatchLoading(true);
23
- ParticipantService.remove(document, participant.code, createdForm.getValues().code)
24
- .then(() => {
25
- const list = participants?.filter((p) => p.code !== participant.code) || [];
26
- onChange(list);
27
- })
28
- .finally(() => {
29
- dispatchLoading(false);
30
- });
31
- };
32
- let subtitle = t('modal.remove.description');
33
- return (_jsx(Modal, { open: true, children: _jsxs(Box, { className: "modal-container modal-remove", sx: modalRemoveStyle, children: [_jsxs("div", { className: "body", children: [_jsxs("div", { className: "line", children: [_jsx(Icon, { name: "warning", size: "large", filled: true }), _jsxs("div", { className: "texts", children: [_jsx("span", { className: "title", children: t('modal.remove.title') }), _jsx("span", { className: "subtitle", children: subtitle })] })] }), participants.length !== 1 && (_jsxs("div", { className: "select-participant", children: [_jsxs("b", { children: [t('modal.remove.participant'), " ", participant.name, " (", participant.code, ")"] }), _jsx(SelectField, { label: t('modal.select.transfer'), attr: "code", createdForm: createdForm, options: participants
34
- .filter((p) => p.code !== participant.code)
35
- .map((p) => ({
36
- value: p.code,
37
- label: `${p.code} - ${p.name}`,
38
- })), showEndAdornment: false })] }))] }), _jsxs("div", { className: "footer", children: [_jsx(Button, { onClick: onClose, text: t('common:button.cancel'), mode: "tonal" }), _jsx(Button, { onClick: handleRemove, text: t('common:button.confirm') })] })] }) }));
39
- }
@@ -1,2 +0,0 @@
1
- import ParticipantRemove from './ParticipantRemove';
2
- export default ParticipantRemove;