@tilde-nlp/ngx-common 6.1.94 → 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.
- package/fesm2022/tilde-nlp-ngx-common.mjs +227 -233
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/index.d.ts +2468 -3
- package/package.json +7 -9
- package/styles/tilde-theme.scss +2 -1
- package/web-components/3rdpartylicenses.txt +22 -22
- package/web-components/index.html +2 -2
- package/web-components/main.js +26 -15
- package/web-components/polyfills.js +3 -3
- package/web-components/prerendered-routes.json +3 -0
- package/web-components/styles.css +1 -1
- package/esm2022/lib/close-button/close-button.component.mjs +0 -53
- package/esm2022/lib/close-button/close-button.module.mjs +0 -37
- package/esm2022/lib/close-button/index.mjs +0 -3
- package/esm2022/lib/company-product/company-product.component.mjs +0 -34
- package/esm2022/lib/company-product/company-product.module.mjs +0 -23
- package/esm2022/lib/company-product/index.mjs +0 -3
- package/esm2022/lib/confirmation-modal/confirmation-modal.component.mjs +0 -78
- package/esm2022/lib/confirmation-modal/confirmation-modal.module.mjs +0 -22
- package/esm2022/lib/confirmation-modal/index.mjs +0 -6
- package/esm2022/lib/confirmation-modal/models/confirmation-body.model.mjs +0 -2
- package/esm2022/lib/confirmation-modal/models/confirmation.enum.mjs +0 -6
- package/esm2022/lib/confirmation-modal/services/confirmation.service.mjs +0 -25
- package/esm2022/lib/confirmation-modal/services/index.mjs +0 -2
- package/esm2022/lib/constants/error-codes.const.mjs +0 -5
- package/esm2022/lib/constants/index.mjs +0 -4
- package/esm2022/lib/constants/last-used-system-local-storage-key.const.mjs +0 -6
- package/esm2022/lib/constants/screen-size.const.mjs +0 -11
- package/esm2022/lib/core/auth/addon.model.mjs +0 -2
- package/esm2022/lib/core/auth/auth-subscription.model.mjs +0 -2
- package/esm2022/lib/core/auth/index.mjs +0 -5
- package/esm2022/lib/core/auth/jwt-token.model.mjs +0 -2
- package/esm2022/lib/core/auth/subscription-plan.enum.mjs +0 -18
- package/esm2022/lib/core/index.mjs +0 -4
- package/esm2022/lib/core/localization/index.mjs +0 -3
- package/esm2022/lib/core/localization/missing-translation-handler.service.mjs +0 -21
- package/esm2022/lib/core/localization/select-language-dialog-component/index.mjs +0 -2
- package/esm2022/lib/core/localization/select-language-dialog-component/select-language-dialog.component.mjs +0 -109
- package/esm2022/lib/core/title-strategy/custom-title-strategy.provider.mjs +0 -9
- package/esm2022/lib/core/title-strategy/custom-title-strategy.service.mjs +0 -41
- package/esm2022/lib/core/title-strategy/index.mjs +0 -3
- package/esm2022/lib/directives/click-outside/click-outside.directive.mjs +0 -31
- package/esm2022/lib/directives/click-outside/click-outside.module.mjs +0 -25
- package/esm2022/lib/directives/click-outside/index.mjs +0 -3
- package/esm2022/lib/directives/drag-and-drop/drag-and-drop.directive.mjs +0 -66
- package/esm2022/lib/directives/drag-and-drop/drag-and-drop.module.mjs +0 -25
- package/esm2022/lib/directives/drag-and-drop/index.mjs +0 -3
- package/esm2022/lib/directives/index.mjs +0 -4
- package/esm2022/lib/directives/mat-button-loading/index.mjs +0 -3
- package/esm2022/lib/directives/mat-button-loading/mat-button-loading.directive.mjs +0 -65
- package/esm2022/lib/directives/mat-button-loading/mat-button-loading.module.mjs +0 -21
- package/esm2022/lib/extension-dialog/components/index.mjs +0 -2
- package/esm2022/lib/extension-dialog/components/open-extension-dialog/open-extension-dialog.component.mjs +0 -32
- package/esm2022/lib/extension-dialog/extension-dialog.component.mjs +0 -231
- package/esm2022/lib/extension-dialog/extension-dialog.module.mjs +0 -52
- package/esm2022/lib/extension-dialog/icons/file-types/excel.icon.mjs +0 -22
- package/esm2022/lib/extension-dialog/icons/file-types/index.mjs +0 -10
- package/esm2022/lib/extension-dialog/icons/file-types/interchange.icon.mjs +0 -6
- package/esm2022/lib/extension-dialog/icons/file-types/office-other.icon.mjs +0 -6
- package/esm2022/lib/extension-dialog/icons/file-types/other.icon.mjs +0 -6
- package/esm2022/lib/extension-dialog/icons/file-types/pdf.icon.mjs +0 -12
- package/esm2022/lib/extension-dialog/icons/file-types/powerpoint.icon.mjs +0 -10
- package/esm2022/lib/extension-dialog/icons/file-types/scanned.icon.mjs +0 -6
- package/esm2022/lib/extension-dialog/icons/file-types/web.icon.mjs +0 -6
- package/esm2022/lib/extension-dialog/icons/file-types/word.icon.mjs +0 -11
- package/esm2022/lib/extension-dialog/icons/index.mjs +0 -2
- package/esm2022/lib/extension-dialog/index.mjs +0 -6
- package/esm2022/lib/extension-dialog/models/enums/file-categories.enum.mjs +0 -9
- package/esm2022/lib/extension-dialog/models/enums/file-extensions.enum.mjs +0 -36
- package/esm2022/lib/extension-dialog/models/enums/file-type-icons.enum.mjs +0 -13
- package/esm2022/lib/extension-dialog/models/enums/file-types.enum.mjs +0 -13
- package/esm2022/lib/extension-dialog/models/enums/index.mjs +0 -5
- package/esm2022/lib/extension-dialog/models/index.mjs +0 -3
- package/esm2022/lib/extension-dialog/models/interfaces/config.mjs +0 -2
- package/esm2022/lib/extension-dialog/models/interfaces/dialog-data.model.mjs +0 -2
- package/esm2022/lib/extension-dialog/models/interfaces/index.mjs +0 -3
- package/esm2022/lib/extension-dialog/services/extension-dialog.service.mjs +0 -22
- package/esm2022/lib/extension-dialog/services/index.mjs +0 -2
- package/esm2022/lib/file-upload/file-upload.component.mjs +0 -254
- package/esm2022/lib/file-upload/file-upload.module.mjs +0 -51
- package/esm2022/lib/file-upload/index.mjs +0 -4
- package/esm2022/lib/file-upload/models/file-upload-error-type.enum.mjs +0 -8
- package/esm2022/lib/file-upload/models/file-upload-error.model.mjs +0 -2
- package/esm2022/lib/file-upload/models/file-upload.icon.mjs +0 -2
- package/esm2022/lib/file-upload/models/index.mjs +0 -3
- package/esm2022/lib/filter-bar/filter-bar.component.mjs +0 -409
- package/esm2022/lib/filter-bar/filter-bar.module.mjs +0 -72
- package/esm2022/lib/filter-bar/index.mjs +0 -4
- package/esm2022/lib/filter-bar/models/filter-bar-change-event.model.mjs +0 -2
- package/esm2022/lib/filter-bar/models/filter-bar-filter-item.model.mjs +0 -2
- package/esm2022/lib/filter-bar/models/filter-bar-filter-search.model.mjs +0 -2
- package/esm2022/lib/filter-bar/models/filter-bar-filter-single-selection.model.mjs +0 -2
- package/esm2022/lib/filter-bar/models/filter-bar-filter.model.mjs +0 -2
- package/esm2022/lib/filter-bar/models/filter-bar-settings.model.mjs +0 -2
- package/esm2022/lib/filter-bar/models/index.mjs +0 -5
- package/esm2022/lib/footer/footer.component.mjs +0 -143
- package/esm2022/lib/footer/footer.module.mjs +0 -35
- package/esm2022/lib/footer/index.mjs +0 -3
- package/esm2022/lib/global-message/global-message.component.mjs +0 -51
- package/esm2022/lib/global-message/index.mjs +0 -2
- package/esm2022/lib/helpers/auth-headers.helper.mjs +0 -19
- package/esm2022/lib/helpers/conversion.helper.mjs +0 -11
- package/esm2022/lib/helpers/custom-paginator-internatioinalization.helper.mjs +0 -56
- package/esm2022/lib/helpers/file-extension.helper.mjs +0 -6
- package/esm2022/lib/helpers/file-size-label.helper.mjs +0 -27
- package/esm2022/lib/helpers/hash.helper.mjs +0 -14
- package/esm2022/lib/helpers/html-element-parse.helper.mjs +0 -15
- package/esm2022/lib/helpers/html.helper.mjs +0 -57
- package/esm2022/lib/helpers/index.mjs +0 -13
- package/esm2022/lib/helpers/missing-translation.helper.mjs +0 -7
- package/esm2022/lib/helpers/resolution.helper.mjs +0 -7
- package/esm2022/lib/helpers/save-file.helper.mjs +0 -14
- package/esm2022/lib/helpers/sort.helper.mjs +0 -73
- package/esm2022/lib/inline-message/index.mjs +0 -4
- package/esm2022/lib/inline-message/inline-message.component.mjs +0 -71
- package/esm2022/lib/inline-message/inline-message.module.mjs +0 -33
- package/esm2022/lib/inline-message/models/index.mjs +0 -4
- package/esm2022/lib/inline-message/models/inline-message-icon-position.enum.mjs +0 -6
- package/esm2022/lib/inline-message/models/inline-message-type.enum.mjs +0 -7
- package/esm2022/lib/inline-message/models/inline-message.model.mjs +0 -2
- package/esm2022/lib/llm/components/llm-rephrase/llm-rephrase.component.mjs +0 -48
- package/esm2022/lib/llm/components/llm-summary/llm-summary.component.mjs +0 -48
- package/esm2022/lib/llm/components/llm-textarea-with-actions/llm-textarea-with-actions.component.mjs +0 -337
- package/esm2022/lib/llm/icons/index.mjs +0 -2
- package/esm2022/lib/llm/icons/llm-menu.icon.mjs +0 -14
- package/esm2022/lib/llm/index.mjs +0 -4
- package/esm2022/lib/llm/llm.component.mjs +0 -122
- package/esm2022/lib/llm/llm.module.mjs +0 -86
- package/esm2022/lib/llm/models/index.mjs +0 -4
- package/esm2022/lib/llm/models/llm-actions.enum.mjs +0 -6
- package/esm2022/lib/llm/models/llm-configuration.model.mjs +0 -2
- package/esm2022/lib/llm/models/llm-configuration.token.mjs +0 -3
- package/esm2022/lib/llm/models/llm-data.model.mjs +0 -2
- package/esm2022/lib/llm/models/llm-writing-style.enum.mjs +0 -7
- package/esm2022/lib/llm/services/llm-helper.service.mjs +0 -102
- package/esm2022/lib/llm/shared/llm-textarea/llm-textarea.component.mjs +0 -111
- package/esm2022/lib/multi-functional-table/constants/disable-export-attribute-name.const.mjs +0 -2
- package/esm2022/lib/multi-functional-table/constants/index.mjs +0 -2
- package/esm2022/lib/multi-functional-table/index.mjs +0 -5
- package/esm2022/lib/multi-functional-table/models/batch-config.model.mjs +0 -2
- package/esm2022/lib/multi-functional-table/models/column-config.model.mjs +0 -2
- package/esm2022/lib/multi-functional-table/models/column-select-config.model.mjs +0 -2
- package/esm2022/lib/multi-functional-table/models/export-config.model.mjs +0 -2
- package/esm2022/lib/multi-functional-table/models/export-format.enum.mjs +0 -5
- package/esm2022/lib/multi-functional-table/models/filter-config.model.mjs +0 -2
- package/esm2022/lib/multi-functional-table/models/index.mjs +0 -8
- package/esm2022/lib/multi-functional-table/models/multi-functional-table-config.model.mjs +0 -2
- package/esm2022/lib/multi-functional-table/models/paginator-config.model.mjs +0 -2
- package/esm2022/lib/multi-functional-table/models/selected-column-local-storage-config.model.mjs +0 -2
- package/esm2022/lib/multi-functional-table/multi-functional-table.component.mjs +0 -691
- package/esm2022/lib/multi-functional-table/multi-functional-table.module.mjs +0 -93
- package/esm2022/lib/new-feature-dialog/index.mjs +0 -3
- package/esm2022/lib/new-feature-dialog/models/index.mjs +0 -2
- package/esm2022/lib/new-feature-dialog/models/mobile-screen-custom-position.model.mjs +0 -2
- package/esm2022/lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog-wrapper.component.mjs +0 -105
- package/esm2022/lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog.service.mjs +0 -37
- package/esm2022/lib/new-feature-dialog/new-feature-dialog.component.mjs +0 -40
- package/esm2022/lib/notification-message/enums/index.mjs +0 -2
- package/esm2022/lib/notification-message/enums/notification-message-type.enum.mjs +0 -9
- package/esm2022/lib/notification-message/index.mjs +0 -5
- package/esm2022/lib/notification-message/interfaces/index.mjs +0 -2
- package/esm2022/lib/notification-message/interfaces/notification-message.model.mjs +0 -2
- package/esm2022/lib/notification-message/notification-message.component.mjs +0 -195
- package/esm2022/lib/notification-message/notification-message.module.mjs +0 -49
- package/esm2022/lib/open-close-button/index.mjs +0 -5
- package/esm2022/lib/open-close-button/injection-tokens/index.mjs +0 -2
- package/esm2022/lib/open-close-button/injection-tokens/open-close-btn-icons.token.mjs +0 -2
- package/esm2022/lib/open-close-button/models/index.mjs +0 -2
- package/esm2022/lib/open-close-button/models/open-close-btn-icons.model.mjs +0 -2
- package/esm2022/lib/open-close-button/open-close-button.component.mjs +0 -114
- package/esm2022/lib/open-close-button/open-close-button.module.mjs +0 -22
- package/esm2022/lib/pipes/date-ago/date-ago.module.mjs +0 -29
- package/esm2022/lib/pipes/date-ago/date-ago.pipe.mjs +0 -114
- package/esm2022/lib/pipes/date-ago/index.mjs +0 -3
- package/esm2022/lib/pipes/date-ago/models/date-ago-interval.model.mjs +0 -2
- package/esm2022/lib/pipes/date-ago/models/date-ago-settings.model.mjs +0 -2
- package/esm2022/lib/pipes/date-ago/models/date-ago-settings.token.mjs +0 -2
- package/esm2022/lib/pipes/date-ago/models/date-ago.model.mjs +0 -2
- package/esm2022/lib/pipes/date-ago/models/index.mjs +0 -5
- package/esm2022/lib/pipes/domain-translate/domain-translate.pipe.mjs +0 -30
- package/esm2022/lib/pipes/domain-translate/index.mjs +0 -2
- package/esm2022/lib/pipes/file-size-label/enums/file-size-unit.enum.mjs +0 -8
- package/esm2022/lib/pipes/file-size-label/enums/index.mjs +0 -2
- package/esm2022/lib/pipes/file-size-label/file-size-label.pipe.mjs +0 -22
- package/esm2022/lib/pipes/file-size-label/index.mjs +0 -3
- package/esm2022/lib/pipes/filter-with-highlight/filter-with-highlight.module.mjs +0 -25
- package/esm2022/lib/pipes/filter-with-highlight/filter-with-highlight.pipe.mjs +0 -43
- package/esm2022/lib/pipes/filter-with-highlight/index.mjs +0 -3
- package/esm2022/lib/pipes/index.mjs +0 -13
- package/esm2022/lib/pipes/language-translate/index.mjs +0 -3
- package/esm2022/lib/pipes/language-translate/language-translate.module.mjs +0 -19
- package/esm2022/lib/pipes/language-translate/language-translate.pipe.mjs +0 -126
- package/esm2022/lib/pipes/object-length/index.mjs +0 -3
- package/esm2022/lib/pipes/object-length/object-length.module.mjs +0 -19
- package/esm2022/lib/pipes/object-length/object-length.pipe.mjs +0 -23
- package/esm2022/lib/pipes/sort-alphabetically/index.mjs +0 -3
- package/esm2022/lib/pipes/sort-alphabetically/sort-alphabetically.module.mjs +0 -19
- package/esm2022/lib/pipes/sort-alphabetically/sort-alphabetically.pipe.mjs +0 -21
- package/esm2022/lib/pipes/sort-by-number/index.mjs +0 -2
- package/esm2022/lib/pipes/sort-by-number/sort-by-number.pipe.mjs +0 -23
- package/esm2022/lib/pipes/sort-domains/index.mjs +0 -2
- package/esm2022/lib/pipes/sort-domains/sort-domains.pipe.mjs +0 -51
- package/esm2022/lib/pipes/sort-language-list/index.mjs +0 -3
- package/esm2022/lib/pipes/sort-language-list/models/index.mjs +0 -2
- package/esm2022/lib/pipes/sort-language-list/models/translated-language.model.mjs +0 -2
- package/esm2022/lib/pipes/sort-language-list/sort-language-list.pipe.mjs +0 -58
- package/esm2022/lib/pipes/sort-translations/index.mjs +0 -3
- package/esm2022/lib/pipes/sort-translations/sort-translations.module.mjs +0 -23
- package/esm2022/lib/pipes/sort-translations/sort-translations.pipe.mjs +0 -60
- package/esm2022/lib/pipes/sort-translations-by-property/index.mjs +0 -3
- package/esm2022/lib/pipes/sort-translations-by-property/sort-translations-by-property.module.mjs +0 -19
- package/esm2022/lib/pipes/sort-translations-by-property/sort-translations-by-property.pipe.mjs +0 -43
- package/esm2022/lib/plausible/index.mjs +0 -5
- package/esm2022/lib/plausible/models/index.mjs +0 -2
- package/esm2022/lib/plausible/models/plausible-event.model.mjs +0 -2
- package/esm2022/lib/plausible/plausible-event.directive.mjs +0 -42
- package/esm2022/lib/plausible/plausible.helper.mjs +0 -37
- package/esm2022/lib/plausible/plausible.module.mjs +0 -25
- package/esm2022/lib/services/alert/alert.service.mjs +0 -172
- package/esm2022/lib/services/alert/index.mjs +0 -4
- package/esm2022/lib/services/alert/injection-tokens/alert-configuration.token.mjs +0 -2
- package/esm2022/lib/services/alert/injection-tokens/index.mjs +0 -2
- package/esm2022/lib/services/alert/models/alert-configuration.model.mjs +0 -2
- package/esm2022/lib/services/alert/models/index.mjs +0 -2
- package/esm2022/lib/services/dom/dom.service.mjs +0 -21
- package/esm2022/lib/services/dom/index.mjs +0 -2
- package/esm2022/lib/services/icon/icon.service.mjs +0 -35
- package/esm2022/lib/services/icon/index.mjs +0 -2
- package/esm2022/lib/services/index.mjs +0 -7
- package/esm2022/lib/services/language-translate/index.mjs +0 -2
- package/esm2022/lib/services/language-translate/language-translate.service.mjs +0 -25
- package/esm2022/lib/services/notification/index.mjs +0 -3
- package/esm2022/lib/services/notification/models/index.mjs +0 -3
- package/esm2022/lib/services/notification/models/notification.model.mjs +0 -2
- package/esm2022/lib/services/notification/models/operations.enum.mjs +0 -6
- package/esm2022/lib/services/notification/notification.service.mjs +0 -35
- package/esm2022/lib/services/system/index.mjs +0 -2
- package/esm2022/lib/services/system/system.service.mjs +0 -20
- package/esm2022/lib/sidebar/index.mjs +0 -3
- package/esm2022/lib/sidebar/services/index.mjs +0 -2
- package/esm2022/lib/sidebar/services/sidebar.service.mjs +0 -24
- package/esm2022/lib/sidebar/sidebar.component.mjs +0 -30
- package/esm2022/lib/status-display/index.mjs +0 -4
- package/esm2022/lib/status-display/models/index.mjs +0 -2
- package/esm2022/lib/status-display/models/status-display-config.model.mjs +0 -2
- package/esm2022/lib/status-display/status-display.component.mjs +0 -71
- package/esm2022/lib/status-display/status-display.module.mjs +0 -22
- package/esm2022/lib/subscription/chargebee-mount.service.mjs +0 -16
- package/esm2022/lib/subscription/index.mjs +0 -3
- package/esm2022/lib/subscription/models/chargebee-settings.model.mjs +0 -2
- package/esm2022/lib/subscription/models/index.mjs +0 -2
- package/esm2022/lib/subscription/models/subscription-quota-display.model.mjs +0 -2
- package/esm2022/lib/subscription/models/subscription-state.enum.mjs +0 -8
- package/esm2022/lib/subscription/subscription.component.mjs +0 -392
- package/esm2022/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-card/terminology-collection-card.component.mjs +0 -279
- package/esm2022/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-list.component.mjs +0 -161
- package/esm2022/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection-dialog/terminology-create-collection-dialog.component.mjs +0 -121
- package/esm2022/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection.component.mjs +0 -72
- package/esm2022/lib/terminology/components/terminology-panel/terminology-panel.component.mjs +0 -151
- package/esm2022/lib/terminology/config/models/index.mjs +0 -2
- package/esm2022/lib/terminology/config/models/terminology-config.model.mjs +0 -2
- package/esm2022/lib/terminology/config/services/index.mjs +0 -2
- package/esm2022/lib/terminology/config/services/terminology-config/terminology-config.service.mjs +0 -47
- package/esm2022/lib/terminology/enums/combined-collection-tooltip-key.enum.mjs +0 -6
- package/esm2022/lib/terminology/enums/engine-term-collection-scope.enum.mjs +0 -6
- package/esm2022/lib/terminology/enums/engine-term-collection-source.enum.mjs +0 -6
- package/esm2022/lib/terminology/enums/engine-term-collection-status.enum.mjs +0 -8
- package/esm2022/lib/terminology/enums/engine-term-collection-sub-status.enum.mjs +0 -14
- package/esm2022/lib/terminology/enums/index.mjs +0 -7
- package/esm2022/lib/terminology/enums/mt-collection-status.enum.mjs +0 -11
- package/esm2022/lib/terminology/icons/collections-menu.icon.mjs +0 -18
- package/esm2022/lib/terminology/icons/index.mjs +0 -2
- package/esm2022/lib/terminology/index.mjs +0 -10
- package/esm2022/lib/terminology/models/active-data.model.mjs +0 -2
- package/esm2022/lib/terminology/models/add-engine-terms-request-params.model.mjs +0 -2
- package/esm2022/lib/terminology/models/combined-collection.model.mjs +0 -181
- package/esm2022/lib/terminology/models/default-term-collection-order-update.model.mjs +0 -2
- package/esm2022/lib/terminology/models/domain.model.mjs +0 -2
- package/esm2022/lib/terminology/models/engine-term-collection-access-scope-update.model.mjs +0 -2
- package/esm2022/lib/terminology/models/engine-term-collection-access-scope.model.mjs +0 -2
- package/esm2022/lib/terminology/models/engine-term-collection-access-update.model.mjs +0 -2
- package/esm2022/lib/terminology/models/engine-term-collection-access.model.mjs +0 -2
- package/esm2022/lib/terminology/models/engine-term-collection-list.model.mjs +0 -2
- package/esm2022/lib/terminology/models/engine-term-collection.model.mjs +0 -2
- package/esm2022/lib/terminology/models/index.mjs +0 -19
- package/esm2022/lib/terminology/models/lang-list-item.model.mjs +0 -2
- package/esm2022/lib/terminology/models/mt-collection.model.mjs +0 -2
- package/esm2022/lib/terminology/models/system.model.mjs +0 -2
- package/esm2022/lib/terminology/models/terminology-engine.model.mjs +0 -2
- package/esm2022/lib/terminology/models/tld-term-collection-languages.model.mjs +0 -2
- package/esm2022/lib/terminology/models/tld-term-collection.model.mjs +0 -2
- package/esm2022/lib/terminology/models/update-engine-terms-request-params.model.mjs +0 -2
- package/esm2022/lib/terminology/models/vendor.model.mjs +0 -2
- package/esm2022/lib/terminology/services/engine-term-api/engine-term-api.service.mjs +0 -48
- package/esm2022/lib/terminology/services/engine-term-api/index.mjs +0 -2
- package/esm2022/lib/terminology/services/index.mjs +0 -5
- package/esm2022/lib/terminology/services/system-api-v2/models/engine-deployment.model.mjs +0 -2
- package/esm2022/lib/terminology/services/system-api-v2/models/engine-domain-list.model.mjs +0 -2
- package/esm2022/lib/terminology/services/system-api-v2/models/engine-domain.model.mjs +0 -2
- package/esm2022/lib/terminology/services/system-api-v2/models/engine-list.model.mjs +0 -2
- package/esm2022/lib/terminology/services/system-api-v2/models/engine-status.enum.mjs +0 -11
- package/esm2022/lib/terminology/services/system-api-v2/models/engine-sub-status.enum.mjs +0 -18
- package/esm2022/lib/terminology/services/system-api-v2/models/engine.model.mjs +0 -2
- package/esm2022/lib/terminology/services/system-api-v2/models/index.mjs +0 -9
- package/esm2022/lib/terminology/services/system-api-v2/models/revision.model.mjs +0 -2
- package/esm2022/lib/terminology/services/system-api-v2/models/tilde-vendor.const.mjs +0 -2
- package/esm2022/lib/terminology/services/system-api-v2/models/worker-status.model.mjs +0 -2
- package/esm2022/lib/terminology/services/system-api-v2/system-api.service.mjs +0 -109
- package/esm2022/lib/terminology/services/terminology/terminology.service.mjs +0 -323
- package/esm2022/lib/terminology/services/terminology-api/terminology-api.service.mjs +0 -86
- package/esm2022/lib/terminology/services/terminology-collection/index.mjs +0 -2
- package/esm2022/lib/terminology/services/terminology-collection/terminology-collection.service.mjs +0 -54
- package/esm2022/lib/terminology/terminology.component.mjs +0 -241
- package/esm2022/lib/terminology/terminology.module.mjs +0 -102
- package/esm2022/lib/text-to-speech/index.mjs +0 -3
- package/esm2022/lib/text-to-speech/models/index.mjs +0 -2
- package/esm2022/lib/text-to-speech/models/voice.model.mjs +0 -2
- package/esm2022/lib/text-to-speech/services/tts-api.service.mjs +0 -18
- package/esm2022/lib/text-to-speech/text-to-speech.component.mjs +0 -172
- package/esm2022/lib/tld-loader/index.mjs +0 -3
- package/esm2022/lib/tld-loader/tld-loader.component.mjs +0 -16
- package/esm2022/lib/tld-loader/tld-loader.module.mjs +0 -21
- package/esm2022/lib/toast/index.mjs +0 -3
- package/esm2022/lib/toast/models/toast.model.mjs +0 -2
- package/esm2022/lib/toast/toast-service/index.mjs +0 -2
- package/esm2022/lib/toast/toast-service/toast-service.service.mjs +0 -42
- package/esm2022/lib/toast/toast.component.mjs +0 -57
- package/esm2022/public-api.mjs +0 -32
- package/esm2022/tilde-nlp-ngx-common.mjs +0 -5
- package/lib/close-button/close-button.component.d.ts +0 -13
- package/lib/close-button/close-button.module.d.ts +0 -11
- package/lib/close-button/index.d.ts +0 -2
- package/lib/company-product/company-product.component.d.ts +0 -7
- package/lib/company-product/company-product.module.d.ts +0 -8
- package/lib/company-product/index.d.ts +0 -2
- package/lib/confirmation-modal/confirmation-modal.component.d.ts +0 -12
- package/lib/confirmation-modal/confirmation-modal.module.d.ts +0 -11
- package/lib/confirmation-modal/index.d.ts +0 -5
- package/lib/confirmation-modal/models/confirmation-body.model.d.ts +0 -8
- package/lib/confirmation-modal/models/confirmation.enum.d.ts +0 -4
- package/lib/confirmation-modal/services/confirmation.service.d.ts +0 -12
- package/lib/confirmation-modal/services/index.d.ts +0 -1
- package/lib/constants/error-codes.const.d.ts +0 -3
- package/lib/constants/index.d.ts +0 -3
- package/lib/constants/last-used-system-local-storage-key.const.d.ts +0 -5
- package/lib/constants/screen-size.const.d.ts +0 -10
- package/lib/core/auth/addon.model.d.ts +0 -4
- package/lib/core/auth/auth-subscription.model.d.ts +0 -12
- package/lib/core/auth/index.d.ts +0 -4
- package/lib/core/auth/jwt-token.model.d.ts +0 -30
- package/lib/core/auth/subscription-plan.enum.d.ts +0 -16
- package/lib/core/index.d.ts +0 -3
- package/lib/core/localization/index.d.ts +0 -2
- package/lib/core/localization/missing-translation-handler.service.d.ts +0 -8
- package/lib/core/localization/select-language-dialog-component/index.d.ts +0 -1
- package/lib/core/localization/select-language-dialog-component/select-language-dialog.component.d.ts +0 -15
- package/lib/core/title-strategy/custom-title-strategy.provider.d.ts +0 -2
- package/lib/core/title-strategy/custom-title-strategy.service.d.ts +0 -14
- package/lib/core/title-strategy/index.d.ts +0 -2
- package/lib/directives/click-outside/click-outside.directive.d.ts +0 -10
- package/lib/directives/click-outside/click-outside.module.d.ts +0 -8
- package/lib/directives/click-outside/index.d.ts +0 -2
- package/lib/directives/drag-and-drop/drag-and-drop.directive.d.ts +0 -14
- package/lib/directives/drag-and-drop/drag-and-drop.module.d.ts +0 -8
- package/lib/directives/drag-and-drop/index.d.ts +0 -2
- package/lib/directives/index.d.ts +0 -3
- package/lib/directives/mat-button-loading/index.d.ts +0 -2
- package/lib/directives/mat-button-loading/mat-button-loading.directive.d.ts +0 -18
- package/lib/directives/mat-button-loading/mat-button-loading.module.d.ts +0 -8
- package/lib/extension-dialog/components/index.d.ts +0 -1
- package/lib/extension-dialog/components/open-extension-dialog/open-extension-dialog.component.d.ts +0 -10
- package/lib/extension-dialog/extension-dialog.component.d.ts +0 -21
- package/lib/extension-dialog/extension-dialog.module.d.ts +0 -15
- package/lib/extension-dialog/icons/file-types/excel.icon.d.ts +0 -1
- package/lib/extension-dialog/icons/file-types/index.d.ts +0 -9
- package/lib/extension-dialog/icons/file-types/interchange.icon.d.ts +0 -1
- package/lib/extension-dialog/icons/file-types/office-other.icon.d.ts +0 -1
- package/lib/extension-dialog/icons/file-types/other.icon.d.ts +0 -1
- package/lib/extension-dialog/icons/file-types/pdf.icon.d.ts +0 -1
- package/lib/extension-dialog/icons/file-types/powerpoint.icon.d.ts +0 -1
- package/lib/extension-dialog/icons/file-types/scanned.icon.d.ts +0 -1
- package/lib/extension-dialog/icons/file-types/web.icon.d.ts +0 -1
- package/lib/extension-dialog/icons/file-types/word.icon.d.ts +0 -1
- package/lib/extension-dialog/icons/index.d.ts +0 -1
- package/lib/extension-dialog/index.d.ts +0 -5
- package/lib/extension-dialog/models/enums/file-categories.enum.d.ts +0 -7
- package/lib/extension-dialog/models/enums/file-extensions.enum.d.ts +0 -34
- package/lib/extension-dialog/models/enums/file-type-icons.enum.d.ts +0 -11
- package/lib/extension-dialog/models/enums/file-types.enum.d.ts +0 -11
- package/lib/extension-dialog/models/enums/index.d.ts +0 -4
- package/lib/extension-dialog/models/index.d.ts +0 -2
- package/lib/extension-dialog/models/interfaces/config.d.ts +0 -18
- package/lib/extension-dialog/models/interfaces/dialog-data.model.d.ts +0 -3
- package/lib/extension-dialog/models/interfaces/index.d.ts +0 -2
- package/lib/extension-dialog/services/extension-dialog.service.d.ts +0 -9
- package/lib/extension-dialog/services/index.d.ts +0 -1
- package/lib/file-upload/file-upload.component.d.ts +0 -39
- package/lib/file-upload/file-upload.module.d.ts +0 -15
- package/lib/file-upload/index.d.ts +0 -3
- package/lib/file-upload/models/file-upload-error-type.enum.d.ts +0 -6
- package/lib/file-upload/models/file-upload-error.model.d.ts +0 -7
- package/lib/file-upload/models/file-upload.icon.d.ts +0 -1
- package/lib/file-upload/models/index.d.ts +0 -2
- package/lib/filter-bar/filter-bar.component.d.ts +0 -54
- package/lib/filter-bar/filter-bar.module.d.ts +0 -19
- package/lib/filter-bar/index.d.ts +0 -3
- package/lib/filter-bar/models/filter-bar-change-event.model.d.ts +0 -6
- package/lib/filter-bar/models/filter-bar-filter-item.model.d.ts +0 -11
- package/lib/filter-bar/models/filter-bar-filter-search.model.d.ts +0 -10
- package/lib/filter-bar/models/filter-bar-filter-single-selection.model.d.ts +0 -13
- package/lib/filter-bar/models/filter-bar-filter.model.d.ts +0 -24
- package/lib/filter-bar/models/filter-bar-settings.model.d.ts +0 -20
- package/lib/filter-bar/models/index.d.ts +0 -4
- package/lib/footer/footer.component.d.ts +0 -15
- package/lib/footer/footer.module.d.ts +0 -11
- package/lib/footer/index.d.ts +0 -2
- package/lib/global-message/global-message.component.d.ts +0 -10
- package/lib/global-message/index.d.ts +0 -1
- package/lib/helpers/auth-headers.helper.d.ts +0 -4
- package/lib/helpers/conversion.helper.d.ts +0 -4
- package/lib/helpers/custom-paginator-internatioinalization.helper.d.ts +0 -9
- package/lib/helpers/file-extension.helper.d.ts +0 -3
- package/lib/helpers/file-size-label.helper.d.ts +0 -2
- package/lib/helpers/hash.helper.d.ts +0 -3
- package/lib/helpers/html-element-parse.helper.d.ts +0 -3
- package/lib/helpers/html.helper.d.ts +0 -18
- package/lib/helpers/index.d.ts +0 -12
- package/lib/helpers/missing-translation.helper.d.ts +0 -4
- package/lib/helpers/resolution.helper.d.ts +0 -3
- package/lib/helpers/save-file.helper.d.ts +0 -4
- package/lib/helpers/sort.helper.d.ts +0 -32
- package/lib/inline-message/index.d.ts +0 -3
- package/lib/inline-message/inline-message.component.d.ts +0 -10
- package/lib/inline-message/inline-message.module.d.ts +0 -10
- package/lib/inline-message/models/index.d.ts +0 -3
- package/lib/inline-message/models/inline-message-icon-position.enum.d.ts +0 -4
- package/lib/inline-message/models/inline-message-type.enum.d.ts +0 -5
- package/lib/inline-message/models/inline-message.model.d.ts +0 -10
- package/lib/llm/components/llm-rephrase/llm-rephrase.component.d.ts +0 -11
- package/lib/llm/components/llm-summary/llm-summary.component.d.ts +0 -11
- package/lib/llm/components/llm-textarea-with-actions/llm-textarea-with-actions.component.d.ts +0 -61
- package/lib/llm/icons/index.d.ts +0 -1
- package/lib/llm/icons/llm-menu.icon.d.ts +0 -2
- package/lib/llm/index.d.ts +0 -3
- package/lib/llm/llm.component.d.ts +0 -30
- package/lib/llm/llm.module.d.ts +0 -24
- package/lib/llm/models/index.d.ts +0 -3
- package/lib/llm/models/llm-actions.enum.d.ts +0 -4
- package/lib/llm/models/llm-configuration.model.d.ts +0 -6
- package/lib/llm/models/llm-configuration.token.d.ts +0 -3
- package/lib/llm/models/llm-data.model.d.ts +0 -12
- package/lib/llm/models/llm-writing-style.enum.d.ts +0 -5
- package/lib/llm/services/llm-helper.service.d.ts +0 -23
- package/lib/llm/shared/llm-textarea/llm-textarea.component.d.ts +0 -25
- package/lib/multi-functional-table/constants/disable-export-attribute-name.const.d.ts +0 -1
- package/lib/multi-functional-table/constants/index.d.ts +0 -1
- package/lib/multi-functional-table/index.d.ts +0 -4
- package/lib/multi-functional-table/models/batch-config.model.d.ts +0 -4
- package/lib/multi-functional-table/models/column-config.model.d.ts +0 -18
- package/lib/multi-functional-table/models/column-select-config.model.d.ts +0 -14
- package/lib/multi-functional-table/models/export-config.model.d.ts +0 -9
- package/lib/multi-functional-table/models/export-format.enum.d.ts +0 -3
- package/lib/multi-functional-table/models/filter-config.model.d.ts +0 -7
- package/lib/multi-functional-table/models/index.d.ts +0 -7
- package/lib/multi-functional-table/models/multi-functional-table-config.model.d.ts +0 -53
- package/lib/multi-functional-table/models/paginator-config.model.d.ts +0 -8
- package/lib/multi-functional-table/models/selected-column-local-storage-config.model.d.ts +0 -20
- package/lib/multi-functional-table/multi-functional-table.component.d.ts +0 -116
- package/lib/multi-functional-table/multi-functional-table.module.d.ts +0 -22
- package/lib/new-feature-dialog/index.d.ts +0 -2
- package/lib/new-feature-dialog/models/index.d.ts +0 -1
- package/lib/new-feature-dialog/models/mobile-screen-custom-position.model.d.ts +0 -5
- package/lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog-wrapper.component.d.ts +0 -26
- package/lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog.service.d.ts +0 -10
- package/lib/new-feature-dialog/new-feature-dialog.component.d.ts +0 -6
- package/lib/notification-message/enums/index.d.ts +0 -1
- package/lib/notification-message/enums/notification-message-type.enum.d.ts +0 -7
- package/lib/notification-message/index.d.ts +0 -4
- package/lib/notification-message/interfaces/index.d.ts +0 -1
- package/lib/notification-message/interfaces/notification-message.model.d.ts +0 -28
- package/lib/notification-message/notification-message.component.d.ts +0 -22
- package/lib/notification-message/notification-message.module.d.ts +0 -14
- package/lib/open-close-button/index.d.ts +0 -4
- package/lib/open-close-button/injection-tokens/index.d.ts +0 -1
- package/lib/open-close-button/injection-tokens/open-close-btn-icons.token.d.ts +0 -1
- package/lib/open-close-button/models/index.d.ts +0 -1
- package/lib/open-close-button/models/open-close-btn-icons.model.d.ts +0 -4
- package/lib/open-close-button/open-close-button.component.d.ts +0 -22
- package/lib/open-close-button/open-close-button.module.d.ts +0 -11
- package/lib/pipes/date-ago/date-ago.module.d.ts +0 -9
- package/lib/pipes/date-ago/date-ago.pipe.d.ts +0 -20
- package/lib/pipes/date-ago/index.d.ts +0 -2
- package/lib/pipes/date-ago/models/date-ago-interval.model.d.ts +0 -5
- package/lib/pipes/date-ago/models/date-ago-settings.model.d.ts +0 -26
- package/lib/pipes/date-ago/models/date-ago-settings.token.d.ts +0 -1
- package/lib/pipes/date-ago/models/date-ago.model.d.ts +0 -4
- package/lib/pipes/date-ago/models/index.d.ts +0 -4
- package/lib/pipes/domain-translate/domain-translate.pipe.d.ts +0 -10
- package/lib/pipes/domain-translate/index.d.ts +0 -1
- package/lib/pipes/file-size-label/enums/file-size-unit.enum.d.ts +0 -6
- package/lib/pipes/file-size-label/enums/index.d.ts +0 -1
- package/lib/pipes/file-size-label/file-size-label.pipe.d.ts +0 -8
- package/lib/pipes/file-size-label/index.d.ts +0 -2
- package/lib/pipes/filter-with-highlight/filter-with-highlight.module.d.ts +0 -8
- package/lib/pipes/filter-with-highlight/filter-with-highlight.pipe.d.ts +0 -7
- package/lib/pipes/filter-with-highlight/index.d.ts +0 -2
- package/lib/pipes/index.d.ts +0 -12
- package/lib/pipes/language-translate/index.d.ts +0 -2
- package/lib/pipes/language-translate/language-translate.module.d.ts +0 -8
- package/lib/pipes/language-translate/language-translate.pipe.d.ts +0 -21
- package/lib/pipes/object-length/index.d.ts +0 -2
- package/lib/pipes/object-length/object-length.module.d.ts +0 -8
- package/lib/pipes/object-length/object-length.pipe.d.ts +0 -7
- package/lib/pipes/sort-alphabetically/index.d.ts +0 -2
- package/lib/pipes/sort-alphabetically/sort-alphabetically.module.d.ts +0 -8
- package/lib/pipes/sort-alphabetically/sort-alphabetically.pipe.d.ts +0 -7
- package/lib/pipes/sort-by-number/index.d.ts +0 -1
- package/lib/pipes/sort-by-number/sort-by-number.pipe.d.ts +0 -7
- package/lib/pipes/sort-domains/index.d.ts +0 -1
- package/lib/pipes/sort-domains/sort-domains.pipe.d.ts +0 -15
- package/lib/pipes/sort-language-list/index.d.ts +0 -2
- package/lib/pipes/sort-language-list/models/index.d.ts +0 -1
- package/lib/pipes/sort-language-list/models/translated-language.model.d.ts +0 -4
- package/lib/pipes/sort-language-list/sort-language-list.pipe.d.ts +0 -10
- package/lib/pipes/sort-translations/index.d.ts +0 -2
- package/lib/pipes/sort-translations/sort-translations.module.d.ts +0 -8
- package/lib/pipes/sort-translations/sort-translations.pipe.d.ts +0 -20
- package/lib/pipes/sort-translations-by-property/index.d.ts +0 -2
- package/lib/pipes/sort-translations-by-property/sort-translations-by-property.module.d.ts +0 -8
- package/lib/pipes/sort-translations-by-property/sort-translations-by-property.pipe.d.ts +0 -16
- package/lib/plausible/index.d.ts +0 -4
- package/lib/plausible/models/index.d.ts +0 -1
- package/lib/plausible/models/plausible-event.model.d.ts +0 -7
- package/lib/plausible/plausible-event.directive.d.ts +0 -11
- package/lib/plausible/plausible.helper.d.ts +0 -15
- package/lib/plausible/plausible.module.d.ts +0 -8
- package/lib/services/alert/alert.service.d.ts +0 -37
- package/lib/services/alert/index.d.ts +0 -3
- package/lib/services/alert/injection-tokens/alert-configuration.token.d.ts +0 -1
- package/lib/services/alert/injection-tokens/index.d.ts +0 -1
- package/lib/services/alert/models/alert-configuration.model.d.ts +0 -7
- package/lib/services/alert/models/index.d.ts +0 -1
- package/lib/services/dom/dom.service.d.ts +0 -7
- package/lib/services/dom/index.d.ts +0 -1
- package/lib/services/icon/icon.service.d.ts +0 -14
- package/lib/services/icon/index.d.ts +0 -1
- package/lib/services/index.d.ts +0 -6
- package/lib/services/language-translate/index.d.ts +0 -1
- package/lib/services/language-translate/language-translate.service.d.ts +0 -10
- package/lib/services/notification/index.d.ts +0 -2
- package/lib/services/notification/models/index.d.ts +0 -2
- package/lib/services/notification/models/notification.model.d.ts +0 -6
- package/lib/services/notification/models/operations.enum.d.ts +0 -4
- package/lib/services/notification/notification.service.d.ts +0 -15
- package/lib/services/system/index.d.ts +0 -1
- package/lib/services/system/system.service.d.ts +0 -11
- package/lib/sidebar/index.d.ts +0 -2
- package/lib/sidebar/services/index.d.ts +0 -1
- package/lib/sidebar/services/sidebar.service.d.ts +0 -10
- package/lib/sidebar/sidebar.component.d.ts +0 -8
- package/lib/status-display/index.d.ts +0 -3
- package/lib/status-display/models/index.d.ts +0 -1
- package/lib/status-display/models/status-display-config.model.d.ts +0 -15
- package/lib/status-display/status-display.component.d.ts +0 -7
- package/lib/status-display/status-display.module.d.ts +0 -11
- package/lib/subscription/chargebee-mount.service.d.ts +0 -6
- package/lib/subscription/index.d.ts +0 -2
- package/lib/subscription/models/chargebee-settings.model.d.ts +0 -4
- package/lib/subscription/models/index.d.ts +0 -1
- package/lib/subscription/models/subscription-quota-display.model.d.ts +0 -9
- package/lib/subscription/models/subscription-state.enum.d.ts +0 -6
- package/lib/subscription/subscription.component.d.ts +0 -30
- package/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-card/terminology-collection-card.component.d.ts +0 -28
- package/lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-list.component.d.ts +0 -30
- package/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection-dialog/terminology-create-collection-dialog.component.d.ts +0 -32
- package/lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection.component.d.ts +0 -20
- package/lib/terminology/components/terminology-panel/terminology-panel.component.d.ts +0 -37
- package/lib/terminology/config/models/index.d.ts +0 -1
- package/lib/terminology/config/models/terminology-config.model.d.ts +0 -45
- package/lib/terminology/config/services/index.d.ts +0 -1
- package/lib/terminology/config/services/terminology-config/terminology-config.service.d.ts +0 -10
- package/lib/terminology/enums/combined-collection-tooltip-key.enum.d.ts +0 -4
- package/lib/terminology/enums/engine-term-collection-scope.enum.d.ts +0 -4
- package/lib/terminology/enums/engine-term-collection-source.enum.d.ts +0 -4
- package/lib/terminology/enums/engine-term-collection-status.enum.d.ts +0 -6
- package/lib/terminology/enums/engine-term-collection-sub-status.enum.d.ts +0 -12
- package/lib/terminology/enums/index.d.ts +0 -6
- package/lib/terminology/enums/mt-collection-status.enum.d.ts +0 -8
- package/lib/terminology/icons/collections-menu.icon.d.ts +0 -1
- package/lib/terminology/icons/index.d.ts +0 -1
- package/lib/terminology/index.d.ts +0 -9
- package/lib/terminology/models/active-data.model.d.ts +0 -23
- package/lib/terminology/models/add-engine-terms-request-params.model.d.ts +0 -7
- package/lib/terminology/models/combined-collection.model.d.ts +0 -91
- package/lib/terminology/models/default-term-collection-order-update.model.d.ts +0 -5
- package/lib/terminology/models/domain.model.d.ts +0 -9
- package/lib/terminology/models/engine-term-collection-access-scope-update.model.d.ts +0 -3
- package/lib/terminology/models/engine-term-collection-access-scope.model.d.ts +0 -4
- package/lib/terminology/models/engine-term-collection-access-update.model.d.ts +0 -5
- package/lib/terminology/models/engine-term-collection-access.model.d.ts +0 -6
- package/lib/terminology/models/engine-term-collection-list.model.d.ts +0 -4
- package/lib/terminology/models/engine-term-collection.model.d.ts +0 -24
- package/lib/terminology/models/index.d.ts +0 -18
- package/lib/terminology/models/lang-list-item.model.d.ts +0 -6
- package/lib/terminology/models/mt-collection.model.d.ts +0 -17
- package/lib/terminology/models/system.model.d.ts +0 -12
- package/lib/terminology/models/terminology-engine.model.d.ts +0 -15
- package/lib/terminology/models/tld-term-collection-languages.model.d.ts +0 -11
- package/lib/terminology/models/tld-term-collection.model.d.ts +0 -46
- package/lib/terminology/models/update-engine-terms-request-params.model.d.ts +0 -4
- package/lib/terminology/models/vendor.model.d.ts +0 -5
- package/lib/terminology/services/engine-term-api/engine-term-api.service.d.ts +0 -19
- package/lib/terminology/services/engine-term-api/index.d.ts +0 -1
- package/lib/terminology/services/index.d.ts +0 -4
- package/lib/terminology/services/system-api-v2/models/engine-deployment.model.d.ts +0 -9
- package/lib/terminology/services/system-api-v2/models/engine-domain-list.model.d.ts +0 -4
- package/lib/terminology/services/system-api-v2/models/engine-domain.model.d.ts +0 -5
- package/lib/terminology/services/system-api-v2/models/engine-list.model.d.ts +0 -4
- package/lib/terminology/services/system-api-v2/models/engine-status.enum.d.ts +0 -9
- package/lib/terminology/services/system-api-v2/models/engine-sub-status.enum.d.ts +0 -16
- package/lib/terminology/services/system-api-v2/models/engine.model.d.ts +0 -24
- package/lib/terminology/services/system-api-v2/models/index.d.ts +0 -8
- package/lib/terminology/services/system-api-v2/models/revision.model.d.ts +0 -9
- package/lib/terminology/services/system-api-v2/models/tilde-vendor.const.d.ts +0 -1
- package/lib/terminology/services/system-api-v2/models/worker-status.model.d.ts +0 -12
- package/lib/terminology/services/system-api-v2/system-api.service.d.ts +0 -17
- package/lib/terminology/services/terminology/terminology.service.d.ts +0 -62
- package/lib/terminology/services/terminology-api/terminology-api.service.d.ts +0 -18
- package/lib/terminology/services/terminology-collection/index.d.ts +0 -1
- package/lib/terminology/services/terminology-collection/terminology-collection.service.d.ts +0 -17
- package/lib/terminology/terminology.component.d.ts +0 -42
- package/lib/terminology/terminology.module.d.ts +0 -28
- package/lib/text-to-speech/index.d.ts +0 -2
- package/lib/text-to-speech/models/index.d.ts +0 -1
- package/lib/text-to-speech/models/voice.model.d.ts +0 -4
- package/lib/text-to-speech/services/tts-api.service.d.ts +0 -9
- package/lib/text-to-speech/text-to-speech.component.d.ts +0 -21
- package/lib/tld-loader/index.d.ts +0 -2
- package/lib/tld-loader/tld-loader.component.d.ts +0 -5
- package/lib/tld-loader/tld-loader.module.d.ts +0 -7
- package/lib/toast/index.d.ts +0 -2
- package/lib/toast/models/toast.model.d.ts +0 -5
- package/lib/toast/toast-service/index.d.ts +0 -1
- package/lib/toast/toast-service/toast-service.service.d.ts +0 -12
- package/lib/toast/toast.component.d.ts +0 -11
- package/public-api.d.ts +0 -28
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { EngineTermCollectionSubStatus, MtCollectionStatus } from '../../../../enums';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../../services";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "@ngbracket/ngx-layout/flex";
|
|
7
|
-
import * as i4 from "@angular/material/button";
|
|
8
|
-
import * as i5 from "@angular/material/icon";
|
|
9
|
-
import * as i6 from "@angular/material/progress-spinner";
|
|
10
|
-
import * as i7 from "@angular/material/radio";
|
|
11
|
-
import * as i8 from "@angular/material/tooltip";
|
|
12
|
-
import * as i9 from "@ngx-translate/core";
|
|
13
|
-
import * as i10 from "../../../../../pipes/date-ago/date-ago.pipe";
|
|
14
|
-
const _c0 = a0 => ({ termCount: a0 });
|
|
15
|
-
const _c1 = a0 => ({ date: a0 });
|
|
16
|
-
function TerminologyCollectionCardComponent_ng_container_0_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
-
i0.ɵɵelementStart(0, "span", 15);
|
|
18
|
-
i0.ɵɵtext(1);
|
|
19
|
-
i0.ɵɵelementEnd();
|
|
20
|
-
} if (rf & 2) {
|
|
21
|
-
let tmp_3_0;
|
|
22
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
23
|
-
i0.ɵɵproperty("matTooltip", (tmp_3_0 = ctx_r1.collection.name) !== null && tmp_3_0 !== undefined ? tmp_3_0 : "");
|
|
24
|
-
i0.ɵɵadvance();
|
|
25
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.collection.name, " ");
|
|
26
|
-
} }
|
|
27
|
-
function TerminologyCollectionCardComponent_ng_container_0_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
i0.ɵɵelementStart(0, "span", 16);
|
|
29
|
-
i0.ɵɵtext(1);
|
|
30
|
-
i0.ɵɵelementEnd();
|
|
31
|
-
} if (rf & 2) {
|
|
32
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
33
|
-
i0.ɵɵadvance();
|
|
34
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.collection.name, " ");
|
|
35
|
-
} }
|
|
36
|
-
function TerminologyCollectionCardComponent_ng_container_0_span_8_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
-
i0.ɵɵelementStart(0, "span", 17);
|
|
38
|
-
i0.ɵɵtext(1);
|
|
39
|
-
i0.ɵɵpipe(2, "translate");
|
|
40
|
-
i0.ɵɵelementEnd();
|
|
41
|
-
} if (rf & 2) {
|
|
42
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
43
|
-
i0.ɵɵadvance();
|
|
44
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.localizationKey + "DEFAULT"));
|
|
45
|
-
} }
|
|
46
|
-
function TerminologyCollectionCardComponent_ng_container_0_ng_container_10_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
-
i0.ɵɵelementStart(0, "span");
|
|
48
|
-
i0.ɵɵtext(1);
|
|
49
|
-
i0.ɵɵelementEnd();
|
|
50
|
-
} if (rf & 2) {
|
|
51
|
-
const lang_r3 = ctx.$implicit;
|
|
52
|
-
i0.ɵɵadvance();
|
|
53
|
-
i0.ɵɵtextInterpolate(lang_r3.id);
|
|
54
|
-
} }
|
|
55
|
-
function TerminologyCollectionCardComponent_ng_container_0_ng_container_10_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
-
i0.ɵɵelementContainerStart(0);
|
|
57
|
-
i0.ɵɵtemplate(1, TerminologyCollectionCardComponent_ng_container_0_ng_container_10_span_1_Template, 2, 1, "span", 18);
|
|
58
|
-
i0.ɵɵelementContainerEnd();
|
|
59
|
-
} if (rf & 2) {
|
|
60
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
61
|
-
i0.ɵɵadvance();
|
|
62
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.collection.termCollection.languages);
|
|
63
|
-
} }
|
|
64
|
-
function TerminologyCollectionCardComponent_ng_container_0_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
-
i0.ɵɵelementStart(0, "span");
|
|
66
|
-
i0.ɵɵtext(1);
|
|
67
|
-
i0.ɵɵelementEnd();
|
|
68
|
-
i0.ɵɵelementStart(2, "span");
|
|
69
|
-
i0.ɵɵtext(3);
|
|
70
|
-
i0.ɵɵelementEnd();
|
|
71
|
-
} if (rf & 2) {
|
|
72
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
73
|
-
i0.ɵɵadvance();
|
|
74
|
-
i0.ɵɵtextInterpolate(ctx_r1.sourceLanguageCode);
|
|
75
|
-
i0.ɵɵadvance(2);
|
|
76
|
-
i0.ɵɵtextInterpolate(ctx_r1.targetLanguageCode);
|
|
77
|
-
} }
|
|
78
|
-
function TerminologyCollectionCardComponent_ng_container_0_span_13_Template(rf, ctx) { if (rf & 1) {
|
|
79
|
-
i0.ɵɵelementStart(0, "span", 19);
|
|
80
|
-
i0.ɵɵtext(1);
|
|
81
|
-
i0.ɵɵpipe(2, "translate");
|
|
82
|
-
i0.ɵɵelementEnd();
|
|
83
|
-
} if (rf & 2) {
|
|
84
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
85
|
-
i0.ɵɵadvance();
|
|
86
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(2, 1, ctx_r1.localizationKey + "TERMS_IN_USE", i0.ɵɵpureFunction1(4, _c0, ctx_r1.collection.termCount)), " ");
|
|
87
|
-
} }
|
|
88
|
-
function TerminologyCollectionCardComponent_ng_container_0_span_14_Template(rf, ctx) { if (rf & 1) {
|
|
89
|
-
i0.ɵɵelementStart(0, "span", 19);
|
|
90
|
-
i0.ɵɵtext(1);
|
|
91
|
-
i0.ɵɵpipe(2, "dateAgo");
|
|
92
|
-
i0.ɵɵpipe(3, "translate");
|
|
93
|
-
i0.ɵɵelementEnd();
|
|
94
|
-
} if (rf & 2) {
|
|
95
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
96
|
-
i0.ɵɵadvance();
|
|
97
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 3, ctx_r1.localizationKey + "LAST_UPDATED", i0.ɵɵpureFunction1(6, _c1, i0.ɵɵpipeBind1(2, 1, ctx_r1.collection.lastUpdated))), " ");
|
|
98
|
-
} }
|
|
99
|
-
function TerminologyCollectionCardComponent_ng_container_0_div_16_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
100
|
-
i0.ɵɵelementStart(0, "span");
|
|
101
|
-
i0.ɵɵtext(1);
|
|
102
|
-
i0.ɵɵpipe(2, "uppercase");
|
|
103
|
-
i0.ɵɵpipe(3, "translate");
|
|
104
|
-
i0.ɵɵelementEnd();
|
|
105
|
-
} if (rf & 2) {
|
|
106
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
107
|
-
i0.ɵɵadvance();
|
|
108
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, ctx_r1.localizationKey + "ERRORS." + i0.ɵɵpipeBind1(2, 1, ctx_r1.collection.mtCollection == null ? null : ctx_r1.collection.mtCollection.subStatus)), " ");
|
|
109
|
-
} }
|
|
110
|
-
function TerminologyCollectionCardComponent_ng_container_0_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
111
|
-
i0.ɵɵelementStart(0, "div", 20)(1, "span", 21);
|
|
112
|
-
i0.ɵɵtext(2, " error ");
|
|
113
|
-
i0.ɵɵelementEnd();
|
|
114
|
-
i0.ɵɵtemplate(3, TerminologyCollectionCardComponent_ng_container_0_div_16_span_3_Template, 4, 5, "span", 1);
|
|
115
|
-
i0.ɵɵelementEnd();
|
|
116
|
-
} if (rf & 2) {
|
|
117
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
118
|
-
i0.ɵɵadvance(3);
|
|
119
|
-
i0.ɵɵproperty("ngIf", (ctx_r1.collection.mtCollection == null ? null : ctx_r1.collection.mtCollection.subStatus) === ctx_r1.collectionImportingErrorSubStatus);
|
|
120
|
-
} }
|
|
121
|
-
function TerminologyCollectionCardComponent_ng_container_0_span_17_Template(rf, ctx) { if (rf & 1) {
|
|
122
|
-
i0.ɵɵelementStart(0, "span", 22);
|
|
123
|
-
i0.ɵɵelement(1, "mat-spinner", 23);
|
|
124
|
-
i0.ɵɵelementStart(2, "span");
|
|
125
|
-
i0.ɵɵtext(3);
|
|
126
|
-
i0.ɵɵpipe(4, "translate");
|
|
127
|
-
i0.ɵɵelementEnd()();
|
|
128
|
-
} if (rf & 2) {
|
|
129
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
130
|
-
i0.ɵɵadvance(3);
|
|
131
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 1, ctx_r1.tooltipLocalizationKey + "IMPORTING"), " ");
|
|
132
|
-
} }
|
|
133
|
-
function TerminologyCollectionCardComponent_ng_container_0_button_18_Template(rf, ctx) { if (rf & 1) {
|
|
134
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
135
|
-
i0.ɵɵelementStart(0, "button", 24);
|
|
136
|
-
i0.ɵɵpipe(1, "translate");
|
|
137
|
-
i0.ɵɵlistener("click", function TerminologyCollectionCardComponent_ng_container_0_button_18_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); ctx_r1.attach(ctx_r1.collection); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
138
|
-
i0.ɵɵelementStart(2, "span", 25)(3, "mat-icon", 26);
|
|
139
|
-
i0.ɵɵtext(4, "sync");
|
|
140
|
-
i0.ɵɵelementEnd();
|
|
141
|
-
i0.ɵɵtext(5);
|
|
142
|
-
i0.ɵɵpipe(6, "translate");
|
|
143
|
-
i0.ɵɵelementEnd()();
|
|
144
|
-
} if (rf & 2) {
|
|
145
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
146
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, ctx_r1.tooltipLocalizationKey + "SYNC"));
|
|
147
|
-
i0.ɵɵadvance(5);
|
|
148
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 4, ctx_r1.localizationKey + "SYNC"), " ");
|
|
149
|
-
} }
|
|
150
|
-
function TerminologyCollectionCardComponent_ng_container_0_ng_container_19_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
151
|
-
i0.ɵɵelementStart(0, "a", 28);
|
|
152
|
-
i0.ɵɵpipe(1, "translate");
|
|
153
|
-
i0.ɵɵelementStart(2, "mat-icon", 29);
|
|
154
|
-
i0.ɵɵtext(3, "edit");
|
|
155
|
-
i0.ɵɵelementEnd()();
|
|
156
|
-
} if (rf & 2) {
|
|
157
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
158
|
-
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 2, ctx_r1.tooltipLocalizationKey + "EDIT"));
|
|
159
|
-
i0.ɵɵattribute("href", ctx_r1.getEditLink(ctx_r1.collection), i0.ɵɵsanitizeUrl);
|
|
160
|
-
} }
|
|
161
|
-
function TerminologyCollectionCardComponent_ng_container_0_ng_container_19_Template(rf, ctx) { if (rf & 1) {
|
|
162
|
-
i0.ɵɵelementContainerStart(0);
|
|
163
|
-
i0.ɵɵtemplate(1, TerminologyCollectionCardComponent_ng_container_0_ng_container_19_a_1_Template, 4, 4, "a", 27);
|
|
164
|
-
i0.ɵɵelementContainerEnd();
|
|
165
|
-
} if (rf & 2) {
|
|
166
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
167
|
-
i0.ɵɵadvance();
|
|
168
|
-
i0.ɵɵproperty("ngIf", ctx_r1.collection.termCollection);
|
|
169
|
-
} }
|
|
170
|
-
function TerminologyCollectionCardComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
171
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
172
|
-
i0.ɵɵelementContainerStart(0);
|
|
173
|
-
i0.ɵɵelementStart(1, "div", 2)(2, "mat-radio-button", 3);
|
|
174
|
-
i0.ɵɵpipe(3, "translate");
|
|
175
|
-
i0.ɵɵlistener("click", function TerminologyCollectionCardComponent_ng_container_0_Template_mat_radio_button_click_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.selectGlossary(ctx_r1.collection)); });
|
|
176
|
-
i0.ɵɵelementStart(4, "div", 2)(5, "div", 4);
|
|
177
|
-
i0.ɵɵtemplate(6, TerminologyCollectionCardComponent_ng_container_0_span_6_Template, 2, 2, "span", 5)(7, TerminologyCollectionCardComponent_ng_container_0_span_7_Template, 2, 1, "span", 6);
|
|
178
|
-
i0.ɵɵelementEnd();
|
|
179
|
-
i0.ɵɵtemplate(8, TerminologyCollectionCardComponent_ng_container_0_span_8_Template, 3, 3, "span", 7);
|
|
180
|
-
i0.ɵɵelementEnd();
|
|
181
|
-
i0.ɵɵelementStart(9, "div", 8);
|
|
182
|
-
i0.ɵɵtemplate(10, TerminologyCollectionCardComponent_ng_container_0_ng_container_10_Template, 2, 1, "ng-container", 9)(11, TerminologyCollectionCardComponent_ng_container_0_ng_template_11_Template, 4, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
183
|
-
i0.ɵɵelementEnd();
|
|
184
|
-
i0.ɵɵtemplate(13, TerminologyCollectionCardComponent_ng_container_0_span_13_Template, 3, 6, "span", 10)(14, TerminologyCollectionCardComponent_ng_container_0_span_14_Template, 4, 8, "span", 10);
|
|
185
|
-
i0.ɵɵelementStart(15, "div", 11);
|
|
186
|
-
i0.ɵɵtemplate(16, TerminologyCollectionCardComponent_ng_container_0_div_16_Template, 4, 1, "div", 12)(17, TerminologyCollectionCardComponent_ng_container_0_span_17_Template, 5, 3, "span", 13)(18, TerminologyCollectionCardComponent_ng_container_0_button_18_Template, 7, 6, "button", 14);
|
|
187
|
-
i0.ɵɵelementEnd()();
|
|
188
|
-
i0.ɵɵtemplate(19, TerminologyCollectionCardComponent_ng_container_0_ng_container_19_Template, 2, 1, "ng-container", 1);
|
|
189
|
-
i0.ɵɵelementEnd();
|
|
190
|
-
i0.ɵɵelementContainerEnd();
|
|
191
|
-
} if (rf & 2) {
|
|
192
|
-
const currentDirection_r5 = i0.ɵɵreference(12);
|
|
193
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
194
|
-
i0.ɵɵadvance(2);
|
|
195
|
-
i0.ɵɵclassProp("mat-mdc-radio-checked", ctx_r1.collection.default || ctx_r1.collection === ctx_r1.selected);
|
|
196
|
-
i0.ɵɵproperty("disabled", ctx_r1.isSelectionDisabled)("matTooltip", ctx_r1.collection.termTooltipKey ? i0.ɵɵpipeBind1(3, 15, ctx_r1.tooltipLocalizationKey + ctx_r1.collection.termTooltipKey) : "");
|
|
197
|
-
i0.ɵɵadvance(4);
|
|
198
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.collection.termTooltipKey);
|
|
199
|
-
i0.ɵɵadvance();
|
|
200
|
-
i0.ɵɵproperty("ngIf", ctx_r1.collection.termTooltipKey);
|
|
201
|
-
i0.ɵɵadvance();
|
|
202
|
-
i0.ɵɵproperty("ngIf", ctx_r1.collection.default);
|
|
203
|
-
i0.ɵɵadvance(2);
|
|
204
|
-
i0.ɵɵproperty("ngIf", ctx_r1.collection.termCollection)("ngIfElse", currentDirection_r5);
|
|
205
|
-
i0.ɵɵadvance(3);
|
|
206
|
-
i0.ɵɵproperty("ngIf", ctx_r1.collection.termCount);
|
|
207
|
-
i0.ɵɵadvance();
|
|
208
|
-
i0.ɵɵproperty("ngIf", ctx_r1.collection.lastUpdated);
|
|
209
|
-
i0.ɵɵadvance(2);
|
|
210
|
-
i0.ɵɵproperty("ngIf", ctx_r1.collection.mtStatus && ctx_r1.collection.mtStatus === ctx_r1.collectionErrorStatus);
|
|
211
|
-
i0.ɵɵadvance();
|
|
212
|
-
i0.ɵɵproperty("ngIf", ctx_r1.collection.isImporting);
|
|
213
|
-
i0.ɵɵadvance();
|
|
214
|
-
i0.ɵɵproperty("ngIf", ctx_r1.collection.syncButtonVisible);
|
|
215
|
-
i0.ɵɵadvance();
|
|
216
|
-
i0.ɵɵproperty("ngIf", ctx_r1.hasEditPermissions);
|
|
217
|
-
} }
|
|
218
|
-
export class TerminologyCollectionCardComponent {
|
|
219
|
-
get isSelectionDisabled() {
|
|
220
|
-
return this.isCollectionDisabled(this.collection);
|
|
221
|
-
}
|
|
222
|
-
constructor(terminologyService, terminologyCollection) {
|
|
223
|
-
this.terminologyService = terminologyService;
|
|
224
|
-
this.terminologyCollection = terminologyCollection;
|
|
225
|
-
this.glossarySelectEvent = new EventEmitter();
|
|
226
|
-
this.collectionErrorStatus = MtCollectionStatus.ERROR;
|
|
227
|
-
this.collectionImportingErrorSubStatus = EngineTermCollectionSubStatus.ERROR_IMPORTING;
|
|
228
|
-
}
|
|
229
|
-
selectGlossary(collection) {
|
|
230
|
-
if (this.isCollectionDisabled(collection)) {
|
|
231
|
-
return;
|
|
232
|
-
}
|
|
233
|
-
this.glossarySelectEvent.emit(collection);
|
|
234
|
-
}
|
|
235
|
-
attach(collection) {
|
|
236
|
-
this.terminologyService.sync(collection, this.engineId).subscribe();
|
|
237
|
-
}
|
|
238
|
-
getEditLink(collection) {
|
|
239
|
-
// Collections with terms that shouldn't be translated.
|
|
240
|
-
if (collection.termCollection?.languages && collection.termCollection?.languages.length === 1) {
|
|
241
|
-
return this.terminologyCollection.getEditLink(collection.termCollection.id);
|
|
242
|
-
}
|
|
243
|
-
// Adds both source and target languages to the collection.
|
|
244
|
-
return this.terminologyCollection.getEditLink(collection.termCollection.id, this.sourceLanguageCode, this.targetLanguageCode);
|
|
245
|
-
}
|
|
246
|
-
isCollectionDisabled(collection) {
|
|
247
|
-
return collection.termId !== null && collection.termEntries <= 0 || collection.default;
|
|
248
|
-
}
|
|
249
|
-
static { this.ɵfac = function TerminologyCollectionCardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCollectionCardComponent)(i0.ɵɵdirectiveInject(i1.TerminologyService), i0.ɵɵdirectiveInject(i1.TerminologyCollectionService)); }; }
|
|
250
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyCollectionCardComponent, selectors: [["lib-terminology-collection-card"]], inputs: { collection: "collection", selected: "selected", localizationKey: "localizationKey", tooltipLocalizationKey: "tooltipLocalizationKey", sourceLanguageCode: "sourceLanguageCode", engineId: "engineId", targetLanguageCode: "targetLanguageCode", hasEditPermissions: "hasEditPermissions" }, outputs: { glossarySelectEvent: "glossarySelectEvent" }, decls: 1, vars: 1, consts: [["currentDirection", ""], [4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "start center"], ["fxFlex", "", "fxLayoutAlign", "center center", 3, "click", "disabled", "matTooltip"], [1, "collection-label"], ["class", "text-m-semi-bold", 3, "matTooltip", 4, "ngIf"], ["class", "text-m-semi-bold", 4, "ngIf"], ["class", "default-badge", 4, "ngIf"], [1, "collection-languages"], [4, "ngIf", "ngIfElse"], ["class", "collection-label-block text-s", 4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutGap", "0.5rem", 1, "collection-label-block", "collection-status-labels", "text-s"], ["fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutGap", "0.25rem", 4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutGap", "0.5rem", 4, "ngIf"], ["mat-button", "", "color", "primary", 3, "matTooltip", "click", 4, "ngIf"], [1, "text-m-semi-bold", 3, "matTooltip"], [1, "text-m-semi-bold"], [1, "default-badge"], [4, "ngFor", "ngForOf"], [1, "collection-label-block", "text-s"], ["fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutGap", "0.25rem"], ["color", "accent", 1, "material-icons", "collection-list-error"], ["fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutGap", "0.5rem"], ["color", "accent", "diameter", "20"], ["mat-button", "", "color", "primary", 3, "click", "matTooltip"], ["fxLayout", "row", "fxLayoutAlign", "start center", 1, "text-s"], [1, "pt-1"], ["class", "collection-list-edit", "mat-icon-button", "", "target", "_blank", 3, "matTooltip", 4, "ngIf"], ["mat-icon-button", "", "target", "_blank", 1, "collection-list-edit", 3, "matTooltip"], [1, "material-icons", "material-icons-outlined"]], template: function TerminologyCollectionCardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
251
|
-
i0.ɵɵtemplate(0, TerminologyCollectionCardComponent_ng_container_0_Template, 20, 17, "ng-container", 1);
|
|
252
|
-
} if (rf & 2) {
|
|
253
|
-
i0.ɵɵproperty("ngIf", ctx.collection);
|
|
254
|
-
} }, dependencies: [i2.NgForOf, i2.NgIf, i3.DefaultLayoutDirective, i3.DefaultLayoutGapDirective, i3.DefaultLayoutAlignDirective, i3.DefaultFlexDirective, i4.MatButton, i4.MatIconAnchor, i5.MatIcon, i6.MatProgressSpinner, i7.MatRadioButton, i8.MatTooltip, i2.UpperCasePipe, i9.TranslatePipe, i10.DateAgoPipe], styles: [".collection-languages[_ngcontent-%COMP%]{display:flex;gap:2px}.collection-languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px;border-radius:100px;padding-right:8px;padding-left:8px;color:var(--base-40);background-color:var(--base-70)}"] }); }
|
|
255
|
-
}
|
|
256
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCollectionCardComponent, [{
|
|
257
|
-
type: Component,
|
|
258
|
-
args: [{ selector: 'lib-terminology-collection-card', template: "<ng-container *ngIf=\"collection\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <mat-radio-button\r\n fxFlex\r\n fxLayoutAlign=\"center center\"\r\n [class.mat-mdc-radio-checked]=\"collection.default || collection === selected\"\r\n [disabled]=\"isSelectionDisabled\"\r\n [matTooltip]=\"collection.termTooltipKey ? (tooltipLocalizationKey + collection.termTooltipKey | translate) : ''\"\r\n (click)=\"selectGlossary(collection)\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <div class=\"collection-label\">\r\n <span *ngIf=\"!collection.termTooltipKey\" class=\"text-m-semi-bold\" [matTooltip]=\"collection.name ?? ''\">\r\n {{ collection.name }}\r\n </span>\r\n\r\n <span *ngIf=\"collection.termTooltipKey\" class=\"text-m-semi-bold\">\r\n {{ collection.name }}\r\n </span>\r\n </div>\r\n \r\n <span *ngIf=\"collection.default\" class=\"default-badge\" >{{ localizationKey + \"DEFAULT\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"collection-languages\">\r\n <ng-container *ngIf=\"collection.termCollection; else currentDirection\">\r\n <span *ngFor=\"let lang of collection.termCollection.languages\">{{lang.id}}</span>\r\n </ng-container>\r\n\r\n <ng-template #currentDirection>\r\n <span>{{sourceLanguageCode}}</span>\r\n <span>{{targetLanguageCode}}</span>\r\n </ng-template>\r\n </div>\r\n \r\n <span *ngIf=\"collection.termCount\" class=\"collection-label-block text-s\">\r\n {{ localizationKey + \"TERMS_IN_USE\" | translate : { termCount: collection.termCount } }}\r\n </span>\r\n <span *ngIf=\"collection.lastUpdated\" class=\"collection-label-block text-s\">\r\n {{ localizationKey + \"LAST_UPDATED\" | translate : { date: collection.lastUpdated | dateAgo } }}\r\n </span>\r\n \r\n <div class=\"collection-label-block collection-status-labels text-s\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0.5rem\">\r\n <div *ngIf=\"collection.mtStatus && collection.mtStatus === collectionErrorStatus\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0.25rem\">\r\n <span color=\"accent\" class=\"material-icons collection-list-error\"> error </span>\r\n \r\n <span *ngIf=\"collection.mtCollection?.subStatus === collectionImportingErrorSubStatus\">\r\n {{ localizationKey + \"ERRORS.\" + (collection.mtCollection?.subStatus | uppercase) | translate }}\r\n </span>\r\n </div>\r\n \r\n <span *ngIf=\"collection.isImporting\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0.5rem\">\r\n <mat-spinner color=\"accent\" diameter=\"20\"> </mat-spinner>\r\n <span>\r\n {{ tooltipLocalizationKey + \"IMPORTING\" | translate }}\r\n </span>\r\n </span>\r\n \r\n <button *ngIf=\"collection.syncButtonVisible\" mat-button color=\"primary\" (click)=\"attach(collection); $event.stopPropagation()\" [matTooltip]=\"tooltipLocalizationKey + 'SYNC' | translate\">\r\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"text-s\">\r\n <mat-icon class=\"pt-1\">sync</mat-icon>\r\n {{ localizationKey + \"SYNC\" | translate }}\r\n </span>\r\n </button>\r\n </div>\r\n </mat-radio-button>\r\n\r\n <ng-container *ngIf=\"hasEditPermissions\">\r\n <a\r\n class=\"collection-list-edit\"\r\n mat-icon-button\r\n target=\"_blank\"\r\n [matTooltip]=\"tooltipLocalizationKey + 'EDIT' | translate\"\r\n [attr.href]=\"getEditLink(collection)\"\r\n *ngIf=\"collection.termCollection\"\r\n >\r\n <mat-icon class=\"material-icons material-icons-outlined\">edit</mat-icon>\r\n </a>\r\n </ng-container>\r\n </div>\r\n</ng-container>\r\n", styles: [".collection-languages{display:flex;gap:2px}.collection-languages span{font-size:12px;border-radius:100px;padding-right:8px;padding-left:8px;color:var(--base-40);background-color:var(--base-70)}\n"] }]
|
|
259
|
-
}], () => [{ type: i1.TerminologyService }, { type: i1.TerminologyCollectionService }], { collection: [{
|
|
260
|
-
type: Input
|
|
261
|
-
}], selected: [{
|
|
262
|
-
type: Input
|
|
263
|
-
}], localizationKey: [{
|
|
264
|
-
type: Input
|
|
265
|
-
}], tooltipLocalizationKey: [{
|
|
266
|
-
type: Input
|
|
267
|
-
}], sourceLanguageCode: [{
|
|
268
|
-
type: Input
|
|
269
|
-
}], engineId: [{
|
|
270
|
-
type: Input
|
|
271
|
-
}], targetLanguageCode: [{
|
|
272
|
-
type: Input
|
|
273
|
-
}], hasEditPermissions: [{
|
|
274
|
-
type: Input
|
|
275
|
-
}], glossarySelectEvent: [{
|
|
276
|
-
type: Output
|
|
277
|
-
}] }); })();
|
|
278
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyCollectionCardComponent, { className: "TerminologyCollectionCardComponent", filePath: "lib\\terminology\\components\\terminology-panel\\terminology-collection-list\\terminology-collection-card\\terminology-collection-card.component.ts", lineNumber: 11 }); })();
|
|
279
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVybWlub2xvZ3ktY29sbGVjdGlvbi1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1jb21tb24vc3JjL2xpYi90ZXJtaW5vbG9neS9jb21wb25lbnRzL3Rlcm1pbm9sb2d5LXBhbmVsL3Rlcm1pbm9sb2d5LWNvbGxlY3Rpb24tbGlzdC90ZXJtaW5vbG9neS1jb2xsZWN0aW9uLWNhcmQvdGVybWlub2xvZ3ktY29sbGVjdGlvbi1jYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1jb21tb24vc3JjL2xpYi90ZXJtaW5vbG9neS9jb21wb25lbnRzL3Rlcm1pbm9sb2d5LXBhbmVsL3Rlcm1pbm9sb2d5LWNvbGxlY3Rpb24tbGlzdC90ZXJtaW5vbG9neS1jb2xsZWN0aW9uLWNhcmQvdGVybWlub2xvZ3ktY29sbGVjdGlvbi1jYXJkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFdkUsT0FBTyxFQUFFLDZCQUE2QixFQUFFLGtCQUFrQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7Ozs7Ozs7Ozs7Ozs7OztJQ1U1RSxnQ0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lxyXG48L25nLWNvbnRhaW5lcj5cclxuIl19
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from "@angular/core";
|
|
2
|
-
import { Subject, takeUntil } from "rxjs";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../services";
|
|
5
|
-
import * as i2 from "../../../config/services";
|
|
6
|
-
import * as i3 from "@angular/common";
|
|
7
|
-
import * as i4 from "@ngbracket/ngx-layout/flex";
|
|
8
|
-
import * as i5 from "@angular/material/radio";
|
|
9
|
-
import * as i6 from "./terminology-collection-card/terminology-collection-card.component";
|
|
10
|
-
import * as i7 from "@ngx-translate/core";
|
|
11
|
-
import * as i8 from "../../../../pipes/language-translate/language-translate.pipe";
|
|
12
|
-
const _c0 = (a0, a1) => ({ srcLang: a0, trgLang: a1 });
|
|
13
|
-
function TerminologyCollectionListComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
-
i0.ɵɵelementContainerStart(0);
|
|
15
|
-
i0.ɵɵelementStart(1, "p", 4)(2, "span");
|
|
16
|
-
i0.ɵɵtext(3);
|
|
17
|
-
i0.ɵɵpipe(4, "translate");
|
|
18
|
-
i0.ɵɵelementEnd()();
|
|
19
|
-
i0.ɵɵelementContainerEnd();
|
|
20
|
-
} if (rf & 2) {
|
|
21
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
22
|
-
i0.ɵɵadvance(3);
|
|
23
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 1, ctx_r0.localizationKey + "DESCRIPTION"));
|
|
24
|
-
} }
|
|
25
|
-
function TerminologyCollectionListComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
-
i0.ɵɵelementContainerStart(0);
|
|
27
|
-
i0.ɵɵelementStart(1, "p", 5);
|
|
28
|
-
i0.ɵɵtext(2);
|
|
29
|
-
i0.ɵɵpipe(3, "translate");
|
|
30
|
-
i0.ɵɵelementEnd();
|
|
31
|
-
i0.ɵɵelement(4, "p", 6);
|
|
32
|
-
i0.ɵɵpipe(5, "languageTranslate");
|
|
33
|
-
i0.ɵɵpipe(6, "languageTranslate");
|
|
34
|
-
i0.ɵɵpipe(7, "translate");
|
|
35
|
-
i0.ɵɵelementContainerEnd();
|
|
36
|
-
} if (rf & 2) {
|
|
37
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
38
|
-
i0.ɵɵadvance(2);
|
|
39
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx_r0.localizationKey + "UNAVAILABLE_GLOSSARIES"), " ");
|
|
40
|
-
i0.ɵɵadvance(2);
|
|
41
|
-
i0.ɵɵproperty("innerHtml", i0.ɵɵpipeBind2(7, 8, ctx_r0.localizationKey + "DESCRIPTION_EMPTY", i0.ɵɵpureFunction2(11, _c0, i0.ɵɵpipeBind1(5, 4, ctx_r0.system.sourceLanguageCode), i0.ɵɵpipeBind1(6, 6, ctx_r0.system.targetLanguageCode))), i0.ɵɵsanitizeHtml);
|
|
42
|
-
} }
|
|
43
|
-
function TerminologyCollectionListComponent_div_7_div_8_lib_terminology_collection_card_1_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
45
|
-
i0.ɵɵelementStart(0, "lib-terminology-collection-card", 14);
|
|
46
|
-
i0.ɵɵlistener("glossarySelectEvent", function TerminologyCollectionListComponent_div_7_div_8_lib_terminology_collection_card_1_Template_lib_terminology_collection_card_glossarySelectEvent_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r0.selectGlossary($event)); });
|
|
47
|
-
i0.ɵɵelementEnd();
|
|
48
|
-
} if (rf & 2) {
|
|
49
|
-
const collection_r4 = i0.ɵɵnextContext().$implicit;
|
|
50
|
-
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
51
|
-
i0.ɵɵproperty("collection", collection_r4)("engineId", ctx_r0.system.systemId)("selected", ctx_r0.selectedCollection)("localizationKey", ctx_r0.localizationKey)("tooltipLocalizationKey", ctx_r0.tooltipLocalizationKey)("hasEditPermissions", ctx_r0.hasEditPermissions)("sourceLanguageCode", ctx_r0.system.sourceLanguageCode)("targetLanguageCode", ctx_r0.system.targetLanguageCode);
|
|
52
|
-
} }
|
|
53
|
-
function TerminologyCollectionListComponent_div_7_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
-
i0.ɵɵelementStart(0, "div", 12);
|
|
55
|
-
i0.ɵɵtemplate(1, TerminologyCollectionListComponent_div_7_div_8_lib_terminology_collection_card_1_Template, 1, 8, "lib-terminology-collection-card", 13);
|
|
56
|
-
i0.ɵɵelementEnd();
|
|
57
|
-
} if (rf & 2) {
|
|
58
|
-
const collection_r4 = ctx.$implicit;
|
|
59
|
-
i0.ɵɵadvance();
|
|
60
|
-
i0.ɵɵproperty("ngIf", collection_r4.status);
|
|
61
|
-
} }
|
|
62
|
-
function TerminologyCollectionListComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
|
64
|
-
i0.ɵɵelementStart(0, "div", 7)(1, "mat-radio-group");
|
|
65
|
-
i0.ɵɵpipe(2, "translate");
|
|
66
|
-
i0.ɵɵelementStart(3, "div", 8)(4, "mat-radio-button", 9);
|
|
67
|
-
i0.ɵɵlistener("click", function TerminologyCollectionListComponent_div_7_Template_mat_radio_button_click_4_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.selectGlossary(null)); });
|
|
68
|
-
i0.ɵɵelementStart(5, "span", 10);
|
|
69
|
-
i0.ɵɵtext(6);
|
|
70
|
-
i0.ɵɵpipe(7, "translate");
|
|
71
|
-
i0.ɵɵelementEnd()()();
|
|
72
|
-
i0.ɵɵtemplate(8, TerminologyCollectionListComponent_div_7_div_8_Template, 2, 1, "div", 11);
|
|
73
|
-
i0.ɵɵelementEnd()();
|
|
74
|
-
} if (rf & 2) {
|
|
75
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
76
|
-
i0.ɵɵadvance();
|
|
77
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 5, ctx_r0.localizationKey + "ARIA_LABELS.RADIO_GROUP"));
|
|
78
|
-
i0.ɵɵadvance(3);
|
|
79
|
-
i0.ɵɵclassProp("mat-mdc-radio-checked", !ctx_r0.selectedCollection);
|
|
80
|
-
i0.ɵɵadvance(2);
|
|
81
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 7, ctx_r0.localizationKey + "SELECTED_NONE"), " ");
|
|
82
|
-
i0.ɵɵadvance(2);
|
|
83
|
-
i0.ɵɵproperty("ngForOf", ctx_r0.collections);
|
|
84
|
-
} }
|
|
85
|
-
export class TerminologyCollectionListComponent {
|
|
86
|
-
get hasAnyCollections() {
|
|
87
|
-
return this.terminologyService.hasAnyCollections(this.system.systemId);
|
|
88
|
-
}
|
|
89
|
-
get hasEditPermissions() {
|
|
90
|
-
return this.terminologyService.hasEditPermissions;
|
|
91
|
-
}
|
|
92
|
-
constructor(terminologyService, config) {
|
|
93
|
-
this.terminologyService = terminologyService;
|
|
94
|
-
this.config = config;
|
|
95
|
-
this.glossarySelectEvent = new EventEmitter();
|
|
96
|
-
this.collections = [];
|
|
97
|
-
this.localizationKey = "TERM_COLLECTIONS.";
|
|
98
|
-
this.tooltipLocalizationKey = "TERM_COLLECTIONS.TOOLTIPS.";
|
|
99
|
-
this.destroy = new Subject();
|
|
100
|
-
this.collectionsSortFunction = (a, b) => {
|
|
101
|
-
const aName = a.name ?? "";
|
|
102
|
-
const bName = b.name ?? "";
|
|
103
|
-
return Number(a.default) - Number(b.default) || aName.localeCompare(bName);
|
|
104
|
-
};
|
|
105
|
-
this.appName = this.config.termConfig.appName;
|
|
106
|
-
}
|
|
107
|
-
ngOnInit() {
|
|
108
|
-
this.terminologyService.getCollections().pipe(takeUntil(this.destroy)).subscribe((data) => {
|
|
109
|
-
const collections = [];
|
|
110
|
-
if (data[this.system.systemId]?.collections) {
|
|
111
|
-
const srcKey = `"id":"${this.system.sourceLanguageCode}"`;
|
|
112
|
-
const trgKey = `"id":"${this.system.targetLanguageCode}"`;
|
|
113
|
-
data[this.system.systemId]?.collections.forEach((collection) => {
|
|
114
|
-
if (JSON.stringify(collection.termCollection?.languages ?? []).includes(srcKey && trgKey) || !collection.isTermPortalCollection || collection?.mtCollection) {
|
|
115
|
-
collections.push(collection);
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
this.collections = collections.sort(this.collectionsSortFunction);
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
selectGlossary(collection) {
|
|
123
|
-
this.glossarySelectEvent.emit(collection);
|
|
124
|
-
}
|
|
125
|
-
ngOnDestroy() {
|
|
126
|
-
this.destroy.next(null);
|
|
127
|
-
this.destroy.complete();
|
|
128
|
-
}
|
|
129
|
-
static { this.ɵfac = function TerminologyCollectionListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCollectionListComponent)(i0.ɵɵdirectiveInject(i1.TerminologyService), i0.ɵɵdirectiveInject(i2.TerminologyConfigService)); }; }
|
|
130
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyCollectionListComponent, selectors: [["lib-terminology-collection-list"]], inputs: { system: "system", selectedCollection: "selectedCollection" }, outputs: { glossarySelectEvent: "glossarySelectEvent" }, decls: 8, vars: 6, consts: [[1, "tld-collection-list-header"], [1, "term-window-title", "text-l-semi-bold"], [4, "ngIf"], ["class", "tld-collection-list-body", 4, "ngIf"], [1, "term-window-description", "text-s"], [1, "term-window-unavailable", "text-xl-semi-bold"], [1, "term-window-description", "text-m", 3, "innerHtml"], [1, "tld-collection-list-body"], ["fxLayout", "row", "fxLayoutAlign", "start center", 1, "none-option"], [3, "click"], [1, "text-m-semi-bold"], ["class", "collection", 4, "ngFor", "ngForOf"], [1, "collection"], ["class", "collection-card", 3, "collection", "engineId", "selected", "localizationKey", "tooltipLocalizationKey", "hasEditPermissions", "sourceLanguageCode", "targetLanguageCode", "glossarySelectEvent", 4, "ngIf"], [1, "collection-card", 3, "glossarySelectEvent", "collection", "engineId", "selected", "localizationKey", "tooltipLocalizationKey", "hasEditPermissions", "sourceLanguageCode", "targetLanguageCode"]], template: function TerminologyCollectionListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
131
|
-
i0.ɵɵelementStart(0, "header", 0)(1, "h1", 1)(2, "span");
|
|
132
|
-
i0.ɵɵtext(3);
|
|
133
|
-
i0.ɵɵpipe(4, "translate");
|
|
134
|
-
i0.ɵɵelementEnd()();
|
|
135
|
-
i0.ɵɵtemplate(5, TerminologyCollectionListComponent_ng_container_5_Template, 5, 3, "ng-container", 2)(6, TerminologyCollectionListComponent_ng_container_6_Template, 8, 14, "ng-container", 2);
|
|
136
|
-
i0.ɵɵelementEnd();
|
|
137
|
-
i0.ɵɵtemplate(7, TerminologyCollectionListComponent_div_7_Template, 9, 9, "div", 3);
|
|
138
|
-
} if (rf & 2) {
|
|
139
|
-
i0.ɵɵadvance(3);
|
|
140
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 4, ctx.localizationKey + "TITLE"));
|
|
141
|
-
i0.ɵɵadvance(2);
|
|
142
|
-
i0.ɵɵproperty("ngIf", ctx.hasAnyCollections);
|
|
143
|
-
i0.ɵɵadvance();
|
|
144
|
-
i0.ɵɵproperty("ngIf", !ctx.hasAnyCollections);
|
|
145
|
-
i0.ɵɵadvance();
|
|
146
|
-
i0.ɵɵproperty("ngIf", ctx.hasAnyCollections);
|
|
147
|
-
} }, dependencies: [i3.NgForOf, i3.NgIf, i4.DefaultLayoutDirective, i4.DefaultLayoutAlignDirective, i5.MatRadioGroup, i5.MatRadioButton, i6.TerminologyCollectionCardComponent, i7.TranslatePipe, i8.LanguageTranslatePipe], styles: ["[_nghost-%COMP%] .tld-collection-list-body, [_nghost-%COMP%] .tld-collection-list-header{padding:.5em .75em}[_nghost-%COMP%] .term-window-unavailable{font-style:italic}[_nghost-%COMP%] .term-window-unavailable, [_nghost-%COMP%] .term-window-description span{font-weight:500}[_nghost-%COMP%] .collection-label{max-width:280px;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .collection-label-block{display:block}[_nghost-%COMP%] .collection-status-labels .mat-icon, [_nghost-%COMP%] .collection-status-labels .material-icons{font-size:18px}[_nghost-%COMP%] .default-badge{background-color:#9aa5b1;color:var(--base-100);font-size:10px;border-radius:12px;padding:4px 8px;line-height:16px;display:inline-block;margin-left:5px}[_nghost-%COMP%] .mat-mdc-radio-button{overflow:hidden;padding:5px 0;place-content:start!important}[_nghost-%COMP%] .mat-mdc-radio-button .mat-radio-ripple{display:none}[_nghost-%COMP%] .mat-mdc-radio-button .mat-mdc-button{padding:0!important}[_nghost-%COMP%] .collection{min-height:70px}[_nghost-%COMP%] .collection-card{width:100%}[_nghost-%COMP%] .collection, [_nghost-%COMP%] .none-option{border-bottom:1px solid var(--base-70)}[_nghost-%COMP%] mat-spinner{display:inline-block}[_nghost-%COMP%] .mdc-radio__inner-circle{transform:scale(0)!important}[_nghost-%COMP%] .mdc-radio__outer-circle{border-color:inherit!important}[_nghost-%COMP%] .mat-mdc-radio-checked .mdc-radio__inner-circle{transform:scale(.5)!important}[_nghost-%COMP%] .mat-mdc-radio-checked .mdc-radio__outer-circle{border-color:var(--accent)!important}[_nghost-%COMP%] .mat-mdc-radio-checked .mdc-radio--disabled .mdc-radio__outer-circle{border-color:inherit!important}"] }); }
|
|
148
|
-
}
|
|
149
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCollectionListComponent, [{
|
|
150
|
-
type: Component,
|
|
151
|
-
args: [{ selector: "lib-terminology-collection-list", template: "<header class=\"tld-collection-list-header\">\r\n <h1 class=\"term-window-title text-l-semi-bold\">\r\n <span>{{ localizationKey + \"TITLE\" | translate }}</span>\r\n </h1>\r\n <ng-container *ngIf=\"hasAnyCollections\">\r\n <p class=\"term-window-description text-s\">\r\n <span>{{ localizationKey + \"DESCRIPTION\" | translate }}</span>\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!hasAnyCollections\">\r\n <p class=\"term-window-unavailable text-xl-semi-bold\">\r\n {{ localizationKey + \"UNAVAILABLE_GLOSSARIES\" | translate }}\r\n </p>\r\n\r\n <p [innerHtml]=\"localizationKey + 'DESCRIPTION_EMPTY' | translate : {\r\n srcLang: system.sourceLanguageCode | languageTranslate,\r\n trgLang: system.targetLanguageCode | languageTranslate\r\n }\" class=\"term-window-description text-m\"></p>\r\n </ng-container>\r\n</header>\r\n<div *ngIf=\"hasAnyCollections\" class=\"tld-collection-list-body\">\r\n <mat-radio-group [attr.aria-label]=\"localizationKey + 'ARIA_LABELS.RADIO_GROUP' | translate\">\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"none-option\">\r\n <mat-radio-button [class.mat-mdc-radio-checked]=\"!selectedCollection\" (click)=\"selectGlossary(null)\">\r\n <span class=\"text-m-semi-bold\">\r\n {{ localizationKey + \"SELECTED_NONE\" | translate }}\r\n </span>\r\n </mat-radio-button>\r\n </div>\r\n <div class=\"collection\" *ngFor=\"let collection of collections\">\r\n <lib-terminology-collection-card\r\n *ngIf=\"collection.status\"\r\n class=\"collection-card\"\r\n [collection]=\"collection\"\r\n [engineId]=\"system.systemId\"\r\n [selected]=\"selectedCollection\"\r\n [localizationKey]=\"localizationKey\"\r\n [tooltipLocalizationKey]=\"tooltipLocalizationKey\"\r\n [hasEditPermissions]=\"hasEditPermissions\"\r\n [sourceLanguageCode]=\"system.sourceLanguageCode\"\r\n [targetLanguageCode]=\"system.targetLanguageCode\"\r\n (glossarySelectEvent)=\"selectGlossary($event)\"\r\n ></lib-terminology-collection-card>\r\n </div>\r\n </mat-radio-group>\r\n</div>\r\n", styles: [":host ::ng-deep .tld-collection-list-body,:host ::ng-deep .tld-collection-list-header{padding:.5em .75em}:host ::ng-deep .term-window-unavailable{font-style:italic}:host ::ng-deep .term-window-unavailable,:host ::ng-deep .term-window-description span{font-weight:500}:host ::ng-deep .collection-label{max-width:280px;overflow:hidden;text-overflow:ellipsis}:host ::ng-deep .collection-label-block{display:block}:host ::ng-deep .collection-status-labels .mat-icon,:host ::ng-deep .collection-status-labels .material-icons{font-size:18px}:host ::ng-deep .default-badge{background-color:#9aa5b1;color:var(--base-100);font-size:10px;border-radius:12px;padding:4px 8px;line-height:16px;display:inline-block;margin-left:5px}:host ::ng-deep .mat-mdc-radio-button{overflow:hidden;padding:5px 0;place-content:start!important}:host ::ng-deep .mat-mdc-radio-button .mat-radio-ripple{display:none}:host ::ng-deep .mat-mdc-radio-button .mat-mdc-button{padding:0!important}:host ::ng-deep .collection{min-height:70px}:host ::ng-deep .collection-card{width:100%}:host ::ng-deep .collection,:host ::ng-deep .none-option{border-bottom:1px solid var(--base-70)}:host ::ng-deep mat-spinner{display:inline-block}:host ::ng-deep .mdc-radio__inner-circle{transform:scale(0)!important}:host ::ng-deep .mdc-radio__outer-circle{border-color:inherit!important}:host ::ng-deep .mat-mdc-radio-checked .mdc-radio__inner-circle{transform:scale(.5)!important}:host ::ng-deep .mat-mdc-radio-checked .mdc-radio__outer-circle{border-color:var(--accent)!important}:host ::ng-deep .mat-mdc-radio-checked .mdc-radio--disabled .mdc-radio__outer-circle{border-color:inherit!important}\n"] }]
|
|
152
|
-
}], () => [{ type: i1.TerminologyService }, { type: i2.TerminologyConfigService }], { system: [{
|
|
153
|
-
type: Input,
|
|
154
|
-
args: [{ required: true }]
|
|
155
|
-
}], selectedCollection: [{
|
|
156
|
-
type: Input
|
|
157
|
-
}], glossarySelectEvent: [{
|
|
158
|
-
type: Output
|
|
159
|
-
}] }); })();
|
|
160
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyCollectionListComponent, { className: "TerminologyCollectionListComponent", filePath: "lib\\terminology\\components\\terminology-panel\\terminology-collection-list\\terminology-collection-list.component.ts", lineNumber: 12 }); })();
|
|
161
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVybWlub2xvZ3ktY29sbGVjdGlvbi1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1jb21tb24vc3JjL2xpYi90ZXJtaW5vbG9neS9jb21wb25lbnRzL3Rlcm1pbm9sb2d5LXBhbmVsL3Rlcm1pbm9sb2d5LWNvbGxlY3Rpb24tbGlzdC90ZXJtaW5vbG9neS1jb2xsZWN0aW9uLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNvbW1vbi9zcmMvbGliL3Rlcm1pbm9sb2d5L2NvbXBvbmVudHMvdGVybWlub2xvZ3ktcGFuZWwvdGVybWlub2xvZ3ktY29sbGVjdGlvbi1saXN0L3Rlcm1pbm9sb2d5LWNvbGxlY3Rpb24tbGlzdC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQXFCLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUcxRixPQUFPLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7Ozs7Ozs7Ozs7O0lDQ3hDLDZCQUF3QztJQUVwQyxBQURGLDRCQUEwQyxXQUNsQztJQUFBLFlBQWlEOztJQUN6RCxBQUR5RCxpQkFBTyxFQUM1RDs7OztJQURJLGVBQWlEO0lBQWpELGtGQUFpRDs7O0lBRzNELDZCQUF5QztJQUN2Qyw0QkFBcUQ7SUFDbkQsWUFDRj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