@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
|
@@ -32,7 +32,7 @@ import { FormFieldModel, FormFieldValidator } from '../components/widgets';
|
|
|
32
32
|
import * as i0 from "@angular/core";
|
|
33
33
|
export declare const FORM_SERVICE_FIELD_VALIDATORS_TOKEN: InjectionToken<FormFieldValidator[]>;
|
|
34
34
|
export declare class FormService implements FormValidationService {
|
|
35
|
-
private fieldValidators;
|
|
35
|
+
private readonly fieldValidators;
|
|
36
36
|
formLoaded: Subject<FormEvent>;
|
|
37
37
|
formDataRefreshed: Subject<FormEvent>;
|
|
38
38
|
formFieldValueChanged: Subject<FormFieldEvent>;
|
|
@@ -53,7 +53,7 @@ export declare class FormService implements FormValidationService {
|
|
|
53
53
|
executeOutcome: Subject<FormOutcomeEvent>;
|
|
54
54
|
updateFormValuesRequested: Subject<FormValues>;
|
|
55
55
|
formRulesEvent: Subject<FormRulesEvent>;
|
|
56
|
-
constructor(
|
|
56
|
+
constructor();
|
|
57
57
|
/**
|
|
58
58
|
* Parses JSON data to create a corresponding Form model.
|
|
59
59
|
*
|
|
@@ -65,6 +65,6 @@ export declare class FormService implements FormValidationService {
|
|
|
65
65
|
*/
|
|
66
66
|
parseForm(json: any, data?: FormValues, readOnly?: boolean, fixedSpace?: boolean): FormModel;
|
|
67
67
|
getPreviewState(): boolean;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormService,
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormService, never>;
|
|
69
69
|
static ɵprov: i0.ɵɵInjectableDeclaration<FormService>;
|
|
70
70
|
}
|
|
@@ -14,4 +14,6 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
import { InjectionToken } from '@angular/core';
|
|
18
|
+
import { IconAliasMap } from './icon-alias-map.type';
|
|
19
|
+
export declare const ICON_ALIAS_MAP_TOKEN: InjectionToken<IconAliasMap>;
|
|
@@ -1,8 +1,29 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { AfterContentInit } from '@angular/core';
|
|
1
18
|
import { ThemePalette } from '@angular/material/core';
|
|
2
19
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare
|
|
20
|
+
export declare const DEFAULT_ICON_VALUE = "settings";
|
|
21
|
+
/** @deprecated Use material icon with aria-hidden="true" attribute instead. */
|
|
22
|
+
export declare class IconComponent implements AfterContentInit {
|
|
23
|
+
private readonly ALIAS_MAP;
|
|
24
|
+
private readonly elementRef;
|
|
4
25
|
private _value;
|
|
5
|
-
private
|
|
26
|
+
private _isSvg;
|
|
6
27
|
/** Theme color palette for the component. */
|
|
7
28
|
color: ThemePalette;
|
|
8
29
|
/** Icon font set */
|
|
@@ -10,7 +31,13 @@ export declare class IconComponent {
|
|
|
10
31
|
get value(): string;
|
|
11
32
|
/** Icon value, which can be either a ligature name or a custom icon in the format `[namespace]:[name]`. */
|
|
12
33
|
set value(value: string);
|
|
13
|
-
get
|
|
34
|
+
get isSvg(): boolean;
|
|
35
|
+
/** Is icon of svg type */
|
|
36
|
+
set isSvg(isSvg: boolean);
|
|
37
|
+
ngAfterContentInit(): void;
|
|
38
|
+
private hasMappedAlias;
|
|
39
|
+
private isCustom;
|
|
40
|
+
private getTextNode;
|
|
14
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "adf-icon", never, { "color": { "alias": "color"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never,
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "adf-icon", never, { "color": { "alias": "color"; "required": false; }; "fontSet": { "alias": "fontSet"; "required": false; }; "value": { "alias": "value"; "required": false; }; "isSvg": { "alias": "isSvg"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
43
|
}
|
|
@@ -14,11 +14,18 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
17
|
+
import { OnChanges } from '@angular/core';
|
|
18
18
|
import * as i0 from "@angular/core";
|
|
19
|
-
export declare class
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
export declare class IconDirective implements OnChanges {
|
|
20
|
+
private readonly matIcon;
|
|
21
|
+
private readonly elementRef;
|
|
22
|
+
private readonly aliasMap;
|
|
23
|
+
name: string;
|
|
24
|
+
ngOnChanges(): void;
|
|
25
|
+
private setSvgIcon;
|
|
26
|
+
private appendLigatureText;
|
|
27
|
+
private findTextNode;
|
|
28
|
+
private resetSvgIcon;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirective, "mat-icon[adf-icon]", never, { "name": { "alias": "adf-icon"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
31
|
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./icon.
|
|
3
|
-
|
|
4
|
-
* @deprecated this Module is deprecated and should no longer be used.
|
|
5
|
-
* Consider importing components directly instead.
|
|
6
|
-
*/
|
|
2
|
+
import * as i1 from "./icon.directive";
|
|
3
|
+
import * as i2 from "@angular/material/icon";
|
|
7
4
|
export declare class IconModule {
|
|
8
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule,
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IconModule, [typeof i1.IconDirective], [typeof i2.MatIconModule], [typeof i2.MatIconModule, typeof i1.IconDirective]>;
|
|
10
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<IconModule>;
|
|
11
8
|
}
|
package/lib/icon/public-api.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ $adf-info-drawer-icon-size-half: 24px !default;
|
|
|
51
51
|
letter-spacing: 0.15px;
|
|
52
52
|
text-align: left;
|
|
53
53
|
align-items: center;
|
|
54
|
-
color: var(--adf-theme-foreground-text-color-
|
|
54
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
|
|
57
57
|
& > div {
|
|
@@ -80,7 +80,7 @@ $adf-info-drawer-icon-size-half: 24px !default;
|
|
|
80
80
|
.adf-manage-versions-no-permission {
|
|
81
81
|
margin: 0;
|
|
82
82
|
padding: $adf-info-drawer-icon-size-half;
|
|
83
|
-
color: var(--adf-theme-foreground-text-color-
|
|
83
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
84
84
|
text-align: center;
|
|
85
85
|
display: flex;
|
|
86
86
|
flex-direction: column;
|
|
@@ -83,6 +83,12 @@
|
|
|
83
83
|
height: 32px;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
&:focus-visible {
|
|
87
|
+
outline: 2px solid var(--theme-blue-button-color);
|
|
88
|
+
border-radius: 4px;
|
|
89
|
+
outline-offset: -2px;
|
|
90
|
+
}
|
|
91
|
+
|
|
86
92
|
&--active {
|
|
87
93
|
color: var(--theme-primary-color);
|
|
88
94
|
background-color: var(--adf-theme-background-card-color);
|
|
@@ -15,18 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, QueryList } from '@angular/core';
|
|
18
|
-
import { LanguageService } from './service/language.service';
|
|
19
18
|
import { Observable } from 'rxjs';
|
|
20
19
|
import { LanguageItem } from '../common/services/language-item.interface';
|
|
21
20
|
import { MatMenuItem } from '@angular/material/menu';
|
|
22
21
|
import * as i0 from "@angular/core";
|
|
23
22
|
export declare class LanguageMenuComponent {
|
|
24
|
-
private languageService;
|
|
23
|
+
private readonly languageService;
|
|
25
24
|
/** Emitted when the language change */
|
|
26
25
|
changedLanguage: EventEmitter<LanguageItem>;
|
|
27
26
|
menuItems: QueryList<MatMenuItem>;
|
|
28
27
|
languages$: Observable<LanguageItem[]>;
|
|
29
|
-
constructor(
|
|
28
|
+
constructor();
|
|
30
29
|
changeLanguage(language: LanguageItem): void;
|
|
31
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageMenuComponent, never>;
|
|
32
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<LanguageMenuComponent, "adf-language-menu", never, {}, { "changedLanguage": "changedLanguage"; }, never, never, true, never>;
|
|
@@ -15,15 +15,13 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { LanguageServiceInterface } from './language.service.interface';
|
|
18
|
-
import { AppConfigService } from '../../app-config/app-config.service';
|
|
19
18
|
import { LanguageItem } from '../../common/services/language-item.interface';
|
|
20
|
-
import { UserPreferencesService } from '../../common/services/user-preferences.service';
|
|
21
19
|
import * as i0 from "@angular/core";
|
|
22
20
|
export declare class LanguageService implements LanguageServiceInterface {
|
|
23
21
|
private readonly userPreferencesService;
|
|
24
|
-
private languages;
|
|
22
|
+
private readonly languages;
|
|
25
23
|
languages$: import("rxjs").Observable<LanguageItem[]>;
|
|
26
|
-
constructor(
|
|
24
|
+
constructor();
|
|
27
25
|
changeLanguage(language: LanguageItem): void;
|
|
28
26
|
setLanguages(items: LanguageItem[]): void;
|
|
29
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageService, never>;
|
|
@@ -16,10 +16,9 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
18
18
|
import { ThemePalette } from '@angular/material/core';
|
|
19
|
-
import { AppConfigService } from '../../../app-config/app-config.service';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class HeaderLayoutComponent implements OnInit {
|
|
22
|
-
private appConfigService;
|
|
21
|
+
private readonly appConfigService;
|
|
23
22
|
/** Title of the application. */
|
|
24
23
|
title: string;
|
|
25
24
|
/** Path to an image file for the application logo. */
|
|
@@ -50,7 +49,6 @@ export declare class HeaderLayoutComponent implements OnInit {
|
|
|
50
49
|
expandedSidenav: boolean;
|
|
51
50
|
/** The side of the page that the drawer is attached to (can be 'start' or 'end') */
|
|
52
51
|
position: string;
|
|
53
|
-
constructor(appConfigService: AppConfigService);
|
|
54
52
|
toggleMenu(): void;
|
|
55
53
|
ngOnInit(): void;
|
|
56
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderLayoutComponent, never>;
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
background-color: var(--theme-primary-color);
|
|
12
12
|
color: var(--theme-primary-color-default-contrast);
|
|
13
13
|
border-radius: 4px;
|
|
14
|
-
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
&-text {
|
|
@@ -23,7 +22,7 @@
|
|
|
23
22
|
|
|
24
23
|
&-sidebar-action-menu-icon {
|
|
25
24
|
margin: 18px 0 0 20px;
|
|
26
|
-
color: var(--adf-theme-foreground-text-color-
|
|
25
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
27
26
|
cursor: pointer;
|
|
28
27
|
|
|
29
28
|
&:hover {
|
|
@@ -14,9 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { AfterViewInit,
|
|
18
|
-
import { MediaMatcher } from '@angular/cdk/layout';
|
|
19
|
-
import { UserPreferencesService } from '../../../common/services/user-preferences.service';
|
|
17
|
+
import { AfterViewInit, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
20
18
|
import { SidenavLayoutContentDirective } from '../../directives/sidenav-layout-content.directive';
|
|
21
19
|
import { SidenavLayoutHeaderDirective } from '../../directives/sidenav-layout-header.directive';
|
|
22
20
|
import { SidenavLayoutNavigationDirective } from '../../directives/sidenav-layout-navigation.directive';
|
|
@@ -46,7 +44,7 @@ export declare class SidenavLayoutComponent implements OnInit, AfterViewInit, On
|
|
|
46
44
|
headerDirective: SidenavLayoutHeaderDirective;
|
|
47
45
|
navigationDirective: SidenavLayoutNavigationDirective;
|
|
48
46
|
contentDirective: SidenavLayoutContentDirective;
|
|
49
|
-
private menuOpenStateSubject;
|
|
47
|
+
private readonly menuOpenStateSubject;
|
|
50
48
|
menuOpenState$: import("rxjs").Observable<boolean>;
|
|
51
49
|
container: any;
|
|
52
50
|
emptyTemplate: any;
|
|
@@ -57,7 +55,7 @@ export declare class SidenavLayoutComponent implements OnInit, AfterViewInit, On
|
|
|
57
55
|
isMenuMinimized: () => boolean;
|
|
58
56
|
};
|
|
59
57
|
private readonly destroyRef;
|
|
60
|
-
constructor(
|
|
58
|
+
constructor();
|
|
61
59
|
ngOnInit(): void;
|
|
62
60
|
ngAfterViewInit(): void;
|
|
63
61
|
ngOnDestroy(): void;
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
@use '../../../styles/mat-selectors' as ms;
|
|
4
4
|
|
|
5
5
|
.adf-sidenav-layout {
|
|
6
|
+
@include mixins.flex-column;
|
|
7
|
+
|
|
8
|
+
width: 100%;
|
|
9
|
+
|
|
6
10
|
&-full-space {
|
|
7
11
|
display: flex;
|
|
8
12
|
flex-direction: column;
|
|
@@ -13,10 +17,6 @@
|
|
|
13
17
|
width: 100%;
|
|
14
18
|
}
|
|
15
19
|
|
|
16
|
-
@include mixins.flex-column;
|
|
17
|
-
|
|
18
|
-
width: 100%;
|
|
19
|
-
|
|
20
20
|
.adf-layout__content {
|
|
21
21
|
flex: 1 1 auto;
|
|
22
22
|
}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl,
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { AppConfigService } from '../../../app-config';
|
|
5
|
-
import { AuthenticationService, BasicAlfrescoAuthService } from '../../../auth';
|
|
6
|
-
import { OidcAuthenticationService } from '../../../auth/oidc/oidc-authentication.service';
|
|
7
|
-
import { UserPreferencesService } from '../../../common';
|
|
8
|
-
import { TranslationService } from '../../../translation';
|
|
2
|
+
import { AbstractControl, UntypedFormGroup } from '@angular/forms';
|
|
9
3
|
import { LoginErrorEvent } from '../../models/login-error.event';
|
|
10
4
|
import { LoginSubmitEvent } from '../../models/login-submit.event';
|
|
11
5
|
import { LoginSuccessEvent } from '../../models/login-success.event';
|
|
@@ -20,15 +14,15 @@ interface LoginFormValues {
|
|
|
20
14
|
password: string;
|
|
21
15
|
}
|
|
22
16
|
export declare class LoginComponent implements OnInit {
|
|
23
|
-
private _fb;
|
|
24
|
-
private authService;
|
|
25
|
-
private basicAlfrescoAuthService;
|
|
26
|
-
private oidcAuthenticationService;
|
|
27
|
-
private translateService;
|
|
28
|
-
private router;
|
|
29
|
-
private appConfig;
|
|
30
|
-
private userPreferences;
|
|
31
|
-
private route;
|
|
17
|
+
private readonly _fb;
|
|
18
|
+
private readonly authService;
|
|
19
|
+
private readonly basicAlfrescoAuthService;
|
|
20
|
+
private readonly oidcAuthenticationService;
|
|
21
|
+
private readonly translateService;
|
|
22
|
+
private readonly router;
|
|
23
|
+
private readonly appConfig;
|
|
24
|
+
private readonly userPreferences;
|
|
25
|
+
private readonly route;
|
|
32
26
|
isPasswordShow: boolean;
|
|
33
27
|
/**
|
|
34
28
|
* Should the `Remember me` checkbox be shown? When selected, this
|
|
@@ -74,7 +68,6 @@ export declare class LoginComponent implements OnInit {
|
|
|
74
68
|
data: any;
|
|
75
69
|
private _message;
|
|
76
70
|
private readonly destroyRef;
|
|
77
|
-
constructor(_fb: UntypedFormBuilder, authService: AuthenticationService, basicAlfrescoAuthService: BasicAlfrescoAuthService, oidcAuthenticationService: OidcAuthenticationService, translateService: TranslationService, router: Router, appConfig: AppConfigService, userPreferences: UserPreferencesService, route: ActivatedRoute);
|
|
78
71
|
ngOnInit(): void;
|
|
79
72
|
submit(): void;
|
|
80
73
|
redirectToSSOLogin(): void;
|
|
@@ -57,7 +57,9 @@
|
|
|
57
57
|
.adf-login-card-wide {
|
|
58
58
|
border-radius: 8px;
|
|
59
59
|
background-color: var(--adf-theme-background-dialog-color);
|
|
60
|
-
box-shadow:
|
|
60
|
+
box-shadow:
|
|
61
|
+
0 2px 2px 0 rgba(0, 0, 0, 0.24),
|
|
62
|
+
0 0 2px 0 rgba(0, 0, 0, 0.12);
|
|
61
63
|
width: 450px;
|
|
62
64
|
min-width: 320px;
|
|
63
65
|
padding: 21px 64px 34px;
|
|
@@ -182,11 +184,11 @@
|
|
|
182
184
|
}
|
|
183
185
|
|
|
184
186
|
.adf-login-form-field .adf-login-password-icon.adf-login-form-password-icon {
|
|
187
|
+
display: flex;
|
|
188
|
+
justify-content: center;
|
|
189
|
+
align-items: center;
|
|
185
190
|
color: var(--adf-theme-foreground-text-color);
|
|
186
191
|
font-size: var(--theme-subheading-2-font-size);
|
|
187
|
-
top: 9px;
|
|
188
|
-
position: relative;
|
|
189
|
-
left: 7px;
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
.adf-login-controls:has(div) {
|
|
@@ -205,10 +207,6 @@
|
|
|
205
207
|
font-size: var(--theme-subheading-2-font-size);
|
|
206
208
|
|
|
207
209
|
#{ms.$mat-form-field-infix} {
|
|
208
|
-
min-height: 0;
|
|
209
|
-
padding-bottom: 3px;
|
|
210
|
-
padding-top: 20px;
|
|
211
|
-
|
|
212
210
|
.adf-login-form-input-label {
|
|
213
211
|
font-size: var(--theme-subheading-2-font-size);
|
|
214
212
|
}
|
|
@@ -15,12 +15,10 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { AfterContentInit } from '@angular/core';
|
|
18
|
-
import { LoginComponent } from '../components/login/login.component';
|
|
19
18
|
import * as i0 from "@angular/core";
|
|
20
19
|
export declare class LoginFooterDirective implements AfterContentInit {
|
|
21
|
-
private alfrescoLoginComponent;
|
|
20
|
+
private readonly alfrescoLoginComponent;
|
|
22
21
|
template: any;
|
|
23
|
-
constructor(alfrescoLoginComponent: LoginComponent);
|
|
24
22
|
ngAfterContentInit(): void;
|
|
25
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginFooterDirective, never>;
|
|
26
24
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LoginFooterDirective, "adf-login-footer", never, {}, {}, ["template"], never, true, never>;
|
|
@@ -15,12 +15,10 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { AfterContentInit } from '@angular/core';
|
|
18
|
-
import { LoginComponent } from '../components/login/login.component';
|
|
19
18
|
import * as i0 from "@angular/core";
|
|
20
19
|
export declare class LoginHeaderDirective implements AfterContentInit {
|
|
21
|
-
private alfrescoLoginComponent;
|
|
20
|
+
private readonly alfrescoLoginComponent;
|
|
22
21
|
template: any;
|
|
23
|
-
constructor(alfrescoLoginComponent: LoginComponent);
|
|
24
22
|
ngAfterContentInit(): void;
|
|
25
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginHeaderDirective, never>;
|
|
26
24
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LoginHeaderDirective, "adf-login-header", never, {}, {}, ["template"], never, true, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LoginDialogPanelComponent } from './components/login-dialog-panel/login-dialog-panel.component';
|
|
2
|
-
import { LoginDialogComponent } from './components/login-dialog/login-dialog.component';
|
|
3
2
|
import { LoginComponent } from './components/login/login.component';
|
|
4
3
|
import { LoginFooterDirective } from './directives/login-footer.directive';
|
|
5
4
|
import { LoginHeaderDirective } from './directives/login-header.directive';
|
|
@@ -7,12 +6,11 @@ import * as i0 from "@angular/core";
|
|
|
7
6
|
import * as i1 from "./components/login/login.component";
|
|
8
7
|
import * as i2 from "./directives/login-footer.directive";
|
|
9
8
|
import * as i3 from "./directives/login-header.directive";
|
|
10
|
-
import * as i4 from "./components/login-dialog/login-dialog.component";
|
|
11
|
-
|
|
12
|
-
export declare const LOGIN_DIRECTIVES: readonly [typeof LoginComponent, typeof LoginFooterDirective, typeof LoginHeaderDirective, typeof LoginDialogComponent, typeof LoginDialogPanelComponent];
|
|
9
|
+
import * as i4 from "./components/login-dialog-panel/login-dialog-panel.component";
|
|
10
|
+
export declare const LOGIN_DIRECTIVES: readonly [typeof LoginComponent, typeof LoginFooterDirective, typeof LoginHeaderDirective, typeof LoginDialogPanelComponent];
|
|
13
11
|
/** @deprecated use `...LOGIN_DIRECTIVES` or import the standalone directives directly */
|
|
14
12
|
export declare class LoginModule {
|
|
15
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LoginModule, never, [typeof i1.LoginComponent, typeof i2.LoginFooterDirective, typeof i3.LoginHeaderDirective, typeof i4.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LoginModule, never, [typeof i1.LoginComponent, typeof i2.LoginFooterDirective, typeof i3.LoginHeaderDirective, typeof i4.LoginDialogPanelComponent], [typeof i1.LoginComponent, typeof i2.LoginFooterDirective, typeof i3.LoginHeaderDirective, typeof i4.LoginDialogPanelComponent]>;
|
|
17
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<LoginModule>;
|
|
18
16
|
}
|
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
export * from './directives/login-header.directive';
|
|
18
18
|
export * from './directives/login-footer.directive';
|
|
19
19
|
export * from './components/login/login.component';
|
|
20
|
-
export * from './components/login-dialog/login-dialog.component';
|
|
21
|
-
export * from './components/login-dialog/login-dialog-component-data.interface';
|
|
22
20
|
export * from './components/login-dialog-panel/login-dialog-panel.component';
|
|
23
21
|
export * from './models/login-error.event';
|
|
24
22
|
export * from './models/login-submit.event';
|
|
@@ -24,3 +24,4 @@ export declare const complexVisibilityJsonVisible: any;
|
|
|
24
24
|
export declare const complexVisibilityJsonNotVisible: any;
|
|
25
25
|
export declare const tabVisibilityJsonMock: any;
|
|
26
26
|
export declare const tabInvalidFormVisibility: any;
|
|
27
|
+
export declare const repeatableSectionFormVisibility: any;
|
package/lib/mock/public-api.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { TranslationService } from '../translation/translation.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export interface LangChangeEvent {
|
|
5
4
|
lang: string;
|
|
6
5
|
translations: any;
|
|
7
6
|
}
|
|
8
7
|
/** @deprecated use `NoopTranslateModule` instead */
|
|
9
|
-
export declare class TranslationMock
|
|
8
|
+
export declare class TranslationMock {
|
|
10
9
|
defaultLang: string;
|
|
11
10
|
userLang: string;
|
|
12
11
|
customLoader: any;
|
|
@@ -16,6 +15,7 @@ export declare class TranslationMock implements TranslationService {
|
|
|
16
15
|
use(): any;
|
|
17
16
|
loadTranslation(): void;
|
|
18
17
|
get(key: string | Array<string>): Observable<string | any>;
|
|
18
|
+
getLocale(): any;
|
|
19
19
|
instant(key: string | Array<string>): string | any;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationMock, never>;
|
|
21
21
|
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationMock>;
|
|
@@ -14,10 +14,8 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export * from './product-version.model';
|
|
18
17
|
export * from './comment.model';
|
|
19
18
|
export * from './pagination.model';
|
|
20
19
|
export * from './request-pagination.model';
|
|
21
|
-
export * from './decimal-number.model';
|
|
22
20
|
export * from './general-user.model';
|
|
23
21
|
export * from './path.model';
|
|
@@ -14,17 +14,15 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { AfterViewInit,
|
|
18
|
-
import { NotificationService } from '../services/notification.service';
|
|
17
|
+
import { AfterViewInit, OnInit } from '@angular/core';
|
|
19
18
|
import { NotificationModel } from '../models/notification.model';
|
|
20
19
|
import { MatMenuTrigger, MenuPositionX, MenuPositionY } from '@angular/material/menu';
|
|
21
|
-
import { StorageService } from '../../common/services/storage.service';
|
|
22
20
|
import { PaginationModel } from '../../models/pagination.model';
|
|
23
21
|
import * as i0 from "@angular/core";
|
|
24
22
|
export declare class NotificationHistoryComponent implements OnInit, AfterViewInit {
|
|
25
|
-
private notificationService;
|
|
26
|
-
storageService
|
|
27
|
-
cd
|
|
23
|
+
private readonly notificationService;
|
|
24
|
+
private readonly storageService;
|
|
25
|
+
private readonly cd;
|
|
28
26
|
static MAX_NOTIFICATION_STACK_LENGTH: number;
|
|
29
27
|
static NOTIFICATION_STORAGE: string;
|
|
30
28
|
trigger: MatMenuTrigger;
|
|
@@ -37,8 +35,11 @@ export declare class NotificationHistoryComponent implements OnInit, AfterViewIn
|
|
|
37
35
|
notifications: NotificationModel[];
|
|
38
36
|
paginatedNotifications: NotificationModel[];
|
|
39
37
|
pagination: PaginationModel;
|
|
38
|
+
private readonly markAsReadButton;
|
|
39
|
+
private readonly loadMoreButton;
|
|
40
|
+
private readonly menuItems;
|
|
40
41
|
private readonly destroyRef;
|
|
41
|
-
|
|
42
|
+
private focusKeyManager;
|
|
42
43
|
ngOnInit(): void;
|
|
43
44
|
ngAfterViewInit(): void;
|
|
44
45
|
addNewNotification(notification: NotificationModel): void;
|
|
@@ -49,6 +50,8 @@ export declare class NotificationHistoryComponent implements OnInit, AfterViewIn
|
|
|
49
50
|
loadMore($event: MouseEvent): void;
|
|
50
51
|
hasMoreNotifications(): boolean;
|
|
51
52
|
onNotificationClick(notification: NotificationModel, $event: MouseEvent): void;
|
|
53
|
+
manageFocus(event: KeyboardEvent): void;
|
|
54
|
+
private initializeFocusManager;
|
|
52
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationHistoryComponent, never>;
|
|
53
56
|
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationHistoryComponent, "adf-notification-history", never, { "menuPositionX": { "alias": "menuPositionX"; "required": false; }; "menuPositionY": { "alias": "menuPositionY"; "required": false; }; "maxNotifications": { "alias": "maxNotifications"; "required": false; }; }, {}, never, never, true, never>;
|
|
54
57
|
}
|
|
@@ -14,12 +14,13 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
INFO
|
|
19
|
-
WARN
|
|
20
|
-
ERROR
|
|
21
|
-
RECURSIVE
|
|
22
|
-
}
|
|
17
|
+
export declare const NOTIFICATION_TYPE: {
|
|
18
|
+
readonly INFO: "info";
|
|
19
|
+
readonly WARN: "warning";
|
|
20
|
+
readonly ERROR: "error";
|
|
21
|
+
readonly RECURSIVE: "recursive";
|
|
22
|
+
};
|
|
23
|
+
export type NOTIFICATION_TYPE = (typeof NOTIFICATION_TYPE)[keyof typeof NOTIFICATION_TYPE];
|
|
23
24
|
export interface NotificationInitiator {
|
|
24
25
|
key: string | symbol;
|
|
25
26
|
displayName: string;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { NotificationHistoryComponent } from './components/notification-history.component';
|
|
2
|
-
import { AddNotificationStorybookComponent } from './components/add-notification.stories.component';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import * as i1 from "./components/notification-history.component";
|
|
5
|
-
|
|
6
|
-
export declare const NOTIFICATION_HISTORY_DIRECTIVES: readonly [typeof NotificationHistoryComponent, typeof AddNotificationStorybookComponent];
|
|
4
|
+
export declare const NOTIFICATION_HISTORY_DIRECTIVES: readonly [typeof NotificationHistoryComponent];
|
|
7
5
|
/** @deprecated use `...NOTIFICATION_HISTORY_DIRECTIVES` or import the individual directives */
|
|
8
6
|
export declare class NotificationHistoryModule {
|
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationHistoryModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationHistoryModule, never, [typeof i1.NotificationHistoryComponent
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationHistoryModule, never, [typeof i1.NotificationHistoryComponent], [typeof i1.NotificationHistoryComponent]>;
|
|
11
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<NotificationHistoryModule>;
|
|
12
10
|
}
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
export * from './components/notification-history.component';
|
|
18
|
-
export * from './components/add-notification.stories.component';
|
|
19
18
|
export * from './helpers/notification.factory';
|
|
20
19
|
export * from './models/notification.model';
|
|
21
20
|
export * from './services/notification.service';
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TranslationService } from '../../translation/translation.service';
|
|
1
|
+
import { MatSnackBarRef, MatSnackBarConfig } from '@angular/material/snack-bar';
|
|
3
2
|
import { Subject } from 'rxjs';
|
|
4
3
|
import { NotificationModel } from '../models/notification.model';
|
|
5
4
|
import type { SnackBarData } from '../../snackbar-content/snack-bar-data';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class NotificationService {
|
|
8
|
-
private snackBar;
|
|
9
|
-
private translationService;
|
|
7
|
+
private readonly snackBar;
|
|
8
|
+
private readonly translationService;
|
|
10
9
|
notifications$: Subject<NotificationModel>;
|
|
11
|
-
constructor(snackBar: MatSnackBar, translationService: TranslationService);
|
|
12
10
|
/**
|
|
13
11
|
* Opens a SnackBar notification to show a message.
|
|
14
12
|
*
|