@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,17 +1,13 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { AppConfigService } from '../../app-config/app-config.service';
|
|
3
2
|
import { IdentityGroupModel } from '../models/identity-group.model';
|
|
4
3
|
import { IdentityRoleModel } from '../models/identity-role.model';
|
|
5
4
|
import { IdentityUserModel } from '../models/identity-user.model';
|
|
6
5
|
import { IdentityJoinGroupRequestModel, IdentityUserServiceInterface, IdentityUserPasswordModel, IdentityUserQueryCloudRequestModel, IdentityUserQueryResponse } from '../interfaces/identity-user.service.interface';
|
|
7
|
-
import { JwtHelperService } from './jwt-helper.service';
|
|
8
|
-
import { OAuth2Service } from './oauth2.service';
|
|
9
6
|
import * as i0 from "@angular/core";
|
|
10
7
|
export declare class IdentityUserService implements IdentityUserServiceInterface {
|
|
11
|
-
private jwtHelperService;
|
|
12
|
-
private oAuth2Service;
|
|
13
|
-
private appConfigService;
|
|
14
|
-
constructor(jwtHelperService: JwtHelperService, oAuth2Service: OAuth2Service, appConfigService: AppConfigService);
|
|
8
|
+
private readonly jwtHelperService;
|
|
9
|
+
private readonly oAuth2Service;
|
|
10
|
+
private readonly appConfigService;
|
|
15
11
|
private get identityHost();
|
|
16
12
|
private buildUserUrl;
|
|
17
13
|
/**
|
|
@@ -10,7 +10,7 @@ export declare class JwtHelperService {
|
|
|
10
10
|
static RESOURCE_ACCESS: string;
|
|
11
11
|
static USER_PREFERRED_USERNAME: string;
|
|
12
12
|
static HXP_AUTHORIZATION: string;
|
|
13
|
-
private storageService;
|
|
13
|
+
private readonly storageService;
|
|
14
14
|
/**
|
|
15
15
|
* Decodes a JSON web token into a JS object.
|
|
16
16
|
*
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { AdfHttpClient } from '@alfresco/adf-core/api';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare const JSON_TYPE: string[];
|
|
5
4
|
export interface OAuth2RequestParams {
|
|
@@ -10,8 +9,7 @@ export interface OAuth2RequestParams {
|
|
|
10
9
|
bodyParam?: any;
|
|
11
10
|
}
|
|
12
11
|
export declare class OAuth2Service {
|
|
13
|
-
private adfHttpClient;
|
|
14
|
-
constructor(adfHttpClient: AdfHttpClient);
|
|
12
|
+
private readonly adfHttpClient;
|
|
15
13
|
request<T>(opts: OAuth2RequestParams): Observable<T>;
|
|
16
14
|
get<T>(opts: OAuth2RequestParams): Observable<T>;
|
|
17
15
|
put<T>(opts: OAuth2RequestParams): Observable<T>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { AppConfigService } from '../../app-config/app-config.service';
|
|
3
1
|
import { Observable } from 'rxjs';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
export interface TimeSync {
|
|
@@ -9,10 +7,10 @@ export interface TimeSync {
|
|
|
9
7
|
serverDateTimeISO: string;
|
|
10
8
|
}
|
|
11
9
|
export declare class TimeSyncService {
|
|
12
|
-
private _injector;
|
|
13
|
-
private _appConfigService;
|
|
10
|
+
private readonly _injector;
|
|
11
|
+
private readonly _appConfigService;
|
|
14
12
|
private readonly _http;
|
|
15
|
-
constructor(
|
|
13
|
+
constructor();
|
|
16
14
|
checkTimeSync(maxAllowedClockSkewInSec: number): Observable<TimeSync>;
|
|
17
15
|
/**
|
|
18
16
|
* Checks if the local time is out of sync with the server time.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { JwtHelperService } from './jwt-helper.service';
|
|
2
|
-
import { AppConfigService } from '../../app-config/app-config.service';
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
2
|
export declare class UserAccessService {
|
|
5
|
-
private jwtHelperService;
|
|
6
|
-
private appConfigService;
|
|
3
|
+
private readonly jwtHelperService;
|
|
4
|
+
private readonly appConfigService;
|
|
7
5
|
private globalAccess;
|
|
8
6
|
private applicationAccess;
|
|
9
|
-
constructor(jwtHelperService: JwtHelperService, appConfigService: AppConfigService);
|
|
10
7
|
fetchUserAccess(): void;
|
|
11
8
|
private fetchAccessFromRealmAccess;
|
|
12
9
|
private fetchAccessFromHxpAuthorization;
|
|
@@ -17,8 +17,6 @@ export declare class CardViewComponent {
|
|
|
17
17
|
useChipsForMultiValueProperty: boolean;
|
|
18
18
|
/** String separator between multi-value property items. */
|
|
19
19
|
multiValueSeparator: string;
|
|
20
|
-
/** Toggles whether or not to show label for multivalued chip property. */
|
|
21
|
-
displayLabelForChips: boolean;
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardViewComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardViewComponent, "adf-card-view", never, { "properties": { "alias": "properties"; "required": true; }; "editable": { "alias": "editable"; "required": false; }; "displayEmpty": { "alias": "displayEmpty"; "required": false; }; "displayNoneOption": { "alias": "displayNoneOption"; "required": false; }; "displayClearAction": { "alias": "displayClearAction"; "required": false; }; "copyToClipboardAction": { "alias": "copyToClipboardAction"; "required": false; }; "useChipsForMultiValueProperty": { "alias": "useChipsForMultiValueProperty"; "required": false; }; "multiValueSeparator": { "alias": "multiValueSeparator"; "required": false; };
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardViewComponent, "adf-card-view", never, { "properties": { "alias": "properties"; "required": true; }; "editable": { "alias": "editable"; "required": false; }; "displayEmpty": { "alias": "displayEmpty"; "required": false; }; "displayNoneOption": { "alias": "displayNoneOption"; "required": false; }; "displayClearAction": { "alias": "displayClearAction"; "required": false; }; "copyToClipboardAction": { "alias": "copyToClipboardAction"; "required": false; }; "useChipsForMultiValueProperty": { "alias": "useChipsForMultiValueProperty"; "required": false; }; "multiValueSeparator": { "alias": "multiValueSeparator"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
22
|
}
|
|
@@ -5,20 +5,6 @@
|
|
|
5
5
|
border-color: var(--adf-theme-foreground-divider-color);
|
|
6
6
|
border-radius: 0;
|
|
7
7
|
|
|
8
|
-
.adf-property-label {
|
|
9
|
-
color: var(--adf-metadata-property-panel-text-color);
|
|
10
|
-
display: flex;
|
|
11
|
-
line-height: 20px;
|
|
12
|
-
|
|
13
|
-
&.adf-property-readonly-value {
|
|
14
|
-
color: var(--adf-metadata-property-panel-label-color);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&.adf-property-value-editable {
|
|
18
|
-
color: var(--adf-metadata-property-panel-title-color);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
8
|
.adf-property-container {
|
|
23
9
|
margin-bottom: 12px;
|
|
24
10
|
}
|
|
@@ -27,21 +13,9 @@
|
|
|
27
13
|
.adf-property-field {
|
|
28
14
|
width: 100%;
|
|
29
15
|
|
|
30
|
-
#{ms.$mat-form-field-underline} {
|
|
31
|
-
display: none;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
16
|
#{ms.$mat-input-element} {
|
|
35
17
|
text-overflow: ellipsis;
|
|
36
18
|
line-height: 20px;
|
|
37
|
-
|
|
38
|
-
&.adf-property-value-editable {
|
|
39
|
-
padding: 6px 0 6px 12px;
|
|
40
|
-
|
|
41
|
-
&:disabled {
|
|
42
|
-
color: var(--adf-metadata-property-panel-label-color);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
19
|
}
|
|
46
20
|
|
|
47
21
|
.adf-card-view__key-value-pairs__row {
|
|
@@ -50,33 +24,6 @@
|
|
|
50
24
|
padding-left: 12px;
|
|
51
25
|
}
|
|
52
26
|
}
|
|
53
|
-
|
|
54
|
-
#{ms.$mat-form-text-field-infix} {
|
|
55
|
-
border-top-width: 0;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
#{ms.$mat-form-field-flex} {
|
|
59
|
-
padding-top: 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
#{ms.$mat-form-field-wrapper} {
|
|
63
|
-
background-color: inherit;
|
|
64
|
-
padding-bottom: 0;
|
|
65
|
-
padding-left: 0;
|
|
66
|
-
padding-right: 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
#{ms.$mat-form-field-label} {
|
|
70
|
-
padding: 0;
|
|
71
|
-
justify-content: center;
|
|
72
|
-
display: flex;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
height: 20px;
|
|
75
|
-
|
|
76
|
-
&.adf-property-field-label--empty {
|
|
77
|
-
transform: translateY(-1.3437em) scale(1);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
27
|
}
|
|
81
28
|
|
|
82
29
|
.adf-card-view-textitem {
|
|
@@ -85,41 +32,4 @@
|
|
|
85
32
|
}
|
|
86
33
|
}
|
|
87
34
|
}
|
|
88
|
-
|
|
89
|
-
.adf-property-value {
|
|
90
|
-
&.adf-property-value-editable {
|
|
91
|
-
background-color: var(--adf-metadata-buttons-background-color);
|
|
92
|
-
box-sizing: border-box;
|
|
93
|
-
border-radius: 6px;
|
|
94
|
-
height: 32px;
|
|
95
|
-
padding-left: 10px;
|
|
96
|
-
|
|
97
|
-
#{ms.$mat-input-element} {
|
|
98
|
-
color: var(--adf-metadata-action-button-clear-color);
|
|
99
|
-
padding: 5px 0 6px 12px;
|
|
100
|
-
margin: 5px 0 0;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&.adf-property-readonly-value {
|
|
105
|
-
color: var(--adf-metadata-property-panel-label-color);
|
|
106
|
-
|
|
107
|
-
#{ms.$mat-input-element} {
|
|
108
|
-
color: var(--adf-metadata-property-panel-label-color);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&-has-error {
|
|
113
|
-
border: 1px solid var(--theme-warn-color);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&-input {
|
|
117
|
-
background-color: var(--adf-metadata-buttons-background-color);
|
|
118
|
-
box-sizing: border-box;
|
|
119
|
-
border-radius: 6px;
|
|
120
|
-
padding: 6px 0;
|
|
121
|
-
margin: 0;
|
|
122
|
-
width: 100%;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
35
|
}
|
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
margin-right: 5px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
&-array-item-action {
|
|
9
|
-
color: var(--adf-theme-foreground-text-color-025);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&-array-item-action:hover,
|
|
13
|
-
&-array-item-action:focus {
|
|
14
|
-
color: var(--adf-theme-foreground-text-color);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
8
|
&-card-array-item-default {
|
|
18
9
|
overflow: hidden;
|
|
19
10
|
text-overflow: ellipsis;
|
|
@@ -52,6 +43,7 @@
|
|
|
52
43
|
|
|
53
44
|
&-card-view-array-chip-content {
|
|
54
45
|
display: flex;
|
|
46
|
+
align-items: center;
|
|
55
47
|
cursor: pointer;
|
|
56
48
|
}
|
|
57
49
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
2
1
|
import { CardViewBoolItemModel } from '../../models/card-view-boolitem.model';
|
|
3
2
|
import { BaseCardView } from '../base-card-view';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class CardViewBoolItemComponent extends BaseCardView<CardViewBoolItemModel> {
|
|
6
5
|
editable: boolean;
|
|
7
|
-
|
|
6
|
+
private _error;
|
|
7
|
+
get error(): string;
|
|
8
|
+
changed(checked: boolean): void;
|
|
9
|
+
onValidation(errors: string[]): void;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardViewBoolItemComponent, never>;
|
|
9
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<CardViewBoolItemComponent, "adf-card-view-boolitem", never, { "editable": { "alias": "editable"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
12
|
}
|
|
@@ -15,27 +15,22 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
|
-
import { DateAdapter } from '@angular/material/core';
|
|
19
18
|
import { MatDatetimepickerComponent, MatDatetimepickerInputEvent } from '@mat-datetimepicker/core';
|
|
20
19
|
import { CardViewDateItemModel } from '../../models/card-view-dateitem.model';
|
|
21
|
-
import { UserPreferencesService } from '../../../common/services/user-preferences.service';
|
|
22
20
|
import { BaseCardView } from '../base-card-view';
|
|
23
|
-
import { ClipboardService } from '../../../clipboard/clipboard.service';
|
|
24
|
-
import { TranslationService } from '../../../translation/translation.service';
|
|
25
21
|
import { FormControl } from '@angular/forms';
|
|
26
22
|
import * as i0 from "@angular/core";
|
|
27
23
|
export declare class CardViewDateItemComponent extends BaseCardView<CardViewDateItemModel> implements OnInit {
|
|
28
|
-
private dateAdapter;
|
|
29
|
-
private userPreferencesService;
|
|
30
|
-
private clipboardService;
|
|
31
|
-
private translateService;
|
|
24
|
+
private readonly dateAdapter;
|
|
25
|
+
private readonly userPreferencesService;
|
|
26
|
+
private readonly clipboardService;
|
|
27
|
+
private readonly translateService;
|
|
32
28
|
displayEmpty: boolean;
|
|
33
29
|
displayClearAction: boolean;
|
|
34
30
|
datepicker: MatDatetimepickerComponent<any>;
|
|
35
31
|
valueDate: Date;
|
|
36
32
|
cardViewDateTimeControl: FormControl<Date>;
|
|
37
|
-
|
|
38
|
-
constructor(dateAdapter: DateAdapter<Date>, userPreferencesService: UserPreferencesService, clipboardService: ClipboardService, translateService: TranslationService);
|
|
33
|
+
constructor();
|
|
39
34
|
ngOnInit(): void;
|
|
40
35
|
get showProperty(): boolean;
|
|
41
36
|
get showClearAction(): boolean;
|
|
@@ -1,52 +1,20 @@
|
|
|
1
1
|
@use '../../../styles/mat-selectors' as ms;
|
|
2
2
|
|
|
3
3
|
.adf-card-view-dateitem {
|
|
4
|
-
|
|
5
|
-
padding-top: 6px;
|
|
6
|
-
padding-bottom: 6px;
|
|
7
|
-
line-height: 20px;
|
|
8
|
-
color: var(--adf-metadata-property-panel-title-color);
|
|
9
|
-
margin-top: 10px;
|
|
10
|
-
|
|
11
|
-
&.adf-property-value-editable {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
border-radius: 6px;
|
|
15
|
-
border-bottom: inherit;
|
|
16
|
-
margin-bottom: 18px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&.adf-property-readonly-value {
|
|
20
|
-
padding: 0 0 0 12px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.adf-invisible-date-input {
|
|
25
|
-
height: 2px;
|
|
26
|
-
width: 0;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
opacity: 0;
|
|
29
|
-
border: none;
|
|
30
|
-
margin: 0;
|
|
31
|
-
padding: 0;
|
|
32
|
-
float: right;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.adf-dateitem-chip-list-container.adf-property-field {
|
|
36
|
-
margin-bottom: -7px;
|
|
37
|
-
border-bottom: 0;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
}
|
|
4
|
+
display: flow-root;
|
|
40
5
|
|
|
41
6
|
.adf-dateitem-editable {
|
|
42
|
-
cursor: pointer;
|
|
43
7
|
width: 100%;
|
|
44
8
|
|
|
45
|
-
|
|
9
|
+
.adf-date-reset-icon {
|
|
10
|
+
padding: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
46
13
|
&-controls {
|
|
47
14
|
display: flex;
|
|
48
15
|
align-items: center;
|
|
49
16
|
justify-content: space-between;
|
|
17
|
+
position: relative;
|
|
50
18
|
|
|
51
19
|
#{ms.$mat-icon} {
|
|
52
20
|
opacity: 0.5;
|
|
@@ -63,11 +31,38 @@
|
|
|
63
31
|
.adf-datepicker-span-button {
|
|
64
32
|
flex: 1 0 auto;
|
|
65
33
|
font-size: 14px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.adf-date-reset-icon {
|
|
69
34
|
position: relative;
|
|
70
35
|
}
|
|
71
36
|
}
|
|
72
37
|
}
|
|
38
|
+
|
|
39
|
+
.adf-property-value {
|
|
40
|
+
line-height: 20px;
|
|
41
|
+
color: var(--adf-metadata-property-panel-title-color);
|
|
42
|
+
|
|
43
|
+
&.adf-property-value-editable {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
border-radius: 6px;
|
|
47
|
+
border-bottom: inherit;
|
|
48
|
+
padding-left: 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.adf-invisible-date-input {
|
|
53
|
+
height: 2px;
|
|
54
|
+
width: 0;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
opacity: 0;
|
|
57
|
+
border: none;
|
|
58
|
+
margin: 0;
|
|
59
|
+
padding: 0;
|
|
60
|
+
float: right;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.adf-dateitem-chip-list-container.adf-property-field {
|
|
64
|
+
margin-bottom: -7px;
|
|
65
|
+
border-bottom: 0;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
73
68
|
}
|
package/lib/card-view/components/card-view-item-dispatcher/card-view-item-dispatcher.component.d.ts
CHANGED
|
@@ -16,10 +16,9 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { OnChanges, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
18
18
|
import { CardViewItem } from '../../interfaces/card-view-item.interface';
|
|
19
|
-
import { CardItemTypeService } from '../../services/card-item-types.service';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class CardViewItemDispatcherComponent implements OnChanges {
|
|
22
|
-
private cardItemTypeService;
|
|
21
|
+
private readonly cardItemTypeService;
|
|
23
22
|
property: CardViewItem;
|
|
24
23
|
editable: boolean;
|
|
25
24
|
displayEmpty: boolean;
|
|
@@ -28,16 +27,15 @@ export declare class CardViewItemDispatcherComponent implements OnChanges {
|
|
|
28
27
|
copyToClipboardAction: boolean;
|
|
29
28
|
useChipsForMultiValueProperty: boolean;
|
|
30
29
|
multiValueSeparator: string;
|
|
31
|
-
displayLabelForChips: boolean;
|
|
32
30
|
private loaded;
|
|
33
31
|
private componentReference;
|
|
34
32
|
ngOnInit: any;
|
|
35
33
|
ngDoCheck: any;
|
|
36
34
|
content: ViewContainerRef;
|
|
37
|
-
constructor(
|
|
35
|
+
constructor();
|
|
38
36
|
ngOnChanges(changes: SimpleChanges): void;
|
|
39
37
|
private loadComponent;
|
|
40
38
|
private proxy;
|
|
41
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardViewItemDispatcherComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardViewItemDispatcherComponent, "adf-card-view-item-dispatcher", never, { "property": { "alias": "property"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "displayEmpty": { "alias": "displayEmpty"; "required": false; }; "displayNoneOption": { "alias": "displayNoneOption"; "required": false; }; "displayClearAction": { "alias": "displayClearAction"; "required": false; }; "copyToClipboardAction": { "alias": "copyToClipboardAction"; "required": false; }; "useChipsForMultiValueProperty": { "alias": "useChipsForMultiValueProperty"; "required": false; }; "multiValueSeparator": { "alias": "multiValueSeparator"; "required": false; };
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardViewItemDispatcherComponent, "adf-card-view-item-dispatcher", never, { "property": { "alias": "property"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "displayEmpty": { "alias": "displayEmpty"; "required": false; }; "displayNoneOption": { "alias": "displayNoneOption"; "required": false; }; "displayClearAction": { "alias": "displayClearAction"; "required": false; }; "copyToClipboardAction": { "alias": "copyToClipboardAction"; "required": false; }; "useChipsForMultiValueProperty": { "alias": "useChipsForMultiValueProperty"; "required": false; }; "multiValueSeparator": { "alias": "multiValueSeparator"; "required": false; }; }, {}, never, never, true, never>;
|
|
43
41
|
}
|
|
@@ -24,7 +24,6 @@ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
|
24
24
|
import { UntypedFormControl } from '@angular/forms';
|
|
25
25
|
import * as i0 from "@angular/core";
|
|
26
26
|
export declare class CardViewSelectItemComponent extends BaseCardView<CardViewSelectItemModel<string | number>> implements OnInit, OnChanges {
|
|
27
|
-
private appConfig;
|
|
28
27
|
static HIDE_FILTER_LIMIT: number;
|
|
29
28
|
options$: Observable<CardViewSelectItemOption<string | number>[]>;
|
|
30
29
|
displayNoneOption: boolean;
|
|
@@ -37,6 +36,9 @@ export declare class CardViewSelectItemComponent extends BaseCardView<CardViewSe
|
|
|
37
36
|
autocompleteControl: UntypedFormControl;
|
|
38
37
|
editedValue: string | number;
|
|
39
38
|
private readonly destroyRef;
|
|
39
|
+
private readonly appConfig;
|
|
40
|
+
private _error;
|
|
41
|
+
get error(): string;
|
|
40
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
41
43
|
ngOnInit(): void;
|
|
42
44
|
onFilterInputChange(value: string): void;
|
|
@@ -44,6 +46,7 @@ export declare class CardViewSelectItemComponent extends BaseCardView<CardViewSe
|
|
|
44
46
|
getList(): Observable<CardViewSelectItemOption<string | number>[]>;
|
|
45
47
|
onOptionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
46
48
|
onChange(event: MatSelectChange): void;
|
|
49
|
+
onValidation(errors: string[]): void;
|
|
47
50
|
get showProperty(): boolean;
|
|
48
51
|
private get optionsLimit();
|
|
49
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardViewSelectItemComponent, never>;
|
|
@@ -44,17 +44,12 @@
|
|
|
44
44
|
padding-left: 10px;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
#{ms.$mat-form-field-subscript-wrapper} {
|
|
48
|
-
display: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
47
|
.adf-property-read-only {
|
|
52
48
|
text-overflow: ellipsis;
|
|
53
49
|
overflow: hidden;
|
|
54
50
|
white-space: nowrap;
|
|
55
51
|
cursor: default;
|
|
56
52
|
padding: 6px 0;
|
|
57
|
-
border-bottom: 1px solid var(--adf-metadata-property-panel-border-color);
|
|
58
53
|
}
|
|
59
54
|
|
|
60
55
|
#{ms.$mat-line-ripple} {
|
|
@@ -64,11 +59,4 @@
|
|
|
64
59
|
.adf-property-readonly-value {
|
|
65
60
|
color: var(--adf-metadata-property-panel-label-color);
|
|
66
61
|
}
|
|
67
|
-
|
|
68
|
-
.adf-property-label {
|
|
69
|
-
&-non-editable {
|
|
70
|
-
cursor: default;
|
|
71
|
-
font-size: 10px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
62
|
}
|
|
@@ -15,16 +15,14 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
18
|
-
import { MatSelect } from '@angular/material/select';
|
|
19
18
|
import * as i0 from "@angular/core";
|
|
20
19
|
export declare class SelectFilterInputComponent implements OnInit {
|
|
21
|
-
private matSelect;
|
|
20
|
+
private readonly matSelect;
|
|
22
21
|
selectFilterInput: ElementRef;
|
|
23
22
|
change: EventEmitter<string>;
|
|
24
23
|
term: string;
|
|
25
24
|
previousSelected: any[];
|
|
26
25
|
private readonly destroyRef;
|
|
27
|
-
constructor(matSelect: MatSelect);
|
|
28
26
|
onModelChange(value: string): void;
|
|
29
27
|
ngOnInit(): void;
|
|
30
28
|
reset(event?: Event): void;
|
|
@@ -14,31 +14,27 @@
|
|
|
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, SimpleChanges } from '@angular/core';
|
|
18
18
|
import { CardViewTextItemModel } from '../../models/card-view-textitem.model';
|
|
19
19
|
import { BaseCardView } from '../base-card-view';
|
|
20
20
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
21
|
-
import { ClipboardService } from '../../../clipboard/clipboard.service';
|
|
22
|
-
import { TranslationService } from '../../../translation/translation.service';
|
|
23
21
|
import { CardViewItemValidator } from '../../interfaces/card-view-item-validator.interface';
|
|
24
22
|
import { UntypedFormControl } from '@angular/forms';
|
|
25
23
|
import * as i0 from "@angular/core";
|
|
26
24
|
export declare const DEFAULT_SEPARATOR = ", ";
|
|
27
25
|
export declare class CardViewTextItemComponent extends BaseCardView<CardViewTextItemModel> implements OnChanges {
|
|
28
|
-
private clipboardService;
|
|
29
|
-
private translateService;
|
|
30
|
-
private cd;
|
|
26
|
+
private readonly clipboardService;
|
|
27
|
+
private readonly translateService;
|
|
28
|
+
private readonly cd;
|
|
31
29
|
displayEmpty: boolean;
|
|
32
30
|
copyToClipboardAction: boolean;
|
|
33
31
|
useChipsForMultiValueProperty: boolean;
|
|
34
32
|
multiValueSeparator: string;
|
|
35
|
-
displayLabelForChips: boolean;
|
|
36
33
|
editedValue: string | string[];
|
|
37
34
|
errors: CardViewItemValidator[];
|
|
38
35
|
templateType: string;
|
|
39
36
|
textInput: UntypedFormControl;
|
|
40
37
|
private readonly destroyRef;
|
|
41
|
-
constructor(clipboardService: ClipboardService, translateService: TranslationService, cd: ChangeDetectorRef);
|
|
42
38
|
ngOnChanges(changes: SimpleChanges): void;
|
|
43
39
|
private setTemplateType;
|
|
44
40
|
resetValue(): void;
|
|
@@ -56,8 +52,7 @@ export declare class CardViewTextItemComponent extends BaseCardView<CardViewText
|
|
|
56
52
|
get isClickable(): boolean;
|
|
57
53
|
get hasErrors(): boolean;
|
|
58
54
|
get isChipViewEnabled(): boolean;
|
|
59
|
-
get showLabelForChips(): boolean;
|
|
60
55
|
private prepareIntLongValue;
|
|
61
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardViewTextItemComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardViewTextItemComponent, "adf-card-view-textitem", never, { "displayEmpty": { "alias": "displayEmpty"; "required": false; }; "copyToClipboardAction": { "alias": "copyToClipboardAction"; "required": false; }; "useChipsForMultiValueProperty": { "alias": "useChipsForMultiValueProperty"; "required": false; }; "multiValueSeparator": { "alias": "multiValueSeparator"; "required": false; };
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardViewTextItemComponent, "adf-card-view-textitem", never, { "displayEmpty": { "alias": "displayEmpty"; "required": false; }; "copyToClipboardAction": { "alias": "copyToClipboardAction"; "required": false; }; "useChipsForMultiValueProperty": { "alias": "useChipsForMultiValueProperty"; "required": false; }; "multiValueSeparator": { "alias": "multiValueSeparator"; "required": false; }; }, {}, never, never, true, never>;
|
|
63
58
|
}
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
.adf-card-view-textitem {
|
|
4
4
|
.adf-textitem-error {
|
|
5
|
-
font-size: var(--theme-caption-font-size);
|
|
6
|
-
padding-top: 6px;
|
|
7
|
-
|
|
8
5
|
&::before {
|
|
9
6
|
display: none;
|
|
10
7
|
}
|
|
@@ -49,11 +46,19 @@
|
|
|
49
46
|
#{ms.$mat-form-field-label} {
|
|
50
47
|
margin-top: 6px;
|
|
51
48
|
}
|
|
49
|
+
|
|
50
|
+
.adf-property-value {
|
|
51
|
+
margin-left: 0;
|
|
52
|
+
}
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
.adf-textitem-clickable {
|
|
56
|
+
background: none;
|
|
57
|
+
border: none;
|
|
58
|
+
margin: 0;
|
|
55
59
|
cursor: pointer;
|
|
56
|
-
|
|
60
|
+
width: 100%;
|
|
61
|
+
padding: 3px 0 0;
|
|
57
62
|
|
|
58
63
|
.adf-textitem-action:hover {
|
|
59
64
|
color: var(--adf-theme-foreground-text-color);
|
|
@@ -67,30 +72,24 @@
|
|
|
67
72
|
}
|
|
68
73
|
}
|
|
69
74
|
|
|
70
|
-
.adf-textitem-default-value {
|
|
71
|
-
color: var(--adf-theme-foreground-text-color-054);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.adf-property-read-only:not(:has(.adf-property-readonly-value)) {
|
|
75
|
-
border-bottom: 1px solid var(--adf-metadata-property-panel-border-color);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
75
|
.adf-property-value-not-editable {
|
|
79
|
-
/* stylelint-disable-next-line declaration-no-important */
|
|
80
76
|
color: var(--adf-metadata-property-panel-title-color);
|
|
81
77
|
}
|
|
82
78
|
|
|
79
|
+
input.adf-property-value:disabled,
|
|
80
|
+
textarea.adf-property-value:disabled {
|
|
81
|
+
user-select: none;
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
83
85
|
.adf-property-value-has-icon-suffix {
|
|
84
86
|
padding-right: 34px;
|
|
85
87
|
overflow: hidden;
|
|
86
88
|
text-overflow: ellipsis;
|
|
87
89
|
white-space: nowrap;
|
|
88
90
|
}
|
|
91
|
+
}
|
|
89
92
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
&::after {
|
|
93
|
-
display: none;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
93
|
+
.adf-card-textitem-field-container {
|
|
94
|
+
padding-top: 5px;
|
|
96
95
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { EventEmitter } from '@angular/core';
|
|
18
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
19
|
+
import { CardViewBaseItemModel } from '../models/card-view-baseitem.model';
|
|
20
|
+
import * as i0 from "@angular/core";
|
|
21
|
+
export declare class CardViewPropertyValidatorDirective {
|
|
22
|
+
private readonly translateService;
|
|
23
|
+
property: CardViewBaseItemModel;
|
|
24
|
+
validated: EventEmitter<string[]>;
|
|
25
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardViewPropertyValidatorDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CardViewPropertyValidatorDirective, "[adf-card-view-property-validator]", never, { "property": { "alias": "property"; "required": false; }; }, { "validated": "validated"; }, never, never, true, never>;
|
|
28
|
+
}
|
|
@@ -18,13 +18,11 @@ import { CardViewItem } from '../interfaces/card-view-item.interface';
|
|
|
18
18
|
import { DynamicComponentModel } from '../../common/services/dynamic-component-mapper.service';
|
|
19
19
|
import { CardViewBaseItemModel } from './card-view-baseitem.model';
|
|
20
20
|
import { CardViewDateItemProperties } from '../interfaces/card-view.interfaces';
|
|
21
|
-
import { LocalizedDatePipe } from '../../pipes/localized-date.pipe';
|
|
22
21
|
type DateItemType = Date | Date[] | null;
|
|
23
22
|
export declare class CardViewDateItemModel extends CardViewBaseItemModel<DateItemType> implements CardViewItem, DynamicComponentModel {
|
|
24
23
|
type: string;
|
|
25
24
|
format: string;
|
|
26
25
|
locale: string;
|
|
27
|
-
localizedDatePipe: LocalizedDatePipe;
|
|
28
26
|
constructor(cardViewDateItemProperties: CardViewDateItemProperties);
|
|
29
27
|
get displayValue(): string | string[];
|
|
30
28
|
transformDate(value: Date | string | number): string;
|