@alfresco/adf-content-services 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/README.md +0 -16
- package/bundles/assets/adf-content-services/i18n/de.json +26 -8
- package/bundles/assets/adf-content-services/i18n/en.json +30 -12
- package/bundles/assets/adf-content-services/i18n/es.json +25 -7
- package/bundles/assets/adf-content-services/i18n/fr.json +25 -7
- package/bundles/assets/adf-content-services/i18n/it.json +25 -7
- package/bundles/assets/adf-content-services/i18n/pl.json +25 -7
- package/bundles/assets/adf-content-services/i18n/pt.json +25 -7
- package/bundles/assets/images/custom_filter.svg +3 -0
- package/bundles/assets/images/custom_filter_filled.svg +4 -0
- package/fesm2022/adf-content-services.mjs +2685 -4775
- package/fesm2022/adf-content-services.mjs.map +1 -1
- package/lib/agent/services/agent.service.d.ts +2 -4
- package/lib/api-factories/alfresco-api-no-auth.service.d.ts +0 -19
- package/lib/api-factories/alfresco-api-v2-loader.service.d.ts +1 -5
- package/lib/aspect-list/aspect-list-dialog.component.d.ts +2 -3
- package/lib/aspect-list/aspect-list.component.d.ts +2 -5
- package/lib/aspect-list/aspect-list.component.scss +1 -1
- package/lib/aspect-list/services/aspect-list.service.d.ts +2 -5
- package/lib/aspect-list/services/dialog-aspect-list.service.d.ts +4 -9
- package/lib/aspect-list/services/node-aspect.service.d.ts +4 -9
- package/lib/auth-loader/content-auth-loader.service.d.ts +0 -2
- package/lib/breadcrumb/breadcrumb.component.d.ts +4 -2
- package/lib/breadcrumb/breadcrumb.component.scss +2 -2
- package/lib/breadcrumb/dropdown-breadcrumb.component.scss +1 -1
- package/lib/breadcrumb/public-api.d.ts +0 -1
- package/lib/category/categories-management/categories-management-mode.d.ts +5 -4
- package/lib/category/categories-management/categories-management.component.d.ts +5 -7
- package/lib/category/categories-management/categories-management.component.scss +2 -19
- package/lib/category/services/category-tree-datasource.service.d.ts +1 -3
- package/lib/category/services/category.service.d.ts +3 -6
- package/lib/common/interfaces/saved-searches-strategy.interface.d.ts +63 -0
- package/lib/common/models/file.model.d.ts +11 -10
- package/lib/common/public-api.d.ts +3 -1
- package/lib/common/services/card-view-content-update.service.d.ts +4 -5
- package/lib/common/services/content.service.d.ts +2 -3
- package/lib/common/services/discovery-api.service.d.ts +3 -4
- package/lib/common/services/favorites-api.service.d.ts +2 -5
- package/lib/common/services/nodes-api.service.d.ts +14 -22
- package/lib/common/services/people-content.service.d.ts +3 -6
- package/lib/common/services/rendition.service.d.ts +3 -5
- package/lib/common/services/saved-searches-base.service.d.ts +28 -0
- package/lib/common/services/saved-searches-legacy.service.d.ts +34 -0
- package/lib/common/services/saved-searches.service.d.ts +8 -49
- package/lib/common/services/sites.service.d.ts +1 -3
- package/lib/content-metadata/components/content-metadata/content-metadata.component.d.ts +25 -27
- package/lib/content-metadata/components/content-metadata/content-metadata.component.scss +10 -25
- package/lib/content-metadata/components/content-metadata-card/content-metadata-card.component.d.ts +4 -7
- package/lib/content-metadata/components/content-metadata-card/content-metadata-card.component.scss +1 -1
- package/lib/content-metadata/services/basic-properties.service.d.ts +1 -1
- package/lib/content-metadata/services/config/aspect-oriented-config.service.d.ts +1 -1
- package/lib/content-metadata/services/config/content-metadata-config.factory.d.ts +2 -4
- package/lib/content-metadata/services/config/layout-oriented-config.service.d.ts +1 -1
- package/lib/content-metadata/services/content-metadata.service.d.ts +5 -11
- package/lib/content-metadata/services/content-type-property.service.d.ts +4 -9
- package/lib/{pipes/node-name-tooltip.pipe.d.ts → content-metadata/services/pipes/multi-value.pipe.d.ts} +5 -8
- package/lib/content-metadata/services/property-descriptors.service.d.ts +1 -3
- package/lib/content-metadata/services/property-groups-translator.service.d.ts +2 -3
- package/lib/content-node-selector/content-node-dialog.service.d.ts +6 -28
- package/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.d.ts +9 -14
- package/lib/content-node-selector/content-node-selector-panel/content-node-selector-panel.component.scss +9 -42
- package/lib/content-node-selector/content-node-selector.component.d.ts +7 -12
- package/lib/content-node-selector/content-node-selector.component.scss +4 -5
- package/lib/content-node-selector/name-location-cell/name-location-cell.component.scss +1 -1
- package/lib/content-node-selector/site-dropdown/sites-dropdown.component.d.ts +9 -13
- package/lib/content-node-share/content-node-share.dialog.d.ts +6 -11
- package/lib/content-node-share/content-node-share.dialog.scss +11 -53
- package/lib/content-node-share/content-node-share.directive.d.ts +4 -7
- package/lib/content-node-share/services/shared-links-api.service.d.ts +2 -5
- package/lib/content-type/content-type-dialog.component.d.ts +3 -5
- package/lib/content-type/content-type.service.d.ts +1 -3
- package/lib/content.module.d.ts +94 -110
- package/lib/dialogs/category-selector/category-selector.dialog.d.ts +3 -6
- package/lib/dialogs/download-zip/download-zip.dialog.d.ts +4 -9
- package/lib/dialogs/download-zip/services/download-zip.service.d.ts +1 -3
- package/lib/dialogs/folder/folder.dialog.d.ts +8 -10
- package/lib/dialogs/folder/folder.dialog.scss +3 -16
- package/lib/dialogs/library/library.dialog.d.ts +20 -20
- package/lib/dialogs/library/library.dialog.scss +1 -44
- package/lib/dialogs/node-lock/node-lock.dialog.d.ts +5 -7
- package/lib/directives/auto-focus.directive.d.ts +2 -3
- package/lib/directives/content-directive.module.d.ts +10 -12
- package/lib/directives/library-favorite.directive.d.ts +0 -3
- package/lib/directives/library-membership.directive.d.ts +3 -7
- package/lib/directives/node-counter.directive.d.ts +2 -3
- package/lib/directives/node-delete.directive.d.ts +4 -7
- package/lib/directives/node-download.directive.d.ts +3 -7
- package/lib/directives/node-favorite.directive.d.ts +0 -3
- package/lib/directives/node-lock.directive.d.ts +5 -8
- package/lib/directives/node-restore.directive.d.ts +3 -5
- package/lib/directives/public-api.d.ts +0 -1
- package/lib/document-list/components/content-action/content-action-list.component.d.ts +1 -3
- package/lib/document-list/components/content-action/content-action.component.d.ts +3 -7
- package/lib/document-list/components/document-list.component.d.ts +27 -21
- package/lib/document-list/components/document-list.component.scss +1 -1
- package/lib/document-list/components/file-auto-download/file-auto-download.component.d.ts +0 -1
- package/lib/document-list/components/filter-header/filter-header.component.d.ts +13 -8
- package/lib/document-list/components/library-name-column/library-name-column.component.d.ts +4 -9
- package/lib/document-list/components/library-name-column/library-name-column.component.scss +5 -0
- package/lib/document-list/components/library-role-column/library-role-column.component.d.ts +3 -5
- package/lib/document-list/components/library-status-column/library-status-column.component.d.ts +1 -3
- package/lib/document-list/components/name-column/name-column.component.d.ts +4 -5
- package/lib/document-list/components/trashcan-name-column/trashcan-name-column.component.d.ts +1 -3
- package/lib/document-list/data/share-data-row.model.d.ts +4 -4
- package/lib/document-list/data/share-datatable-adapter.d.ts +4 -2
- package/lib/document-list/interfaces/document-list-loader.interface.d.ts +1 -1
- package/lib/document-list/models/content-action.model.d.ts +6 -5
- package/lib/document-list/models/node-action.enum.d.ts +8 -7
- package/lib/document-list/public-api.d.ts +1 -0
- package/lib/document-list/services/custom-resources.service.d.ts +3 -4
- package/lib/document-list/services/document-actions.service.d.ts +6 -27
- package/lib/document-list/services/document-list.service.d.ts +7 -6
- package/lib/document-list/services/folder-actions.service.d.ts +5 -25
- package/lib/document-list/services/lock.service.d.ts +1 -3
- package/lib/document-list/services/node-actions.service.d.ts +8 -15
- package/lib/document-list/utils/node-tooltip.utils.d.ts +59 -0
- package/lib/flex.scss +12 -7
- package/lib/group/services/group.service.d.ts +1 -3
- package/lib/infinite-scroll-datasource/infinite-scroll-datasource.d.ts +2 -2
- package/lib/interfaces/public-api.d.ts +0 -2
- package/lib/legal-hold/services/legal-hold.service.d.ts +0 -2
- package/lib/mat-selectors.scss +0 -19
- package/lib/mock/alfresco-api.service.mock.d.ts +1 -4
- package/lib/new-version-uploader/models/new-version-uploader.model.d.ts +9 -8
- package/lib/new-version-uploader/new-version-uploader.dialog.d.ts +1 -3
- package/lib/new-version-uploader/new-version-uploader.dialog.scss +1 -1
- package/lib/new-version-uploader/new-version-uploader.service.d.ts +4 -7
- package/lib/node-comments/services/node-comments.service.d.ts +0 -2
- package/lib/permission-manager/components/add-permission/add-permission-dialog.component.d.ts +3 -4
- package/lib/permission-manager/components/add-permission/add-permission-panel.component.scss +2 -35
- package/lib/permission-manager/components/add-permission/add-permission.component.d.ts +2 -5
- package/lib/permission-manager/components/add-permission/search-config-permission.service.d.ts +2 -3
- package/lib/permission-manager/components/inherited-button.directive.d.ts +2 -5
- package/lib/permission-manager/components/permission-container/permission-container.component.scss +4 -4
- package/lib/permission-manager/components/permission-list/permission-list.component.d.ts +1 -2
- package/lib/permission-manager/components/permission-list/permission-list.service.d.ts +5 -27
- package/lib/permission-manager/components/pop-over.directive.d.ts +5 -8
- package/lib/permission-manager/components/user-icon-column/user-icon-column.component.d.ts +1 -3
- package/lib/permission-manager/components/user-name-column/user-name-column.component.d.ts +1 -3
- package/lib/permission-manager/services/node-permission-dialog.service.d.ts +3 -7
- package/lib/permission-manager/services/node-permission.service.d.ts +4 -25
- package/lib/prediction/services/prediction.service.d.ts +1 -3
- package/lib/search/components/index.d.ts +0 -1
- package/lib/search/components/reset-search.directive.d.ts +1 -3
- package/lib/search/components/search-check-list/search-check-list.component.d.ts +3 -4
- package/lib/search/components/search-check-list/search-check-list.component.scss +2 -1
- package/lib/search/components/search-chip-list/search-chip-list.component.d.ts +0 -1
- package/lib/search/components/search-control.component.d.ts +2 -3
- package/lib/search/components/search-date-range-tabbed/search-date-range/date-range-type.d.ts +6 -5
- package/lib/search/components/search-date-range-tabbed/search-date-range/in-last-date-type.d.ts +6 -5
- package/lib/search/components/search-date-range-tabbed/search-date-range/search-date-range.component.d.ts +25 -15
- package/lib/search/components/search-date-range-tabbed/search-date-range/search-date-range.component.scss +3 -9
- package/lib/search/components/search-date-range-tabbed/search-date-range/search-date-range.d.ts +1 -1
- package/lib/search/components/search-date-range-tabbed/search-date-range-tabbed.component.d.ts +7 -7
- package/lib/search/components/search-datetime-range/search-datetime-range.component.d.ts +3 -5
- package/lib/search/components/search-facet-field/search-facet-field.component.d.ts +3 -3
- package/lib/search/components/search-facet-field/search-facet-field.component.scss +1 -26
- package/lib/search/components/search-filter/search-filter.component.d.ts +1 -1
- package/lib/search/components/search-filter/search-filter.component.scss +1 -1
- package/lib/search/components/search-filter-autocomplete-chips/search-filter-autocomplete-chips.component.d.ts +7 -7
- package/lib/search/components/search-filter-chips/search-facet-chip/search-facet-chip.component.d.ts +2 -3
- package/lib/search/components/search-filter-chips/search-facet-chip-tabbed/search-facet-chip-tabbed.component.d.ts +6 -7
- package/lib/search/components/search-filter-chips/search-facet-chip-tabbed/search-facet-tabbed-content.component.d.ts +4 -4
- package/lib/search/components/search-filter-chips/search-filter-chips.component.d.ts +2 -2
- package/lib/search/components/search-filter-chips/search-filter-chips.component.scss +0 -4
- package/lib/search/components/search-filter-chips/search-filter-menu-card/search-filter-menu-card.component.scss +1 -1
- package/lib/search/components/search-filter-chips/search-widget-chip/search-widget-chip.component.d.ts +3 -3
- package/lib/search/components/search-filter-container/search-filter-container.component.d.ts +8 -7
- package/lib/search/components/search-filter-container/search-filter-container.component.scss +6 -14
- package/lib/search/components/search-filter-tabbed/search-filter-tab.directive.d.ts +0 -1
- package/lib/search/components/search-filter-tabbed/search-filter-tabbed.component.d.ts +1 -2
- package/lib/search/components/search-form/search-form.component.d.ts +1 -1
- package/lib/search/components/search-input/search-input.component.d.ts +1 -19
- package/lib/search/components/search-logical-filter/search-logical-filter.component.d.ts +14 -10
- package/lib/search/components/search-panel/search-panel.component.d.ts +2 -5
- package/lib/search/components/search-properties/file-size-operator.enum.d.ts +6 -5
- package/lib/search/components/search-properties/search-properties.component.d.ts +7 -10
- package/lib/search/components/search-properties/search-properties.component.scss +32 -111
- package/lib/search/components/search-text/search-text.component.scss +1 -0
- package/lib/search/components/search-widget-container/search-widget-container.component.d.ts +3 -5
- package/lib/search/components/search.component.d.ts +3 -20
- package/lib/search/models/autocomplete-option.interface.d.ts +6 -4
- package/lib/search/models/facet-field.interface.d.ts +10 -8
- package/lib/search/models/search-configuration.interface.d.ts +1 -0
- package/lib/search/models/search-form.interface.d.ts +1 -0
- package/lib/search/search.module.d.ts +15 -17
- package/lib/search/services/base-query-builder.service.d.ts +24 -5
- package/lib/search/services/search-facet-filters.service.d.ts +7 -11
- package/lib/search/services/search-header-query-builder.service.d.ts +5 -6
- package/lib/search/services/search-query-builder.service.d.ts +3 -5
- package/lib/search/services/search.service.d.ts +2 -2
- package/lib/search-ai/services/search-ai.service.d.ts +3 -6
- package/lib/security/services/security-controls-groups-marks-security.service.d.ts +7 -10
- package/lib/security-options-loader/security-options-loader.service.d.ts +2 -21
- package/lib/services/alfresco-api.service.d.ts +3 -5
- package/lib/tag/services/tag.service.d.ts +3 -22
- package/lib/tag/tag-actions/tag-actions.component.d.ts +2 -21
- package/lib/tag/tag-list/tag-list.component.d.ts +2 -3
- package/lib/tag/tag-node-list/tag-node-list.component.d.ts +1 -3
- package/lib/tag/tags-creator/tags-creator-mode.d.ts +5 -4
- package/lib/tag/tags-creator/tags-creator.component.d.ts +8 -10
- package/lib/tag/tags-creator/tags-creator.component.scss +2 -13
- package/lib/tree/components/tree.component.d.ts +4 -5
- package/lib/tree/models/tree-node.interface.d.ts +5 -4
- package/lib/tree-view/components/tree-view.component.d.ts +3 -3
- package/lib/tree-view/data/tree-view-datasource.d.ts +3 -5
- package/lib/tree-view/services/tree-view.service.d.ts +1 -1
- package/lib/upload/components/file-uploading-dialog.component.d.ts +6 -25
- package/lib/upload/components/file-uploading-dialog.component.scss +2 -2
- package/lib/upload/components/file-uploading-list-row.component.d.ts +12 -0
- package/lib/upload/components/file-uploading-list.component.d.ts +2 -21
- package/lib/upload/components/upload-button.component.d.ts +3 -4
- package/lib/upload/components/upload-drag-area.component.d.ts +3 -4
- package/lib/upload/components/upload-files.event.d.ts +3 -3
- package/lib/upload/components/upload-version-button.component.d.ts +16 -0
- package/lib/upload/directives/file-draggable.directive.d.ts +4 -4
- package/lib/upload/public-api.d.ts +0 -2
- package/lib/upload/upload.module.d.ts +9 -13
- package/lib/version-compatibility/version-compatibility.directive.d.ts +3 -22
- package/lib/version-compatibility/version-compatibility.service.d.ts +2 -3
- package/lib/version-manager/content-version.service.d.ts +1 -3
- package/lib/version-manager/version-comparison.component.d.ts +0 -1
- package/lib/version-manager/version-list.component.d.ts +6 -11
- package/lib/version-manager/version-manager.component.d.ts +2 -5
- package/lib/version-manager/version-upload.component.d.ts +2 -5
- package/lib/version-manager/version-upload.component.scss +25 -20
- package/lib/viewer/components/alfresco-viewer.component.d.ts +11 -17
- package/package.json +3 -3
- package/public-api.d.ts +0 -2
- package/lib/breadcrumb/breadcrumb.module.d.ts +0 -12
- package/lib/common/mocks/ecm-user.service.mock.d.ts +0 -18
- package/lib/directives/check-allowable-operation.directive.d.ts +0 -65
- package/lib/document-list/components/document-list.token.d.ts +0 -18
- package/lib/interfaces/base-card-view-content-update.interface.d.ts +0 -26
- package/lib/interfaces/node-allowable-operation-subject.interface.d.ts +0 -19
- package/lib/mock/date-range-search-filter.mock.d.ts +0 -20
- package/lib/mock/document-library.model.mock.d.ts +0 -32
- package/lib/mock/document-list.component.mock.d.ts +0 -171
- package/lib/mock/index.d.ts +0 -17
- package/lib/mock/new-version-uploader.service.mock.d.ts +0 -19
- package/lib/mock/public-api.d.ts +0 -26
- package/lib/mock/search-filter-mock.d.ts +0 -321
- package/lib/mock/search-query.mock.d.ts +0 -18
- package/lib/mock/search.component.mock.d.ts +0 -31
- package/lib/mock/search.service.mock.d.ts +0 -83
- package/lib/mock/sites-dropdown.component.mock.d.ts +0 -22
- package/lib/pipes/content-pipe.module.d.ts +0 -12
- package/lib/pipes/index.d.ts +0 -17
- package/lib/pipes/public-api.d.ts +0 -18
- package/lib/search/components/search-sorting-picker/index.d.ts +0 -17
- package/lib/search/components/search-sorting-picker/search-sorting-picker.component.d.ts +0 -35
- package/lib/search/components/search-sorting-picker/search-sorting-picker.component.scss +0 -5
- package/lib/testing/content.testing.module.d.ts +0 -10
- package/lib/upload/directives/toggle-icon.directive.d.ts +0 -13
- package/lib/upload/pipes/file-upload-error.pipe.d.ts +0 -26
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { AuthenticationService } from '@alfresco/adf-core';
|
|
3
2
|
import { Pagination, PeopleApi, PersonBodyCreate, PersonBodyUpdate } from '@alfresco/js-api';
|
|
4
3
|
import { EcmUserModel } from '../models/ecm-user.model';
|
|
5
|
-
import { ContentService } from './content.service';
|
|
6
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
7
4
|
import * as i0 from "@angular/core";
|
|
8
5
|
export interface PeopleContentQueryResponse {
|
|
9
6
|
pagination: Pagination;
|
|
@@ -19,12 +16,12 @@ export interface PeopleContentQueryRequestModel {
|
|
|
19
16
|
sorting?: PeopleContentSortingModel;
|
|
20
17
|
}
|
|
21
18
|
export declare class PeopleContentService {
|
|
22
|
-
private apiService;
|
|
23
|
-
private contentService;
|
|
19
|
+
private readonly apiService;
|
|
20
|
+
private readonly contentService;
|
|
24
21
|
private currentUser;
|
|
25
22
|
private _peopleApi;
|
|
26
23
|
get peopleApi(): PeopleApi;
|
|
27
|
-
constructor(
|
|
24
|
+
constructor();
|
|
28
25
|
/**
|
|
29
26
|
* Gets information about a user identified by their username.
|
|
30
27
|
*
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ContentApi, RenditionEntry, RenditionsApi, VersionsApi } from '@alfresco/js-api';
|
|
2
|
-
import { Track
|
|
3
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
2
|
+
import { Track } from '@alfresco/adf-core';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class RenditionService {
|
|
6
5
|
private readonly apiService;
|
|
@@ -29,15 +28,14 @@ export declare class RenditionService {
|
|
|
29
28
|
/**
|
|
30
29
|
* Timeout used for setInterval.
|
|
31
30
|
*/
|
|
32
|
-
private TRY_TIMEOUT;
|
|
31
|
+
private readonly TRY_TIMEOUT;
|
|
33
32
|
_renditionsApi: RenditionsApi;
|
|
34
33
|
get renditionsApi(): RenditionsApi;
|
|
35
34
|
_contentApi: ContentApi;
|
|
36
35
|
get contentApi(): ContentApi;
|
|
37
36
|
_versionsApi: VersionsApi;
|
|
38
|
-
private DEFAULT_RENDITION;
|
|
37
|
+
private readonly DEFAULT_RENDITION;
|
|
39
38
|
get versionsApi(): VersionsApi;
|
|
40
|
-
constructor(apiService: AlfrescoApiService, translateService: TranslationService, viewUtilsService: ViewUtilService);
|
|
41
39
|
getRenditionUrl(nodeId: string, type: string, renditionExists: boolean): string;
|
|
42
40
|
private waitRendition;
|
|
43
41
|
private wait;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SavedSearchStrategy } from '../interfaces/saved-searches-strategy.interface';
|
|
2
|
+
import { AuthenticationService } from '@alfresco/adf-core';
|
|
3
|
+
import { ReplaySubject, Observable } from 'rxjs';
|
|
4
|
+
import { NodeEntry, NodesApi } from '@alfresco/js-api';
|
|
5
|
+
import { SavedSearch } from '../interfaces/saved-search.interface';
|
|
6
|
+
import { AlfrescoApiService } from '../../services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare abstract class SavedSearchesBaseService implements SavedSearchStrategy {
|
|
9
|
+
private _nodesApi;
|
|
10
|
+
private static readonly SAVE_MODE_THRESHOLD;
|
|
11
|
+
protected readonly _savedSearches$: ReplaySubject<SavedSearch[]>;
|
|
12
|
+
readonly savedSearches$: Observable<SavedSearch[]>;
|
|
13
|
+
protected readonly apiService: AlfrescoApiService;
|
|
14
|
+
protected readonly authService: AuthenticationService;
|
|
15
|
+
get nodesApi(): NodesApi;
|
|
16
|
+
protected abstract fetchAllSavedSearches(): Observable<SavedSearch[]>;
|
|
17
|
+
protected abstract updateSavedSearches(searches: SavedSearch[]): Observable<NodeEntry>;
|
|
18
|
+
init(): void;
|
|
19
|
+
getSavedSearches(): Observable<SavedSearch[]>;
|
|
20
|
+
saveSearch(newSaveSearch: Pick<SavedSearch, 'name' | 'description' | 'encodedUrl'>): Observable<NodeEntry>;
|
|
21
|
+
editSavedSearch(updatedSavedSearch: SavedSearch): Observable<NodeEntry>;
|
|
22
|
+
deleteSavedSearch(deletedSavedSearch: SavedSearch): Observable<NodeEntry>;
|
|
23
|
+
changeOrder(previousIndex: number, currentIndex: number): void;
|
|
24
|
+
protected resetSavedSearchesStream(): void;
|
|
25
|
+
private fetchSavedSearches;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SavedSearchesBaseService, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SavedSearchesBaseService>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { NodeEntry } from '@alfresco/js-api';
|
|
18
|
+
import { Observable } from 'rxjs';
|
|
19
|
+
import { SavedSearch } from '../interfaces/saved-search.interface';
|
|
20
|
+
import { SavedSearchesBaseService } from './saved-searches-base.service';
|
|
21
|
+
import * as i0 from "@angular/core";
|
|
22
|
+
export declare class SavedSearchesLegacyService extends SavedSearchesBaseService {
|
|
23
|
+
private savedSearchFileNodeId;
|
|
24
|
+
private currentUserLocalStorageKey;
|
|
25
|
+
private createFileAttempt;
|
|
26
|
+
protected fetchAllSavedSearches(): Observable<SavedSearch[]>;
|
|
27
|
+
protected updateSavedSearches(searches: SavedSearch[]): Observable<NodeEntry>;
|
|
28
|
+
private getSavedSearchesNodeId;
|
|
29
|
+
private createSavedSearchesNode;
|
|
30
|
+
private mapFileContentToSavedSearches;
|
|
31
|
+
private getLocalStorageKey;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SavedSearchesLegacyService, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SavedSearchesLegacyService>;
|
|
34
|
+
}
|
|
@@ -14,70 +14,29 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
17
|
+
import { NodeEntry, ContentFieldsQuery, PreferenceEntry } from '@alfresco/js-api';
|
|
18
18
|
import { InjectionToken } from '@angular/core';
|
|
19
|
-
import { Observable
|
|
20
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
19
|
+
import { Observable } from 'rxjs';
|
|
21
20
|
import { SavedSearch } from '../interfaces/saved-search.interface';
|
|
22
|
-
import {
|
|
21
|
+
import { SavedSearchesBaseService } from './saved-searches-base.service';
|
|
23
22
|
import * as i0 from "@angular/core";
|
|
24
23
|
export interface SavedSearchesPreferencesApiService {
|
|
25
24
|
getPreference: (personId: string, preferenceName: string, opts?: ContentFieldsQuery) => Promise<PreferenceEntry> | Observable<PreferenceEntry>;
|
|
26
25
|
updatePreference: (personId: string, preferenceName: string, preferenceValue: string) => Promise<PreferenceEntry> | Observable<PreferenceEntry>;
|
|
27
26
|
}
|
|
28
27
|
export declare const SAVED_SEARCHES_SERVICE_PREFERENCES: InjectionToken<SavedSearchesPreferencesApiService>;
|
|
29
|
-
export declare class SavedSearchesService {
|
|
30
|
-
private readonly apiService;
|
|
31
|
-
private readonly authService;
|
|
28
|
+
export declare class SavedSearchesService extends SavedSearchesBaseService {
|
|
32
29
|
private savedSearchFileNodeId;
|
|
33
|
-
private _nodesApi;
|
|
34
30
|
private _preferencesApi;
|
|
35
|
-
private preferencesService;
|
|
36
|
-
get nodesApi(): NodesApi;
|
|
31
|
+
private readonly preferencesService;
|
|
37
32
|
get preferencesApi(): SavedSearchesPreferencesApiService;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
init(): void;
|
|
41
|
-
/**
|
|
42
|
-
* Gets a list of saved searches by user.
|
|
43
|
-
*
|
|
44
|
-
* @returns SavedSearch list containing user saved searches
|
|
45
|
-
*/
|
|
46
|
-
getSavedSearches(): Observable<SavedSearch[]>;
|
|
47
|
-
/**
|
|
48
|
-
* Saves a new search into state and updates state. If there are less than 5 searches,
|
|
49
|
-
* it will be pushed on first place, if more it will be pushed to 6th place.
|
|
50
|
-
*
|
|
51
|
-
* @param newSaveSearch object { name: string, description: string, encodedUrl: string }
|
|
52
|
-
* @returns NodeEntry
|
|
53
|
-
*/
|
|
54
|
-
saveSearch(newSaveSearch: Pick<SavedSearch, 'name' | 'description' | 'encodedUrl'>): Observable<NodeEntry>;
|
|
55
|
-
/**
|
|
56
|
-
* Replace Save Search with new one and also updates the state.
|
|
57
|
-
*
|
|
58
|
-
* @param updatedSavedSearch - updated Save Search
|
|
59
|
-
* @returns NodeEntry
|
|
60
|
-
*/
|
|
61
|
-
editSavedSearch(updatedSavedSearch: SavedSearch): Observable<NodeEntry>;
|
|
62
|
-
/**
|
|
63
|
-
* Deletes Save Search and update state.
|
|
64
|
-
*
|
|
65
|
-
* @param deletedSavedSearch - Save Search to delete
|
|
66
|
-
* @returns NodeEntry
|
|
67
|
-
*/
|
|
68
|
-
deleteSavedSearch(deletedSavedSearch: SavedSearch): Observable<NodeEntry>;
|
|
69
|
-
/**
|
|
70
|
-
* Reorders saved search place
|
|
71
|
-
*
|
|
72
|
-
* @param previousIndex - previous index of saved search
|
|
73
|
-
* @param currentIndex - new index of saved search
|
|
74
|
-
*/
|
|
75
|
-
changeOrder(previousIndex: number, currentIndex: number): void;
|
|
33
|
+
protected fetchAllSavedSearches(): Observable<SavedSearch[]>;
|
|
34
|
+
protected updateSavedSearches(updatedSavedSearches: SavedSearch[]): Observable<NodeEntry>;
|
|
76
35
|
private getSavedSearchesNodeId;
|
|
77
36
|
private mapFileContentToSavedSearches;
|
|
78
37
|
private getLocalStorageKey;
|
|
79
|
-
private fetchSavedSearches;
|
|
80
38
|
private migrateSavedSearches;
|
|
39
|
+
private getSavedSearchesFromPreferenceApi;
|
|
81
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SavedSearchesService, never>;
|
|
82
41
|
static ɵprov: i0.ɵɵInjectableDeclaration<SavedSearchesService>;
|
|
83
42
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Node, SiteBodyCreate, SiteEntry, SiteGroupEntry, SiteGroupPaging, SiteMemberEntry, SiteMemberPaging, SiteMembershipBodyCreate, SiteMembershipBodyUpdate, SiteMembershipRequestWithPersonPaging, SitePaging, SitesApi } from '@alfresco/js-api';
|
|
3
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class SitesService {
|
|
6
|
-
private apiService;
|
|
5
|
+
private readonly apiService;
|
|
7
6
|
private _sitesApi;
|
|
8
7
|
get sitesApi(): SitesApi;
|
|
9
|
-
constructor(apiService: AlfrescoApiService);
|
|
10
8
|
/**
|
|
11
9
|
* Create a site
|
|
12
10
|
*
|
|
@@ -17,32 +17,26 @@
|
|
|
17
17
|
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
18
18
|
import { Category, Node } from '@alfresco/js-api';
|
|
19
19
|
import { Observable } from 'rxjs';
|
|
20
|
-
import {
|
|
21
|
-
import { ContentMetadataService } from '../../services/content-metadata.service';
|
|
20
|
+
import { CardViewItem, Chip } from '@alfresco/adf-core';
|
|
22
21
|
import { CardViewGroup, ContentMetadataCustomPanel, ContentMetadataPanel, PresetConfig } from '../../interfaces/content-metadata.interfaces';
|
|
23
|
-
import { CardViewContentUpdateService } from '../../../common/services/card-view-content-update.service';
|
|
24
|
-
import { NodesApiService } from '../../../common/services/nodes-api.service';
|
|
25
22
|
import { TagsCreatorMode } from '../../../tag/tags-creator/tags-creator-mode';
|
|
26
|
-
import { TagService } from '../../../tag/services/tag.service';
|
|
27
|
-
import { CategoryService } from '../../../category/services/category.service';
|
|
28
|
-
import { CategoriesManagementMode } from '../../../category/categories-management/categories-management-mode';
|
|
29
|
-
import { ContentService } from '../../../common/services/content.service';
|
|
30
23
|
import * as i0 from "@angular/core";
|
|
31
|
-
declare
|
|
32
|
-
PROPERTIES
|
|
33
|
-
TAGS
|
|
34
|
-
CATEGORIES
|
|
35
|
-
}
|
|
24
|
+
declare const DefaultPanels: {
|
|
25
|
+
readonly PROPERTIES: "Properties";
|
|
26
|
+
readonly TAGS: "Tags";
|
|
27
|
+
readonly CATEGORIES: "Categories";
|
|
28
|
+
};
|
|
29
|
+
export type DefaultPanels = (typeof DefaultPanels)[keyof typeof DefaultPanels];
|
|
36
30
|
export declare class ContentMetadataComponent implements OnChanges, OnInit {
|
|
37
|
-
private contentMetadataService;
|
|
38
|
-
private cardViewContentUpdateService;
|
|
39
|
-
private nodesApiService;
|
|
40
|
-
private translationService;
|
|
41
|
-
private appConfig;
|
|
42
|
-
private tagService;
|
|
43
|
-
private categoryService;
|
|
44
|
-
private contentService;
|
|
45
|
-
private notificationService;
|
|
31
|
+
private readonly contentMetadataService;
|
|
32
|
+
private readonly cardViewContentUpdateService;
|
|
33
|
+
private readonly nodesApiService;
|
|
34
|
+
private readonly translationService;
|
|
35
|
+
private readonly appConfig;
|
|
36
|
+
private readonly tagService;
|
|
37
|
+
private readonly categoryService;
|
|
38
|
+
private readonly contentService;
|
|
39
|
+
private readonly notificationService;
|
|
46
40
|
/** (required) The node entity to fetch metadata about */
|
|
47
41
|
node: Node;
|
|
48
42
|
/** Toggles whether to display empty values in the card view */
|
|
@@ -77,12 +71,16 @@ export declare class ContentMetadataComponent implements OnChanges, OnInit {
|
|
|
77
71
|
readOnly: boolean;
|
|
78
72
|
private _assignedTags;
|
|
79
73
|
private assignedTagsEntries;
|
|
80
|
-
private _tagsCreatorMode;
|
|
74
|
+
private readonly _tagsCreatorMode;
|
|
81
75
|
private _tags;
|
|
82
76
|
private targetProperty;
|
|
83
|
-
private classifiableChangedSubject;
|
|
77
|
+
private readonly classifiableChangedSubject;
|
|
84
78
|
private _saving;
|
|
85
|
-
DefaultPanels:
|
|
79
|
+
DefaultPanels: {
|
|
80
|
+
readonly PROPERTIES: "Properties";
|
|
81
|
+
readonly TAGS: "Tags";
|
|
82
|
+
readonly CATEGORIES: "Categories";
|
|
83
|
+
};
|
|
86
84
|
multiValueSeparator: string;
|
|
87
85
|
basicProperties$: Observable<CardViewItem[]>;
|
|
88
86
|
groupedProperties$: Observable<CardViewGroup[]>;
|
|
@@ -91,14 +89,14 @@ export declare class ContentMetadataComponent implements OnChanges, OnInit {
|
|
|
91
89
|
hasMetadataChanged: boolean;
|
|
92
90
|
assignedCategories: Category[];
|
|
93
91
|
categories: Category[];
|
|
94
|
-
categoriesManagementMode:
|
|
92
|
+
categoriesManagementMode: "ASSIGN";
|
|
95
93
|
classifiableChanged: Observable<void>;
|
|
96
94
|
editing: boolean;
|
|
97
95
|
invalidProperties: Set<string>;
|
|
98
96
|
editedPanelTitle: string;
|
|
99
97
|
currentPanel: ContentMetadataPanel;
|
|
100
98
|
private readonly destroyRef;
|
|
101
|
-
constructor(
|
|
99
|
+
constructor();
|
|
102
100
|
ngOnInit(): void;
|
|
103
101
|
private verifyAllowableOperations;
|
|
104
102
|
get assignedTags(): string[];
|
|
@@ -10,21 +10,8 @@ $panel-properties-height: 56px !default;
|
|
|
10
10
|
border-radius: 12px;
|
|
11
11
|
margin: 12px;
|
|
12
12
|
|
|
13
|
-
adf-card-view-textitem {
|
|
14
|
-
#{ms.$mat-form-field-subscript-wrapper} {
|
|
15
|
-
display: none;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
#{ms.$mat-form-field-infix} {
|
|
19
|
-
padding-bottom: 0;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
13
|
.adf-property-list .adf-property .adf-property-field {
|
|
24
14
|
.adf-property-value:not(.adf-card-view-selectitem .adf-property-value) {
|
|
25
|
-
margin-top: 10px;
|
|
26
|
-
height: 32px;
|
|
27
|
-
|
|
28
15
|
&:is(textarea) {
|
|
29
16
|
padding-top: 6px;
|
|
30
17
|
}
|
|
@@ -32,7 +19,7 @@ $panel-properties-height: 56px !default;
|
|
|
32
19
|
|
|
33
20
|
label {
|
|
34
21
|
font-size: 19px;
|
|
35
|
-
line-height:
|
|
22
|
+
line-height: 24px;
|
|
36
23
|
}
|
|
37
24
|
}
|
|
38
25
|
}
|
|
@@ -47,21 +34,19 @@ $panel-properties-height: 56px !default;
|
|
|
47
34
|
}
|
|
48
35
|
}
|
|
49
36
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
width: 100%;
|
|
37
|
+
.adf-metadata-properties-expansion-panel,
|
|
38
|
+
.adf-metadata-categories-header {
|
|
39
|
+
display: block;
|
|
40
|
+
margin-top: 16px;
|
|
41
|
+
}
|
|
56
42
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
43
|
+
.adf-metadata-properties-tags,
|
|
44
|
+
.adf-metadata-no-item-added {
|
|
45
|
+
margin-top: 16px;
|
|
61
46
|
}
|
|
62
47
|
|
|
63
48
|
.adf-edit-icon-buttons {
|
|
64
|
-
color: var(--adf-theme-foreground-text-color-
|
|
49
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
65
50
|
}
|
|
66
51
|
|
|
67
52
|
#{ms.$mat-chip} {
|
package/lib/content-metadata/components/content-metadata-card/content-metadata-card.component.d.ts
CHANGED
|
@@ -16,15 +16,12 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
18
18
|
import { Node } from '@alfresco/js-api';
|
|
19
|
-
import { NodeAspectService } from '../../../aspect-list/services/node-aspect.service';
|
|
20
19
|
import { ContentMetadataCustomPanel, PresetConfig } from '../../interfaces/content-metadata.interfaces';
|
|
21
|
-
import { VersionCompatibilityService } from '../../../version-compatibility/version-compatibility.service';
|
|
22
|
-
import { ContentService } from '../../../common/services/content.service';
|
|
23
20
|
import * as i0 from "@angular/core";
|
|
24
21
|
export declare class ContentMetadataCardComponent implements OnChanges {
|
|
25
|
-
private contentService;
|
|
26
|
-
private nodeAspectService;
|
|
27
|
-
private versionCompatibilityService;
|
|
22
|
+
private readonly contentService;
|
|
23
|
+
private readonly nodeAspectService;
|
|
24
|
+
private readonly versionCompatibilityService;
|
|
28
25
|
/** (required) The node entity to fetch metadata about */
|
|
29
26
|
node: Node;
|
|
30
27
|
/**
|
|
@@ -66,7 +63,7 @@ export declare class ContentMetadataCardComponent implements OnChanges {
|
|
|
66
63
|
get displayDefaultProperties(): boolean;
|
|
67
64
|
expanded: boolean;
|
|
68
65
|
editAspectSupported: boolean;
|
|
69
|
-
constructor(
|
|
66
|
+
constructor();
|
|
70
67
|
ngOnChanges(changes: SimpleChanges): void;
|
|
71
68
|
onDisplayDefaultPropertiesChange(): void;
|
|
72
69
|
hasAllowableOperations(): boolean;
|
|
@@ -2,7 +2,7 @@ import { Node } from '@alfresco/js-api';
|
|
|
2
2
|
import { CardViewDateItemModel, CardViewTextItemModel } from '@alfresco/adf-core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class BasicPropertiesService {
|
|
5
|
-
private
|
|
5
|
+
private readonly injector;
|
|
6
6
|
getProperties(node: Node): (CardViewTextItemModel | CardViewDateItemModel)[];
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BasicPropertiesService, never>;
|
|
8
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<BasicPropertiesService>;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { ContentMetadataConfig, OrganisedPropertyGroup, PropertyGroupContainer } from '../../interfaces/content-metadata.interfaces';
|
|
18
18
|
export declare class AspectOrientedConfigService implements ContentMetadataConfig {
|
|
19
|
-
private config;
|
|
19
|
+
private readonly config;
|
|
20
20
|
constructor(config: any);
|
|
21
21
|
isGroupAllowed(groupName: string): boolean;
|
|
22
22
|
reorganiseByConfig(propertyGroups: PropertyGroupContainer): OrganisedPropertyGroup[];
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { AppConfigService, LogService } from '@alfresco/adf-core';
|
|
2
1
|
import { PresetConfig, ContentMetadataConfig } from '../../interfaces/content-metadata.interfaces';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ContentMetadataConfigFactory {
|
|
5
|
-
private appConfigService;
|
|
6
|
-
private logService;
|
|
7
|
-
constructor(appConfigService: AppConfigService, logService: LogService);
|
|
4
|
+
private readonly appConfigService;
|
|
5
|
+
private readonly logService;
|
|
8
6
|
get(presetName?: string): ContentMetadataConfig;
|
|
9
7
|
createConfig(presetConfig: PresetConfig): ContentMetadataConfig;
|
|
10
8
|
private isAspectOrientedPreset;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { ContentMetadataConfig, OrganisedPropertyGroup, PropertyGroupContainer } from '../../interfaces/content-metadata.interfaces';
|
|
18
18
|
export declare class LayoutOrientedConfigService implements ContentMetadataConfig {
|
|
19
|
-
private config;
|
|
19
|
+
private readonly config;
|
|
20
20
|
constructor(config: any);
|
|
21
21
|
isGroupAllowed(groupName: string): boolean;
|
|
22
22
|
reorganiseByConfig(propertyGroups: PropertyGroupContainer): OrganisedPropertyGroup[];
|
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
import { Node } from '@alfresco/js-api';
|
|
2
|
-
import { BasicPropertiesService } from './basic-properties.service';
|
|
3
2
|
import { Observable, Subject } from 'rxjs';
|
|
4
|
-
import { PropertyGroupTranslatorService } from './property-groups-translator.service';
|
|
5
3
|
import { CardViewItem } from '@alfresco/adf-core';
|
|
6
4
|
import { CardViewGroup, OrganisedPropertyGroup, PresetConfig } from '../interfaces/content-metadata.interfaces';
|
|
7
|
-
import { ContentMetadataConfigFactory } from './config/content-metadata-config.factory';
|
|
8
|
-
import { PropertyDescriptorsService } from './property-descriptors.service';
|
|
9
|
-
import { ContentTypePropertiesService } from './content-type-property.service';
|
|
10
5
|
import * as i0 from "@angular/core";
|
|
11
6
|
export declare class ContentMetadataService {
|
|
12
|
-
private basicPropertiesService;
|
|
13
|
-
private contentMetadataConfigFactory;
|
|
14
|
-
private propertyGroupTranslatorService;
|
|
15
|
-
private propertyDescriptorsService;
|
|
16
|
-
private contentTypePropertyService;
|
|
7
|
+
private readonly basicPropertiesService;
|
|
8
|
+
private readonly contentMetadataConfigFactory;
|
|
9
|
+
private readonly propertyGroupTranslatorService;
|
|
10
|
+
private readonly propertyDescriptorsService;
|
|
11
|
+
private readonly contentTypePropertyService;
|
|
17
12
|
error: Subject<{
|
|
18
13
|
statusCode: number;
|
|
19
14
|
message: string;
|
|
20
15
|
}>;
|
|
21
|
-
constructor(basicPropertiesService: BasicPropertiesService, contentMetadataConfigFactory: ContentMetadataConfigFactory, propertyGroupTranslatorService: PropertyGroupTranslatorService, propertyDescriptorsService: PropertyDescriptorsService, contentTypePropertyService: ContentTypePropertiesService);
|
|
22
16
|
getBasicProperties(node: Node): Observable<CardViewItem[]>;
|
|
23
17
|
getContentTypeProperty(node: Node): Observable<CardViewItem[]>;
|
|
24
18
|
openConfirmDialog(changedProperties: any): Observable<any>;
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
1
|
import { CardViewItem } from '@alfresco/adf-core';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { ContentTypeService } from '../../content-type/content-type.service';
|
|
5
3
|
import { Node, Property } from '@alfresco/js-api';
|
|
6
|
-
import { PropertyGroupTranslatorService } from './property-groups-translator.service';
|
|
7
|
-
import { VersionCompatibilityService } from '../../version-compatibility/version-compatibility.service';
|
|
8
4
|
import * as i0 from "@angular/core";
|
|
9
5
|
export declare class ContentTypePropertiesService {
|
|
10
|
-
private contentTypeService;
|
|
11
|
-
private dialog;
|
|
12
|
-
private versionCompatibilityService;
|
|
13
|
-
private propertyGroupTranslatorService;
|
|
14
|
-
constructor(contentTypeService: ContentTypeService, dialog: MatDialog, versionCompatibilityService: VersionCompatibilityService, propertyGroupTranslatorService: PropertyGroupTranslatorService);
|
|
6
|
+
private readonly contentTypeService;
|
|
7
|
+
private readonly dialog;
|
|
8
|
+
private readonly versionCompatibilityService;
|
|
9
|
+
private readonly propertyGroupTranslatorService;
|
|
15
10
|
getContentTypeCardItem(node: Node): Observable<CardViewItem[]>;
|
|
16
11
|
buildCardItemsFromPropertyList(properties: Property[], currentProperties: any): CardViewItem[];
|
|
17
12
|
private buildCardItemFromProperty;
|
|
@@ -15,13 +15,10 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { PipeTransform } from '@angular/core';
|
|
18
|
-
import { NodeEntry } from '@alfresco/js-api';
|
|
19
18
|
import * as i0 from "@angular/core";
|
|
20
|
-
export declare class
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NodeNameTooltipPipe, never>;
|
|
26
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NodeNameTooltipPipe, "adfNodeNameTooltip", true>;
|
|
19
|
+
export declare class MultiValuePipe implements PipeTransform {
|
|
20
|
+
static DEFAULT_SEPARATOR: string;
|
|
21
|
+
transform(values: any | any[], valueSeparator?: string): string;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiValuePipe, never>;
|
|
23
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MultiValuePipe, "multiValue", true>;
|
|
27
24
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
2
1
|
import { Observable } from 'rxjs';
|
|
3
2
|
import { PropertyGroupContainer } from '../interfaces/content-metadata.interfaces';
|
|
4
3
|
import { ClassesApi } from '@alfresco/js-api';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class PropertyDescriptorsService {
|
|
7
|
-
private alfrescoApiService;
|
|
6
|
+
private readonly alfrescoApiService;
|
|
8
7
|
private _classesApi;
|
|
9
8
|
get classesApi(): ClassesApi;
|
|
10
|
-
constructor(alfrescoApiService: AlfrescoApiService);
|
|
11
9
|
load(groupNames: string[]): Observable<PropertyGroupContainer>;
|
|
12
10
|
private convertToObject;
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyDescriptorsService, never>;
|
|
@@ -4,9 +4,8 @@ import { Definition, Property as PropertyBase } from '@alfresco/js-api';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const RECOGNISED_ECM_TYPES: string[];
|
|
6
6
|
export declare class PropertyGroupTranslatorService {
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
private logService;
|
|
7
|
+
private readonly appConfig;
|
|
8
|
+
private readonly logService;
|
|
10
9
|
valueSeparator: string;
|
|
11
10
|
private readonly injector;
|
|
12
11
|
constructor();
|
|
@@ -1,40 +1,18 @@
|
|
|
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 { MatDialog } from '@angular/material/dialog';
|
|
18
1
|
import { EventEmitter } from '@angular/core';
|
|
19
|
-
import { ThumbnailService, TranslationService } from '@alfresco/adf-core';
|
|
20
2
|
import { Subject, Observable } from 'rxjs';
|
|
21
|
-
import { ContentService } from '../common/services/content.service';
|
|
22
3
|
import { Node } from '@alfresco/js-api';
|
|
23
|
-
import { DocumentListService } from '../document-list/services/document-list.service';
|
|
24
4
|
import { NodeAction } from '../document-list/models/node-action.enum';
|
|
25
|
-
import { SitesService } from '../common/services/sites.service';
|
|
26
5
|
import * as i0 from "@angular/core";
|
|
27
6
|
export declare class ContentNodeDialogService {
|
|
28
|
-
private dialog;
|
|
29
|
-
private contentService;
|
|
30
|
-
private documentListService;
|
|
31
|
-
private siteService;
|
|
32
|
-
private translation;
|
|
33
|
-
private thumbnailService;
|
|
7
|
+
private readonly dialog;
|
|
8
|
+
private readonly contentService;
|
|
9
|
+
private readonly documentListService;
|
|
10
|
+
private readonly siteService;
|
|
11
|
+
private readonly translation;
|
|
12
|
+
private readonly thumbnailService;
|
|
34
13
|
static nonDocumentSiteContent: string[];
|
|
35
14
|
/** Emitted when an error occurs. */
|
|
36
15
|
error: EventEmitter<any>;
|
|
37
|
-
constructor(dialog: MatDialog, contentService: ContentService, documentListService: DocumentListService, siteService: SitesService, translation: TranslationService, thumbnailService: ThumbnailService);
|
|
38
16
|
/**
|
|
39
17
|
* Opens a file browser at a chosen folder location.
|
|
40
18
|
* shows files and folders in the dialog search result.
|