@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,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, EventEmitter, Component,
|
|
2
|
+
import { Injectable, EventEmitter, Component, Input, ViewChild, Output, NgModule, Optional, Inject, Pipe, inject, Directive, HostListener, HostBinding, ViewChildren, input, effect, ElementRef, ContentChild, ContentChildren, InjectionToken, signal, output, computed } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/material/icon';
|
|
4
4
|
import { MatIconModule, MatIcon } from '@angular/material/icon';
|
|
5
5
|
import * as i2 from '@angular/platform-browser';
|
|
@@ -22,7 +22,7 @@ import * as i1$3 from '@angular/common/http';
|
|
|
22
22
|
import { HttpErrorResponse, provideHttpClient, withInterceptorsFromDi, HttpClient } from '@angular/common/http';
|
|
23
23
|
import * as i15 from '@angular/material/paginator';
|
|
24
24
|
import { MatPaginatorIntl, MatPaginator, MatPaginatorModule } from '@angular/material/paginator';
|
|
25
|
-
import * as
|
|
25
|
+
import * as i2$5 from '@angular/material/progress-spinner';
|
|
26
26
|
import { MatProgressSpinner, MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
27
27
|
import * as i1$4 from '@angular/material/dialog';
|
|
28
28
|
import { MAT_DIALOG_DATA, MatDialogModule, MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
@@ -32,20 +32,18 @@ import * as i4$1 from '@angular/forms';
|
|
|
32
32
|
import { FormGroup, FormControl, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
33
33
|
import * as i4 from '@angular/material/select';
|
|
34
34
|
import { MatSelectModule } from '@angular/material/select';
|
|
35
|
-
import * as i5 from '@angular/material/core';
|
|
36
35
|
import * as i9 from '@angular/material/input';
|
|
37
36
|
import { MatInputModule } from '@angular/material/input';
|
|
38
|
-
import * as i10 from '@angular/material/form-field';
|
|
39
37
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
40
38
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
41
39
|
import { MatSort, MatSortModule } from '@angular/material/sort';
|
|
42
40
|
import * as i4$2 from '@angular/material/table';
|
|
43
|
-
import { MatTableDataSource, MatNoDataRow, MatHeaderRowDef, MatRowDef, MatColumnDef,
|
|
41
|
+
import { MatTableDataSource, MatTable, MatNoDataRow, MatHeaderRowDef, MatRowDef, MatColumnDef, MatTableModule } from '@angular/material/table';
|
|
44
42
|
import * as i6$1 from '@angular/material/menu';
|
|
45
43
|
import { MatMenuModule } from '@angular/material/menu';
|
|
46
44
|
import * as i7 from '@angular/material/checkbox';
|
|
47
45
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
48
|
-
import * as i5
|
|
46
|
+
import * as i5 from '@angular/material/radio';
|
|
49
47
|
import { MatRadioModule } from '@angular/material/radio';
|
|
50
48
|
import * as i1$5 from '@tilde-nlp/ngx-services';
|
|
51
49
|
import { QuotaType, LLMRephraseUseCase, LLMSummaryUseCase } from '@tilde-nlp/ngx-services';
|
|
@@ -119,7 +117,7 @@ class CloseButtonComponent {
|
|
|
119
117
|
} if (rf & 2) {
|
|
120
118
|
let _t;
|
|
121
119
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearButton = _t.first);
|
|
122
|
-
} }, inputs: { ariaCode: "ariaCode", disabled: "disabled", tooltip: "tooltip" }, outputs: { tldClick: "tldClick" }, decls: 6, vars: 7, consts: [["clearButton", ""], ["mat-icon-button", "", 3, "click", "matTooltip", "disabled"], [1, "material-icons"]], template: function CloseButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
120
|
+
} }, inputs: { ariaCode: "ariaCode", disabled: "disabled", tooltip: "tooltip" }, outputs: { tldClick: "tldClick" }, standalone: false, decls: 6, vars: 7, consts: [["clearButton", ""], ["mat-icon-button", "", 3, "click", "matTooltip", "disabled"], [1, "material-icons"]], template: function CloseButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
123
121
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
124
122
|
i0.ɵɵelementStart(0, "button", 1, 0);
|
|
125
123
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -135,7 +133,7 @@ class CloseButtonComponent {
|
|
|
135
133
|
}
|
|
136
134
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CloseButtonComponent, [{
|
|
137
135
|
type: Component,
|
|
138
|
-
args: [{ selector: 'tld-close-button', template: "<button [matTooltip]=\"tooltip | translate\"\r\n#clearButton mat-icon-button (click)=\"clicked()\" [attr.aria-label]=\"'ARIA_LABELS.'+ariaCode | translate\"\r\n [disabled]=\"disabled\">\r\n <span class=\"material-icons\">\r\n close\r\n </span>\r\n</button>" }]
|
|
136
|
+
args: [{ selector: 'tld-close-button', standalone: false, template: "<button [matTooltip]=\"tooltip | translate\"\r\n#clearButton mat-icon-button (click)=\"clicked()\" [attr.aria-label]=\"'ARIA_LABELS.'+ariaCode | translate\"\r\n [disabled]=\"disabled\">\r\n <span class=\"material-icons\">\r\n close\r\n </span>\r\n</button>" }]
|
|
139
137
|
}], null, { tldClick: [{
|
|
140
138
|
type: Output
|
|
141
139
|
}], ariaCode: [{
|
|
@@ -148,7 +146,7 @@ class CloseButtonComponent {
|
|
|
148
146
|
}], tooltip: [{
|
|
149
147
|
type: Input
|
|
150
148
|
}] }); })();
|
|
151
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CloseButtonComponent, { className: "CloseButtonComponent", filePath: "lib
|
|
149
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CloseButtonComponent, { className: "CloseButtonComponent", filePath: "lib/close-button/close-button.component.ts", lineNumber: 10 }); })();
|
|
152
150
|
|
|
153
151
|
class CloseButtonModule {
|
|
154
152
|
static { this.ɵfac = function CloseButtonModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CloseButtonModule)(); }; }
|
|
@@ -318,7 +316,7 @@ class NotificationMessageComponent {
|
|
|
318
316
|
this.linkClicked.next(null);
|
|
319
317
|
}
|
|
320
318
|
static { this.ɵfac = function NotificationMessageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NotificationMessageComponent)(); }; }
|
|
321
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NotificationMessageComponent, selectors: [["lib-tld-notification-message"]], inputs: { message: "message", inline: "inline" }, outputs: { buttonClicked: "buttonClicked", closeClicked: "closeClicked", linkClicked: "linkClicked" }, decls: 12, vars: 13, consts: [["fxLayout", "row", "fxLayoutAlign", "start start", "aria-live", "polite", "fxLayout", "row", 1, "notification-message-container", "tld-default-border", 3, "ngClass.lt-md"], [1, "material-icons-outlined", "message-icon"], ["fxFlex", "", 1, "items-container"], ["fxLayout", "row"], ["fxFlex", "", 1, "text-container"], ["class", "message-title", 3, "innerHtml", 4, "ngIf"], ["class", "message-body", 4, "ngIf"], ["color", "accent", "mat-stroked-button", "", "class", "callback-button", 3, "click", 4, "ngIf"], ["class", "close-button", 3, "no-top-margin", "tldClick", 4, "ngIf"], ["fxLayout", "row", "fxLayoutGap", "16px", "fxLayoutAlign", "start center", 4, "ngIf"], [1, "message-title", 3, "innerHtml"], [1, "message-body"], [3, "innerHtml"], [3, "innerHtml", 4, "ngIf"], ["color", "accent", "mat-stroked-button", "", 1, "callback-button", 3, "click"], [4, "ngIf"], [1, "close-button", 3, "tldClick"], ["fxLayout", "row", "fxLayoutGap", "16px", "fxLayoutAlign", "start center"], ["class", "message-action-button", "color", "accent", "mat-flat-button", "", 3, "click", 4, "ngIf"], ["class", "message-action-link", 3, "click", 4, "ngIf"], ["class", "message-action-link", 3, "routerLink", "click", 4, "ngIf"], ["color", "accent", "mat-flat-button", "", 1, "message-action-button", 3, "click"], [1, "message-action-link", 3, "click"], [1, "message-action-link", 3, "click", "routerLink"]], template: function NotificationMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
319
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NotificationMessageComponent, selectors: [["lib-tld-notification-message"]], inputs: { message: "message", inline: "inline" }, outputs: { buttonClicked: "buttonClicked", closeClicked: "closeClicked", linkClicked: "linkClicked" }, standalone: false, decls: 12, vars: 13, consts: [["fxLayout", "row", "fxLayoutAlign", "start start", "aria-live", "polite", "fxLayout", "row", 1, "notification-message-container", "tld-default-border", 3, "ngClass.lt-md"], [1, "material-icons-outlined", "message-icon"], ["fxFlex", "", 1, "items-container"], ["fxLayout", "row"], ["fxFlex", "", 1, "text-container"], ["class", "message-title", 3, "innerHtml", 4, "ngIf"], ["class", "message-body", 4, "ngIf"], ["color", "accent", "mat-stroked-button", "", "class", "callback-button", 3, "click", 4, "ngIf"], ["class", "close-button", 3, "no-top-margin", "tldClick", 4, "ngIf"], ["fxLayout", "row", "fxLayoutGap", "16px", "fxLayoutAlign", "start center", 4, "ngIf"], [1, "message-title", 3, "innerHtml"], [1, "message-body"], [3, "innerHtml"], [3, "innerHtml", 4, "ngIf"], ["color", "accent", "mat-stroked-button", "", 1, "callback-button", 3, "click"], [4, "ngIf"], [1, "close-button", 3, "tldClick"], ["fxLayout", "row", "fxLayoutGap", "16px", "fxLayoutAlign", "start center"], ["class", "message-action-button", "color", "accent", "mat-flat-button", "", 3, "click", 4, "ngIf"], ["class", "message-action-link", 3, "click", 4, "ngIf"], ["class", "message-action-link", 3, "routerLink", "click", 4, "ngIf"], ["color", "accent", "mat-flat-button", "", 1, "message-action-button", 3, "click"], [1, "message-action-link", 3, "click"], [1, "message-action-link", 3, "click", "routerLink"]], template: function NotificationMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
322
320
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "span", 1);
|
|
323
321
|
i0.ɵɵtext(3);
|
|
324
322
|
i0.ɵɵelementEnd();
|
|
@@ -330,7 +328,7 @@ class NotificationMessageComponent {
|
|
|
330
328
|
i0.ɵɵtemplate(11, NotificationMessageComponent_div_11_Template, 4, 3, "div", 9);
|
|
331
329
|
i0.ɵɵelementEnd()()();
|
|
332
330
|
} if (rf & 2) {
|
|
333
|
-
i0.ɵɵ
|
|
331
|
+
i0.ɵɵclassMap(i0.ɵɵinterpolate1("notification-message ", ctx.className));
|
|
334
332
|
i0.ɵɵadvance();
|
|
335
333
|
i0.ɵɵclassProp("inline", ctx.inline);
|
|
336
334
|
i0.ɵɵproperty("ngClass.lt-md", "mobile");
|
|
@@ -347,11 +345,11 @@ class NotificationMessageComponent {
|
|
|
347
345
|
i0.ɵɵproperty("ngIf", !ctx.message.hideClose && !ctx.message.callbackButtonText);
|
|
348
346
|
i0.ɵɵadvance();
|
|
349
347
|
i0.ɵɵproperty("ngIf", ctx.message.buttonText || ctx.message.linkHref || ctx.message.routerLink);
|
|
350
|
-
} }, dependencies: [i1$2.NgIf, i2$3.DefaultLayoutDirective, i2$3.DefaultLayoutGapDirective, i2$3.DefaultLayoutAlignDirective, i2$3.DefaultFlexDirective, i3.DefaultClassDirective, CloseButtonComponent, i2$1.MatButton, i6.RouterLink, i1.MatIcon, i1$1.TranslatePipe], styles: ["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em!important;right:.2em!important}.no-top-margin[_ngcontent-%COMP%]{top:0}.text-container[_ngcontent-%COMP%]{margin-right:45px}.notification-message[_ngcontent-%COMP%]{position:relative}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--base-100)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--base-40)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--info-light)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--info-primary)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--error-light)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--warning-light)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--warning-dark)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--success-light)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{border-radius:4px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:has(.message-title
|
|
348
|
+
} }, dependencies: [i1$2.NgIf, i2$3.DefaultLayoutDirective, i2$3.DefaultLayoutGapDirective, i2$3.DefaultLayoutAlignDirective, i2$3.DefaultFlexDirective, i3.DefaultClassDirective, CloseButtonComponent, i2$1.MatButton, i6.RouterLink, i1.MatIcon, i1$1.TranslatePipe], styles: ["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em!important;right:.2em!important}.no-top-margin[_ngcontent-%COMP%]{top:0}.text-container[_ngcontent-%COMP%]{margin-right:45px}.notification-message[_ngcontent-%COMP%]{position:relative}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--base-100)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--base-40)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--info-light)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--info-primary)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--error-light)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--warning-light)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--warning-dark)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--success-light)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{border-radius:4px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:has(.message-title+.message-body) .message-title[_ngcontent-%COMP%]{font-weight:600}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%]{padding:.6em .4em!important;border-radius:0}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.4em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.2em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:0!important}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:first-child{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{margin:0;font-size:16px;line-height:24px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]{margin:0}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline){padding:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%]{margin-left:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-title[_ngcontent-%COMP%]{font-size:1.25em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-body[_ngcontent-%COMP%]{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%]{padding:.75em 1em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.75em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:.2em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-size:1em}"] }); }
|
|
351
349
|
}
|
|
352
350
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationMessageComponent, [{
|
|
353
351
|
type: Component,
|
|
354
|
-
args: [{ selector: 'lib-tld-notification-message', template: "<div class=\"notification-message {{className}}\">\r\n <div class=\"notification-message-container tld-default-border\" [ngClass.lt-md]=\"'mobile'\" [class.inline]=\"inline\"\r\n fxLayout=\"row\" fxLayoutAlign=\"start start\" [attr.id]=\"message.id\" aria-live=\"polite\" fxLayout=\"row\">\r\n <span class=\"material-icons-outlined message-icon\">\r\n {{iconNames[message.type]}}\r\n </span>\r\n <div class=\"items-container\" fxFlex>\r\n <div fxLayout=\"row\">\r\n <div class=\"text-container\" fxFlex>\r\n <p *ngIf=\"message.title\" class=\"message-title\"\r\n [innerHtml]=\"message.title | translate: message.localizationParams\"></p>\r\n <p *ngIf=\"message.body\" class=\"message-body\">\r\n <span [innerHtml]=\"message.body | translate: message.localizationParams\"></span>\r\n <span *ngIf=\"message.support\" [innerHtml]=\"message.support | translate: message.localizationParams\"></span>\r\n </p>\r\n </div>\r\n <button\r\n *ngIf=\"message.callbackButtonText\"\r\n color=\"accent\"\r\n mat-stroked-button\r\n class=\"callback-button\"\r\n (click)=\"message?.callbackButtonClick()\"\r\n >\r\n <mat-icon *ngIf=\"message.callbackButtonIcon\">{{message.callbackButtonIcon}}</mat-icon>\r\n {{ message.callbackButtonText | translate }}\r\n </button>\r\n <tld-close-button *ngIf=\"!message.hideClose && !message.callbackButtonText\" class=\"close-button\" [class.no-top-margin]=\"!message.title || !message.body\" (tldClick)=\"closeClick()\">\r\n </tld-close-button>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutGap=\"16px\" fxLayoutAlign=\"start center\"\r\n *ngIf=\"message.buttonText || message.linkHref || message.routerLink\">\r\n <button class=\"message-action-button\" color=\"accent\" mat-flat-button *ngIf=\"message.buttonText\"\r\n (click)=\"buttonClick()\">{{message.buttonText | translate}} </button>\r\n <a class=\"message-action-link\" *ngIf=\"message.linkHref && message.linkText\" (click)=\"linkClick()\"\r\n [attr.href]=\"message.linkHref\">{{message.linkText |\r\n translate}}</a>\r\n <a class=\"message-action-link\" *ngIf=\"message.routerLink && message.linkText\" (click)=\"linkClick()\"\r\n [routerLink]=\"[message.routerLink]\">{{message.linkText |\r\n translate}}</a>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":host{display:inline-block;width:100%}.close-button{position:absolute;top:.2em!important;right:.2em!important}.no-top-margin{top:0}.text-container{margin-right:45px}.notification-message{position:relative}.notification-message.basic .notification-message-container{background-color:var(--base-100)}.notification-message.basic .notification-message-container .close-button,.notification-message.basic .notification-message-container .message-icon{color:var(--base-40)}.notification-message.basic .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.info .notification-message-container{background-color:var(--info-light)}.notification-message.info .notification-message-container .text-container{color:var(--info-dark)}.notification-message.info .notification-message-container .message-icon{color:var(--info-primary)}.notification-message.info .notification-message-container .close-button{color:var(--info-dark)}.notification-message.info .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.error .notification-message-container{background-color:var(--error-light)}.notification-message.error .notification-message-container .close-button,.notification-message.error .notification-message-container .text-container,.notification-message.error .notification-message-container .message-icon{color:var(--error-dark)}.notification-message.error .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.warning .notification-message-container{background-color:var(--warning-light)}.notification-message.warning .notification-message-container .close-button,.notification-message.warning .notification-message-container .text-container,.notification-message.warning .notification-message-container .message-icon{color:var(--warning-dark)}.notification-message.warning .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.success .notification-message-container{background-color:var(--success-light)}.notification-message.success .notification-message-container .close-button,.notification-message.success .notification-message-container .text-container,.notification-message.success .notification-message-container .message-icon{color:var(--success-dark)}.notification-message.success .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message .notification-message-container{border-radius:4px}.notification-message .notification-message-container .text-container:has(.message-title+.message-body) .message-title{font-weight:600}.notification-message .notification-message-container.mobile{padding:.6em .4em!important;border-radius:0}.notification-message .notification-message-container.mobile .items-container{margin-left:.4em!important}.notification-message .notification-message-container.mobile .items-container div+div{margin-top:.2em!important}.notification-message .notification-message-container.mobile .items-container .message-title+.message-body{margin-top:0!important}.notification-message .notification-message-container .text-container:first-child{line-height:1.5em}.notification-message .notification-message-container .text-container .message-title{margin:0;font-size:16px;line-height:24px}.notification-message .notification-message-container .text-container .message-body{margin:0}.notification-message .notification-message-container:not(.inline){padding:1em}.notification-message .notification-message-container:not(.inline) .items-container{margin-left:1em}.notification-message .notification-message-container:not(.inline) .message-title{font-size:1.25em}.notification-message .notification-message-container:not(.inline) .message-body{line-height:1.5em}.notification-message .notification-message-container.inline{padding:.75em 1em}.notification-message .notification-message-container.inline .items-container{margin-left:.75em}.notification-message .notification-message-container.inline .items-container div+div{margin-top:.5em}.notification-message .notification-message-container.inline .items-container .message-title+.message-body{margin-top:.2em}.notification-message .notification-message-container.inline .message-title{font-size:1em}\n"] }]
|
|
352
|
+
args: [{ selector: 'lib-tld-notification-message', standalone: false, template: "<div class=\"notification-message {{className}}\">\r\n <div class=\"notification-message-container tld-default-border\" [ngClass.lt-md]=\"'mobile'\" [class.inline]=\"inline\"\r\n fxLayout=\"row\" fxLayoutAlign=\"start start\" [attr.id]=\"message.id\" aria-live=\"polite\" fxLayout=\"row\">\r\n <span class=\"material-icons-outlined message-icon\">\r\n {{iconNames[message.type]}}\r\n </span>\r\n <div class=\"items-container\" fxFlex>\r\n <div fxLayout=\"row\">\r\n <div class=\"text-container\" fxFlex>\r\n <p *ngIf=\"message.title\" class=\"message-title\"\r\n [innerHtml]=\"message.title | translate: message.localizationParams\"></p>\r\n <p *ngIf=\"message.body\" class=\"message-body\">\r\n <span [innerHtml]=\"message.body | translate: message.localizationParams\"></span>\r\n <span *ngIf=\"message.support\" [innerHtml]=\"message.support | translate: message.localizationParams\"></span>\r\n </p>\r\n </div>\r\n <button\r\n *ngIf=\"message.callbackButtonText\"\r\n color=\"accent\"\r\n mat-stroked-button\r\n class=\"callback-button\"\r\n (click)=\"message?.callbackButtonClick()\"\r\n >\r\n <mat-icon *ngIf=\"message.callbackButtonIcon\">{{message.callbackButtonIcon}}</mat-icon>\r\n {{ message.callbackButtonText | translate }}\r\n </button>\r\n <tld-close-button *ngIf=\"!message.hideClose && !message.callbackButtonText\" class=\"close-button\" [class.no-top-margin]=\"!message.title || !message.body\" (tldClick)=\"closeClick()\">\r\n </tld-close-button>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutGap=\"16px\" fxLayoutAlign=\"start center\"\r\n *ngIf=\"message.buttonText || message.linkHref || message.routerLink\">\r\n <button class=\"message-action-button\" color=\"accent\" mat-flat-button *ngIf=\"message.buttonText\"\r\n (click)=\"buttonClick()\">{{message.buttonText | translate}} </button>\r\n <a class=\"message-action-link\" *ngIf=\"message.linkHref && message.linkText\" (click)=\"linkClick()\"\r\n [attr.href]=\"message.linkHref\">{{message.linkText |\r\n translate}}</a>\r\n <a class=\"message-action-link\" *ngIf=\"message.routerLink && message.linkText\" (click)=\"linkClick()\"\r\n [routerLink]=\"[message.routerLink]\">{{message.linkText |\r\n translate}}</a>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [":host{display:inline-block;width:100%}.close-button{position:absolute;top:.2em!important;right:.2em!important}.no-top-margin{top:0}.text-container{margin-right:45px}.notification-message{position:relative}.notification-message.basic .notification-message-container{background-color:var(--base-100)}.notification-message.basic .notification-message-container .close-button,.notification-message.basic .notification-message-container .message-icon{color:var(--base-40)}.notification-message.basic .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.info .notification-message-container{background-color:var(--info-light)}.notification-message.info .notification-message-container .text-container{color:var(--info-dark)}.notification-message.info .notification-message-container .message-icon{color:var(--info-primary)}.notification-message.info .notification-message-container .close-button{color:var(--info-dark)}.notification-message.info .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.error .notification-message-container{background-color:var(--error-light)}.notification-message.error .notification-message-container .close-button,.notification-message.error .notification-message-container .text-container,.notification-message.error .notification-message-container .message-icon{color:var(--error-dark)}.notification-message.error .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.warning .notification-message-container{background-color:var(--warning-light)}.notification-message.warning .notification-message-container .close-button,.notification-message.warning .notification-message-container .text-container,.notification-message.warning .notification-message-container .message-icon{color:var(--warning-dark)}.notification-message.warning .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message.success .notification-message-container{background-color:var(--success-light)}.notification-message.success .notification-message-container .close-button,.notification-message.success .notification-message-container .text-container,.notification-message.success .notification-message-container .message-icon{color:var(--success-dark)}.notification-message.success .notification-message-container .message-action-button{background-color:var(--base-40)}.notification-message .notification-message-container{border-radius:4px}.notification-message .notification-message-container .text-container:has(.message-title+.message-body) .message-title{font-weight:600}.notification-message .notification-message-container.mobile{padding:.6em .4em!important;border-radius:0}.notification-message .notification-message-container.mobile .items-container{margin-left:.4em!important}.notification-message .notification-message-container.mobile .items-container div+div{margin-top:.2em!important}.notification-message .notification-message-container.mobile .items-container .message-title+.message-body{margin-top:0!important}.notification-message .notification-message-container .text-container:first-child{line-height:1.5em}.notification-message .notification-message-container .text-container .message-title{margin:0;font-size:16px;line-height:24px}.notification-message .notification-message-container .text-container .message-body{margin:0}.notification-message .notification-message-container:not(.inline){padding:1em}.notification-message .notification-message-container:not(.inline) .items-container{margin-left:1em}.notification-message .notification-message-container:not(.inline) .message-title{font-size:1.25em}.notification-message .notification-message-container:not(.inline) .message-body{line-height:1.5em}.notification-message .notification-message-container.inline{padding:.75em 1em}.notification-message .notification-message-container.inline .items-container{margin-left:.75em}.notification-message .notification-message-container.inline .items-container div+div{margin-top:.5em}.notification-message .notification-message-container.inline .items-container .message-title+.message-body{margin-top:.2em}.notification-message .notification-message-container.inline .message-title{font-size:1em}\n"] }]
|
|
355
353
|
}], null, { message: [{
|
|
356
354
|
type: Input
|
|
357
355
|
}], buttonClicked: [{
|
|
@@ -363,7 +361,7 @@ class NotificationMessageComponent {
|
|
|
363
361
|
}], inline: [{
|
|
364
362
|
type: Input
|
|
365
363
|
}] }); })();
|
|
366
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationMessageComponent, { className: "NotificationMessageComponent", filePath: "lib
|
|
364
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationMessageComponent, { className: "NotificationMessageComponent", filePath: "lib/notification-message/notification-message.component.ts", lineNumber: 11 }); })();
|
|
367
365
|
|
|
368
366
|
class NotificationMessageModule {
|
|
369
367
|
static { this.ɵfac = function NotificationMessageModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NotificationMessageModule)(); }; }
|
|
@@ -827,7 +825,7 @@ class FileSizeLabelPipe {
|
|
|
827
825
|
return getFileSizeLabel(value, decimalPlaces, unit);
|
|
828
826
|
}
|
|
829
827
|
static { this.ɵfac = function FileSizeLabelPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileSizeLabelPipe)(); }; }
|
|
830
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "fileSizeLabel", type: FileSizeLabelPipe, pure: true
|
|
828
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "fileSizeLabel", type: FileSizeLabelPipe, pure: true }); }
|
|
831
829
|
}
|
|
832
830
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileSizeLabelPipe, [{
|
|
833
831
|
type: Pipe,
|
|
@@ -1155,12 +1153,13 @@ class FilterWithHighlightPipe {
|
|
|
1155
1153
|
return filteredArr;
|
|
1156
1154
|
}
|
|
1157
1155
|
static { this.ɵfac = function FilterWithHighlightPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FilterWithHighlightPipe)(); }; }
|
|
1158
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filterWithHighlight", type: FilterWithHighlightPipe, pure: true }); }
|
|
1156
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filterWithHighlight", type: FilterWithHighlightPipe, pure: true, standalone: false }); }
|
|
1159
1157
|
}
|
|
1160
1158
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterWithHighlightPipe, [{
|
|
1161
1159
|
type: Pipe,
|
|
1162
1160
|
args: [{
|
|
1163
|
-
name: 'filterWithHighlight'
|
|
1161
|
+
name: 'filterWithHighlight',
|
|
1162
|
+
standalone: false
|
|
1164
1163
|
}]
|
|
1165
1164
|
}], null, null); })();
|
|
1166
1165
|
|
|
@@ -1232,12 +1231,13 @@ class SortTranslationsPipe {
|
|
|
1232
1231
|
});
|
|
1233
1232
|
}
|
|
1234
1233
|
static { this.ɵfac = function SortTranslationsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsPipe)(i0.ɵɵdirectiveInject(i1$1.TranslateService, 16)); }; }
|
|
1235
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortTranslations", type: SortTranslationsPipe, pure: true }); }
|
|
1234
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortTranslations", type: SortTranslationsPipe, pure: true, standalone: false }); }
|
|
1236
1235
|
}
|
|
1237
1236
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortTranslationsPipe, [{
|
|
1238
1237
|
type: Pipe,
|
|
1239
1238
|
args: [{
|
|
1240
|
-
name: 'sortTranslations'
|
|
1239
|
+
name: 'sortTranslations',
|
|
1240
|
+
standalone: false
|
|
1241
1241
|
}]
|
|
1242
1242
|
}], () => [{ type: i1$1.TranslateService }], null); })();
|
|
1243
1243
|
|
|
@@ -1291,12 +1291,13 @@ class SortTranslationsByPropertyPipe {
|
|
|
1291
1291
|
return values;
|
|
1292
1292
|
}
|
|
1293
1293
|
static { this.ɵfac = function SortTranslationsByPropertyPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsByPropertyPipe)(i0.ɵɵdirectiveInject(i1$1.TranslateService, 16)); }; }
|
|
1294
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortTranslationsByProperty", type: SortTranslationsByPropertyPipe, pure: true }); }
|
|
1294
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortTranslationsByProperty", type: SortTranslationsByPropertyPipe, pure: true, standalone: false }); }
|
|
1295
1295
|
}
|
|
1296
1296
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortTranslationsByPropertyPipe, [{
|
|
1297
1297
|
type: Pipe,
|
|
1298
1298
|
args: [{
|
|
1299
1299
|
name: 'sortTranslationsByProperty',
|
|
1300
|
+
standalone: false
|
|
1300
1301
|
}]
|
|
1301
1302
|
}], () => [{ type: i1$1.TranslateService }], null); })();
|
|
1302
1303
|
|
|
@@ -1427,7 +1428,7 @@ class LanguageTranslatePipe {
|
|
|
1427
1428
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
1428
1429
|
}
|
|
1429
1430
|
static { this.ɵfac = function LanguageTranslatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslatePipe)(i0.ɵɵdirectiveInject(i1$1.TranslateService, 16)); }; }
|
|
1430
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "languageTranslate", type: LanguageTranslatePipe, pure: false
|
|
1431
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "languageTranslate", type: LanguageTranslatePipe, pure: false }); }
|
|
1431
1432
|
}
|
|
1432
1433
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageTranslatePipe, [{
|
|
1433
1434
|
type: Pipe,
|
|
@@ -1521,7 +1522,7 @@ class DateAgoPipe {
|
|
|
1521
1522
|
if (!dateAgo) {
|
|
1522
1523
|
return "";
|
|
1523
1524
|
}
|
|
1524
|
-
const translatePipe = new TranslatePipe(
|
|
1525
|
+
const translatePipe = new TranslatePipe();
|
|
1525
1526
|
return translatePipe.transform(`${this.localizationPrefix}.${dateAgo.key}`, { value: dateAgo.howMany });
|
|
1526
1527
|
}
|
|
1527
1528
|
calculateDateAgo(value, enableMultiplePostfix) {
|
|
@@ -1549,13 +1550,14 @@ class DateAgoPipe {
|
|
|
1549
1550
|
return null;
|
|
1550
1551
|
}
|
|
1551
1552
|
static { this.ɵfac = function DateAgoPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateAgoPipe)(i0.ɵɵdirectiveInject(i1$1.TranslateService, 16), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef, 16), i0.ɵɵdirectiveInject(DateAgoSettingsToken, 24)); }; }
|
|
1552
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "dateAgo", type: DateAgoPipe, pure: false }); }
|
|
1553
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "dateAgo", type: DateAgoPipe, pure: false, standalone: false }); }
|
|
1553
1554
|
}
|
|
1554
1555
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateAgoPipe, [{
|
|
1555
1556
|
type: Pipe,
|
|
1556
1557
|
args: [{
|
|
1557
1558
|
name: 'dateAgo',
|
|
1558
|
-
pure: false
|
|
1559
|
+
pure: false,
|
|
1560
|
+
standalone: false
|
|
1559
1561
|
}]
|
|
1560
1562
|
}], () => [{ type: i1$1.TranslateService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
1561
1563
|
type: Inject,
|
|
@@ -1600,12 +1602,13 @@ class ObjectLengthPipe {
|
|
|
1600
1602
|
return Object.keys(value).length;
|
|
1601
1603
|
}
|
|
1602
1604
|
static { this.ɵfac = function ObjectLengthPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ObjectLengthPipe)(); }; }
|
|
1603
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "objectLength", type: ObjectLengthPipe, pure: true }); }
|
|
1605
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "objectLength", type: ObjectLengthPipe, pure: true, standalone: false }); }
|
|
1604
1606
|
}
|
|
1605
1607
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ObjectLengthPipe, [{
|
|
1606
1608
|
type: Pipe,
|
|
1607
1609
|
args: [{
|
|
1608
|
-
name: 'objectLength'
|
|
1610
|
+
name: 'objectLength',
|
|
1611
|
+
standalone: false
|
|
1609
1612
|
}]
|
|
1610
1613
|
}], null, null); })();
|
|
1611
1614
|
|
|
@@ -1633,7 +1636,7 @@ class SortByNumberPipe {
|
|
|
1633
1636
|
return SortHelper.sortByNumber(values, sortingValueKey, desc);
|
|
1634
1637
|
}
|
|
1635
1638
|
static { this.ɵfac = function SortByNumberPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortByNumberPipe)(); }; }
|
|
1636
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortByNumber", type: SortByNumberPipe, pure: false
|
|
1639
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortByNumber", type: SortByNumberPipe, pure: false }); }
|
|
1637
1640
|
}
|
|
1638
1641
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortByNumberPipe, [{
|
|
1639
1642
|
type: Pipe,
|
|
@@ -1653,12 +1656,13 @@ class SortAlphabeticallyPipe {
|
|
|
1653
1656
|
return SortHelper.sortAlphabetically(values, sortingValueKey);
|
|
1654
1657
|
}
|
|
1655
1658
|
static { this.ɵfac = function SortAlphabeticallyPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortAlphabeticallyPipe)(); }; }
|
|
1656
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortAlphabetically", type: SortAlphabeticallyPipe, pure: true }); }
|
|
1659
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortAlphabetically", type: SortAlphabeticallyPipe, pure: true, standalone: false }); }
|
|
1657
1660
|
}
|
|
1658
1661
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortAlphabeticallyPipe, [{
|
|
1659
1662
|
type: Pipe,
|
|
1660
1663
|
args: [{
|
|
1661
|
-
name: 'sortAlphabetically'
|
|
1664
|
+
name: 'sortAlphabetically',
|
|
1665
|
+
standalone: false
|
|
1662
1666
|
}]
|
|
1663
1667
|
}], null, null); })();
|
|
1664
1668
|
|
|
@@ -1720,7 +1724,7 @@ class SortLanguageListPipe {
|
|
|
1720
1724
|
}));
|
|
1721
1725
|
}
|
|
1722
1726
|
static { this.ɵfac = function SortLanguageListPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortLanguageListPipe)(); }; }
|
|
1723
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortLanguageList", type: SortLanguageListPipe, pure: true
|
|
1727
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortLanguageList", type: SortLanguageListPipe, pure: true }); }
|
|
1724
1728
|
}
|
|
1725
1729
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortLanguageListPipe, [{
|
|
1726
1730
|
type: Pipe,
|
|
@@ -1744,7 +1748,7 @@ class DomainTranslatePipe {
|
|
|
1744
1748
|
return domains[domainLocalizationKey] ?? titleCasePipe.transform(value);
|
|
1745
1749
|
}
|
|
1746
1750
|
static { this.ɵfac = function DomainTranslatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DomainTranslatePipe)(i0.ɵɵdirectiveInject(i1$1.TranslateService, 16)); }; }
|
|
1747
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "domainTranslate", type: DomainTranslatePipe, pure: false
|
|
1751
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "domainTranslate", type: DomainTranslatePipe, pure: false }); }
|
|
1748
1752
|
}
|
|
1749
1753
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DomainTranslatePipe, [{
|
|
1750
1754
|
type: Pipe,
|
|
@@ -1792,7 +1796,7 @@ class SortDomainsPipe {
|
|
|
1792
1796
|
});
|
|
1793
1797
|
}
|
|
1794
1798
|
static { this.ɵfac = function SortDomainsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortDomainsPipe)(i0.ɵɵdirectiveInject(i1$1.TranslateService, 16)); }; }
|
|
1795
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortDomains", type: SortDomainsPipe, pure: true
|
|
1799
|
+
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortDomains", type: SortDomainsPipe, pure: true }); }
|
|
1796
1800
|
}
|
|
1797
1801
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortDomainsPipe, [{
|
|
1798
1802
|
type: Pipe,
|
|
@@ -1921,12 +1925,13 @@ class PlausibleEventDirective {
|
|
|
1921
1925
|
static { this.ɵfac = function PlausibleEventDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PlausibleEventDirective)(); }; }
|
|
1922
1926
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PlausibleEventDirective, selectors: [["", "libPlausibleEvent", ""]], hostBindings: function PlausibleEventDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1923
1927
|
i0.ɵɵlistener("click", function PlausibleEventDirective_click_HostBindingHandler() { return ctx.onClick(); });
|
|
1924
|
-
} }, inputs: { libPlausibleEvent: "libPlausibleEvent" } }); }
|
|
1928
|
+
} }, inputs: { libPlausibleEvent: "libPlausibleEvent" }, standalone: false }); }
|
|
1925
1929
|
}
|
|
1926
1930
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PlausibleEventDirective, [{
|
|
1927
1931
|
type: Directive,
|
|
1928
1932
|
args: [{
|
|
1929
|
-
selector: '[libPlausibleEvent]'
|
|
1933
|
+
selector: '[libPlausibleEvent]',
|
|
1934
|
+
standalone: false
|
|
1930
1935
|
}]
|
|
1931
1936
|
}], null, { libPlausibleEvent: [{
|
|
1932
1937
|
type: Input
|
|
@@ -2005,12 +2010,12 @@ class InlineMessageComponent {
|
|
|
2005
2010
|
this.iconName = "info";
|
|
2006
2011
|
}
|
|
2007
2012
|
static { this.ɵfac = function InlineMessageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InlineMessageComponent)(); }; }
|
|
2008
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InlineMessageComponent, selectors: [["lib-inline-message"]], inputs: { iconName: "iconName", message: "message" }, decls: 3, vars: 5, consts: [["class", "material-icons", 3, "order-end", "matTooltip", 4, "ngIf"], [4, "ngIf"], [1, "material-icons", 3, "matTooltip"], ["class", "text-s-semi-bold title", 3, "innerHtml", 4, "ngIf"], ["class", "text-s description", 3, "innerHtml", 4, "ngIf"], [1, "text-s-semi-bold", "title", 3, "innerHtml"], [1, "text-s", "description", 3, "innerHtml"]], template: function InlineMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2013
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InlineMessageComponent, selectors: [["lib-inline-message"]], inputs: { iconName: "iconName", message: "message" }, standalone: false, decls: 3, vars: 5, consts: [["class", "material-icons", 3, "order-end", "matTooltip", 4, "ngIf"], [4, "ngIf"], [1, "material-icons", 3, "matTooltip"], ["class", "text-s-semi-bold title", 3, "innerHtml", 4, "ngIf"], ["class", "text-s description", 3, "innerHtml", 4, "ngIf"], [1, "text-s-semi-bold", "title", 3, "innerHtml"], [1, "text-s", "description", 3, "innerHtml"]], template: function InlineMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2009
2014
|
i0.ɵɵelementStart(0, "div");
|
|
2010
2015
|
i0.ɵɵtemplate(1, InlineMessageComponent_span_1_Template, 3, 7, "span", 0)(2, InlineMessageComponent_section_2_Template, 3, 2, "section", 1);
|
|
2011
2016
|
i0.ɵɵelementEnd();
|
|
2012
2017
|
} if (rf & 2) {
|
|
2013
|
-
i0.ɵɵ
|
|
2018
|
+
i0.ɵɵclassMap(i0.ɵɵinterpolate1("tld-inline-message ", ctx.message.type));
|
|
2014
2019
|
i0.ɵɵadvance();
|
|
2015
2020
|
i0.ɵɵproperty("ngIf", ctx.iconName);
|
|
2016
2021
|
i0.ɵɵadvance();
|
|
@@ -2019,13 +2024,13 @@ class InlineMessageComponent {
|
|
|
2019
2024
|
}
|
|
2020
2025
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InlineMessageComponent, [{
|
|
2021
2026
|
type: Component,
|
|
2022
|
-
args: [{ selector: 'lib-inline-message', template: "<div class=\"tld-inline-message {{message.type}}\">\r\n <span class=\"material-icons\" [class.order-end]=\"message.iconPosition === END_ICON_POSITION\"\r\n [matTooltip]=\"message.iconTooltip? (message.iconTooltip | translate: message.localizationParams) : ''\" *ngIf=\"iconName\">{{iconName}}</span>\r\n <section *ngIf=\"message\">\r\n <div class=\"text-s-semi-bold title\" *ngIf=\"message.title\"\r\n [innerHtml]=\"message.title | translate: message.localizationParams\">\r\n </div>\r\n <p class=\"text-s description\" *ngIf=\"message.description\" [innerHtml]=\"message.description | translate:\r\n message.localizationParams\"></p>\r\n </section>\r\n</div>", styles: [":host{display:block}.tld-inline-message{display:flex;flex-direction:row}.tld-inline-message.error .material-icons{color:var(--error-dark)}.tld-inline-message.info .material-icons{color:var(--base-40)}.tld-inline-message.warning .material-icons{color:var(--warning-dark)}.tld-inline-message .material-icons{font-size:16px;margin-right:.5rem;display:inline-block}.tld-inline-message .material-icons.order-end{order:2}.tld-inline-message .title,.tld-inline-message .description{margin:0}.tld-inline-message .title+.description{margin-top:.5rem}\n"] }]
|
|
2027
|
+
args: [{ selector: 'lib-inline-message', standalone: false, template: "<div class=\"tld-inline-message {{message.type}}\">\r\n <span class=\"material-icons\" [class.order-end]=\"message.iconPosition === END_ICON_POSITION\"\r\n [matTooltip]=\"message.iconTooltip? (message.iconTooltip | translate: message.localizationParams) : ''\" *ngIf=\"iconName\">{{iconName}}</span>\r\n <section *ngIf=\"message\">\r\n <div class=\"text-s-semi-bold title\" *ngIf=\"message.title\"\r\n [innerHtml]=\"message.title | translate: message.localizationParams\">\r\n </div>\r\n <p class=\"text-s description\" *ngIf=\"message.description\" [innerHtml]=\"message.description | translate:\r\n message.localizationParams\"></p>\r\n </section>\r\n</div>", styles: [":host{display:block}.tld-inline-message{display:flex;flex-direction:row}.tld-inline-message.error .material-icons{color:var(--error-dark)}.tld-inline-message.info .material-icons{color:var(--base-40)}.tld-inline-message.warning .material-icons{color:var(--warning-dark)}.tld-inline-message .material-icons{font-size:16px;margin-right:.5rem;display:inline-block}.tld-inline-message .material-icons.order-end{order:2}.tld-inline-message .title,.tld-inline-message .description{margin:0}.tld-inline-message .title+.description{margin-top:.5rem}\n"] }]
|
|
2023
2028
|
}], null, { iconName: [{
|
|
2024
2029
|
type: Input
|
|
2025
2030
|
}], message: [{
|
|
2026
2031
|
type: Input
|
|
2027
2032
|
}] }); })();
|
|
2028
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InlineMessageComponent, { className: "InlineMessageComponent", filePath: "lib
|
|
2033
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InlineMessageComponent, { className: "InlineMessageComponent", filePath: "lib/inline-message/inline-message.component.ts", lineNumber: 11 }); })();
|
|
2029
2034
|
|
|
2030
2035
|
class InlineMessageModule {
|
|
2031
2036
|
static { this.ɵfac = function InlineMessageModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InlineMessageModule)(); }; }
|
|
@@ -2074,14 +2079,15 @@ class ClickOutsideDirective {
|
|
|
2074
2079
|
}
|
|
2075
2080
|
static { this.ɵfac = function ClickOutsideDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ClickOutsideDirective)(i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
|
|
2076
2081
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ClickOutsideDirective, selectors: [["", "clickOutside", ""]], hostBindings: function ClickOutsideDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
2077
|
-
i0.ɵɵlistener("click", function ClickOutsideDirective_click_HostBindingHandler($event) { return ctx.onClick($event.target); },
|
|
2078
|
-
} }, outputs: { clickOutside: "clickOutside" } }); }
|
|
2082
|
+
i0.ɵɵlistener("click", function ClickOutsideDirective_click_HostBindingHandler($event) { return ctx.onClick($event.target); }, i0.ɵɵresolveDocument);
|
|
2083
|
+
} }, outputs: { clickOutside: "clickOutside" }, standalone: false }); }
|
|
2079
2084
|
}
|
|
2080
2085
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClickOutsideDirective, [{
|
|
2081
2086
|
type: Directive,
|
|
2082
2087
|
args: [{
|
|
2083
2088
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
2084
|
-
selector: '[clickOutside]'
|
|
2089
|
+
selector: '[clickOutside]',
|
|
2090
|
+
standalone: false
|
|
2085
2091
|
}]
|
|
2086
2092
|
}], () => [{ type: i0.ElementRef }], { clickOutside: [{
|
|
2087
2093
|
type: Output
|
|
@@ -2151,13 +2157,14 @@ class DragAndDropDirective {
|
|
|
2151
2157
|
i0.ɵɵlistener("dragover", function DragAndDropDirective_dragover_HostBindingHandler($event) { return ctx.onDragOver($event); })("dragleave", function DragAndDropDirective_dragleave_HostBindingHandler($event) { return ctx.onDragLeave($event); })("drop", function DragAndDropDirective_drop_HostBindingHandler($event) { return ctx.ondrop($event); });
|
|
2152
2158
|
} if (rf & 2) {
|
|
2153
2159
|
i0.ɵɵclassProp("tld-file-over", ctx.active);
|
|
2154
|
-
} }, outputs: { fileDropped: "fileDropped" } }); }
|
|
2160
|
+
} }, outputs: { fileDropped: "fileDropped" }, standalone: false }); }
|
|
2155
2161
|
}
|
|
2156
2162
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DragAndDropDirective, [{
|
|
2157
2163
|
type: Directive,
|
|
2158
2164
|
args: [{
|
|
2159
2165
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
2160
|
-
selector: '[tldDragAndDrop]'
|
|
2166
|
+
selector: '[tldDragAndDrop]',
|
|
2167
|
+
standalone: false
|
|
2161
2168
|
}]
|
|
2162
2169
|
}], () => [{ type: i0.ElementRef }], { active: [{
|
|
2163
2170
|
type: HostBinding,
|
|
@@ -2239,7 +2246,7 @@ class MatButtonLoadingDirective {
|
|
|
2239
2246
|
}
|
|
2240
2247
|
}
|
|
2241
2248
|
static { this.ɵfac = function MatButtonLoadingDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MatButtonLoadingDirective)(i0.ɵɵdirectiveInject(i2$1.MatButton), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
2242
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MatButtonLoadingDirective, selectors: [["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", ""]], inputs: { loading: "loading" } }); }
|
|
2249
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MatButtonLoadingDirective, selectors: [["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", ""]], inputs: { loading: "loading" }, standalone: false }); }
|
|
2243
2250
|
}
|
|
2244
2251
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MatButtonLoadingDirective, [{
|
|
2245
2252
|
type: Directive,
|
|
@@ -2251,7 +2258,8 @@ class MatButtonLoadingDirective {
|
|
|
2251
2258
|
button[mat-fab][loading],
|
|
2252
2259
|
button[mat-mini-fab][loading],
|
|
2253
2260
|
button[mat-stroked-button][loading],
|
|
2254
|
-
button[mat-flat-button][loading]
|
|
2261
|
+
button[mat-flat-button][loading]`,
|
|
2262
|
+
standalone: false
|
|
2255
2263
|
}]
|
|
2256
2264
|
}], () => [{ type: i2$1.MatButton }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }], { loading: [{
|
|
2257
2265
|
type: Input
|
|
@@ -2276,7 +2284,7 @@ class MatButtonLoadingModule {
|
|
|
2276
2284
|
|
|
2277
2285
|
class TldLoaderComponent {
|
|
2278
2286
|
static { this.ɵfac = function TldLoaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TldLoaderComponent)(); }; }
|
|
2279
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TldLoaderComponent, selectors: [["lib-tld-loader"]], decls: 4, vars: 0, consts: [["fxLayout", "row", "fxLayoutGap", "10px", 1, "tld-loader", "accent-color"], [1, "accent-bg-color", "tld-loader-element", "element-1"], [1, "accent-bg-color", "tld-loader-element", "element-2"], [1, "accent-bg-color", "tld-loader-element", "element-3"]], template: function TldLoaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2287
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TldLoaderComponent, selectors: [["lib-tld-loader"]], standalone: false, decls: 4, vars: 0, consts: [["fxLayout", "row", "fxLayoutGap", "10px", 1, "tld-loader", "accent-color"], [1, "accent-bg-color", "tld-loader-element", "element-1"], [1, "accent-bg-color", "tld-loader-element", "element-2"], [1, "accent-bg-color", "tld-loader-element", "element-3"]], template: function TldLoaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2280
2288
|
i0.ɵɵelementStart(0, "div", 0);
|
|
2281
2289
|
i0.ɵɵelement(1, "div", 1)(2, "div", 2)(3, "div", 3);
|
|
2282
2290
|
i0.ɵɵelementEnd();
|
|
@@ -2284,9 +2292,9 @@ class TldLoaderComponent {
|
|
|
2284
2292
|
}
|
|
2285
2293
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TldLoaderComponent, [{
|
|
2286
2294
|
type: Component,
|
|
2287
|
-
args: [{ selector: 'lib-tld-loader', template: "<div class=\"tld-loader accent-color\" fxLayout=\"row\" fxLayoutGap=\"10px\">\r\n <div class=\"accent-bg-color tld-loader-element element-1\"></div>\r\n <div class=\"accent-bg-color tld-loader-element element-2\"></div>\r\n <div class=\"accent-bg-color tld-loader-element element-3\"></div>\r\n</div>\r\n", styles: [".tld-loader .tld-loader-element{will-change:transform;border-radius:50%;animation:grow .6s ease-in-out infinite alternate;width:24px;height:24px}.tld-loader .tld-loader-element.element-2{animation-delay:.2s}.tld-loader .tld-loader-element.element-3{animation-delay:.4s}@keyframes grow{to{transform:translate(-50%) scale(0)}}\n"] }]
|
|
2295
|
+
args: [{ selector: 'lib-tld-loader', standalone: false, template: "<div class=\"tld-loader accent-color\" fxLayout=\"row\" fxLayoutGap=\"10px\">\r\n <div class=\"accent-bg-color tld-loader-element element-1\"></div>\r\n <div class=\"accent-bg-color tld-loader-element element-2\"></div>\r\n <div class=\"accent-bg-color tld-loader-element element-3\"></div>\r\n</div>\r\n", styles: [".tld-loader .tld-loader-element{will-change:transform;border-radius:50%;animation:grow .6s ease-in-out infinite alternate;width:24px;height:24px}.tld-loader .tld-loader-element.element-2{animation-delay:.2s}.tld-loader .tld-loader-element.element-3{animation-delay:.4s}@keyframes grow{to{transform:translate(-50%) scale(0)}}\n"] }]
|
|
2288
2296
|
}], null, null); })();
|
|
2289
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TldLoaderComponent, { className: "TldLoaderComponent", filePath: "lib
|
|
2297
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TldLoaderComponent, { className: "TldLoaderComponent", filePath: "lib/tld-loader/tld-loader.component.ts", lineNumber: 9 }); })();
|
|
2290
2298
|
|
|
2291
2299
|
class TldLoaderModule {
|
|
2292
2300
|
static { this.ɵfac = function TldLoaderModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TldLoaderModule)(); }; }
|
|
@@ -2312,7 +2320,7 @@ class CompanyProductComponent {
|
|
|
2312
2320
|
this.product = "";
|
|
2313
2321
|
}
|
|
2314
2322
|
static { this.ɵfac = function CompanyProductComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CompanyProductComponent)(); }; }
|
|
2315
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyProductComponent, selectors: [["lib-company-product"]], inputs: { company: "company", product: "product" }, decls: 6, vars: 4, consts: [["fxHide.lt-md", "", 1, "tilde-product-title"], [1, "company"], [1, "product"]], template: function CompanyProductComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2323
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyProductComponent, selectors: [["lib-company-product"]], inputs: { company: "company", product: "product" }, standalone: false, decls: 6, vars: 4, consts: [["fxHide.lt-md", "", 1, "tilde-product-title"], [1, "company"], [1, "product"]], template: function CompanyProductComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2316
2324
|
i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
|
|
2317
2325
|
i0.ɵɵtext(2);
|
|
2318
2326
|
i0.ɵɵpipe(3, "uppercase");
|
|
@@ -2329,13 +2337,13 @@ class CompanyProductComponent {
|
|
|
2329
2337
|
}
|
|
2330
2338
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyProductComponent, [{
|
|
2331
2339
|
type: Component,
|
|
2332
|
-
args: [{ selector: 'lib-company-product', template: "<div fxHide.lt-md class=\"tilde-product-title\">\r\n <span class=\"company\">\r\n {{company | uppercase}}\r\n </span>\r\n <span class=\"product\">\r\n {{product}}\r\n </span>\r\n</div>", styles: [".tilde-product-title{font-family:Roboto;text-decoration:none!important}.tilde-product-title .company{font-weight:700;font-size:.75rem;line-height:1rem;color:#616e7c;letter-spacing:1px;display:block}.tilde-product-title .product{font-weight:500;font-size:1.25rem;line-height:1.5rem;color:#1f2933;display:block}\n"] }]
|
|
2340
|
+
args: [{ selector: 'lib-company-product', standalone: false, template: "<div fxHide.lt-md class=\"tilde-product-title\">\r\n <span class=\"company\">\r\n {{company | uppercase}}\r\n </span>\r\n <span class=\"product\">\r\n {{product}}\r\n </span>\r\n</div>", styles: [".tilde-product-title{font-family:Roboto;text-decoration:none!important}.tilde-product-title .company{font-weight:700;font-size:.75rem;line-height:1rem;color:#616e7c;letter-spacing:1px;display:block}.tilde-product-title .product{font-weight:500;font-size:1.25rem;line-height:1.5rem;color:#1f2933;display:block}\n"] }]
|
|
2333
2341
|
}], null, { company: [{
|
|
2334
2342
|
type: Input
|
|
2335
2343
|
}], product: [{
|
|
2336
2344
|
type: Input
|
|
2337
2345
|
}] }); })();
|
|
2338
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CompanyProductComponent, { className: "CompanyProductComponent", filePath: "lib
|
|
2346
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CompanyProductComponent, { className: "CompanyProductComponent", filePath: "lib/company-product/company-product.component.ts", lineNumber: 9 }); })();
|
|
2339
2347
|
|
|
2340
2348
|
class CompanyProductModule {
|
|
2341
2349
|
static { this.ɵfac = function CompanyProductModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CompanyProductModule)(); }; }
|
|
@@ -2367,7 +2375,7 @@ function FooterComponent_ng_container_6_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
2367
2375
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2368
2376
|
i0.ɵɵattribute("href", ctx_r0.termsOfUseRoute, i0.ɵɵsanitizeUrl);
|
|
2369
2377
|
i0.ɵɵadvance();
|
|
2370
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.TERMS_OF_USE")
|
|
2378
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.TERMS_OF_USE"));
|
|
2371
2379
|
} }
|
|
2372
2380
|
function FooterComponent_ng_container_6_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
2373
2381
|
i0.ɵɵelementStart(0, "a", 7);
|
|
@@ -2378,7 +2386,7 @@ function FooterComponent_ng_container_6_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
2378
2386
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2379
2387
|
i0.ɵɵattribute("href", ctx_r0.privacyRoute, i0.ɵɵsanitizeUrl);
|
|
2380
2388
|
i0.ɵɵadvance();
|
|
2381
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.PRIVACY")
|
|
2389
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.PRIVACY"));
|
|
2382
2390
|
} }
|
|
2383
2391
|
function FooterComponent_ng_container_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
2384
2392
|
i0.ɵɵelementStart(0, "a", 8);
|
|
@@ -2389,7 +2397,7 @@ function FooterComponent_ng_container_6_a_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
2389
2397
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2390
2398
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(4, _c1$6, ctx_r0.contactUsRoute));
|
|
2391
2399
|
i0.ɵɵadvance();
|
|
2392
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.CONTACT_US")
|
|
2400
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.CONTACT_US"));
|
|
2393
2401
|
} }
|
|
2394
2402
|
function FooterComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
2395
2403
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -2413,7 +2421,7 @@ function FooterComponent_ng_template_7_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
2413
2421
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2414
2422
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(4, _c1$6, ctx_r0.termsOfUseRoute));
|
|
2415
2423
|
i0.ɵɵadvance();
|
|
2416
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.TERMS_OF_USE")
|
|
2424
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.TERMS_OF_USE"));
|
|
2417
2425
|
} }
|
|
2418
2426
|
function FooterComponent_ng_template_7_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
2419
2427
|
i0.ɵɵelementStart(0, "a", 8);
|
|
@@ -2424,7 +2432,7 @@ function FooterComponent_ng_template_7_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
2424
2432
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2425
2433
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(4, _c1$6, ctx_r0.privacyRoute));
|
|
2426
2434
|
i0.ɵɵadvance();
|
|
2427
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.PRIVACY")
|
|
2435
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.PRIVACY"));
|
|
2428
2436
|
} }
|
|
2429
2437
|
function FooterComponent_ng_template_7_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
2430
2438
|
i0.ɵɵelementStart(0, "a", 8);
|
|
@@ -2435,7 +2443,7 @@ function FooterComponent_ng_template_7_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
2435
2443
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
2436
2444
|
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(4, _c1$6, ctx_r0.contactUsRoute));
|
|
2437
2445
|
i0.ɵɵadvance();
|
|
2438
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.CONTACT_US")
|
|
2446
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 2, "FOOTER.CONTACT_US"));
|
|
2439
2447
|
} }
|
|
2440
2448
|
function FooterComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
2441
2449
|
i0.ɵɵtemplate(0, FooterComponent_ng_template_7_a_0_Template, 3, 6, "a", 6)(1, FooterComponent_ng_template_7_a_1_Template, 3, 6, "a", 6)(2, FooterComponent_ng_template_7_a_2_Template, 3, 6, "a", 6);
|
|
@@ -2463,7 +2471,7 @@ class FooterComponent {
|
|
|
2463
2471
|
}
|
|
2464
2472
|
}
|
|
2465
2473
|
static { this.ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); }; }
|
|
2466
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["tld-footer"]], inputs: { privacyRoute: "privacyRoute", termsOfUseRoute: "termsOfUseRoute", contactUsRoute: "contactUsRoute", baseUrl: "baseUrl" }, decls: 9, vars: 8, consts: [["localRoutes", ""], ["fxLayout", "row", 1, "text-m"], ["fxFlex", "", "fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutAlign.xs", "center center", "fxLayout.xs", "column", "fxLayoutGap", "16px"], ["fxLayoutGap", "1rem"], [4, "ngIf", "ngIfElse"], ["class", "semi-bold", "target", "_blank", 4, "ngIf"], ["class", "semi-bold", 3, "routerLink", 4, "ngIf"], ["target", "_blank", 1, "semi-bold"], [1, "semi-bold", 3, "routerLink"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2474
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["tld-footer"]], inputs: { privacyRoute: "privacyRoute", termsOfUseRoute: "termsOfUseRoute", contactUsRoute: "contactUsRoute", baseUrl: "baseUrl" }, standalone: false, decls: 9, vars: 8, consts: [["localRoutes", ""], ["fxLayout", "row", 1, "text-m"], ["fxFlex", "", "fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutAlign.xs", "center center", "fxLayout.xs", "column", "fxLayoutGap", "16px"], ["fxLayoutGap", "1rem"], [4, "ngIf", "ngIfElse"], ["class", "semi-bold", "target", "_blank", 4, "ngIf"], ["class", "semi-bold", 3, "routerLink", 4, "ngIf"], ["target", "_blank", 1, "semi-bold"], [1, "semi-bold", 3, "routerLink"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2467
2475
|
i0.ɵɵelementStart(0, "footer", 1)(1, "div", 2)(2, "div");
|
|
2468
2476
|
i0.ɵɵtext(3);
|
|
2469
2477
|
i0.ɵɵpipe(4, "translate");
|
|
@@ -2481,7 +2489,7 @@ class FooterComponent {
|
|
|
2481
2489
|
}
|
|
2482
2490
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FooterComponent, [{
|
|
2483
2491
|
type: Component,
|
|
2484
|
-
args: [{ selector: 'tld-footer', template: "<footer fxLayout=\"row\" class=\"text-m\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutAlign.xs=\"center center\" fxLayout.xs=\"column\"\r\n fxLayoutGap=\"16px\">\r\n <div>\r\n {{ 'FOOTER.TITLE' | translate: {currentYear: currentYear} }}\r\n </div>\r\n <div fxLayoutGap=\"1rem\">\r\n <ng-container *ngIf=\"baseUrl; else localRoutes\">\r\n <a class=\"semi-bold\" *ngIf=\"termsOfUseRoute\" [attr.href]=\"termsOfUseRoute\" target=\"_blank\"> {{\r\n 'FOOTER.TERMS_OF_USE' |\r\n translate }}</a>\r\n <a class=\"semi-bold\" *ngIf=\"privacyRoute\" [attr.href]=\"privacyRoute\" target=\"_blank\"> {{ 'FOOTER.PRIVACY'\r\n | translate }}</a>\r\n <a class=\"semi-bold\" *ngIf=\"contactUsRoute\" [routerLink]=\"[contactUsRoute]\"> {{ 'FOOTER.CONTACT_US'| translate\r\n }}</a>\r\n\r\n </ng-container>\r\n <ng-template #localRoutes>\r\n <a class=\"semi-bold\" *ngIf=\"termsOfUseRoute\" [routerLink]=\"[termsOfUseRoute]\"> {{ 'FOOTER.TERMS_OF_USE' |\r\n translate }}</a>\r\n <a class=\"semi-bold\" *ngIf=\"privacyRoute\" [routerLink]=\"[privacyRoute]\"> {{ 'FOOTER.PRIVACY'| translate }}</a>\r\n <a class=\"semi-bold\" *ngIf=\"contactUsRoute\" [routerLink]=\"[contactUsRoute]\"> {{ 'FOOTER.CONTACT_US'| translate\r\n }}</a>\r\n </ng-template>\r\n </div>\r\n </div>\r\n</footer>\r\n", styles: [":host footer{color:var(--base-30);padding:1rem 2rem;margin-bottom:0;border-top:1px solid var(--base-70);margin-top:1rem}:host footer a{color:var(--base-30);text-decoration:none}:host footer a:hover{color:var(--base-30);text-decoration:underline}\n"] }]
|
|
2492
|
+
args: [{ selector: 'tld-footer', standalone: false, template: "<footer fxLayout=\"row\" class=\"text-m\">\r\n <div fxFlex fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutAlign.xs=\"center center\" fxLayout.xs=\"column\"\r\n fxLayoutGap=\"16px\">\r\n <div>\r\n {{ 'FOOTER.TITLE' | translate: {currentYear: currentYear} }}\r\n </div>\r\n <div fxLayoutGap=\"1rem\">\r\n <ng-container *ngIf=\"baseUrl; else localRoutes\">\r\n <a class=\"semi-bold\" *ngIf=\"termsOfUseRoute\" [attr.href]=\"termsOfUseRoute\" target=\"_blank\"> {{\r\n 'FOOTER.TERMS_OF_USE' |\r\n translate }}</a>\r\n <a class=\"semi-bold\" *ngIf=\"privacyRoute\" [attr.href]=\"privacyRoute\" target=\"_blank\"> {{ 'FOOTER.PRIVACY'\r\n | translate }}</a>\r\n <a class=\"semi-bold\" *ngIf=\"contactUsRoute\" [routerLink]=\"[contactUsRoute]\"> {{ 'FOOTER.CONTACT_US'| translate\r\n }}</a>\r\n\r\n </ng-container>\r\n <ng-template #localRoutes>\r\n <a class=\"semi-bold\" *ngIf=\"termsOfUseRoute\" [routerLink]=\"[termsOfUseRoute]\"> {{ 'FOOTER.TERMS_OF_USE' |\r\n translate }}</a>\r\n <a class=\"semi-bold\" *ngIf=\"privacyRoute\" [routerLink]=\"[privacyRoute]\"> {{ 'FOOTER.PRIVACY'| translate }}</a>\r\n <a class=\"semi-bold\" *ngIf=\"contactUsRoute\" [routerLink]=\"[contactUsRoute]\"> {{ 'FOOTER.CONTACT_US'| translate\r\n }}</a>\r\n </ng-template>\r\n </div>\r\n </div>\r\n</footer>\r\n", styles: [":host footer{color:var(--base-30);padding:1rem 2rem;margin-bottom:0;border-top:1px solid var(--base-70);margin-top:1rem}:host footer a{color:var(--base-30);text-decoration:none}:host footer a:hover{color:var(--base-30);text-decoration:underline}\n"] }]
|
|
2485
2493
|
}], () => [], { privacyRoute: [{
|
|
2486
2494
|
type: Input
|
|
2487
2495
|
}], termsOfUseRoute: [{
|
|
@@ -2491,7 +2499,7 @@ class FooterComponent {
|
|
|
2491
2499
|
}], baseUrl: [{
|
|
2492
2500
|
type: Input
|
|
2493
2501
|
}] }); })();
|
|
2494
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib
|
|
2502
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FooterComponent, { className: "FooterComponent", filePath: "lib/footer/footer.component.ts", lineNumber: 10 }); })();
|
|
2495
2503
|
|
|
2496
2504
|
class FooterModule {
|
|
2497
2505
|
static { this.ɵfac = function FooterModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterModule)(); }; }
|
|
@@ -2707,14 +2715,14 @@ function ExtensionDialogComponent_ng_container_9_div_1_div_5_ul_1_ng_container_1
|
|
|
2707
2715
|
} if (rf & 2) {
|
|
2708
2716
|
const extension_r1 = i0.ɵɵnextContext().$implicit;
|
|
2709
2717
|
i0.ɵɵadvance();
|
|
2710
|
-
i0.ɵɵ
|
|
2718
|
+
i0.ɵɵproperty("svgIcon", i0.ɵɵinterpolate(extension_r1.icon));
|
|
2711
2719
|
i0.ɵɵattribute("aria-label", extension_r1.extension);
|
|
2712
2720
|
i0.ɵɵadvance(2);
|
|
2713
2721
|
i0.ɵɵtextInterpolate(extension_r1.extension);
|
|
2714
2722
|
} }
|
|
2715
2723
|
function ExtensionDialogComponent_ng_container_9_div_1_div_5_ul_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
2716
2724
|
i0.ɵɵelementContainerStart(0);
|
|
2717
|
-
i0.ɵɵtemplate(1, ExtensionDialogComponent_ng_container_9_div_1_div_5_ul_1_ng_container_1_li_1_Template, 4,
|
|
2725
|
+
i0.ɵɵtemplate(1, ExtensionDialogComponent_ng_container_9_div_1_div_5_ul_1_ng_container_1_li_1_Template, 4, 4, "li", 13);
|
|
2718
2726
|
i0.ɵɵelementContainerEnd();
|
|
2719
2727
|
} if (rf & 2) {
|
|
2720
2728
|
const extension_r1 = ctx.$implicit;
|
|
@@ -2883,7 +2891,7 @@ class ExtensionDialogComponent {
|
|
|
2883
2891
|
this.undescribedExtensions = extensions;
|
|
2884
2892
|
}
|
|
2885
2893
|
static { this.ɵfac = function ExtensionDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExtensionDialogComponent)(i0.ɵɵdirectiveInject(MAT_DIALOG_DATA), i0.ɵɵdirectiveInject(IconService)); }; }
|
|
2886
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExtensionDialogComponent, selectors: [["lib-extension-dialog"]], decls: 10, vars: 8, consts: [["mat-dialog-close", "", 1, "close"], ["mat-dialog-title", "", 1, "text-2-xl"], [1, "description"], ["mat-dialog-content", ""], ["fxLayout", "row", "fxLayout.lt-md", "column", 3, "ngClass.lt-md"], [4, "ngFor", "ngForOf"], ["class", "category", 4, "ngIf"], [1, "category"], [1, "category-title"], ["fxLayout", "row"], ["class", "extension-column", 4, "ngFor", "ngForOf"], [1, "extension-column"], [4, "ngIf"], ["fxLayoutAlign", "start center", 4, "ngIf"], ["fxLayoutAlign", "start center"], ["aria-hidden", "false", 3, "svgIcon"]], template: function ExtensionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2894
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExtensionDialogComponent, selectors: [["lib-extension-dialog"]], standalone: false, decls: 10, vars: 8, consts: [["mat-dialog-close", "", 1, "close"], ["mat-dialog-title", "", 1, "text-2-xl"], [1, "description"], ["mat-dialog-content", ""], ["fxLayout", "row", "fxLayout.lt-md", "column", 3, "ngClass.lt-md"], [4, "ngFor", "ngForOf"], ["class", "category", 4, "ngIf"], [1, "category"], [1, "category-title"], ["fxLayout", "row"], ["class", "extension-column", 4, "ngFor", "ngForOf"], [1, "extension-column"], [4, "ngIf"], ["fxLayoutAlign", "start center", 4, "ngIf"], ["fxLayoutAlign", "start center"], ["aria-hidden", "false", 3, "svgIcon"]], template: function ExtensionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2887
2895
|
i0.ɵɵelement(0, "tld-close-button", 0);
|
|
2888
2896
|
i0.ɵɵelementStart(1, "h1", 1);
|
|
2889
2897
|
i0.ɵɵtext(2);
|
|
@@ -2909,12 +2917,12 @@ class ExtensionDialogComponent {
|
|
|
2909
2917
|
}
|
|
2910
2918
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExtensionDialogComponent, [{
|
|
2911
2919
|
type: Component,
|
|
2912
|
-
args: [{ selector: 'lib-extension-dialog', template: "<tld-close-button class=\"close\" mat-dialog-close></tld-close-button>\r\n<h1 mat-dialog-title class=\"text-2-xl\">{{'EXTENSION_POPUP.TITLE' | translate}}</h1>\r\n<p class=\"description\">{{'EXTENSION_POPUP.DESCRIPTION' | translate}}</p>\r\n\r\n<div mat-dialog-content>\r\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\" [ngClass.lt-md]=\"'small-screen'\">\r\n <ng-container *ngFor=\"let category of config.elements\">\r\n <div *ngIf=\"category.anyVisible\" class=\"category\">\r\n <h2 class=\"category-title\">\r\n {{ 'EXTENSION_POPUP.' + category.category | translate }}\r\n </h2>\r\n <div fxLayout=\"row\">\r\n <div *ngFor=\"let column of category.columns\" class=\"extension-column\">\r\n <ul *ngIf=\"column.anyVisible\">\r\n <ng-container *ngFor=\"let extension of column.extensions\">\r\n <li *ngIf=\"extension.visible\" fxLayoutAlign=\"start center\">\r\n <mat-icon svgIcon=\"{{ extension.icon }}\" aria-hidden=\"false\"[attr.aria-label]=\"extension.extension\"></mat-icon>\r\n <span>{{ extension.extension }}</span>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>\r\n", styles: [".description{color:var(--base-40);margin:6px 24px 12px}[mat-dialog-content]{position:relative}[mat-dialog-content] ul{list-style-type:none;margin:0;padding:0}[mat-dialog-content] ul li+li{margin-top:.5em}[mat-dialog-content] .category-title{border-bottom:1px solid var(--base-70);font-size:.875em;font-weight:600;text-align:center;white-space:nowrap;margin-bottom:12px}[mat-dialog-content] .extension-column{font-size:.875em;line-height:1.25em}[mat-dialog-content] .extension-column+.extension-column{margin-left:1em}[mat-dialog-content] :not(.small-screen) .category+.category{margin-left:3em}[mat-dialog-content] mat-icon{width:20px;height:20px}\n"] }]
|
|
2920
|
+
args: [{ selector: 'lib-extension-dialog', standalone: false, template: "<tld-close-button class=\"close\" mat-dialog-close></tld-close-button>\r\n<h1 mat-dialog-title class=\"text-2-xl\">{{'EXTENSION_POPUP.TITLE' | translate}}</h1>\r\n<p class=\"description\">{{'EXTENSION_POPUP.DESCRIPTION' | translate}}</p>\r\n\r\n<div mat-dialog-content>\r\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\" [ngClass.lt-md]=\"'small-screen'\">\r\n <ng-container *ngFor=\"let category of config.elements\">\r\n <div *ngIf=\"category.anyVisible\" class=\"category\">\r\n <h2 class=\"category-title\">\r\n {{ 'EXTENSION_POPUP.' + category.category | translate }}\r\n </h2>\r\n <div fxLayout=\"row\">\r\n <div *ngFor=\"let column of category.columns\" class=\"extension-column\">\r\n <ul *ngIf=\"column.anyVisible\">\r\n <ng-container *ngFor=\"let extension of column.extensions\">\r\n <li *ngIf=\"extension.visible\" fxLayoutAlign=\"start center\">\r\n <mat-icon svgIcon=\"{{ extension.icon }}\" aria-hidden=\"false\"[attr.aria-label]=\"extension.extension\"></mat-icon>\r\n <span>{{ extension.extension }}</span>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>\r\n", styles: [".description{color:var(--base-40);margin:6px 24px 12px}[mat-dialog-content]{position:relative}[mat-dialog-content] ul{list-style-type:none;margin:0;padding:0}[mat-dialog-content] ul li+li{margin-top:.5em}[mat-dialog-content] .category-title{border-bottom:1px solid var(--base-70);font-size:.875em;font-weight:600;text-align:center;white-space:nowrap;margin-bottom:12px}[mat-dialog-content] .extension-column{font-size:.875em;line-height:1.25em}[mat-dialog-content] .extension-column+.extension-column{margin-left:1em}[mat-dialog-content] :not(.small-screen) .category+.category{margin-left:3em}[mat-dialog-content] mat-icon{width:20px;height:20px}\n"] }]
|
|
2913
2921
|
}], () => [{ type: undefined, decorators: [{
|
|
2914
2922
|
type: Inject,
|
|
2915
2923
|
args: [MAT_DIALOG_DATA]
|
|
2916
2924
|
}] }, { type: IconService }], null); })();
|
|
2917
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ExtensionDialogComponent, { className: "ExtensionDialogComponent", filePath: "lib
|
|
2925
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ExtensionDialogComponent, { className: "ExtensionDialogComponent", filePath: "lib/extension-dialog/extension-dialog.component.ts", lineNumber: 18 }); })();
|
|
2918
2926
|
|
|
2919
2927
|
class ExtensionDialogService {
|
|
2920
2928
|
constructor(dialog) {
|
|
@@ -2943,7 +2951,7 @@ class OpenExtensionDialogComponent {
|
|
|
2943
2951
|
this.service.open(this.extensions);
|
|
2944
2952
|
}
|
|
2945
2953
|
static { this.ɵfac = function OpenExtensionDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OpenExtensionDialogComponent)(i0.ɵɵdirectiveInject(ExtensionDialogService)); }; }
|
|
2946
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OpenExtensionDialogComponent, selectors: [["lib-open-extension-dialog"]], inputs: { extensions: "extensions" }, decls: 3, vars: 3, consts: [["type", "button", 1, "open-extension-popup", "btn-as-link", 3, "click"]], template: function OpenExtensionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2954
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OpenExtensionDialogComponent, selectors: [["lib-open-extension-dialog"]], inputs: { extensions: "extensions" }, standalone: false, decls: 3, vars: 3, consts: [["type", "button", 1, "open-extension-popup", "btn-as-link", 3, "click"]], template: function OpenExtensionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2947
2955
|
i0.ɵɵelementStart(0, "button", 0);
|
|
2948
2956
|
i0.ɵɵlistener("click", function OpenExtensionDialogComponent_Template_button_click_0_listener() { return ctx.open(); });
|
|
2949
2957
|
i0.ɵɵtext(1);
|
|
@@ -2956,11 +2964,11 @@ class OpenExtensionDialogComponent {
|
|
|
2956
2964
|
}
|
|
2957
2965
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OpenExtensionDialogComponent, [{
|
|
2958
2966
|
type: Component,
|
|
2959
|
-
args: [{ selector: 'lib-open-extension-dialog', template: "<button type=\"button\" class=\"open-extension-popup btn-as-link\" (click)=\"open()\">\r\n {{'EXTENSION_POPUP.OPEN' | translate}}\r\n</button>", styles: ["button.open-extension-popup{font-size:.875em}\n"] }]
|
|
2967
|
+
args: [{ selector: 'lib-open-extension-dialog', standalone: false, template: "<button type=\"button\" class=\"open-extension-popup btn-as-link\" (click)=\"open()\">\r\n {{'EXTENSION_POPUP.OPEN' | translate}}\r\n</button>", styles: ["button.open-extension-popup{font-size:.875em}\n"] }]
|
|
2960
2968
|
}], () => [{ type: ExtensionDialogService }], { extensions: [{
|
|
2961
2969
|
type: Input
|
|
2962
2970
|
}] }); })();
|
|
2963
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OpenExtensionDialogComponent, { className: "OpenExtensionDialogComponent", filePath: "lib
|
|
2971
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OpenExtensionDialogComponent, { className: "OpenExtensionDialogComponent", filePath: "lib/extension-dialog/components/open-extension-dialog/open-extension-dialog.component.ts", lineNumber: 10 }); })();
|
|
2964
2972
|
|
|
2965
2973
|
class ExtensionDialogModule {
|
|
2966
2974
|
static { this.ɵfac = function ExtensionDialogModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExtensionDialogModule)(); }; }
|
|
@@ -3048,7 +3056,7 @@ function FileUploadComponent_ng_template_3_span_8_Template(rf, ctx) { if (rf & 1
|
|
|
3048
3056
|
const i_r7 = ctx.index;
|
|
3049
3057
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
3050
3058
|
i0.ɵɵadvance();
|
|
3051
|
-
i0.ɵɵtextInterpolate2("", format_r6, "", ctx_r1.accept.length - 1 === i_r7 ? "." : ", "
|
|
3059
|
+
i0.ɵɵtextInterpolate2("", format_r6, "", ctx_r1.accept.length - 1 === i_r7 ? "." : ", ");
|
|
3052
3060
|
} }
|
|
3053
3061
|
function FileUploadComponent_ng_template_3_span_9_Template(rf, ctx) { if (rf & 1) {
|
|
3054
3062
|
i0.ɵɵelement(0, "span", 19);
|
|
@@ -3083,7 +3091,7 @@ function FileUploadComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
3083
3091
|
i0.ɵɵtemplate(8, FileUploadComponent_ng_template_3_span_8_Template, 2, 2, "span", 16)(9, FileUploadComponent_ng_template_3_span_9_Template, 2, 6, "span", 17);
|
|
3084
3092
|
i0.ɵɵtext(10, ") ");
|
|
3085
3093
|
i0.ɵɵelementEnd();
|
|
3086
|
-
i0.ɵɵ
|
|
3094
|
+
i0.ɵɵconditionalCreate(11, FileUploadComponent_ng_template_3_Conditional_11_Template, 2, 1, "a", 18);
|
|
3087
3095
|
i0.ɵɵelementEnd()();
|
|
3088
3096
|
} if (rf & 2) {
|
|
3089
3097
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -3185,7 +3193,7 @@ class FileUploadComponent {
|
|
|
3185
3193
|
} if (rf & 2) {
|
|
3186
3194
|
let _t;
|
|
3187
3195
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
3188
|
-
} }, inputs: { accept: "accept", useCompactUpload: "useCompactUpload", maxSize: "maxSize", multiple: "multiple", filePreviewProgress: "filePreviewProgress", allowEmpty: "allowEmpty", disabled: "disabled", dragZoneLabel: "dragZoneLabel", uploadIconName: "uploadIconName", uploadButtonLabel: "uploadButtonLabel", openExtensionPopupLabel: "openExtensionPopupLabel", minSupportedFormatCount: "minSupportedFormatCount", extendedAcceptList: "extendedAcceptList" }, outputs: { fileChange: "fileChange", errorEvent: "errorEvent" }, ngContentSelectors: _c1$5, decls: 7, vars: 9, consts: [["regularUpload", ""], ["fileInput", ""], ["inputButton", ""], [1, "file-upload", 3, "ngClass.lt-sm"], ["color", "primary", "class", "tld-file-upload-progress", 3, "value", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["type", "file", "name", "files", 1, "native-file-input", 3, "change", "accept", "multiple", "disabled"], ["color", "primary", 1, "tld-file-upload-progress", 3, "value"], ["tldDragAndDrop", "", "mat-button", "", "type", "button", 1, "upload-button", "text-l", 3, "fileDropped", "click", "disabled"], [4, "ngIf"], ["tldDragAndDrop", "", 1, "upload-zone", 3, "fileDropped"], ["svgIcon", "file_upload_icon"], [1, "upload-zone-labels"], ["color", "accent", 1, "file-upload--btn", 3, "click"], ["fxHide.lt-sm", "", 1, "upload-label", 3, "innerHTML"], [1, "upload-zone-formats"], [4, "ngFor", "ngForOf"], [3, "innerHTML", 4, "ngIf"], [1, "supported-formats-btn"], [3, "innerHTML"], [1, "supported-formats-btn", 3, "click"]], template: function FileUploadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3196
|
+
} }, inputs: { accept: "accept", useCompactUpload: "useCompactUpload", maxSize: "maxSize", multiple: "multiple", filePreviewProgress: "filePreviewProgress", allowEmpty: "allowEmpty", disabled: "disabled", dragZoneLabel: "dragZoneLabel", uploadIconName: "uploadIconName", uploadButtonLabel: "uploadButtonLabel", openExtensionPopupLabel: "openExtensionPopupLabel", minSupportedFormatCount: "minSupportedFormatCount", extendedAcceptList: "extendedAcceptList" }, outputs: { fileChange: "fileChange", errorEvent: "errorEvent" }, standalone: false, ngContentSelectors: _c1$5, decls: 7, vars: 9, consts: [["regularUpload", ""], ["fileInput", ""], ["inputButton", ""], [1, "file-upload", 3, "ngClass.lt-sm"], ["color", "primary", "class", "tld-file-upload-progress", 3, "value", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["type", "file", "name", "files", 1, "native-file-input", 3, "change", "accept", "multiple", "disabled"], ["color", "primary", 1, "tld-file-upload-progress", 3, "value"], ["tldDragAndDrop", "", "mat-button", "", "type", "button", 1, "upload-button", "text-l", 3, "fileDropped", "click", "disabled"], [4, "ngIf"], ["tldDragAndDrop", "", 1, "upload-zone", 3, "fileDropped"], ["svgIcon", "file_upload_icon"], [1, "upload-zone-labels"], ["color", "accent", 1, "file-upload--btn", 3, "click"], ["fxHide.lt-sm", "", 1, "upload-label", 3, "innerHTML"], [1, "upload-zone-formats"], [4, "ngFor", "ngForOf"], [3, "innerHTML", 4, "ngIf"], [1, "supported-formats-btn"], [3, "innerHTML"], [1, "supported-formats-btn", 3, "click"]], template: function FileUploadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3189
3197
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
3190
3198
|
i0.ɵɵprojectionDef();
|
|
3191
3199
|
i0.ɵɵelementStart(0, "div", 3);
|
|
@@ -3207,7 +3215,7 @@ class FileUploadComponent {
|
|
|
3207
3215
|
}
|
|
3208
3216
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploadComponent, [{
|
|
3209
3217
|
type: Component,
|
|
3210
|
-
args: [{ selector: 'lib-file-upload', template: "<div class=\"file-upload\" [ngClass.lt-sm]=\"'file-upload-mobile'\" [class.disabled]=\"disabled\">\r\n <mat-progress-bar \r\n *ngIf=\"filePreviewProgress\"\r\n color=\"primary\" \r\n class=\"tld-file-upload-progress\" \r\n [value]=\"filePreviewProgress\"\r\n >\r\n </mat-progress-bar>\r\n\r\n <ng-container *ngIf=\"useCompactUpload; else regularUpload\">\r\n <button tldDragAndDrop #inputButton mat-button (fileDropped)=\"onFileDrop($event)\" [disabled]=\"disabled\" type=\"button\"\r\n (click)=\"fileInput.click()\" class=\"upload-button text-l\"\r\n >\r\n <mat-icon *ngIf=\"uploadIconName\">{{uploadIconName}}</mat-icon>\r\n <ng-content></ng-content>\r\n </button>\r\n </ng-container>\r\n\r\n <ng-template #regularUpload>\r\n <div class=\"upload-zone\" tldDragAndDrop (fileDropped)=\"onFileDrop($event)\" [class.disabled-upload-zone]=\"disabled\">\r\n <mat-icon svgIcon=\"file_upload_icon\"></mat-icon>\r\n\r\n \r\n <div class=\"upload-zone-labels\">\r\n <a color=\"accent\" class=\"file-upload--btn\" (click)=\"fileInput.click()\">{{ uploadButtonLabel }}</a>\r\n \r\n <span fxHide.lt-sm class=\"upload-label\" [innerHTML]=\"dragZoneLabel\"></span>\r\n \r\n <p class=\"upload-zone-formats\">\r\n (<span *ngFor=\"let format of accept; let i = index\"\r\n >{{ format\r\n }}{{ accept.length - 1 === i ? \".\" : \", \" }}</span\r\n >\r\n\r\n <span *ngIf=\"maxSize\" [innerHTML]=\"'FILE_UPLOAD.LIMITS_MB' | translate: { maxSize: maxSizeLabel }\"></span>)\r\n </p>\r\n \r\n @if (accept.length > minSupportedFormatCount) {\r\n <a class=\"supported-formats-btn\" (click)=\"openSupportedFormatModal()\">{{openExtensionPopupLabel}}</a>\r\n }\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<input \r\n #fileInput \r\n type=\"file\" \r\n name=\"files\" \r\n class=\"native-file-input\"\r\n [accept]=\"allowedExtensions\" \r\n [multiple]=\"multiple\" \r\n [disabled]=\"disabled\"\r\n (change)=\"handleFileInput($event)\" \r\n/>\r\n", styles: [":host{width:100%}.file-upload{display:flex;flex-direction:column;justify-content:center;text-align:center}.file-upload .upload-button,.file-upload .upload-zone{display:flex;border-radius:16px;border:1px dashed var(--base-65)}.file-upload .upload-button{justify-content:start;min-height:52px;overflow:hidden;padding:16px!important}.file-upload .upload-zone{flex-direction:column;justify-content:center;align-items:center;width:100%;padding:42px 0}.file-upload .upload-zone-labels{margin-top:10px;font-size:16px;font-weight:600;line-height:24px;text-align:center}.file-upload .upload-zone-labels .upload-zone-formats{font-weight:400}.file-upload .supported-formats-btn{cursor:pointer;color:var(--accent);font-weight:400}.file-upload .disabled-upload-zone{cursor:not-allowed}.file-upload .file-upload--btn,.file-upload .upload-label:not(.file-upload-mobile){margin-top:10px}.file-upload .file-upload--btn{cursor:pointer;align-self:center;max-width:fit-content;color:var(--accent)}.file-upload .file-upload--btn:hover{text-decoration:underline}.file-upload .upload-zone-formats{margin:10px 0 4px;color:var(--base-40)}.disabled .file-upload--btn{pointer-events:none!important;text-decoration:none!important;color:var(--base-40)}.native-file-input{display:none}\n"] }]
|
|
3218
|
+
args: [{ selector: 'lib-file-upload', standalone: false, template: "<div class=\"file-upload\" [ngClass.lt-sm]=\"'file-upload-mobile'\" [class.disabled]=\"disabled\">\r\n <mat-progress-bar \r\n *ngIf=\"filePreviewProgress\"\r\n color=\"primary\" \r\n class=\"tld-file-upload-progress\" \r\n [value]=\"filePreviewProgress\"\r\n >\r\n </mat-progress-bar>\r\n\r\n <ng-container *ngIf=\"useCompactUpload; else regularUpload\">\r\n <button tldDragAndDrop #inputButton mat-button (fileDropped)=\"onFileDrop($event)\" [disabled]=\"disabled\" type=\"button\"\r\n (click)=\"fileInput.click()\" class=\"upload-button text-l\"\r\n >\r\n <mat-icon *ngIf=\"uploadIconName\">{{uploadIconName}}</mat-icon>\r\n <ng-content></ng-content>\r\n </button>\r\n </ng-container>\r\n\r\n <ng-template #regularUpload>\r\n <div class=\"upload-zone\" tldDragAndDrop (fileDropped)=\"onFileDrop($event)\" [class.disabled-upload-zone]=\"disabled\">\r\n <mat-icon svgIcon=\"file_upload_icon\"></mat-icon>\r\n\r\n \r\n <div class=\"upload-zone-labels\">\r\n <a color=\"accent\" class=\"file-upload--btn\" (click)=\"fileInput.click()\">{{ uploadButtonLabel }}</a>\r\n \r\n <span fxHide.lt-sm class=\"upload-label\" [innerHTML]=\"dragZoneLabel\"></span>\r\n \r\n <p class=\"upload-zone-formats\">\r\n (<span *ngFor=\"let format of accept; let i = index\"\r\n >{{ format\r\n }}{{ accept.length - 1 === i ? \".\" : \", \" }}</span\r\n >\r\n\r\n <span *ngIf=\"maxSize\" [innerHTML]=\"'FILE_UPLOAD.LIMITS_MB' | translate: { maxSize: maxSizeLabel }\"></span>)\r\n </p>\r\n \r\n @if (accept.length > minSupportedFormatCount) {\r\n <a class=\"supported-formats-btn\" (click)=\"openSupportedFormatModal()\">{{openExtensionPopupLabel}}</a>\r\n }\r\n </div>\r\n </div>\r\n</ng-template>\r\n\r\n<input \r\n #fileInput \r\n type=\"file\" \r\n name=\"files\" \r\n class=\"native-file-input\"\r\n [accept]=\"allowedExtensions\" \r\n [multiple]=\"multiple\" \r\n [disabled]=\"disabled\"\r\n (change)=\"handleFileInput($event)\" \r\n/>\r\n", styles: [":host{width:100%}.file-upload{display:flex;flex-direction:column;justify-content:center;text-align:center}.file-upload .upload-button,.file-upload .upload-zone{display:flex;border-radius:16px;border:1px dashed var(--base-65)}.file-upload .upload-button{justify-content:start;min-height:52px;overflow:hidden;padding:16px!important}.file-upload .upload-zone{flex-direction:column;justify-content:center;align-items:center;width:100%;padding:42px 0}.file-upload .upload-zone-labels{margin-top:10px;font-size:16px;font-weight:600;line-height:24px;text-align:center}.file-upload .upload-zone-labels .upload-zone-formats{font-weight:400}.file-upload .supported-formats-btn{cursor:pointer;color:var(--accent);font-weight:400}.file-upload .disabled-upload-zone{cursor:not-allowed}.file-upload .file-upload--btn,.file-upload .upload-label:not(.file-upload-mobile){margin-top:10px}.file-upload .file-upload--btn{cursor:pointer;align-self:center;max-width:fit-content;color:var(--accent)}.file-upload .file-upload--btn:hover{text-decoration:underline}.file-upload .upload-zone-formats{margin:10px 0 4px;color:var(--base-40)}.disabled .file-upload--btn{pointer-events:none!important;text-decoration:none!important;color:var(--base-40)}.native-file-input{display:none}\n"] }]
|
|
3211
3219
|
}], () => [], { fileInput: [{
|
|
3212
3220
|
type: ViewChild,
|
|
3213
3221
|
args: ['fileInput']
|
|
@@ -3242,7 +3250,7 @@ class FileUploadComponent {
|
|
|
3242
3250
|
}], extendedAcceptList: [{
|
|
3243
3251
|
type: Input
|
|
3244
3252
|
}] }); })();
|
|
3245
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FileUploadComponent, { className: "FileUploadComponent", filePath: "lib
|
|
3253
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FileUploadComponent, { className: "FileUploadComponent", filePath: "lib/file-upload/file-upload.component.ts", lineNumber: 16 }); })();
|
|
3246
3254
|
|
|
3247
3255
|
class FileUploadModule {
|
|
3248
3256
|
static { this.ɵfac = function FileUploadModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileUploadModule)(); }; }
|
|
@@ -3286,10 +3294,10 @@ class FileUploadModule {
|
|
|
3286
3294
|
|
|
3287
3295
|
const _c0$a = ["filterWrapper"];
|
|
3288
3296
|
const _c1$4 = ["optionSearchInput"];
|
|
3297
|
+
const _c2$2 = a0 => ({ default: a0 });
|
|
3289
3298
|
const _forTrack0$1 = ($index, $item) => $item.fieldName;
|
|
3290
3299
|
const _forTrack1 = ($index, $item) => $item.key;
|
|
3291
3300
|
const _forTrack2 = ($index, $item) => $item.value;
|
|
3292
|
-
const _c2$2 = a0 => ({ default: a0 });
|
|
3293
3301
|
function FilterBarComponent_div_0_For_5_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
3294
3302
|
i0.ɵɵelementStart(0, "span", 15);
|
|
3295
3303
|
i0.ɵɵtext(1);
|
|
@@ -3308,11 +3316,10 @@ function FilterBarComponent_div_0_For_5_ng_container_10_Template(rf, ctx) { if (
|
|
|
3308
3316
|
i0.ɵɵelementEnd();
|
|
3309
3317
|
i0.ɵɵelementContainerEnd();
|
|
3310
3318
|
} if (rf & 2) {
|
|
3311
|
-
let tmp_17_0;
|
|
3312
3319
|
const filter_r3 = i0.ɵɵnextContext().$implicit;
|
|
3313
3320
|
i0.ɵɵadvance();
|
|
3314
3321
|
i0.ɵɵclassProp("hidden", filter_r3.values.length < 10);
|
|
3315
|
-
i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(3, 3, (
|
|
3322
|
+
i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(3, 3, (filter_r3.search == null ? null : filter_r3.search.placeholder) ?? ""));
|
|
3316
3323
|
} }
|
|
3317
3324
|
function FilterBarComponent_div_0_For_5_ng_container_11_ng_container_1_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
3318
3325
|
i0.ɵɵelementStart(0, "mat-option", 19);
|
|
@@ -3333,10 +3340,9 @@ function FilterBarComponent_div_0_For_5_ng_container_11_ng_container_1_Template(
|
|
|
3333
3340
|
i0.ɵɵpipe(3, "sortAlphabetically");
|
|
3334
3341
|
i0.ɵɵelementContainerEnd();
|
|
3335
3342
|
} if (rf & 2) {
|
|
3336
|
-
let tmp_17_0;
|
|
3337
3343
|
const filter_r3 = i0.ɵɵnextContext(2).$implicit;
|
|
3338
3344
|
i0.ɵɵadvance();
|
|
3339
|
-
i0.ɵɵrepeater(i0.ɵɵpipeBind2(3, 0, (
|
|
3345
|
+
i0.ɵɵrepeater(i0.ɵɵpipeBind2(3, 0, (filter_r3.search == null ? null : filter_r3.search.filteredValues) ?? filter_r3.values, "key"));
|
|
3340
3346
|
} }
|
|
3341
3347
|
function FilterBarComponent_div_0_For_5_ng_container_11_ng_template_2_For_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
3342
3348
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -3373,9 +3379,8 @@ function FilterBarComponent_div_0_For_5_ng_container_11_ng_template_2_Template(r
|
|
|
3373
3379
|
i0.ɵɵrepeaterCreate(0, FilterBarComponent_div_0_For_5_ng_container_11_ng_template_2_For_1_Template, 4, 6, "mat-option", 18, _forTrack2);
|
|
3374
3380
|
i0.ɵɵpipe(2, "sortTranslationsByProperty");
|
|
3375
3381
|
} if (rf & 2) {
|
|
3376
|
-
let tmp_17_0;
|
|
3377
3382
|
const filter_r3 = i0.ɵɵnextContext(2).$implicit;
|
|
3378
|
-
i0.ɵɵrepeater(i0.ɵɵpipeBind3(2, 0, (
|
|
3383
|
+
i0.ɵɵrepeater(i0.ɵɵpipeBind3(2, 0, (filter_r3.search == null ? null : filter_r3.search.filteredValues) ?? filter_r3.values, "key", "value"));
|
|
3379
3384
|
} }
|
|
3380
3385
|
function FilterBarComponent_div_0_For_5_ng_container_11_Template(rf, ctx) { if (rf & 1) {
|
|
3381
3386
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -3404,7 +3409,6 @@ function FilterBarComponent_div_0_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
3404
3409
|
i0.ɵɵtemplate(10, FilterBarComponent_div_0_For_5_ng_container_10_Template, 4, 5, "ng-container", 10)(11, FilterBarComponent_div_0_For_5_ng_container_11_Template, 4, 2, "ng-container", 10);
|
|
3405
3410
|
i0.ɵɵelementEnd()();
|
|
3406
3411
|
} if (rf & 2) {
|
|
3407
|
-
let tmp_19_0;
|
|
3408
3412
|
const filter_r3 = ctx.$implicit;
|
|
3409
3413
|
const select_r2 = i0.ɵɵreference(9);
|
|
3410
3414
|
i0.ɵɵclassProp("filter-active", filter_r3.selectedValues == null ? null : filter_r3.selectedValues.length);
|
|
@@ -3415,7 +3419,7 @@ function FilterBarComponent_div_0_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
3415
3419
|
i0.ɵɵadvance(2);
|
|
3416
3420
|
i0.ɵɵtextInterpolate(select_r2.panelOpen ? "keyboard_arrow_up" : "keyboard_arrow_down");
|
|
3417
3421
|
i0.ɵɵadvance();
|
|
3418
|
-
i0.ɵɵproperty("panelClass", "filter-panel")("panelWidth", (
|
|
3422
|
+
i0.ɵɵproperty("panelClass", "filter-panel")("panelWidth", (filter_r3 == null ? null : filter_r3.maxPanelWidth) ?? "auto")("formControlName", filter_r3.fieldName);
|
|
3419
3423
|
i0.ɵɵadvance(2);
|
|
3420
3424
|
i0.ɵɵproperty("ngIf", filter_r3 == null ? null : filter_r3.search == null ? null : filter_r3.search.placeholder);
|
|
3421
3425
|
i0.ɵɵadvance();
|
|
@@ -3652,16 +3656,16 @@ class FilterBarComponent {
|
|
|
3652
3656
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterWrapper = _t.first);
|
|
3653
3657
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.optionSearchInputs = _t);
|
|
3654
3658
|
} }, hostBindings: function FilterBarComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
3655
|
-
i0.ɵɵlistener("resize", function FilterBarComponent_resize_HostBindingHandler() { return ctx.onResize(); },
|
|
3656
|
-
} }, inputs: { settings: "settings", filterRowVisible: "filterRowVisible" }, outputs: { filterBarChange: "filterBarChange" }, decls: 1, vars: 1, consts: [["filterWrapper", ""], ["select", ""], ["optionSearchInput", ""], ["sortedValuesByProperty", ""], ["defaultCase", ""], ["class", "filter-row", 4, "ngIf"], [1, "filter-row"], ["fxLayout", "row", 1, "filter-wrapper", 3, "formGroup"], [3, "formGroup"], ["mat-stroked-button", "", "color", "accent", 1, "select-trigger-btn", 3, "filter-active"], [4, "ngIf"], ["mat-stroked-button", "", "color", "accent", 1, "select-trigger-btn", 3, "click"], [1, "select-trigger-btn-label"], ["class", "selected-count", 4, "ngIf"], ["multiple", "", 3, "openedChange", "selectionChange", "panelClass", "panelWidth", "formControlName"], [1, "selected-count"], ["type", "text", 1, "option-search-input", 3, "keyup", "keydown", "placeholder"], [4, "ngIf", "ngIfElse"], [1, "filter-option", 3, "hidden", "disabled", "value"], [1, "filter-option", 3, "disabled", "value"], [1, "filter-arrows"], ["mat-icon-button", "", 3, "click"], [1, "material-icons-outlined"]], template: function FilterBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3659
|
+
i0.ɵɵlistener("resize", function FilterBarComponent_resize_HostBindingHandler() { return ctx.onResize(); }, i0.ɵɵresolveWindow);
|
|
3660
|
+
} }, inputs: { settings: "settings", filterRowVisible: "filterRowVisible" }, outputs: { filterBarChange: "filterBarChange" }, standalone: false, decls: 1, vars: 1, consts: [["filterWrapper", ""], ["select", ""], ["optionSearchInput", ""], ["sortedValuesByProperty", ""], ["defaultCase", ""], ["class", "filter-row", 4, "ngIf"], [1, "filter-row"], ["fxLayout", "row", 1, "filter-wrapper", 3, "formGroup"], [3, "formGroup"], ["mat-stroked-button", "", "color", "accent", 1, "select-trigger-btn", 3, "filter-active"], [4, "ngIf"], ["mat-stroked-button", "", "color", "accent", 1, "select-trigger-btn", 3, "click"], [1, "select-trigger-btn-label"], ["class", "selected-count", 4, "ngIf"], ["multiple", "", 3, "openedChange", "selectionChange", "panelClass", "panelWidth", "formControlName"], [1, "selected-count"], ["type", "text", 1, "option-search-input", 3, "keyup", "keydown", "placeholder"], [4, "ngIf", "ngIfElse"], [1, "filter-option", 3, "hidden", "disabled", "value"], [1, "filter-option", 3, "disabled", "value"], [1, "filter-arrows"], ["mat-icon-button", "", 3, "click"], [1, "material-icons-outlined"]], template: function FilterBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3657
3661
|
i0.ɵɵtemplate(0, FilterBarComponent_div_0_Template, 7, 3, "div", 5);
|
|
3658
3662
|
} if (rf & 2) {
|
|
3659
3663
|
i0.ɵɵproperty("ngIf", ctx.filterRowVisible);
|
|
3660
|
-
} }, dependencies: [i1$2.NgIf, i2$3.DefaultLayoutDirective, i4.MatSelect,
|
|
3664
|
+
} }, dependencies: [i1$2.NgIf, i2$3.DefaultLayoutDirective, i4.MatSelect, i4.MatOption, i4$1.NgControlStatus, i4$1.NgControlStatusGroup, i2$1.MatButton, i2$1.MatIconButton, i1.MatIcon, i4$1.FormGroupDirective, i4$1.FormControlName, i1$2.TitleCasePipe, i1$1.TranslatePipe, SortTranslationsByPropertyPipe, SortAlphabeticallyPipe], styles: ["[_nghost-%COMP%]{display:inline-block}.select-trigger-btn[_ngcontent-%COMP%]{position:relative}.select-trigger-btn[_ngcontent-%COMP%] mat-select[_ngcontent-%COMP%]{width:100%;height:100%;opacity:0;position:absolute;top:0;left:0}.select-trigger-btn-label[_ngcontent-%COMP%]{display:flex;align-items:center;white-space:nowrap}.selected-count[_ngcontent-%COMP%]{margin-left:3px}.filter-row[_ngcontent-%COMP%]{display:flex;min-height:40px;min-width:100%;border-radius:.5rem;max-width:100%;align-items:center;margin-bottom:.5rem}.option-search-input[_ngcontent-%COMP%]{font-size:14px;width:100%;padding:.5rem 1rem;margin-bottom:.5rem}.material-icons-outlined[_ngcontent-%COMP%]{color:var(--base-40)}.filter-wrapper[_ngcontent-%COMP%]{max-width:100%;overflow-x:hidden;overflow-y:hidden;display:flex;gap:8px;flex:1}.hidden[_ngcontent-%COMP%]{display:none} .cdk-overlay-pane:has(.filter-panel){margin:15px 0 0 -15px} .filter-panel{border-radius:4px!important}[_nghost-%COMP%] .mat-mdc-form-field-flex{background-color:var(--base-100);max-height:36px}[_nghost-%COMP%] .mat-mdc-form-field-infix{padding-top:6px!important}[_nghost-%COMP%] .mat-mdc-form-field-focus-overlay, [_nghost-%COMP%] .mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--base-95)}[_nghost-%COMP%] .mdc-text-field--focused{background-color:var(--base-70)!important}[_nghost-%COMP%] .mat-mdc-select-placeholder, [_nghost-%COMP%] .mat-mdc-select-value-text, [_nghost-%COMP%] .mdc-floating-label{font-size:14px!important}[_nghost-%COMP%] .mdc-text-field--filled{--mat-form-field-filled-active-indicator-height: 0;--mat-form-field-filled-focus-active-indicator-height: 0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}[_nghost-%COMP%] .mat-mdc-text-field-wrapper:hover{background-color:var(--base-70)!important;transition:.1s}[_nghost-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}[_nghost-%COMP%] .mdc-floating-label--float-above{margin-top:3px}"] }); }
|
|
3661
3665
|
}
|
|
3662
3666
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterBarComponent, [{
|
|
3663
3667
|
type: Component,
|
|
3664
|
-
args: [{ selector: 'tld-filter-bar', template: "<div class=\"filter-row\" *ngIf=\"filterRowVisible\">\r\n <div fxLayout=\"row\" class=\"filter-wrapper\" #filterWrapper [formGroup]=\"form\">\r\n <ng-container [formGroup]=\"filterFormGroup\">\r\n @for (filter of currentFilters; track filter.fieldName; let i = $index) {\r\n <button [class.filter-active]=\"filter.selectedValues?.length\" class=\"select-trigger-btn\" mat-stroked-button color=\"accent\" (click)=\"select.open()\">\r\n <div class=\"select-trigger-btn-label\">\r\n <span>{{filter.title | translate}}</span>\r\n <span *ngIf=\"filter.selectedValues?.length\" class=\"selected-count\">({{filter.selectedValues?.length}})</span>\r\n <mat-icon>{{ select.panelOpen ? \"keyboard_arrow_up\" : \"keyboard_arrow_down\" }}</mat-icon>\r\n </div>\r\n\r\n <mat-select\r\n multiple \r\n #select\r\n [panelClass]=\"'filter-panel'\"\r\n [panelWidth]=\"filter?.maxPanelWidth ?? 'auto'\" \r\n [formControlName]=\"filter.fieldName\" \r\n (openedChange)=\"$event === true ? focusOptionSearchInput(filter, i) : clearOptionSearchInput(filter, i)\"\r\n (selectionChange)=\"selectEvent($event, filter)\" \r\n >\r\n <ng-container *ngIf=\"filter?.search?.placeholder\">\r\n <input #optionSearchInput class=\"option-search-input\" [class.hidden]=\"filter.values!.length < 10\" type=\"text\" [placeholder]=\"filter.search?.placeholder ?? '' | translate\" (keyup)=\"filterOptions($event, filter)\" (keydown)=\"$event.stopPropagation()\">\r\n </ng-container>\r\n \r\n <ng-container *ngIf=\"filter.values.length\">\r\n <ng-container *ngIf=\"filter.translated; else sortedValuesByProperty\">\r\n @for (value of (filter.search?.filteredValues ?? filter.values) | sortAlphabetically:'key'; track value.key) {\r\n <mat-option [class.hidden]=\"filter.search?.searchCriteria && value.isSelected && !value.matchesSearchCriteria\" class=\"filter-option\" [disabled]=\"filter.singleSelection?.selected && filter.singleSelection?.value !== value.value\" [value]=\"value\">\r\n {{ filter.disableTitleCase ? value.key : (value.key | titlecase) }}\r\n </mat-option>\r\n }\r\n </ng-container>\r\n \r\n <ng-template #sortedValuesByProperty>\r\n @for (value of (filter.search?.filteredValues ?? filter.values) | sortTranslationsByProperty:'key':'value'; track value.value) {\r\n <mat-option [class.hidden]=\"filter.search?.searchCriteria && value.isSelected && !value.matchesSearchCriteria\" class=\"filter-option\" [disabled]=\"filter.singleSelection?.selected && filter.singleSelection?.value !== value.value\" [value]=\"value\">\r\n <ng-container *ngIf=\"!filter.disableTitleCase; else defaultCase\">\r\n {{ value.key | translate : { default: value.value | titlecase } }}\r\n </ng-container>\r\n \r\n <ng-template #defaultCase>\r\n {{ value.key | translate : { default: value.value } }} \r\n </ng-template>\r\n </mat-option>\r\n }\r\n </ng-template>\r\n </ng-container>\r\n </mat-select>\r\n </button>\r\n }\r\n </ng-container>\r\n </div>\r\n <ng-container *ngIf=\"filterOverflow\">\r\n <div class=\"filter-arrows\">\r\n <button mat-icon-button (click)=\"switchLeft()\">\r\n <span class=\"material-icons-outlined\">\r\n chevron_left\r\n </span>\r\n </button>\r\n <button mat-icon-button (click)=\"switchRight()\">\r\n <span class=\"material-icons-outlined\">\r\n chevron_right\r\n </span>\r\n </button>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: [":host{display:inline-block}.select-trigger-btn{position:relative}.select-trigger-btn mat-select{width:100%;height:100%;opacity:0;position:absolute;top:0;left:0}.select-trigger-btn-label{display:flex;align-items:center;white-space:nowrap}.selected-count{margin-left:3px}.filter-row{display:flex;min-height:40px;min-width:100%;border-radius:.5rem;max-width:100%;align-items:center;margin-bottom:.5rem}.option-search-input{font-size:14px;width:100%;padding:.5rem 1rem;margin-bottom:.5rem}.material-icons-outlined{color:var(--base-40)}.filter-wrapper{max-width:100%;overflow-x:hidden;overflow-y:hidden;display:flex;gap:8px;flex:1}.hidden{display:none}::ng-deep .cdk-overlay-pane:has(.filter-panel){margin:15px 0 0 -15px}::ng-deep .filter-panel{border-radius:4px!important}:host ::ng-deep .mat-mdc-form-field-flex{background-color:var(--base-100);max-height:36px}:host ::ng-deep .mat-mdc-form-field-infix{padding-top:6px!important}:host ::ng-deep .mat-mdc-form-field-focus-overlay,:host ::ng-deep .mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--base-95)}:host ::ng-deep .mdc-text-field--focused{background-color:var(--base-70)!important}:host ::ng-deep .mat-mdc-select-placeholder,:host ::ng-deep .mat-mdc-select-value-text,:host ::ng-deep .mdc-floating-label{font-size:14px!important}:host ::ng-deep .mdc-text-field--filled{--
|
|
3668
|
+
args: [{ selector: 'tld-filter-bar', standalone: false, template: "<div class=\"filter-row\" *ngIf=\"filterRowVisible\">\r\n <div fxLayout=\"row\" class=\"filter-wrapper\" #filterWrapper [formGroup]=\"form\">\r\n <ng-container [formGroup]=\"filterFormGroup\">\r\n @for (filter of currentFilters; track filter.fieldName; let i = $index) {\r\n <button [class.filter-active]=\"filter.selectedValues?.length\" class=\"select-trigger-btn\" mat-stroked-button color=\"accent\" (click)=\"select.open()\">\r\n <div class=\"select-trigger-btn-label\">\r\n <span>{{filter.title | translate}}</span>\r\n <span *ngIf=\"filter.selectedValues?.length\" class=\"selected-count\">({{filter.selectedValues?.length}})</span>\r\n <mat-icon>{{ select.panelOpen ? \"keyboard_arrow_up\" : \"keyboard_arrow_down\" }}</mat-icon>\r\n </div>\r\n\r\n <mat-select\r\n multiple \r\n #select\r\n [panelClass]=\"'filter-panel'\"\r\n [panelWidth]=\"filter?.maxPanelWidth ?? 'auto'\" \r\n [formControlName]=\"filter.fieldName\" \r\n (openedChange)=\"$event === true ? focusOptionSearchInput(filter, i) : clearOptionSearchInput(filter, i)\"\r\n (selectionChange)=\"selectEvent($event, filter)\" \r\n >\r\n <ng-container *ngIf=\"filter?.search?.placeholder\">\r\n <input #optionSearchInput class=\"option-search-input\" [class.hidden]=\"filter.values!.length < 10\" type=\"text\" [placeholder]=\"filter.search?.placeholder ?? '' | translate\" (keyup)=\"filterOptions($event, filter)\" (keydown)=\"$event.stopPropagation()\">\r\n </ng-container>\r\n \r\n <ng-container *ngIf=\"filter.values.length\">\r\n <ng-container *ngIf=\"filter.translated; else sortedValuesByProperty\">\r\n @for (value of (filter.search?.filteredValues ?? filter.values) | sortAlphabetically:'key'; track value.key) {\r\n <mat-option [class.hidden]=\"filter.search?.searchCriteria && value.isSelected && !value.matchesSearchCriteria\" class=\"filter-option\" [disabled]=\"filter.singleSelection?.selected && filter.singleSelection?.value !== value.value\" [value]=\"value\">\r\n {{ filter.disableTitleCase ? value.key : (value.key | titlecase) }}\r\n </mat-option>\r\n }\r\n </ng-container>\r\n \r\n <ng-template #sortedValuesByProperty>\r\n @for (value of (filter.search?.filteredValues ?? filter.values) | sortTranslationsByProperty:'key':'value'; track value.value) {\r\n <mat-option [class.hidden]=\"filter.search?.searchCriteria && value.isSelected && !value.matchesSearchCriteria\" class=\"filter-option\" [disabled]=\"filter.singleSelection?.selected && filter.singleSelection?.value !== value.value\" [value]=\"value\">\r\n <ng-container *ngIf=\"!filter.disableTitleCase; else defaultCase\">\r\n {{ value.key | translate : { default: value.value | titlecase } }}\r\n </ng-container>\r\n \r\n <ng-template #defaultCase>\r\n {{ value.key | translate : { default: value.value } }} \r\n </ng-template>\r\n </mat-option>\r\n }\r\n </ng-template>\r\n </ng-container>\r\n </mat-select>\r\n </button>\r\n }\r\n </ng-container>\r\n </div>\r\n <ng-container *ngIf=\"filterOverflow\">\r\n <div class=\"filter-arrows\">\r\n <button mat-icon-button (click)=\"switchLeft()\">\r\n <span class=\"material-icons-outlined\">\r\n chevron_left\r\n </span>\r\n </button>\r\n <button mat-icon-button (click)=\"switchRight()\">\r\n <span class=\"material-icons-outlined\">\r\n chevron_right\r\n </span>\r\n </button>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: [":host{display:inline-block}.select-trigger-btn{position:relative}.select-trigger-btn mat-select{width:100%;height:100%;opacity:0;position:absolute;top:0;left:0}.select-trigger-btn-label{display:flex;align-items:center;white-space:nowrap}.selected-count{margin-left:3px}.filter-row{display:flex;min-height:40px;min-width:100%;border-radius:.5rem;max-width:100%;align-items:center;margin-bottom:.5rem}.option-search-input{font-size:14px;width:100%;padding:.5rem 1rem;margin-bottom:.5rem}.material-icons-outlined{color:var(--base-40)}.filter-wrapper{max-width:100%;overflow-x:hidden;overflow-y:hidden;display:flex;gap:8px;flex:1}.hidden{display:none}::ng-deep .cdk-overlay-pane:has(.filter-panel){margin:15px 0 0 -15px}::ng-deep .filter-panel{border-radius:4px!important}:host ::ng-deep .mat-mdc-form-field-flex{background-color:var(--base-100);max-height:36px}:host ::ng-deep .mat-mdc-form-field-infix{padding-top:6px!important}:host ::ng-deep .mat-mdc-form-field-focus-overlay,:host ::ng-deep .mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--base-95)}:host ::ng-deep .mdc-text-field--focused{background-color:var(--base-70)!important}:host ::ng-deep .mat-mdc-select-placeholder,:host ::ng-deep .mat-mdc-select-value-text,:host ::ng-deep .mdc-floating-label{font-size:14px!important}:host ::ng-deep .mdc-text-field--filled{--mat-form-field-filled-active-indicator-height: 0;--mat-form-field-filled-focus-active-indicator-height: 0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}:host ::ng-deep .mat-mdc-text-field-wrapper:hover{background-color:var(--base-70)!important;transition:.1s}:host ::ng-deep .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .mdc-floating-label--float-above{margin-top:3px}\n"] }]
|
|
3665
3669
|
}], () => [{ type: i0.ChangeDetectorRef }, { type: i1$1.TranslateService }], { filterWrapper: [{
|
|
3666
3670
|
type: ViewChild,
|
|
3667
3671
|
args: ["filterWrapper"]
|
|
@@ -3678,7 +3682,7 @@ class FilterBarComponent {
|
|
|
3678
3682
|
}], filterBarChange: [{
|
|
3679
3683
|
type: Output
|
|
3680
3684
|
}] }); })();
|
|
3681
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FilterBarComponent, { className: "FilterBarComponent", filePath: "lib
|
|
3685
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FilterBarComponent, { className: "FilterBarComponent", filePath: "lib/filter-bar/filter-bar.component.ts", lineNumber: 17 }); })();
|
|
3682
3686
|
|
|
3683
3687
|
class FilterBarModule {
|
|
3684
3688
|
static { this.ɵfac = function FilterBarModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FilterBarModule)(); }; }
|
|
@@ -3790,7 +3794,7 @@ function StatusDisplayComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
3790
3794
|
} }
|
|
3791
3795
|
class StatusDisplayComponent {
|
|
3792
3796
|
static { this.ɵfac = function StatusDisplayComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StatusDisplayComponent)(); }; }
|
|
3793
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: StatusDisplayComponent, selectors: [["lib-status-display"]], inputs: { config: "config" }, ngContentSelectors: _c0$9, decls: 4, vars: 2, consts: [["loading", ""], [1, "status-display-wrapper"], [4, "ngIf", "ngIfElse"], [1, "material-icons-outlined"], ["class", "text-xl-semi-bold status-display-row-title", 3, "innerHtml", 4, "ngIf"], ["class", "text-l status-display-row-description", 3, "innerHtml", 4, "ngIf"], ["class", "text-l status-display-row-extra", 3, "innerHtml", 4, "ngIf"], [1, "text-xl-semi-bold", "status-display-row-title", 3, "innerHtml"], [1, "text-l", "status-display-row-description", 3, "innerHtml"], [1, "text-l", "status-display-row-extra", 3, "innerHtml"], ["color", "accent"]], template: function StatusDisplayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3797
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: StatusDisplayComponent, selectors: [["lib-status-display"]], inputs: { config: "config" }, standalone: false, ngContentSelectors: _c0$9, decls: 4, vars: 2, consts: [["loading", ""], [1, "status-display-wrapper"], [4, "ngIf", "ngIfElse"], [1, "material-icons-outlined"], ["class", "text-xl-semi-bold status-display-row-title", 3, "innerHtml", 4, "ngIf"], ["class", "text-l status-display-row-description", 3, "innerHtml", 4, "ngIf"], ["class", "text-l status-display-row-extra", 3, "innerHtml", 4, "ngIf"], [1, "text-xl-semi-bold", "status-display-row-title", 3, "innerHtml"], [1, "text-l", "status-display-row-description", 3, "innerHtml"], [1, "text-l", "status-display-row-extra", 3, "innerHtml"], ["color", "accent"]], template: function StatusDisplayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3794
3798
|
i0.ɵɵprojectionDef();
|
|
3795
3799
|
i0.ɵɵelementStart(0, "div", 1);
|
|
3796
3800
|
i0.ɵɵtemplate(1, StatusDisplayComponent_ng_container_1_Template, 8, 4, "ng-container", 2)(2, StatusDisplayComponent_ng_template_2_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
@@ -3799,16 +3803,16 @@ class StatusDisplayComponent {
|
|
|
3799
3803
|
const loading_r2 = i0.ɵɵreference(3);
|
|
3800
3804
|
i0.ɵɵadvance();
|
|
3801
3805
|
i0.ɵɵproperty("ngIf", !ctx.config.loading)("ngIfElse", loading_r2);
|
|
3802
|
-
} }, dependencies: [i1$2.NgIf,
|
|
3806
|
+
} }, dependencies: [i1$2.NgIf, i2$5.MatProgressSpinner, i1$1.TranslatePipe], styles: [".status-display-wrapper[_ngcontent-%COMP%]{margin:4rem 0;display:flex;flex-direction:column;align-items:center}.status-display-row-title[_ngcontent-%COMP%], .status-display-row-description[_ngcontent-%COMP%], .status-display-row-extra[_ngcontent-%COMP%]{text-align:center}.status-display-row-description[_ngcontent-%COMP%]{max-width:500px;white-space:wrap}.status-display-row-extra[_ngcontent-%COMP%]{margin-top:1rem}.material-icons-outlined[_ngcontent-%COMP%]{font-size:4rem;color:var(--base-70)}mat-spinner[_ngcontent-%COMP%]{margin:auto}.material-icons[_ngcontent-%COMP%], .material-icons-outlined[_ngcontent-%COMP%]{margin-right:.5rem}"] }); }
|
|
3803
3807
|
}
|
|
3804
3808
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StatusDisplayComponent, [{
|
|
3805
3809
|
type: Component,
|
|
3806
|
-
args: [{ selector: 'lib-status-display', template: "<div class=\"status-display-wrapper\">\r\n <ng-container *ngIf=\"!config.loading; else loading\">\r\n <div>\r\n <span class=\"material-icons-outlined\">\r\n {{ config.icon }}\r\n </span>\r\n </div>\r\n <div\r\n class=\"text-xl-semi-bold status-display-row-title\"\r\n *ngIf=\"config.title\"\r\n [innerHtml]=\"config.title | translate : config.titleParams\"\r\n ></div>\r\n <div\r\n *ngIf=\"config.description\"\r\n class=\"text-l status-display-row-description\"\r\n [innerHtml]=\"config.description | translate : config.descriptionParams\"\r\n ></div>\r\n <div\r\n *ngIf=\"config.extraDescription\"\r\n class=\"text-l status-display-row-extra\"\r\n [innerHtml]=\"config.extraDescription | translate : config.extraDescriptionParams\"\r\n ></div>\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #loading>\r\n <mat-spinner color=\"accent\"></mat-spinner>\r\n </ng-template>\r\n</div>\r\n", styles: [".status-display-wrapper{margin:4rem 0;display:flex;flex-direction:column;align-items:center}.status-display-row-title,.status-display-row-description,.status-display-row-extra{text-align:center}.status-display-row-description{max-width:500px;white-space:wrap}.status-display-row-extra{margin-top:1rem}.material-icons-outlined{font-size:4rem;color:var(--base-70)}mat-spinner{margin:auto}.material-icons,.material-icons-outlined{margin-right:.5rem}\n"] }]
|
|
3810
|
+
args: [{ selector: 'lib-status-display', standalone: false, template: "<div class=\"status-display-wrapper\">\r\n <ng-container *ngIf=\"!config.loading; else loading\">\r\n <div>\r\n <span class=\"material-icons-outlined\">\r\n {{ config.icon }}\r\n </span>\r\n </div>\r\n <div\r\n class=\"text-xl-semi-bold status-display-row-title\"\r\n *ngIf=\"config.title\"\r\n [innerHtml]=\"config.title | translate : config.titleParams\"\r\n ></div>\r\n <div\r\n *ngIf=\"config.description\"\r\n class=\"text-l status-display-row-description\"\r\n [innerHtml]=\"config.description | translate : config.descriptionParams\"\r\n ></div>\r\n <div\r\n *ngIf=\"config.extraDescription\"\r\n class=\"text-l status-display-row-extra\"\r\n [innerHtml]=\"config.extraDescription | translate : config.extraDescriptionParams\"\r\n ></div>\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #loading>\r\n <mat-spinner color=\"accent\"></mat-spinner>\r\n </ng-template>\r\n</div>\r\n", styles: [".status-display-wrapper{margin:4rem 0;display:flex;flex-direction:column;align-items:center}.status-display-row-title,.status-display-row-description,.status-display-row-extra{text-align:center}.status-display-row-description{max-width:500px;white-space:wrap}.status-display-row-extra{margin-top:1rem}.material-icons-outlined{font-size:4rem;color:var(--base-70)}mat-spinner{margin:auto}.material-icons,.material-icons-outlined{margin-right:.5rem}\n"] }]
|
|
3807
3811
|
}], null, { config: [{
|
|
3808
3812
|
type: Input,
|
|
3809
3813
|
args: [{ required: true }]
|
|
3810
3814
|
}] }); })();
|
|
3811
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(StatusDisplayComponent, { className: "StatusDisplayComponent", filePath: "lib
|
|
3815
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(StatusDisplayComponent, { className: "StatusDisplayComponent", filePath: "lib/status-display/status-display.component.ts", lineNumber: 10 }); })();
|
|
3812
3816
|
|
|
3813
3817
|
const _c0$8 = ["tableContainer"];
|
|
3814
3818
|
const _c1$3 = ["filterBar"];
|
|
@@ -3881,13 +3885,12 @@ function MultiFunctionalTableComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
3881
3885
|
i0.ɵɵtemplate(7, MultiFunctionalTableComponent_div_5_button_7_Template, 3, 0, "button", 36);
|
|
3882
3886
|
i0.ɵɵelementEnd();
|
|
3883
3887
|
} if (rf & 2) {
|
|
3884
|
-
let tmp_6_0;
|
|
3885
3888
|
const wildSearch_r8 = i0.ɵɵreference(5);
|
|
3886
3889
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
3887
3890
|
i0.ɵɵadvance();
|
|
3888
3891
|
i0.ɵɵproperty("matTooltip", ctx_r2.hideSearchTooltip ? "" : i0.ɵɵpipeBind1(2, 4, ctx_r2.searchTooltip));
|
|
3889
3892
|
i0.ɵɵadvance(3);
|
|
3890
|
-
i0.ɵɵproperty("value", (
|
|
3893
|
+
i0.ɵɵproperty("value", (ctx_r2.config.filter == null ? null : ctx_r2.config.filter.settings == null ? null : ctx_r2.config.filter.settings.searchValue) ?? "")("placeholder", i0.ɵɵpipeBind1(6, 6, ctx_r2.searchTitle));
|
|
3891
3894
|
i0.ɵɵadvance(3);
|
|
3892
3895
|
i0.ɵɵproperty("ngIf", ctx_r2.showSearchClearButton && wildSearch_r8.value);
|
|
3893
3896
|
} }
|
|
@@ -3902,17 +3905,14 @@ function MultiFunctionalTableComponent_tld_filter_bar_7_Template(rf, ctx) { if (
|
|
|
3902
3905
|
} }
|
|
3903
3906
|
function MultiFunctionalTableComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
3904
3907
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
3905
|
-
i0.ɵɵ
|
|
3906
|
-
i0.ɵɵ
|
|
3907
|
-
i0.ɵɵ
|
|
3908
|
-
i0.ɵɵlistener("page", function MultiFunctionalTableComponent_Conditional_9_Template_mat_paginator_page_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.paginatorChange($event)); });
|
|
3908
|
+
i0.ɵɵelementStart(0, "mat-paginator", 39);
|
|
3909
|
+
i0.ɵɵpipe(1, "translate");
|
|
3910
|
+
i0.ɵɵlistener("page", function MultiFunctionalTableComponent_Conditional_9_Template_mat_paginator_page_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.paginatorChange($event)); });
|
|
3909
3911
|
i0.ɵɵelementEnd();
|
|
3910
3912
|
} if (rf & 2) {
|
|
3911
|
-
let tmp_7_0;
|
|
3912
3913
|
const paginatorConfig_r11 = i0.ɵɵnextContext().config.paginator;
|
|
3913
|
-
i0.ɵɵ
|
|
3914
|
-
i0.ɵɵ
|
|
3915
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 4, "MULTI_FUNCTIONAL_TABLE.PAGINATOR_LABEL"));
|
|
3914
|
+
i0.ɵɵproperty("hidePageSize", !paginatorConfig_r11.showPageSize)("showFirstLastButtons", paginatorConfig_r11.showFirstLastButtons)("pageSizeOptions", paginatorConfig_r11.pageSizeOptions ?? i0.ɵɵpureFunction0(6, _c4));
|
|
3915
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 4, "MULTI_FUNCTIONAL_TABLE.PAGINATOR_LABEL"));
|
|
3916
3916
|
} }
|
|
3917
3917
|
function MultiFunctionalTableComponent_th_16_Template(rf, ctx) { if (rf & 1) {
|
|
3918
3918
|
const _r12 = i0.ɵɵgetCurrentView();
|
|
@@ -4027,8 +4027,8 @@ class MultiFunctionalTableComponent {
|
|
|
4027
4027
|
this.exported = new EventEmitter();
|
|
4028
4028
|
this.selectionChange = this.matSelection.changed.asObservable().pipe(map(() => { return this.matSelection.selected; }));
|
|
4029
4029
|
/** This property will be taken into account only if config.DataSource not set. */
|
|
4030
|
-
this.data = input();
|
|
4031
|
-
this.dataSourceUpdateEffect = effect(() => { this.updateDataSourceData(); });
|
|
4030
|
+
this.data = input(...(ngDevMode ? [undefined, { debugName: "data" }] : []));
|
|
4031
|
+
this.dataSourceUpdateEffect = effect(() => { this.updateDataSourceData(); }, ...(ngDevMode ? [{ debugName: "dataSourceUpdateEffect" }] : []));
|
|
4032
4032
|
this.noDataRowIcon = "manage_search";
|
|
4033
4033
|
this.isDragging = false;
|
|
4034
4034
|
this.startX = 0;
|
|
@@ -4351,7 +4351,7 @@ class MultiFunctionalTableComponent {
|
|
|
4351
4351
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterBar = _t.first);
|
|
4352
4352
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.paginator = _t.first);
|
|
4353
4353
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tableElementRef = _t.first);
|
|
4354
|
-
} }, inputs: { config: "config", highlightedElements: "highlightedElements", trackByFn: "trackByFn", highlightedErrorElements: "highlightedErrorElements", selection: "selection", isRowCheckboxAlwaysVisible: "isRowCheckboxAlwaysVisible", disablePreselectedItems: "disablePreselectedItems", data: [1, "data"] }, outputs: { filterBarChange: "filterBarChange", paginatorUpdate: "paginatorUpdate", exported: "exported", selectionChange: "selectionChange" }, ngContentSelectors: _c3, decls: 32, vars: 22, consts: [["tableContainer", ""], ["table", ""], ["columnMenu", "matMenu"], ["wildSearch", ""], ["filterBar", ""], ["fxLayout", "column", "fxLayoutGap", "0.75rem", 3, "ngClass.lt-md"], ["fxLayout", "row", "fxLayout.lt-md", "column", "fxLayoutGap.lt-md", "0.75rem"], ["fxFlex", "", "fxLayout.lt-md", "column", "fxLayoutGap", "0.75rem", "fxLayoutAlign", "start center", "fxLayoutAlign.lt-md", "start start", 1, "action-row"], ["class", "export-data", "mat-stroked-button", "", "color", "accent", 3, "click", 4, "ngIf"], ["fxFlex", "", "fxLayoutGap", "0.5rem", "fxLayoutAlign", "start center", 4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "start center", "class", "wild-search-wrapper", 4, "ngIf"], [3, "filterRowVisible", "settings", "filterBarChange", 4, "ngIf"], [3, "hidePageSize", "showFirstLastButtons", "pageSizeOptions"], [1, "table-overflow", 3, "mousedown", "mouseup", "mouseleave", "mousemove"], ["mat-table", "", 3, "dataSource", "trackBy"], [3, "matColumnDef"], ["class", "row-select", "mat-header-cell", "", "disable-export", "", 4, "matHeaderCellDef"], ["class", "row-select", "mat-cell", "", "disable-export", "", 4, "matCellDef"], ["mat-header-row", "", 4, "matHeaderRowDef", "matHeaderRowDefSticky"], ["mat-row", "", 3, "row-clickable", "highlight-error", "highlight", "click", "mouseover", "mouseleave", 4, "matRowDef", "matRowDefColumns"], [4, "ngIf"], [1, "column-select-menu", 3, "click"], [4, "ngFor", "ngForOf"], [1, "column-select-save"], ["mat-flat-button", "", "color", "accent", 3, "click"], ["mat-stroked-button", "", "color", "accent", 1, "export-data", 3, "click"], [1, "material-icons-outlined"], ["fxFlex", "", "fxLayoutGap", "0.5rem", "fxLayoutAlign", "start center"], ["mat-stroked-button", "", "color", "accent", 3, "click"], [1, "material-icons"], ["class", "clear-filters-wrapper", 4, "ngIf"], [1, "clear-filters-wrapper"], ["mat-icon-button", "", 3, "click"], ["fxLayout", "row", "fxLayoutAlign", "start center", 1, "wild-search-wrapper"], [1, "search-icon", 3, "matTooltip"], ["type", "text", 3, "keyup", "value", "placeholder"], ["mat-icon-button", "", "class", "wild-search-clear-btn", 3, "click", 4, "ngIf"], ["mat-icon-button", "", 1, "wild-search-clear-btn", 3, "click"], [3, "filterBarChange", "filterRowVisible", "settings"], [3, "page", "hidePageSize", "showFirstLastButtons", "pageSizeOptions"], ["mat-header-cell", "", "disable-export", "", 1, "row-select"], [3, "change", "matTooltip", "disabled", "checked", "indeterminate"], ["mat-cell", "", "disable-export", "", 1, "row-select"], [3, "matTooltip", "disabled", "checked", "click", "change", 4, "ngIf"], [3, "click", "change", "matTooltip", "disabled", "checked"], ["mat-header-row", ""], ["mat-row", "", 3, "click", "mouseover", "mouseleave"], [1, "column-selector-wrapper"], ["mat-icon-button", "", "color", "accent", 1, "column-selector", 3, "matMenuTriggerFor"], [4, "matNoDataRow"], ["colspan", "99"], [3, "config"], [3, "ngModelChange", "ngModel"]], template: function MultiFunctionalTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4354
|
+
} }, inputs: { config: "config", highlightedElements: "highlightedElements", trackByFn: "trackByFn", highlightedErrorElements: "highlightedErrorElements", selection: "selection", isRowCheckboxAlwaysVisible: "isRowCheckboxAlwaysVisible", disablePreselectedItems: "disablePreselectedItems", data: [1, "data"] }, outputs: { filterBarChange: "filterBarChange", paginatorUpdate: "paginatorUpdate", exported: "exported", selectionChange: "selectionChange" }, standalone: false, ngContentSelectors: _c3, decls: 32, vars: 22, consts: [["tableContainer", ""], ["table", ""], ["columnMenu", "matMenu"], ["wildSearch", ""], ["filterBar", ""], ["fxLayout", "column", "fxLayoutGap", "0.75rem", 3, "ngClass.lt-md"], ["fxLayout", "row", "fxLayout.lt-md", "column", "fxLayoutGap.lt-md", "0.75rem"], ["fxFlex", "", "fxLayout.lt-md", "column", "fxLayoutGap", "0.75rem", "fxLayoutAlign", "start center", "fxLayoutAlign.lt-md", "start start", 1, "action-row"], ["class", "export-data", "mat-stroked-button", "", "color", "accent", 3, "click", 4, "ngIf"], ["fxFlex", "", "fxLayoutGap", "0.5rem", "fxLayoutAlign", "start center", 4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "start center", "class", "wild-search-wrapper", 4, "ngIf"], [3, "filterRowVisible", "settings", "filterBarChange", 4, "ngIf"], [3, "hidePageSize", "showFirstLastButtons", "pageSizeOptions"], [1, "table-overflow", 3, "mousedown", "mouseup", "mouseleave", "mousemove"], ["mat-table", "", 3, "dataSource", "trackBy"], [3, "matColumnDef"], ["class", "row-select", "mat-header-cell", "", "disable-export", "", 4, "matHeaderCellDef"], ["class", "row-select", "mat-cell", "", "disable-export", "", 4, "matCellDef"], ["mat-header-row", "", 4, "matHeaderRowDef", "matHeaderRowDefSticky"], ["mat-row", "", 3, "row-clickable", "highlight-error", "highlight", "click", "mouseover", "mouseleave", 4, "matRowDef", "matRowDefColumns"], [4, "ngIf"], [1, "column-select-menu", 3, "click"], [4, "ngFor", "ngForOf"], [1, "column-select-save"], ["mat-flat-button", "", "color", "accent", 3, "click"], ["mat-stroked-button", "", "color", "accent", 1, "export-data", 3, "click"], [1, "material-icons-outlined"], ["fxFlex", "", "fxLayoutGap", "0.5rem", "fxLayoutAlign", "start center"], ["mat-stroked-button", "", "color", "accent", 3, "click"], [1, "material-icons"], ["class", "clear-filters-wrapper", 4, "ngIf"], [1, "clear-filters-wrapper"], ["mat-icon-button", "", 3, "click"], ["fxLayout", "row", "fxLayoutAlign", "start center", 1, "wild-search-wrapper"], [1, "search-icon", 3, "matTooltip"], ["type", "text", 3, "keyup", "value", "placeholder"], ["mat-icon-button", "", "class", "wild-search-clear-btn", 3, "click", 4, "ngIf"], ["mat-icon-button", "", 1, "wild-search-clear-btn", 3, "click"], [3, "filterBarChange", "filterRowVisible", "settings"], [3, "page", "hidePageSize", "showFirstLastButtons", "pageSizeOptions"], ["mat-header-cell", "", "disable-export", "", 1, "row-select"], [3, "change", "matTooltip", "disabled", "checked", "indeterminate"], ["mat-cell", "", "disable-export", "", 1, "row-select"], [3, "matTooltip", "disabled", "checked", "click", "change", 4, "ngIf"], [3, "click", "change", "matTooltip", "disabled", "checked"], ["mat-header-row", ""], ["mat-row", "", 3, "click", "mouseover", "mouseleave"], [1, "column-selector-wrapper"], ["mat-icon-button", "", "color", "accent", 1, "column-selector", 3, "matMenuTriggerFor"], [4, "matNoDataRow"], ["colspan", "99"], [3, "config"], [3, "ngModelChange", "ngModel"]], template: function MultiFunctionalTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4355
4355
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
4356
4356
|
i0.ɵɵprojectionDef(_c2$1);
|
|
4357
4357
|
i0.ɵɵelementStart(0, "div", 5)(1, "div", 6)(2, "div", 7);
|
|
@@ -4362,7 +4362,7 @@ class MultiFunctionalTableComponent {
|
|
|
4362
4362
|
i0.ɵɵelementEnd();
|
|
4363
4363
|
i0.ɵɵtemplate(7, MultiFunctionalTableComponent_tld_filter_bar_7_Template, 2, 2, "tld-filter-bar", 11);
|
|
4364
4364
|
i0.ɵɵprojection(8, 1);
|
|
4365
|
-
i0.ɵɵ
|
|
4365
|
+
i0.ɵɵconditionalCreate(9, MultiFunctionalTableComponent_Conditional_9_Template, 2, 7, "mat-paginator", 12);
|
|
4366
4366
|
i0.ɵɵelementStart(10, "div", 13, 0);
|
|
4367
4367
|
i0.ɵɵlistener("mousedown", function MultiFunctionalTableComponent_Template_div_mousedown_10_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMouseDown($event)); })("mouseup", function MultiFunctionalTableComponent_Template_div_mouseup_10_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMouseUp()); })("mouseleave", function MultiFunctionalTableComponent_Template_div_mouseleave_10_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMouseUp()); })("mousemove", function MultiFunctionalTableComponent_Template_div_mousemove_10_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onMouseMove($event)); });
|
|
4368
4368
|
i0.ɵɵelementStart(12, "table", 14, 1);
|
|
@@ -4385,7 +4385,6 @@ class MultiFunctionalTableComponent {
|
|
|
4385
4385
|
i0.ɵɵpipe(31, "translate");
|
|
4386
4386
|
i0.ɵɵelementEnd()()()();
|
|
4387
4387
|
} if (rf & 2) {
|
|
4388
|
-
let tmp_15_0;
|
|
4389
4388
|
i0.ɵɵproperty("ngClass.lt-md", "mobile");
|
|
4390
4389
|
i0.ɵɵadvance(3);
|
|
4391
4390
|
i0.ɵɵproperty("ngIf", ctx.exportActive);
|
|
@@ -4404,7 +4403,7 @@ class MultiFunctionalTableComponent {
|
|
|
4404
4403
|
i0.ɵɵadvance(3);
|
|
4405
4404
|
i0.ɵɵproperty("matColumnDef", ctx.batchColumnName);
|
|
4406
4405
|
i0.ɵɵadvance(3);
|
|
4407
|
-
i0.ɵɵproperty("matHeaderRowDef", ctx.displayColumns)("matHeaderRowDefSticky", (
|
|
4406
|
+
i0.ɵɵproperty("matHeaderRowDef", ctx.displayColumns)("matHeaderRowDefSticky", (ctx.config == null ? null : ctx.config.stickyHeader) ?? false);
|
|
4408
4407
|
i0.ɵɵadvance();
|
|
4409
4408
|
i0.ɵɵproperty("matRowDefColumns", ctx.displayColumns);
|
|
4410
4409
|
i0.ɵɵadvance();
|
|
@@ -4419,7 +4418,7 @@ class MultiFunctionalTableComponent {
|
|
|
4419
4418
|
}
|
|
4420
4419
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiFunctionalTableComponent, [{
|
|
4421
4420
|
type: Component,
|
|
4422
|
-
args: [{ selector: 'tld-multi-functional-table', template: "<div [ngClass.lt-md]=\"'mobile'\" fxLayout=\"column\" fxLayoutGap=\"0.75rem\">\r\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\" fxLayoutGap.lt-md=\"0.75rem\">\r\n <div\r\n fxFlex\r\n fxLayout.lt-md=\"column\"\r\n fxLayoutGap=\"0.75rem\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutAlign.lt-md=\"start start\"\r\n class=\"action-row\"\r\n >\r\n <button\r\n class=\"export-data\"\r\n mat-stroked-button\r\n color=\"accent\"\r\n *ngIf=\"exportActive\"\r\n (click)=\"export()\"\r\n >\r\n <span class=\"material-icons-outlined\">cloud_download</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.EXPORT\" | translate }}</span>\r\n </button>\r\n\r\n <div\r\n *ngIf=\"filterActive && showFilterToggle\"\r\n fxFlex\r\n fxLayoutGap=\"0.5rem\"\r\n fxLayoutAlign=\"start center\"\r\n >\r\n <button\r\n [class.filter-active]=\"filterBarVisible\"\r\n mat-stroked-button\r\n color=\"accent\"\r\n (click)=\"toggleFilterBar()\"\r\n >\r\n <span class=\"material-icons\">filter_list</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.FILTER_TOGGLE\" | translate }}</span>\r\n </button>\r\n\r\n <div *ngIf=\"showFilterReset\" class=\"clear-filters-wrapper\">\r\n <button mat-icon-button (click)=\"clearFilters()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"showSearch\"\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n class=\"wild-search-wrapper\"\r\n >\r\n <mat-icon\r\n class=\"search-icon\"\r\n [matTooltip]=\"hideSearchTooltip ? '' : (searchTooltip | translate)\"\r\n >search</mat-icon\r\n >\r\n <input\r\n [value]=\"config.filter?.settings?.searchValue ?? ''\"\r\n #wildSearch\r\n type=\"text\"\r\n [placeholder]=\"searchTitle | translate\"\r\n (keyup)=\"search($event)\"\r\n />\r\n <button\r\n *ngIf=\"showSearchClearButton && wildSearch.value\"\r\n mat-icon-button\r\n class=\"wild-search-clear-btn\"\r\n (click)=\"wildSearch.value = ''; search({ target: { value: '' } })\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <ng-content select=\"[additionalActions]\"></ng-content>\r\n </div>\r\n\r\n <tld-filter-bar\r\n *ngIf=\"config.filter && config.filter.enabled\"\r\n #filterBar\r\n [filterRowVisible]=\"filterBarVisible\"\r\n [settings]=\"config.filter.settings\"\r\n (filterBarChange)=\"filtersChanged($event)\"\r\n >\r\n </tld-filter-bar>\r\n\r\n <ng-content select=\"[batchActions]\"></ng-content>\r\n\r\n @if(config.paginator?.enabled){\r\n @let paginatorConfig = config.paginator!;\r\n\r\n <mat-paginator [hidePageSize]=\"!paginatorConfig.showPageSize\" [showFirstLastButtons]=\"paginatorConfig.showFirstLastButtons\"\r\n [attr.aria-label]=\"'MULTI_FUNCTIONAL_TABLE.PAGINATOR_LABEL' | translate\" [pageSizeOptions]=\"paginatorConfig.pageSizeOptions ?? [10]\" (page)=\"paginatorChange($event)\">\r\n </mat-paginator>\r\n }\r\n <div\r\n #tableContainer\r\n class=\"table-overflow\"\r\n [class.table-sticky-header]=\"config?.stickyHeader\"\r\n [class.table-dragable]=\"tableOverflow && !config?.disableMouseDragging\"\r\n (mousedown)=\"onMouseDown($event)\"\r\n (mouseup)=\"onMouseUp()\"\r\n (mouseleave)=\"onMouseUp()\"\r\n (mousemove)=\"onMouseMove($event)\"\r\n >\r\n <table\r\n #table\r\n mat-table\r\n [dataSource]=\"dataSource!\"\r\n [trackBy]=\"trackByFn\"\r\n >\r\n <ng-content></ng-content>\r\n <ng-container [matColumnDef]=\"batchColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT_ALL' | translate\"\r\n [disabled]=\"config.batchConfig!.checkBoxesDisabled\"\r\n (change)=\"toggleAllRowSelection()\"\r\n [checked]=\"matSelection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"matSelection.hasValue() && !isAllSelected()\"\r\n >\r\n </mat-checkbox>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n >\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT' | translate\"\r\n *ngIf=\"\r\n isRowCheckboxAlwaysVisible ||\r\n hoveredRow === element ||\r\n matSelection.isSelected(element)\r\n \"\r\n [disabled]=\"\r\n config.batchConfig!.checkBoxesDisabled ||\r\n (preselectedItems.includes(element) && disablePreselectedItems)\r\n \"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"toggleElementSelection(element)\"\r\n [checked]=\"matSelection.isSelected(element)\"\r\n >\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <tr\r\n mat-header-row\r\n *matHeaderRowDef=\"displayColumns; sticky: config?.stickyHeader ?? false\"\r\n ></tr>\r\n <tr\r\n mat-row\r\n *matRowDef=\"let row; let index = index; columns: displayColumns\"\r\n (click)=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n ? config?.rowClickCallback(row)\r\n : null\r\n \"\r\n (mouseover)=\"rowHovered(index,row)\"\r\n (mouseleave)=\"rowHoverLeave()\"\r\n [class.row-clickable]=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n \"\r\n [class.highlight-error]=\"highlightErrorElement(index, row)\"\r\n [class.highlight]=\"isElementHighlighted(index,row)\"\r\n ></tr>\r\n\r\n <ng-container [matColumnDef]=\"columnSelectColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <div class=\"column-selector-wrapper\">\r\n <button\r\n class=\"column-selector\"\r\n mat-icon-button\r\n color=\"accent\"\r\n [matMenuTriggerFor]=\"columnMenu\"\r\n >\r\n <span class=\"material-icons\">more_vert</span>\r\n </button>\r\n </div>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n ></td>\r\n </ng-container>\r\n <ng-container *ngIf=\"noDataRowActive\">\r\n <tr *matNoDataRow>\r\n <!-- add random number to make sure it takes full width -->\r\n <td colspan=\"99\">\r\n <lib-status-display [config]=\"noDataRowConfig\"></lib-status-display>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </table>\r\n </div>\r\n</div>\r\n\r\n<mat-menu #columnMenu=\"matMenu\">\r\n <div class=\"column-select-menu\" (click)=\"$event.stopPropagation()\">\r\n <div *ngFor=\"let column of configurableColumns\">\r\n <mat-checkbox [(ngModel)]=\"column.selected\">\r\n {{ column.displayName | translate }}\r\n </mat-checkbox>\r\n </div>\r\n\r\n <div class=\"column-select-save\">\r\n <button\r\n mat-flat-button\r\n color=\"accent\"\r\n (click)=\"updateDisplayColumns()\"\r\n >\r\n {{ \"MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE\" | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n", styles: [":host ::ng-deep th,:host ::ng-deep tr{white-space:nowrap}:host ::ng-deep td:not(:first-of-type){padding-right:10px!important}:host ::ng-deep tr.mat-mdc-row:hover,:host ::ng-deep tr.mat-mdc-row.highlight{background-color:var(--base-95)}:host ::ng-deep tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}:host ::ng-deep .export-data .mdc-button__label{display:flex;align-items:center}:host ::ng-deep .mat-mdc-cell,:host ::ng-deep .mat-mdc-header-cell,:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}:host ::ng-deep .mdc-data-table__cell:nth-child(2),:host ::ng-deep .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}:host ::ng-deep td+.cdk-column-columnSelect{display:none}:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button,:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}:host ::ng-deep .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}:host ::ng-deep .filter-active{background-color:var(--neutral-95)}:host ::ng-deep .row-actions{opacity:0}:host ::ng-deep .mobile .row-actions,:host ::ng-deep .highlight .row-actions{opacity:1}:host ::ng-deep .mat-mdc-paginator-range-actions button{padding:8px}table{width:100%}.wild-search-wrapper{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper input{margin-right:30px}.wild-search-wrapper .search-icon{color:var(--base-40)}.wild-search-wrapper .wild-search-clear-btn{position:absolute;right:3px}.wild-search-wrapper .mat-mdc-icon-button,.wild-search-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:33px!important;width:33px!important}.wild-search-wrapper .mat-mdc-icon-button mat-icon,.wild-search-wrapper .mat-mdc-icon-button .material-icons,.wild-search-wrapper .mat-mdc-icon-button .material-icons-outlined{top:5px!important;left:5px!important}.mobile .wild-search-wrapper{margin:0}.column-selector-wrapper{display:flex;justify-content:end}.column-select-menu{padding:8px 18px 8px 8px}.column-select-save{padding-left:8px;padding-top:8px}.column-select-save button{width:100%}.row-clickable{cursor:pointer}.row-clickable:active{background-color:var(--base-70)!important}.material-icons,.material-icons-outlined{margin-right:.5rem}.table-action-button{margin-bottom:1rem}th.mat-mdc-header-cell:first-of-type,td.mat-mdc-cell:first-of-type,td.mat-mdc-footer-cell:first-of-type{padding:0 0 0 10px}.row-select{width:0}.table-overflow{overflow-x:auto}.table-dragable{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable:active{cursor:grabbing}.table-sticky-header{max-height:70vh}\n"] }]
|
|
4421
|
+
args: [{ selector: 'tld-multi-functional-table', standalone: false, template: "<div [ngClass.lt-md]=\"'mobile'\" fxLayout=\"column\" fxLayoutGap=\"0.75rem\">\r\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\" fxLayoutGap.lt-md=\"0.75rem\">\r\n <div\r\n fxFlex\r\n fxLayout.lt-md=\"column\"\r\n fxLayoutGap=\"0.75rem\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutAlign.lt-md=\"start start\"\r\n class=\"action-row\"\r\n >\r\n <button\r\n class=\"export-data\"\r\n mat-stroked-button\r\n color=\"accent\"\r\n *ngIf=\"exportActive\"\r\n (click)=\"export()\"\r\n >\r\n <span class=\"material-icons-outlined\">cloud_download</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.EXPORT\" | translate }}</span>\r\n </button>\r\n\r\n <div\r\n *ngIf=\"filterActive && showFilterToggle\"\r\n fxFlex\r\n fxLayoutGap=\"0.5rem\"\r\n fxLayoutAlign=\"start center\"\r\n >\r\n <button\r\n [class.filter-active]=\"filterBarVisible\"\r\n mat-stroked-button\r\n color=\"accent\"\r\n (click)=\"toggleFilterBar()\"\r\n >\r\n <span class=\"material-icons\">filter_list</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.FILTER_TOGGLE\" | translate }}</span>\r\n </button>\r\n\r\n <div *ngIf=\"showFilterReset\" class=\"clear-filters-wrapper\">\r\n <button mat-icon-button (click)=\"clearFilters()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"showSearch\"\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n class=\"wild-search-wrapper\"\r\n >\r\n <mat-icon\r\n class=\"search-icon\"\r\n [matTooltip]=\"hideSearchTooltip ? '' : (searchTooltip | translate)\"\r\n >search</mat-icon\r\n >\r\n <input\r\n [value]=\"config.filter?.settings?.searchValue ?? ''\"\r\n #wildSearch\r\n type=\"text\"\r\n [placeholder]=\"searchTitle | translate\"\r\n (keyup)=\"search($event)\"\r\n />\r\n <button\r\n *ngIf=\"showSearchClearButton && wildSearch.value\"\r\n mat-icon-button\r\n class=\"wild-search-clear-btn\"\r\n (click)=\"wildSearch.value = ''; search({ target: { value: '' } })\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <ng-content select=\"[additionalActions]\"></ng-content>\r\n </div>\r\n\r\n <tld-filter-bar\r\n *ngIf=\"config.filter && config.filter.enabled\"\r\n #filterBar\r\n [filterRowVisible]=\"filterBarVisible\"\r\n [settings]=\"config.filter.settings\"\r\n (filterBarChange)=\"filtersChanged($event)\"\r\n >\r\n </tld-filter-bar>\r\n\r\n <ng-content select=\"[batchActions]\"></ng-content>\r\n\r\n @if(config.paginator?.enabled){\r\n @let paginatorConfig = config.paginator!;\r\n\r\n <mat-paginator [hidePageSize]=\"!paginatorConfig.showPageSize\" [showFirstLastButtons]=\"paginatorConfig.showFirstLastButtons\"\r\n [attr.aria-label]=\"'MULTI_FUNCTIONAL_TABLE.PAGINATOR_LABEL' | translate\" [pageSizeOptions]=\"paginatorConfig.pageSizeOptions ?? [10]\" (page)=\"paginatorChange($event)\">\r\n </mat-paginator>\r\n }\r\n <div\r\n #tableContainer\r\n class=\"table-overflow\"\r\n [class.table-sticky-header]=\"config?.stickyHeader\"\r\n [class.table-dragable]=\"tableOverflow && !config?.disableMouseDragging\"\r\n (mousedown)=\"onMouseDown($event)\"\r\n (mouseup)=\"onMouseUp()\"\r\n (mouseleave)=\"onMouseUp()\"\r\n (mousemove)=\"onMouseMove($event)\"\r\n >\r\n <table\r\n #table\r\n mat-table\r\n [dataSource]=\"dataSource!\"\r\n [trackBy]=\"trackByFn\"\r\n >\r\n <ng-content></ng-content>\r\n <ng-container [matColumnDef]=\"batchColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT_ALL' | translate\"\r\n [disabled]=\"config.batchConfig!.checkBoxesDisabled\"\r\n (change)=\"toggleAllRowSelection()\"\r\n [checked]=\"matSelection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"matSelection.hasValue() && !isAllSelected()\"\r\n >\r\n </mat-checkbox>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n >\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT' | translate\"\r\n *ngIf=\"\r\n isRowCheckboxAlwaysVisible ||\r\n hoveredRow === element ||\r\n matSelection.isSelected(element)\r\n \"\r\n [disabled]=\"\r\n config.batchConfig!.checkBoxesDisabled ||\r\n (preselectedItems.includes(element) && disablePreselectedItems)\r\n \"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"toggleElementSelection(element)\"\r\n [checked]=\"matSelection.isSelected(element)\"\r\n >\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <tr\r\n mat-header-row\r\n *matHeaderRowDef=\"displayColumns; sticky: config?.stickyHeader ?? false\"\r\n ></tr>\r\n <tr\r\n mat-row\r\n *matRowDef=\"let row; let index = index; columns: displayColumns\"\r\n (click)=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n ? config?.rowClickCallback(row)\r\n : null\r\n \"\r\n (mouseover)=\"rowHovered(index,row)\"\r\n (mouseleave)=\"rowHoverLeave()\"\r\n [class.row-clickable]=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n \"\r\n [class.highlight-error]=\"highlightErrorElement(index, row)\"\r\n [class.highlight]=\"isElementHighlighted(index,row)\"\r\n ></tr>\r\n\r\n <ng-container [matColumnDef]=\"columnSelectColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <div class=\"column-selector-wrapper\">\r\n <button\r\n class=\"column-selector\"\r\n mat-icon-button\r\n color=\"accent\"\r\n [matMenuTriggerFor]=\"columnMenu\"\r\n >\r\n <span class=\"material-icons\">more_vert</span>\r\n </button>\r\n </div>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n ></td>\r\n </ng-container>\r\n <ng-container *ngIf=\"noDataRowActive\">\r\n <tr *matNoDataRow>\r\n <!-- add random number to make sure it takes full width -->\r\n <td colspan=\"99\">\r\n <lib-status-display [config]=\"noDataRowConfig\"></lib-status-display>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </table>\r\n </div>\r\n</div>\r\n\r\n<mat-menu #columnMenu=\"matMenu\">\r\n <div class=\"column-select-menu\" (click)=\"$event.stopPropagation()\">\r\n <div *ngFor=\"let column of configurableColumns\">\r\n <mat-checkbox [(ngModel)]=\"column.selected\">\r\n {{ column.displayName | translate }}\r\n </mat-checkbox>\r\n </div>\r\n\r\n <div class=\"column-select-save\">\r\n <button\r\n mat-flat-button\r\n color=\"accent\"\r\n (click)=\"updateDisplayColumns()\"\r\n >\r\n {{ \"MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE\" | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n", styles: [":host ::ng-deep th,:host ::ng-deep tr{white-space:nowrap}:host ::ng-deep td:not(:first-of-type){padding-right:10px!important}:host ::ng-deep tr.mat-mdc-row:hover,:host ::ng-deep tr.mat-mdc-row.highlight{background-color:var(--base-95)}:host ::ng-deep tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}:host ::ng-deep .export-data .mdc-button__label{display:flex;align-items:center}:host ::ng-deep .mat-mdc-cell,:host ::ng-deep .mat-mdc-header-cell,:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}:host ::ng-deep .mdc-data-table__cell:nth-child(2),:host ::ng-deep .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}:host ::ng-deep td+.cdk-column-columnSelect{display:none}:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button,:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}:host ::ng-deep .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}:host ::ng-deep .filter-active{background-color:var(--neutral-95)}:host ::ng-deep .row-actions{opacity:0}:host ::ng-deep .mobile .row-actions,:host ::ng-deep .highlight .row-actions{opacity:1}:host ::ng-deep .mat-mdc-paginator-range-actions button{padding:8px}table{width:100%}.wild-search-wrapper{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper input{margin-right:30px}.wild-search-wrapper .search-icon{color:var(--base-40)}.wild-search-wrapper .wild-search-clear-btn{position:absolute;right:3px}.wild-search-wrapper .mat-mdc-icon-button,.wild-search-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:33px!important;width:33px!important}.wild-search-wrapper .mat-mdc-icon-button mat-icon,.wild-search-wrapper .mat-mdc-icon-button .material-icons,.wild-search-wrapper .mat-mdc-icon-button .material-icons-outlined{top:5px!important;left:5px!important}.mobile .wild-search-wrapper{margin:0}.column-selector-wrapper{display:flex;justify-content:end}.column-select-menu{padding:8px 18px 8px 8px}.column-select-save{padding-left:8px;padding-top:8px}.column-select-save button{width:100%}.row-clickable{cursor:pointer}.row-clickable:active{background-color:var(--base-70)!important}.material-icons,.material-icons-outlined{margin-right:.5rem}.table-action-button{margin-bottom:1rem}th.mat-mdc-header-cell:first-of-type,td.mat-mdc-cell:first-of-type,td.mat-mdc-footer-cell:first-of-type{padding:0 0 0 10px}.row-select{width:0}.table-overflow{overflow-x:auto}.table-dragable{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable:active{cursor:grabbing}.table-sticky-header{max-height:70vh}\n"] }]
|
|
4423
4422
|
}], () => [{ type: DOMService }, { type: i1$1.TranslateService }], { config: [{
|
|
4424
4423
|
type: Input
|
|
4425
4424
|
}], highlightedElements: [{
|
|
@@ -4473,7 +4472,7 @@ class MultiFunctionalTableComponent {
|
|
|
4473
4472
|
type: ViewChild,
|
|
4474
4473
|
args: [MatTable, { read: ElementRef }]
|
|
4475
4474
|
}] }); })();
|
|
4476
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiFunctionalTableComponent, { className: "MultiFunctionalTableComponent", filePath: "lib
|
|
4475
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiFunctionalTableComponent, { className: "MultiFunctionalTableComponent", filePath: "lib/multi-functional-table/multi-functional-table.component.ts", lineNumber: 27 }); })();
|
|
4477
4476
|
|
|
4478
4477
|
class StatusDisplayModule {
|
|
4479
4478
|
static { this.ɵfac = function StatusDisplayModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StatusDisplayModule)(); }; }
|
|
@@ -4595,7 +4594,7 @@ class ConfirmationModalComponent {
|
|
|
4595
4594
|
this.confirmation = Confirmation;
|
|
4596
4595
|
}
|
|
4597
4596
|
static { this.ɵfac = function ConfirmationModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmationModalComponent)(i0.ɵɵdirectiveInject(i1$4.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); }; }
|
|
4598
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConfirmationModalComponent, selectors: [["lib-confirmation-modal"]], decls: 15, vars: 15, consts: [["mat-dialog-title", ""], ["mat-dialog-content", ""], [1, "confirmation-description"], [4, "ngIf"], ["align", "end"], ["mat-button", "", 3, "mat-dialog-close"], ["mat-flat-button", "", "color", "accent", 3, "mat-dialog-close"], [4, "ngFor", "ngForOf"]], template: function ConfirmationModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4597
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConfirmationModalComponent, selectors: [["lib-confirmation-modal"]], standalone: false, decls: 15, vars: 15, consts: [["mat-dialog-title", ""], ["mat-dialog-content", ""], [1, "confirmation-description"], [4, "ngIf"], ["align", "end"], ["mat-button", "", 3, "mat-dialog-close"], ["mat-flat-button", "", "color", "accent", 3, "mat-dialog-close"], [4, "ngFor", "ngForOf"]], template: function ConfirmationModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4599
4598
|
i0.ɵɵelementStart(0, "h1", 0);
|
|
4600
4599
|
i0.ɵɵtext(1);
|
|
4601
4600
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -4633,12 +4632,12 @@ class ConfirmationModalComponent {
|
|
|
4633
4632
|
}
|
|
4634
4633
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmationModalComponent, [{
|
|
4635
4634
|
type: Component,
|
|
4636
|
-
args: [{ selector: 'lib-confirmation-modal', template: "<h1 mat-dialog-title>{{ data.title | translate }}</h1>\r\n<div mat-dialog-content>\r\n <p class=\"confirmation-description\">{{ data.descriptioon | translate }}</p>\r\n \r\n <ul *ngIf=\"data.details\">\r\n <li *ngFor=\"let extraData of data.details\">\r\n {{ extraData }}\r\n </li>\r\n </ul>\r\n</div>\r\n<mat-dialog-actions align=\"end\">\r\n <button mat-button [mat-dialog-close]=\"confirmation.SECONDARY\">\r\n {{ data.rejectionText | translate }}\r\n </button>\r\n <button mat-flat-button color=\"accent\" [mat-dialog-close]=\"confirmation.PRIMARY\">\r\n {{ data.confirmationText | translate }}\r\n </button>\r\n</mat-dialog-actions>\r\n", styles: [".confirmation-description{color:var(--base-40)}.confirmation-description{margin-top:4px}\n"] }]
|
|
4635
|
+
args: [{ selector: 'lib-confirmation-modal', standalone: false, template: "<h1 mat-dialog-title>{{ data.title | translate }}</h1>\r\n<div mat-dialog-content>\r\n <p class=\"confirmation-description\">{{ data.descriptioon | translate }}</p>\r\n \r\n <ul *ngIf=\"data.details\">\r\n <li *ngFor=\"let extraData of data.details\">\r\n {{ extraData }}\r\n </li>\r\n </ul>\r\n</div>\r\n<mat-dialog-actions align=\"end\">\r\n <button mat-button [mat-dialog-close]=\"confirmation.SECONDARY\">\r\n {{ data.rejectionText | translate }}\r\n </button>\r\n <button mat-flat-button color=\"accent\" [mat-dialog-close]=\"confirmation.PRIMARY\">\r\n {{ data.confirmationText | translate }}\r\n </button>\r\n</mat-dialog-actions>\r\n", styles: [".confirmation-description{color:var(--base-40)}.confirmation-description{margin-top:4px}\n"] }]
|
|
4637
4636
|
}], () => [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
4638
4637
|
type: Inject,
|
|
4639
4638
|
args: [MAT_DIALOG_DATA]
|
|
4640
4639
|
}] }], null); })();
|
|
4641
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConfirmationModalComponent, { className: "ConfirmationModalComponent", filePath: "lib
|
|
4640
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConfirmationModalComponent, { className: "ConfirmationModalComponent", filePath: "lib/confirmation-modal/confirmation-modal.component.ts", lineNumber: 12 }); })();
|
|
4642
4641
|
|
|
4643
4642
|
class ConfirmationModalModule {
|
|
4644
4643
|
static { this.ɵfac = function ConfirmationModalModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmationModalModule)(); }; }
|
|
@@ -4750,7 +4749,7 @@ class OpenCloseButtonComponent {
|
|
|
4750
4749
|
} if (rf & 2) {
|
|
4751
4750
|
let _t;
|
|
4752
4751
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.button = _t.first);
|
|
4753
|
-
} }, inputs: { disableFocusOnAction: "disableFocusOnAction", disabled: "disabled", isIcon: "isIcon", ariaLabelCode: "ariaLabelCode", isOpened: "isOpened" }, ngContentSelectors: _c0$7, decls: 2, vars: 2, consts: [["closed", ""], ["mat-button", "", 3, "disabled", "disableRipple", "ngClass.lt-md", 4, "ngIf"], ["mat-icon-button", "", "fxLayoutAlign", "center center", 3, "disabled", 4, "ngIf"], ["mat-button", "", 3, "disabled", "disableRipple", "ngClass.lt-md"], ["fxLayout", "row", "fxLayoutAlign", "center center"], ["fxLayoutAlign", "center center", 1, "open-close-button-content", "text-l"], ["class", "material-icons spin", 4, "ngIf", "ngIfElse"], [1, "material-icons", "spin"], ["mat-icon-button", "", "fxLayoutAlign", "center center", 3, "disabled"], [1, "material-icons"]], template: function OpenCloseButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4752
|
+
} }, inputs: { disableFocusOnAction: "disableFocusOnAction", disabled: "disabled", isIcon: "isIcon", ariaLabelCode: "ariaLabelCode", isOpened: "isOpened" }, standalone: false, ngContentSelectors: _c0$7, decls: 2, vars: 2, consts: [["closed", ""], ["mat-button", "", 3, "disabled", "disableRipple", "ngClass.lt-md", 4, "ngIf"], ["mat-icon-button", "", "fxLayoutAlign", "center center", 3, "disabled", 4, "ngIf"], ["mat-button", "", 3, "disabled", "disableRipple", "ngClass.lt-md"], ["fxLayout", "row", "fxLayoutAlign", "center center"], ["fxLayoutAlign", "center center", 1, "open-close-button-content", "text-l"], ["class", "material-icons spin", 4, "ngIf", "ngIfElse"], [1, "material-icons", "spin"], ["mat-icon-button", "", "fxLayoutAlign", "center center", 3, "disabled"], [1, "material-icons"]], template: function OpenCloseButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4754
4753
|
i0.ɵɵprojectionDef();
|
|
4755
4754
|
i0.ɵɵtemplate(0, OpenCloseButtonComponent_button_0_Template, 8, 9, "button", 1)(1, OpenCloseButtonComponent_button_1_Template, 4, 5, "button", 2);
|
|
4756
4755
|
} if (rf & 2) {
|
|
@@ -4761,7 +4760,7 @@ class OpenCloseButtonComponent {
|
|
|
4761
4760
|
}
|
|
4762
4761
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OpenCloseButtonComponent, [{
|
|
4763
4762
|
type: Component,
|
|
4764
|
-
args: [{ selector: 'lib-open-close-button', template: "<button\r\n mat-button\r\n *ngIf=\"!isIcon\"\r\n [disabled]=\"disabled\"\r\n [disableRipple]=\"true\"\r\n [ngClass.lt-md]=\"'open-close-button-tablet'\"\r\n [attr.aria-label]=\"ariaLabelCode | translate\"\r\n [attr.aria-expanded]=\"isOpened\" \r\n>\r\n <span fxLayout=\"row\" fxLayoutAlign=\"center center\">\r\n <span class=\"open-close-button-content text-l\" fxLayoutAlign=\"center center\">\r\n <ng-content></ng-content>\r\n </span>\r\n\r\n <span *ngIf=\"isOpened; else closed\" class=\"material-icons spin\">\r\n {{ icons.open }}\r\n </span>\r\n\r\n <ng-template #closed>\r\n <span class=\"material-icons spin\">\r\n {{ icons.close }}\r\n </span>\r\n </ng-template>\r\n </span>\r\n</button>\r\n<button\r\n mat-icon-button\r\n fxLayoutAlign=\"center center\"\r\n *ngIf=\"isIcon\"\r\n [disabled]=\"disabled\"\r\n [attr.aria-label]=\"ariaLabelCode | translate\">\r\n <span class=\"material-icons\">\r\n {{ isOpened ? icons.open : icons.close }}\r\n </span>\r\n</button>\r\n", styles: [".spin{animation:spinArrow .3s forwards}@keyframes spinArrow{to{transform:rotate(180deg)}}.material-icons{color:var(--base-30)}\n"] }]
|
|
4763
|
+
args: [{ selector: 'lib-open-close-button', standalone: false, template: "<button\r\n mat-button\r\n *ngIf=\"!isIcon\"\r\n [disabled]=\"disabled\"\r\n [disableRipple]=\"true\"\r\n [ngClass.lt-md]=\"'open-close-button-tablet'\"\r\n [attr.aria-label]=\"ariaLabelCode | translate\"\r\n [attr.aria-expanded]=\"isOpened\" \r\n>\r\n <span fxLayout=\"row\" fxLayoutAlign=\"center center\">\r\n <span class=\"open-close-button-content text-l\" fxLayoutAlign=\"center center\">\r\n <ng-content></ng-content>\r\n </span>\r\n\r\n <span *ngIf=\"isOpened; else closed\" class=\"material-icons spin\">\r\n {{ icons.open }}\r\n </span>\r\n\r\n <ng-template #closed>\r\n <span class=\"material-icons spin\">\r\n {{ icons.close }}\r\n </span>\r\n </ng-template>\r\n </span>\r\n</button>\r\n<button\r\n mat-icon-button\r\n fxLayoutAlign=\"center center\"\r\n *ngIf=\"isIcon\"\r\n [disabled]=\"disabled\"\r\n [attr.aria-label]=\"ariaLabelCode | translate\">\r\n <span class=\"material-icons\">\r\n {{ isOpened ? icons.open : icons.close }}\r\n </span>\r\n</button>\r\n", styles: [".spin{animation:spinArrow .3s forwards}@keyframes spinArrow{to{transform:rotate(180deg)}}.material-icons{color:var(--base-30)}\n"] }]
|
|
4765
4764
|
}], () => [{ type: undefined, decorators: [{
|
|
4766
4765
|
type: Optional
|
|
4767
4766
|
}, {
|
|
@@ -4781,7 +4780,7 @@ class OpenCloseButtonComponent {
|
|
|
4781
4780
|
type: ViewChild,
|
|
4782
4781
|
args: [MatButton]
|
|
4783
4782
|
}] }); })();
|
|
4784
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OpenCloseButtonComponent, { className: "OpenCloseButtonComponent", filePath: "lib
|
|
4783
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OpenCloseButtonComponent, { className: "OpenCloseButtonComponent", filePath: "lib/open-close-button/open-close-button.component.ts", lineNumber: 12 }); })();
|
|
4785
4784
|
|
|
4786
4785
|
class OpenCloseButtonModule {
|
|
4787
4786
|
static { this.ɵfac = function OpenCloseButtonModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OpenCloseButtonModule)(); }; }
|
|
@@ -5519,9 +5518,8 @@ function TerminologyCollectionCardComponent_ng_container_0_span_6_Template(rf, c
|
|
|
5519
5518
|
i0.ɵɵtext(1);
|
|
5520
5519
|
i0.ɵɵelementEnd();
|
|
5521
5520
|
} if (rf & 2) {
|
|
5522
|
-
let tmp_3_0;
|
|
5523
5521
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
5524
|
-
i0.ɵɵproperty("matTooltip",
|
|
5522
|
+
i0.ɵɵproperty("matTooltip", ctx_r1.collection.name ?? "");
|
|
5525
5523
|
i0.ɵɵadvance();
|
|
5526
5524
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.collection.name, " ");
|
|
5527
5525
|
} }
|
|
@@ -5748,15 +5746,15 @@ class TerminologyCollectionCardComponent {
|
|
|
5748
5746
|
return collection.termId !== null && collection.termEntries <= 0 || collection.default;
|
|
5749
5747
|
}
|
|
5750
5748
|
static { this.ɵfac = function TerminologyCollectionCardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCollectionCardComponent)(i0.ɵɵdirectiveInject(TerminologyService), i0.ɵɵdirectiveInject(TerminologyCollectionService)); }; }
|
|
5751
|
-
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) {
|
|
5749
|
+
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" }, standalone: false, 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) {
|
|
5752
5750
|
i0.ɵɵtemplate(0, TerminologyCollectionCardComponent_ng_container_0_Template, 20, 17, "ng-container", 1);
|
|
5753
5751
|
} if (rf & 2) {
|
|
5754
5752
|
i0.ɵɵproperty("ngIf", ctx.collection);
|
|
5755
|
-
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2$3.DefaultLayoutDirective, i2$3.DefaultLayoutGapDirective, i2$3.DefaultLayoutAlignDirective, i2$3.DefaultFlexDirective, i2$1.MatButton, i2$1.
|
|
5753
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2$3.DefaultLayoutDirective, i2$3.DefaultLayoutGapDirective, i2$3.DefaultLayoutAlignDirective, i2$3.DefaultFlexDirective, i2$1.MatButton, i2$1.MatIconButton, i1.MatIcon, i2$5.MatProgressSpinner, i5.MatRadioButton, i2$2.MatTooltip, i1$2.UpperCasePipe, i1$1.TranslatePipe, 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)}"] }); }
|
|
5756
5754
|
}
|
|
5757
5755
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCollectionCardComponent, [{
|
|
5758
5756
|
type: Component,
|
|
5759
|
-
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"] }]
|
|
5757
|
+
args: [{ selector: 'lib-terminology-collection-card', standalone: false, 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"] }]
|
|
5760
5758
|
}], () => [{ type: TerminologyService }, { type: TerminologyCollectionService }], { collection: [{
|
|
5761
5759
|
type: Input
|
|
5762
5760
|
}], selected: [{
|
|
@@ -5776,7 +5774,7 @@ class TerminologyCollectionCardComponent {
|
|
|
5776
5774
|
}], glossarySelectEvent: [{
|
|
5777
5775
|
type: Output
|
|
5778
5776
|
}] }); })();
|
|
5779
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyCollectionCardComponent, { className: "TerminologyCollectionCardComponent", filePath: "lib
|
|
5777
|
+
(() => { (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: 12 }); })();
|
|
5780
5778
|
|
|
5781
5779
|
const _c0$5 = (a0, a1) => ({ srcLang: a0, trgLang: a1 });
|
|
5782
5780
|
function TerminologyCollectionListComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -5896,7 +5894,7 @@ class TerminologyCollectionListComponent {
|
|
|
5896
5894
|
this.destroy.complete();
|
|
5897
5895
|
}
|
|
5898
5896
|
static { this.ɵfac = function TerminologyCollectionListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCollectionListComponent)(i0.ɵɵdirectiveInject(TerminologyService), i0.ɵɵdirectiveInject(TerminologyConfigService)); }; }
|
|
5899
|
-
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) {
|
|
5897
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyCollectionListComponent, selectors: [["lib-terminology-collection-list"]], inputs: { system: "system", selectedCollection: "selectedCollection" }, outputs: { glossarySelectEvent: "glossarySelectEvent" }, standalone: false, 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) {
|
|
5900
5898
|
i0.ɵɵelementStart(0, "header", 0)(1, "h1", 1)(2, "span");
|
|
5901
5899
|
i0.ɵɵtext(3);
|
|
5902
5900
|
i0.ɵɵpipe(4, "translate");
|
|
@@ -5913,11 +5911,11 @@ class TerminologyCollectionListComponent {
|
|
|
5913
5911
|
i0.ɵɵproperty("ngIf", !ctx.hasAnyCollections);
|
|
5914
5912
|
i0.ɵɵadvance();
|
|
5915
5913
|
i0.ɵɵproperty("ngIf", ctx.hasAnyCollections);
|
|
5916
|
-
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2$3.DefaultLayoutDirective, i2$3.DefaultLayoutAlignDirective, i5
|
|
5914
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2$3.DefaultLayoutDirective, i2$3.DefaultLayoutAlignDirective, i5.MatRadioGroup, i5.MatRadioButton, TerminologyCollectionCardComponent, i1$1.TranslatePipe, 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}"] }); }
|
|
5917
5915
|
}
|
|
5918
5916
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCollectionListComponent, [{
|
|
5919
5917
|
type: Component,
|
|
5920
|
-
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"] }]
|
|
5918
|
+
args: [{ selector: "lib-terminology-collection-list", standalone: false, 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"] }]
|
|
5921
5919
|
}], () => [{ type: TerminologyService }, { type: TerminologyConfigService }], { system: [{
|
|
5922
5920
|
type: Input,
|
|
5923
5921
|
args: [{ required: true }]
|
|
@@ -5926,7 +5924,7 @@ class TerminologyCollectionListComponent {
|
|
|
5926
5924
|
}], glossarySelectEvent: [{
|
|
5927
5925
|
type: Output
|
|
5928
5926
|
}] }); })();
|
|
5929
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyCollectionListComponent, { className: "TerminologyCollectionListComponent", filePath: "lib
|
|
5927
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyCollectionListComponent, { className: "TerminologyCollectionListComponent", filePath: "lib/terminology/components/terminology-panel/terminology-collection-list/terminology-collection-list.component.ts", lineNumber: 13 }); })();
|
|
5930
5928
|
|
|
5931
5929
|
const _c0$4 = (a0, a1) => ({ appName: a0, termPortalName: a1 });
|
|
5932
5930
|
const _c1$1 = (a0, a1) => ({ minLength: a0, maxLength: a1 });
|
|
@@ -5976,7 +5974,7 @@ class TerminologyCreateCollectionDialogComponent {
|
|
|
5976
5974
|
this.subscription.unsubscribe();
|
|
5977
5975
|
}
|
|
5978
5976
|
static { this.ɵfac = function TerminologyCreateCollectionDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCreateCollectionDialogComponent)(i0.ɵɵdirectiveInject(i1$4.MatDialogRef), i0.ɵɵdirectiveInject(TerminologyConfigService), i0.ɵɵdirectiveInject(i1$1.TranslateService), i0.ɵɵdirectiveInject(i4$1.FormBuilder), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); }; }
|
|
5979
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyCreateCollectionDialogComponent, selectors: [["lib-terminology-create-collection-dialog"]], decls: 23, vars: 25, consts: [["mat-dialog-title", ""], ["mat-dialog-close", "", 1, "close-button"], ["mat-dialog-content", ""], [1, "main-description", 3, "innerHtml"], [1, "text-s", 3, "innerHtml"], [3, "formGroup"], ["appearance", "outline", 1, "collection-name-form-field"], ["matInput", "", "formControlName", "collectionName", 3, "keyup.enter"], [4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "end center", 1, "glossary-create-actions"], ["mat-stroked-button", "", "mat-dialog-close", "", "color", "accent"], ["mat-flat-button", "", "cdkFocusInitial", "", "color", "accent", 3, "click", "disabled"]], template: function TerminologyCreateCollectionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5977
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyCreateCollectionDialogComponent, selectors: [["lib-terminology-create-collection-dialog"]], standalone: false, decls: 23, vars: 25, consts: [["mat-dialog-title", ""], ["mat-dialog-close", "", 1, "close-button"], ["mat-dialog-content", ""], [1, "main-description", 3, "innerHtml"], [1, "text-s", 3, "innerHtml"], [3, "formGroup"], ["appearance", "outline", 1, "collection-name-form-field"], ["matInput", "", "formControlName", "collectionName", 3, "keyup.enter"], [4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "end center", 1, "glossary-create-actions"], ["mat-stroked-button", "", "mat-dialog-close", "", "color", "accent"], ["mat-flat-button", "", "cdkFocusInitial", "", "color", "accent", 3, "click", "disabled"]], template: function TerminologyCreateCollectionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5980
5978
|
i0.ɵɵelementStart(0, "h1", 0);
|
|
5981
5979
|
i0.ɵɵtext(1);
|
|
5982
5980
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -6024,16 +6022,16 @@ class TerminologyCreateCollectionDialogComponent {
|
|
|
6024
6022
|
i0.ɵɵproperty("disabled", ctx.form.invalid);
|
|
6025
6023
|
i0.ɵɵadvance();
|
|
6026
6024
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 20, "TERM_COLLECTIONS.CREATE_DIALOG.CREATE"));
|
|
6027
|
-
} }, dependencies: [i1$2.NgIf, i2$3.DefaultLayoutDirective, i2$3.DefaultLayoutAlignDirective, i4$1.ɵNgNoValidate, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgControlStatusGroup, i4$1.FormGroupDirective, i4$1.FormControlName, CloseButtonComponent, i2$1.MatButton, i1$4.MatDialogClose, i1$4.MatDialogTitle, i1$4.MatDialogActions, i1$4.MatDialogContent, i9.MatInput,
|
|
6025
|
+
} }, dependencies: [i1$2.NgIf, i2$3.DefaultLayoutDirective, i2$3.DefaultLayoutAlignDirective, i4$1.ɵNgNoValidate, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgControlStatusGroup, i4$1.FormGroupDirective, i4$1.FormControlName, CloseButtonComponent, i2$1.MatButton, i1$4.MatDialogClose, i1$4.MatDialogTitle, i1$4.MatDialogActions, i1$4.MatDialogContent, i9.MatInput, i9.MatFormField, i9.MatLabel, i9.MatError, i1$1.TranslatePipe], styles: ["input[_ngcontent-%COMP%]{outline:none!important}.create-dialog-wrapper[_ngcontent-%COMP%]{position:relative}.close-button[_ngcontent-%COMP%]{position:absolute;right:1em;top:1em}.main-description[_ngcontent-%COMP%]{margin-bottom:.25em}.collection-name-form-field[_ngcontent-%COMP%]{margin-top:2em}.mdc-dialog__content[_ngcontent-%COMP%]{padding:0 24px!important}"] }); }
|
|
6028
6026
|
}
|
|
6029
6027
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCreateCollectionDialogComponent, [{
|
|
6030
6028
|
type: Component,
|
|
6031
|
-
args: [{ selector: "lib-terminology-create-collection-dialog", template: "<h1 mat-dialog-title>{{ \"TERM_COLLECTIONS.CREATE_DIALOG.TITLE\" | translate }}</h1>\r\n<tld-close-button class=\"close-button\" mat-dialog-close> </tld-close-button>\r\n<div mat-dialog-content>\r\n <p class=\"main-description\" [innerHtml]=\"'TERM_COLLECTIONS.CREATE_DIALOG.DESCRIPTION_1' | translate : { appName, termPortalName }\"></p>\r\n <p class=\"text-s\" [innerHtml]=\"'TERM_COLLECTIONS.CREATE_DIALOG.DESCRIPTION_2' | translate\"></p>\r\n <form [formGroup]=\"form\">\r\n <mat-form-field appearance=\"outline\" class=\"collection-name-form-field\">\r\n <mat-label>{{ \"TERM_COLLECTIONS.CREATE_DIALOG.COLLECTION_NAME_LABEL\" | translate }} </mat-label>\r\n <input matInput formControlName=\"collectionName\" (keyup.enter)=\"create()\" />\r\n <mat-error *ngIf=\"form.controls['collectionName'].errors\">{{ \"TERM_COLLECTIONS.CREATE_DIALOG.COLLECTION_NAME_ERROR\" | translate : { minLength: minLength, maxLength: maxLength } }}</mat-error>\r\n </mat-form-field>\r\n</form>\r\n</div>\r\n<mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"end center\" class=\"glossary-create-actions\">\r\n <button mat-stroked-button mat-dialog-close color=\"accent\">{{ \"TERM_COLLECTIONS.CREATE_DIALOG.CANCEL\" | translate }}</button>\r\n <button mat-flat-button (click)=\"create()\" cdkFocusInitial color=\"accent\" [disabled]=\"form.invalid\">{{ \"TERM_COLLECTIONS.CREATE_DIALOG.CREATE\" | translate }}</button>\r\n</mat-dialog-actions>\r\n", styles: ["input{outline:none!important}.create-dialog-wrapper{position:relative}.close-button{position:absolute;right:1em;top:1em}.main-description{margin-bottom:.25em}.collection-name-form-field{margin-top:2em}.mdc-dialog__content{padding:0 24px!important}\n"] }]
|
|
6029
|
+
args: [{ selector: "lib-terminology-create-collection-dialog", standalone: false, template: "<h1 mat-dialog-title>{{ \"TERM_COLLECTIONS.CREATE_DIALOG.TITLE\" | translate }}</h1>\r\n<tld-close-button class=\"close-button\" mat-dialog-close> </tld-close-button>\r\n<div mat-dialog-content>\r\n <p class=\"main-description\" [innerHtml]=\"'TERM_COLLECTIONS.CREATE_DIALOG.DESCRIPTION_1' | translate : { appName, termPortalName }\"></p>\r\n <p class=\"text-s\" [innerHtml]=\"'TERM_COLLECTIONS.CREATE_DIALOG.DESCRIPTION_2' | translate\"></p>\r\n <form [formGroup]=\"form\">\r\n <mat-form-field appearance=\"outline\" class=\"collection-name-form-field\">\r\n <mat-label>{{ \"TERM_COLLECTIONS.CREATE_DIALOG.COLLECTION_NAME_LABEL\" | translate }} </mat-label>\r\n <input matInput formControlName=\"collectionName\" (keyup.enter)=\"create()\" />\r\n <mat-error *ngIf=\"form.controls['collectionName'].errors\">{{ \"TERM_COLLECTIONS.CREATE_DIALOG.COLLECTION_NAME_ERROR\" | translate : { minLength: minLength, maxLength: maxLength } }}</mat-error>\r\n </mat-form-field>\r\n</form>\r\n</div>\r\n<mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"end center\" class=\"glossary-create-actions\">\r\n <button mat-stroked-button mat-dialog-close color=\"accent\">{{ \"TERM_COLLECTIONS.CREATE_DIALOG.CANCEL\" | translate }}</button>\r\n <button mat-flat-button (click)=\"create()\" cdkFocusInitial color=\"accent\" [disabled]=\"form.invalid\">{{ \"TERM_COLLECTIONS.CREATE_DIALOG.CREATE\" | translate }}</button>\r\n</mat-dialog-actions>\r\n", styles: ["input{outline:none!important}.create-dialog-wrapper{position:relative}.close-button{position:absolute;right:1em;top:1em}.main-description{margin-bottom:.25em}.collection-name-form-field{margin-top:2em}.mdc-dialog__content{padding:0 24px!important}\n"] }]
|
|
6032
6030
|
}], () => [{ type: i1$4.MatDialogRef }, { type: TerminologyConfigService }, { type: i1$1.TranslateService }, { type: i4$1.FormBuilder }, { type: undefined, decorators: [{
|
|
6033
6031
|
type: Inject,
|
|
6034
6032
|
args: [MAT_DIALOG_DATA]
|
|
6035
6033
|
}] }], null); })();
|
|
6036
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyCreateCollectionDialogComponent, { className: "TerminologyCreateCollectionDialogComponent", filePath: "lib
|
|
6034
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyCreateCollectionDialogComponent, { className: "TerminologyCreateCollectionDialogComponent", filePath: "lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection-dialog/terminology-create-collection-dialog.component.ts", lineNumber: 14 }); })();
|
|
6037
6035
|
|
|
6038
6036
|
function TerminologyCreateCollectionComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
6039
6037
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -6081,7 +6079,7 @@ class TerminologyCreateCollectionComponent {
|
|
|
6081
6079
|
});
|
|
6082
6080
|
}
|
|
6083
6081
|
static { this.ɵfac = function TerminologyCreateCollectionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCreateCollectionComponent)(i0.ɵɵdirectiveInject(i1$1.TranslateService), i0.ɵɵdirectiveInject(i1$4.MatDialog), i0.ɵɵdirectiveInject(TerminologyService)); }; }
|
|
6084
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyCreateCollectionComponent, selectors: [["lib-terminology-create-collection"]], inputs: { sourceLanguageCode: "sourceLanguageCode", targetLanguageCode: "targetLanguageCode" }, outputs: { collectionCreated: "collectionCreated" }, decls: 1, vars: 1, consts: [["mat-flat-button", "", "color", "accent", "class", "term-create-btn", 3, "click", 4, "ngIf"], ["mat-flat-button", "", "color", "accent", 1, "term-create-btn", 3, "click"]], template: function TerminologyCreateCollectionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6082
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyCreateCollectionComponent, selectors: [["lib-terminology-create-collection"]], inputs: { sourceLanguageCode: "sourceLanguageCode", targetLanguageCode: "targetLanguageCode" }, outputs: { collectionCreated: "collectionCreated" }, standalone: false, decls: 1, vars: 1, consts: [["mat-flat-button", "", "color", "accent", "class", "term-create-btn", 3, "click", 4, "ngIf"], ["mat-flat-button", "", "color", "accent", 1, "term-create-btn", 3, "click"]], template: function TerminologyCreateCollectionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6085
6083
|
i0.ɵɵtemplate(0, TerminologyCreateCollectionComponent_button_0_Template, 3, 3, "button", 0);
|
|
6086
6084
|
} if (rf & 2) {
|
|
6087
6085
|
i0.ɵɵproperty("ngIf", ctx.canCreateCollections);
|
|
@@ -6089,7 +6087,7 @@ class TerminologyCreateCollectionComponent {
|
|
|
6089
6087
|
}
|
|
6090
6088
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCreateCollectionComponent, [{
|
|
6091
6089
|
type: Component,
|
|
6092
|
-
args: [{ selector: 'lib-terminology-create-collection', template: "<button *ngIf=\"canCreateCollections\" mat-flat-button color=\"accent\" (click)=\"create()\" class=\"term-create-btn\">\r\n {{ \"TERM_COLLECTIONS.CREATE\" | translate }}\r\n</button>\r\n", styles: [".term-create-btn{white-space:nowrap}\n"] }]
|
|
6090
|
+
args: [{ selector: 'lib-terminology-create-collection', standalone: false, template: "<button *ngIf=\"canCreateCollections\" mat-flat-button color=\"accent\" (click)=\"create()\" class=\"term-create-btn\">\r\n {{ \"TERM_COLLECTIONS.CREATE\" | translate }}\r\n</button>\r\n", styles: [".term-create-btn{white-space:nowrap}\n"] }]
|
|
6093
6091
|
}], () => [{ type: i1$1.TranslateService }, { type: i1$4.MatDialog }, { type: TerminologyService }], { sourceLanguageCode: [{
|
|
6094
6092
|
type: Input
|
|
6095
6093
|
}], targetLanguageCode: [{
|
|
@@ -6097,7 +6095,7 @@ class TerminologyCreateCollectionComponent {
|
|
|
6097
6095
|
}], collectionCreated: [{
|
|
6098
6096
|
type: Output
|
|
6099
6097
|
}] }); })();
|
|
6100
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyCreateCollectionComponent, { className: "TerminologyCreateCollectionComponent", filePath: "lib
|
|
6098
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyCreateCollectionComponent, { className: "TerminologyCreateCollectionComponent", filePath: "lib/terminology/components/terminology-panel/terminology-create-collection/terminology-create-collection.component.ts", lineNumber: 14 }); })();
|
|
6101
6099
|
|
|
6102
6100
|
const _c0$3 = (a0, a1) => ({ signInUrl: a0, startTrialUrl: a1 });
|
|
6103
6101
|
function TerminologyPanelComponent_ng_container_1_footer_2_a_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -6215,7 +6213,7 @@ class TerminologyPanelComponent {
|
|
|
6215
6213
|
}
|
|
6216
6214
|
}
|
|
6217
6215
|
static { this.ɵfac = function TerminologyPanelComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyPanelComponent)(i0.ɵɵdirectiveInject(TerminologyService), i0.ɵɵdirectiveInject(TerminologyConfigService)); }; }
|
|
6218
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyPanelComponent, selectors: [["lib-terminology-panel"]], inputs: { system: "system", setSelectedFromLocalStorage: "setSelectedFromLocalStorage", selectedCollection: "selectedCollection" }, outputs: { glossarySelectEvent: "glossarySelectEvent" }, features: [i0.ɵɵNgOnChangesFeature], decls: 4, vars: 2, consts: [["emptyView", ""], ["authEmptyView", ""], [1, "tld-collection-list-wrapper"], [4, "ngIf", "ngIfElse"], [3, "glossarySelectEvent", "system", "selectedCollection"], ["class", "tld-collection-list-footer", "fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutGap", "1rem", 4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutGap", "1rem", 1, "tld-collection-list-footer"], [3, "sourceLanguageCode", "targetLanguageCode"], ["class", "default-glossary-management text-m", "target", "_blank", 4, "ngIf"], ["target", "_blank", 1, "default-glossary-management", "text-m"], ["fxLayout", "column", "fxLayoutGap", "16px", 1, "term-reader-wrapper"], [1, "text-l-semi-bold"], [1, "text-xl-semi-bold", "glossary-unavailable"], [3, "innerHtml", 4, "ngIf", "ngIfElse"], [3, "innerHtml"]], template: function TerminologyPanelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6216
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyPanelComponent, selectors: [["lib-terminology-panel"]], inputs: { system: "system", setSelectedFromLocalStorage: "setSelectedFromLocalStorage", selectedCollection: "selectedCollection" }, outputs: { glossarySelectEvent: "glossarySelectEvent" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 4, vars: 2, consts: [["emptyView", ""], ["authEmptyView", ""], [1, "tld-collection-list-wrapper"], [4, "ngIf", "ngIfElse"], [3, "glossarySelectEvent", "system", "selectedCollection"], ["class", "tld-collection-list-footer", "fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutGap", "1rem", 4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutGap", "1rem", 1, "tld-collection-list-footer"], [3, "sourceLanguageCode", "targetLanguageCode"], ["class", "default-glossary-management text-m", "target", "_blank", 4, "ngIf"], ["target", "_blank", 1, "default-glossary-management", "text-m"], ["fxLayout", "column", "fxLayoutGap", "16px", 1, "term-reader-wrapper"], [1, "text-l-semi-bold"], [1, "text-xl-semi-bold", "glossary-unavailable"], [3, "innerHtml", 4, "ngIf", "ngIfElse"], [3, "innerHtml"]], template: function TerminologyPanelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6219
6217
|
i0.ɵɵelementStart(0, "section", 2);
|
|
6220
6218
|
i0.ɵɵtemplate(1, TerminologyPanelComponent_ng_container_1_Template, 3, 3, "ng-container", 3)(2, TerminologyPanelComponent_ng_template_2_Template, 11, 8, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
6221
6219
|
i0.ɵɵelementEnd();
|
|
@@ -6227,7 +6225,7 @@ class TerminologyPanelComponent {
|
|
|
6227
6225
|
}
|
|
6228
6226
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyPanelComponent, [{
|
|
6229
6227
|
type: Component,
|
|
6230
|
-
args: [{ selector: "lib-terminology-panel", template: "<section class=\"tld-collection-list-wrapper\">\r\n <ng-container *ngIf=\"showGlossaryList; else emptyView\">\r\n <lib-terminology-collection-list (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selectedCollection\"></lib-terminology-collection-list>\r\n\r\n <footer *ngIf=\"hasEditPermissions\" class=\"tld-collection-list-footer\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1rem\">\r\n <lib-terminology-create-collection [sourceLanguageCode]=\"sourceLanguageCode\" [targetLanguageCode]=\"targetLanguageCode\"></lib-terminology-create-collection>\r\n \r\n <a *ngIf=\"defaultGlossaryManagementLink\" [attr.href]=\"defaultGlossaryManagementLink\" class=\"default-glossary-management text-m\" target=\"_blank\">\r\n {{ \"TERM_COLLECTIONS.DEFAULT_GLOSSARY_MANAGEMENT\" | translate }}\r\n </a>\r\n </footer>\r\n </ng-container>\r\n <ng-template #emptyView>\r\n <section class=\"term-reader-wrapper\" fxLayout=\"column\" fxLayoutGap=\"16px\">\r\n <div>\r\n <h1 class=\"text-l-semi-bold\">{{ readerLocalizationKey + \"TITLE\" | translate }}</h1>\r\n <p class=\"text-xl-semi-bold glossary-unavailable\">{{ readerLocalizationKey + \"UNAVAILABLE\" | translate }}</p>\r\n <p *ngIf=\"!isAuthenticated; else authEmptyView\" [innerHtml]=\"readerLocalizationKey + 'TEXT' | translate: { signInUrl: signInUrl, startTrialUrl: startTrialUrl }\"></p>\r\n\r\n <ng-template #authEmptyView>\r\n <p>{{ readerLocalizationKey + \"AUTH_UNAVAILABLE\" | translate }}</p>\r\n </ng-template>\r\n </div>\r\n </section>\r\n </ng-template>\r\n</section>\r\n", styles: [".tld-collection-list-footer{margin-top:1rem;padding:0 .75em 1em}.default-glossary-management{display:block;color:var(--base-30)}.term-reader-wrapper{margin:1em}.glossary-unavailable{font-weight:500;font-style:italic}.hint-title{margin-bottom:0}\n"] }]
|
|
6228
|
+
args: [{ selector: "lib-terminology-panel", standalone: false, template: "<section class=\"tld-collection-list-wrapper\">\r\n <ng-container *ngIf=\"showGlossaryList; else emptyView\">\r\n <lib-terminology-collection-list (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selectedCollection\"></lib-terminology-collection-list>\r\n\r\n <footer *ngIf=\"hasEditPermissions\" class=\"tld-collection-list-footer\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1rem\">\r\n <lib-terminology-create-collection [sourceLanguageCode]=\"sourceLanguageCode\" [targetLanguageCode]=\"targetLanguageCode\"></lib-terminology-create-collection>\r\n \r\n <a *ngIf=\"defaultGlossaryManagementLink\" [attr.href]=\"defaultGlossaryManagementLink\" class=\"default-glossary-management text-m\" target=\"_blank\">\r\n {{ \"TERM_COLLECTIONS.DEFAULT_GLOSSARY_MANAGEMENT\" | translate }}\r\n </a>\r\n </footer>\r\n </ng-container>\r\n <ng-template #emptyView>\r\n <section class=\"term-reader-wrapper\" fxLayout=\"column\" fxLayoutGap=\"16px\">\r\n <div>\r\n <h1 class=\"text-l-semi-bold\">{{ readerLocalizationKey + \"TITLE\" | translate }}</h1>\r\n <p class=\"text-xl-semi-bold glossary-unavailable\">{{ readerLocalizationKey + \"UNAVAILABLE\" | translate }}</p>\r\n <p *ngIf=\"!isAuthenticated; else authEmptyView\" [innerHtml]=\"readerLocalizationKey + 'TEXT' | translate: { signInUrl: signInUrl, startTrialUrl: startTrialUrl }\"></p>\r\n\r\n <ng-template #authEmptyView>\r\n <p>{{ readerLocalizationKey + \"AUTH_UNAVAILABLE\" | translate }}</p>\r\n </ng-template>\r\n </div>\r\n </section>\r\n </ng-template>\r\n</section>\r\n", styles: [".tld-collection-list-footer{margin-top:1rem;padding:0 .75em 1em}.default-glossary-management{display:block;color:var(--base-30)}.term-reader-wrapper{margin:1em}.glossary-unavailable{font-weight:500;font-style:italic}.hint-title{margin-bottom:0}\n"] }]
|
|
6231
6229
|
}], () => [{ type: TerminologyService }, { type: TerminologyConfigService }], { system: [{
|
|
6232
6230
|
type: Input,
|
|
6233
6231
|
args: [{ required: true }]
|
|
@@ -6239,7 +6237,7 @@ class TerminologyPanelComponent {
|
|
|
6239
6237
|
}], glossarySelectEvent: [{
|
|
6240
6238
|
type: Output
|
|
6241
6239
|
}] }); })();
|
|
6242
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyPanelComponent, { className: "TerminologyPanelComponent", filePath: "lib
|
|
6240
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyPanelComponent, { className: "TerminologyPanelComponent", filePath: "lib/terminology/components/terminology-panel/terminology-panel.component.ts", lineNumber: 12 }); })();
|
|
6243
6241
|
|
|
6244
6242
|
const COLLECTIONS_MENU = `
|
|
6245
6243
|
<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"
|
|
@@ -6279,15 +6277,13 @@ function TerminologyComponent_div_0_lib_open_close_button_4_Template(rf, ctx) {
|
|
|
6279
6277
|
i0.ɵɵtemplate(6, TerminologyComponent_div_0_lib_open_close_button_4_mat_spinner_6_Template, 1, 0, "mat-spinner", 13);
|
|
6280
6278
|
i0.ɵɵelementEnd();
|
|
6281
6279
|
} if (rf & 2) {
|
|
6282
|
-
let tmp_7_0;
|
|
6283
|
-
let tmp_10_0;
|
|
6284
6280
|
const state_r4 = i0.ɵɵreference(1);
|
|
6285
6281
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
6286
6282
|
const menu_r5 = i0.ɵɵreference(2);
|
|
6287
|
-
i0.ɵɵproperty("isOpened", state_r4.menuOpen)("matMenuTriggerFor", menu_r5)("matTooltip", (
|
|
6283
|
+
i0.ɵɵproperty("isOpened", state_r4.menuOpen)("matMenuTriggerFor", menu_r5)("matTooltip", (ctx_r2.selected == null ? null : ctx_r2.selected.mtCollection == null ? null : ctx_r2.selected.mtCollection.name) ?? (ctx_r2.selected == null ? null : ctx_r2.selected.termCollection == null ? null : ctx_r2.selected.termCollection.name) ?? "")("disabled", ctx_r2.disabled);
|
|
6288
6284
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 7, "TERM_COLLECTIONS.ARIA_LABELS.OTHER_COLLECTIONS"));
|
|
6289
6285
|
i0.ɵɵadvance(4);
|
|
6290
|
-
i0.ɵɵtextInterpolate1(" ", (
|
|
6286
|
+
i0.ɵɵtextInterpolate1(" ", (ctx_r2.selected == null ? null : ctx_r2.selected.mtCollection == null ? null : ctx_r2.selected.mtCollection.name) ?? (ctx_r2.selected == null ? null : ctx_r2.selected.termCollection == null ? null : ctx_r2.selected.termCollection.name) ?? i0.ɵɵpipeBind1(5, 9, "TERM_COLLECTIONS.SELECTED_NONE"), " ");
|
|
6291
6287
|
i0.ɵɵadvance(2);
|
|
6292
6288
|
i0.ɵɵproperty("ngIf", ctx_r2.selected == null ? null : ctx_r2.selected.isImporting);
|
|
6293
6289
|
} }
|
|
@@ -6310,15 +6306,13 @@ function TerminologyComponent_div_0_ng_template_5_Template(rf, ctx) { if (rf & 1
|
|
|
6310
6306
|
i0.ɵɵelement(9, "mat-icon", 17);
|
|
6311
6307
|
i0.ɵɵelementEnd();
|
|
6312
6308
|
} if (rf & 2) {
|
|
6313
|
-
let tmp_8_0;
|
|
6314
|
-
let tmp_11_0;
|
|
6315
6309
|
const state_r7 = i0.ɵɵreference(1);
|
|
6316
6310
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
6317
6311
|
const menu_r5 = i0.ɵɵreference(2);
|
|
6318
|
-
i0.ɵɵproperty("isOpened", state_r7.menuOpen)("matMenuTriggerFor", menu_r5)("matTooltip", (
|
|
6312
|
+
i0.ɵɵproperty("isOpened", state_r7.menuOpen)("matMenuTriggerFor", menu_r5)("matTooltip", (ctx_r2.selected == null ? null : ctx_r2.selected.mtCollection == null ? null : ctx_r2.selected.mtCollection.name) ?? (ctx_r2.selected == null ? null : ctx_r2.selected.termCollection == null ? null : ctx_r2.selected.termCollection.name) ?? "")("disabled", ctx_r2.disabled);
|
|
6319
6313
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 9, "TERM_COLLECTIONS.ARIA_LABELS.OTHER_COLLECTIONS"));
|
|
6320
6314
|
i0.ɵɵadvance(4);
|
|
6321
|
-
i0.ɵɵtextInterpolate1(" ", (
|
|
6315
|
+
i0.ɵɵtextInterpolate1(" ", (ctx_r2.selected == null ? null : ctx_r2.selected.mtCollection == null ? null : ctx_r2.selected.mtCollection.name) ?? (ctx_r2.selected == null ? null : ctx_r2.selected.termCollection == null ? null : ctx_r2.selected.termCollection.name) ?? i0.ɵɵpipeBind1(5, 11, "TERM_COLLECTIONS.SELECTED_NONE"), " ");
|
|
6322
6316
|
i0.ɵɵadvance(2);
|
|
6323
6317
|
i0.ɵɵproperty("ngIf", ctx_r2.selected == null ? null : ctx_r2.selected.isImporting);
|
|
6324
6318
|
i0.ɵɵadvance();
|
|
@@ -6447,7 +6441,7 @@ class TerminologyComponent {
|
|
|
6447
6441
|
});
|
|
6448
6442
|
}
|
|
6449
6443
|
static { this.ɵfac = function TerminologyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyComponent)(i0.ɵɵdirectiveInject(TerminologyConfigService), i0.ɵɵdirectiveInject(TerminologyService), i0.ɵɵdirectiveInject(IconService)); }; }
|
|
6450
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyComponent, selectors: [["lib-terminology"]], inputs: { selectedCollectionId: "selectedCollectionId", system: "system", disabled: "disabled", storeSelectedInLocalStorage: "storeSelectedInLocalStorage", setSelectedFromLocalStorage: "setSelectedFromLocalStorage", showMenuIconOnMobile: "showMenuIconOnMobile" }, outputs: { glossarySelectEvent: "glossarySelectEvent", menuToggleEvent: "menuToggleEvent" }, features: [i0.ɵɵNgOnChangesFeature], decls: 6, vars: 4, consts: [["menu", "matMenu"], ["defaultLayout", ""], ["state", "matMenuTrigger"], ["class", "glossary-menu", "fxLayoutAlign", "center center", "fxLayoutGap", "8px", 3, "ngClass.lt-sm", 4, "ngIf"], [1, "tld-collection-menu"], ["fxHide.gt-xs", ""], [1, "tld-term-collection", 3, "click", "keydown"], [3, "glossarySelectEvent", "system", "selectedCollection", "setSelectedFromLocalStorage"], ["fxLayoutAlign", "center center", "fxLayoutGap", "8px", 1, "glossary-menu", 3, "ngClass.lt-sm"], ["fxHide.lt-md", "", 1, "glossary-label"], ["class", "tld-collection-menu-button", 3, "isOpened", "matMenuTriggerFor", "matTooltip", "disabled", "menuOpened", "menuClosed", 4, "ngIf", "ngIfElse"], [1, "tld-collection-menu-button", 3, "menuOpened", "menuClosed", "isOpened", "matMenuTriggerFor", "matTooltip", "disabled"], [1, "selected-collection"], ["class", "selected-col-spinner", "color", "accent", "diameter", "16", 4, "ngIf"], ["color", "accent", "diameter", "16", 1, "selected-col-spinner"], ["fxHide.lt-sm", "", 1, "tld-collection-menu-button", 3, "menuOpened", "menuClosed", "isOpened", "matMenuTriggerFor", "matTooltip", "disabled"], ["mat-icon-button", "", "fxHide.gt-xs", "", 3, "menuOpened", "menuClosed", "matMenuTriggerFor"], ["svgIcon", "collections_menu"]], template: function TerminologyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6444
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyComponent, selectors: [["lib-terminology"]], inputs: { selectedCollectionId: "selectedCollectionId", system: "system", disabled: "disabled", storeSelectedInLocalStorage: "storeSelectedInLocalStorage", setSelectedFromLocalStorage: "setSelectedFromLocalStorage", showMenuIconOnMobile: "showMenuIconOnMobile" }, outputs: { glossarySelectEvent: "glossarySelectEvent", menuToggleEvent: "menuToggleEvent" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 6, vars: 4, consts: [["menu", "matMenu"], ["defaultLayout", ""], ["state", "matMenuTrigger"], ["class", "glossary-menu", "fxLayoutAlign", "center center", "fxLayoutGap", "8px", 3, "ngClass.lt-sm", 4, "ngIf"], [1, "tld-collection-menu"], ["fxHide.gt-xs", ""], [1, "tld-term-collection", 3, "click", "keydown"], [3, "glossarySelectEvent", "system", "selectedCollection", "setSelectedFromLocalStorage"], ["fxLayoutAlign", "center center", "fxLayoutGap", "8px", 1, "glossary-menu", 3, "ngClass.lt-sm"], ["fxHide.lt-md", "", 1, "glossary-label"], ["class", "tld-collection-menu-button", 3, "isOpened", "matMenuTriggerFor", "matTooltip", "disabled", "menuOpened", "menuClosed", 4, "ngIf", "ngIfElse"], [1, "tld-collection-menu-button", 3, "menuOpened", "menuClosed", "isOpened", "matMenuTriggerFor", "matTooltip", "disabled"], [1, "selected-collection"], ["class", "selected-col-spinner", "color", "accent", "diameter", "16", 4, "ngIf"], ["color", "accent", "diameter", "16", 1, "selected-col-spinner"], ["fxHide.lt-sm", "", 1, "tld-collection-menu-button", 3, "menuOpened", "menuClosed", "isOpened", "matMenuTriggerFor", "matTooltip", "disabled"], ["mat-icon-button", "", "fxHide.gt-xs", "", 3, "menuOpened", "menuClosed", "matMenuTriggerFor"], ["svgIcon", "collections_menu"]], template: function TerminologyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6451
6445
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
6452
6446
|
i0.ɵɵtemplate(0, TerminologyComponent_div_0_Template, 7, 6, "div", 3);
|
|
6453
6447
|
i0.ɵɵelementStart(1, "mat-menu", 4, 0);
|
|
@@ -6461,11 +6455,11 @@ class TerminologyComponent {
|
|
|
6461
6455
|
i0.ɵɵproperty("ngIf", !ctx.hideGlossaryMenuWithoutCollections || ctx.hideGlossaryMenuWithoutCollections && ctx.hasAnyCollections);
|
|
6462
6456
|
i0.ɵɵadvance(5);
|
|
6463
6457
|
i0.ɵɵproperty("system", ctx.system)("selectedCollection", ctx.selected)("setSelectedFromLocalStorage", ctx.setSelectedFromLocalStorage);
|
|
6464
|
-
} }, dependencies: [i1$2.NgIf, OpenCloseButtonComponent, i2$3.DefaultLayoutGapDirective, i2$3.DefaultLayoutAlignDirective, i3.DefaultShowHideDirective, i3.DefaultClassDirective, CloseButtonComponent, i2$1.MatIconButton, i1.MatIcon,
|
|
6458
|
+
} }, dependencies: [i1$2.NgIf, OpenCloseButtonComponent, i2$3.DefaultLayoutGapDirective, i2$3.DefaultLayoutAlignDirective, i3.DefaultShowHideDirective, i3.DefaultClassDirective, CloseButtonComponent, i2$1.MatIconButton, i1.MatIcon, i2$5.MatProgressSpinner, i6$1.MatMenu, i6$1.MatMenuTrigger, i2$2.MatTooltip, TerminologyPanelComponent, i1$1.TranslatePipe], styles: ["[_nghost-%COMP%] .mdc-circular-progress__circle-clipper, [_nghost-%COMP%] .mdc-circular-progress__indeterminate-circle-graphic{width:100%!important}.selected-col-spinner[_ngcontent-%COMP%]{margin-left:5px}.tld-collection-menu-button[_ngcontent-%COMP%] .selected-collection[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:140px;display:inline-block;white-space:nowrap}"] }); }
|
|
6465
6459
|
}
|
|
6466
6460
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyComponent, [{
|
|
6467
6461
|
type: Component,
|
|
6468
|
-
args: [{ selector: 'lib-terminology', template: "<div *ngIf=\"!hideGlossaryMenuWithoutCollections || (hideGlossaryMenuWithoutCollections && hasAnyCollections)\" class=\"glossary-menu\" fxLayoutAlign=\"center center\" [ngClass.lt-sm]=\"'tld-term-collection-wrapper-mobile'\" fxLayoutGap=\"8px\">\r\n <span class=\"glossary-label\" fxHide.lt-md>\r\n {{ \"TERM_COLLECTIONS.GLOSSARY\" | translate }}\r\n </span>\r\n\r\n <lib-open-close-button\r\n *ngIf=\"!showMenuIconOnMobile; else defaultLayout\"\r\n class=\"tld-collection-menu-button\"\r\n #state=\"matMenuTrigger\"\r\n [isOpened]=\"state.menuOpen\"\r\n (menuOpened)=\"openMenu()\"\r\n (menuClosed)=\"closeMenu()\"\r\n [matMenuTriggerFor]=\"menu\"\r\n [attr.aria-label]=\"'TERM_COLLECTIONS.ARIA_LABELS.OTHER_COLLECTIONS' | translate\"\r\n [matTooltip]=\"selected?.mtCollection?.name ?? selected?.termCollection?.name ?? ''\"\r\n [disabled]=\"disabled\"\r\n >\r\n <span class=\"selected-collection\">\r\n {{ selected?.mtCollection?.name ?? selected?.termCollection?.name ?? (\"TERM_COLLECTIONS.SELECTED_NONE\" | translate) }}\r\n </span>\r\n <mat-spinner *ngIf=\"selected?.isImporting\" class=\"selected-col-spinner\" color=\"accent\" diameter=\"16\"></mat-spinner>\r\n </lib-open-close-button>\r\n\r\n <ng-template #defaultLayout>\r\n <lib-open-close-button\r\n fxHide.lt-sm\r\n class=\"tld-collection-menu-button\"\r\n #state=\"matMenuTrigger\"\r\n [isOpened]=\"state.menuOpen\"\r\n (menuOpened)=\"openMenu()\"\r\n (menuClosed)=\"closeMenu()\"\r\n [matMenuTriggerFor]=\"menu\"\r\n [attr.aria-label]=\"'TERM_COLLECTIONS.ARIA_LABELS.OTHER_COLLECTIONS' | translate\"\r\n [matTooltip]=\"selected?.mtCollection?.name ?? selected?.termCollection?.name ?? ''\"\r\n [disabled]=\"disabled\"\r\n >\r\n <span class=\"selected-collection\">\r\n {{ selected?.mtCollection?.name ?? selected?.termCollection?.name ?? (\"TERM_COLLECTIONS.SELECTED_NONE\" | translate) }}\r\n </span>\r\n <mat-spinner *ngIf=\"selected?.isImporting\" class=\"selected-col-spinner\" color=\"accent\" diameter=\"16\"></mat-spinner>\r\n </lib-open-close-button>\r\n\r\n <button (menuOpened)=\"openMenu()\" (menuClosed)=\"closeMenu()\" mat-icon-button fxHide.gt-xs #state=\"matMenuTrigger\" [matMenuTriggerFor]=\"menu\">\r\n <mat-icon svgIcon=\"collections_menu\" [attr.color]=\"selected ? 'accent' : ''\"></mat-icon>\r\n </button>\r\n </ng-template>\r\n</div>\r\n\r\n<mat-menu #menu=\"matMenu\" class=\"tld-collection-menu\">\r\n <tld-close-button fxHide.gt-xs></tld-close-button>\r\n <div class=\"tld-term-collection\" (click)=\"$event.stopPropagation()\" (keydown)=\"$event.stopPropagation()\">\r\n <lib-terminology-panel (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selected\" [setSelectedFromLocalStorage]=\"setSelectedFromLocalStorage\"></lib-terminology-panel>\r\n </div>\r\n</mat-menu>\r\n", styles: [":host ::ng-deep .mdc-circular-progress__circle-clipper,:host ::ng-deep .mdc-circular-progress__indeterminate-circle-graphic{width:100%!important}.selected-col-spinner{margin-left:5px}.tld-collection-menu-button .selected-collection{overflow:hidden;text-overflow:ellipsis;max-width:140px;display:inline-block;white-space:nowrap}\n"] }]
|
|
6462
|
+
args: [{ selector: 'lib-terminology', standalone: false, template: "<div *ngIf=\"!hideGlossaryMenuWithoutCollections || (hideGlossaryMenuWithoutCollections && hasAnyCollections)\" class=\"glossary-menu\" fxLayoutAlign=\"center center\" [ngClass.lt-sm]=\"'tld-term-collection-wrapper-mobile'\" fxLayoutGap=\"8px\">\r\n <span class=\"glossary-label\" fxHide.lt-md>\r\n {{ \"TERM_COLLECTIONS.GLOSSARY\" | translate }}\r\n </span>\r\n\r\n <lib-open-close-button\r\n *ngIf=\"!showMenuIconOnMobile; else defaultLayout\"\r\n class=\"tld-collection-menu-button\"\r\n #state=\"matMenuTrigger\"\r\n [isOpened]=\"state.menuOpen\"\r\n (menuOpened)=\"openMenu()\"\r\n (menuClosed)=\"closeMenu()\"\r\n [matMenuTriggerFor]=\"menu\"\r\n [attr.aria-label]=\"'TERM_COLLECTIONS.ARIA_LABELS.OTHER_COLLECTIONS' | translate\"\r\n [matTooltip]=\"selected?.mtCollection?.name ?? selected?.termCollection?.name ?? ''\"\r\n [disabled]=\"disabled\"\r\n >\r\n <span class=\"selected-collection\">\r\n {{ selected?.mtCollection?.name ?? selected?.termCollection?.name ?? (\"TERM_COLLECTIONS.SELECTED_NONE\" | translate) }}\r\n </span>\r\n <mat-spinner *ngIf=\"selected?.isImporting\" class=\"selected-col-spinner\" color=\"accent\" diameter=\"16\"></mat-spinner>\r\n </lib-open-close-button>\r\n\r\n <ng-template #defaultLayout>\r\n <lib-open-close-button\r\n fxHide.lt-sm\r\n class=\"tld-collection-menu-button\"\r\n #state=\"matMenuTrigger\"\r\n [isOpened]=\"state.menuOpen\"\r\n (menuOpened)=\"openMenu()\"\r\n (menuClosed)=\"closeMenu()\"\r\n [matMenuTriggerFor]=\"menu\"\r\n [attr.aria-label]=\"'TERM_COLLECTIONS.ARIA_LABELS.OTHER_COLLECTIONS' | translate\"\r\n [matTooltip]=\"selected?.mtCollection?.name ?? selected?.termCollection?.name ?? ''\"\r\n [disabled]=\"disabled\"\r\n >\r\n <span class=\"selected-collection\">\r\n {{ selected?.mtCollection?.name ?? selected?.termCollection?.name ?? (\"TERM_COLLECTIONS.SELECTED_NONE\" | translate) }}\r\n </span>\r\n <mat-spinner *ngIf=\"selected?.isImporting\" class=\"selected-col-spinner\" color=\"accent\" diameter=\"16\"></mat-spinner>\r\n </lib-open-close-button>\r\n\r\n <button (menuOpened)=\"openMenu()\" (menuClosed)=\"closeMenu()\" mat-icon-button fxHide.gt-xs #state=\"matMenuTrigger\" [matMenuTriggerFor]=\"menu\">\r\n <mat-icon svgIcon=\"collections_menu\" [attr.color]=\"selected ? 'accent' : ''\"></mat-icon>\r\n </button>\r\n </ng-template>\r\n</div>\r\n\r\n<mat-menu #menu=\"matMenu\" class=\"tld-collection-menu\">\r\n <tld-close-button fxHide.gt-xs></tld-close-button>\r\n <div class=\"tld-term-collection\" (click)=\"$event.stopPropagation()\" (keydown)=\"$event.stopPropagation()\">\r\n <lib-terminology-panel (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selected\" [setSelectedFromLocalStorage]=\"setSelectedFromLocalStorage\"></lib-terminology-panel>\r\n </div>\r\n</mat-menu>\r\n", styles: [":host ::ng-deep .mdc-circular-progress__circle-clipper,:host ::ng-deep .mdc-circular-progress__indeterminate-circle-graphic{width:100%!important}.selected-col-spinner{margin-left:5px}.tld-collection-menu-button .selected-collection{overflow:hidden;text-overflow:ellipsis;max-width:140px;display:inline-block;white-space:nowrap}\n"] }]
|
|
6469
6463
|
}], () => [{ type: TerminologyConfigService }, { type: TerminologyService }, { type: IconService }], { selectedCollectionId: [{
|
|
6470
6464
|
type: Input
|
|
6471
6465
|
}], system: [{
|
|
@@ -6484,7 +6478,7 @@ class TerminologyComponent {
|
|
|
6484
6478
|
}], menuToggleEvent: [{
|
|
6485
6479
|
type: Output
|
|
6486
6480
|
}] }); })();
|
|
6487
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyComponent, { className: "TerminologyComponent", filePath: "lib
|
|
6481
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TerminologyComponent, { className: "TerminologyComponent", filePath: "lib/terminology/terminology.component.ts", lineNumber: 15 }); })();
|
|
6488
6482
|
|
|
6489
6483
|
class TerminologyModule {
|
|
6490
6484
|
static { this.ɵfac = function TerminologyModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyModule)(); }; }
|
|
@@ -6655,7 +6649,7 @@ class TextToSpeechComponent {
|
|
|
6655
6649
|
}
|
|
6656
6650
|
}
|
|
6657
6651
|
static { this.ɵfac = function TextToSpeechComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TextToSpeechComponent)(); }; }
|
|
6658
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextToSpeechComponent, selectors: [["lib-text-to-speech"]], inputs: { maxCharLength: "maxCharLength", voices: "voices" },
|
|
6652
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TextToSpeechComponent, selectors: [["lib-text-to-speech"]], inputs: { maxCharLength: "maxCharLength", voices: "voices" }, decls: 19, vars: 23, consts: [[1, "text-to-speech-wrapper", 3, "ngClass.lt-md"], ["appearance", "outline", "color", "accent"], [3, "valueChange", "value"], [3, "value", 4, "ngFor", "ngForOf"], [1, "text-to-speech-textarea-wrapper"], [1, "text-to-speech-textarea", 3, "ngModelChange", "ngModel", "placeholder"], [1, "text-to-speech-characters"], [1, "text-to-speech-actions"], [3, "matTooltip"], ["mat-icon-button", "", 3, "click", "matTooltip", "disabled"], [4, "ngIf"], [3, "diameter", 4, "ngIf"], [3, "value"], [3, "diameter"]], template: function TextToSpeechComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6659
6653
|
i0.ɵɵelementStart(0, "div", 0)(1, "mat-form-field", 1)(2, "mat-label");
|
|
6660
6654
|
i0.ɵɵtext(3);
|
|
6661
6655
|
i0.ɵɵpipe(4, "translate");
|
|
@@ -6679,7 +6673,6 @@ class TextToSpeechComponent {
|
|
|
6679
6673
|
i0.ɵɵtemplate(17, TextToSpeechComponent_mat_icon_17_Template, 2, 1, "mat-icon", 10)(18, TextToSpeechComponent_mat_spinner_18_Template, 1, 1, "mat-spinner", 11);
|
|
6680
6674
|
i0.ɵɵelementEnd()()()();
|
|
6681
6675
|
} if (rf & 2) {
|
|
6682
|
-
let tmp_7_0;
|
|
6683
6676
|
i0.ɵɵproperty("ngClass.lt-md", "mobile");
|
|
6684
6677
|
i0.ɵɵadvance(3);
|
|
6685
6678
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 15, "selectVoice"));
|
|
@@ -6693,7 +6686,7 @@ class TextToSpeechComponent {
|
|
|
6693
6686
|
i0.ɵɵadvance(2);
|
|
6694
6687
|
i0.ɵɵclassProp("text-overflow", ctx.hasOverflow);
|
|
6695
6688
|
i0.ɵɵadvance();
|
|
6696
|
-
i0.ɵɵtextInterpolate2(" ", (
|
|
6689
|
+
i0.ɵɵtextInterpolate2(" ", (ctx.text == null ? null : ctx.text.length) ?? 0, "/", ctx.maxCharLength, " ");
|
|
6697
6690
|
i0.ɵɵadvance(2);
|
|
6698
6691
|
i0.ɵɵproperty("matTooltip", !ctx.text ? i0.ɵɵpipeBind1(14, 19, "playDisabled") : "");
|
|
6699
6692
|
i0.ɵɵadvance(2);
|
|
@@ -6705,11 +6698,11 @@ class TextToSpeechComponent {
|
|
|
6705
6698
|
} }, dependencies: [CommonModule, i1$2.NgForOf, i1$2.NgIf, MatIconButton,
|
|
6706
6699
|
MatIcon,
|
|
6707
6700
|
FormsModule, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgModel, MatProgressSpinner,
|
|
6708
|
-
MatTooltipModule, i2$2.MatTooltip, MatFormFieldModule,
|
|
6701
|
+
MatTooltipModule, i2$2.MatTooltip, MatFormFieldModule, i9.MatFormField, i9.MatLabel, MatSelectModule, i4.MatSelect, i4.MatOption, FlexLayoutModule, i3.DefaultClassDirective, TranslateModule, i1$1.TranslatePipe], styles: [".text-to-speech-wrapper[_ngcontent-%COMP%]{margin-top:5px;position:relative;display:flex;flex-direction:column;align-items:center}.text-to-speech-wrapper[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{max-width:900px!important;width:100%}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%], .text-to-speech-textarea[_ngcontent-%COMP%]{position:relative;width:100%;max-width:900px}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-70);padding:5px;border-radius:8px;box-shadow:0 0 16px #0000001a}.text-to-speech-textarea[_ngcontent-%COMP%]{margin:15px 0;padding:0 10px;min-height:120px;resize:none;outline:none;border:none}.text-to-speech-actions[_ngcontent-%COMP%]{position:absolute;bottom:-20px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;justify-content:center;color:var(--base-100)!important;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{scale:1.2}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:0;margin:5px;font-size:13px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"] }); }
|
|
6709
6702
|
}
|
|
6710
6703
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextToSpeechComponent, [{
|
|
6711
6704
|
type: Component,
|
|
6712
|
-
args: [{ selector: 'lib-text-to-speech',
|
|
6705
|
+
args: [{ selector: 'lib-text-to-speech', imports: [
|
|
6713
6706
|
CommonModule,
|
|
6714
6707
|
MatButton,
|
|
6715
6708
|
MatIconButton,
|
|
@@ -6727,7 +6720,7 @@ class TextToSpeechComponent {
|
|
|
6727
6720
|
}], voices: [{
|
|
6728
6721
|
type: Input
|
|
6729
6722
|
}] }); })();
|
|
6730
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextToSpeechComponent, { className: "TextToSpeechComponent", filePath: "lib
|
|
6723
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextToSpeechComponent, { className: "TextToSpeechComponent", filePath: "lib/text-to-speech/text-to-speech.component.ts", lineNumber: 34 }); })();
|
|
6731
6724
|
|
|
6732
6725
|
var LLMActions;
|
|
6733
6726
|
(function (LLMActions) {
|
|
@@ -6885,7 +6878,7 @@ class LLMTextareaComponent {
|
|
|
6885
6878
|
} if (rf & 2) {
|
|
6886
6879
|
let _t;
|
|
6887
6880
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.textarea = _t.first);
|
|
6888
|
-
} }, inputs: { text: "text", disabled: "disabled", actionButtonsDisabled: "actionButtonsDisabled" }, outputs: { textEditEvent: "textEditEvent", dislikeEvent: "dislikeEvent", copyEvent: "copyEvent" }, features: [i0.ɵɵNgOnChangesFeature], decls: 18, vars: 13, consts: [["textarea", ""], [1, "llm-wrapper", 3, "ngClass.gt-lg"], [1, "llm-textarea-wrapper"], [1, "llm-textarea", 3, "formControl"], [1, "llm-textarea-actions"], [1, "material-icons-outlined", "llm-eu-data-tooltip", 3, "matTooltip"], ["mat-icon-button", "", 3, "click", "matTooltip", "disabled"], [1, "material-icons-outlined", "copy"], ["mat-icon-button", "", 3, "click", "disabled", "matTooltip"], [1, "material-icons-outlined", "dislike"]], template: function LLMTextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6881
|
+
} }, inputs: { text: "text", disabled: "disabled", actionButtonsDisabled: "actionButtonsDisabled" }, outputs: { textEditEvent: "textEditEvent", dislikeEvent: "dislikeEvent", copyEvent: "copyEvent" }, standalone: false, features: [i0.ɵɵNgOnChangesFeature], decls: 18, vars: 13, consts: [["textarea", ""], [1, "llm-wrapper", 3, "ngClass.gt-lg"], [1, "llm-textarea-wrapper"], [1, "llm-textarea", 3, "formControl"], [1, "llm-textarea-actions"], [1, "material-icons-outlined", "llm-eu-data-tooltip", 3, "matTooltip"], ["mat-icon-button", "", 3, "click", "matTooltip", "disabled"], [1, "material-icons-outlined", "copy"], ["mat-icon-button", "", 3, "click", "disabled", "matTooltip"], [1, "material-icons-outlined", "dislike"]], template: function LLMTextareaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6889
6882
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
6890
6883
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "textarea", 3, 0);
|
|
6891
6884
|
i0.ɵɵtext(4, " ");
|
|
@@ -6920,7 +6913,7 @@ class LLMTextareaComponent {
|
|
|
6920
6913
|
}
|
|
6921
6914
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMTextareaComponent, [{
|
|
6922
6915
|
type: Component,
|
|
6923
|
-
args: [{ selector: 'lib-llm-textarea', template: "<div [ngClass.gt-lg]=\"'desktop'\" class=\"llm-wrapper\">\r\n <div class=\"llm-textarea-wrapper\">\r\n <textarea\r\n #textarea\r\n class=\"llm-textarea\"\r\n [formControl]=\"textareaControl\"\r\n >\r\n </textarea>\r\n\r\n <div class=\"llm-textarea-actions\">\r\n <mat-icon [matTooltip]=\"'LLM.EU_DATA_TOOLTIP' | translate\" class=\"material-icons-outlined llm-eu-data-tooltip\"> gpp_maybe </mat-icon>\r\n\r\n <div>\r\n <button [matTooltip]=\"'TOOLTIPS.DISLIKE' | translate\" (click)=\"dislike()\" mat-icon-button [disabled]=\"actionButtonsDisabled || !textareaControl.value\">\r\n <mat-icon class=\"material-icons-outlined copy\"> thumb_down </mat-icon>\r\n </button>\r\n \r\n <button\r\n mat-icon-button\r\n [disabled]=\"actionButtonsDisabled || !textareaControl.value\"\r\n [matTooltip]=\"'TOOLTIPS.COPY' | translate\"\r\n (click)=\"copy()\"\r\n >\r\n <mat-icon class=\"material-icons-outlined dislike\"> content_copy </mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".llm-wrapper{position:relative;border:1px solid var(--base-65);border-radius:8px;overflow-y:auto}.llm-textarea-wrapper{position:relative}.llm-textarea{min-width:100%;min-height:310px;padding:8px 16px;resize:none;background:none;border-radius:8px;margin-bottom:46px}.desktop .llm-textarea{min-height:490px}.llm-textarea-actions{position:absolute;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:4px}.llm-eu-data-tooltip{margin-left:16px}\n"] }]
|
|
6916
|
+
args: [{ selector: 'lib-llm-textarea', standalone: false, template: "<div [ngClass.gt-lg]=\"'desktop'\" class=\"llm-wrapper\">\r\n <div class=\"llm-textarea-wrapper\">\r\n <textarea\r\n #textarea\r\n class=\"llm-textarea\"\r\n [formControl]=\"textareaControl\"\r\n >\r\n </textarea>\r\n\r\n <div class=\"llm-textarea-actions\">\r\n <mat-icon [matTooltip]=\"'LLM.EU_DATA_TOOLTIP' | translate\" class=\"material-icons-outlined llm-eu-data-tooltip\"> gpp_maybe </mat-icon>\r\n\r\n <div>\r\n <button [matTooltip]=\"'TOOLTIPS.DISLIKE' | translate\" (click)=\"dislike()\" mat-icon-button [disabled]=\"actionButtonsDisabled || !textareaControl.value\">\r\n <mat-icon class=\"material-icons-outlined copy\"> thumb_down </mat-icon>\r\n </button>\r\n \r\n <button\r\n mat-icon-button\r\n [disabled]=\"actionButtonsDisabled || !textareaControl.value\"\r\n [matTooltip]=\"'TOOLTIPS.COPY' | translate\"\r\n (click)=\"copy()\"\r\n >\r\n <mat-icon class=\"material-icons-outlined dislike\"> content_copy </mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".llm-wrapper{position:relative;border:1px solid var(--base-65);border-radius:8px;overflow-y:auto}.llm-textarea-wrapper{position:relative}.llm-textarea{min-width:100%;min-height:310px;padding:8px 16px;resize:none;background:none;border-radius:8px;margin-bottom:46px}.desktop .llm-textarea{min-height:490px}.llm-textarea-actions{position:absolute;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:4px}.llm-eu-data-tooltip{margin-left:16px}\n"] }]
|
|
6924
6917
|
}], () => [{ type: i1$6.Clipboard }], { textarea: [{
|
|
6925
6918
|
type: ViewChild,
|
|
6926
6919
|
args: ['textarea']
|
|
@@ -6937,7 +6930,7 @@ class LLMTextareaComponent {
|
|
|
6937
6930
|
}], copyEvent: [{
|
|
6938
6931
|
type: Output
|
|
6939
6932
|
}] }); })();
|
|
6940
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LLMTextareaComponent, { className: "LLMTextareaComponent", filePath: "lib
|
|
6933
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LLMTextareaComponent, { className: "LLMTextareaComponent", filePath: "lib/llm/shared/llm-textarea/llm-textarea.component.ts", lineNumber: 12 }); })();
|
|
6941
6934
|
|
|
6942
6935
|
const _c0$1 = (a0, a1) => ({ limit: a0, subscriptionUrl: a1 });
|
|
6943
6936
|
function LLMTextareaWithActionsComponent_lib_tld_notification_message_6_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -7196,7 +7189,7 @@ class LLMTextareaWithActionsComponent {
|
|
|
7196
7189
|
};
|
|
7197
7190
|
}
|
|
7198
7191
|
static { this.ɵfac = function LLMTextareaWithActionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMTextareaWithActionsComponent)(i0.ɵɵdirectiveInject(i1$5.LLMService), i0.ɵɵdirectiveInject(LLMHelperService), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); }; }
|
|
7199
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMTextareaWithActionsComponent, selectors: [["lib-llm-textarea-with-actions"]], decls: 20, vars: 22, consts: [["closeButton", ""], ["rephraseAction", ""], ["mat-dialog-title", ""], ["mat-dialog-content", ""], [3, "innerHTML"], [3, "message", "closeClicked", 4, "ngFor", "ngForOf"], ["color", "accent", "class", "w-full llm-writing-style-select", "appearance", "outline", 4, "ngIf"], [3, "textEditEvent", "copyEvent", "dislikeEvent", "text", "disabled", "actionButtonsDisabled"], ["mat-dialog-actions", "", 1, "llm-actions-wrapper"], ["class", "quota-left-message", 3, "innerHTML", 4, "ngIf"], [1, "llm-actions"], ["mat-button", "", "color", "accent", 3, "click", 4, "ngIf", "ngIfElse"], ["mat-flat-button", "", "color", "accent", 3, "click", "disabled"], [4, "ngIf", "ngIfElse"], ["color", "primary-accent-darker", 3, "diameter", 4, "ngIf"], [3, "closeClicked", "message"], ["color", "accent", "appearance", "outline", 1, "w-full", "llm-writing-style-select"], [3, "ngModelChange", "disabled", "ngModel"], [3, "value"], [1, "quota-left-message", 3, "innerHTML"], ["mat-button", "", "color", "accent", 3, "click"], ["mat-button", "", "color", "accent", 3, "mat-dialog-close"], ["color", "primary-accent-darker", 3, "diameter"]], template: function LLMTextareaWithActionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7192
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMTextareaWithActionsComponent, selectors: [["lib-llm-textarea-with-actions"]], standalone: false, decls: 20, vars: 22, consts: [["closeButton", ""], ["rephraseAction", ""], ["mat-dialog-title", ""], ["mat-dialog-content", ""], [3, "innerHTML"], [3, "message", "closeClicked", 4, "ngFor", "ngForOf"], ["color", "accent", "class", "w-full llm-writing-style-select", "appearance", "outline", 4, "ngIf"], [3, "textEditEvent", "copyEvent", "dislikeEvent", "text", "disabled", "actionButtonsDisabled"], ["mat-dialog-actions", "", 1, "llm-actions-wrapper"], ["class", "quota-left-message", 3, "innerHTML", 4, "ngIf"], [1, "llm-actions"], ["mat-button", "", "color", "accent", 3, "click", 4, "ngIf", "ngIfElse"], ["mat-flat-button", "", "color", "accent", 3, "click", "disabled"], [4, "ngIf", "ngIfElse"], ["color", "primary-accent-darker", 3, "diameter", 4, "ngIf"], [3, "closeClicked", "message"], ["color", "accent", "appearance", "outline", 1, "w-full", "llm-writing-style-select"], [3, "ngModelChange", "disabled", "ngModel"], [3, "value"], [1, "quota-left-message", 3, "innerHTML"], ["mat-button", "", "color", "accent", 3, "click"], ["mat-button", "", "color", "accent", 3, "mat-dialog-close"], ["color", "primary-accent-darker", 3, "diameter"]], template: function LLMTextareaWithActionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7200
7193
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7201
7194
|
i0.ɵɵelementStart(0, "h1", 2);
|
|
7202
7195
|
i0.ɵɵtext(1);
|
|
@@ -7243,16 +7236,16 @@ class LLMTextareaWithActionsComponent {
|
|
|
7243
7236
|
i0.ɵɵproperty("ngIf", ctx.llmActionType === ctx.llmActions.SUMMARY)("ngIfElse", rephraseAction_r9);
|
|
7244
7237
|
i0.ɵɵadvance(3);
|
|
7245
7238
|
i0.ɵɵproperty("ngIf", ctx.isLoading);
|
|
7246
|
-
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2$1.MatButton, i1$4.MatDialogClose, i1$4.MatDialogTitle, i1$4.MatDialogActions, i1$4.MatDialogContent, i4$1.NgControlStatus, i4$1.NgModel,
|
|
7239
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2$1.MatButton, i1$4.MatDialogClose, i1$4.MatDialogTitle, i1$4.MatDialogActions, i1$4.MatDialogContent, i4$1.NgControlStatus, i4$1.NgModel, i9.MatFormField, i9.MatLabel, i4.MatSelect, i4.MatOption, NotificationMessageComponent, i2$5.MatProgressSpinner, LLMTextareaComponent, i1$2.UpperCasePipe, i1$1.TranslatePipe], styles: [".info-icon[_ngcontent-%COMP%]{font-size:1rem;margin-left:5px}[_nghost-%COMP%] .message-body{margin:0 2.25rem 0 0!important;font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important;align-items:center!important}[_nghost-%COMP%] .text-container{margin-right:0!important}[_nghost-%COMP%] tld-close-button{top:1px!important} .multiline-tooltip{white-space:pre;min-width:fit-content} .multiline-tooltip .mdc-tooltip__surface{max-width:none!important}[_nghost-%COMP%] .llm-textarea{min-height:240px!important}[_nghost-%COMP%] .rephrase .llm-textarea{min-height:100px!important}[_nghost-%COMP%] .desktop .llm-textarea{min-height:460px!important}[_nghost-%COMP%] .rephrase .desktop .llm-textarea{min-height:330px!important}.llm-writing-style-select[_ngcontent-%COMP%]{margin-top:1.25rem}.llm-writing-style[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:.25rem}.llm-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-actions[_ngcontent-%COMP%]{display:flex;justify-content:end}.w-full[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mdc-button__label{display:flex!important;align-items:center!important}mat-spinner[_ngcontent-%COMP%]{margin-left:.5rem}.quota-left-message[_ngcontent-%COMP%]{margin-bottom:12px}"] }); }
|
|
7247
7240
|
}
|
|
7248
7241
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMTextareaWithActionsComponent, [{
|
|
7249
7242
|
type: Component,
|
|
7250
|
-
args: [{ selector: 'lib-llm-textarea-with-actions', template: "<h1 mat-dialog-title>{{ localizationKey + \"TITLE\" | translate }}</h1>\r\n<div mat-dialog-content>\r\n <p [innerHTML]=\"localizationKey + 'DESCRIPTION' | translate\"></p>\r\n\r\n <lib-tld-notification-message *ngFor=\"let message of messages\" [message]=\"message\" (closeClicked)=\"closeMessage(message)\"></lib-tld-notification-message>\r\n\r\n <mat-form-field *ngIf=\"showUseCase\" color=\"accent\" class=\"w-full llm-writing-style-select\" appearance=\"outline\">\r\n <mat-label>{{ 'LLM.USE_CASES_LABEL' | translate }}</mat-label>\r\n <mat-select [disabled]=\"isLoading\" [(ngModel)]=\"selectedUseCase\">\r\n @for (useCase of useCases; track $index) {\r\n\r\n <mat-option [value]=\"useCase\">\r\n {{ 'LLM.USE_CASE.' + (useCase | uppercase) | translate }}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n\r\n\r\n <lib-llm-textarea [class.rephrase]=\"llmActionType === llmActions.REPHRASE\" [text]=\"editedText !== '' ? editedText : initialText\" [disabled]=\"isLoading || !quotaLeft\" [actionButtonsDisabled]=\"!isEdited\" (textEditEvent)=\"textEditEvent($event)\" (copyEvent)=\"copyPlausibleEvent()\" (dislikeEvent)=\"dislikePlausibleEvent()\"></lib-llm-textarea>\r\n</div>\r\n<div class=\"llm-actions-wrapper\" mat-dialog-actions>\r\n <div *ngIf=\"remainingQuotaMessageVisible\" class=\"quota-left-message\" [innerHTML]=\"localizationKey + 'LIMIT' | translate: { limit: quotaLeft, subscriptionUrl: subscriptionUrl }\"></div>\r\n\r\n <div [class.w-full]=\"!remainingQuotaMessageVisible\" class=\"llm-actions\">\r\n <button *ngIf=\"isLoading; else closeButton\" mat-button color=\"accent\" (click)=\"cancel()\">\r\n {{ localizationKey + \"CANCEL\" | translate }}\r\n </button>\r\n\r\n <ng-template #closeButton>\r\n <button mat-button color=\"accent\" [mat-dialog-close]=\"null\">\r\n {{ localizationKey + \"CLOSE\" | translate }}\r\n </button>\r\n </ng-template>\r\n\r\n <button\r\n mat-flat-button\r\n color=\"accent\"\r\n (click)=\"getEditedText()\"\r\n [disabled]=\"isDisabled\"\r\n >\r\n <span *ngIf=\"llmActionType === llmActions.SUMMARY; else rephraseAction\">\r\n {{\r\n (!isSummarized\r\n ? \"LLM.SUMMARY_MODAL.ACTION\"\r\n : \"LLM.SUMMARY_MODAL.REGENERATE\"\r\n ) | translate\r\n }}\r\n </span>\r\n\r\n <ng-template #rephraseAction>\r\n {{ localizationKey + \"ACTION\" | translate }}\r\n </ng-template>\r\n <mat-spinner *ngIf=\"isLoading\" [diameter]=\"20\" color=\"primary-accent-darker\"></mat-spinner>\r\n </button>\r\n </div>\r\n</div>\r\n", styles: [".info-icon{font-size:1rem;margin-left:5px}:host ::ng-deep .message-body{margin:0 2.25rem 0 0!important;font-size:14px}:host ::ng-deep .notification-message-container{margin:0 0 16px;padding:.9em 1em!important;align-items:center!important}:host ::ng-deep .text-container{margin-right:0!important}:host ::ng-deep tld-close-button{top:1px!important}::ng-deep .multiline-tooltip{white-space:pre;min-width:fit-content}::ng-deep .multiline-tooltip .mdc-tooltip__surface{max-width:none!important}:host ::ng-deep .llm-textarea{min-height:240px!important}:host ::ng-deep .rephrase .llm-textarea{min-height:100px!important}:host ::ng-deep .desktop .llm-textarea{min-height:460px!important}:host ::ng-deep .rephrase .desktop .llm-textarea{min-height:330px!important}.llm-writing-style-select{margin-top:1.25rem}.llm-writing-style{display:flex;align-items:center;margin-bottom:.25rem}.llm-actions-wrapper{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-actions{display:flex;justify-content:end}.w-full{width:100%}:host ::ng-deep .mdc-button__label{display:flex!important;align-items:center!important}mat-spinner{margin-left:.5rem}.quota-left-message{margin-bottom:12px}\n"] }]
|
|
7243
|
+
args: [{ selector: 'lib-llm-textarea-with-actions', standalone: false, template: "<h1 mat-dialog-title>{{ localizationKey + \"TITLE\" | translate }}</h1>\r\n<div mat-dialog-content>\r\n <p [innerHTML]=\"localizationKey + 'DESCRIPTION' | translate\"></p>\r\n\r\n <lib-tld-notification-message *ngFor=\"let message of messages\" [message]=\"message\" (closeClicked)=\"closeMessage(message)\"></lib-tld-notification-message>\r\n\r\n <mat-form-field *ngIf=\"showUseCase\" color=\"accent\" class=\"w-full llm-writing-style-select\" appearance=\"outline\">\r\n <mat-label>{{ 'LLM.USE_CASES_LABEL' | translate }}</mat-label>\r\n <mat-select [disabled]=\"isLoading\" [(ngModel)]=\"selectedUseCase\">\r\n @for (useCase of useCases; track $index) {\r\n\r\n <mat-option [value]=\"useCase\">\r\n {{ 'LLM.USE_CASE.' + (useCase | uppercase) | translate }}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n\r\n\r\n <lib-llm-textarea [class.rephrase]=\"llmActionType === llmActions.REPHRASE\" [text]=\"editedText !== '' ? editedText : initialText\" [disabled]=\"isLoading || !quotaLeft\" [actionButtonsDisabled]=\"!isEdited\" (textEditEvent)=\"textEditEvent($event)\" (copyEvent)=\"copyPlausibleEvent()\" (dislikeEvent)=\"dislikePlausibleEvent()\"></lib-llm-textarea>\r\n</div>\r\n<div class=\"llm-actions-wrapper\" mat-dialog-actions>\r\n <div *ngIf=\"remainingQuotaMessageVisible\" class=\"quota-left-message\" [innerHTML]=\"localizationKey + 'LIMIT' | translate: { limit: quotaLeft, subscriptionUrl: subscriptionUrl }\"></div>\r\n\r\n <div [class.w-full]=\"!remainingQuotaMessageVisible\" class=\"llm-actions\">\r\n <button *ngIf=\"isLoading; else closeButton\" mat-button color=\"accent\" (click)=\"cancel()\">\r\n {{ localizationKey + \"CANCEL\" | translate }}\r\n </button>\r\n\r\n <ng-template #closeButton>\r\n <button mat-button color=\"accent\" [mat-dialog-close]=\"null\">\r\n {{ localizationKey + \"CLOSE\" | translate }}\r\n </button>\r\n </ng-template>\r\n\r\n <button\r\n mat-flat-button\r\n color=\"accent\"\r\n (click)=\"getEditedText()\"\r\n [disabled]=\"isDisabled\"\r\n >\r\n <span *ngIf=\"llmActionType === llmActions.SUMMARY; else rephraseAction\">\r\n {{\r\n (!isSummarized\r\n ? \"LLM.SUMMARY_MODAL.ACTION\"\r\n : \"LLM.SUMMARY_MODAL.REGENERATE\"\r\n ) | translate\r\n }}\r\n </span>\r\n\r\n <ng-template #rephraseAction>\r\n {{ localizationKey + \"ACTION\" | translate }}\r\n </ng-template>\r\n <mat-spinner *ngIf=\"isLoading\" [diameter]=\"20\" color=\"primary-accent-darker\"></mat-spinner>\r\n </button>\r\n </div>\r\n</div>\r\n", styles: [".info-icon{font-size:1rem;margin-left:5px}:host ::ng-deep .message-body{margin:0 2.25rem 0 0!important;font-size:14px}:host ::ng-deep .notification-message-container{margin:0 0 16px;padding:.9em 1em!important;align-items:center!important}:host ::ng-deep .text-container{margin-right:0!important}:host ::ng-deep tld-close-button{top:1px!important}::ng-deep .multiline-tooltip{white-space:pre;min-width:fit-content}::ng-deep .multiline-tooltip .mdc-tooltip__surface{max-width:none!important}:host ::ng-deep .llm-textarea{min-height:240px!important}:host ::ng-deep .rephrase .llm-textarea{min-height:100px!important}:host ::ng-deep .desktop .llm-textarea{min-height:460px!important}:host ::ng-deep .rephrase .desktop .llm-textarea{min-height:330px!important}.llm-writing-style-select{margin-top:1.25rem}.llm-writing-style{display:flex;align-items:center;margin-bottom:.25rem}.llm-actions-wrapper{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-actions{display:flex;justify-content:end}.w-full{width:100%}:host ::ng-deep .mdc-button__label{display:flex!important;align-items:center!important}mat-spinner{margin-left:.5rem}.quota-left-message{margin-bottom:12px}\n"] }]
|
|
7251
7244
|
}], () => [{ type: i1$5.LLMService }, { type: LLMHelperService }, { type: undefined, decorators: [{
|
|
7252
7245
|
type: Inject,
|
|
7253
7246
|
args: [MAT_DIALOG_DATA]
|
|
7254
7247
|
}] }], null); })();
|
|
7255
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LLMTextareaWithActionsComponent, { className: "LLMTextareaWithActionsComponent", filePath: "lib
|
|
7248
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LLMTextareaWithActionsComponent, { className: "LLMTextareaWithActionsComponent", filePath: "lib/llm/components/llm-textarea-with-actions/llm-textarea-with-actions.component.ts", lineNumber: 21 }); })();
|
|
7256
7249
|
|
|
7257
7250
|
const SUMMARIZE = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7258
7251
|
<path d="M4 5H18.6286V6.82857H4V5ZM4 10.4857H18.6286V8.65714H4V10.4857ZM4 14.1429H10.4V12.3143H4V14.1429ZM4 17.8H10.4V15.9714H4V17.8Z" fill="currentColor"/>
|
|
@@ -7279,7 +7272,7 @@ class NewFeatureDialogComponent {
|
|
|
7279
7272
|
this.data = inject(MAT_DIALOG_DATA);
|
|
7280
7273
|
}
|
|
7281
7274
|
static { this.ɵfac = function NewFeatureDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NewFeatureDialogComponent)(); }; }
|
|
7282
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NewFeatureDialogComponent, selectors: [["lib-new-feature-dialog"]],
|
|
7275
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NewFeatureDialogComponent, selectors: [["lib-new-feature-dialog"]], decls: 10, vars: 9, consts: [["mat-dialog-title", ""], [1, "description", 3, "innerHTML"], ["mat-button", "", "mat-dialog-close", "", "color", "accent"]], template: function NewFeatureDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7283
7276
|
i0.ɵɵelementStart(0, "h2", 0);
|
|
7284
7277
|
i0.ɵɵtext(1);
|
|
7285
7278
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -7303,13 +7296,13 @@ class NewFeatureDialogComponent {
|
|
|
7303
7296
|
}
|
|
7304
7297
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NewFeatureDialogComponent, [{
|
|
7305
7298
|
type: Component,
|
|
7306
|
-
args: [{ selector: 'lib-new-feature-dialog',
|
|
7299
|
+
args: [{ selector: 'lib-new-feature-dialog', imports: [MatDialogModule, MatButtonModule, TranslatePipe], template: "<h2 mat-dialog-title>{{ data.title | translate }}</h2>\r\n<mat-dialog-content>\r\n <p class=\"description\" [innerHTML]=\"data.description | translate\"></p>\r\n</mat-dialog-content>\r\n<mat-dialog-actions>\r\n <button mat-button mat-dialog-close color=\"accent\">\r\n {{ data.close | translate }}\r\n </button>\r\n</mat-dialog-actions>\r\n", styles: [":host ::ng-deep{display:inline-block;padding:12px 16px}:host ::ng-deep .mat-mdc-dialog-title,:host ::ng-deep mat-dialog-actions,:host ::ng-deep mat-dialog-content{padding:0!important;margin:0!important}\n"] }]
|
|
7307
7300
|
}], null, null); })();
|
|
7308
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NewFeatureDialogComponent, { className: "NewFeatureDialogComponent", filePath: "lib
|
|
7301
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NewFeatureDialogComponent, { className: "NewFeatureDialogComponent", filePath: "lib/new-feature-dialog/new-feature-dialog.component.ts", lineNumber: 12 }); })();
|
|
7309
7302
|
|
|
7310
7303
|
class NewFeatureDialogService {
|
|
7311
7304
|
constructor() {
|
|
7312
|
-
this.current = signal(undefined);
|
|
7305
|
+
this.current = signal(undefined, ...(ngDevMode ? [{ debugName: "current" }] : []));
|
|
7313
7306
|
this.queue = [];
|
|
7314
7307
|
}
|
|
7315
7308
|
requestOpenFeature(component) {
|
|
@@ -7349,7 +7342,7 @@ class NewFeatureDialogWrapperComponent {
|
|
|
7349
7342
|
this.#dialog = inject(MatDialog);
|
|
7350
7343
|
this.#featureService = inject(NewFeatureDialogService);
|
|
7351
7344
|
this.#destroy = new Subject();
|
|
7352
|
-
this.featureActive = signal(false);
|
|
7345
|
+
this.featureActive = signal(false, ...(ngDevMode ? [{ debugName: "featureActive" }] : []));
|
|
7353
7346
|
this.isFeatureSeen = false;
|
|
7354
7347
|
}
|
|
7355
7348
|
#dialog;
|
|
@@ -7410,15 +7403,14 @@ class NewFeatureDialogWrapperComponent {
|
|
|
7410
7403
|
}
|
|
7411
7404
|
}
|
|
7412
7405
|
static { this.ɵfac = function NewFeatureDialogWrapperComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NewFeatureDialogWrapperComponent)(); }; }
|
|
7413
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NewFeatureDialogWrapperComponent, selectors: [["lib-new-feature-dialog-wrapper"]], inputs: { titleLocalizationKey: "titleLocalizationKey", descriptionLocalizationKey: "descriptionLocalizationKey", closeLocalizationKey: "closeLocalizationKey", featureClassName: "featureClassName", featureLocalStorageKey: "featureLocalStorageKey", timeout: "timeout", maxWidth: "maxWidth", mobileScreenCustomPosition: "mobileScreenCustomPosition" },
|
|
7406
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NewFeatureDialogWrapperComponent, selectors: [["lib-new-feature-dialog-wrapper"]], inputs: { titleLocalizationKey: "titleLocalizationKey", descriptionLocalizationKey: "descriptionLocalizationKey", closeLocalizationKey: "closeLocalizationKey", featureClassName: "featureClassName", featureLocalStorageKey: "featureLocalStorageKey", timeout: "timeout", maxWidth: "maxWidth", mobileScreenCustomPosition: "mobileScreenCustomPosition" }, decls: 0, vars: 0, template: function NewFeatureDialogWrapperComponent_Template(rf, ctx) { }, dependencies: [CommonModule, MatDialogModule], encapsulation: 2 }); }
|
|
7414
7407
|
}
|
|
7415
7408
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NewFeatureDialogWrapperComponent, [{
|
|
7416
7409
|
type: Component,
|
|
7417
7410
|
args: [{
|
|
7418
7411
|
selector: 'lib-new-feature-dialog-wrapper',
|
|
7419
|
-
standalone: true,
|
|
7420
7412
|
imports: [CommonModule, MatDialogModule, NewFeatureDialogComponent],
|
|
7421
|
-
template: ''
|
|
7413
|
+
template: ''
|
|
7422
7414
|
}]
|
|
7423
7415
|
}], null, { titleLocalizationKey: [{
|
|
7424
7416
|
type: Input
|
|
@@ -7437,7 +7429,7 @@ class NewFeatureDialogWrapperComponent {
|
|
|
7437
7429
|
}], mobileScreenCustomPosition: [{
|
|
7438
7430
|
type: Input
|
|
7439
7431
|
}] }); })();
|
|
7440
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NewFeatureDialogWrapperComponent, { className: "NewFeatureDialogWrapperComponent", filePath: "lib
|
|
7432
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NewFeatureDialogWrapperComponent, { className: "NewFeatureDialogWrapperComponent", filePath: "lib/new-feature-dialog/new-feature-dialog-wrapper/new-feature-dialog-wrapper.component.ts", lineNumber: 15 }); })();
|
|
7441
7433
|
|
|
7442
7434
|
class LLMSummaryComponent {
|
|
7443
7435
|
constructor() {
|
|
@@ -7447,7 +7439,7 @@ class LLMSummaryComponent {
|
|
|
7447
7439
|
this.openModalEvent.emit(LLMActions.SUMMARY);
|
|
7448
7440
|
}
|
|
7449
7441
|
static { this.ɵfac = function LLMSummaryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMSummaryComponent)(); }; }
|
|
7450
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMSummaryComponent, selectors: [["lib-llm-summary"]], inputs: { isTextSummarizable: "isTextSummarizable", newFeatureLocalStorageKey: "newFeatureLocalStorageKey" }, outputs: { openModalEvent: "openModalEvent" }, decls: 6, vars: 12, consts: [["summarizeFeature", ""], ["mat-stroked-button", "", "color", "accent", 1, "llm-summary", 3, "click", "disabled"], [3, "svgIcon"], [3, "titleLocalizationKey", "descriptionLocalizationKey", "closeLocalizationKey", "featureClassName", "featureLocalStorageKey"]], template: function LLMSummaryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7442
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMSummaryComponent, selectors: [["lib-llm-summary"]], inputs: { isTextSummarizable: "isTextSummarizable", newFeatureLocalStorageKey: "newFeatureLocalStorageKey" }, outputs: { openModalEvent: "openModalEvent" }, standalone: false, decls: 6, vars: 12, consts: [["summarizeFeature", ""], ["mat-stroked-button", "", "color", "accent", 1, "llm-summary", 3, "click", "disabled"], [3, "svgIcon"], [3, "titleLocalizationKey", "descriptionLocalizationKey", "closeLocalizationKey", "featureClassName", "featureLocalStorageKey"]], template: function LLMSummaryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7451
7443
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7452
7444
|
i0.ɵɵelementStart(0, "button", 1);
|
|
7453
7445
|
i0.ɵɵlistener("click", function LLMSummaryComponent_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.openModal()); });
|
|
@@ -7470,7 +7462,7 @@ class LLMSummaryComponent {
|
|
|
7470
7462
|
}
|
|
7471
7463
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMSummaryComponent, [{
|
|
7472
7464
|
type: Component,
|
|
7473
|
-
args: [{ selector: 'lib-llm-summary', template: "<button\r\n\tmat-stroked-button\r\n\tclass=\"llm-summary\"\r\n\tcolor=\"accent\"\r\n\t[disabled]=\"!isTextSummarizable\"\r\n\t[class.summarize-feature-active]=\"summarizeFeature?.featureActive()\"\r\n\t(click)=\"openModal()\"\r\n>\r\n\t<mat-icon [svgIcon]=\"'summarize'\"></mat-icon>\r\n\t{{ \"LLM.SUMMARY\" | translate }}\r\n</button>\r\n\r\n<lib-new-feature-dialog-wrapper\r\n\t#summarizeFeature\r\n\t[titleLocalizationKey]=\"'LLM.SUMMARY_NEW_FEATURE.TITLE'\"\r\n\t[descriptionLocalizationKey]=\"'LLM.SUMMARY_NEW_FEATURE.DESCRIPTION'\"\r\n\t[closeLocalizationKey]=\"'LLM.SUMMARY_NEW_FEATURE.CLOSE'\"\r\n\t[featureClassName]=\"'llm-summary'\"\r\n\t[featureLocalStorageKey]=\"'summary' + newFeatureLocalStorageKey\"\r\n></lib-new-feature-dialog-wrapper>\r\n", styles: ["::ng-deep .summarize-feature-active{z-index:1001!important;background-color:#fff!important}\n"] }]
|
|
7465
|
+
args: [{ selector: 'lib-llm-summary', standalone: false, template: "<button\r\n\tmat-stroked-button\r\n\tclass=\"llm-summary\"\r\n\tcolor=\"accent\"\r\n\t[disabled]=\"!isTextSummarizable\"\r\n\t[class.summarize-feature-active]=\"summarizeFeature?.featureActive()\"\r\n\t(click)=\"openModal()\"\r\n>\r\n\t<mat-icon [svgIcon]=\"'summarize'\"></mat-icon>\r\n\t{{ \"LLM.SUMMARY\" | translate }}\r\n</button>\r\n\r\n<lib-new-feature-dialog-wrapper\r\n\t#summarizeFeature\r\n\t[titleLocalizationKey]=\"'LLM.SUMMARY_NEW_FEATURE.TITLE'\"\r\n\t[descriptionLocalizationKey]=\"'LLM.SUMMARY_NEW_FEATURE.DESCRIPTION'\"\r\n\t[closeLocalizationKey]=\"'LLM.SUMMARY_NEW_FEATURE.CLOSE'\"\r\n\t[featureClassName]=\"'llm-summary'\"\r\n\t[featureLocalStorageKey]=\"'summary' + newFeatureLocalStorageKey\"\r\n></lib-new-feature-dialog-wrapper>\r\n", styles: ["::ng-deep .summarize-feature-active{z-index:1001!important;background-color:#fff!important}\n"] }]
|
|
7474
7466
|
}], null, { isTextSummarizable: [{
|
|
7475
7467
|
type: Input
|
|
7476
7468
|
}], newFeatureLocalStorageKey: [{
|
|
@@ -7478,7 +7470,7 @@ class LLMSummaryComponent {
|
|
|
7478
7470
|
}], openModalEvent: [{
|
|
7479
7471
|
type: Output
|
|
7480
7472
|
}] }); })();
|
|
7481
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LLMSummaryComponent, { className: "LLMSummaryComponent", filePath: "lib
|
|
7473
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LLMSummaryComponent, { className: "LLMSummaryComponent", filePath: "lib/llm/components/llm-summary/llm-summary.component.ts", lineNumber: 10 }); })();
|
|
7482
7474
|
|
|
7483
7475
|
class LLMRephraseComponent {
|
|
7484
7476
|
constructor() {
|
|
@@ -7488,7 +7480,7 @@ class LLMRephraseComponent {
|
|
|
7488
7480
|
this.openModalEvent.emit(LLMActions.REPHRASE);
|
|
7489
7481
|
}
|
|
7490
7482
|
static { this.ɵfac = function LLMRephraseComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMRephraseComponent)(); }; }
|
|
7491
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMRephraseComponent, selectors: [["lib-llm-rephrase"]], inputs: { isTargetLanguageRephrasable: "isTargetLanguageRephrasable", newFeatureLocalStorageKey: "newFeatureLocalStorageKey" }, outputs: { openModalEvent: "openModalEvent" }, decls: 6, vars: 13, consts: [["rephraseFeature", ""], ["mat-stroked-button", "", "color", "accent", 1, "llm-rephrase", 3, "click", "disabled"], [3, "svgIcon"], [3, "titleLocalizationKey", "descriptionLocalizationKey", "closeLocalizationKey", "featureClassName", "featureLocalStorageKey", "maxWidth"]], template: function LLMRephraseComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7483
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMRephraseComponent, selectors: [["lib-llm-rephrase"]], inputs: { isTargetLanguageRephrasable: "isTargetLanguageRephrasable", newFeatureLocalStorageKey: "newFeatureLocalStorageKey" }, outputs: { openModalEvent: "openModalEvent" }, standalone: false, decls: 6, vars: 13, consts: [["rephraseFeature", ""], ["mat-stroked-button", "", "color", "accent", 1, "llm-rephrase", 3, "click", "disabled"], [3, "svgIcon"], [3, "titleLocalizationKey", "descriptionLocalizationKey", "closeLocalizationKey", "featureClassName", "featureLocalStorageKey", "maxWidth"]], template: function LLMRephraseComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7492
7484
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7493
7485
|
i0.ɵɵelementStart(0, "button", 1);
|
|
7494
7486
|
i0.ɵɵlistener("click", function LLMRephraseComponent_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.openModal()); });
|
|
@@ -7511,7 +7503,7 @@ class LLMRephraseComponent {
|
|
|
7511
7503
|
}
|
|
7512
7504
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMRephraseComponent, [{
|
|
7513
7505
|
type: Component,
|
|
7514
|
-
args: [{ selector: 'lib-llm-rephrase', template: "<button\r\n\tmat-stroked-button\r\n\tclass=\"llm-rephrase\"\r\n\tcolor=\"accent\"\r\n\t[disabled]=\"!isTargetLanguageRephrasable\"\r\n\t[class.rephrase-feature-active]=\"rephraseFeature?.featureActive()\"\r\n\t(click)=\"openModal()\"\r\n>\r\n\t<mat-icon [svgIcon]=\"'rephrase'\"></mat-icon>\r\n\t{{ \"LLM.REPHRASE\" | translate }}\r\n</button>\r\n\r\n<lib-new-feature-dialog-wrapper\r\n\t#rephraseFeature\r\n\t[titleLocalizationKey]=\"'LLM.REPHRASE_NEW_FEATURE.TITLE'\"\r\n\t[descriptionLocalizationKey]=\"'LLM.REPHRASE_NEW_FEATURE.DESCRIPTION'\"\r\n\t[closeLocalizationKey]=\"'LLM.REPHRASE_NEW_FEATURE.CLOSE'\"\r\n\t[featureClassName]=\"'llm-rephrase'\"\r\n\t[featureLocalStorageKey]=\"'rephrase' + newFeatureLocalStorageKey\"\r\n\t[maxWidth]=\"400\"\r\n></lib-new-feature-dialog-wrapper>\r\n", styles: ["::ng-deep .rephrase-feature-active{z-index:1001!important;background-color:#fff!important}\n"] }]
|
|
7506
|
+
args: [{ selector: 'lib-llm-rephrase', standalone: false, template: "<button\r\n\tmat-stroked-button\r\n\tclass=\"llm-rephrase\"\r\n\tcolor=\"accent\"\r\n\t[disabled]=\"!isTargetLanguageRephrasable\"\r\n\t[class.rephrase-feature-active]=\"rephraseFeature?.featureActive()\"\r\n\t(click)=\"openModal()\"\r\n>\r\n\t<mat-icon [svgIcon]=\"'rephrase'\"></mat-icon>\r\n\t{{ \"LLM.REPHRASE\" | translate }}\r\n</button>\r\n\r\n<lib-new-feature-dialog-wrapper\r\n\t#rephraseFeature\r\n\t[titleLocalizationKey]=\"'LLM.REPHRASE_NEW_FEATURE.TITLE'\"\r\n\t[descriptionLocalizationKey]=\"'LLM.REPHRASE_NEW_FEATURE.DESCRIPTION'\"\r\n\t[closeLocalizationKey]=\"'LLM.REPHRASE_NEW_FEATURE.CLOSE'\"\r\n\t[featureClassName]=\"'llm-rephrase'\"\r\n\t[featureLocalStorageKey]=\"'rephrase' + newFeatureLocalStorageKey\"\r\n\t[maxWidth]=\"400\"\r\n></lib-new-feature-dialog-wrapper>\r\n", styles: ["::ng-deep .rephrase-feature-active{z-index:1001!important;background-color:#fff!important}\n"] }]
|
|
7515
7507
|
}], null, { isTargetLanguageRephrasable: [{
|
|
7516
7508
|
type: Input
|
|
7517
7509
|
}], newFeatureLocalStorageKey: [{
|
|
@@ -7519,7 +7511,7 @@ class LLMRephraseComponent {
|
|
|
7519
7511
|
}], openModalEvent: [{
|
|
7520
7512
|
type: Output
|
|
7521
7513
|
}] }); })();
|
|
7522
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LLMRephraseComponent, { className: "LLMRephraseComponent", filePath: "lib
|
|
7514
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LLMRephraseComponent, { className: "LLMRephraseComponent", filePath: "lib/llm/components/llm-rephrase/llm-rephrase.component.ts", lineNumber: 10 }); })();
|
|
7523
7515
|
|
|
7524
7516
|
function LLMComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
7525
7517
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -7591,7 +7583,7 @@ class LLMComponent {
|
|
|
7591
7583
|
});
|
|
7592
7584
|
}
|
|
7593
7585
|
static { this.ɵfac = function LLMComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMComponent)(i0.ɵɵdirectiveInject(i1$4.MatDialog), i0.ɵɵdirectiveInject(IconService), i0.ɵɵdirectiveInject(LanguageTranslateService)); }; }
|
|
7594
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMComponent, selectors: [["lib-llm"]], inputs: { text: "text", language: "language", rephrasableLanguagesCodeList: "rephrasableLanguagesCodeList", summaryEnabled: "summaryEnabled", rephraseEnabled: "rephraseEnabled", showUseCaseSummary: "showUseCaseSummary", showUseCaseRephrase: "showUseCaseRephrase", newFeatureLocalStorageKey: "newFeatureLocalStorageKey", rephraseUseCases: "rephraseUseCases", summaryUseCases: "summaryUseCases" }, outputs: { menuTriggerClick: "menuTriggerClick" }, decls: 3, vars: 2, consts: [[1, "llm-wrapper"], [3, "matTooltipPosition", "matTooltip", 4, "ngIf"], [3, "matTooltipPosition", "matTooltip"], [3, "openModalEvent", "isTextSummarizable", "newFeatureLocalStorageKey"], [3, "openModalEvent", "isTargetLanguageRephrasable", "newFeatureLocalStorageKey"]], template: function LLMComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7586
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMComponent, selectors: [["lib-llm"]], inputs: { text: "text", language: "language", rephrasableLanguagesCodeList: "rephrasableLanguagesCodeList", summaryEnabled: "summaryEnabled", rephraseEnabled: "rephraseEnabled", showUseCaseSummary: "showUseCaseSummary", showUseCaseRephrase: "showUseCaseRephrase", newFeatureLocalStorageKey: "newFeatureLocalStorageKey", rephraseUseCases: "rephraseUseCases", summaryUseCases: "summaryUseCases" }, outputs: { menuTriggerClick: "menuTriggerClick" }, standalone: false, decls: 3, vars: 2, consts: [[1, "llm-wrapper"], [3, "matTooltipPosition", "matTooltip", 4, "ngIf"], [3, "matTooltipPosition", "matTooltip"], [3, "openModalEvent", "isTextSummarizable", "newFeatureLocalStorageKey"], [3, "openModalEvent", "isTargetLanguageRephrasable", "newFeatureLocalStorageKey"]], template: function LLMComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7595
7587
|
i0.ɵɵelementStart(0, "div", 0);
|
|
7596
7588
|
i0.ɵɵtemplate(1, LLMComponent_div_1_Template, 3, 6, "div", 1)(2, LLMComponent_div_2_Template, 3, 6, "div", 1);
|
|
7597
7589
|
i0.ɵɵelementEnd();
|
|
@@ -7604,7 +7596,7 @@ class LLMComponent {
|
|
|
7604
7596
|
}
|
|
7605
7597
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMComponent, [{
|
|
7606
7598
|
type: Component,
|
|
7607
|
-
args: [{ selector: 'lib-llm', template: "<div class=\"llm-wrapper\">\r\n\t<div *ngIf=\"summaryEnabled\" [matTooltipPosition]=\"'left'\" [matTooltip]=\"!isTextSummarizable ? ('LLM.MENU_SUMMARY_DISABLED_TOOLTIP' | translate) : ''\">\r\n\t\t<lib-llm-summary [isTextSummarizable]=\"!!isTextSummarizable\" [newFeatureLocalStorageKey]=\"newFeatureLocalStorageKey\" (openModalEvent)=\"openLLMModal($event)\"></lib-llm-summary>\r\n\t</div>\r\n\r\n\t<div *ngIf=\"rephraseEnabled\" [matTooltipPosition]=\"'left'\" [matTooltip]=\"!isTargetLanguageRephrasable ? ('LLM.MENU_REPHRASE_DISABLED_TOOLTIP' | translate) : ''\">\r\n\t\t<lib-llm-rephrase\r\n\t\t\t[isTargetLanguageRephrasable]=\"!!isTargetLanguageRephrasable\"\r\n\t\t\t[newFeatureLocalStorageKey]=\"newFeatureLocalStorageKey\"\r\n\t\t\t(openModalEvent)=\"openLLMModal($event)\"\r\n\t\t></lib-llm-rephrase>\r\n\t</div>\r\n</div>\r\n", styles: [".llm-wrapper{display:flex;gap:8px}\n"] }]
|
|
7599
|
+
args: [{ selector: 'lib-llm', standalone: false, template: "<div class=\"llm-wrapper\">\r\n\t<div *ngIf=\"summaryEnabled\" [matTooltipPosition]=\"'left'\" [matTooltip]=\"!isTextSummarizable ? ('LLM.MENU_SUMMARY_DISABLED_TOOLTIP' | translate) : ''\">\r\n\t\t<lib-llm-summary [isTextSummarizable]=\"!!isTextSummarizable\" [newFeatureLocalStorageKey]=\"newFeatureLocalStorageKey\" (openModalEvent)=\"openLLMModal($event)\"></lib-llm-summary>\r\n\t</div>\r\n\r\n\t<div *ngIf=\"rephraseEnabled\" [matTooltipPosition]=\"'left'\" [matTooltip]=\"!isTargetLanguageRephrasable ? ('LLM.MENU_REPHRASE_DISABLED_TOOLTIP' | translate) : ''\">\r\n\t\t<lib-llm-rephrase\r\n\t\t\t[isTargetLanguageRephrasable]=\"!!isTargetLanguageRephrasable\"\r\n\t\t\t[newFeatureLocalStorageKey]=\"newFeatureLocalStorageKey\"\r\n\t\t\t(openModalEvent)=\"openLLMModal($event)\"\r\n\t\t></lib-llm-rephrase>\r\n\t</div>\r\n</div>\r\n", styles: [".llm-wrapper{display:flex;gap:8px}\n"] }]
|
|
7608
7600
|
}], () => [{ type: i1$4.MatDialog }, { type: IconService }, { type: LanguageTranslateService }], { text: [{
|
|
7609
7601
|
type: Input
|
|
7610
7602
|
}], language: [{
|
|
@@ -7628,7 +7620,7 @@ class LLMComponent {
|
|
|
7628
7620
|
}], menuTriggerClick: [{
|
|
7629
7621
|
type: Output
|
|
7630
7622
|
}] }); })();
|
|
7631
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LLMComponent, { className: "LLMComponent", filePath: "lib
|
|
7623
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LLMComponent, { className: "LLMComponent", filePath: "lib/llm/llm.component.ts", lineNumber: 17 }); })();
|
|
7632
7624
|
|
|
7633
7625
|
class LLMModule {
|
|
7634
7626
|
static { this.ɵfac = function LLMModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMModule)(); }; }
|
|
@@ -7727,7 +7719,7 @@ class SidebarComponent {
|
|
|
7727
7719
|
return this.#sidebarService.contentTemplate;
|
|
7728
7720
|
}
|
|
7729
7721
|
static { this.ɵfac = function SidebarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SidebarComponent)(); }; }
|
|
7730
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidebarComponent, selectors: [["lib-sidebar"]],
|
|
7722
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidebarComponent, selectors: [["lib-sidebar"]], decls: 2, vars: 3, consts: [[1, "sidebar-wrapper"], [3, "ngTemplateOutlet"]], template: function SidebarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7731
7723
|
i0.ɵɵelementStart(0, "section", 0);
|
|
7732
7724
|
i0.ɵɵelementContainer(1, 1);
|
|
7733
7725
|
i0.ɵɵelementEnd();
|
|
@@ -7739,9 +7731,9 @@ class SidebarComponent {
|
|
|
7739
7731
|
}
|
|
7740
7732
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidebarComponent, [{
|
|
7741
7733
|
type: Component,
|
|
7742
|
-
args: [{ selector: 'lib-sidebar',
|
|
7734
|
+
args: [{ selector: 'lib-sidebar', imports: [CommonModule], template: "<section [class.expanded]=\"isOpen\" class=\"sidebar-wrapper\">\r\n <ng-container [ngTemplateOutlet]=\"template\"></ng-container>\r\n</section>\r\n", styles: [".sidebar-wrapper{padding:0;max-height:100vh;height:100%;overflow-y:auto;width:0;border-left:2px solid var(--base-95);transition:width .2s ease}.sidebar-wrapper.expanded{width:300px;padding:28px 26px}@media (max-width: 640px){.sidebar-wrapper.expanded{position:absolute;right:0;top:0;width:100%;background-color:var(--base-100)}}\n"] }]
|
|
7743
7735
|
}], null, null); })();
|
|
7744
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SidebarComponent, { className: "SidebarComponent", filePath: "lib
|
|
7736
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SidebarComponent, { className: "SidebarComponent", filePath: "lib/sidebar/sidebar.component.ts", lineNumber: 11 }); })();
|
|
7745
7737
|
|
|
7746
7738
|
class ToastService {
|
|
7747
7739
|
constructor() {
|
|
@@ -7814,7 +7806,7 @@ class ToastComponent {
|
|
|
7814
7806
|
this.#toast.closeToast(id);
|
|
7815
7807
|
}
|
|
7816
7808
|
static { this.ɵfac = function ToastComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ToastComponent)(); }; }
|
|
7817
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToastComponent, selectors: [["lib-toast"]],
|
|
7809
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToastComponent, selectors: [["lib-toast"]], decls: 3, vars: 0, consts: [[1, "toast-container"], [1, "toast"], ["mat-icon-button", "", 3, "click"]], template: function ToastComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7818
7810
|
i0.ɵɵelementStart(0, "div", 0);
|
|
7819
7811
|
i0.ɵɵrepeaterCreate(1, ToastComponent_For_2_Template, 7, 4, "div", 1, _forTrack0);
|
|
7820
7812
|
i0.ɵɵelementEnd();
|
|
@@ -7825,9 +7817,9 @@ class ToastComponent {
|
|
|
7825
7817
|
}
|
|
7826
7818
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToastComponent, [{
|
|
7827
7819
|
type: Component,
|
|
7828
|
-
args: [{ selector: 'lib-toast',
|
|
7820
|
+
args: [{ selector: 'lib-toast', imports: [CommonModule, MatIconModule, MatButtonModule, TranslateModule], template: "<div class=\"toast-container\">\r\n @for (toast of toasts; track toast.id) {\r\n <div class=\"toast\">\r\n <span>{{ toast.message | translate: toast?.localizationParams }}</span>\r\n <button mat-icon-button (click)=\"closeToast(toast.id)\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n }\r\n</div>\r\n", styles: [".toast-container{display:flex;flex-direction:column;align-items:center;width:100%;position:fixed;bottom:50px}.toast{max-width:fit-content;position:relative;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:400;min-width:350px;padding:4px 4px 4px 16px;letter-spacing:.25px;line-height:20px;border-radius:4px;box-shadow:0 1px 3px #0000004d;box-shadow:0 4px 8px 3px #00000026;color:#feedee;background-color:#382e2f;animation:slide-in .5s forwards}.toast:not(:first-of-type){margin-top:10px}.fade-out{animation:fade-out .5s forwards}:host ::ng-deep .mat-icon{color:#feedee}@keyframes slide-in{0%{margin-bottom:-50px;opacity:0}to{margin-bottom:0;opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}\n"] }]
|
|
7829
7821
|
}], null, null); })();
|
|
7830
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ToastComponent, { className: "ToastComponent", filePath: "lib
|
|
7822
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ToastComponent, { className: "ToastComponent", filePath: "lib/toast/toast.component.ts", lineNumber: 15 }); })();
|
|
7831
7823
|
|
|
7832
7824
|
var SubscriptionPlan;
|
|
7833
7825
|
(function (SubscriptionPlan) {
|
|
@@ -7941,7 +7933,7 @@ class SelectLanguageDialogComponent {
|
|
|
7941
7933
|
this.#dialogRef.close(this.selectedLanguage);
|
|
7942
7934
|
}
|
|
7943
7935
|
static { this.ɵfac = function SelectLanguageDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectLanguageDialogComponent)(); }; }
|
|
7944
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectLanguageDialogComponent, selectors: [["lib-extension-dialog"]],
|
|
7936
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectLanguageDialogComponent, selectors: [["lib-extension-dialog"]], decls: 23, vars: 20, consts: [["mat-dialog-title", ""], ["mat-dialog-content", ""], [1, "description"], ["appearance", "outline", 1, "w-full", "mt-4", "mb-9"], [3, "ngModelChange", "ngModel"], [3, "value"], ["align", "end"], ["mat-stroked-button", "", "color", "accent", "mat-dialog-close", ""], ["mat-flat-button", "", "color", "accent", 3, "click"], [1, "language-name"]], template: function SelectLanguageDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7945
7937
|
i0.ɵɵelementStart(0, "h1", 0);
|
|
7946
7938
|
i0.ɵɵtext(1);
|
|
7947
7939
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -7984,14 +7976,13 @@ class SelectLanguageDialogComponent {
|
|
|
7984
7976
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 16, "SELECT_LANGUAGE.CANCEL"), " ");
|
|
7985
7977
|
i0.ɵɵadvance(3);
|
|
7986
7978
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(22, 18, "SELECT_LANGUAGE.SAVE"), " ");
|
|
7987
|
-
} }, dependencies: [SortLanguageListPipe,
|
|
7979
|
+
} }, dependencies: [MatDialogModule, i1$4.MatDialogClose, i1$4.MatDialogTitle, i1$4.MatDialogActions, i1$4.MatDialogContent, MatButtonModule, i2$1.MatButton, MatSelectModule, i9.MatFormField, i9.MatLabel, i4.MatSelect, i4.MatOption, FormsModule, i4$1.NgControlStatus, i4$1.NgModel, SortLanguageListPipe,
|
|
7988
7980
|
AsyncPipe,
|
|
7989
|
-
TranslatePipe,
|
|
7990
|
-
MatDialogModule, i1$4.MatDialogClose, i1$4.MatDialogTitle, i1$4.MatDialogActions, i1$4.MatDialogContent, MatButtonModule, i2$1.MatButton, MatSelectModule, i10.MatFormField, i10.MatLabel, i4.MatSelect, i5.MatOption, FormsModule, i4$1.NgControlStatus, i4$1.NgModel], styles: [".description[_ngcontent-%COMP%]{color:var(--base-40)}.w-full[_ngcontent-%COMP%]{width:100%}.mt-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}"] }); }
|
|
7981
|
+
TranslatePipe], styles: [".description[_ngcontent-%COMP%]{color:var(--base-40)}.w-full[_ngcontent-%COMP%]{width:100%}.mt-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}"] }); }
|
|
7991
7982
|
}
|
|
7992
7983
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectLanguageDialogComponent, [{
|
|
7993
7984
|
type: Component,
|
|
7994
|
-
args: [{ selector: 'lib-extension-dialog',
|
|
7985
|
+
args: [{ selector: 'lib-extension-dialog', imports: [
|
|
7995
7986
|
SortLanguageListPipe,
|
|
7996
7987
|
AsyncPipe,
|
|
7997
7988
|
TranslatePipe,
|
|
@@ -8001,7 +7992,7 @@ class SelectLanguageDialogComponent {
|
|
|
8001
7992
|
FormsModule
|
|
8002
7993
|
], template: "<h1 mat-dialog-title>{{ \"SELECT_LANGUAGE.TITLE\" | translate }}</h1>\r\n<div mat-dialog-content>\r\n <p class=\"description\">{{ \"SELECT_LANGUAGE.DESCRIPTION\" | translate }}</p>\r\n\r\n <mat-form-field appearance=\"outline\" class=\"w-full mt-4 mb-9\">\r\n <mat-label>{{ \"SELECT_LANGUAGE.INPUT_LABEL\" | translate }}</mat-label>\r\n <mat-select [(ngModel)]=\"selectedLanguage\">\r\n @for (language of languages | sortLanguageList | async; track $index) {\r\n <mat-option [value]=\"language.value\">\r\n <span class=\"language-name\">\r\n {{language.translation}}\r\n </span>\r\n </mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n</div>\r\n\r\n<mat-dialog-actions align=\"end\">\r\n <button mat-stroked-button color=\"accent\" mat-dialog-close>\r\n {{ \"SELECT_LANGUAGE.CANCEL\" | translate }}\r\n </button>\r\n <button mat-flat-button color=\"accent\" (click)=\"save()\">\r\n {{ \"SELECT_LANGUAGE.SAVE\" | translate }}\r\n </button>\r\n</mat-dialog-actions>\r\n\r\n\r\n\r\n", styles: [".description{color:var(--base-40)}.w-full{width:100%}.mt-4{margin-top:1.5rem!important}\n"] }]
|
|
8003
7994
|
}], null, null); })();
|
|
8004
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectLanguageDialogComponent, { className: "SelectLanguageDialogComponent", filePath: "lib
|
|
7995
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectLanguageDialogComponent, { className: "SelectLanguageDialogComponent", filePath: "lib/core/localization/select-language-dialog-component/select-language-dialog.component.ts", lineNumber: 27 }); })();
|
|
8005
7996
|
|
|
8006
7997
|
function GlobalMessageComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
8007
7998
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -8020,22 +8011,22 @@ class GlobalMessageComponent {
|
|
|
8020
8011
|
this.closeClick.emit();
|
|
8021
8012
|
}
|
|
8022
8013
|
static { this.ɵfac = function GlobalMessageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GlobalMessageComponent)(); }; }
|
|
8023
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GlobalMessageComponent, selectors: [["lib-global-message"]], inputs: { text: "text", showCloseButton: "showCloseButton" }, outputs: { closeClick: "closeClick" },
|
|
8014
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GlobalMessageComponent, selectors: [["lib-global-message"]], inputs: { text: "text", showCloseButton: "showCloseButton" }, outputs: { closeClick: "closeClick" }, decls: 4, vars: 4, consts: [[1, "tld-global-message"], [3, "innerHTML"], ["mat-icon-button", "", 1, "tld-global-message-close"], ["mat-icon-button", "", 1, "tld-global-message-close", 3, "click"]], template: function GlobalMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8024
8015
|
i0.ɵɵelementStart(0, "div", 0);
|
|
8025
8016
|
i0.ɵɵelement(1, "p", 1);
|
|
8026
8017
|
i0.ɵɵpipe(2, "translate");
|
|
8027
|
-
i0.ɵɵ
|
|
8018
|
+
i0.ɵɵconditionalCreate(3, GlobalMessageComponent_Conditional_3_Template, 3, 0, "button", 2);
|
|
8028
8019
|
i0.ɵɵelementEnd();
|
|
8029
8020
|
} if (rf & 2) {
|
|
8030
8021
|
i0.ɵɵadvance();
|
|
8031
8022
|
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 2, ctx.text), i0.ɵɵsanitizeHtml);
|
|
8032
8023
|
i0.ɵɵadvance(2);
|
|
8033
8024
|
i0.ɵɵconditional(ctx.showCloseButton ? 3 : -1);
|
|
8034
|
-
} }, dependencies: [CommonModule, TranslateModule,
|
|
8025
|
+
} }, dependencies: [CommonModule, TranslateModule, MatButtonModule, i2$1.MatIconButton, MatIconModule, i1.MatIcon, i1$1.TranslatePipe], styles: [".tld-global-message[_ngcontent-%COMP%]{position:relative;background-color:#ffdad6;display:flex;justify-content:center;align-items:center;width:100%;padding:22px}.tld-global-message-close[_ngcontent-%COMP%]{position:absolute;right:5px}"] }); }
|
|
8035
8026
|
}
|
|
8036
8027
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GlobalMessageComponent, [{
|
|
8037
8028
|
type: Component,
|
|
8038
|
-
args: [{ selector: 'lib-global-message',
|
|
8029
|
+
args: [{ selector: 'lib-global-message', imports: [CommonModule, TranslateModule, MatButtonModule, MatIconModule], template: "<div class=\"tld-global-message\">\r\n <p [innerHTML]=\"text | translate\"></p>\r\n\r\n @if (showCloseButton) {\r\n <button class=\"tld-global-message-close\" mat-icon-button (click)=\"close()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n }\r\n</div>\r\n", styles: [".tld-global-message{position:relative;background-color:#ffdad6;display:flex;justify-content:center;align-items:center;width:100%;padding:22px}.tld-global-message-close{position:absolute;right:5px}\n"] }]
|
|
8039
8030
|
}], null, { text: [{
|
|
8040
8031
|
type: Input
|
|
8041
8032
|
}], showCloseButton: [{
|
|
@@ -8043,7 +8034,7 @@ class GlobalMessageComponent {
|
|
|
8043
8034
|
}], closeClick: [{
|
|
8044
8035
|
type: Output
|
|
8045
8036
|
}] }); })();
|
|
8046
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GlobalMessageComponent, { className: "GlobalMessageComponent", filePath: "lib
|
|
8037
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GlobalMessageComponent, { className: "GlobalMessageComponent", filePath: "lib/global-message/global-message.component.ts", lineNumber: 13 }); })();
|
|
8047
8038
|
|
|
8048
8039
|
var SUBSCRIPTION_STATE;
|
|
8049
8040
|
(function (SUBSCRIPTION_STATE) {
|
|
@@ -8071,35 +8062,34 @@ const _c0 = ["*"];
|
|
|
8071
8062
|
const _c1 = a0 => ({ date: a0 });
|
|
8072
8063
|
const _c2 = (a0, a1, a2) => ({ used: a0, limit: a1, percent: a2 });
|
|
8073
8064
|
function SubscriptionComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
8074
|
-
i0.ɵɵ
|
|
8075
|
-
i0.ɵɵ
|
|
8076
|
-
i0.ɵɵ
|
|
8077
|
-
i0.ɵɵpipe(3, "translate");
|
|
8065
|
+
i0.ɵɵelementStart(0, "h3", 3);
|
|
8066
|
+
i0.ɵɵtext(1);
|
|
8067
|
+
i0.ɵɵpipe(2, "translate");
|
|
8078
8068
|
i0.ɵɵelementEnd();
|
|
8079
|
-
i0.ɵɵelementStart(
|
|
8080
|
-
i0.ɵɵtext(
|
|
8081
|
-
i0.ɵɵpipe(
|
|
8069
|
+
i0.ɵɵelementStart(3, "div", 4)(4, "div", 5)(5, "span", 6);
|
|
8070
|
+
i0.ɵɵtext(6);
|
|
8071
|
+
i0.ɵɵpipe(7, "translate");
|
|
8082
8072
|
i0.ɵɵelementEnd()();
|
|
8083
|
-
i0.ɵɵelementStart(
|
|
8084
|
-
i0.ɵɵtext(
|
|
8073
|
+
i0.ɵɵelementStart(8, "div", 7)(9, "span");
|
|
8074
|
+
i0.ɵɵtext(10);
|
|
8085
8075
|
i0.ɵɵelementEnd()()();
|
|
8086
|
-
i0.ɵɵelementStart(
|
|
8087
|
-
i0.ɵɵtext(
|
|
8088
|
-
i0.ɵɵpipe(
|
|
8076
|
+
i0.ɵɵelementStart(11, "div", 4)(12, "div", 5)(13, "span", 6);
|
|
8077
|
+
i0.ɵɵtext(14);
|
|
8078
|
+
i0.ɵɵpipe(15, "translate");
|
|
8089
8079
|
i0.ɵɵelementEnd()();
|
|
8090
|
-
i0.ɵɵelementStart(
|
|
8091
|
-
i0.ɵɵtext(
|
|
8080
|
+
i0.ɵɵelementStart(16, "div", 7)(17, "span");
|
|
8081
|
+
i0.ɵɵtext(18);
|
|
8092
8082
|
i0.ɵɵelementEnd()()();
|
|
8093
8083
|
} if (rf & 2) {
|
|
8094
8084
|
const userToken_r1 = i0.ɵɵnextContext().token();
|
|
8095
|
-
i0.ɵɵadvance(
|
|
8096
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
8085
|
+
i0.ɵɵadvance();
|
|
8086
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 5, "SUBSCRIPTION.USER_INFO"));
|
|
8097
8087
|
i0.ɵɵadvance(5);
|
|
8098
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
8088
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 7, "SUBSCRIPTION.LABEL_NAME"));
|
|
8099
8089
|
i0.ɵɵadvance(4);
|
|
8100
8090
|
i0.ɵɵtextInterpolate(userToken_r1.name);
|
|
8101
8091
|
i0.ɵɵadvance(4);
|
|
8102
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
8092
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 9, "SUBSCRIPTION.LABEL_EMAIL"));
|
|
8103
8093
|
i0.ɵɵadvance(4);
|
|
8104
8094
|
i0.ɵɵtextInterpolate(userToken_r1.email);
|
|
8105
8095
|
} }
|
|
@@ -8128,7 +8118,7 @@ function SubscriptionComponent_Conditional_1_Case_11_Conditional_0_Template(rf,
|
|
|
8128
8118
|
i0.ɵɵtextInterpolate1(" (", i0.ɵɵpipeBind2(3, 4, "SUBSCRIPTION.END_DATE", i0.ɵɵpureFunction1(7, _c1, i0.ɵɵpipeBind2(2, 1, currentSubscription_r2.EndDate, "dd.MM.yyyy."))), ") ");
|
|
8129
8119
|
} }
|
|
8130
8120
|
function SubscriptionComponent_Conditional_1_Case_11_Template(rf, ctx) { if (rf & 1) {
|
|
8131
|
-
i0.ɵɵ
|
|
8121
|
+
i0.ɵɵconditionalCreate(0, SubscriptionComponent_Conditional_1_Case_11_Conditional_0_Template, 4, 9, "span");
|
|
8132
8122
|
} if (rf & 2) {
|
|
8133
8123
|
i0.ɵɵnextContext();
|
|
8134
8124
|
const currentSubscription_r2 = i0.ɵɵreadContextLet(0);
|
|
@@ -8177,7 +8167,7 @@ function SubscriptionComponent_Conditional_1_Conditional_14_For_7_Template(rf, c
|
|
|
8177
8167
|
i0.ɵɵelementStart(0, "span");
|
|
8178
8168
|
i0.ɵɵtext(1);
|
|
8179
8169
|
i0.ɵɵelementEnd();
|
|
8180
|
-
i0.ɵɵ
|
|
8170
|
+
i0.ɵɵconditionalCreate(2, SubscriptionComponent_Conditional_1_Conditional_14_For_7_Conditional_2_Template, 2, 1, "span");
|
|
8181
8171
|
i0.ɵɵelementStart(3, "span");
|
|
8182
8172
|
i0.ɵɵtext(4);
|
|
8183
8173
|
i0.ɵɵelementEnd();
|
|
@@ -8219,11 +8209,12 @@ function SubscriptionComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
8219
8209
|
i0.ɵɵelementContainerStart(7);
|
|
8220
8210
|
i0.ɵɵelementStart(8, "span");
|
|
8221
8211
|
i0.ɵɵtext(9);
|
|
8222
|
-
i0.ɵɵ
|
|
8212
|
+
i0.ɵɵconditionalCreate(10, SubscriptionComponent_Conditional_1_Case_10_Template, 4, 9, "span")(11, SubscriptionComponent_Conditional_1_Case_11_Template, 1, 1)(12, SubscriptionComponent_Conditional_1_Case_12_Template, 3, 9);
|
|
8223
8213
|
i0.ɵɵelementEnd();
|
|
8224
8214
|
i0.ɵɵelementContainerEnd();
|
|
8225
8215
|
i0.ɵɵelementEnd()();
|
|
8226
|
-
i0.ɵɵ
|
|
8216
|
+
i0.ɵɵconditionalCreate(13, SubscriptionComponent_Conditional_1_Conditional_13_Template, 10, 7, "div", 4);
|
|
8217
|
+
i0.ɵɵconditionalCreate(14, SubscriptionComponent_Conditional_1_Conditional_14_Template, 8, 3, "div", 8);
|
|
8227
8218
|
} if (rf & 2) {
|
|
8228
8219
|
let tmp_4_0;
|
|
8229
8220
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
@@ -8295,14 +8286,14 @@ class SubscriptionComponent {
|
|
|
8295
8286
|
constructor() {
|
|
8296
8287
|
this.#chargebeeMountService = inject(ChargebeeMountService);
|
|
8297
8288
|
/** Parsed user token to get user related info */
|
|
8298
|
-
this.token = input.required();
|
|
8289
|
+
this.token = input.required(...(ngDevMode ? [{ debugName: "token" }] : []));
|
|
8299
8290
|
/** Current user plan that app has selected */
|
|
8300
|
-
this.subscription = input.required();
|
|
8291
|
+
this.subscription = input.required(...(ngDevMode ? [{ debugName: "subscription" }] : []));
|
|
8301
8292
|
/** Quota usage */
|
|
8302
|
-
this.quota = input.required();
|
|
8303
|
-
this.visibleQuotaTypes = input();
|
|
8304
|
-
this.contactUsUrl = input();
|
|
8305
|
-
this.chargebeeSettings = input();
|
|
8293
|
+
this.quota = input.required(...(ngDevMode ? [{ debugName: "quota" }] : []));
|
|
8294
|
+
this.visibleQuotaTypes = input(...(ngDevMode ? [undefined, { debugName: "visibleQuotaTypes" }] : []));
|
|
8295
|
+
this.contactUsUrl = input(...(ngDevMode ? [undefined, { debugName: "contactUsUrl" }] : []));
|
|
8296
|
+
this.chargebeeSettings = input(...(ngDevMode ? [undefined, { debugName: "chargebeeSettings" }] : []));
|
|
8306
8297
|
this.manageClick = output();
|
|
8307
8298
|
this.contactUsClick = output();
|
|
8308
8299
|
this.visibleQuotas = computed(() => {
|
|
@@ -8321,7 +8312,7 @@ class SubscriptionComponent {
|
|
|
8321
8312
|
return this.#convertUsageToDisplayQuota(quota);
|
|
8322
8313
|
});
|
|
8323
8314
|
return visibleQuotas;
|
|
8324
|
-
});
|
|
8315
|
+
}, ...(ngDevMode ? [{ debugName: "visibleQuotas" }] : []));
|
|
8325
8316
|
this.subscriptionStates = SUBSCRIPTION_STATE;
|
|
8326
8317
|
this.subscriptionState = computed(() => {
|
|
8327
8318
|
const subscription = this.subscription();
|
|
@@ -8338,7 +8329,7 @@ class SubscriptionComponent {
|
|
|
8338
8329
|
else {
|
|
8339
8330
|
return SUBSCRIPTION_STATE.ENDED;
|
|
8340
8331
|
}
|
|
8341
|
-
});
|
|
8332
|
+
}, ...(ngDevMode ? [{ debugName: "subscriptionState" }] : []));
|
|
8342
8333
|
}
|
|
8343
8334
|
#chargebeeMountService;
|
|
8344
8335
|
ngOnInit() {
|
|
@@ -8414,12 +8405,15 @@ class SubscriptionComponent {
|
|
|
8414
8405
|
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;
|
|
8415
8406
|
}
|
|
8416
8407
|
static { this.ɵfac = function SubscriptionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SubscriptionComponent)(); }; }
|
|
8417
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscriptionComponent, selectors: [["lib-subscription"]], inputs: { token: [1, "token"], subscription: [1, "subscription"], quota: [1, "quota"], visibleQuotaTypes: [1, "visibleQuotaTypes"], contactUsUrl: [1, "contactUsUrl"], chargebeeSettings: [1, "chargebeeSettings"] }, outputs: { manageClick: "manageClick", contactUsClick: "contactUsClick" },
|
|
8408
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscriptionComponent, selectors: [["lib-subscription"]], inputs: { token: [1, "token"], subscription: [1, "subscription"], quota: [1, "quota"], visibleQuotaTypes: [1, "visibleQuotaTypes"], contactUsUrl: [1, "contactUsUrl"], chargebeeSettings: [1, "chargebeeSettings"] }, outputs: { manageClick: "manageClick", contactUsClick: "contactUsClick" }, ngContentSelectors: _c0, decls: 7, vars: 5, consts: [[1, "subscription-actions-wrapper"], ["mat-flat-button", "", "color", "accent", "href", "javascript:void(0)", "data-cb-type", "portal", 1, "manage-sub-btn", "button-row-element"], ["mat-stroked-button", "", "target", "_blank", "color", "accent"], [1, "subscription-section-title", "text-l-semi-bold"], [1, "subscription-data-row"], [1, "subscription-label"], [1, "label"], [1, "subscription-data"], ["fxLayout", "row", 1, "subscription-data-row"], [1, "subscription-limit-wrapper"], [3, "value"], [1, "subscription-limit"], [1, "text-l-semi-bold"], ["mat-flat-button", "", "color", "accent", "href", "javascript:void(0)", "data-cb-type", "portal", 1, "manage-sub-btn", "button-row-element", 3, "click"], ["mat-stroked-button", "", "target", "_blank", "color", "accent", 3, "click"]], template: function SubscriptionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8418
8409
|
i0.ɵɵprojectionDef();
|
|
8419
|
-
i0.ɵɵ
|
|
8410
|
+
i0.ɵɵconditionalCreate(0, SubscriptionComponent_Conditional_0_Template, 19, 11);
|
|
8411
|
+
i0.ɵɵconditionalCreate(1, SubscriptionComponent_Conditional_1_Template, 15, 8);
|
|
8412
|
+
i0.ɵɵconditionalCreate(2, SubscriptionComponent_Conditional_2_Template, 5, 3);
|
|
8420
8413
|
i0.ɵɵprojection(3);
|
|
8421
8414
|
i0.ɵɵelementStart(4, "div", 0);
|
|
8422
|
-
i0.ɵɵ
|
|
8415
|
+
i0.ɵɵconditionalCreate(5, SubscriptionComponent_Conditional_5_Template, 3, 3, "a", 1);
|
|
8416
|
+
i0.ɵɵconditionalCreate(6, SubscriptionComponent_Conditional_6_Template, 3, 4, "a", 2);
|
|
8423
8417
|
i0.ɵɵelementEnd();
|
|
8424
8418
|
} if (rf & 2) {
|
|
8425
8419
|
i0.ɵɵconditional(ctx.token() ? 0 : -1);
|
|
@@ -8431,13 +8425,13 @@ class SubscriptionComponent {
|
|
|
8431
8425
|
i0.ɵɵconditional(ctx.chargebeeSettings() ? 5 : -1);
|
|
8432
8426
|
i0.ɵɵadvance();
|
|
8433
8427
|
i0.ɵɵconditional(ctx.contactUsUrl() ? 6 : -1);
|
|
8434
|
-
} }, dependencies: [
|
|
8435
|
-
|
|
8436
|
-
|
|
8428
|
+
} }, dependencies: [MatProgressBarModule, i2$4.MatProgressBar, CommonModule,
|
|
8429
|
+
MatButtonModule, i2$1.MatButton, TranslatePipe,
|
|
8430
|
+
DatePipe, i1$2.UpperCasePipe], styles: ["[_nghost-%COMP%]{display:block}mat-card[_ngcontent-%COMP%]{margin:1.5rem}.subscription-container[_ngcontent-%COMP%]:not(.mobile){margin:16px 32px}.subscription-section-title[_ngcontent-%COMP%]{margin:32px 0 18px}.subscription-data-row[_ngcontent-%COMP%]{border-bottom:2px solid var(--base-70);margin-bottom:18px;flex-direction:row;display:flex}.subscription-data[_ngcontent-%COMP%]{color:var(--base-30);word-wrap:break-word;margin-left:.5rem}.subscription-limit-wrapper[_ngcontent-%COMP%], .subscription-limit[_ngcontent-%COMP%]{margin-top:16px}.subscription-actions-wrapper[_ngcontent-%COMP%]{padding:32px 0 18px;display:flex;flex-direction:row;gap:24px}.subscription-manage-link[_ngcontent-%COMP%]{text-decoration:none}.subscription-container[_ngcontent-%COMP%]:not(.mobile,.empty){width:75%}.subscription-label[_ngcontent-%COMP%]:not(.mobile,.empty){width:35%}.subscription-data[_ngcontent-%COMP%]:not(.mobile,.empty){width:65%}.untranslated-files-disclaimer[_ngcontent-%COMP%]{margin-top:16px;margin-bottom:10px;color:var(--base-40)}.no-subscription-message[_ngcontent-%COMP%]{margin-top:32px;color:var(--base-40)}.contact-sales-btn[_ngcontent-%COMP%]{text-align:center}.contact-sales-btn[_ngcontent-%COMP%]:hover{text-decoration:none}"] }); }
|
|
8437
8431
|
}
|
|
8438
8432
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscriptionComponent, [{
|
|
8439
8433
|
type: Component,
|
|
8440
|
-
args: [{ selector: 'lib-subscription',
|
|
8434
|
+
args: [{ selector: 'lib-subscription', imports: [
|
|
8441
8435
|
TranslatePipe,
|
|
8442
8436
|
DatePipe,
|
|
8443
8437
|
MatProgressBarModule,
|
|
@@ -8445,7 +8439,7 @@ class SubscriptionComponent {
|
|
|
8445
8439
|
MatButtonModule
|
|
8446
8440
|
], template: "@if(token()){\r\n <!-- narrow type to non null property -->\r\n @let userToken = token()!;\r\n\r\n <h3 class=\"subscription-section-title text-l-semi-bold\">{{ \"SUBSCRIPTION.USER_INFO\" | translate }}</h3>\r\n\r\n <div class=\"subscription-data-row\">\r\n <div class=\"subscription-label\">\r\n <span class=\"label\">{{ \"SUBSCRIPTION.LABEL_NAME\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"subscription-data\">\r\n <span>{{ userToken.name }}</span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"subscription-data-row\">\r\n <div class=\"subscription-label\">\r\n <span class=\"label\">{{ \"SUBSCRIPTION.LABEL_EMAIL\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"subscription-data\">\r\n <span>{{ userToken.email }}</span>\r\n </div>\r\n </div>\r\n}\r\n\r\n@if(subscription()){\r\n @let currentSubscription = subscription()!;\r\n\r\n <div fxLayout=\"row\" class=\"subscription-data-row\">\r\n <div class=\"subscription-label\">\r\n <span class=\"label\">{{ \"SUBSCRIPTION.LABEL_SUBSCRIPTION_PLAN_ID\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"subscription-data\">\r\n <ng-container>\r\n <span>\r\n {{ currentSubscription.Label ? currentSubscription.Label : currentSubscription.PlanId }}\r\n\r\n @switch (subscriptionState()) {\r\n @case(subscriptionStates.TRIAL){\r\n <span> ({{ \"SUBSCRIPTION.TRIAL_END_DATE\" | translate: { date: currentSubscription.EndDate | date: \"dd.MM.yyyy.\" } }}) </span>\r\n }\r\n @case (subscriptionStates.ACTIVE) {\r\n @if(currentSubscription.EndDate){\r\n <span> ({{ \"SUBSCRIPTION.END_DATE\" | translate: { date: currentSubscription.EndDate | date: \"dd.MM.yyyy.\" } }}) </span>\r\n }\r\n }\r\n @case (subscriptionStates.ENDED) {\r\n ({{ \"SUBSCRIPTION.END_DATE\" | translate: { date: currentSubscription.EndDate | date: \"dd.MM.yyyy.\" } }})\r\n }\r\n }\r\n </span>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n @if(currentSubscription.EndDate){\r\n <div class=\"subscription-data-row\">\r\n <div class=\"subscription-label\">\r\n <span class=\"label\">{{ \"SUBSCRIPTION.LABEL_SUBSCRIPTION_END_DATE\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"subscription-data\">\r\n <ng-container>\r\n <span>{{currentSubscription.EndDate | date: \"dd.MM.yyyy\"}}</span>\r\n </ng-container>\r\n </div>\r\n </div>\r\n }\r\n\r\n @if(currentSubscription.Addons?.length){\r\n <div fxLayout=\"row\" class=\"subscription-data-row\">\r\n <div class=\"subscription-label\">\r\n <span class=\"label\">{{ \"SUBSCRIPTION.ADDITIONS_PLUGINS\" | translate }}</span>\r\n </div>\r\n\r\n <div class=\"subscription-data\">\r\n @for (item of currentSubscription.Addons; track $index; let i = $index) {\r\n <span>{{ item.id }}</span>\r\n @if(item.qt>1){\r\n <span> ({{item.qt}})</span>\r\n }\r\n <span> {{ currentSubscription.Addons!.length - 1 > i ? \",\" : \"\" }} </span>\r\n }\r\n </div>\r\n </div>\r\n }\r\n}\r\n\r\n@if(visibleQuotas().length){\r\n <h3 class=\"subscription-section-title text-l-semi-bold\">{{ \"SUBSCRIPTION.LIMITS\" | translate }}</h3>\r\n\r\n @for (currentQuota of visibleQuotas(); track $index) {\r\n <div class=\"subscription-limit-wrapper\">\r\n <mat-progress-bar [value]=\"currentQuota.percentUsed\"></mat-progress-bar>\r\n <div class=\"subscription-limit\">\r\n <span class=\"text-l-semi-bold\">\r\n {{ (\"QUOTA.\" + (currentQuota.quotaType.toString() | uppercase) + (currentQuota.isUnlimited? \"_UNLIMITED\": \"\")) | translate: { used: currentQuota.convertedUsed, limit: currentQuota.convertedLimit, percent: currentQuota.percentUsed} }}\r\n </span>\r\n </div>\r\n </div>\r\n }\r\n}\r\n\r\n<!-- Add some extra info, such as disclaimer etc -->\r\n <ng-content></ng-content>\r\n\r\n<div class=\"subscription-actions-wrapper\">\r\n @if(chargebeeSettings()){\r\n <a mat-flat-button color=\"accent\" class=\"manage-sub-btn button-row-element\" href=\"javascript:void(0)\" data-cb-type=\"portal\" (click)=\"manageClicked()\">\r\n {{ \"SUBSCRIPTION.MANAGE\" | translate }}\r\n </a>\r\n }\r\n @if(contactUsUrl()){\r\n <a mat-stroked-button [attr.href]=\"contactUsUrl()\" target=\"_blank\" color=\"accent\" (click)=\"contactUsClicked()\">{{\"SUBSCRIPTION.CONTACT\" | translate}}</a>\r\n }\r\n</div>\r\n", styles: [":host{display:block}mat-card{margin:1.5rem}.subscription-container:not(.mobile){margin:16px 32px}.subscription-section-title{margin:32px 0 18px}.subscription-data-row{border-bottom:2px solid var(--base-70);margin-bottom:18px;flex-direction:row;display:flex}.subscription-data{color:var(--base-30);word-wrap:break-word;margin-left:.5rem}.subscription-limit-wrapper,.subscription-limit{margin-top:16px}.subscription-actions-wrapper{padding:32px 0 18px;display:flex;flex-direction:row;gap:24px}.subscription-manage-link{text-decoration:none}.subscription-container:not(.mobile,.empty){width:75%}.subscription-label:not(.mobile,.empty){width:35%}.subscription-data:not(.mobile,.empty){width:65%}.untranslated-files-disclaimer{margin-top:16px;margin-bottom:10px;color:var(--base-40)}.no-subscription-message{margin-top:32px;color:var(--base-40)}.contact-sales-btn{text-align:center}.contact-sales-btn:hover{text-decoration:none}\n"] }]
|
|
8447
8441
|
}], null, null); })();
|
|
8448
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubscriptionComponent, { className: "SubscriptionComponent", filePath: "lib
|
|
8442
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubscriptionComponent, { className: "SubscriptionComponent", filePath: "lib/subscription/subscription.component.ts", lineNumber: 26 }); })();
|
|
8449
8443
|
|
|
8450
8444
|
/*
|
|
8451
8445
|
* Public API Surface of ngx-common
|