@tilde-nlp/ngx-common 7.0.1 → 8.0.1

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 (324) hide show
  1. package/fesm2022/tilde-nlp-ngx-common.mjs +81 -94
  2. package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
  3. package/index.d.ts +2468 -3
  4. package/package.json +6 -6
  5. package/web-components/index.html +1 -1
  6. package/web-components/main.js +26 -32
  7. package/web-components/styles.css +1 -1
  8. package/lib/close-button/close-button.component.d.ts +0 -13
  9. package/lib/close-button/close-button.module.d.ts +0 -11
  10. package/lib/close-button/index.d.ts +0 -2
  11. package/lib/company-product/company-product.component.d.ts +0 -7
  12. package/lib/company-product/company-product.module.d.ts +0 -8
  13. package/lib/company-product/index.d.ts +0 -2
  14. package/lib/confirmation-modal/confirmation-modal.component.d.ts +0 -12
  15. package/lib/confirmation-modal/confirmation-modal.module.d.ts +0 -11
  16. package/lib/confirmation-modal/index.d.ts +0 -5
  17. package/lib/confirmation-modal/models/confirmation-body.model.d.ts +0 -8
  18. package/lib/confirmation-modal/models/confirmation.enum.d.ts +0 -4
  19. package/lib/confirmation-modal/services/confirmation.service.d.ts +0 -12
  20. package/lib/confirmation-modal/services/index.d.ts +0 -1
  21. package/lib/constants/error-codes.const.d.ts +0 -3
  22. package/lib/constants/index.d.ts +0 -3
  23. package/lib/constants/last-used-system-local-storage-key.const.d.ts +0 -5
  24. package/lib/constants/screen-size.const.d.ts +0 -10
  25. package/lib/core/auth/addon.model.d.ts +0 -4
  26. package/lib/core/auth/auth-subscription.model.d.ts +0 -12
  27. package/lib/core/auth/index.d.ts +0 -4
  28. package/lib/core/auth/jwt-token.model.d.ts +0 -30
  29. package/lib/core/auth/subscription-plan.enum.d.ts +0 -16
  30. package/lib/core/index.d.ts +0 -3
  31. package/lib/core/localization/index.d.ts +0 -2
  32. package/lib/core/localization/missing-translation-handler.service.d.ts +0 -8
  33. package/lib/core/localization/select-language-dialog-component/index.d.ts +0 -1
  34. package/lib/core/localization/select-language-dialog-component/select-language-dialog.component.d.ts +0 -15
  35. package/lib/core/title-strategy/custom-title-strategy.provider.d.ts +0 -2
  36. package/lib/core/title-strategy/custom-title-strategy.service.d.ts +0 -14
  37. package/lib/core/title-strategy/index.d.ts +0 -2
  38. package/lib/directives/click-outside/click-outside.directive.d.ts +0 -10
  39. package/lib/directives/click-outside/click-outside.module.d.ts +0 -8
  40. package/lib/directives/click-outside/index.d.ts +0 -2
  41. package/lib/directives/drag-and-drop/drag-and-drop.directive.d.ts +0 -14
  42. package/lib/directives/drag-and-drop/drag-and-drop.module.d.ts +0 -8
  43. package/lib/directives/drag-and-drop/index.d.ts +0 -2
  44. package/lib/directives/index.d.ts +0 -3
  45. package/lib/directives/mat-button-loading/index.d.ts +0 -2
  46. package/lib/directives/mat-button-loading/mat-button-loading.directive.d.ts +0 -18
  47. package/lib/directives/mat-button-loading/mat-button-loading.module.d.ts +0 -8
  48. package/lib/extension-dialog/components/index.d.ts +0 -1
  49. package/lib/extension-dialog/components/open-extension-dialog/open-extension-dialog.component.d.ts +0 -10
  50. package/lib/extension-dialog/extension-dialog.component.d.ts +0 -21
  51. package/lib/extension-dialog/extension-dialog.module.d.ts +0 -15
  52. package/lib/extension-dialog/icons/file-types/excel.icon.d.ts +0 -1
  53. package/lib/extension-dialog/icons/file-types/index.d.ts +0 -9
  54. package/lib/extension-dialog/icons/file-types/interchange.icon.d.ts +0 -1
  55. package/lib/extension-dialog/icons/file-types/office-other.icon.d.ts +0 -1
  56. package/lib/extension-dialog/icons/file-types/other.icon.d.ts +0 -1
  57. package/lib/extension-dialog/icons/file-types/pdf.icon.d.ts +0 -1
  58. package/lib/extension-dialog/icons/file-types/powerpoint.icon.d.ts +0 -1
  59. package/lib/extension-dialog/icons/file-types/scanned.icon.d.ts +0 -1
  60. package/lib/extension-dialog/icons/file-types/web.icon.d.ts +0 -1
  61. package/lib/extension-dialog/icons/file-types/word.icon.d.ts +0 -1
  62. package/lib/extension-dialog/icons/index.d.ts +0 -1
  63. package/lib/extension-dialog/index.d.ts +0 -5
  64. package/lib/extension-dialog/models/enums/file-categories.enum.d.ts +0 -7
  65. package/lib/extension-dialog/models/enums/file-extensions.enum.d.ts +0 -34
  66. package/lib/extension-dialog/models/enums/file-type-icons.enum.d.ts +0 -11
  67. package/lib/extension-dialog/models/enums/file-types.enum.d.ts +0 -11
  68. package/lib/extension-dialog/models/enums/index.d.ts +0 -4
  69. package/lib/extension-dialog/models/index.d.ts +0 -2
  70. package/lib/extension-dialog/models/interfaces/config.d.ts +0 -18
  71. package/lib/extension-dialog/models/interfaces/dialog-data.model.d.ts +0 -3
  72. package/lib/extension-dialog/models/interfaces/index.d.ts +0 -2
  73. package/lib/extension-dialog/services/extension-dialog.service.d.ts +0 -9
  74. package/lib/extension-dialog/services/index.d.ts +0 -1
  75. package/lib/file-upload/file-upload.component.d.ts +0 -39
  76. package/lib/file-upload/file-upload.module.d.ts +0 -15
  77. package/lib/file-upload/index.d.ts +0 -3
  78. package/lib/file-upload/models/file-upload-error-type.enum.d.ts +0 -6
  79. package/lib/file-upload/models/file-upload-error.model.d.ts +0 -7
  80. package/lib/file-upload/models/file-upload.icon.d.ts +0 -1
  81. package/lib/file-upload/models/index.d.ts +0 -2
  82. package/lib/filter-bar/filter-bar.component.d.ts +0 -54
  83. package/lib/filter-bar/filter-bar.module.d.ts +0 -19
  84. package/lib/filter-bar/index.d.ts +0 -3
  85. package/lib/filter-bar/models/filter-bar-change-event.model.d.ts +0 -6
  86. package/lib/filter-bar/models/filter-bar-filter-item.model.d.ts +0 -11
  87. package/lib/filter-bar/models/filter-bar-filter-search.model.d.ts +0 -10
  88. package/lib/filter-bar/models/filter-bar-filter-single-selection.model.d.ts +0 -13
  89. package/lib/filter-bar/models/filter-bar-filter.model.d.ts +0 -24
  90. package/lib/filter-bar/models/filter-bar-settings.model.d.ts +0 -20
  91. package/lib/filter-bar/models/index.d.ts +0 -4
  92. package/lib/footer/footer.component.d.ts +0 -15
  93. package/lib/footer/footer.module.d.ts +0 -11
  94. package/lib/footer/index.d.ts +0 -2
  95. package/lib/global-message/global-message.component.d.ts +0 -10
  96. package/lib/global-message/index.d.ts +0 -1
  97. package/lib/helpers/auth-headers.helper.d.ts +0 -4
  98. package/lib/helpers/conversion.helper.d.ts +0 -4
  99. package/lib/helpers/custom-paginator-internatioinalization.helper.d.ts +0 -9
  100. package/lib/helpers/file-extension.helper.d.ts +0 -3
  101. package/lib/helpers/file-size-label.helper.d.ts +0 -2
  102. package/lib/helpers/hash.helper.d.ts +0 -3
  103. package/lib/helpers/html-element-parse.helper.d.ts +0 -3
  104. package/lib/helpers/html.helper.d.ts +0 -18
  105. package/lib/helpers/index.d.ts +0 -12
  106. package/lib/helpers/missing-translation.helper.d.ts +0 -4
  107. package/lib/helpers/resolution.helper.d.ts +0 -3
  108. package/lib/helpers/save-file.helper.d.ts +0 -4
  109. package/lib/helpers/sort.helper.d.ts +0 -32
  110. package/lib/inline-message/index.d.ts +0 -3
  111. package/lib/inline-message/inline-message.component.d.ts +0 -10
  112. package/lib/inline-message/inline-message.module.d.ts +0 -10
  113. package/lib/inline-message/models/index.d.ts +0 -3
  114. package/lib/inline-message/models/inline-message-icon-position.enum.d.ts +0 -4
  115. package/lib/inline-message/models/inline-message-type.enum.d.ts +0 -5
  116. package/lib/inline-message/models/inline-message.model.d.ts +0 -10
  117. package/lib/llm/components/llm-rephrase/llm-rephrase.component.d.ts +0 -11
  118. package/lib/llm/components/llm-summary/llm-summary.component.d.ts +0 -11
  119. package/lib/llm/components/llm-textarea-with-actions/llm-textarea-with-actions.component.d.ts +0 -61
  120. package/lib/llm/icons/index.d.ts +0 -1
  121. package/lib/llm/icons/llm-menu.icon.d.ts +0 -2
  122. package/lib/llm/index.d.ts +0 -3
  123. package/lib/llm/llm.component.d.ts +0 -30
  124. package/lib/llm/llm.module.d.ts +0 -24
  125. package/lib/llm/models/index.d.ts +0 -3
  126. package/lib/llm/models/llm-actions.enum.d.ts +0 -4
  127. package/lib/llm/models/llm-configuration.model.d.ts +0 -6
  128. package/lib/llm/models/llm-configuration.token.d.ts +0 -3
  129. package/lib/llm/models/llm-data.model.d.ts +0 -12
  130. package/lib/llm/models/llm-writing-style.enum.d.ts +0 -5
  131. package/lib/llm/services/llm-helper.service.d.ts +0 -23
  132. package/lib/llm/shared/llm-textarea/llm-textarea.component.d.ts +0 -25
  133. package/lib/multi-functional-table/constants/disable-export-attribute-name.const.d.ts +0 -1
  134. package/lib/multi-functional-table/constants/index.d.ts +0 -1
  135. package/lib/multi-functional-table/index.d.ts +0 -4
  136. package/lib/multi-functional-table/models/batch-config.model.d.ts +0 -4
  137. package/lib/multi-functional-table/models/column-config.model.d.ts +0 -18
  138. package/lib/multi-functional-table/models/column-select-config.model.d.ts +0 -14
  139. package/lib/multi-functional-table/models/export-config.model.d.ts +0 -9
  140. package/lib/multi-functional-table/models/export-format.enum.d.ts +0 -3
  141. package/lib/multi-functional-table/models/filter-config.model.d.ts +0 -7
  142. package/lib/multi-functional-table/models/index.d.ts +0 -7
  143. package/lib/multi-functional-table/models/multi-functional-table-config.model.d.ts +0 -53
  144. package/lib/multi-functional-table/models/paginator-config.model.d.ts +0 -8
  145. package/lib/multi-functional-table/models/selected-column-local-storage-config.model.d.ts +0 -20
  146. package/lib/multi-functional-table/multi-functional-table.component.d.ts +0 -116
  147. package/lib/multi-functional-table/multi-functional-table.module.d.ts +0 -22
  148. package/lib/new-feature-dialog/index.d.ts +0 -2
  149. package/lib/new-feature-dialog/models/index.d.ts +0 -1
  150. package/lib/new-feature-dialog/models/mobile-screen-custom-position.model.d.ts +0 -5
  151. package/lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog-wrapper.component.d.ts +0 -26
  152. package/lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog.service.d.ts +0 -10
  153. package/lib/new-feature-dialog/new-feature-dialog.component.d.ts +0 -6
  154. package/lib/notification-message/enums/index.d.ts +0 -1
  155. package/lib/notification-message/enums/notification-message-type.enum.d.ts +0 -7
  156. package/lib/notification-message/index.d.ts +0 -4
  157. package/lib/notification-message/interfaces/index.d.ts +0 -1
  158. package/lib/notification-message/interfaces/notification-message.model.d.ts +0 -28
  159. package/lib/notification-message/notification-message.component.d.ts +0 -22
  160. package/lib/notification-message/notification-message.module.d.ts +0 -14
  161. package/lib/open-close-button/index.d.ts +0 -4
  162. package/lib/open-close-button/injection-tokens/index.d.ts +0 -1
  163. package/lib/open-close-button/injection-tokens/open-close-btn-icons.token.d.ts +0 -1
  164. package/lib/open-close-button/models/index.d.ts +0 -1
  165. package/lib/open-close-button/models/open-close-btn-icons.model.d.ts +0 -4
  166. package/lib/open-close-button/open-close-button.component.d.ts +0 -22
  167. package/lib/open-close-button/open-close-button.module.d.ts +0 -11
  168. package/lib/pipes/date-ago/date-ago.module.d.ts +0 -9
  169. package/lib/pipes/date-ago/date-ago.pipe.d.ts +0 -20
  170. package/lib/pipes/date-ago/index.d.ts +0 -2
  171. package/lib/pipes/date-ago/models/date-ago-interval.model.d.ts +0 -5
  172. package/lib/pipes/date-ago/models/date-ago-settings.model.d.ts +0 -26
  173. package/lib/pipes/date-ago/models/date-ago-settings.token.d.ts +0 -1
  174. package/lib/pipes/date-ago/models/date-ago.model.d.ts +0 -4
  175. package/lib/pipes/date-ago/models/index.d.ts +0 -4
  176. package/lib/pipes/domain-translate/domain-translate.pipe.d.ts +0 -10
  177. package/lib/pipes/domain-translate/index.d.ts +0 -1
  178. package/lib/pipes/file-size-label/enums/file-size-unit.enum.d.ts +0 -6
  179. package/lib/pipes/file-size-label/enums/index.d.ts +0 -1
  180. package/lib/pipes/file-size-label/file-size-label.pipe.d.ts +0 -8
  181. package/lib/pipes/file-size-label/index.d.ts +0 -2
  182. package/lib/pipes/filter-with-highlight/filter-with-highlight.module.d.ts +0 -8
  183. package/lib/pipes/filter-with-highlight/filter-with-highlight.pipe.d.ts +0 -7
  184. package/lib/pipes/filter-with-highlight/index.d.ts +0 -2
  185. package/lib/pipes/index.d.ts +0 -12
  186. package/lib/pipes/language-translate/index.d.ts +0 -2
  187. package/lib/pipes/language-translate/language-translate.module.d.ts +0 -8
  188. package/lib/pipes/language-translate/language-translate.pipe.d.ts +0 -21
  189. package/lib/pipes/object-length/index.d.ts +0 -2
  190. package/lib/pipes/object-length/object-length.module.d.ts +0 -8
  191. package/lib/pipes/object-length/object-length.pipe.d.ts +0 -7
  192. package/lib/pipes/sort-alphabetically/index.d.ts +0 -2
  193. package/lib/pipes/sort-alphabetically/sort-alphabetically.module.d.ts +0 -8
  194. package/lib/pipes/sort-alphabetically/sort-alphabetically.pipe.d.ts +0 -7
  195. package/lib/pipes/sort-by-number/index.d.ts +0 -1
  196. package/lib/pipes/sort-by-number/sort-by-number.pipe.d.ts +0 -7
  197. package/lib/pipes/sort-domains/index.d.ts +0 -1
  198. package/lib/pipes/sort-domains/sort-domains.pipe.d.ts +0 -15
  199. package/lib/pipes/sort-language-list/index.d.ts +0 -2
  200. package/lib/pipes/sort-language-list/models/index.d.ts +0 -1
  201. package/lib/pipes/sort-language-list/models/translated-language.model.d.ts +0 -4
  202. package/lib/pipes/sort-language-list/sort-language-list.pipe.d.ts +0 -10
  203. package/lib/pipes/sort-translations/index.d.ts +0 -2
  204. package/lib/pipes/sort-translations/sort-translations.module.d.ts +0 -8
  205. package/lib/pipes/sort-translations/sort-translations.pipe.d.ts +0 -20
  206. package/lib/pipes/sort-translations-by-property/index.d.ts +0 -2
  207. package/lib/pipes/sort-translations-by-property/sort-translations-by-property.module.d.ts +0 -8
  208. package/lib/pipes/sort-translations-by-property/sort-translations-by-property.pipe.d.ts +0 -16
  209. package/lib/plausible/index.d.ts +0 -4
  210. package/lib/plausible/models/index.d.ts +0 -1
  211. package/lib/plausible/models/plausible-event.model.d.ts +0 -7
  212. package/lib/plausible/plausible-event.directive.d.ts +0 -11
  213. package/lib/plausible/plausible.helper.d.ts +0 -15
  214. package/lib/plausible/plausible.module.d.ts +0 -8
  215. package/lib/services/alert/alert.service.d.ts +0 -37
  216. package/lib/services/alert/index.d.ts +0 -3
  217. package/lib/services/alert/injection-tokens/alert-configuration.token.d.ts +0 -1
  218. package/lib/services/alert/injection-tokens/index.d.ts +0 -1
  219. package/lib/services/alert/models/alert-configuration.model.d.ts +0 -7
  220. package/lib/services/alert/models/index.d.ts +0 -1
  221. package/lib/services/dom/dom.service.d.ts +0 -7
  222. package/lib/services/dom/index.d.ts +0 -1
  223. package/lib/services/icon/icon.service.d.ts +0 -14
  224. package/lib/services/icon/index.d.ts +0 -1
  225. package/lib/services/index.d.ts +0 -6
  226. package/lib/services/language-translate/index.d.ts +0 -1
  227. package/lib/services/language-translate/language-translate.service.d.ts +0 -10
  228. package/lib/services/notification/index.d.ts +0 -2
  229. package/lib/services/notification/models/index.d.ts +0 -2
  230. package/lib/services/notification/models/notification.model.d.ts +0 -6
  231. package/lib/services/notification/models/operations.enum.d.ts +0 -4
  232. package/lib/services/notification/notification.service.d.ts +0 -15
  233. package/lib/services/system/index.d.ts +0 -1
  234. package/lib/services/system/system.service.d.ts +0 -11
  235. package/lib/sidebar/index.d.ts +0 -2
  236. package/lib/sidebar/services/index.d.ts +0 -1
  237. package/lib/sidebar/services/sidebar.service.d.ts +0 -10
  238. package/lib/sidebar/sidebar.component.d.ts +0 -8
  239. package/lib/status-display/index.d.ts +0 -3
  240. package/lib/status-display/models/index.d.ts +0 -1
  241. package/lib/status-display/models/status-display-config.model.d.ts +0 -15
  242. package/lib/status-display/status-display.component.d.ts +0 -7
  243. package/lib/status-display/status-display.module.d.ts +0 -11
  244. package/lib/subscription/chargebee-mount.service.d.ts +0 -6
  245. package/lib/subscription/index.d.ts +0 -2
  246. package/lib/subscription/models/chargebee-settings.model.d.ts +0 -4
  247. package/lib/subscription/models/index.d.ts +0 -1
  248. package/lib/subscription/models/subscription-quota-display.model.d.ts +0 -9
  249. package/lib/subscription/models/subscription-state.enum.d.ts +0 -6
  250. package/lib/subscription/subscription.component.d.ts +0 -30
  251. package/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-card/terminology-collection-card.component.d.ts +0 -28
  252. package/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-list.component.d.ts +0 -30
  253. package/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection-dialog/terminology-create-collection-dialog.component.d.ts +0 -32
  254. package/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection.component.d.ts +0 -20
  255. package/lib/terminology/components/terminology-panel/terminology-panel.component.d.ts +0 -37
  256. package/lib/terminology/config/models/index.d.ts +0 -1
  257. package/lib/terminology/config/models/terminology-config.model.d.ts +0 -45
  258. package/lib/terminology/config/services/index.d.ts +0 -1
  259. package/lib/terminology/config/services/terminology-config/terminology-config.service.d.ts +0 -10
  260. package/lib/terminology/enums/combined-collection-tooltip-key.enum.d.ts +0 -4
  261. package/lib/terminology/enums/engine-term-collection-scope.enum.d.ts +0 -4
  262. package/lib/terminology/enums/engine-term-collection-source.enum.d.ts +0 -4
  263. package/lib/terminology/enums/engine-term-collection-status.enum.d.ts +0 -6
  264. package/lib/terminology/enums/engine-term-collection-sub-status.enum.d.ts +0 -12
  265. package/lib/terminology/enums/index.d.ts +0 -6
  266. package/lib/terminology/enums/mt-collection-status.enum.d.ts +0 -8
  267. package/lib/terminology/icons/collections-menu.icon.d.ts +0 -1
  268. package/lib/terminology/icons/index.d.ts +0 -1
  269. package/lib/terminology/index.d.ts +0 -9
  270. package/lib/terminology/models/active-data.model.d.ts +0 -23
  271. package/lib/terminology/models/add-engine-terms-request-params.model.d.ts +0 -7
  272. package/lib/terminology/models/combined-collection.model.d.ts +0 -91
  273. package/lib/terminology/models/default-term-collection-order-update.model.d.ts +0 -5
  274. package/lib/terminology/models/domain.model.d.ts +0 -9
  275. package/lib/terminology/models/engine-term-collection-access-scope-update.model.d.ts +0 -3
  276. package/lib/terminology/models/engine-term-collection-access-scope.model.d.ts +0 -4
  277. package/lib/terminology/models/engine-term-collection-access-update.model.d.ts +0 -5
  278. package/lib/terminology/models/engine-term-collection-access.model.d.ts +0 -6
  279. package/lib/terminology/models/engine-term-collection-list.model.d.ts +0 -4
  280. package/lib/terminology/models/engine-term-collection.model.d.ts +0 -24
  281. package/lib/terminology/models/index.d.ts +0 -18
  282. package/lib/terminology/models/lang-list-item.model.d.ts +0 -6
  283. package/lib/terminology/models/mt-collection.model.d.ts +0 -17
  284. package/lib/terminology/models/system.model.d.ts +0 -12
  285. package/lib/terminology/models/terminology-engine.model.d.ts +0 -15
  286. package/lib/terminology/models/tld-term-collection-languages.model.d.ts +0 -11
  287. package/lib/terminology/models/tld-term-collection.model.d.ts +0 -46
  288. package/lib/terminology/models/update-engine-terms-request-params.model.d.ts +0 -4
  289. package/lib/terminology/models/vendor.model.d.ts +0 -5
  290. package/lib/terminology/services/engine-term-api/engine-term-api.service.d.ts +0 -19
  291. package/lib/terminology/services/engine-term-api/index.d.ts +0 -1
  292. package/lib/terminology/services/index.d.ts +0 -4
  293. package/lib/terminology/services/system-api-v2/models/engine-deployment.model.d.ts +0 -9
  294. package/lib/terminology/services/system-api-v2/models/engine-domain-list.model.d.ts +0 -4
  295. package/lib/terminology/services/system-api-v2/models/engine-domain.model.d.ts +0 -5
  296. package/lib/terminology/services/system-api-v2/models/engine-list.model.d.ts +0 -4
  297. package/lib/terminology/services/system-api-v2/models/engine-status.enum.d.ts +0 -9
  298. package/lib/terminology/services/system-api-v2/models/engine-sub-status.enum.d.ts +0 -16
  299. package/lib/terminology/services/system-api-v2/models/engine.model.d.ts +0 -24
  300. package/lib/terminology/services/system-api-v2/models/index.d.ts +0 -8
  301. package/lib/terminology/services/system-api-v2/models/revision.model.d.ts +0 -9
  302. package/lib/terminology/services/system-api-v2/models/tilde-vendor.const.d.ts +0 -1
  303. package/lib/terminology/services/system-api-v2/models/worker-status.model.d.ts +0 -12
  304. package/lib/terminology/services/system-api-v2/system-api.service.d.ts +0 -17
  305. package/lib/terminology/services/terminology/terminology.service.d.ts +0 -62
  306. package/lib/terminology/services/terminology-api/terminology-api.service.d.ts +0 -18
  307. package/lib/terminology/services/terminology-collection/index.d.ts +0 -1
  308. package/lib/terminology/services/terminology-collection/terminology-collection.service.d.ts +0 -17
  309. package/lib/terminology/terminology.component.d.ts +0 -42
  310. package/lib/terminology/terminology.module.d.ts +0 -28
  311. package/lib/text-to-speech/index.d.ts +0 -2
  312. package/lib/text-to-speech/models/index.d.ts +0 -1
  313. package/lib/text-to-speech/models/voice.model.d.ts +0 -4
  314. package/lib/text-to-speech/services/tts-api.service.d.ts +0 -9
  315. package/lib/text-to-speech/text-to-speech.component.d.ts +0 -21
  316. package/lib/tld-loader/index.d.ts +0 -2
  317. package/lib/tld-loader/tld-loader.component.d.ts +0 -5
  318. package/lib/tld-loader/tld-loader.module.d.ts +0 -7
  319. package/lib/toast/index.d.ts +0 -2
  320. package/lib/toast/models/toast.model.d.ts +0 -5
  321. package/lib/toast/toast-service/index.d.ts +0 -1
  322. package/lib/toast/toast-service/toast-service.service.d.ts +0 -12
  323. package/lib/toast/toast.component.d.ts +0 -11
  324. package/public-api.d.ts +0 -28
package/index.d.ts CHANGED
@@ -1,5 +1,2470 @@
1
+ import * as i8 from '@angular/material/icon';
2
+ import { MatIconRegistry } from '@angular/material/icon';
3
+ import { DomSanitizer, Title } from '@angular/platform-browser';
4
+ import * as i0 from '@angular/core';
5
+ import { OnInit, EventEmitter, PipeTransform, ChangeDetectorRef, ElementRef, ViewContainerRef, Renderer2, AfterViewInit, OnDestroy, AfterContentInit, QueryList, OnChanges, SimpleChanges, InjectionToken, TemplateRef, Provider } from '@angular/core';
6
+ import * as rxjs from 'rxjs';
7
+ import { Observable, Subscription, Subject } from 'rxjs';
8
+ import { HttpClient } from '@angular/common/http';
9
+ import * as i3 from '@ngx-translate/core';
10
+ import { TranslateService, MissingTranslationHandler, MissingTranslationHandlerParams } from '@ngx-translate/core';
11
+ import * as i2 from '@angular/common';
12
+ import * as i5 from '@angular/material/tooltip';
13
+ import * as i4 from '@angular/material/button';
14
+ import { MatButton } from '@angular/material/button';
15
+ import * as i3$1 from '@ngbracket/ngx-layout';
16
+ import * as i5$1 from '@angular/router';
17
+ import { TitleStrategy, RouterStateSnapshot } from '@angular/router';
18
+ import * as i16 from '@angular/material/paginator';
19
+ import { MatPaginatorIntl, PageEvent, MatPaginator } from '@angular/material/paginator';
20
+ import * as i3$2 from '@angular/material/progress-bar';
21
+ import * as i6 from '@angular/material/dialog';
22
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
23
+ import * as i8$1 from '@angular/forms';
24
+ import { FormGroup, FormBuilder, FormControl } from '@angular/forms';
25
+ import * as i7 from '@angular/material/select';
26
+ import { MatSelectChange } from '@angular/material/select';
27
+ import * as i4$1 from '@angular/material/input';
28
+ import * as i5$2 from '@angular/material/form-field';
29
+ import * as _tilde_nlp_ngx_common from '@tilde-nlp/ngx-common';
30
+ import { SelectionModel } from '@angular/cdk/collections';
31
+ import * as i11 from '@angular/material/sort';
32
+ import { MatSort } from '@angular/material/sort';
33
+ import * as i3$3 from '@angular/material/table';
34
+ import { MatTableDataSource, MatHeaderRowDef, MatRowDef, MatColumnDef, MatNoDataRow, MatTable } from '@angular/material/table';
35
+ import * as i6$1 from '@angular/material/menu';
36
+ import * as i7$1 from '@angular/material/checkbox';
37
+ import * as i4$2 from '@angular/material/progress-spinner';
38
+ import * as i18 from '@angular/material/radio';
39
+ import { LLMRephraseUseCase, LLMSummaryUseCase, QuotaService, LLMService, QuotaUsage, QuotaResponse, QuotaType } from '@tilde-nlp/ngx-services';
40
+ import * as i11$1 from '@angular/cdk/clipboard';
41
+ import { Clipboard } from '@angular/cdk/clipboard';
42
+
43
+ declare class IconService {
44
+ private readonly iconRegistry;
45
+ private readonly sanitizer;
46
+ constructor(iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
47
+ /** Registers svg icons to mat icon registry. Icon SVG's should be under some key in object. Icon name can be used with property name in lowercase. */
48
+ registerIcons(icons: any): void;
49
+ registerIconFromUrl(name: string, url: string): void;
50
+ addSvgIconSet(path: string, namespace?: string): void;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<IconService, never>;
52
+ static ɵprov: i0.ɵɵInjectableDeclaration<IconService>;
53
+ }
54
+
55
+ declare class DOMService {
56
+ get window(): Window | null;
57
+ get localStorage(): Storage | null;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<DOMService, never>;
59
+ static ɵprov: i0.ɵɵInjectableDeclaration<DOMService>;
60
+ }
61
+
62
+ declare enum NotificationMessageType {
63
+ BASIC = "BASIC",
64
+ INFO = "INFO",
65
+ WARNING = "WARNING",
66
+ SUCCESS = "SUCCESS",
67
+ ERROR = "ERROR"
68
+ }
69
+
70
+ interface NotificationMessage {
71
+ type: NotificationMessageType;
72
+ id?: string;
73
+ title?: string;
74
+ body?: string;
75
+ localizationParams?: any;
76
+ buttonText?: string;
77
+ linkText?: string;
78
+ linkHref?: string;
79
+ routerLink?: string;
80
+ hideClose?: boolean;
81
+ /**
82
+ * Provide following params to use callback button instead of close button.
83
+ */
84
+ callbackButtonText?: string;
85
+ callbackButtonIcon?: string;
86
+ callbackButtonClick?: () => void;
87
+ error?: any;
88
+ /**
89
+ * Localization key for support info for message. If value is not null, it is displayed right after body text.
90
+ */
91
+ support?: string;
92
+ /**
93
+ * Set this to true and provide same message object in case you want to remove message from outside.
94
+ */
95
+ delete?: boolean;
96
+ }
97
+
98
+ declare class NotificationMessageComponent implements OnInit {
99
+ message: NotificationMessage;
100
+ buttonClicked: EventEmitter<any>;
101
+ closeClicked: EventEmitter<any>;
102
+ linkClicked: EventEmitter<any>;
103
+ /** Adds additional class that makes message to take less space on screen. */
104
+ inline: boolean;
105
+ readonly iconNames: {
106
+ [key in NotificationMessageType]: string;
107
+ };
108
+ className: string;
109
+ ngOnInit(): void;
110
+ buttonClick(): void;
111
+ closeClick(): void;
112
+ linkClick(): void;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationMessageComponent, never>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationMessageComponent, "lib-tld-notification-message", never, { "message": { "alias": "message"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; }, { "buttonClicked": "buttonClicked"; "closeClicked": "closeClicked"; "linkClicked": "linkClicked"; }, never, never, false, never>;
115
+ }
116
+
117
+ declare class CloseButtonComponent {
118
+ tldClick: EventEmitter<any>;
119
+ ariaCode: string;
120
+ clearButton: MatButton;
121
+ disabled: boolean;
122
+ tooltip: string;
123
+ clicked(): void;
124
+ static ɵfac: i0.ɵɵFactoryDeclaration<CloseButtonComponent, never>;
125
+ static ɵcmp: i0.ɵɵComponentDeclaration<CloseButtonComponent, "tld-close-button", never, { "ariaCode": { "alias": "ariaCode"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "tldClick": "tldClick"; }, never, never, false, never>;
126
+ }
127
+
128
+ declare class CloseButtonModule {
129
+ static ɵfac: i0.ɵɵFactoryDeclaration<CloseButtonModule, never>;
130
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CloseButtonModule, [typeof CloseButtonComponent], [typeof i2.CommonModule, typeof i4.MatButtonModule, typeof i3.TranslateModule, typeof i5.MatTooltipModule], [typeof CloseButtonComponent]>;
131
+ static ɵinj: i0.ɵɵInjectorDeclaration<CloseButtonModule>;
132
+ }
133
+
134
+ declare class NotificationMessageModule {
135
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationMessageModule, never>;
136
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationMessageModule, [typeof NotificationMessageComponent], [typeof i2.CommonModule, typeof i3$1.FlexLayoutModule, typeof CloseButtonModule, typeof i4.MatButtonModule, typeof i3.TranslateModule, typeof i5$1.RouterModule, typeof i8.MatIconModule], [typeof NotificationMessageComponent]>;
137
+ static ɵinj: i0.ɵɵInjectorDeclaration<NotificationMessageModule>;
138
+ }
139
+
140
+ interface AlertConfiguration {
141
+ supportEmail: string;
142
+ registerLink: string;
143
+ contactSupport: boolean;
144
+ subscriptionSupport: boolean;
145
+ availableLanguages: any;
146
+ }
147
+
148
+ declare class AlertService {
149
+ private readonly config;
150
+ constructor(config: AlertConfiguration);
151
+ private messageSubject;
152
+ get defaultParams(): {
153
+ email: string;
154
+ registerLink: string;
155
+ };
156
+ private readonly defaultErrorKey;
157
+ private readonly errorKey;
158
+ private readonly numericErrorKeyPrefix;
159
+ private readonly titlePostFix;
160
+ private readonly supportPostFix;
161
+ private readonly subscriptionPostFix;
162
+ defaultError(error?: any): void;
163
+ getMessages(): rxjs.Observable<NotificationMessage>;
164
+ basic(text: string, params?: any): void;
165
+ info(text: string, params?: any): void;
166
+ success(text: string, params?: any): void;
167
+ error(text: string, error: any, params?: any): void;
168
+ warning(text: string, params?: any, hideClose?: boolean): void;
169
+ deleteMessage(type: NotificationMessageType, text: string, params?: any, hideClose?: boolean): void;
170
+ unhandeledError(error: any, errorTranslationSubKeys?: string[], params?: any): void;
171
+ findErrorTitleAndLocalizationKey(error: unknown, errorTranslationSubKeys: string[]): {
172
+ title: string;
173
+ description: string;
174
+ };
175
+ private findErrorKey;
176
+ private emit;
177
+ private getSupportMessage;
178
+ private findPostfix;
179
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, [{ optional: true; }]>;
180
+ static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
181
+ }
182
+
183
+ declare const ALERT_CONFIGURATION_TOKEN = "ALERT_CONFIGURATION_TOKEN";
184
+
185
+ interface System {
186
+ sourceLanguage: string;
187
+ targetLanguage: string;
188
+ id: string;
189
+ domain: string | null;
190
+ vendor: string;
191
+ /** Property created only for frontend, to seperate multi language engines and give unique id for each one of them */
192
+ languageId: string;
193
+ /** If system has terminology support. This field is only in API v1 and comes from metadata. */
194
+ includesTerminology?: boolean;
195
+ detectedLanguage?: string;
196
+ }
197
+
1
198
  /**
2
- * Generated bundle index. Do not edit.
199
+ * Interface for configurating collection support from MT api and Tilde Term.
3
200
  */
4
- /// <amd-module name="@tilde-nlp/ngx-common" />
5
- export * from './public-api';
201
+ interface TerminologyConfig {
202
+ appName?: string;
203
+ isAuth?: boolean;
204
+ xApiKey?: string;
205
+ maxRecentSystemCount?: number;
206
+ defaultDomains?: string[];
207
+ autoDomainDetection?: boolean;
208
+ systemListUrl?: string;
209
+ defaultVendor?: string;
210
+ allowedSystemStatuses?: string[];
211
+ appId?: string;
212
+ /** Tilde term portal API url */
213
+ terminologyPortalUrl?: string;
214
+ /** If user has permissions to create/edit new collection. This should be validated outside of the library */
215
+ canCreateCollection?: boolean;
216
+ /** Whether collections should be read from both APIs*/
217
+ isCollectionsActivated?: boolean;
218
+ /** If true and language direction collections are unavailable menu will be hidden. */
219
+ hideGlossaryMenuWithoutCollections?: boolean;
220
+ /** If true and language direction collections are unavailable menu with advertisement will appear. Otherwise, create new glossary view will appear. */
221
+ showGlossaryMenuAdvertisement?: boolean;
222
+ /** Determines if Tilde Terminology portal is supported*/
223
+ isTermPortalSupported?: boolean;
224
+ /** Min length for collection name input*/
225
+ collectionNameMinLength?: number;
226
+ /** Max length for collection name input*/
227
+ collectionNameMaxLength?: number;
228
+ /** Timeout in ms after how long shout happen automatic refresh of collection list (From both MT and term api)*/
229
+ refreshTimeoutMs?: number;
230
+ /** Overrides refreshTimeoutMs if any of collections is importing.
231
+ / Use case: normaly refreshing list every 10seconds, but when collection is importend, we might want to refresh list every 5secs, so user gets faster feedback when import finished.
232
+ */
233
+ refreshTimeoutMsWhenImporting?: number;
234
+ /** Engine Term api url */
235
+ engineTermUrl?: string;
236
+ /** Start trial url */
237
+ startTrialUrl?: string;
238
+ /** Sign in url */
239
+ signInUrl?: string;
240
+ /** Link for default glossary management link in glossary popup. */
241
+ defaultGlossaryManagementLink?: (engineId: string) => string;
242
+ }
243
+
244
+ declare class TerminologyConfigService {
245
+ private _termConfig;
246
+ get termConfig(): TerminologyConfig;
247
+ private readonly defaultApiUrl;
248
+ initConfigs(configuration?: TerminologyConfig): void;
249
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyConfigService, never>;
250
+ static ɵprov: i0.ɵɵInjectableDeclaration<TerminologyConfigService>;
251
+ }
252
+
253
+ declare class SystemApiService {
254
+ private readonly http;
255
+ private readonly config;
256
+ constructor(http: HttpClient, config: TerminologyConfigService);
257
+ getSystemList(showDisabledEngines?: boolean): Observable<System[]>;
258
+ private generateSystemsFromLanguages;
259
+ private generateSystemsFromDomains;
260
+ private isLanguageDirectionAdded;
261
+ private createSystemObject;
262
+ static ɵfac: i0.ɵɵFactoryDeclaration<SystemApiService, never>;
263
+ static ɵprov: i0.ɵɵInjectableDeclaration<SystemApiService>;
264
+ }
265
+
266
+ declare class SystemService {
267
+ private readonly api;
268
+ constructor(api: SystemApiService);
269
+ getSystemList(showDisabledEngines?: boolean): Observable<System[]>;
270
+ static ɵfac: i0.ɵɵFactoryDeclaration<SystemService, never>;
271
+ static ɵprov: i0.ɵɵInjectableDeclaration<SystemService>;
272
+ }
273
+
274
+ declare class LanguageTranslateService {
275
+ private readonly translateService;
276
+ constructor(translateService: TranslateService);
277
+ getLanguageCodeTranslation(code: string, hideRegion?: boolean): string;
278
+ removeRegionFromLanguageCode(code: string): string;
279
+ static ɵfac: i0.ɵɵFactoryDeclaration<LanguageTranslateService, never>;
280
+ static ɵprov: i0.ɵɵInjectableDeclaration<LanguageTranslateService>;
281
+ }
282
+
283
+ declare enum Operations {
284
+ CREATE = "CREATE",
285
+ DELETE = "DELETE"
286
+ }
287
+
288
+ interface NotificationWithOperation {
289
+ message: NotificationMessage;
290
+ operation: Operations;
291
+ }
292
+
293
+ declare class NotificationService {
294
+ private messageSubject;
295
+ notificationMessage: rxjs.Observable<NotificationWithOperation>;
296
+ private clearMessageSubject;
297
+ clearMessage: rxjs.Observable<NotificationMessage[]>;
298
+ addMessage(message: NotificationMessage): void;
299
+ deleteMessage(message: NotificationMessage): void;
300
+ clearMessages(): void;
301
+ isMessageUnique(messages: NotificationMessage[], newMessage: NotificationMessage): boolean;
302
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
303
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
304
+ }
305
+
306
+ declare class PlausibleHelper {
307
+ /**
308
+ * Adds plausible for selected domain and adds additional script for custom event (goal) triggering
309
+ * @param domain domain that is registered in your plausible account
310
+ * @returns
311
+ */
312
+ static addPlausible(domain: string): void;
313
+ /**
314
+ * Emits custom plausible event
315
+ * @param id plausible event id that should be the same as registered in plausible
316
+ * @param properties an object with custom properties for the event
317
+ * @returns
318
+ */
319
+ static customEvent(id: string, properties?: any): void;
320
+ }
321
+
322
+ interface PlausibleEvent {
323
+ eventId: string;
324
+ properties?: {
325
+ key: string;
326
+ value: string;
327
+ }[];
328
+ }
329
+
330
+ declare class PlausibleEventDirective {
331
+ private id;
332
+ private properties;
333
+ /** Plausible event id. */
334
+ set libPlausibleEvent(value: PlausibleEvent | undefined);
335
+ onClick(): void;
336
+ static ɵfac: i0.ɵɵFactoryDeclaration<PlausibleEventDirective, never>;
337
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PlausibleEventDirective, "[libPlausibleEvent]", never, { "libPlausibleEvent": { "alias": "libPlausibleEvent"; "required": false; }; }, {}, never, never, false, never>;
338
+ }
339
+
340
+ declare class PlausibleModule {
341
+ static ɵfac: i0.ɵɵFactoryDeclaration<PlausibleModule, never>;
342
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PlausibleModule, [typeof PlausibleEventDirective], [typeof i2.CommonModule], [typeof PlausibleEventDirective]>;
343
+ static ɵinj: i0.ɵɵInjectorDeclaration<PlausibleModule>;
344
+ }
345
+
346
+ declare enum InlineMessageIconPosition {
347
+ START = 0,
348
+ END = 1
349
+ }
350
+
351
+ declare enum InlineMessageType {
352
+ INFO = "info",
353
+ WARNING = "warning",
354
+ ERROR = "error"
355
+ }
356
+
357
+ interface InlineMessage {
358
+ title: string;
359
+ description?: string;
360
+ localizationParams: unknown;
361
+ type: InlineMessageType;
362
+ iconPosition?: InlineMessageIconPosition;
363
+ iconTooltip?: string;
364
+ }
365
+
366
+ declare class InlineMessageComponent {
367
+ readonly END_ICON_POSITION = InlineMessageIconPosition.END;
368
+ iconName: string;
369
+ message: InlineMessage;
370
+ static ɵfac: i0.ɵɵFactoryDeclaration<InlineMessageComponent, never>;
371
+ static ɵcmp: i0.ɵɵComponentDeclaration<InlineMessageComponent, "lib-inline-message", never, { "iconName": { "alias": "iconName"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
372
+ }
373
+
374
+ declare class InlineMessageModule {
375
+ static ɵfac: i0.ɵɵFactoryDeclaration<InlineMessageModule, never>;
376
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InlineMessageModule, [typeof InlineMessageComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i5.MatTooltipModule], [typeof InlineMessageComponent]>;
377
+ static ɵinj: i0.ɵɵInjectorDeclaration<InlineMessageModule>;
378
+ }
379
+
380
+ declare class FilterWithHighlightPipe implements PipeTransform {
381
+ transform(value: any[], filter: string, key?: string): any[];
382
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterWithHighlightPipe, never>;
383
+ static ɵpipe: i0.ɵɵPipeDeclaration<FilterWithHighlightPipe, "filterWithHighlight", false>;
384
+ }
385
+
386
+ declare class FilterWithHighlightModule {
387
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterWithHighlightModule, never>;
388
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FilterWithHighlightModule, [typeof FilterWithHighlightPipe], [typeof i2.CommonModule], [typeof FilterWithHighlightPipe]>;
389
+ static ɵinj: i0.ɵɵInjectorDeclaration<FilterWithHighlightModule>;
390
+ }
391
+
392
+ declare class SortTranslationsPipe implements PipeTransform {
393
+ private translate;
394
+ constructor(translate: TranslateService);
395
+ /**
396
+ *
397
+ * @param objects array of objects to be sorted
398
+ * @param localizationPrefix prefix for localization code. This is used to get necessary object translations.
399
+ * @param key Which object property needs to be used for sorting.
400
+ * @param currentLanguage This is necessary to update values if language is changed.
401
+ * @returns
402
+ */
403
+ transform(objects: Array<any>, localizationPrefix: string | null, key: string | null | undefined, currentLanguage: string, translationKey?: string | null): Observable<Array<any>>;
404
+ private sortObjects;
405
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortTranslationsPipe, never>;
406
+ static ɵpipe: i0.ɵɵPipeDeclaration<SortTranslationsPipe, "sortTranslations", false>;
407
+ }
408
+
409
+ declare class SortTranslationsModule {
410
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortTranslationsModule, never>;
411
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SortTranslationsModule, [typeof SortTranslationsPipe], [typeof i2.CommonModule], [typeof SortTranslationsPipe]>;
412
+ static ɵinj: i0.ɵɵInjectorDeclaration<SortTranslationsModule>;
413
+ }
414
+
415
+ declare class SortTranslationsByPropertyPipe implements PipeTransform {
416
+ private translate;
417
+ constructor(translate: TranslateService);
418
+ /**
419
+ * Transforms the input array of objects by sorting them based on the specified sortingValueKey.
420
+ * @param values An array of objects to be sorted.
421
+ * @param sortingValueKey The key by which the provided values should be sorted.
422
+ * @param defaultValueKey For missing translations there is option to provide a default key to take value from.
423
+ */
424
+ transform(values: any[], sortingValueKey: string, defaultValueKey?: string): any;
425
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortTranslationsByPropertyPipe, never>;
426
+ static ɵpipe: i0.ɵɵPipeDeclaration<SortTranslationsByPropertyPipe, "sortTranslationsByProperty", false>;
427
+ }
428
+
429
+ declare class SortTranslationsByPropertyModule {
430
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortTranslationsByPropertyModule, never>;
431
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SortTranslationsByPropertyModule, [typeof SortTranslationsByPropertyPipe], [typeof i2.CommonModule], [typeof SortTranslationsByPropertyPipe]>;
432
+ static ɵinj: i0.ɵɵInjectorDeclaration<SortTranslationsByPropertyModule>;
433
+ }
434
+
435
+ declare class LanguageTranslatePipe implements PipeTransform {
436
+ private readonly translate;
437
+ private readonly languagesLocalizationKey;
438
+ private lastUiLanguage;
439
+ private readonly translationCache;
440
+ private readonly localeSameRegions;
441
+ private readonly translations;
442
+ constructor(translate: TranslateService);
443
+ transform(fullLangCode: string, hideRegion?: boolean): string;
444
+ private getTranslation;
445
+ private getLanguageTranslationFromLanguageCode;
446
+ private isLanguageCodeSameAsRegion;
447
+ private getRegionFromLanguageCode;
448
+ private getLanguageFromLanguageCode;
449
+ private capitalizeFirstLetter;
450
+ static ɵfac: i0.ɵɵFactoryDeclaration<LanguageTranslatePipe, never>;
451
+ static ɵpipe: i0.ɵɵPipeDeclaration<LanguageTranslatePipe, "languageTranslate", true>;
452
+ }
453
+
454
+ declare class LanguageTranslateModule {
455
+ static ɵfac: i0.ɵɵFactoryDeclaration<LanguageTranslateModule, never>;
456
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LanguageTranslateModule, never, [typeof LanguageTranslatePipe, typeof i2.CommonModule], [typeof LanguageTranslatePipe]>;
457
+ static ɵinj: i0.ɵɵInjectorDeclaration<LanguageTranslateModule>;
458
+ }
459
+
460
+ interface DateAgoInterval {
461
+ key: string;
462
+ interval: number;
463
+ min: number;
464
+ }
465
+
466
+ /**
467
+ * Configuration settings for DateAgo pipe.
468
+ */
469
+ interface DateAgoSettings {
470
+ /**
471
+ * Intervals for defined groups.
472
+ */
473
+ intervals: DateAgoInterval[];
474
+ /**
475
+ * String to be added to original key if interval group value is bigger than 1. Typically you want to add 'S' to the key, if value is multiple.
476
+ */
477
+ multiplePostfix: string;
478
+ /**
479
+ * Localization key, that should be before interval key. Do not place '.' at the end of key.
480
+ */
481
+ localizationPrefix: string;
482
+ /**
483
+ * Key for "Just now"
484
+ */
485
+ justNowKey: string;
486
+ /**
487
+ * For how many seconds should show just now.
488
+ */
489
+ justNowSeconds: number;
490
+ }
491
+
492
+ interface DateAgo {
493
+ key: string;
494
+ howMany?: number;
495
+ }
496
+
497
+ declare class DateAgoPipe implements PipeTransform {
498
+ private readonly translate;
499
+ private readonly _ref;
500
+ private readonly settings;
501
+ readonly defaultSettings: DateAgoSettings;
502
+ get intervals(): DateAgoInterval[];
503
+ get multiplePostfix(): string;
504
+ get localizationPrefix(): string;
505
+ get justNowKey(): string;
506
+ get justNowSeconds(): number;
507
+ constructor(translate: TranslateService, _ref: ChangeDetectorRef, settings: DateAgoSettings);
508
+ transform(value: Date, enableMultiplePostfix?: boolean): string;
509
+ calculateDateAgo(value: Date, enableMultiplePostfix: boolean): DateAgo | null;
510
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateAgoPipe, [null, null, { optional: true; }]>;
511
+ static ɵpipe: i0.ɵɵPipeDeclaration<DateAgoPipe, "dateAgo", false>;
512
+ }
513
+
514
+ declare class DateAgoModule {
515
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateAgoModule, never>;
516
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DateAgoModule, [typeof DateAgoPipe], [typeof i2.CommonModule, typeof i3.TranslateModule], [typeof DateAgoPipe]>;
517
+ static ɵinj: i0.ɵɵInjectorDeclaration<DateAgoModule>;
518
+ }
519
+
520
+ declare class ObjectLengthPipe implements PipeTransform {
521
+ transform(value: any): number;
522
+ static ɵfac: i0.ɵɵFactoryDeclaration<ObjectLengthPipe, never>;
523
+ static ɵpipe: i0.ɵɵPipeDeclaration<ObjectLengthPipe, "objectLength", false>;
524
+ }
525
+
526
+ declare class ObjectLengthModule {
527
+ static ɵfac: i0.ɵɵFactoryDeclaration<ObjectLengthModule, never>;
528
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ObjectLengthModule, [typeof ObjectLengthPipe], [typeof i2.CommonModule], [typeof ObjectLengthPipe]>;
529
+ static ɵinj: i0.ɵɵInjectorDeclaration<ObjectLengthModule>;
530
+ }
531
+
532
+ declare class SortByNumberPipe implements PipeTransform {
533
+ transform(values: any[], sortingValueKey?: string, desc?: boolean): any;
534
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortByNumberPipe, never>;
535
+ static ɵpipe: i0.ɵɵPipeDeclaration<SortByNumberPipe, "sortByNumber", true>;
536
+ }
537
+
538
+ declare class SortAlphabeticallyPipe implements PipeTransform {
539
+ transform(values: any[], sortingValueKey?: string): any;
540
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortAlphabeticallyPipe, never>;
541
+ static ɵpipe: i0.ɵɵPipeDeclaration<SortAlphabeticallyPipe, "sortAlphabetically", false>;
542
+ }
543
+
544
+ declare class SortAlphabeticallyModule {
545
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortAlphabeticallyModule, never>;
546
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SortAlphabeticallyModule, [typeof SortAlphabeticallyPipe], [typeof i2.CommonModule], [typeof SortAlphabeticallyPipe]>;
547
+ static ɵinj: i0.ɵɵInjectorDeclaration<SortAlphabeticallyModule>;
548
+ }
549
+
550
+ interface TranslatedLanguage<T> {
551
+ value: T;
552
+ translation: string;
553
+ }
554
+
555
+ declare class SortLanguageListPipe implements PipeTransform {
556
+ #private;
557
+ transform<T>(list: T[], key?: string): Observable<TranslatedLanguage<T>[]>;
558
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortLanguageListPipe, never>;
559
+ static ɵpipe: i0.ɵɵPipeDeclaration<SortLanguageListPipe, "sortLanguageList", true>;
560
+ }
561
+
562
+ declare enum FILE_SIZE_UNIT {
563
+ BYTES = "B",
564
+ KILOBYTES = "KB",
565
+ MEGABYTES = "MB",
566
+ GIGABYTES = "GB"
567
+ }
568
+
569
+ declare class FileSizeLabelPipe implements PipeTransform {
570
+ transform(value: number, decimalPlaces?: number, unit?: FILE_SIZE_UNIT): string;
571
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileSizeLabelPipe, never>;
572
+ static ɵpipe: i0.ɵɵPipeDeclaration<FileSizeLabelPipe, "fileSizeLabel", true>;
573
+ }
574
+
575
+ declare class DomainTranslatePipe implements PipeTransform {
576
+ readonly translate: TranslateService;
577
+ constructor(translate: TranslateService);
578
+ transform(value: string, isDomain: boolean): string;
579
+ static ɵfac: i0.ɵɵFactoryDeclaration<DomainTranslatePipe, never>;
580
+ static ɵpipe: i0.ɵɵPipeDeclaration<DomainTranslatePipe, "domainTranslate", true>;
581
+ }
582
+
583
+ /**
584
+ * This is a custom pipe for sorting domains.
585
+ * It prioritizes the most important entries using a specific order:
586
+ * "General" first, followed by LLM-related domains, and then the rest in alphabetical order.
587
+ */
588
+ declare class SortDomainsPipe implements PipeTransform {
589
+ readonly translate: TranslateService;
590
+ constructor(translate: TranslateService);
591
+ transform(value: any[], isDomainList: boolean, key: string): any[];
592
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortDomainsPipe, never>;
593
+ static ɵpipe: i0.ɵɵPipeDeclaration<SortDomainsPipe, "sortDomains", true>;
594
+ }
595
+
596
+ declare class ClickOutsideDirective {
597
+ private elementRef;
598
+ clickOutside: EventEmitter<void>;
599
+ constructor(elementRef: ElementRef);
600
+ onClick(target: HTMLElement): void;
601
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
602
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, {}, { "clickOutside": "clickOutside"; }, never, never, false, never>;
603
+ }
604
+
605
+ declare class ClickOutsideModule {
606
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideModule, never>;
607
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClickOutsideModule, [typeof ClickOutsideDirective], [typeof i2.CommonModule], [typeof ClickOutsideDirective]>;
608
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClickOutsideModule>;
609
+ }
610
+
611
+ declare class DragAndDropDirective {
612
+ private readonly element;
613
+ get disabled(): any;
614
+ active: boolean;
615
+ fileDropped: EventEmitter<any>;
616
+ onDragOver(evt: any): void;
617
+ onDragLeave(evt: any): void;
618
+ ondrop(evt: any): void;
619
+ constructor(element: ElementRef);
620
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropDirective, never>;
621
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragAndDropDirective, "[tldDragAndDrop]", never, {}, { "fileDropped": "fileDropped"; }, never, never, false, never>;
622
+ }
623
+
624
+ declare class DragAndDropModule {
625
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropModule, never>;
626
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DragAndDropModule, [typeof DragAndDropDirective], [typeof i2.CommonModule], [typeof DragAndDropDirective]>;
627
+ static ɵinj: i0.ɵɵInjectorDeclaration<DragAndDropModule>;
628
+ }
629
+
630
+ declare class MatButtonLoadingDirective {
631
+ private matButton;
632
+ private viewContainerRef;
633
+ private renderer;
634
+ private _loading;
635
+ set loading(value: boolean);
636
+ private spinner;
637
+ constructor(matButton: MatButton, viewContainerRef: ViewContainerRef, renderer: Renderer2);
638
+ get nativeElement(): HTMLElement;
639
+ updateState(): void;
640
+ private createSpinner;
641
+ private destroySpinner;
642
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonLoadingDirective, never>;
643
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonLoadingDirective, "button[mat-button][loading], button[mat-raised-button][loading], button[mat-icon-button][loading], button[mat-fab][loading], button[mat-mini-fab][loading], button[mat-stroked-button][loading], button[mat-flat-button][loading]", never, { "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, false, never>;
644
+ }
645
+
646
+ declare class MatButtonLoadingModule {
647
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonLoadingModule, never>;
648
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatButtonLoadingModule, [typeof MatButtonLoadingDirective], [typeof i2.CommonModule], [typeof MatButtonLoadingDirective]>;
649
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatButtonLoadingModule>;
650
+ }
651
+
652
+ declare class TldLoaderComponent {
653
+ static ɵfac: i0.ɵɵFactoryDeclaration<TldLoaderComponent, never>;
654
+ static ɵcmp: i0.ɵɵComponentDeclaration<TldLoaderComponent, "lib-tld-loader", never, {}, {}, never, never, false, never>;
655
+ }
656
+
657
+ declare class TldLoaderModule {
658
+ static ɵfac: i0.ɵɵFactoryDeclaration<TldLoaderModule, never>;
659
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TldLoaderModule, [typeof TldLoaderComponent], never, [typeof TldLoaderComponent]>;
660
+ static ɵinj: i0.ɵɵInjectorDeclaration<TldLoaderModule>;
661
+ }
662
+
663
+ declare class MissingTranslationHelper implements MissingTranslationHandler {
664
+ handle(params: MissingTranslationHandlerParams): any;
665
+ }
666
+
667
+ declare class SaveFileHelper {
668
+ static saveFile(content: string, fileName: string): void;
669
+ static saveBlob(blob: Blob, fileName: string): void;
670
+ }
671
+
672
+ declare class HtmlElementParseHelper {
673
+ static tableAsCsv(tableElement: HTMLElement, ignoreAttributeName?: string): string;
674
+ }
675
+
676
+ declare class AuthHeadersHelper {
677
+ static getAuthHeaders(clientId: string): any;
678
+ static getAppIdAuthHeaders(appId: string): any;
679
+ }
680
+
681
+ declare class FileExtensionHelper {
682
+ static getFileExtension(fileName: string): string;
683
+ }
684
+
685
+ declare class ConversionHelper {
686
+ static bytesToMb(bytes: number): number;
687
+ static pascalCaseToEnum(property: string): string;
688
+ }
689
+
690
+ declare class SortHelper {
691
+ /**
692
+ * Sorts an array of objects based on the order of values specified in another array.
693
+ *
694
+ * @param objectArr - The array of objects to be sorted.
695
+ * @param sortByArray - The array that defines the preferred order of values.
696
+ * @param fieldName - The name of the field in the objects used for sorting.
697
+ *
698
+ * Objects in `objectArr` will be sorted based on the position of their `fieldName` value in `sortByArray`.
699
+ */
700
+ static sortByArray(objectArr: any[], sortByArray: any[], fieldName: string): void;
701
+ /**
702
+ * Transforms the input array of objects by sorting them based on the specified sortingValueKey.
703
+ * @param values - An array of objects to be sorted.
704
+ * @param sortingValueKey - The key by which the provided values should be sorted, leave it empty if you want to sort string[].
705
+ */
706
+ static sortAlphabetically(values: any[], sortingValueKey?: string): any;
707
+ /**
708
+ * Sorts an array of values by a specified numeric property or by their numeric value if no property is specified.
709
+ * @param values - The array of values to be sorted. Can be an array of objects or primitive numeric values.
710
+ * @param sortingValueKey - The key of the numeric property in the objects to sort by.
711
+ * @param desc - Flag indicating whether to sort in descending (true) or ascending (false) order.
712
+ */
713
+ static sortByNumber(values: any[], sortingValueKey?: string, desc?: boolean): any[];
714
+ /**
715
+ * This method is intended to be used with sorting methods like Array.sort(). It compares two strings, a and b, against a reference substring input.
716
+ * @param a - The first string to be compared.
717
+ * @param b - The second string to be compared.
718
+ * @param input - The reference substring used to influence the sorting order.
719
+ */
720
+ static sortByStartingLetter(a: string, b: string, input: string): number;
721
+ }
722
+
723
+ declare class HtmlHelper {
724
+ /**
725
+ * Removes special characters so string is not interpretated as html.
726
+ * @param text
727
+ */
728
+ static escapeHtmlString(text: string): string;
729
+ static encodeHtmlString(text: string): string;
730
+ /**
731
+ * Splits string into paragraphs.
732
+ * @param text
733
+ */
734
+ static splitInParagraphs(text: string): string[];
735
+ static joinParagraphs(text: string[]): string;
736
+ static toCamelCase(text: string, symbol?: string): string;
737
+ static isTextUrl(text: string): string | null;
738
+ static getWordCount(text: string): number | undefined;
739
+ static getLocalizationKey(text: string): string;
740
+ }
741
+
742
+ declare class ResolutionHelper {
743
+ static isMobileRes(): boolean;
744
+ }
745
+
746
+ declare const getFileSizeLabel: (size: number, decimalPlaces?: number, unit?: FILE_SIZE_UNIT) => string;
747
+
748
+ declare class CustomPaginatorInernationalizationHelper extends MatPaginatorIntl {
749
+ #private;
750
+ constructor();
751
+ getTranslations(): void;
752
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomPaginatorInernationalizationHelper, never>;
753
+ static ɵprov: i0.ɵɵInjectableDeclaration<CustomPaginatorInernationalizationHelper>;
754
+ }
755
+
756
+ declare class HashHelper {
757
+ static hashString(username: string): string;
758
+ }
759
+
760
+ declare class CompanyProductComponent {
761
+ company: string;
762
+ product: string;
763
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompanyProductComponent, never>;
764
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompanyProductComponent, "lib-company-product", never, { "company": { "alias": "company"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, false, never>;
765
+ }
766
+
767
+ declare class CompanyProductModule {
768
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompanyProductModule, never>;
769
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CompanyProductModule, [typeof CompanyProductComponent], [typeof i2.CommonModule], [typeof CompanyProductComponent]>;
770
+ static ɵinj: i0.ɵɵInjectorDeclaration<CompanyProductModule>;
771
+ }
772
+
773
+ declare class FooterComponent implements OnInit {
774
+ currentYear: number;
775
+ readonly defaultTermsRoute = "terms-of-use";
776
+ readonly defaultPrivacyRoute = "privacy-policy";
777
+ privacyRoute: string;
778
+ termsOfUseRoute: string;
779
+ contactUsRoute: string;
780
+ baseUrl: string;
781
+ constructor();
782
+ ngOnInit(): void;
783
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
784
+ static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "tld-footer", never, { "privacyRoute": { "alias": "privacyRoute"; "required": false; }; "termsOfUseRoute": { "alias": "termsOfUseRoute"; "required": false; }; "contactUsRoute": { "alias": "contactUsRoute"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; }, {}, never, never, false, never>;
785
+ }
786
+
787
+ declare class FooterModule {
788
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterModule, never>;
789
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FooterModule, [typeof FooterComponent], [typeof i2.CommonModule, typeof i3$1.FlexLayoutModule, typeof i3.TranslateModule, typeof i5$1.RouterModule], [typeof FooterComponent]>;
790
+ static ɵinj: i0.ɵɵInjectorDeclaration<FooterModule>;
791
+ }
792
+
793
+ declare enum FileUploadErrorTypeEnum {
794
+ FILE_UPLOAD_UNSUPPORTED_FORMAT = "FILE_UPLOAD_UNSUPPORTED_FORMAT",
795
+ FILE_UPLOAD_UNSUPPORTED_FORMAT_REGISTER = "FILE_UPLOAD_UNSUPPORTED_FORMAT_REGISTER",
796
+ MAX_SIZE = "FILE_UPLOAD_MAX_SIZE",
797
+ FILE_EMPTY = "FILE_UPLOAD_EMPTY"
798
+ }
799
+
800
+ interface FileUploadError {
801
+ code: FileUploadErrorTypeEnum;
802
+ error: string;
803
+ fileName: string;
804
+ maxSizeLabel: string;
805
+ }
806
+
807
+ declare class FileUploadComponent implements OnInit {
808
+ #private;
809
+ fileInput: ElementRef;
810
+ fileChange: EventEmitter<File[]>;
811
+ errorEvent: EventEmitter<FileUploadError>;
812
+ private _accept;
813
+ set accept(val: string[]);
814
+ get accept(): string[];
815
+ useCompactUpload: boolean;
816
+ maxSize: number;
817
+ multiple: boolean;
818
+ filePreviewProgress: number;
819
+ allowEmpty: boolean;
820
+ disabled: boolean;
821
+ dragZoneLabel: string;
822
+ uploadIconName: string;
823
+ uploadButtonLabel: string;
824
+ openExtensionPopupLabel: string;
825
+ minSupportedFormatCount: number;
826
+ /** same as accept but for registered users. It changes error message if extension is supported for registered users. */
827
+ extendedAcceptList: string[];
828
+ maxSizeLabel: string;
829
+ allowedExtensions: string;
830
+ constructor();
831
+ ngOnInit(): void;
832
+ openSupportedFormatModal(): void;
833
+ handleFileInput(event: Event): void;
834
+ onFileDrop(files: any): void;
835
+ private setMaxSizeLabel;
836
+ private emit;
837
+ private emitError;
838
+ private validate;
839
+ private getExtensionErrorCode;
840
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
841
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "lib-file-upload", never, { "accept": { "alias": "accept"; "required": false; }; "useCompactUpload": { "alias": "useCompactUpload"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "filePreviewProgress": { "alias": "filePreviewProgress"; "required": false; }; "allowEmpty": { "alias": "allowEmpty"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dragZoneLabel": { "alias": "dragZoneLabel"; "required": false; }; "uploadIconName": { "alias": "uploadIconName"; "required": false; }; "uploadButtonLabel": { "alias": "uploadButtonLabel"; "required": false; }; "openExtensionPopupLabel": { "alias": "openExtensionPopupLabel"; "required": false; }; "minSupportedFormatCount": { "alias": "minSupportedFormatCount"; "required": false; }; "extendedAcceptList": { "alias": "extendedAcceptList"; "required": false; }; }, { "fileChange": "fileChange"; "errorEvent": "errorEvent"; }, never, ["*"], false, never>;
842
+ }
843
+
844
+ declare enum FileTypeIcons {
845
+ WORD = "file_type_word",
846
+ WEB = "file_type_web",
847
+ OTHER = "file_type_other",
848
+ POWERPOINT = "file_type_powerpoint",
849
+ EXCEL = "file_type_excel",
850
+ OFFICE_OTHER = "file_type_office_other",
851
+ PDF = "file_type_pdf",
852
+ SCANNED = "file_type_scanned",
853
+ INTERCHANGE = "file_type_interchange"
854
+ }
855
+
856
+ declare enum FileCategories {
857
+ OFFICE = "OFFICE",
858
+ SCANNED = "SCANNED",
859
+ INTERCHANGE = "INTERCHANGE",
860
+ WEB = "WEB",
861
+ OTHER = "OTHER"
862
+ }
863
+
864
+ declare enum FileTypes {
865
+ WORD = "WORD",
866
+ WEB = "WEB",
867
+ OTHER = "OTHER",
868
+ POWERPOINT = "POWERPOINT",
869
+ EXCEL = "EXCEL",
870
+ OFFICE_OTHER = "OFFICE_OTHER",
871
+ PDF = "PDF",
872
+ SCANNED = "SCANNED",
873
+ INTERCHANGE = "INTERCHANGE"
874
+ }
875
+
876
+ declare enum FileExtensions {
877
+ DOC = "doc",
878
+ DOCX = "docx",
879
+ DOCM = "docm",
880
+ XLSX = "xlsx",
881
+ PPTX = "pptx",
882
+ ODT = "odt",
883
+ ODP = "odp",
884
+ ODS = "ods",
885
+ TXT = "txt",
886
+ RTF = "rtf",
887
+ PAGES = "pages",
888
+ SXW = "sxw",
889
+ JPG = "jpg",
890
+ JPEG = "jpeg",
891
+ PNG = "png",
892
+ BMP = "bmp",
893
+ PDF = "pdf",
894
+ SDLXLIFF = "sdlxliff",
895
+ SDLXLF = "sdlxlf",
896
+ TTX = "ttx",
897
+ TMX = "tmx",
898
+ XLF = "xlf",
899
+ XLIF = "xlif",
900
+ HTML = "html",
901
+ HTM = "htm",
902
+ JSON = "json",
903
+ XHTML = "xhtml",
904
+ XHT = "xht",
905
+ XLIFF = "xliff",
906
+ TEX = "tex",
907
+ TTL = "ttl",
908
+ SRT = "srt"
909
+ }
910
+
911
+ interface Config {
912
+ elements: Category[];
913
+ }
914
+ interface Category {
915
+ category: FileCategories;
916
+ columns: Column[];
917
+ anyVisible?: boolean;
918
+ }
919
+ interface Column {
920
+ anyVisible?: boolean;
921
+ extensions: ExtensionWithIcon[];
922
+ }
923
+ interface ExtensionWithIcon {
924
+ extension: FileExtensions;
925
+ icon: FileTypeIcons;
926
+ visible?: boolean;
927
+ }
928
+
929
+ interface DialogData {
930
+ extensions: string[];
931
+ }
932
+
933
+ /**
934
+ This is an extension dialog component.
935
+ Use <lib-open-extension-dialog> to open this dialog, by proivding [extensions] to it you can specify what extensions should be displayed.
936
+ */
937
+ declare class ExtensionDialogComponent implements OnInit {
938
+ private data;
939
+ private readonly iconService;
940
+ readonly config: Config;
941
+ extensions: string[];
942
+ undescribedExtensions: string[];
943
+ constructor(data: DialogData, iconService: IconService);
944
+ ngOnInit(): void;
945
+ updateConfig(): void;
946
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExtensionDialogComponent, never>;
947
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExtensionDialogComponent, "lib-extension-dialog", never, {}, {}, never, never, false, never>;
948
+ }
949
+
950
+ declare class ExtensionDialogService {
951
+ private readonly dialog;
952
+ constructor(dialog: MatDialog);
953
+ open(extensions: string[]): void;
954
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExtensionDialogService, never>;
955
+ static ɵprov: i0.ɵɵInjectableDeclaration<ExtensionDialogService>;
956
+ }
957
+
958
+ declare class OpenExtensionDialogComponent {
959
+ private readonly service;
960
+ extensions: string[];
961
+ constructor(service: ExtensionDialogService);
962
+ open(): void;
963
+ static ɵfac: i0.ɵɵFactoryDeclaration<OpenExtensionDialogComponent, never>;
964
+ static ɵcmp: i0.ɵɵComponentDeclaration<OpenExtensionDialogComponent, "lib-open-extension-dialog", never, { "extensions": { "alias": "extensions"; "required": false; }; }, {}, never, never, false, never>;
965
+ }
966
+
967
+ declare class ExtensionDialogModule {
968
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExtensionDialogModule, never>;
969
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ExtensionDialogModule, [typeof ExtensionDialogComponent, typeof OpenExtensionDialogComponent], [typeof i2.CommonModule, typeof i4.MatButtonModule, typeof i3.TranslateModule, typeof i6.MatDialogModule, typeof i3$1.FlexLayoutModule, typeof i8.MatIconModule, typeof CloseButtonModule], [typeof OpenExtensionDialogComponent]>;
970
+ static ɵinj: i0.ɵɵInjectorDeclaration<ExtensionDialogModule>;
971
+ }
972
+
973
+ declare class FileUploadModule {
974
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadModule, never>;
975
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadModule, [typeof FileUploadComponent], [typeof i2.CommonModule, typeof i3$2.MatProgressBarModule, typeof i3$1.FlexLayoutModule, typeof i4.MatButtonModule, typeof DragAndDropModule, typeof i8.MatIconModule, typeof ExtensionDialogModule, typeof i3.TranslateModule], [typeof FileUploadComponent]>;
976
+ static ɵinj: i0.ɵɵInjectorDeclaration<FileUploadModule>;
977
+ }
978
+
979
+ interface FilterBarFilterItem {
980
+ key: string;
981
+ value: any;
982
+ /**
983
+ * These properties are updated automatically during the search process.
984
+ * They are necessary to hide elements that do not match the search criteria or are not selected.
985
+ * Also if element is selected, but doesnt match search criteria it also dissapears.
986
+ */
987
+ isSelected?: boolean;
988
+ matchesSearchCriteria?: boolean;
989
+ }
990
+
991
+ interface FilterBarFilterSearch {
992
+ /**
993
+ * If placeholder is defined search will be appeared.
994
+ * When searching for items, searchCriteria and filteredValues are being set automatically.
995
+ */
996
+ placeholder: string;
997
+ filteredValues?: FilterBarFilterItem[];
998
+ searchCriteria?: string;
999
+ }
1000
+
1001
+ interface FilterBarFilterSingleSelection {
1002
+ /**
1003
+ * Indicates whether the filter is selected. This property must be supplied externally.
1004
+ * When set to true, it disables all options except the one with the corresponding value.
1005
+ * In order to allow unselecting the currently selected value, a specific value must be defined.
1006
+ */
1007
+ selected: boolean;
1008
+ /**
1009
+ * The value of the filter option that remains enabled when `selected` is true.
1010
+ * This is used to match the option that should not be disabled.
1011
+ */
1012
+ value: string;
1013
+ }
1014
+
1015
+ interface FilterBarFilter {
1016
+ fieldName: string;
1017
+ title: string;
1018
+ values: FilterBarFilterItem[];
1019
+ search?: FilterBarFilterSearch;
1020
+ singleSelection?: FilterBarFilterSingleSelection;
1021
+ disableTitleCase?: boolean;
1022
+ /**
1023
+ * Selected values updating automatically and records all selected options of current filter.
1024
+ */
1025
+ selectedValues?: FilterBarFilterItem[];
1026
+ /**
1027
+ * Set this to '' in case you need to fit longest content.
1028
+ * Combine this with search, so filtering does not affect panel size.
1029
+ */
1030
+ maxPanelWidth?: number | string;
1031
+ /**
1032
+ * If values array keys are already translated, set this to true.
1033
+ */
1034
+ translated?: boolean;
1035
+ }
1036
+
1037
+ interface FilterBarSettings {
1038
+ /** Show/hide search input. Enabled by default. */
1039
+ hideSearch?: boolean;
1040
+ /** Initial value for search input. */
1041
+ searchValue?: string;
1042
+ /** Show/hide search input clear button. Disabled by default. */
1043
+ showSearchClearButton?: boolean;
1044
+ /** Toggle output filter item between value, and object with key and value fields. Value by default. */
1045
+ outputFilterKeyAndValue?: boolean;
1046
+ /** Title for search input field. Default value: FILTER_BAR.SEARCH */
1047
+ searchTitle?: string;
1048
+ /** Table global search entered criteria. */
1049
+ searchInput?: string;
1050
+ /** Search tooltip, shown after input field for icon */
1051
+ searchTooltip?: string;
1052
+ hideTooltip?: boolean;
1053
+ filters?: FilterBarFilter[];
1054
+ splittedFilters?: FilterBarFilter[][];
1055
+ }
1056
+
1057
+ interface FilterBarChangeEvent {
1058
+ input: string;
1059
+ filters: {
1060
+ [fieldName: string]: any[];
1061
+ };
1062
+ }
1063
+
1064
+ declare class FilterBarComponent implements OnInit, AfterViewInit, OnDestroy {
1065
+ private cdref;
1066
+ private translate;
1067
+ filterWrapper: ElementRef;
1068
+ optionSearchInputs: ElementRef[];
1069
+ onResize(): void;
1070
+ settings: FilterBarSettings;
1071
+ set filterRowVisible(value: boolean);
1072
+ filterBarChange: EventEmitter<FilterBarChangeEvent>;
1073
+ private _inputText;
1074
+ private _filterRowVisible;
1075
+ private formChangesSubscription;
1076
+ readonly filterFormGroup: FormGroup<{}>;
1077
+ readonly form: FormGroup<{
1078
+ filters: FormGroup<{}>;
1079
+ }>;
1080
+ filters: FilterBarChangeEvent;
1081
+ filterOverflow: boolean;
1082
+ activeFilterIndex: number;
1083
+ get filterFormGroupValue(): {
1084
+ [key: string]: FilterBarFilterItem[];
1085
+ };
1086
+ get filterRowVisible(): boolean;
1087
+ get inputText(): string;
1088
+ get outputFilterKeyAndValue(): boolean | undefined;
1089
+ get currentFilters(): FilterBarFilter[] | undefined;
1090
+ set inputText(value: string);
1091
+ constructor(cdref: ChangeDetectorRef, translate: TranslateService);
1092
+ ngOnInit(): void;
1093
+ ngAfterViewInit(): void;
1094
+ ngOnDestroy(): void;
1095
+ focusOptionSearchInput(filter: FilterBarFilter, index: number): void;
1096
+ clearOptionSearchInput(filter: FilterBarFilter, index: number): void;
1097
+ filterOptions(event: KeyboardEvent | null, filter: FilterBarFilter): void;
1098
+ selectEvent(event: MatSelectChange, filter: FilterBarFilter): void;
1099
+ setPanelWidth(filter: FilterBarFilter): void;
1100
+ emitFilters(): void;
1101
+ switchRight(): void;
1102
+ switchLeft(): void;
1103
+ removeFilter(key: string, ix: number): void;
1104
+ removeAllFilters(): void;
1105
+ private checkOverflow;
1106
+ private subscribeToFormValueChanges;
1107
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterBarComponent, never>;
1108
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterBarComponent, "tld-filter-bar", never, { "settings": { "alias": "settings"; "required": false; }; "filterRowVisible": { "alias": "filterRowVisible"; "required": false; }; }, { "filterBarChange": "filterBarChange"; }, never, never, false, never>;
1109
+ }
1110
+
1111
+ declare class FilterBarModule {
1112
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterBarModule, never>;
1113
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FilterBarModule, [typeof FilterBarComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4$1.MatInputModule, typeof i5$2.MatFormFieldModule, typeof i3$1.FlexLayoutModule, typeof i7.MatSelectModule, typeof i8$1.FormsModule, typeof i5.MatTooltipModule, typeof i4.MatButtonModule, typeof i8.MatIconModule, typeof i8$1.ReactiveFormsModule, typeof SortTranslationsByPropertyModule, typeof SortAlphabeticallyModule], [typeof FilterBarComponent]>;
1114
+ static ɵinj: i0.ɵɵInjectorDeclaration<FilterBarModule>;
1115
+ }
1116
+
1117
+ interface StatusDisplayConfig {
1118
+ enabled: boolean;
1119
+ title: string;
1120
+ titleParams?: any;
1121
+ description?: string;
1122
+ descriptionParams?: any;
1123
+ /**
1124
+ * Add an extra, separated description bellow description.
1125
+ * The main use of this description is to display a Help Center message below description.
1126
+ */
1127
+ extraDescription?: string;
1128
+ extraDescriptionParams?: any;
1129
+ icon?: string;
1130
+ loading?: boolean;
1131
+ }
1132
+
1133
+ interface ColumnConfig {
1134
+ /**
1135
+ * Column name. For column to dissapear/be visible, this must be the same as defined for mat-table columns.
1136
+ */
1137
+ name: string;
1138
+ /**
1139
+ * Display name. Component applies translate pipe to this.
1140
+ */
1141
+ displayName: string;
1142
+ /**
1143
+ * Default value to determine if column is selected.
1144
+ */
1145
+ selected: boolean;
1146
+ /**
1147
+ * If set to true, columns visibility can't be toggled.
1148
+ */
1149
+ notConfigurable?: boolean;
1150
+ }
1151
+
1152
+ interface BatchConfig {
1153
+ enabled: boolean;
1154
+ checkBoxesDisabled?: boolean;
1155
+ }
1156
+
1157
+ /**
1158
+ * Multi functional table configuration for column selecting. Config responsible for configuring columns whose visibilty can be toggled.
1159
+ */
1160
+ interface ColumnSelectConfig {
1161
+ /**
1162
+ * Columns to whom visibility can be changed.
1163
+ */
1164
+ columns: ColumnConfig[];
1165
+ /**
1166
+ * If column select feature is enabled.
1167
+ */
1168
+ enabled?: boolean;
1169
+ }
1170
+
1171
+ declare enum ExportFormat {
1172
+ CSV = "csv"
1173
+ }
1174
+
1175
+ interface ExportConfig {
1176
+ enabled: boolean;
1177
+ fileOptions?: {
1178
+ format?: ExportFormat;
1179
+ saveToFile: boolean;
1180
+ fileName: string;
1181
+ };
1182
+ }
1183
+
1184
+ interface FilterConfig {
1185
+ settings: FilterBarSettings;
1186
+ visible?: boolean;
1187
+ enabled?: boolean;
1188
+ hideFilterToggle?: boolean;
1189
+ }
1190
+
1191
+ interface PaginatorConfig {
1192
+ enabled: boolean;
1193
+ /** Initial page when loading table. Might be useful to keep some previously opened state of table. */
1194
+ initialPage?: number;
1195
+ showFirstLastButtons?: boolean;
1196
+ pageSizeOptions?: number[];
1197
+ showPageSize?: boolean;
1198
+ }
1199
+
1200
+ /**
1201
+ * Configuration for table with multiple predefined actoins against mat table.
1202
+ */
1203
+ interface MultiFunctionalTableConfig<T> {
1204
+ /**
1205
+ * Mat table dataSource.
1206
+ * @deprecated use Mat Table data property instead.
1207
+ */
1208
+ dataSource?: MatTableDataSource<T>;
1209
+ /**
1210
+ * Configuration for toggling displayed columns in mat table
1211
+ */
1212
+ columnSelect?: ColumnSelectConfig;
1213
+ /**
1214
+ * Configuration for filters. For filtering custom filterBar component is used. Note that component does not filter datasource by itself but only emits event when filters are changed.
1215
+ */
1216
+ filter?: FilterConfig;
1217
+ /**
1218
+ * Configuration for exporting data.
1219
+ */
1220
+ export?: ExportConfig;
1221
+ /**
1222
+ * Local storage key to store selected columns and filter visibilty.
1223
+ */
1224
+ localStorageKey?: string;
1225
+ /**
1226
+ * Set to true, if mouse dragging is not required.
1227
+ */
1228
+ disableMouseDragging?: boolean;
1229
+ /**
1230
+ * Configuration for texts and icon for no data row.
1231
+ */
1232
+ noDataRow?: StatusDisplayConfig;
1233
+ batchConfig?: BatchConfig;
1234
+ stickyHeader?: boolean;
1235
+ /** Table pagination configuration. Disabled by default. */
1236
+ paginator?: PaginatorConfig;
1237
+ /**
1238
+ * Callback function for row click.
1239
+ */
1240
+ rowClickCallback?: (param: T) => void;
1241
+ /**
1242
+ * Provide condition under which row clicking should be disabled.
1243
+ */
1244
+ disableRowClick?: (param: T) => boolean;
1245
+ }
1246
+
1247
+ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentInit, AfterViewInit {
1248
+ #private;
1249
+ private readonly domService;
1250
+ private readonly translateService;
1251
+ readonly matSelection: SelectionModel<T>;
1252
+ get dataSource(): MatTableDataSource<T>;
1253
+ config: MultiFunctionalTableConfig<T>;
1254
+ highlightedElements: T[];
1255
+ trackByFn: (ix: number, row: T) => string | number;
1256
+ highlightedErrorElements: T[];
1257
+ set selection(value: T[]);
1258
+ isRowCheckboxAlwaysVisible: boolean;
1259
+ disablePreselectedItems: boolean;
1260
+ filterBarChange: EventEmitter<FilterBarChangeEvent>;
1261
+ paginatorUpdate: EventEmitter<PageEvent>;
1262
+ exported: EventEmitter<T[]>;
1263
+ selectionChange: Observable<T[]>;
1264
+ headerRowDefs: QueryList<MatHeaderRowDef>;
1265
+ rowDefs: QueryList<MatRowDef<T>>;
1266
+ columnDefs: QueryList<MatColumnDef>;
1267
+ noDataRow: MatNoDataRow;
1268
+ table: MatTable<T>;
1269
+ sort: MatSort;
1270
+ tableContainer: ElementRef<HTMLElement>;
1271
+ filterBar: FilterBarComponent;
1272
+ paginator: MatPaginator;
1273
+ tableElementRef: ElementRef<HTMLElement>;
1274
+ /** This property will be taken into account only if config.DataSource not set. */
1275
+ data: i0.InputSignal<T[] | undefined>;
1276
+ dataSourceUpdateEffect: i0.EffectRef;
1277
+ preselectedItems: T[];
1278
+ get ignoreAttributeName(): string;
1279
+ displayColumns: string[];
1280
+ columnSelectActive: boolean;
1281
+ exportActive: boolean;
1282
+ noDataRowActive: boolean;
1283
+ filters: FilterBarChangeEvent;
1284
+ filterBarVisible: boolean;
1285
+ hideSearchTooltip: boolean;
1286
+ showSearch: boolean;
1287
+ showSearchClearButton: boolean;
1288
+ searchTitle: string;
1289
+ searchTooltip: string;
1290
+ noDataRowConfig: StatusDisplayConfig;
1291
+ noDataRowIcon: string;
1292
+ configurableColumns: ColumnConfig[];
1293
+ batchSelectedEnabled: boolean;
1294
+ hoveredRow: any;
1295
+ hoveredRowIndex: number | undefined;
1296
+ tableOverflow: boolean;
1297
+ private scrollMovement;
1298
+ private isDragging;
1299
+ private startX;
1300
+ private startY;
1301
+ private scrollLeft;
1302
+ private scrollTop;
1303
+ get filterActive(): boolean | undefined;
1304
+ get showFilterToggle(): boolean;
1305
+ get showFilterReset(): _tilde_nlp_ngx_common.FilterBarFilter | undefined;
1306
+ private localStorageValue;
1307
+ readonly batchColumnName = "batch";
1308
+ readonly columnSelectColumnName = "columnSelect";
1309
+ constructor(domService: DOMService, translateService: TranslateService);
1310
+ ngOnInit(): void;
1311
+ ngAfterContentInit(): void;
1312
+ ngAfterViewInit(): void;
1313
+ search(event: {
1314
+ target: {
1315
+ value: string;
1316
+ };
1317
+ } | KeyboardEvent): void;
1318
+ updateDisplayColumns(initial?: boolean): void;
1319
+ toggleFilterBar(): void;
1320
+ filtersChanged(filters: FilterBarChangeEvent): void;
1321
+ clearFilters(): void;
1322
+ export(): void;
1323
+ isElementHighlighted(ix: number, element: T): boolean;
1324
+ highlightErrorElement(ix: number, element: T): boolean;
1325
+ isAllSelected(): boolean;
1326
+ toggleAllRowSelection(): void;
1327
+ toggleElementSelection(element: T): void;
1328
+ onMouseDown(event: MouseEvent): void;
1329
+ onMouseMove(event: MouseEvent): void;
1330
+ onMouseUp(): void;
1331
+ paginatorChange(change: PageEvent): void;
1332
+ rowHovered(index: number, row: T): void;
1333
+ rowHoverLeave(): void;
1334
+ defaultTrackBy(ix: number): number;
1335
+ private checkTableOverflow;
1336
+ private exportToFile;
1337
+ private updateLocalStorage;
1338
+ private readFromLocalStorage;
1339
+ private setColumnSelectProperties;
1340
+ private setFilterVisibility;
1341
+ private setNoDataRowProperties;
1342
+ private setExportProperties;
1343
+ private createDataSource;
1344
+ private updateDataSourceData;
1345
+ private updatePaginator;
1346
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiFunctionalTableComponent<any>, never>;
1347
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiFunctionalTableComponent<any>, "tld-multi-functional-table", never, { "config": { "alias": "config"; "required": false; }; "highlightedElements": { "alias": "highlightedElements"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "highlightedErrorElements": { "alias": "highlightedErrorElements"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "isRowCheckboxAlwaysVisible": { "alias": "isRowCheckboxAlwaysVisible"; "required": false; }; "disablePreselectedItems": { "alias": "disablePreselectedItems"; "required": false; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "filterBarChange": "filterBarChange"; "paginatorUpdate": "paginatorUpdate"; "exported": "exported"; "selectionChange": "selectionChange"; }, ["noDataRow", "headerRowDefs", "rowDefs", "columnDefs"], ["[additionalActions]", "[batchActions]", "*"], false, never>;
1348
+ }
1349
+
1350
+ declare class StatusDisplayComponent {
1351
+ config: StatusDisplayConfig;
1352
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusDisplayComponent, never>;
1353
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatusDisplayComponent, "lib-status-display", never, { "config": { "alias": "config"; "required": true; }; }, {}, never, ["*"], false, never>;
1354
+ }
1355
+
1356
+ declare class StatusDisplayModule {
1357
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatusDisplayModule, never>;
1358
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StatusDisplayModule, [typeof StatusDisplayComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4$2.MatProgressSpinnerModule, typeof i5$1.RouterModule], [typeof StatusDisplayComponent]>;
1359
+ static ɵinj: i0.ɵɵInjectorDeclaration<StatusDisplayModule>;
1360
+ }
1361
+
1362
+ declare class MultiFunctionalTableModule {
1363
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiFunctionalTableModule, never>;
1364
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MultiFunctionalTableModule, [typeof MultiFunctionalTableComponent], [typeof i2.CommonModule, typeof i3$3.MatTableModule, typeof i4.MatButtonModule, typeof i3.TranslateModule, typeof i6$1.MatMenuModule, typeof i7$1.MatCheckboxModule, typeof i8$1.FormsModule, typeof FilterBarModule, typeof i3$1.FlexLayoutModule, typeof i11.MatSortModule, typeof i4$2.MatProgressSpinnerModule, typeof i5.MatTooltipModule, typeof StatusDisplayModule, typeof i8.MatIconModule, typeof i16.MatPaginatorModule], [typeof MultiFunctionalTableComponent]>;
1365
+ static ɵinj: i0.ɵɵInjectorDeclaration<MultiFunctionalTableModule>;
1366
+ }
1367
+
1368
+ declare const DISABLE_EXPORT_ATTRIBUTE_NAME = "disable-export";
1369
+
1370
+ interface ConfirmationBody {
1371
+ title: string;
1372
+ descriptioon: string;
1373
+ confirmationText: string;
1374
+ rejectionText: string;
1375
+ /** property to display extra confirmation details (eg. selected engine names) */
1376
+ details?: string[];
1377
+ }
1378
+
1379
+ declare enum Confirmation {
1380
+ PRIMARY = 1,
1381
+ SECONDARY = 2
1382
+ }
1383
+
1384
+ declare class ConfirmationModalComponent {
1385
+ dialogRef: MatDialogRef<ConfirmationModalComponent>;
1386
+ data: ConfirmationBody;
1387
+ confirmation: typeof Confirmation;
1388
+ constructor(dialogRef: MatDialogRef<ConfirmationModalComponent>, data: ConfirmationBody);
1389
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationModalComponent, never>;
1390
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationModalComponent, "lib-confirmation-modal", never, {}, {}, never, never, false, never>;
1391
+ }
1392
+
1393
+ declare class ConfirmationModalModule {
1394
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationModalModule, never>;
1395
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmationModalModule, [typeof ConfirmationModalComponent], [typeof i2.CommonModule, typeof i6.MatDialogModule, typeof i4.MatButtonModule, typeof i3.TranslateModule], [typeof ConfirmationModalComponent]>;
1396
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmationModalModule>;
1397
+ }
1398
+
1399
+ declare class ConfirmationService {
1400
+ private readonly dialog;
1401
+ constructor(dialog: MatDialog);
1402
+ openDialog(data: ConfirmationBody): Observable<Confirmation>;
1403
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
1404
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
1405
+ }
1406
+
1407
+ interface EngineTermCollectionAccessScopeUpdate {
1408
+ default: boolean;
1409
+ }
1410
+
1411
+ interface EngineTermCollectionAccessUpdate {
1412
+ group: EngineTermCollectionAccessScopeUpdate;
1413
+ global?: EngineTermCollectionAccessScopeUpdate;
1414
+ }
1415
+
1416
+ declare enum EngineTermCollectionSource {
1417
+ TILDE_TERM = "TildeTerm",
1418
+ FILE = "File"
1419
+ }
1420
+
1421
+ interface AddEngineTermsRequestParams {
1422
+ collectionId: string;
1423
+ collectionSource: EngineTermCollectionSource;
1424
+ access: EngineTermCollectionAccessUpdate;
1425
+ }
1426
+
1427
+ interface UpdateEngineTermsRequestParams {
1428
+ access: EngineTermCollectionAccessUpdate;
1429
+ }
1430
+
1431
+ interface EngineTermCollectionAccessScope {
1432
+ default: boolean;
1433
+ order: number;
1434
+ }
1435
+
1436
+ interface EngineTermCollectionAccess {
1437
+ global?: EngineTermCollectionAccessScope;
1438
+ group?: EngineTermCollectionAccessScope;
1439
+ user?: EngineTermCollectionAccessScope;
1440
+ }
1441
+
1442
+ declare enum EngineTermCollectionScope {
1443
+ GROUP = "Group",
1444
+ GLOBAL = "Global"
1445
+ }
1446
+
1447
+ declare enum EngineTermCollectionStatus {
1448
+ IMPORTING = "Importing",
1449
+ READY = "Ready",
1450
+ ERROR = "Error",
1451
+ DELETING = "Deleting"
1452
+ }
1453
+
1454
+ declare enum EngineTermCollectionSubStatus {
1455
+ UNSPECIFIED = "Unspecified",
1456
+ IMPORTING_QUEUING = "ImportingQueuing",
1457
+ IMPORTING = "Importing",
1458
+ IMPORTING_FETCHING = "ImportingFetching",
1459
+ IMPORTING_PREPROCESSING = "ImportingPreprocessing",
1460
+ DELETING_QUEUING = "DeletingQueuing",
1461
+ DELETING = "Deleting",
1462
+ DELETING_DELETED = "DeletingDeleted",
1463
+ ERROR_IMPORTING = "ErrorImporting",
1464
+ ERROR_DELETING = "ErrorDeleting "
1465
+ }
1466
+
1467
+ interface EngineTermCollection {
1468
+ id: string;
1469
+ externalCollection: ExternalCollection;
1470
+ scope: EngineTermCollectionScope;
1471
+ default: boolean;
1472
+ name: string;
1473
+ status: EngineTermCollectionStatus;
1474
+ subStatus: EngineTermCollectionSubStatus;
1475
+ progress: number;
1476
+ collectionSource: EngineTermCollectionSource;
1477
+ order: number;
1478
+ access: EngineTermCollectionAccess;
1479
+ }
1480
+ interface ExternalCollection {
1481
+ id: string;
1482
+ updatedAt: Date;
1483
+ termCount: number;
1484
+ }
1485
+
1486
+ interface EngineTermCollectionList {
1487
+ termCollections: EngineTermCollection[];
1488
+ }
1489
+
1490
+ interface DefaultCollectionOrderUpdate {
1491
+ order: string[];
1492
+ scope: EngineTermCollectionScope;
1493
+ }
1494
+
1495
+ declare enum CombinedCollectionTooltipKey {
1496
+ NO_ENTRIES = "NO_ENTRIES",
1497
+ DEFAULT_COLLECTION = "DEFAULT_COLLECTION"
1498
+ }
1499
+
1500
+ declare enum MtCollectionStatus {
1501
+ IMPORTING = "Importing",
1502
+ DELETING = "Deleting",
1503
+ READY = "Ready",
1504
+ PROCESSING = "Processing",
1505
+ ERROR = "Error",
1506
+ NOT_IN_USE = "NotInUse"
1507
+ }
1508
+
1509
+ interface MtCollection {
1510
+ id: string;
1511
+ lastUpdated: Date | null;
1512
+ status: MtCollectionStatus;
1513
+ subStatus?: EngineTermCollectionSubStatus;
1514
+ name: string;
1515
+ termId?: string;
1516
+ collectionSource?: string;
1517
+ /**
1518
+ * Api v2 determines if collection is default.
1519
+ */
1520
+ termCount?: number;
1521
+ progress?: number;
1522
+ access?: EngineTermCollectionAccess;
1523
+ }
1524
+
1525
+ /**
1526
+ * Term collection from term portal languages property interface.
1527
+ */
1528
+ interface ITldTermCollectionLanguages {
1529
+ /**
1530
+ * Language code
1531
+ */
1532
+ id: string;
1533
+ count: number;
1534
+ name: string;
1535
+ }
1536
+
1537
+ interface ITldTermCollection {
1538
+ allowsUsesBesidesDGT: boolean;
1539
+ appropriatnessForDSI: boolean;
1540
+ attributionText: string;
1541
+ belonging: any;
1542
+ canDownloadPublic: boolean;
1543
+ closed: boolean;
1544
+ collectionGuid: string;
1545
+ collectionTags: any[];
1546
+ cpEmail: string;
1547
+ cpName: string;
1548
+ cpOrganization: string;
1549
+ cpSurname: string;
1550
+ createDate: Date;
1551
+ defaultDomain: any;
1552
+ defaultLanguages: any;
1553
+ description: string;
1554
+ domainID: any;
1555
+ domains: any;
1556
+ elrcShareId: any;
1557
+ entryCount: number;
1558
+ eurovocDomainId: any;
1559
+ externalUri: string;
1560
+ id: string;
1561
+ iprEmail: string;
1562
+ iprName: string;
1563
+ iprOrganization: string;
1564
+ iprSurname: string;
1565
+ isImporting: boolean;
1566
+ isPSI: boolean;
1567
+ languages: ITldTermCollectionLanguages[];
1568
+ licence: any;
1569
+ metaNordId: any;
1570
+ modifyDate: Date;
1571
+ name: string;
1572
+ originalName: string;
1573
+ originalNameLang: string;
1574
+ ownerGroupGuid: string;
1575
+ permissions: string[];
1576
+ public: boolean;
1577
+ restrictionsOfUse: any;
1578
+ sourceURL: string;
1579
+ targetCollectionId: any;
1580
+ type: string;
1581
+ }
1582
+
1583
+ /**
1584
+ * Class that joins collection from term api and its imported collection from MT api.
1585
+ */
1586
+ declare class CombinedCollection {
1587
+ mtCollection: MtCollection | null;
1588
+ termCollection: ITldTermCollection | null;
1589
+ termTooltipKey: CombinedCollectionTooltipKey | null;
1590
+ source: EngineTermCollectionSource;
1591
+ /**
1592
+ * Modified date from term api or last updated from mt api.
1593
+ */
1594
+ lastUpdated: Date | undefined;
1595
+ static importingStatuses: MtCollectionStatus[];
1596
+ static findExistingCollectionFromList(collections: Iterable<CombinedCollection>, collection: CombinedCollection): CombinedCollection | null;
1597
+ static findExistingIndexFromList(collections: Iterable<CombinedCollection>, collection: CombinedCollection): number | null;
1598
+ editables: {
1599
+ globalDefault?: boolean;
1600
+ groupDefault?: boolean;
1601
+ };
1602
+ private _isSynchronized;
1603
+ /**
1604
+ * Weather collection is synchronized with term portal collection. If no term collection, value is set to true.
1605
+ */
1606
+ get isSynchronized(): boolean;
1607
+ /**
1608
+ * Determines if collections is 'syncable'. Returns true if it is not synced or if synchronization has failed and status is error.
1609
+ */
1610
+ private _syncButtonVisible;
1611
+ get syncButtonVisible(): boolean;
1612
+ /**
1613
+ * Term collection id. Returns value from term collection or from mt, if term collection not existing.
1614
+ */
1615
+ get termId(): string;
1616
+ get mtStatus(): MtCollectionStatus | undefined;
1617
+ /**
1618
+ * Collection name. If has term collection, takes from there. If not, then returns mt collection name.
1619
+ */
1620
+ get name(): string | undefined;
1621
+ /**
1622
+ * Entry count from term api.
1623
+ */
1624
+ get termEntries(): number | undefined;
1625
+ /** Checks if has set to default in any scope */
1626
+ private _default;
1627
+ get default(): boolean;
1628
+ /**
1629
+ * Status from mt api or custom "NOT_IN_USE" status if not imported in mt.s
1630
+ */
1631
+ get status(): MtCollectionStatus;
1632
+ /**
1633
+ * Scope can be edited only if has mt collcetion or term collection is being prepared for import.
1634
+ */
1635
+ get canEditScope(): boolean | MtCollection;
1636
+ get termCount(): number | undefined;
1637
+ private _isTermPortalCollection;
1638
+ get isTermPortalCollection(): boolean;
1639
+ private _isImporting;
1640
+ get isImporting(): boolean | null;
1641
+ constructor(termApiCollection: ITldTermCollection | null, mtCollection: MtCollection | null);
1642
+ /**
1643
+ * Updates collection with values from new collection.
1644
+ * @param collection collection from which should be updated.
1645
+ */
1646
+ update(collection: CombinedCollection | null): void;
1647
+ /**
1648
+ * If some of editables are edited.
1649
+ *
1650
+ * if collection not imported and enabled not set, method will return true, because you cannot update collection if it is not imported or is not meant to be imported.
1651
+ *
1652
+ * @returns true if collection is edited, false if not.
1653
+ */
1654
+ isEdited(): boolean;
1655
+ /**
1656
+ * Deletes term collection and its properties.
1657
+ */
1658
+ deleteTerms(): void;
1659
+ /**
1660
+ * Deletes mt collection and its properties.
1661
+ */
1662
+ deleteMT(): void;
1663
+ updateEditables(access: EngineTermCollectionAccess | null): void;
1664
+ private updateIsSynchronized;
1665
+ private updateSource;
1666
+ private updateTooltipKey;
1667
+ }
1668
+
1669
+ interface DomainList {
1670
+ domains: Domain[];
1671
+ active: Domain | undefined;
1672
+ }
1673
+ interface Domain {
1674
+ title: string;
1675
+ /** Property created only for frontend, to seperate multi language engines and give unique id for each one of them */
1676
+ languageId: string;
1677
+ }
1678
+
1679
+ interface Vendor {
1680
+ title: string;
1681
+ /** Property created only for frontend, to seperate multi language engines and give unique id for each one of them */
1682
+ languageId: string;
1683
+ }
1684
+
1685
+ interface LangListItem {
1686
+ lang?: string;
1687
+ languageId?: string;
1688
+ domain?: string;
1689
+ vendor?: string;
1690
+ }
1691
+
1692
+ interface ActiveData {
1693
+ systemId?: string;
1694
+ languageId: string;
1695
+ sourceLang?: LangListItem;
1696
+ targetLang?: LangListItem;
1697
+ sourceLangList?: LangListItem[];
1698
+ targetLangList?: LangListItem[];
1699
+ domains?: DomainList;
1700
+ vendors?: Vendor[];
1701
+ swapLangActive?: boolean;
1702
+ system?: System;
1703
+ /**
1704
+ * Whether text/file should be retranslated on system change.
1705
+ * For example if domain is auto and system gets changed after api response, no retranslation needed.
1706
+ */
1707
+ retranslate?: boolean;
1708
+ recentSystems: System[];
1709
+ detectedLanguage?: string;
1710
+ }
1711
+
1712
+ interface TerminologyEngine {
1713
+ selected: CombinedCollection | null;
1714
+ isImporting: boolean;
1715
+ isAnyImporting: boolean;
1716
+ hasAnyCollections: boolean;
1717
+ isRefreshingCollections: boolean;
1718
+ collections: Set<CombinedCollection>;
1719
+ refreshMtCollections: boolean;
1720
+ refreshTermCollections: boolean;
1721
+ engineLanguages: string[];
1722
+ isSoftAutoRefreshOn: boolean;
1723
+ hardAutoRefresh: boolean;
1724
+ refreshTimeout: any;
1725
+ }
1726
+
1727
+ declare class EngineTermApiService {
1728
+ private readonly http;
1729
+ private readonly config;
1730
+ baseUrl: string;
1731
+ constructor(http: HttpClient, config: TerminologyConfigService);
1732
+ add(engineId: string, params: AddEngineTermsRequestParams): Observable<EngineTermCollection>;
1733
+ update(engineId: string, collectionId: string, params: UpdateEngineTermsRequestParams): Observable<EngineTermCollection>;
1734
+ getList(engineId: string): Observable<EngineTermCollectionList>;
1735
+ remove(engineId: string, collectionId: string): Observable<EngineTermCollection>;
1736
+ order(engineId: string, orderUpdate: DefaultCollectionOrderUpdate): Observable<EngineTermCollectionList>;
1737
+ sync(engineId: string, collectionId: string): Observable<EngineTermCollection>;
1738
+ static ɵfac: i0.ɵɵFactoryDeclaration<EngineTermApiService, never>;
1739
+ static ɵprov: i0.ɵɵInjectableDeclaration<EngineTermApiService>;
1740
+ }
1741
+
1742
+ declare class TerminologyApiService {
1743
+ private readonly config;
1744
+ private readonly engineTermApi;
1745
+ baseUrl: string;
1746
+ constructor(config: TerminologyConfigService, engineTermApi: EngineTermApiService);
1747
+ add(engineId: string, collection: CombinedCollection): Observable<CombinedCollection>;
1748
+ getList(engineId: string): Observable<CombinedCollection[]>;
1749
+ remove(engineId: string, collection: CombinedCollection): Observable<CombinedCollection>;
1750
+ sync(engineId: string, collection: CombinedCollection): Observable<CombinedCollection>;
1751
+ private convertToCombinedCollection;
1752
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyApiService, never>;
1753
+ static ɵprov: i0.ɵɵInjectableDeclaration<TerminologyApiService>;
1754
+ }
1755
+
1756
+ declare class TerminologyCollectionService {
1757
+ private readonly config;
1758
+ private readonly http;
1759
+ get url(): string;
1760
+ constructor(config: TerminologyConfigService, http: HttpClient);
1761
+ createCollection(defaultLanguages: string[], collectionName: string): Observable<CombinedCollection>;
1762
+ getCollectionList(): Observable<CombinedCollection[]>;
1763
+ getEditLink(termId: string, sourceLanguage?: string, targetLanguage?: string): string;
1764
+ private convertToCombinedCollection;
1765
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyCollectionService, never>;
1766
+ static ɵprov: i0.ɵɵInjectableDeclaration<TerminologyCollectionService>;
1767
+ }
1768
+
1769
+ declare class TerminologyService {
1770
+ private readonly config;
1771
+ private readonly alert;
1772
+ private readonly termCollectionApi;
1773
+ private readonly mtApi;
1774
+ engines: {
1775
+ [engineId: string]: TerminologyEngine;
1776
+ };
1777
+ private retranslateSubject;
1778
+ private engineSubject;
1779
+ private updatedEnginesSubject;
1780
+ get isAuthenticated(): boolean | undefined;
1781
+ get canCreateCollections(): boolean | undefined;
1782
+ readonly LOCAL_STORAGE_KEY = "systemLastCollections";
1783
+ get hasEditPermissions(): boolean | undefined;
1784
+ constructor(config: TerminologyConfigService, alert: AlertService, termCollectionApi: TerminologyCollectionService, mtApi: TerminologyApiService);
1785
+ getRetranslateSignal(): Observable<boolean>;
1786
+ resetEngines(): void;
1787
+ hasAnyCollections(systemId: string): boolean;
1788
+ getEnginesWithSelectedCollectionChange(): Observable<{
1789
+ [engineId: string]: TerminologyEngine;
1790
+ }>;
1791
+ setEngine(engineId: string, languages?: string[] | null, setSelectedFromLocalStorage?: boolean, termCollections?: boolean, mtCollections?: boolean, selectedCollection?: CombinedCollection, autoRefresh?: boolean): Observable<{
1792
+ [engineId: string]: TerminologyEngine;
1793
+ }>;
1794
+ setSelectedCollection(engineId: string, collection: CombinedCollection | null, storeSelectedInLocalStorage: boolean): void;
1795
+ loadCollections(engineId: string, setSelectedFromLocalStorage?: boolean): Observable<{
1796
+ [engineId: string]: TerminologyEngine;
1797
+ }>;
1798
+ getCollections(): Observable<{
1799
+ [engineId: string]: TerminologyEngine;
1800
+ }>;
1801
+ startAutoRefresh(engineId: string, languages?: string[] | null, setSelectedFromLocalStorage?: boolean, termCollections?: boolean, mtCollections?: boolean): Observable<{
1802
+ [engineId: string]: TerminologyEngine;
1803
+ }>;
1804
+ stopAutoRefresh(engineId: string): void;
1805
+ create(sourceLanguage: string, targetLanguage: string, collectionName: string, engineId: string, redirectToEdit?: boolean): Observable<CombinedCollection>;
1806
+ selectedIdForTranslation(engineId: string): string | null;
1807
+ updateIfNecessary(collection: CombinedCollection, engineId: string, isEdited?: boolean): Observable<CombinedCollection>;
1808
+ handleAddToEngineError(error: any, engineId: string): void;
1809
+ sync(collection: CombinedCollection, engineId: string): Observable<CombinedCollection>;
1810
+ removeMtCollection(collection: CombinedCollection, engineId: string): Observable<CombinedCollection>;
1811
+ addToEngineValidation(collection: CombinedCollection): boolean;
1812
+ private clearTimeout;
1813
+ private setSelectedFromLocalStorage;
1814
+ private removeDeleted;
1815
+ private addCollections;
1816
+ private scheduleRefresh;
1817
+ private storeSelectedInLocalStorage;
1818
+ private readLocalStorage;
1819
+ private updateSelectedCollectionOutsideService;
1820
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyService, never>;
1821
+ static ɵprov: i0.ɵɵInjectableDeclaration<TerminologyService>;
1822
+ }
1823
+
1824
+ declare class TerminologyComponent implements OnInit, OnDestroy, OnChanges {
1825
+ private readonly config;
1826
+ private readonly terminologyService;
1827
+ private readonly iconService;
1828
+ selectedCollectionId: string;
1829
+ system: {
1830
+ systemId: string;
1831
+ sourceLanguageCode: string;
1832
+ targetLanguageCode: string;
1833
+ };
1834
+ disabled: boolean;
1835
+ storeSelectedInLocalStorage: boolean;
1836
+ setSelectedFromLocalStorage: boolean;
1837
+ showMenuIconOnMobile: boolean;
1838
+ glossarySelectEvent: EventEmitter<CombinedCollection | null>;
1839
+ menuToggleEvent: EventEmitter<boolean>;
1840
+ private isRefreshEnabled;
1841
+ private isMenuOpened;
1842
+ private presetCollectionSubscription;
1843
+ private readonly destroy;
1844
+ selected: CombinedCollection | null;
1845
+ get hideGlossaryMenuWithoutCollections(): boolean | undefined;
1846
+ get hasAnyCollections(): boolean;
1847
+ constructor(config: TerminologyConfigService, terminologyService: TerminologyService, iconService: IconService);
1848
+ ngOnChanges(changes: SimpleChanges): void;
1849
+ ngOnInit(): void;
1850
+ selectGlossary(collection: CombinedCollection | null): void;
1851
+ openMenu(): void;
1852
+ closeMenu(): void;
1853
+ ngOnDestroy(): void;
1854
+ private stopRefresh;
1855
+ private presetCollection;
1856
+ private watchSystemChanges;
1857
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyComponent, never>;
1858
+ static ɵcmp: i0.ɵɵComponentDeclaration<TerminologyComponent, "lib-terminology", never, { "selectedCollectionId": { "alias": "selectedCollectionId"; "required": false; }; "system": { "alias": "system"; "required": true; }; "disabled": { "alias": "disabled"; "required": false; }; "storeSelectedInLocalStorage": { "alias": "storeSelectedInLocalStorage"; "required": false; }; "setSelectedFromLocalStorage": { "alias": "setSelectedFromLocalStorage"; "required": false; }; "showMenuIconOnMobile": { "alias": "showMenuIconOnMobile"; "required": false; }; }, { "glossarySelectEvent": "glossarySelectEvent"; "menuToggleEvent": "menuToggleEvent"; }, never, never, false, never>;
1859
+ }
1860
+
1861
+ declare class TerminologyPanelComponent implements OnInit, OnChanges {
1862
+ private readonly terminologyService;
1863
+ private readonly config;
1864
+ system: {
1865
+ systemId: string;
1866
+ sourceLanguageCode: string;
1867
+ targetLanguageCode: string;
1868
+ };
1869
+ setSelectedFromLocalStorage: boolean;
1870
+ selectedCollection: CombinedCollection | null;
1871
+ glossarySelectEvent: EventEmitter<CombinedCollection | null>;
1872
+ get isAuthenticated(): boolean | undefined;
1873
+ get hasAnyCollections(): boolean;
1874
+ get hasEditPermissions(): boolean | undefined;
1875
+ get canCreateCollections(): boolean | undefined;
1876
+ get showGlossaryMenuAdvertisement(): boolean | undefined;
1877
+ get signInUrl(): string | undefined;
1878
+ get startTrialUrl(): string | undefined;
1879
+ get showGlossaryList(): boolean | undefined;
1880
+ sourceLanguageCode: string;
1881
+ targetLanguageCode: string;
1882
+ defaultGlossaryManagementLink: string;
1883
+ readonly readerLocalizationKey = "TERM_COLLECTIONS.READER.";
1884
+ constructor(terminologyService: TerminologyService, config: TerminologyConfigService);
1885
+ private systemId;
1886
+ ngOnInit(): void;
1887
+ ngOnChanges(changes: SimpleChanges): void;
1888
+ selectGlossary(collection: CombinedCollection | null): void;
1889
+ private initializeData;
1890
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyPanelComponent, never>;
1891
+ static ɵcmp: i0.ɵɵComponentDeclaration<TerminologyPanelComponent, "lib-terminology-panel", never, { "system": { "alias": "system"; "required": true; }; "setSelectedFromLocalStorage": { "alias": "setSelectedFromLocalStorage"; "required": true; }; "selectedCollection": { "alias": "selectedCollection"; "required": false; }; }, { "glossarySelectEvent": "glossarySelectEvent"; }, never, never, false, never>;
1892
+ }
1893
+
1894
+ declare class TerminologyCreateCollectionComponent {
1895
+ private readonly translate;
1896
+ private readonly dialog;
1897
+ private readonly terminologyService;
1898
+ sourceLanguageCode: string;
1899
+ targetLanguageCode: string;
1900
+ collectionCreated: EventEmitter<CombinedCollection>;
1901
+ private readonly createCollectionErrorCode;
1902
+ get canCreateCollections(): boolean | undefined;
1903
+ constructor(translate: TranslateService, dialog: MatDialog, terminologyService: TerminologyService);
1904
+ create(): void;
1905
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyCreateCollectionComponent, never>;
1906
+ static ɵcmp: i0.ɵɵComponentDeclaration<TerminologyCreateCollectionComponent, "lib-terminology-create-collection", never, { "sourceLanguageCode": { "alias": "sourceLanguageCode"; "required": false; }; "targetLanguageCode": { "alias": "targetLanguageCode"; "required": false; }; }, { "collectionCreated": "collectionCreated"; }, never, never, false, never>;
1907
+ }
1908
+
1909
+ declare class TerminologyCreateCollectionDialogComponent implements OnInit, OnDestroy {
1910
+ private readonly dialogRef;
1911
+ private readonly config;
1912
+ private readonly translateService;
1913
+ private readonly fb;
1914
+ data: {
1915
+ collectionName: string;
1916
+ };
1917
+ form: FormGroup;
1918
+ collectionName: string;
1919
+ minLength: number;
1920
+ maxLength: number;
1921
+ termPortalName: string;
1922
+ appName: string;
1923
+ appNameKey: string;
1924
+ termPortalKey: string;
1925
+ private subscription;
1926
+ constructor(dialogRef: MatDialogRef<any>, config: TerminologyConfigService, translateService: TranslateService, fb: FormBuilder, data: {
1927
+ collectionName: string;
1928
+ });
1929
+ ngOnInit(): void;
1930
+ create(): void;
1931
+ ngOnDestroy(): void;
1932
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyCreateCollectionDialogComponent, never>;
1933
+ static ɵcmp: i0.ɵɵComponentDeclaration<TerminologyCreateCollectionDialogComponent, "lib-terminology-create-collection-dialog", never, {}, {}, never, never, false, never>;
1934
+ }
1935
+
1936
+ declare class TerminologyCollectionListComponent implements OnInit, OnDestroy {
1937
+ private readonly terminologyService;
1938
+ private readonly config;
1939
+ system: {
1940
+ systemId: string;
1941
+ sourceLanguageCode: string;
1942
+ targetLanguageCode: string;
1943
+ };
1944
+ selectedCollection: CombinedCollection | null;
1945
+ glossarySelectEvent: EventEmitter<CombinedCollection | null>;
1946
+ appName: string;
1947
+ collections: CombinedCollection[];
1948
+ readonly localizationKey = "TERM_COLLECTIONS.";
1949
+ readonly tooltipLocalizationKey = "TERM_COLLECTIONS.TOOLTIPS.";
1950
+ get hasAnyCollections(): boolean;
1951
+ get hasEditPermissions(): boolean;
1952
+ private readonly destroy;
1953
+ constructor(terminologyService: TerminologyService, config: TerminologyConfigService);
1954
+ ngOnInit(): void;
1955
+ selectGlossary(collection: CombinedCollection | null): void;
1956
+ ngOnDestroy(): void;
1957
+ private collectionsSortFunction;
1958
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyCollectionListComponent, never>;
1959
+ static ɵcmp: i0.ɵɵComponentDeclaration<TerminologyCollectionListComponent, "lib-terminology-collection-list", never, { "system": { "alias": "system"; "required": true; }; "selectedCollection": { "alias": "selectedCollection"; "required": false; }; }, { "glossarySelectEvent": "glossarySelectEvent"; }, never, never, false, never>;
1960
+ }
1961
+
1962
+ declare class TerminologyCollectionCardComponent {
1963
+ private readonly terminologyService;
1964
+ private readonly terminologyCollection;
1965
+ collection: CombinedCollection;
1966
+ selected: CombinedCollection | null;
1967
+ localizationKey: string;
1968
+ tooltipLocalizationKey: string;
1969
+ sourceLanguageCode: string;
1970
+ engineId: string;
1971
+ targetLanguageCode: string;
1972
+ hasEditPermissions: boolean;
1973
+ glossarySelectEvent: EventEmitter<CombinedCollection>;
1974
+ collectionErrorStatus: MtCollectionStatus;
1975
+ collectionImportingErrorSubStatus: EngineTermCollectionSubStatus;
1976
+ get isSelectionDisabled(): boolean;
1977
+ constructor(terminologyService: TerminologyService, terminologyCollection: TerminologyCollectionService);
1978
+ selectGlossary(collection: CombinedCollection): void;
1979
+ attach(collection: CombinedCollection): void;
1980
+ getEditLink(collection: CombinedCollection): string;
1981
+ private isCollectionDisabled;
1982
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyCollectionCardComponent, never>;
1983
+ static ɵcmp: i0.ɵɵComponentDeclaration<TerminologyCollectionCardComponent, "lib-terminology-collection-card", never, { "collection": { "alias": "collection"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "localizationKey": { "alias": "localizationKey"; "required": false; }; "tooltipLocalizationKey": { "alias": "tooltipLocalizationKey"; "required": false; }; "sourceLanguageCode": { "alias": "sourceLanguageCode"; "required": false; }; "engineId": { "alias": "engineId"; "required": false; }; "targetLanguageCode": { "alias": "targetLanguageCode"; "required": false; }; "hasEditPermissions": { "alias": "hasEditPermissions"; "required": false; }; }, { "glossarySelectEvent": "glossarySelectEvent"; }, never, never, false, never>;
1984
+ }
1985
+
1986
+ interface OpenCloseBtnIcons {
1987
+ open: string;
1988
+ close: string;
1989
+ }
1990
+
1991
+ declare class OpenCloseButtonComponent implements OnInit {
1992
+ private readonly openCloseBtnIcons;
1993
+ private _isOpened;
1994
+ disableFocusOnAction: boolean;
1995
+ disabled: boolean;
1996
+ isIcon: boolean;
1997
+ ariaLabelCode: string;
1998
+ set isOpened(value: boolean);
1999
+ get isOpened(): boolean;
2000
+ button: MatButton;
2001
+ icons: OpenCloseBtnIcons;
2002
+ defaultIcons: OpenCloseBtnIcons;
2003
+ constructor(openCloseBtnIcons: OpenCloseBtnIcons);
2004
+ ngOnInit(): void;
2005
+ focus(): void;
2006
+ static ɵfac: i0.ɵɵFactoryDeclaration<OpenCloseButtonComponent, [{ optional: true; }]>;
2007
+ static ɵcmp: i0.ɵɵComponentDeclaration<OpenCloseButtonComponent, "lib-open-close-button", never, { "disableFocusOnAction": { "alias": "disableFocusOnAction"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isIcon": { "alias": "isIcon"; "required": false; }; "ariaLabelCode": { "alias": "ariaLabelCode"; "required": false; }; "isOpened": { "alias": "isOpened"; "required": false; }; }, {}, never, ["*"], false, never>;
2008
+ }
2009
+
2010
+ declare class OpenCloseButtonModule {
2011
+ static ɵfac: i0.ɵɵFactoryDeclaration<OpenCloseButtonModule, never>;
2012
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OpenCloseButtonModule, [typeof OpenCloseButtonComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.MatButtonModule, typeof i3$1.FlexLayoutModule], [typeof OpenCloseButtonComponent]>;
2013
+ static ɵinj: i0.ɵɵInjectorDeclaration<OpenCloseButtonModule>;
2014
+ }
2015
+
2016
+ declare class TerminologyModule {
2017
+ static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyModule, never>;
2018
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TerminologyModule, [typeof TerminologyComponent, typeof TerminologyPanelComponent, typeof TerminologyCreateCollectionComponent, typeof TerminologyCreateCollectionDialogComponent, typeof TerminologyCollectionListComponent, typeof TerminologyCollectionCardComponent], [typeof i2.CommonModule, typeof OpenCloseButtonModule, typeof i3.TranslateModule, typeof i3$1.FlexLayoutModule, typeof i8$1.FormsModule, typeof i8$1.ReactiveFormsModule, typeof CloseButtonModule, typeof DateAgoModule, typeof i4.MatButtonModule, typeof i8.MatIconModule, typeof i4$2.MatProgressSpinnerModule, typeof i6$1.MatMenuModule, typeof i18.MatRadioModule, typeof i6.MatDialogModule, typeof i4$1.MatInputModule, typeof i5.MatTooltipModule, typeof LanguageTranslateModule], [typeof TerminologyComponent, typeof TerminologyCreateCollectionComponent]>;
2019
+ static ɵinj: i0.ɵɵInjectorDeclaration<TerminologyModule>;
2020
+ }
2021
+
2022
+ declare const COLLECTIONS_MENU = "\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 15.9 20.3\" style=\"enable-background:new 0 0 15.9 20.3;\" xml:space=\"preserve\">\n<g id=\"Layer_1_00000122707316528403919840000013038058684751510177_\">\n</g>\n<g id=\"Layer_2_00000016758538246796687430000000356337115434427298_\">\n\t<polygon class=\"st0\" points=\"6.4,5.1 7.6,5.1 7,2.9 \t\"/>\n\t<path class=\"st0\" d=\"M15.7,0H3C1.3,0,0,1.3,0,2.9v12.2c0.6-0.5,1.4-0.9,2.3-0.9h13.6v-14C15.9,0.1,15.8,0,15.7,0z M9.1,7.2\n\t\tC8.9,7.3,8.8,7.3,8.6,7.3S8.2,7.2,8.2,7.1l-0.3-1H6.2l-0.3,1c0,0.2-0.2,0.2-0.4,0.2c-0.2,0-0.4-0.1-0.6-0.2c-0.2,0-0.3-0.2-0.2-0.4\n\t\tl1.5-5C6.3,1.3,6.8,1.3,7,1.3s0.7,0,0.8,0.4l1.5,5C9.4,6.9,9.3,7.1,9.1,7.2z M13.2,13.1h-2.9c-0.6,0-0.9-0.6-0.6-1.1l2.1-3.3h-1.5\n\t\tC10,8.7,9.7,8.4,9.7,8c0-0.4,0.3-0.7,0.7-0.7h2.8c0.5,0,0.9,0.6,0.6,1.1l-2.1,3.3h1.6c0.4,0,0.7,0.3,0.7,0.7\n\t\tC13.9,12.8,13.6,13.1,13.2,13.1z\"/>\n</g>\n<path class=\"st0\" d=\"M2.3,15.4c-0.4,0-0.8,0.1-1.1,0.4c-0.7,0.4-1.2,1.1-1.2,2c0,1.1,0.8,2.1,1.9,2.2C2,20,2,20,2.1,20\n\tc0.1,0,0.1,0,0.2,0c0,0,0,0,0,0c0,0,0,0,0,0h13.4c0.1,0,0.2-0.1,0.2-0.2v-4.4H2.3z\"/>\n</svg>\n";
2023
+
2024
+ declare const OPEN_CLOSE_BTN_ICONS_TOKEN = "OPEN_CLOSE_BTN_ICONS_TOKEN";
2025
+
2026
+ /**
2027
+ This properties are same defined as Angular material min-width breakpoints.
2028
+ https://material.angular.io/cdk/layout/overview
2029
+ */
2030
+ declare const SCREEN_SIZE: {
2031
+ SMALL: number;
2032
+ MEDIUM: number;
2033
+ LARGE: number;
2034
+ XLARGE: number;
2035
+ };
2036
+
2037
+ /**
2038
+ * Local storage key which stores last used configuration of language direction in Machine Translation.
2039
+ * By overwriting this value with langugeId (sourceLanguage-targetLanguage-domain-vendor-engineId), this system is going to be preselected.
2040
+ */
2041
+ declare const LAST_USED_SYSTEM_LOCAL_STORAGE_KEY = "lastUsedSystem";
2042
+
2043
+ declare enum ERROR_CODES {
2044
+ TIMEOUT = 504
2045
+ }
2046
+
2047
+ interface Voice {
2048
+ voice: string;
2049
+ voiceName?: string;
2050
+ }
2051
+
2052
+ declare class TextToSpeechComponent implements OnInit {
2053
+ #private;
2054
+ maxCharLength: number;
2055
+ voices: Voice[];
2056
+ text: string;
2057
+ previousText: string;
2058
+ previousVoice: string;
2059
+ audio: HTMLAudioElement;
2060
+ isLoading: boolean;
2061
+ isPlaying: boolean;
2062
+ selected: Voice;
2063
+ get hasOverflow(): boolean;
2064
+ ngOnInit(): void;
2065
+ togglePlay(): void;
2066
+ stop(): void;
2067
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextToSpeechComponent, never>;
2068
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextToSpeechComponent, "lib-text-to-speech", never, { "maxCharLength": { "alias": "maxCharLength"; "required": false; }; "voices": { "alias": "voices"; "required": false; }; }, {}, never, never, true, never>;
2069
+ }
2070
+
2071
+ declare enum LLMActions {
2072
+ SUMMARY = "SUMMARY",
2073
+ REPHRASE = "REPHRASE"
2074
+ }
2075
+
2076
+ declare class LLMComponent {
2077
+ dialog: MatDialog;
2078
+ private readonly iconService;
2079
+ private readonly languageService;
2080
+ text: string | Observable<string> | undefined;
2081
+ language: string | undefined;
2082
+ rephrasableLanguagesCodeList: string[] | undefined;
2083
+ summaryEnabled: boolean;
2084
+ rephraseEnabled: boolean;
2085
+ showUseCaseSummary: boolean;
2086
+ showUseCaseRephrase: boolean;
2087
+ newFeatureLocalStorageKey: string | undefined;
2088
+ rephraseUseCases: LLMRephraseUseCase[] | undefined;
2089
+ summaryUseCases: LLMSummaryUseCase[] | undefined;
2090
+ menuTriggerClick: EventEmitter<void>;
2091
+ readonly llmAction: typeof LLMActions;
2092
+ get isTextSummarizable(): string | Observable<string> | undefined;
2093
+ get isTargetLanguageRephrasable(): boolean | "" | undefined;
2094
+ constructor(dialog: MatDialog, iconService: IconService, languageService: LanguageTranslateService);
2095
+ openLLMModal(action: LLMActions): void;
2096
+ static ɵfac: i0.ɵɵFactoryDeclaration<LLMComponent, never>;
2097
+ static ɵcmp: i0.ɵɵComponentDeclaration<LLMComponent, "lib-llm", never, { "text": { "alias": "text"; "required": false; }; "language": { "alias": "language"; "required": false; }; "rephrasableLanguagesCodeList": { "alias": "rephrasableLanguagesCodeList"; "required": false; }; "summaryEnabled": { "alias": "summaryEnabled"; "required": false; }; "rephraseEnabled": { "alias": "rephraseEnabled"; "required": false; }; "showUseCaseSummary": { "alias": "showUseCaseSummary"; "required": false; }; "showUseCaseRephrase": { "alias": "showUseCaseRephrase"; "required": false; }; "newFeatureLocalStorageKey": { "alias": "newFeatureLocalStorageKey"; "required": false; }; "rephraseUseCases": { "alias": "rephraseUseCases"; "required": false; }; "summaryUseCases": { "alias": "summaryUseCases"; "required": false; }; }, { "menuTriggerClick": "menuTriggerClick"; }, never, never, false, never>;
2098
+ }
2099
+
2100
+ declare class LLMTextareaComponent implements OnInit, OnChanges, OnDestroy, AfterViewInit {
2101
+ private readonly clipboard;
2102
+ textarea: ElementRef;
2103
+ text: string;
2104
+ disabled: boolean;
2105
+ actionButtonsDisabled: boolean;
2106
+ textEditEvent: EventEmitter<any>;
2107
+ dislikeEvent: EventEmitter<any>;
2108
+ copyEvent: EventEmitter<any>;
2109
+ textareaControl: FormControl;
2110
+ private readonly destroy;
2111
+ constructor(clipboard: Clipboard);
2112
+ ngOnInit(): void;
2113
+ ngAfterViewInit(): void;
2114
+ ngOnChanges(changes: SimpleChanges): void;
2115
+ dislike(): void;
2116
+ copy(): void;
2117
+ ngOnDestroy(): void;
2118
+ static ɵfac: i0.ɵɵFactoryDeclaration<LLMTextareaComponent, never>;
2119
+ static ɵcmp: i0.ɵɵComponentDeclaration<LLMTextareaComponent, "lib-llm-textarea", never, { "text": { "alias": "text"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "actionButtonsDisabled": { "alias": "actionButtonsDisabled"; "required": false; }; }, { "textEditEvent": "textEditEvent"; "dislikeEvent": "dislikeEvent"; "copyEvent": "copyEvent"; }, never, never, false, never>;
2120
+ }
2121
+
2122
+ interface LLMData {
2123
+ text: Observable<string>;
2124
+ language: string;
2125
+ action: LLMActions;
2126
+ showUseCaseSummary: boolean;
2127
+ showUseCaseRephrase: boolean;
2128
+ summaryUseCases: LLMSummaryUseCase[] | undefined;
2129
+ rephraseUseCases: LLMRephraseUseCase[] | undefined;
2130
+ }
2131
+
2132
+ declare enum LLMWritingStyle {
2133
+ GENERAL = "General",
2134
+ PROFESSIONAL = "Professional",
2135
+ ACADEMIC = "Academic"
2136
+ }
2137
+
2138
+ declare class LLMHelperService {
2139
+ private readonly quotaService;
2140
+ readonly llmConfiguration: _tilde_nlp_ngx_common.LLMConfiguration;
2141
+ readonly trialRequestCount = 15;
2142
+ private readonly LLMQuotaLocalStorageKey;
2143
+ constructor(quotaService: QuotaService);
2144
+ /**
2145
+ * Returns remaining quota from API. If quota is missing, daily limit is being used from local storage.
2146
+ */
2147
+ getRemainingQuota(decrease?: boolean): Observable<number>;
2148
+ getExceededLimitMessage(totalSymbols: number): NotificationMessage;
2149
+ getReachedQuotaMessage(): NotificationMessage;
2150
+ getDefaultErrorMessage(): NotificationMessage;
2151
+ getRequestTimeoutMessage(action: LLMActions): NotificationMessage;
2152
+ private setQuotaLocalStorageUsage;
2153
+ static ɵfac: i0.ɵɵFactoryDeclaration<LLMHelperService, never>;
2154
+ static ɵprov: i0.ɵɵInjectableDeclaration<LLMHelperService>;
2155
+ }
2156
+
2157
+ declare class LLMTextareaWithActionsComponent implements OnInit {
2158
+ private readonly llmService;
2159
+ private readonly llmHelperService;
2160
+ private readonly data;
2161
+ isLoading: boolean;
2162
+ isSummarized: boolean;
2163
+ isEdited: boolean;
2164
+ remainingQuotaMessageVisible: boolean;
2165
+ quotaLeft: number;
2166
+ maxCharLength: number;
2167
+ subscriptionUrl: string;
2168
+ previousWritingStyle: LLMWritingStyle;
2169
+ selectedWritingStyle: LLMWritingStyle;
2170
+ reachedQuotaMessage: NotificationMessage;
2171
+ exceededLimitMessage: NotificationMessage;
2172
+ requestTimeoutMessage: NotificationMessage;
2173
+ defaultErrorMessage: NotificationMessage;
2174
+ subscription: Subscription;
2175
+ initialText: string;
2176
+ editedText: string;
2177
+ manuallyEditedText: string;
2178
+ localizationKey: string;
2179
+ llmActionType: LLMActions;
2180
+ selectedUseCase: LLMSummaryUseCase | LLMRephraseUseCase;
2181
+ private savedRephrasings;
2182
+ readonly llmActions: typeof LLMActions;
2183
+ readonly writingStyles: LLMWritingStyle[];
2184
+ useCases: LLMSummaryUseCase[] | LLMRephraseUseCase[];
2185
+ readonly messages: NotificationMessage[];
2186
+ showUseCase: boolean;
2187
+ get isDisabled(): boolean;
2188
+ constructor(llmService: LLMService, llmHelperService: LLMHelperService, data: LLMData);
2189
+ ngOnInit(): void;
2190
+ closeMessage(msg: NotificationMessage): void;
2191
+ checkRephrasedTextSaves(event: MatSelectChange): void;
2192
+ getEditedText(): void;
2193
+ cancel(): void;
2194
+ textEditEvent(text: string): void;
2195
+ copyPlausibleEvent(): void;
2196
+ dislikePlausibleEvent(): void;
2197
+ private setInitialText;
2198
+ private checkTextLimit;
2199
+ private writingStylePlausibleEvent;
2200
+ private summaryPlausibleEvent;
2201
+ private refreshQuota;
2202
+ private setQuotaMessage;
2203
+ private getRequest;
2204
+ private getRequestCallback;
2205
+ static ɵfac: i0.ɵɵFactoryDeclaration<LLMTextareaWithActionsComponent, never>;
2206
+ static ɵcmp: i0.ɵɵComponentDeclaration<LLMTextareaWithActionsComponent, "lib-llm-textarea-with-actions", never, {}, {}, never, never, false, never>;
2207
+ }
2208
+
2209
+ interface LLMConfiguration {
2210
+ subscriptionUrl: string;
2211
+ supportEmail: string;
2212
+ maxCharLength: number;
2213
+ useLocalQuota: boolean;
2214
+ }
2215
+
2216
+ declare const LLM_CONFIGURATION_TOKEN: InjectionToken<LLMConfiguration>;
2217
+
2218
+ declare class LLMSummaryComponent {
2219
+ isTextSummarizable: boolean;
2220
+ newFeatureLocalStorageKey: string | undefined;
2221
+ openModalEvent: EventEmitter<LLMActions>;
2222
+ openModal(): void;
2223
+ static ɵfac: i0.ɵɵFactoryDeclaration<LLMSummaryComponent, never>;
2224
+ static ɵcmp: i0.ɵɵComponentDeclaration<LLMSummaryComponent, "lib-llm-summary", never, { "isTextSummarizable": { "alias": "isTextSummarizable"; "required": false; }; "newFeatureLocalStorageKey": { "alias": "newFeatureLocalStorageKey"; "required": false; }; }, { "openModalEvent": "openModalEvent"; }, never, never, false, never>;
2225
+ }
2226
+
2227
+ declare class LLMRephraseComponent {
2228
+ isTargetLanguageRephrasable: boolean;
2229
+ newFeatureLocalStorageKey: string | undefined;
2230
+ openModalEvent: EventEmitter<LLMActions>;
2231
+ openModal(): void;
2232
+ static ɵfac: i0.ɵɵFactoryDeclaration<LLMRephraseComponent, never>;
2233
+ static ɵcmp: i0.ɵɵComponentDeclaration<LLMRephraseComponent, "lib-llm-rephrase", never, { "isTargetLanguageRephrasable": { "alias": "isTargetLanguageRephrasable"; "required": false; }; "newFeatureLocalStorageKey": { "alias": "newFeatureLocalStorageKey"; "required": false; }; }, { "openModalEvent": "openModalEvent"; }, never, never, false, never>;
2234
+ }
2235
+
2236
+ declare class NewFeatureDialogComponent {
2237
+ data: any;
2238
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewFeatureDialogComponent, never>;
2239
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewFeatureDialogComponent, "lib-new-feature-dialog", never, {}, {}, never, never, true, never>;
2240
+ }
2241
+
2242
+ interface MobileScreenCustomPosition {
2243
+ autoScroll?: boolean;
2244
+ left?: string;
2245
+ top?: string;
2246
+ }
2247
+
2248
+ declare class NewFeatureDialogWrapperComponent implements OnInit, OnDestroy {
2249
+ #private;
2250
+ titleLocalizationKey: string;
2251
+ descriptionLocalizationKey: string;
2252
+ closeLocalizationKey: string;
2253
+ featureClassName: string;
2254
+ featureLocalStorageKey: string;
2255
+ timeout: number;
2256
+ maxWidth: number;
2257
+ mobileScreenCustomPosition?: MobileScreenCustomPosition;
2258
+ dialogRef: MatDialogRef<NewFeatureDialogComponent> | undefined;
2259
+ featureActive: i0.WritableSignal<boolean>;
2260
+ isFeatureSeen: boolean;
2261
+ ngOnInit(): void;
2262
+ ngOnDestroy(): void;
2263
+ showFeatureDialog(): void;
2264
+ private setFeatureStatus;
2265
+ private setFeatureSeen;
2266
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewFeatureDialogWrapperComponent, never>;
2267
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewFeatureDialogWrapperComponent, "lib-new-feature-dialog-wrapper", never, { "titleLocalizationKey": { "alias": "titleLocalizationKey"; "required": false; }; "descriptionLocalizationKey": { "alias": "descriptionLocalizationKey"; "required": false; }; "closeLocalizationKey": { "alias": "closeLocalizationKey"; "required": false; }; "featureClassName": { "alias": "featureClassName"; "required": false; }; "featureLocalStorageKey": { "alias": "featureLocalStorageKey"; "required": false; }; "timeout": { "alias": "timeout"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "mobileScreenCustomPosition": { "alias": "mobileScreenCustomPosition"; "required": false; }; }, {}, never, never, true, never>;
2268
+ }
2269
+
2270
+ declare class LLMModule {
2271
+ static ɵfac: i0.ɵɵFactoryDeclaration<LLMModule, never>;
2272
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LLMModule, [typeof LLMComponent, typeof LLMTextareaComponent, typeof LLMTextareaWithActionsComponent, typeof LLMSummaryComponent, typeof LLMRephraseComponent], [typeof i2.CommonModule, typeof i4.MatButtonModule, typeof i8.MatIconModule, typeof i3.TranslateModule, typeof i6.MatDialogModule, typeof i11$1.ClipboardModule, typeof i8$1.FormsModule, typeof i8$1.ReactiveFormsModule, typeof i7.MatSelectModule, typeof NotificationMessageModule, typeof i5.MatTooltipModule, typeof i3$1.FlexLayoutModule, typeof i4$2.MatProgressSpinnerModule, typeof NewFeatureDialogWrapperComponent], [typeof LLMComponent]>;
2273
+ static ɵinj: i0.ɵɵInjectorDeclaration<LLMModule>;
2274
+ }
2275
+
2276
+ declare class SidebarComponent {
2277
+ #private;
2278
+ get isOpen(): boolean;
2279
+ get template(): i0.TemplateRef<HTMLTemplateElement> | null;
2280
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
2281
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "lib-sidebar", never, {}, {}, never, never, true, never>;
2282
+ }
2283
+
2284
+ declare class SidebarService {
2285
+ isOpen: boolean;
2286
+ contentTemplate: TemplateRef<HTMLTemplateElement> | null;
2287
+ showSidebar(content: TemplateRef<HTMLTemplateElement>): void;
2288
+ hideSidebar(): void;
2289
+ static ɵfac: i0.ɵɵFactoryDeclaration<SidebarService, never>;
2290
+ static ɵprov: i0.ɵɵInjectableDeclaration<SidebarService>;
2291
+ }
2292
+
2293
+ interface Toast {
2294
+ id: number;
2295
+ message: string;
2296
+ localizationParams?: any;
2297
+ }
2298
+
2299
+ declare class ToastComponent implements OnInit {
2300
+ #private;
2301
+ toasts: Toast[];
2302
+ ngOnInit(): void;
2303
+ closeToast(id: number): void;
2304
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
2305
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "lib-toast", never, {}, {}, never, never, true, never>;
2306
+ }
2307
+
2308
+ declare class ToastService {
2309
+ private toasts;
2310
+ subject: Subject<Toast[]>;
2311
+ watchToasts(): Observable<Toast[]>;
2312
+ showToast(message: string, appearanceTime?: number, localizationParams?: any): void;
2313
+ closeToast(id: number): void;
2314
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
2315
+ static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
2316
+ }
2317
+
2318
+ interface Addon {
2319
+ id: string;
2320
+ qt: number;
2321
+ }
2322
+
2323
+ declare enum SubscriptionPlan {
2324
+ MTStarter = "MT-Starter",
2325
+ MTPremium = "MT-Premium",
2326
+ MTAdvanced = "MT-Advanced",
2327
+ MTUnlimited = "MT-Unlimited",
2328
+ MTWTStarter = "MT-WT-Starter",
2329
+ MTWTPremium = "MT-WT-Premium",
2330
+ MTWTAdvanced = "MT-WT-Advanced",
2331
+ SpeechStarter = "Speech-Starter",
2332
+ SpeechPremium = "Speech-Premium",
2333
+ SpeechAdvanced = "Speech-Advanced",
2334
+ SpeechUnlimited = "Speech-Unlimited",
2335
+ TildeTermFreelance = "Tilde-Term-Freelance",
2336
+ AnonymiseUnlimited = "Anonymise-Unlimited",
2337
+ EventAssistantUnlimited = "Event-Assistant-Unlimited"
2338
+ }
2339
+
2340
+ interface AuthSubscription {
2341
+ PlanId: SubscriptionPlan;
2342
+ Id: string;
2343
+ IsTrial: boolean;
2344
+ /** placeholder property, DO NOT USE THIS TO CHECK IF VALID SUBSCRIPTION. If subscription exists, it is valid. */
2345
+ EndDate?: string;
2346
+ Addons?: Addon[];
2347
+ te?: string;
2348
+ Label?: string;
2349
+ }
2350
+
2351
+ interface JwtToken {
2352
+ exp: number;
2353
+ iat: number;
2354
+ auth_time: number;
2355
+ jti: string;
2356
+ iss: string;
2357
+ aud: string[];
2358
+ sub: string;
2359
+ type: string;
2360
+ azp: string;
2361
+ nonce: string;
2362
+ session_state: string;
2363
+ allowed_origins: string[];
2364
+ realm_access: {
2365
+ roles: string[];
2366
+ };
2367
+ resource_access: any;
2368
+ scope: string;
2369
+ sid: string;
2370
+ email_verified: boolean;
2371
+ role: string[];
2372
+ name: string;
2373
+ memberof: string[];
2374
+ preferred_username: string;
2375
+ subscription: AuthSubscription[];
2376
+ given_name: string;
2377
+ family_name: string;
2378
+ email: string;
2379
+ }
2380
+
2381
+ declare class CustomTitleStrategyService extends TitleStrategy {
2382
+ #private;
2383
+ readonly title: Title;
2384
+ private subscription;
2385
+ private readonly appName;
2386
+ private readonly owner;
2387
+ constructor();
2388
+ updateTitle(snapshot: RouterStateSnapshot): void;
2389
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomTitleStrategyService, never>;
2390
+ static ɵprov: i0.ɵɵInjectableDeclaration<CustomTitleStrategyService>;
2391
+ }
2392
+
2393
+ declare const provideCustomTitleStrategy: () => Provider;
2394
+
2395
+ declare class MissingTranslationHandlerService implements MissingTranslationHandler {
2396
+ constructor();
2397
+ handle(params: MissingTranslationHandlerParams): any;
2398
+ static ɵfac: i0.ɵɵFactoryDeclaration<MissingTranslationHandlerService, never>;
2399
+ static ɵprov: i0.ɵɵInjectableDeclaration<MissingTranslationHandlerService>;
2400
+ }
2401
+
2402
+ /**
2403
+ This is an extension dialog component.
2404
+ Use <lib-open-extension-dialog> to open this dialog, by proivding [extensions] to it you can specify what extensions should be displayed.
2405
+ */
2406
+ declare class SelectLanguageDialogComponent implements OnInit {
2407
+ #private;
2408
+ languages: string[];
2409
+ selectedLanguage: string;
2410
+ ngOnInit(): void;
2411
+ save(): void;
2412
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectLanguageDialogComponent, never>;
2413
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectLanguageDialogComponent, "lib-extension-dialog", never, {}, {}, never, never, true, never>;
2414
+ }
2415
+
2416
+ declare class GlobalMessageComponent {
2417
+ text: string;
2418
+ showCloseButton: boolean;
2419
+ closeClick: EventEmitter<void>;
2420
+ close(): void;
2421
+ static ɵfac: i0.ɵɵFactoryDeclaration<GlobalMessageComponent, never>;
2422
+ static ɵcmp: i0.ɵɵComponentDeclaration<GlobalMessageComponent, "lib-global-message", never, { "text": { "alias": "text"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; }, { "closeClick": "closeClick"; }, never, never, true, never>;
2423
+ }
2424
+
2425
+ declare enum SUBSCRIPTION_STATE {
2426
+ ACTIVE = 0,
2427
+ TRIAL = 1,
2428
+ ENDED = 2,
2429
+ NONE = 3
2430
+ }
2431
+
2432
+ interface SubscriptionQuotaDisplay extends QuotaUsage {
2433
+ isUnlimited: boolean;
2434
+ /** Converted to displayable measurments. E.g. if quota is counted in seconds, this maybe converted to mins or hours, depending on quota type. */
2435
+ convertedLimit: string;
2436
+ /** Converted to displayable measurments. E.g. if quota is counted in seconds, this maybe converted to mins or hours, depending on quota type. */
2437
+ convertedUsed: string;
2438
+ percentUsed: number;
2439
+ }
2440
+
2441
+ interface ChargebeeSettings {
2442
+ site: string;
2443
+ script: string;
2444
+ }
2445
+
2446
+ declare class SubscriptionComponent implements OnInit {
2447
+ #private;
2448
+ /** Parsed user token to get user related info */
2449
+ readonly token: i0.InputSignal<JwtToken | undefined>;
2450
+ /** Current user plan that app has selected */
2451
+ readonly subscription: i0.InputSignal<AuthSubscription | undefined>;
2452
+ /** Quota usage */
2453
+ readonly quota: i0.InputSignal<QuotaResponse | undefined>;
2454
+ readonly visibleQuotaTypes: i0.InputSignal<QuotaType[] | undefined>;
2455
+ readonly contactUsUrl: i0.InputSignal<string | undefined>;
2456
+ readonly chargebeeSettings: i0.InputSignal<ChargebeeSettings | undefined>;
2457
+ readonly manageClick: i0.OutputEmitterRef<void>;
2458
+ readonly contactUsClick: i0.OutputEmitterRef<void>;
2459
+ readonly visibleQuotas: i0.Signal<SubscriptionQuotaDisplay[]>;
2460
+ readonly subscriptionStates: typeof SUBSCRIPTION_STATE;
2461
+ readonly subscriptionState: i0.Signal<SUBSCRIPTION_STATE>;
2462
+ ngOnInit(): void;
2463
+ manageClicked(): void;
2464
+ contactUsClicked(): void;
2465
+ static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionComponent, never>;
2466
+ static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionComponent, "lib-subscription", never, { "token": { "alias": "token"; "required": true; "isSignal": true; }; "subscription": { "alias": "subscription"; "required": true; "isSignal": true; }; "quota": { "alias": "quota"; "required": true; "isSignal": true; }; "visibleQuotaTypes": { "alias": "visibleQuotaTypes"; "required": false; "isSignal": true; }; "contactUsUrl": { "alias": "contactUsUrl"; "required": false; "isSignal": true; }; "chargebeeSettings": { "alias": "chargebeeSettings"; "required": false; "isSignal": true; }; }, { "manageClick": "manageClick"; "contactUsClick": "contactUsClick"; }, never, ["*"], true, never>;
2467
+ }
2468
+
2469
+ export { ALERT_CONFIGURATION_TOKEN, AlertService, AuthHeadersHelper, COLLECTIONS_MENU, ClickOutsideDirective, ClickOutsideModule, CloseButtonComponent, CloseButtonModule, CombinedCollection, CombinedCollectionTooltipKey, CompanyProductComponent, CompanyProductModule, Confirmation, ConfirmationModalComponent, ConfirmationModalModule, ConfirmationService, ConversionHelper, CustomPaginatorInernationalizationHelper, CustomTitleStrategyService, DISABLE_EXPORT_ATTRIBUTE_NAME, DOMService, DateAgoModule, DateAgoPipe, DomainTranslatePipe, DragAndDropDirective, DragAndDropModule, ERROR_CODES, EngineTermApiService, EngineTermCollectionScope, EngineTermCollectionSource, EngineTermCollectionStatus, EngineTermCollectionSubStatus, ExportFormat, ExtensionDialogComponent, ExtensionDialogModule, ExtensionDialogService, FILE_SIZE_UNIT, FileCategories, FileExtensionHelper, FileExtensions, FileSizeLabelPipe, FileTypeIcons, FileTypes, FileUploadComponent, FileUploadErrorTypeEnum, FileUploadModule, FilterBarComponent, FilterBarModule, FilterWithHighlightModule, FilterWithHighlightPipe, FooterComponent, FooterModule, GlobalMessageComponent, HashHelper, HtmlElementParseHelper, HtmlHelper, IconService, InlineMessageComponent, InlineMessageIconPosition, InlineMessageModule, InlineMessageType, LAST_USED_SYSTEM_LOCAL_STORAGE_KEY, LLMActions, LLMComponent, LLMModule, LLM_CONFIGURATION_TOKEN, LanguageTranslateModule, LanguageTranslatePipe, LanguageTranslateService, MatButtonLoadingDirective, MatButtonLoadingModule, MissingTranslationHandlerService, MissingTranslationHelper, MtCollectionStatus, MultiFunctionalTableComponent, MultiFunctionalTableModule, NewFeatureDialogWrapperComponent, NotificationMessageComponent, NotificationMessageModule, NotificationMessageType, NotificationService, OPEN_CLOSE_BTN_ICONS_TOKEN, ObjectLengthModule, ObjectLengthPipe, OpenCloseButtonComponent, OpenCloseButtonModule, OpenExtensionDialogComponent, Operations, PlausibleEventDirective, PlausibleHelper, PlausibleModule, ResolutionHelper, SCREEN_SIZE, SaveFileHelper, SelectLanguageDialogComponent, SidebarComponent, SidebarService, SortAlphabeticallyModule, SortAlphabeticallyPipe, SortByNumberPipe, SortDomainsPipe, SortHelper, SortLanguageListPipe, SortTranslationsByPropertyModule, SortTranslationsByPropertyPipe, SortTranslationsModule, SortTranslationsPipe, StatusDisplayComponent, StatusDisplayModule, SubscriptionComponent, SubscriptionPlan, SystemService, TerminologyApiService, TerminologyCollectionService, TerminologyComponent, TerminologyConfigService, TerminologyCreateCollectionComponent, TerminologyModule, TerminologyService, TextToSpeechComponent, TldLoaderComponent, TldLoaderModule, ToastComponent, ToastService, getFileSizeLabel, provideCustomTitleStrategy };
2470
+ export type { ActiveData, AddEngineTermsRequestParams, Addon, AlertConfiguration, AuthSubscription, BatchConfig, Category, ChargebeeSettings, Column, ColumnConfig, ColumnSelectConfig, Config, ConfirmationBody, DefaultCollectionOrderUpdate, DialogData, Domain, DomainList, EngineTermCollection, EngineTermCollectionAccess, EngineTermCollectionAccessScope, EngineTermCollectionAccessScopeUpdate, EngineTermCollectionAccessUpdate, EngineTermCollectionList, ExportConfig, ExtensionWithIcon, FileUploadError, FilterBarChangeEvent, FilterBarFilter, FilterBarFilterItem, FilterBarSettings, ITldTermCollection, ITldTermCollectionLanguages, InlineMessage, JwtToken, LLMConfiguration, LangListItem, MobileScreenCustomPosition, MtCollection, MultiFunctionalTableConfig, NotificationMessage, NotificationWithOperation, OpenCloseBtnIcons, PaginatorConfig, PlausibleEvent, StatusDisplayConfig, System, TerminologyConfig, TranslatedLanguage, UpdateEngineTermsRequestParams, Vendor, Voice };