@alfresco/adf-core 8.3.0 → 8.3.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/api/lib/adf-http-client.service.d.ts +3 -9
- package/app.config.schema.json +4 -3
- package/auth/authentication-interceptor/authentication.interceptor.d.ts +1 -3
- package/breadcrumbs/components/breadcrumb/breadcrumb.component.d.ts +2 -3
- package/breadcrumbs/directives/breadcrumb-focus.directive.d.ts +1 -19
- package/bundles/assets/adf-core/i18n/ar.json +0 -5
- package/bundles/assets/adf-core/i18n/cs.json +0 -5
- package/bundles/assets/adf-core/i18n/da.json +0 -5
- package/bundles/assets/adf-core/i18n/de.json +30 -13
- package/bundles/assets/adf-core/i18n/en.json +34 -17
- package/bundles/assets/adf-core/i18n/es.json +30 -13
- package/bundles/assets/adf-core/i18n/fi.json +0 -5
- package/bundles/assets/adf-core/i18n/fr.json +30 -13
- package/bundles/assets/adf-core/i18n/it.json +30 -13
- package/bundles/assets/adf-core/i18n/ja.json +0 -5
- package/bundles/assets/adf-core/i18n/nb.json +0 -5
- package/bundles/assets/adf-core/i18n/nl.json +0 -5
- package/bundles/assets/adf-core/i18n/pl.json +30 -13
- package/bundles/assets/adf-core/i18n/pt-BR.json +0 -5
- package/bundles/assets/adf-core/i18n/pt.json +30 -13
- package/bundles/assets/adf-core/i18n/ru.json +0 -5
- package/bundles/assets/adf-core/i18n/sv.json +0 -5
- package/bundles/assets/adf-core/i18n/zh-CN.json +0 -5
- package/custom-theme/material-theme.scss +13 -13
- package/custom-theme/theme/custom-palette-creator.scss +25 -27
- package/custom-theme/theme/custom-theme-palettes.scss +7 -7
- package/custom-theme/theme/theme-data.scss +13 -13
- package/custom-theme/theme/typography.scss +5 -5
- package/feature-flags/lib/components/feature-override-indicator.component.d.ts +2 -20
- package/feature-flags/lib/components/flags/flags.component.d.ts +4 -4
- package/feature-flags/lib/directives/features.directive.d.ts +5 -23
- package/feature-flags/lib/directives/not-features.directive.d.ts +5 -23
- package/feature-flags/lib/guards/is-feature-off.guard.d.ts +1 -3
- package/feature-flags/lib/guards/is-feature-on.guard.d.ts +1 -3
- package/feature-flags/lib/guards/is-flags-override-on.guard.d.ts +2 -3
- package/feature-flags/lib/services/debug-features.service.d.ts +6 -6
- package/feature-flags/lib/services/qa-features.helper.d.ts +2 -21
- package/feature-flags/lib/services/storage-features.service.d.ts +4 -4
- package/fesm2022/adf-core.mjs +4861 -4176
- package/fesm2022/adf-core.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-api.mjs +14 -16
- package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-auth.mjs +7 -7
- package/fesm2022/alfresco-adf-core-auth.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-breadcrumbs.mjs +21 -20
- package/fesm2022/alfresco-adf-core-breadcrumbs.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-feature-flags.mjs +84 -129
- package/fesm2022/alfresco-adf-core-feature-flags.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-shell.mjs +24 -32
- package/fesm2022/alfresco-adf-core-shell.mjs.map +1 -1
- package/lib/about/about-license-list/about-license-list.component.d.ts +2 -1
- package/lib/about/about-license-list/about-license-list.component.scss +7 -0
- package/lib/about/about-server-settings/about-server-settings.component.d.ts +1 -3
- package/lib/about/interfaces.d.ts +1 -1
- package/lib/app-config/app-config-storage-prefix.factory.d.ts +3 -5
- package/lib/app-config/app-config.pipe.d.ts +1 -3
- package/lib/app-config/app-config.service.d.ts +31 -28
- package/lib/auth/authentication-interceptor/auth-bearer.interceptor.d.ts +2 -4
- package/lib/auth/basic-auth/basic-alfresco-auth.service.d.ts +2 -6
- package/lib/auth/basic-auth/content-auth.d.ts +4 -7
- package/lib/auth/basic-auth/process-auth.d.ts +4 -7
- package/lib/auth/guard/auth-guard.service.d.ts +7 -31
- package/lib/auth/models/oauth-config.model.d.ts +0 -1
- package/lib/auth/oidc/auth-config.service.d.ts +2 -5
- package/lib/auth/oidc/oidc-authentication.service.d.ts +4 -10
- package/lib/auth/oidc/redirect-auth.service.d.ts +6 -6
- package/lib/auth/oidc/retry-login.service.d.ts +1 -1
- package/lib/auth/services/authentication.service.d.ts +1 -19
- package/lib/auth/services/base-authentication.service.d.ts +1 -3
- package/lib/auth/services/identity-group.service.d.ts +2 -5
- package/lib/auth/services/identity-role.service.d.ts +1 -1
- package/lib/auth/services/identity-user.service.d.ts +3 -7
- package/lib/auth/services/jwt-helper.service.d.ts +1 -1
- package/lib/auth/services/oauth2.service.d.ts +1 -3
- package/lib/auth/services/time-sync.service.d.ts +3 -5
- package/lib/auth/services/user-access.service.d.ts +2 -5
- package/lib/card-view/components/card-view/card-view.component.d.ts +1 -3
- package/lib/card-view/components/card-view/card-view.component.scss +0 -90
- package/lib/card-view/components/card-view-arrayitem/card-view-arrayitem.component.scss +1 -9
- package/lib/card-view/components/card-view-boolitem/card-view-boolitem.component.d.ts +4 -2
- package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.d.ts +5 -10
- package/lib/card-view/components/card-view-dateitem/card-view-dateitem.component.scss +36 -41
- package/lib/card-view/components/card-view-item-dispatcher/card-view-item-dispatcher.component.d.ts +3 -5
- package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.d.ts +4 -1
- package/lib/card-view/components/card-view-selectitem/card-view-selectitem.component.scss +0 -12
- package/lib/card-view/components/card-view-selectitem/select-filter-input/select-filter-input.component.d.ts +1 -3
- package/lib/card-view/components/card-view-textitem/card-view-textitem.component.d.ts +5 -10
- package/lib/card-view/components/card-view-textitem/card-view-textitem.component.scss +18 -19
- package/lib/card-view/directives/card-view-property-validator.directive.d.ts +28 -0
- package/lib/card-view/models/card-view-dateitem.model.d.ts +0 -2
- package/lib/card-view/public-api.d.ts +0 -1
- package/lib/card-view/validators/card-view-item-length.validator.d.ts +2 -2
- package/lib/card-view/validators/card-view-item-match.validator.d.ts +3 -3
- package/lib/card-view/validators/card-view-item-minmax.validator.d.ts +3 -3
- package/lib/clipboard/clipboard.directive.d.ts +6 -11
- package/lib/clipboard/clipboard.module.d.ts +5 -4
- package/lib/clipboard/clipboard.service.d.ts +2 -4
- package/lib/comments/comment-list/comment-list.component.d.ts +1 -1
- package/lib/comments/comments.component.d.ts +3 -2
- package/lib/comments/comments.component.scss +3 -32
- package/lib/common/index.d.ts +0 -1
- package/lib/common/services/log.service.d.ts +2 -6
- package/lib/common/services/page-title.service.d.ts +4 -7
- package/lib/common/services/thumbnail.service.d.ts +1 -3
- package/lib/common/services/url.service.d.ts +1 -3
- package/lib/common/services/user-preferences.service.d.ts +78 -15
- package/lib/common/utils/date-fns-adapter.d.ts +3 -5
- package/lib/common/utils/date-fns-utils.d.ts +1 -1
- package/lib/common/utils/datetime-fns-adapter.d.ts +3 -5
- package/lib/common/utils/moment-date-adapter.d.ts +1 -2
- package/lib/context-menu/context-menu-list.component.d.ts +8 -8
- package/lib/context-menu/context-menu-overlay.d.ts +1 -1
- package/lib/context-menu/context-menu-overlay.service.d.ts +2 -21
- package/lib/context-menu/context-menu.directive.d.ts +1 -3
- package/lib/context-menu/context-menu.tokens.d.ts +2 -1
- package/lib/context-menu/interfaces.d.ts +14 -1
- package/lib/core.module.d.ts +78 -83
- package/lib/datatable/components/amount-cell/amount-cell.component.d.ts +3 -19
- package/lib/datatable/components/boolean-cell/boolean-cell.component.d.ts +3 -20
- package/lib/datatable/components/columns-selector/columns-search-filter.pipe.d.ts +1 -1
- package/lib/datatable/components/columns-selector/columns-selector.component.d.ts +2 -1
- package/lib/datatable/components/columns-selector/columns-selector.component.scss +64 -81
- package/lib/datatable/components/datatable/datatable.component.d.ts +12 -13
- package/lib/datatable/components/datatable/datatable.component.scss +48 -20
- package/lib/datatable/components/datatable-cell/datatable-cell.component.d.ts +20 -0
- package/lib/datatable/components/datatable-row/datatable-row.component.d.ts +2 -3
- package/lib/datatable/components/date-cell/date-cell.component.d.ts +9 -2
- package/lib/datatable/components/filesize-cell/filesize-cell.component.d.ts +1 -19
- package/lib/datatable/components/icon-cell/icon-cell.component.d.ts +3 -6
- package/lib/datatable/components/json-cell/json-cell.component.d.ts +4 -22
- package/lib/datatable/components/location-cell/location-cell.component.d.ts +3 -20
- package/lib/datatable/components/number-cell/number-cell.component.d.ts +3 -19
- package/lib/datatable/data/data-table.schema.d.ts +4 -4
- package/lib/datatable/data/datatable-adapter.d.ts +2 -0
- package/lib/datatable/data/object-datarow.model.d.ts +1 -1
- package/lib/datatable/data-column/data-column-header.component.d.ts +1 -3
- package/lib/datatable/directives/drop-zone.directive.d.ts +4 -4
- package/lib/datatable/directives/header-filter-template.directive.d.ts +1 -3
- package/lib/datatable/directives/loading-template.directive.d.ts +1 -3
- package/lib/datatable/directives/main-data-table-action-template.directive.d.ts +1 -3
- package/lib/datatable/directives/no-content-template.directive.d.ts +1 -3
- package/lib/datatable/directives/no-permission-template.directive.d.ts +1 -3
- package/lib/datatable/directives/resizable/resizable.directive.d.ts +8 -3
- package/lib/datatable/directives/resizable/resize-handle.directive.d.ts +2 -2
- package/lib/dialogs/confirm-dialog/confirm.dialog.d.ts +3 -3
- package/lib/dialogs/dialog/dialog.component.d.ts +2 -2
- package/lib/dialogs/edit-json/edit-json.dialog.d.ts +1 -2
- package/lib/dialogs/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +1 -3
- package/lib/dialogs/unsaved-changes-dialog/unsaved-changes.guard.d.ts +3 -6
- package/lib/directives/highlight.directive.d.ts +4 -6
- package/lib/directives/infinite-select-scroll.directive.d.ts +1 -3
- package/lib/directives/logout.directive.d.ts +6 -10
- package/lib/directives/tooltip-card/tooltip-card.component.d.ts +1 -3
- package/lib/directives/tooltip-card/tooltip-card.directive.d.ts +4 -6
- package/lib/directives/upload.directive.d.ts +7 -7
- package/lib/dynamic-chip-list/dynamic-chip-list.component.d.ts +3 -4
- package/lib/dynamic-chip-list/dynamic-chip-list.component.scss +1 -1
- package/lib/form/components/form-base.component.d.ts +1 -1
- package/lib/form/components/form-field/form-field.component.d.ts +5 -0
- package/lib/form/components/form-renderer.component.d.ts +7 -7
- package/lib/form/components/form-renderer.component.scss +48 -34
- package/lib/form/components/widgets/amount/amount.widget.d.ts +26 -6
- package/lib/form/components/widgets/base-display-text/base-display-text.widget.d.ts +43 -0
- package/lib/form/components/widgets/base-viewer/base-viewer.widget.d.ts +16 -2
- package/lib/form/components/widgets/button/button.widget.d.ts +9 -0
- package/lib/form/components/widgets/button/button.widget.scss +14 -0
- package/lib/form/components/widgets/checkbox/checkbox.widget.d.ts +0 -4
- package/lib/form/components/widgets/core/container-column.model.d.ts +2 -0
- package/lib/{models/decimal-number.model.d.ts → form/components/widgets/core/container-row.model.d.ts} +9 -5
- package/lib/{common/models/user-info-mode.enum.d.ts → form/components/widgets/core/custom-validation-message.token.d.ts} +3 -7
- package/lib/form/components/widgets/core/form-field-types.d.ts +5 -0
- package/lib/form/components/widgets/core/form-field-validator.d.ts +10 -10
- package/lib/form/components/widgets/core/form-field.model.d.ts +29 -2
- package/lib/form/components/widgets/core/form.model.d.ts +38 -2
- package/lib/{datatable/components/mocks/datatable.mock.d.ts → form/components/widgets/core/handlers/form-field-rule.handler.d.ts} +5 -5
- package/lib/{blank-page/public-api.d.ts → form/components/widgets/core/handlers/form-field-visibility-condition.handler.d.ts} +5 -2
- package/lib/form/components/widgets/core/index.d.ts +2 -0
- package/lib/{login/components/login-dialog/login-dialog-component-data.interface.d.ts → form/components/widgets/core/repeatable-section.model.d.ts} +7 -5
- package/lib/form/components/widgets/decimal/decimal.component.d.ts +0 -3
- package/lib/form/components/widgets/display-text/display-text.widget.d.ts +5 -5
- package/lib/form/components/widgets/error/error.component.d.ts +0 -3
- package/lib/form/components/widgets/error/error.component.scss +4 -0
- package/lib/form/components/widgets/hyperlink/hyperlink.widget.d.ts +0 -3
- package/lib/form/components/widgets/index.d.ts +5 -1
- package/lib/form/components/widgets/json/json.widget.d.ts +1 -5
- package/lib/form/components/widgets/multiline-text/multiline-text.widget.d.ts +5 -4
- package/lib/form/components/widgets/number/number.widget.d.ts +1 -5
- package/lib/form/components/widgets/reactive-widget.interface.d.ts +4 -0
- package/lib/form/components/widgets/repeat/repeat.widget.d.ts +9 -0
- package/lib/form/components/widgets/repeat/repeat.widget.scss +36 -0
- package/lib/form/components/widgets/text/text-mask.component.d.ts +6 -7
- package/lib/form/components/widgets/text/text.widget.d.ts +13 -4
- package/lib/form/components/widgets/unknown/unknown.widget.d.ts +0 -3
- package/lib/form/components/widgets/widget.component.d.ts +1 -2
- package/lib/form/form-base.module.d.ts +3 -2
- package/lib/form/models/widget-visibility.model.d.ts +7 -6
- package/lib/form/public-api.d.ts +1 -0
- package/lib/form/services/form-expression.service.d.ts +14 -0
- package/lib/form/services/form.service.d.ts +3 -3
- package/lib/{interface/index.d.ts → icon/icon-alias-map.token.d.ts} +3 -1
- package/lib/{interface/public-api.d.ts → icon/icon-alias-map.type.d.ts} +1 -1
- package/lib/icon/icon.component.d.ts +31 -4
- package/lib/{pipes/multi-value.pipe.d.ts → icon/icon.directive.d.ts} +13 -6
- package/lib/icon/icon.module.d.ts +3 -6
- package/lib/icon/public-api.d.ts +3 -0
- package/lib/info-drawer/info-drawer-layout.component.scss +2 -2
- package/lib/info-drawer/info-drawer.component.scss +6 -0
- package/lib/language-menu/language-menu.component.d.ts +2 -3
- package/lib/language-menu/service/language.service.d.ts +2 -4
- package/lib/layout/components/header/header.component.d.ts +1 -3
- package/lib/layout/components/sidebar-action/sidebar-action-menu.component.scss +1 -2
- package/lib/layout/components/sidenav-layout/sidenav-layout.component.d.ts +3 -5
- package/lib/layout/components/sidenav-layout/sidenav-layout.component.scss +4 -4
- package/lib/login/components/login/login.component.d.ts +10 -17
- package/lib/login/components/login/login.component.scss +6 -8
- package/lib/login/directives/login-footer.directive.d.ts +1 -3
- package/lib/login/directives/login-header.directive.d.ts +1 -3
- package/lib/login/login.module.d.ts +3 -5
- package/lib/login/public-api.d.ts +0 -2
- package/lib/mock/form/widget-visibility.service.mock.d.ts +1 -0
- package/lib/mock/public-api.d.ts +0 -1
- package/lib/mock/translation.service.mock.d.ts +2 -2
- package/lib/models/public-api.d.ts +0 -2
- package/lib/notifications/components/notification-history.component.d.ts +10 -7
- package/lib/notifications/models/notification.model.d.ts +7 -6
- package/lib/notifications/notification-history.module.d.ts +2 -4
- package/lib/notifications/public-api.d.ts +0 -1
- package/lib/notifications/services/notification.service.d.ts +3 -5
- package/lib/pagination/infinite-pagination.component.d.ts +3 -5
- package/lib/pagination/pagination.component.d.ts +6 -9
- package/lib/pipes/decimal-number.pipe.d.ts +6 -3
- package/lib/pipes/file-size.pipe.d.ts +2 -4
- package/lib/pipes/localized-date.pipe.d.ts +3 -6
- package/lib/pipes/pipe.module.d.ts +6 -8
- package/lib/pipes/public-api.d.ts +0 -1
- package/lib/pipes/text-highlight.pipe.d.ts +1 -3
- package/lib/pipes/time-ago.pipe.d.ts +1 -2
- package/lib/pipes/user-initial.pipe.d.ts +2 -3
- package/lib/search-text/models/search-text-input.model.d.ts +5 -4
- package/lib/search-text/search-text-input.component.d.ts +4 -5
- package/lib/search-text/search-text-input.component.scss +0 -6
- package/lib/search-text/search-trigger.directive.d.ts +6 -7
- package/lib/snackbar-content/snackbar-content.component.d.ts +1 -1
- package/lib/{blank-page/index.d.ts → stories/core-story.providers.d.ts} +7 -1
- package/lib/{sorting-picker → stories}/index.d.ts +1 -1
- package/lib/styles/_flex.scss +21 -16
- package/lib/styles/{material.theme.scss → _globals.scss} +6 -6
- package/lib/styles/_index.scss +4 -126
- package/lib/styles/_mat-selectors.scss +1 -17
- package/lib/templates/empty-content/empty-content.component.scss +2 -5
- package/lib/templates/error-content/error-content.component.d.ts +3 -7
- package/lib/templates/error-content/error-content.component.scss +1 -1
- package/lib/testing/index.d.ts +0 -1
- package/lib/testing/noop-translate.module.d.ts +3 -4
- package/lib/testing/unit-testing-utils.d.ts +14 -0
- package/lib/toolbar/toolbar.component.scss +1 -1
- package/lib/translation/provide-i18n.d.ts +5 -0
- package/lib/translation/translate-loader.service.d.ts +4 -22
- package/lib/translation/translation.service.d.ts +10 -3
- package/lib/viewer/components/download-prompt-dialog/download-prompt-dialog.component.d.ts +4 -2
- package/lib/viewer/components/img-viewer/img-viewer.component.d.ts +9 -5
- package/lib/viewer/components/media-player/media-player.component.d.ts +3 -5
- package/lib/viewer/components/pdf-viewer/pdf-viewer-host.component.scss +28 -0
- package/lib/viewer/components/pdf-viewer/pdf-viewer.component.d.ts +52 -17
- package/lib/viewer/components/pdf-viewer/pdf-viewer.component.scss +4 -2
- package/lib/viewer/components/pdf-viewer-password-dialog/pdf-viewer-password-dialog.d.ts +1 -3
- package/lib/viewer/components/pdf-viewer-thumb/pdf-viewer-thumb.component.d.ts +3 -5
- package/lib/viewer/components/pdf-viewer-thumbnails/pdf-viewer-thumbnails.component.d.ts +7 -8
- package/lib/viewer/components/txt-viewer/txt-viewer.component.d.ts +3 -22
- package/lib/viewer/components/viewer-render/viewer-render.component.d.ts +8 -8
- package/lib/viewer/components/viewer.component.d.ts +16 -14
- package/lib/viewer/components/viewer.component.scss +1 -1
- package/lib/viewer/directives/viewer-extension.directive.d.ts +7 -6
- package/lib/viewer/models/download-prompt.actions.d.ts +5 -4
- package/lib/viewer/models/viewer.model.d.ts +5 -4
- package/lib/viewer/services/rendering-queue.services.d.ts +35 -12
- package/lib/viewer/services/view-util.service.d.ts +4 -5
- package/package.json +4 -5
- package/public-api.d.ts +1 -6
- package/schematics/migrations/schematics/migrations/7_0_0/index.d.ts +1 -2
- package/schematics/migrations/schematics/migrations/7_0_0/index.js +44 -59
- package/schematics/migrations/schematics/migrations/7_0_0/index.js.map +1 -1
- package/schematics/migrations/schematics/migrations/collection.json +0 -5
- package/shell/lib/components/shell/shell.component.d.ts +7 -10
- package/lib/blank-page/blank-page.component.d.ts +0 -5
- package/lib/blank-page/blank-page.module.d.ts +0 -8
- package/lib/button/button.component.d.ts +0 -19
- package/lib/button/button.component.scss +0 -13
- package/lib/clipboard/clipboard.theme.scss +0 -19
- package/lib/interface/injection.tokens.d.ts +0 -18
- package/lib/landing-page/index.d.ts +0 -17
- package/lib/landing-page/provider.d.ts +0 -24
- package/lib/landing-page/public-api.d.ts +0 -17
- package/lib/login/components/login-dialog/login-dialog.component.d.ts +0 -15
- package/lib/login/components/login-dialog/login-dialog.component.scss +0 -4
- package/lib/mock/data-column.mock.d.ts +0 -51
- package/lib/models/product-version.model.d.ts +0 -24
- package/lib/notifications/components/add-notification.stories.component.d.ts +0 -10
- package/lib/progress/progress.component.d.ts +0 -36
- package/lib/sorting-picker/public-api.d.ts +0 -17
- package/lib/sorting-picker/sorting-picker.component.d.ts +0 -38
- package/lib/styles/_theming.scss +0 -3
- package/lib/styles/_typography.scss +0 -18
- package/lib/testing/core.story.module.d.ts +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { InjectionToken, inject, ChangeDetectorRef, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, TemplateRef, ViewContainerRef, Directive, Injectable, ApplicationRef, provideAppInitializer } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
5
5
|
import { BehaviorSubject, combineLatest, of } from 'rxjs';
|
|
@@ -10,18 +10,19 @@ import * as i4 from '@angular/material/slide-toggle';
|
|
|
10
10
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
11
11
|
import * as i5 from '@angular/material/toolbar';
|
|
12
12
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
13
|
-
import * as
|
|
14
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
15
|
-
import * as i7 from '@angular/material/button';
|
|
13
|
+
import * as i8 from '@angular/material/button';
|
|
16
14
|
import { MatButtonModule } from '@angular/material/button';
|
|
17
|
-
import * as
|
|
15
|
+
import * as i9 from '@angular/material/input';
|
|
18
16
|
import { MatInputModule } from '@angular/material/input';
|
|
19
17
|
import * as i2 from '@angular/forms';
|
|
20
18
|
import { FormsModule } from '@angular/forms';
|
|
21
19
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
22
|
-
import * as
|
|
20
|
+
import * as i10 from '@angular/material/dialog';
|
|
23
21
|
import { MatDialogModule } from '@angular/material/dialog';
|
|
24
22
|
import { TranslatePipe } from '@ngx-translate/core';
|
|
23
|
+
import * as i7 from '@alfresco/adf-core';
|
|
24
|
+
import { IconModule } from '@alfresco/adf-core';
|
|
25
|
+
import * as i6 from '@angular/material/icon';
|
|
25
26
|
|
|
26
27
|
/*!
|
|
27
28
|
* @license
|
|
@@ -63,10 +64,11 @@ const FlagsOverrideToken = new InjectionToken('FlagsOverrideToken');
|
|
|
63
64
|
* limitations under the License.
|
|
64
65
|
*/
|
|
65
66
|
class FlagsOverrideComponent {
|
|
66
|
-
constructor(
|
|
67
|
-
this.featuresService =
|
|
67
|
+
constructor() {
|
|
68
|
+
this.featuresService = inject(FeaturesServiceToken);
|
|
68
69
|
this.isEnabled = false;
|
|
69
70
|
this.size = 'medium';
|
|
71
|
+
const changeDetectorRef = inject(ChangeDetectorRef);
|
|
70
72
|
if (this.featuresService.isEnabled$) {
|
|
71
73
|
this.featuresService
|
|
72
74
|
.isEnabled$()
|
|
@@ -77,22 +79,19 @@ class FlagsOverrideComponent {
|
|
|
77
79
|
});
|
|
78
80
|
}
|
|
79
81
|
}
|
|
80
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
81
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
82
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: FlagsOverrideComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
83
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", type: FlagsOverrideComponent, isStandalone: true, selector: "adf-feature-flags-override-indicator", inputs: { size: "size" }, ngImport: i0, template: `
|
|
82
84
|
<span [ngClass]="['activity-indicator', size]" *ngIf="isEnabled; else inActive">🟢</span>
|
|
83
85
|
<ng-template #inActive><span [ngClass]="['activity-indicator', size]">🔴</span></ng-template>
|
|
84
86
|
`, isInline: true, styles: [".adf-activity-indicator{font-size:.885rem}\n", ".adf-activity-indicator .small{font-size:.7rem}\n", ".adf-activity-indicator .large{font-size:1.2rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
85
87
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: FlagsOverrideComponent, decorators: [{
|
|
87
89
|
type: Component,
|
|
88
90
|
args: [{ selector: 'adf-feature-flags-override-indicator', imports: [CommonModule], template: `
|
|
89
91
|
<span [ngClass]="['activity-indicator', size]" *ngIf="isEnabled; else inActive">🟢</span>
|
|
90
92
|
<ng-template #inActive><span [ngClass]="['activity-indicator', size]">🔴</span></ng-template>
|
|
91
93
|
`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".adf-activity-indicator{font-size:.885rem}\n", ".adf-activity-indicator .small{font-size:.7rem}\n", ".adf-activity-indicator .large{font-size:1.2rem}\n"] }]
|
|
92
|
-
}], ctorParameters: () => [
|
|
93
|
-
type: Inject,
|
|
94
|
-
args: [FeaturesServiceToken]
|
|
95
|
-
}] }, { type: i0.ChangeDetectorRef }], propDecorators: { size: [{
|
|
94
|
+
}], ctorParameters: () => [], propDecorators: { size: [{
|
|
96
95
|
type: Input
|
|
97
96
|
}] } });
|
|
98
97
|
|
|
@@ -113,9 +112,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
113
112
|
* limitations under the License.
|
|
114
113
|
*/
|
|
115
114
|
class FlagsComponent {
|
|
116
|
-
constructor(
|
|
117
|
-
this.featuresService =
|
|
118
|
-
this.writableFeaturesService =
|
|
115
|
+
constructor() {
|
|
116
|
+
this.featuresService = inject(FeaturesServiceToken);
|
|
117
|
+
this.writableFeaturesService = inject(WritableFeaturesServiceToken);
|
|
119
118
|
this.displayedColumns = ['icon', 'flag', 'value'];
|
|
120
119
|
this.isEnabled = false;
|
|
121
120
|
this.inputValue = '';
|
|
@@ -172,10 +171,10 @@ class FlagsComponent {
|
|
|
172
171
|
onDelete(flag) {
|
|
173
172
|
this.writableFeaturesService.removeFlag(flag);
|
|
174
173
|
}
|
|
175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
176
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: FlagsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
175
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", type: FlagsComponent, isStandalone: true, selector: "adf-feature-flags-overrides", ngImport: i0, template: "<mat-toolbar class=\"adf-feature-flags-overrides-header\">\n <div class=\"adf-feature-flags-overrides-header-text\" tabindex=\"0\">\n <adf-feature-flags-override-indicator\n class=\"adf-activity-indicator\"\n size='large' />\n <span>{{ \"CORE.FEATURE-FLAGS.OVERRIDES\" | translate }}</span>\n </div>\n <mat-slide-toggle\n [checked]=\"isEnabled\"\n (change)=\"onEnable($event.checked)\" />\n <button class=\"adf-feature-flags-overrides-header-close\" mat-icon-button mat-dialog-close>\n <mat-icon adf-icon=\"close\" />\n </button>\n</mat-toolbar>\n\n<ng-container *ngIf=\"flags$ | async as flags\">\n <table mat-table [dataSource]=\"flags\" class=\"adf-feature-flags-overrides-table mat-elevation-z0\">\n <ng-container matColumnDef=\"icon\">\n <th mat-header-cell class=\"adf-icon-col adf-header-cell\" *matHeaderCellDef>\n <mat-icon class=\"material-icons-outlined adf-search-icon\" adf-icon=\"search\" />\n </th>\n <td mat-cell class=\"adf-icon-col\" *matCellDef=\"let element\">\n <button mat-icon-button *ngIf=\"element.fictive; else flagFromApi\" class=\"adf-fictive-flag-button\" (click)=\"onDelete(element.flag)\">\n <mat-icon class=\"material-icons-outlined adf-custom-flag-icon\" adf-icon=\"memory\" />\n <mat-icon class=\"material-icons-outlined adf-trash-icon\" adf-icon=\"delete\" />\n </button>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"flag\">\n <th mat-header-cell class=\"flag-col header-cell\" *matHeaderCellDef>\n <mat-form-field class=\"adf-flag-form-field\" appearance=\"fill\" floatLabel=\"auto\">\n <input class=\"flag-input\" [placeholder]=\"(isEnabled ? 'CORE.FEATURE-FLAGS.FILTER_OR_ADD_NEW' : 'CORE.FEATURE-FLAGS.FILTER') | translate\" matInput type=\"text\" [(ngModel)]=\"inputValue\" (keyup)=\"onInputChange(inputValue)\" (keypress)=\"onAdd($event)\">\n </mat-form-field>\n </th>\n <td mat-cell class=\"flag-col\" *matCellDef=\"let element\">{{ element.flag }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"value\">\n <th mat-header-cell class=\"adf-val-col header-cell\" *matHeaderCellDef>\n <div class=\"adf-input-field-buttons-container\">\n <button *ngIf=\"showPlusButton$ | async\" mat-icon-button title=\"{{'CORE.FEATURE-FLAGS.ADD_NEW' | translate}}\" color=\"accent\" (click)=\"onAddButtonClick()\">\n <mat-icon class=\"material-icons-outlined\" adf-icon=\"add_circle\" />\n </button>\n <button *ngIf=\"inputValue\" matSuffix mat-icon-button aria-label=\"Clear\" (click)=\"onClearInput()\" class=\"adf-clear-button\">\n <mat-icon adf-icon=\"cancel\" />\n </button>\n </div>\n </th>\n <td mat-cell class=\"adf-val-col\" *matCellDef=\"let element\">\n <mat-slide-toggle\n [checked]=\"element.value\"\n (change)=\"onChange(element.flag, $event.checked)\"\n [disabled]=\"!isEnabled\" />\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n </table>\n</ng-container>\n\n<ng-template #flagFromApi>\n <mat-icon class=\"material-icons-outlined\" adf-icon=\"cloud\" />\n</ng-template>\n\n", styles: [".adf-feature-flags-overrides-header{position:sticky;top:0;height:64px;z-index:101;display:flex}.adf-feature-flags-overrides-header .adf-activity-indicator{margin-right:12px;position:relative;top:-2px}.adf-feature-flags-overrides-header-text{flex:1}.adf-feature-flags-overrides-header-close{margin-left:12px}.adf-feature-flags-overrides-table{width:100%}.adf-feature-flags-overrides-table .adf-search-icon{position:relative;top:4px}.adf-feature-flags-overrides-table .adf-flag-form-field{width:100%;display:flex}.adf-feature-flags-overrides-table .adf-flag-form-field .mat-mdc-form-field-subscript-wrapper,.adf-feature-flags-overrides-table .adf-flag-form-field .mdc-line-ripple{display:none}.adf-feature-flags-overrides-table .adf-input-field-buttons-container{display:flex;justify-content:flex-end}.adf-feature-flags-overrides-table .adf-clear-button{margin-left:-14px}.adf-feature-flags-overrides-table .adf-fictive-flag-button{margin-left:-12px}.adf-feature-flags-overrides-table .adf-fictive-flag-button .adf-custom-flag-icon{display:block}.adf-feature-flags-overrides-table .adf-fictive-flag-button .adf-trash-icon,.adf-feature-flags-overrides-table .adf-fictive-flag-button:hover .adf-custom-flag-icon{display:none}.adf-feature-flags-overrides-table .adf-fictive-flag-button:hover .adf-trash-icon{display:block}.adf-feature-flags-overrides-table .adf-icon-col{width:56px;padding-left:24px}.adf-feature-flags-overrides-table .adf-val-col{width:85px}\n"], dependencies: [{ kind: "component", type: FlagsOverrideComponent, selector: "adf-feature-flags-override-indicator", inputs: ["size"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i3.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i3.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i5.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: IconModule }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i7.IconDirective, selector: "mat-icon[adf-icon]", inputs: ["adf-icon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i9.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: i9.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i9.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i10.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
177
176
|
}
|
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: FlagsComponent, decorators: [{
|
|
179
178
|
type: Component,
|
|
180
179
|
args: [{ selector: 'adf-feature-flags-overrides', imports: [
|
|
181
180
|
FlagsOverrideComponent,
|
|
@@ -184,19 +183,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
184
183
|
MatTableModule,
|
|
185
184
|
MatSlideToggleModule,
|
|
186
185
|
MatToolbarModule,
|
|
187
|
-
|
|
186
|
+
IconModule,
|
|
188
187
|
MatButtonModule,
|
|
189
188
|
MatInputModule,
|
|
190
189
|
MatDialogModule,
|
|
191
190
|
TranslatePipe
|
|
192
|
-
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar class=\"adf-feature-flags-overrides-header\">\n <div class=\"adf-feature-flags-overrides-header-text\" tabindex=\"0\">\n <adf-feature-flags-override-indicator\n class=\"adf-activity-indicator\"\n size='large' />\n <span>{{ \"CORE.FEATURE-FLAGS.OVERRIDES\" | translate }}</span>\n </div>\n <mat-slide-toggle\n [checked]=\"isEnabled\"\n (change)=\"onEnable($event.checked)\" />\n <button
|
|
193
|
-
}], ctorParameters: () => [
|
|
194
|
-
type: Inject,
|
|
195
|
-
args: [FeaturesServiceToken]
|
|
196
|
-
}] }, { type: undefined, decorators: [{
|
|
197
|
-
type: Inject,
|
|
198
|
-
args: [WritableFeaturesServiceToken]
|
|
199
|
-
}] }] });
|
|
191
|
+
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-toolbar class=\"adf-feature-flags-overrides-header\">\n <div class=\"adf-feature-flags-overrides-header-text\" tabindex=\"0\">\n <adf-feature-flags-override-indicator\n class=\"adf-activity-indicator\"\n size='large' />\n <span>{{ \"CORE.FEATURE-FLAGS.OVERRIDES\" | translate }}</span>\n </div>\n <mat-slide-toggle\n [checked]=\"isEnabled\"\n (change)=\"onEnable($event.checked)\" />\n <button class=\"adf-feature-flags-overrides-header-close\" mat-icon-button mat-dialog-close>\n <mat-icon adf-icon=\"close\" />\n </button>\n</mat-toolbar>\n\n<ng-container *ngIf=\"flags$ | async as flags\">\n <table mat-table [dataSource]=\"flags\" class=\"adf-feature-flags-overrides-table mat-elevation-z0\">\n <ng-container matColumnDef=\"icon\">\n <th mat-header-cell class=\"adf-icon-col adf-header-cell\" *matHeaderCellDef>\n <mat-icon class=\"material-icons-outlined adf-search-icon\" adf-icon=\"search\" />\n </th>\n <td mat-cell class=\"adf-icon-col\" *matCellDef=\"let element\">\n <button mat-icon-button *ngIf=\"element.fictive; else flagFromApi\" class=\"adf-fictive-flag-button\" (click)=\"onDelete(element.flag)\">\n <mat-icon class=\"material-icons-outlined adf-custom-flag-icon\" adf-icon=\"memory\" />\n <mat-icon class=\"material-icons-outlined adf-trash-icon\" adf-icon=\"delete\" />\n </button>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"flag\">\n <th mat-header-cell class=\"flag-col header-cell\" *matHeaderCellDef>\n <mat-form-field class=\"adf-flag-form-field\" appearance=\"fill\" floatLabel=\"auto\">\n <input class=\"flag-input\" [placeholder]=\"(isEnabled ? 'CORE.FEATURE-FLAGS.FILTER_OR_ADD_NEW' : 'CORE.FEATURE-FLAGS.FILTER') | translate\" matInput type=\"text\" [(ngModel)]=\"inputValue\" (keyup)=\"onInputChange(inputValue)\" (keypress)=\"onAdd($event)\">\n </mat-form-field>\n </th>\n <td mat-cell class=\"flag-col\" *matCellDef=\"let element\">{{ element.flag }}</td>\n </ng-container>\n\n <ng-container matColumnDef=\"value\">\n <th mat-header-cell class=\"adf-val-col header-cell\" *matHeaderCellDef>\n <div class=\"adf-input-field-buttons-container\">\n <button *ngIf=\"showPlusButton$ | async\" mat-icon-button title=\"{{'CORE.FEATURE-FLAGS.ADD_NEW' | translate}}\" color=\"accent\" (click)=\"onAddButtonClick()\">\n <mat-icon class=\"material-icons-outlined\" adf-icon=\"add_circle\" />\n </button>\n <button *ngIf=\"inputValue\" matSuffix mat-icon-button aria-label=\"Clear\" (click)=\"onClearInput()\" class=\"adf-clear-button\">\n <mat-icon adf-icon=\"cancel\" />\n </button>\n </div>\n </th>\n <td mat-cell class=\"adf-val-col\" *matCellDef=\"let element\">\n <mat-slide-toggle\n [checked]=\"element.value\"\n (change)=\"onChange(element.flag, $event.checked)\"\n [disabled]=\"!isEnabled\" />\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n </table>\n</ng-container>\n\n<ng-template #flagFromApi>\n <mat-icon class=\"material-icons-outlined\" adf-icon=\"cloud\" />\n</ng-template>\n\n", styles: [".adf-feature-flags-overrides-header{position:sticky;top:0;height:64px;z-index:101;display:flex}.adf-feature-flags-overrides-header .adf-activity-indicator{margin-right:12px;position:relative;top:-2px}.adf-feature-flags-overrides-header-text{flex:1}.adf-feature-flags-overrides-header-close{margin-left:12px}.adf-feature-flags-overrides-table{width:100%}.adf-feature-flags-overrides-table .adf-search-icon{position:relative;top:4px}.adf-feature-flags-overrides-table .adf-flag-form-field{width:100%;display:flex}.adf-feature-flags-overrides-table .adf-flag-form-field .mat-mdc-form-field-subscript-wrapper,.adf-feature-flags-overrides-table .adf-flag-form-field .mdc-line-ripple{display:none}.adf-feature-flags-overrides-table .adf-input-field-buttons-container{display:flex;justify-content:flex-end}.adf-feature-flags-overrides-table .adf-clear-button{margin-left:-14px}.adf-feature-flags-overrides-table .adf-fictive-flag-button{margin-left:-12px}.adf-feature-flags-overrides-table .adf-fictive-flag-button .adf-custom-flag-icon{display:block}.adf-feature-flags-overrides-table .adf-fictive-flag-button .adf-trash-icon,.adf-feature-flags-overrides-table .adf-fictive-flag-button:hover .adf-custom-flag-icon{display:none}.adf-feature-flags-overrides-table .adf-fictive-flag-button:hover .adf-trash-icon{display:block}.adf-feature-flags-overrides-table .adf-icon-col{width:56px;padding-left:24px}.adf-feature-flags-overrides-table .adf-val-col{width:85px}\n"] }]
|
|
192
|
+
}], ctorParameters: () => [] });
|
|
200
193
|
|
|
201
194
|
/*!
|
|
202
195
|
* @license
|
|
@@ -215,14 +208,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
215
208
|
* limitations under the License.
|
|
216
209
|
*/
|
|
217
210
|
class FeatureFlagsWrapperComponent {
|
|
218
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
219
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
211
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: FeatureFlagsWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
212
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", type: FeatureFlagsWrapperComponent, isStandalone: true, selector: "adf-feature-flags-wrapper", ngImport: i0, template: `
|
|
220
213
|
<div class="adf-feature-flags-wrapper">
|
|
221
214
|
<adf-feature-flags-overrides />
|
|
222
215
|
</div>
|
|
223
216
|
`, isInline: true, styles: [".adf-feature-flags-wrapper{width:100%;height:100%}\n"], dependencies: [{ kind: "component", type: FlagsComponent, selector: "adf-feature-flags-overrides" }] }); }
|
|
224
217
|
}
|
|
225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: FeatureFlagsWrapperComponent, decorators: [{
|
|
226
219
|
type: Component,
|
|
227
220
|
args: [{ selector: 'adf-feature-flags-wrapper', imports: [FlagsComponent], template: `
|
|
228
221
|
<div class="adf-feature-flags-wrapper">
|
|
@@ -251,10 +244,10 @@ class FeaturesDirective {
|
|
|
251
244
|
set adfForFeatures(feature) {
|
|
252
245
|
this.inputUpdate$.next(Array.isArray(feature) ? feature : [feature]);
|
|
253
246
|
}
|
|
254
|
-
constructor(
|
|
255
|
-
this.featuresService =
|
|
256
|
-
this.templateRef =
|
|
257
|
-
this.viewContainer =
|
|
247
|
+
constructor() {
|
|
248
|
+
this.featuresService = inject(FeaturesServiceToken);
|
|
249
|
+
this.templateRef = inject(TemplateRef);
|
|
250
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
258
251
|
this.hasView = false;
|
|
259
252
|
this.inputUpdate$ = new BehaviorSubject([]);
|
|
260
253
|
combineLatest([this.featuresService.getFlags$(), this.inputUpdate$])
|
|
@@ -272,19 +265,16 @@ class FeaturesDirective {
|
|
|
272
265
|
this.hasView = false;
|
|
273
266
|
}
|
|
274
267
|
}
|
|
275
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
276
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
268
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: FeaturesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
269
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.19", type: FeaturesDirective, isStandalone: true, selector: "[adfForFeatures]", inputs: { adfForFeatures: "adfForFeatures" }, ngImport: i0 }); }
|
|
277
270
|
}
|
|
278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: FeaturesDirective, decorators: [{
|
|
279
272
|
type: Directive,
|
|
280
273
|
args: [{
|
|
281
274
|
/* eslint-disable-next-line @angular-eslint/directive-selector */
|
|
282
275
|
selector: '[adfForFeatures]'
|
|
283
276
|
}]
|
|
284
|
-
}], ctorParameters: () => [
|
|
285
|
-
type: Inject,
|
|
286
|
-
args: [FeaturesServiceToken]
|
|
287
|
-
}] }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }], propDecorators: { adfForFeatures: [{
|
|
277
|
+
}], ctorParameters: () => [], propDecorators: { adfForFeatures: [{
|
|
288
278
|
type: Input
|
|
289
279
|
}] } });
|
|
290
280
|
|
|
@@ -308,10 +298,10 @@ class NotFeaturesDirective {
|
|
|
308
298
|
set adfNotForFeatures(feature) {
|
|
309
299
|
this.inputUpdate$.next(Array.isArray(feature) ? feature : [feature]);
|
|
310
300
|
}
|
|
311
|
-
constructor(
|
|
312
|
-
this.featuresService =
|
|
313
|
-
this.templateRef =
|
|
314
|
-
this.viewContainer =
|
|
301
|
+
constructor() {
|
|
302
|
+
this.featuresService = inject(FeaturesServiceToken);
|
|
303
|
+
this.templateRef = inject(TemplateRef);
|
|
304
|
+
this.viewContainer = inject(ViewContainerRef);
|
|
315
305
|
this.hasView = false;
|
|
316
306
|
this.inputUpdate$ = new BehaviorSubject([]);
|
|
317
307
|
combineLatest([this.featuresService.getFlags$(), this.inputUpdate$])
|
|
@@ -329,19 +319,16 @@ class NotFeaturesDirective {
|
|
|
329
319
|
this.hasView = false;
|
|
330
320
|
}
|
|
331
321
|
}
|
|
332
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
333
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
322
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NotFeaturesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
323
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.19", type: NotFeaturesDirective, isStandalone: true, selector: "[adfNotForFeatures]", inputs: { adfNotForFeatures: "adfNotForFeatures" }, ngImport: i0 }); }
|
|
334
324
|
}
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NotFeaturesDirective, decorators: [{
|
|
336
326
|
type: Directive,
|
|
337
327
|
args: [{
|
|
338
328
|
/* eslint-disable-next-line @angular-eslint/directive-selector */
|
|
339
329
|
selector: '[adfNotForFeatures]'
|
|
340
330
|
}]
|
|
341
|
-
}], ctorParameters: () => [
|
|
342
|
-
type: Inject,
|
|
343
|
-
args: [FeaturesServiceToken]
|
|
344
|
-
}] }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }], propDecorators: { adfNotForFeatures: [{
|
|
331
|
+
}], ctorParameters: () => [], propDecorators: { adfNotForFeatures: [{
|
|
345
332
|
type: Input
|
|
346
333
|
}] } });
|
|
347
334
|
|
|
@@ -363,22 +350,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
363
350
|
*/
|
|
364
351
|
const isFeatureOn = (flag) => () => inject(FeaturesServiceToken).isOn$(flag);
|
|
365
352
|
class IsFeatureOn {
|
|
366
|
-
constructor(
|
|
367
|
-
this.featuresServiceToken =
|
|
353
|
+
constructor() {
|
|
354
|
+
this.featuresServiceToken = inject(FeaturesServiceToken);
|
|
368
355
|
}
|
|
369
356
|
canMatch(route) {
|
|
370
357
|
return this.featuresServiceToken.isOn$(route?.data?.['feature']);
|
|
371
358
|
}
|
|
372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
373
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
359
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IsFeatureOn, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
360
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IsFeatureOn, providedIn: 'root' }); }
|
|
374
361
|
}
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IsFeatureOn, decorators: [{
|
|
376
363
|
type: Injectable,
|
|
377
364
|
args: [{ providedIn: 'root' }]
|
|
378
|
-
}]
|
|
379
|
-
type: Inject,
|
|
380
|
-
args: [FeaturesServiceToken]
|
|
381
|
-
}] }] });
|
|
365
|
+
}] });
|
|
382
366
|
|
|
383
367
|
/*!
|
|
384
368
|
* @license
|
|
@@ -398,22 +382,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
398
382
|
*/
|
|
399
383
|
const isFeatureOff = (flag) => () => inject(FeaturesServiceToken).isOff$(flag);
|
|
400
384
|
class IsFeatureOff {
|
|
401
|
-
constructor(
|
|
402
|
-
this.featuresServiceToken =
|
|
385
|
+
constructor() {
|
|
386
|
+
this.featuresServiceToken = inject(FeaturesServiceToken);
|
|
403
387
|
}
|
|
404
388
|
canMatch(route) {
|
|
405
389
|
return this.featuresServiceToken.isOff$(route?.data?.['feature']);
|
|
406
390
|
}
|
|
407
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
408
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
391
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IsFeatureOff, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
392
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IsFeatureOff, providedIn: 'root' }); }
|
|
409
393
|
}
|
|
410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IsFeatureOff, decorators: [{
|
|
411
395
|
type: Injectable,
|
|
412
396
|
args: [{ providedIn: 'root' }]
|
|
413
|
-
}]
|
|
414
|
-
type: Inject,
|
|
415
|
-
args: [FeaturesServiceToken]
|
|
416
|
-
}] }] });
|
|
397
|
+
}] });
|
|
417
398
|
|
|
418
399
|
/*!
|
|
419
400
|
* @license
|
|
@@ -433,24 +414,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
433
414
|
*/
|
|
434
415
|
const isFlagsOverrideOn = () => () => inject(FlagsOverrideToken) ?? false;
|
|
435
416
|
class IsFlagsOverrideOn {
|
|
436
|
-
constructor(
|
|
437
|
-
this.devToolsToken =
|
|
417
|
+
constructor() {
|
|
418
|
+
this.devToolsToken = inject(FlagsOverrideToken, { optional: true });
|
|
438
419
|
}
|
|
439
420
|
canMatch() {
|
|
440
421
|
return !!this.devToolsToken;
|
|
441
422
|
}
|
|
442
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
443
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
423
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IsFlagsOverrideOn, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
424
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IsFlagsOverrideOn, providedIn: 'root' }); }
|
|
444
425
|
}
|
|
445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IsFlagsOverrideOn, decorators: [{
|
|
446
427
|
type: Injectable,
|
|
447
428
|
args: [{ providedIn: 'root' }]
|
|
448
|
-
}]
|
|
449
|
-
type: Optional
|
|
450
|
-
}, {
|
|
451
|
-
type: Inject,
|
|
452
|
-
args: [FlagsOverrideToken]
|
|
453
|
-
}] }] });
|
|
429
|
+
}] });
|
|
454
430
|
|
|
455
431
|
/*!
|
|
456
432
|
* @license
|
|
@@ -468,7 +444,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
468
444
|
* See the License for the specific language governing permissions and
|
|
469
445
|
* limitations under the License.
|
|
470
446
|
*/
|
|
471
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
472
447
|
class DummyFeaturesService {
|
|
473
448
|
init() {
|
|
474
449
|
return of();
|
|
@@ -482,10 +457,10 @@ class DummyFeaturesService {
|
|
|
482
457
|
getFlags$() {
|
|
483
458
|
return of({});
|
|
484
459
|
}
|
|
485
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
486
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
460
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DummyFeaturesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
461
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DummyFeaturesService }); }
|
|
487
462
|
}
|
|
488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DummyFeaturesService, decorators: [{
|
|
489
464
|
type: Injectable
|
|
490
465
|
}] });
|
|
491
466
|
|
|
@@ -575,8 +550,8 @@ class FlagSetParser {
|
|
|
575
550
|
* limitations under the License.
|
|
576
551
|
*/
|
|
577
552
|
class StorageFeaturesService {
|
|
578
|
-
constructor(
|
|
579
|
-
this.config =
|
|
553
|
+
constructor() {
|
|
554
|
+
this.config = inject(WritableFeaturesServiceConfigToken, { optional: true });
|
|
580
555
|
this.currentFlagState = {};
|
|
581
556
|
this.flags = new BehaviorSubject({});
|
|
582
557
|
this.flags$ = this.flags.asObservable();
|
|
@@ -626,7 +601,6 @@ class StorageFeaturesService {
|
|
|
626
601
|
});
|
|
627
602
|
}
|
|
628
603
|
removeFlag(key) {
|
|
629
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
630
604
|
const { [key]: _, ...flags } = this.currentFlagState;
|
|
631
605
|
this.flags.next(flags);
|
|
632
606
|
}
|
|
@@ -665,18 +639,13 @@ class StorageFeaturesService {
|
|
|
665
639
|
waitForInitializationToFinish() {
|
|
666
640
|
return this.initSubject.pipe(filter((initialized) => !!initialized));
|
|
667
641
|
}
|
|
668
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
669
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
642
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: StorageFeaturesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
643
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: StorageFeaturesService, providedIn: 'root' }); }
|
|
670
644
|
}
|
|
671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: StorageFeaturesService, decorators: [{
|
|
672
646
|
type: Injectable,
|
|
673
647
|
args: [{ providedIn: 'root' }]
|
|
674
|
-
}], ctorParameters: () => [
|
|
675
|
-
type: Optional
|
|
676
|
-
}, {
|
|
677
|
-
type: Inject,
|
|
678
|
-
args: [WritableFeaturesServiceConfigToken]
|
|
679
|
-
}] }] });
|
|
648
|
+
}], ctorParameters: () => [] });
|
|
680
649
|
|
|
681
650
|
/*!
|
|
682
651
|
* @license
|
|
@@ -698,10 +667,10 @@ class DebugFeaturesService {
|
|
|
698
667
|
get storageKey() {
|
|
699
668
|
return `${this.config?.storageKey || 'feature-flags'}-override`;
|
|
700
669
|
}
|
|
701
|
-
constructor(
|
|
702
|
-
this.overriddenFeaturesService =
|
|
703
|
-
this.writableFeaturesService =
|
|
704
|
-
this.config =
|
|
670
|
+
constructor() {
|
|
671
|
+
this.overriddenFeaturesService = inject(OverridableFeaturesServiceToken);
|
|
672
|
+
this.writableFeaturesService = inject(WritableFeaturesServiceToken);
|
|
673
|
+
this.config = inject(WritableFeaturesServiceConfigToken, { optional: true });
|
|
705
674
|
this.isInDebugModeSubject = new BehaviorSubject(false);
|
|
706
675
|
this.isInDebugMode$ = this.isInDebugModeSubject.asObservable();
|
|
707
676
|
this.initSubject = new BehaviorSubject(false);
|
|
@@ -749,23 +718,12 @@ class DebugFeaturesService {
|
|
|
749
718
|
waitForInitializationToFinish() {
|
|
750
719
|
return this.initSubject.pipe(filter((initialized) => !!initialized));
|
|
751
720
|
}
|
|
752
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
753
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
721
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DebugFeaturesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
722
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DebugFeaturesService }); }
|
|
754
723
|
}
|
|
755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DebugFeaturesService, decorators: [{
|
|
756
725
|
type: Injectable
|
|
757
|
-
}], ctorParameters: () => [
|
|
758
|
-
type: Inject,
|
|
759
|
-
args: [OverridableFeaturesServiceToken]
|
|
760
|
-
}] }, { type: undefined, decorators: [{
|
|
761
|
-
type: Inject,
|
|
762
|
-
args: [WritableFeaturesServiceToken]
|
|
763
|
-
}] }, { type: undefined, decorators: [{
|
|
764
|
-
type: Optional
|
|
765
|
-
}, {
|
|
766
|
-
type: Inject,
|
|
767
|
-
args: [WritableFeaturesServiceConfigToken]
|
|
768
|
-
}] }] });
|
|
726
|
+
}], ctorParameters: () => [] });
|
|
769
727
|
|
|
770
728
|
/*!
|
|
771
729
|
* @license
|
|
@@ -784,9 +742,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImpor
|
|
|
784
742
|
* limitations under the License.
|
|
785
743
|
*/
|
|
786
744
|
class QaFeaturesHelper {
|
|
787
|
-
constructor(
|
|
788
|
-
this.applicationRef =
|
|
789
|
-
this.debugFeaturesService =
|
|
745
|
+
constructor() {
|
|
746
|
+
this.applicationRef = inject(ApplicationRef);
|
|
747
|
+
this.debugFeaturesService = inject(FeaturesServiceToken);
|
|
790
748
|
}
|
|
791
749
|
isOn(key) {
|
|
792
750
|
let isOn = false;
|
|
@@ -814,15 +772,12 @@ class QaFeaturesHelper {
|
|
|
814
772
|
});
|
|
815
773
|
return enabled;
|
|
816
774
|
}
|
|
817
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
818
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
775
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: QaFeaturesHelper, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
776
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: QaFeaturesHelper }); }
|
|
819
777
|
}
|
|
820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: QaFeaturesHelper, decorators: [{
|
|
821
779
|
type: Injectable
|
|
822
|
-
}]
|
|
823
|
-
type: Inject,
|
|
824
|
-
args: [FeaturesServiceToken]
|
|
825
|
-
}] }] });
|
|
780
|
+
}] });
|
|
826
781
|
|
|
827
782
|
/*!
|
|
828
783
|
* @license
|