@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,14 +1,12 @@
|
|
|
1
1
|
import { Agent, AgentsApi } from '@alfresco/js-api';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { AlfrescoApiService } from '../../services';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class AgentService {
|
|
6
|
-
private apiService;
|
|
5
|
+
private readonly apiService;
|
|
7
6
|
private _agentsApi;
|
|
8
|
-
private agents;
|
|
7
|
+
private readonly agents;
|
|
9
8
|
get agentsApi(): AgentsApi;
|
|
10
9
|
agents$: Observable<Agent[]>;
|
|
11
|
-
constructor(apiService: AlfrescoApiService);
|
|
12
10
|
/**
|
|
13
11
|
* Gets all agents from cache. If cache is empty, fetches agents from backend.
|
|
14
12
|
*
|
|
@@ -1,27 +1,8 @@
|
|
|
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 { AdfHttpClient } from '@alfresco/adf-core/api';
|
|
18
|
-
import { StorageService, AppConfigService } from '@alfresco/adf-core';
|
|
19
1
|
import { AlfrescoApi, AlfrescoApiConfig } from '@alfresco/js-api';
|
|
20
2
|
import { AlfrescoApiService } from '../services/alfresco-api.service';
|
|
21
3
|
import * as i0 from "@angular/core";
|
|
22
4
|
export declare class AlfrescoApiNoAuthService extends AlfrescoApiService {
|
|
23
5
|
private readonly adfHttpClient;
|
|
24
|
-
constructor(storage: StorageService, appConfig: AppConfigService, adfHttpClient: AdfHttpClient);
|
|
25
6
|
createInstance(config: AlfrescoApiConfig): AlfrescoApi;
|
|
26
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlfrescoApiNoAuthService, never>;
|
|
27
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<AlfrescoApiNoAuthService>;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { AppConfigService, StorageService } from '@alfresco/adf-core';
|
|
2
|
-
import { AlfrescoApiService } from '../services/alfresco-api.service';
|
|
3
|
-
import { SecurityOptionsLoaderService } from '../security-options-loader/security-options-loader.service';
|
|
4
1
|
import * as i0 from "@angular/core";
|
|
5
2
|
/**
|
|
6
3
|
* Create a factory to resolve an api service instance
|
|
@@ -13,8 +10,7 @@ export declare class AlfrescoApiLoaderService {
|
|
|
13
10
|
private readonly appConfig;
|
|
14
11
|
private readonly apiService;
|
|
15
12
|
private readonly securityOptionsLoaderService;
|
|
16
|
-
private storageService;
|
|
17
|
-
constructor(appConfig: AppConfigService, apiService: AlfrescoApiService, securityOptionsLoaderService: SecurityOptionsLoaderService, storageService: StorageService);
|
|
13
|
+
private readonly storageService;
|
|
18
14
|
init(): Promise<any>;
|
|
19
15
|
private initAngularAlfrescoApi;
|
|
20
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlfrescoApiLoaderService, never>;
|
|
@@ -15,11 +15,10 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
19
18
|
import { AspectListDialogComponentData } from './aspect-list-dialog-data.interface';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class AspectListDialogComponent implements OnInit {
|
|
22
|
-
private dialog;
|
|
21
|
+
private readonly dialog;
|
|
23
22
|
data: AspectListDialogComponentData;
|
|
24
23
|
title: string;
|
|
25
24
|
description: string;
|
|
@@ -27,7 +26,7 @@ export declare class AspectListDialogComponent implements OnInit {
|
|
|
27
26
|
overTableMessage: string;
|
|
28
27
|
counter: number;
|
|
29
28
|
currentAspectSelection: string[];
|
|
30
|
-
constructor(
|
|
29
|
+
constructor();
|
|
31
30
|
ngOnInit(): void;
|
|
32
31
|
onValueChanged(aspectList: string[]): void;
|
|
33
32
|
onUpdateCounter(count: number): void;
|
|
@@ -15,15 +15,13 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
18
|
-
import { NodesApiService } from '../common/services/nodes-api.service';
|
|
19
18
|
import { Observable } from 'rxjs';
|
|
20
|
-
import { AspectListService } from './services/aspect-list.service';
|
|
21
19
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
22
20
|
import { AspectEntry } from '@alfresco/js-api';
|
|
23
21
|
import * as i0 from "@angular/core";
|
|
24
22
|
export declare class AspectListComponent implements OnInit {
|
|
25
|
-
private aspectListService;
|
|
26
|
-
private nodeApiService;
|
|
23
|
+
private readonly aspectListService;
|
|
24
|
+
private readonly nodeApiService;
|
|
27
25
|
/** Node Id of the node that we want to update */
|
|
28
26
|
nodeId: string;
|
|
29
27
|
/** List of aspects' ids which should not be displayed. */
|
|
@@ -43,7 +41,6 @@ export declare class AspectListComponent implements OnInit {
|
|
|
43
41
|
private customAspectsLoaded;
|
|
44
42
|
private standardAspectsLoaded;
|
|
45
43
|
private hasMoreAspects;
|
|
46
|
-
constructor(aspectListService: AspectListService, nodeApiService: NodesApiService);
|
|
47
44
|
ngOnInit(): void;
|
|
48
45
|
onCheckBoxClick(event: Event): void;
|
|
49
46
|
onChange(change: MatCheckboxChange, prefixedName: string): void;
|
|
@@ -83,7 +83,7 @@ $dialog-list-height: calc(65vh - ($dialog-title-height + $dialog-information-hei
|
|
|
83
83
|
.adf-aspect-property-table-column-title,
|
|
84
84
|
.adf-aspect-property-table-column-data-type {
|
|
85
85
|
font-size: 12px;
|
|
86
|
-
color: var(--adf-theme-foreground-text-color-
|
|
86
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.adf-aspect-property-table-column {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
2
|
-
import { AppConfigService } from '@alfresco/adf-core';
|
|
3
1
|
import { Observable } from 'rxjs';
|
|
4
2
|
import { AspectPaging, AspectsApi, ListAspectsOpts } from '@alfresco/js-api';
|
|
5
3
|
import { CustomAspectPaging } from '../interfaces/custom-aspect-paging.interface';
|
|
@@ -7,11 +5,10 @@ import * as i0 from "@angular/core";
|
|
|
7
5
|
export declare const StandardAspectsWhere = "(modelId in ('cm:contentmodel', 'emailserver:emailserverModel', 'smf:smartFolder', 'app:applicationmodel' ))";
|
|
8
6
|
export declare const CustomAspectsWhere = "(not namespaceUri matches('http://www.alfresco.*'))";
|
|
9
7
|
export declare class AspectListService {
|
|
10
|
-
private alfrescoApiService;
|
|
11
|
-
private appConfigService;
|
|
8
|
+
private readonly alfrescoApiService;
|
|
9
|
+
private readonly appConfigService;
|
|
12
10
|
private _aspectsApi;
|
|
13
11
|
get aspectsApi(): AspectsApi;
|
|
14
|
-
constructor(alfrescoApiService: AlfrescoApiService, appConfigService: AppConfigService);
|
|
15
12
|
getAllAspects(standardOpts?: ListAspectsOpts, customOpts?: ListAspectsOpts): Observable<CustomAspectPaging>;
|
|
16
13
|
getAspects(whiteList: string[], opts?: ListAspectsOpts): Observable<AspectPaging>;
|
|
17
14
|
private filterAspectByConfig;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
1
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
4
|
-
import { TagService } from '../../tag';
|
|
5
|
-
import { CategoryService } from '../../category';
|
|
6
2
|
import * as i0 from "@angular/core";
|
|
7
3
|
export declare class DialogAspectListService {
|
|
8
|
-
private dialog;
|
|
9
|
-
private overlayContainer;
|
|
10
|
-
private tagService;
|
|
11
|
-
private categoryService;
|
|
12
|
-
constructor(dialog: MatDialog, overlayContainer: OverlayContainer, tagService: TagService, categoryService: CategoryService);
|
|
4
|
+
private readonly dialog;
|
|
5
|
+
private readonly overlayContainer;
|
|
6
|
+
private readonly tagService;
|
|
7
|
+
private readonly categoryService;
|
|
13
8
|
openAspectListDialog(nodeId?: string, selectorAutoFocusedOnClose?: string): Observable<string[]>;
|
|
14
9
|
private openDialog;
|
|
15
10
|
close(): void;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import { DialogAspectListService } from './dialog-aspect-list.service';
|
|
2
|
-
import { CardViewContentUpdateService } from '../../common/services/card-view-content-update.service';
|
|
3
|
-
import { NodesApiService } from '../../common/services/nodes-api.service';
|
|
4
|
-
import { TagService } from '../../tag/services/tag.service';
|
|
5
1
|
import * as i0 from "@angular/core";
|
|
6
2
|
export declare class NodeAspectService {
|
|
7
|
-
private nodesApiService;
|
|
8
|
-
private dialogAspectListService;
|
|
9
|
-
private cardViewContentUpdateService;
|
|
10
|
-
private tagService;
|
|
11
|
-
constructor(nodesApiService: NodesApiService, dialogAspectListService: DialogAspectListService, cardViewContentUpdateService: CardViewContentUpdateService, tagService: TagService);
|
|
3
|
+
private readonly nodesApiService;
|
|
4
|
+
private readonly dialogAspectListService;
|
|
5
|
+
private readonly cardViewContentUpdateService;
|
|
6
|
+
private readonly tagService;
|
|
12
7
|
updateNodeAspects(nodeId: string, selectorAutoFocusedOnClose?: string): void;
|
|
13
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NodeAspectService, never>;
|
|
14
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<NodeAspectService>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { AuthenticationService, BasicAlfrescoAuthService } from '@alfresco/adf-core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class ContentAuthLoaderService {
|
|
4
3
|
private readonly basicAlfrescoAuthService;
|
|
5
4
|
private readonly authService;
|
|
6
|
-
constructor(basicAlfrescoAuthService: BasicAlfrescoAuthService, authService: AuthenticationService);
|
|
7
5
|
init(): void;
|
|
8
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentAuthLoaderService, never>;
|
|
9
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<ContentAuthLoaderService>;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
17
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
18
18
|
import { MatSelect } from '@angular/material/select';
|
|
19
19
|
import { Node, PathElement } from '@alfresco/js-api';
|
|
20
20
|
import { DocumentListComponent } from '../document-list/components/document-list.component';
|
|
@@ -54,13 +54,15 @@ export declare class BreadcrumbComponent implements OnInit, OnChanges {
|
|
|
54
54
|
lastNodes: PathElement[];
|
|
55
55
|
route: PathElement[];
|
|
56
56
|
private readonly destroyRef;
|
|
57
|
+
private readonly liveAnnouncer;
|
|
58
|
+
private readonly translationService;
|
|
57
59
|
get hasRoot(): boolean;
|
|
58
60
|
/** If true, prevents the user from navigating away from the active node. */
|
|
59
61
|
readOnly: boolean;
|
|
60
62
|
/** Emitted when the user clicks on a breadcrumb. */
|
|
61
63
|
navigate: EventEmitter<PathElement>;
|
|
62
64
|
ngOnInit(): void;
|
|
63
|
-
ngOnChanges(): void;
|
|
65
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
64
66
|
protected recalculateNodes(): void;
|
|
65
67
|
open(): void;
|
|
66
68
|
hasPreviousNodes(): boolean;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
font-size: var(--theme-body-1-font-size);
|
|
6
6
|
font-weight: 600;
|
|
7
7
|
letter-spacing: -0.2px;
|
|
8
|
-
color: var(--adf-theme-foreground-text-color-
|
|
8
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
|
|
11
11
|
&-container {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
font-weight: 600;
|
|
76
76
|
letter-spacing: -0.2px;
|
|
77
77
|
text-align: left;
|
|
78
|
-
color: var(--adf-theme-foreground-text-color-
|
|
78
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
79
79
|
flex: 0 1 auto;
|
|
80
80
|
min-width: 35px;
|
|
81
81
|
margin-top: auto;
|
|
@@ -10,7 +10,7 @@ $dropdown-horizontal-offset: 30px;
|
|
|
10
10
|
font-size: var(--theme-body-1-font-size);
|
|
11
11
|
font-weight: 600;
|
|
12
12
|
letter-spacing: -0.2px;
|
|
13
|
-
color: var(--adf-theme-foreground-text-color-
|
|
13
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
margin-top: 10px;
|
|
16
16
|
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
CRUD
|
|
19
|
-
ASSIGN
|
|
20
|
-
}
|
|
17
|
+
export declare const CategoriesManagementMode: {
|
|
18
|
+
readonly CRUD: "CRUD";
|
|
19
|
+
readonly ASSIGN: "ASSIGN";
|
|
20
|
+
};
|
|
21
|
+
export type CategoriesManagementMode = (typeof CategoriesManagementMode)[keyof typeof CategoriesManagementMode];
|
|
@@ -19,7 +19,6 @@ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
|
19
19
|
import { FormControl } from '@angular/forms';
|
|
20
20
|
import { Observable } from 'rxjs';
|
|
21
21
|
import { CategoriesManagementMode } from './categories-management-mode';
|
|
22
|
-
import { CategoryService } from '../services/category.service';
|
|
23
22
|
import * as i0 from "@angular/core";
|
|
24
23
|
interface CategoryNameControlErrors {
|
|
25
24
|
duplicatedExistingCategory?: boolean;
|
|
@@ -30,11 +29,11 @@ interface CategoryNameControlErrors {
|
|
|
30
29
|
endsWithDot?: boolean;
|
|
31
30
|
}
|
|
32
31
|
export declare class CategoriesManagementComponent implements OnInit, OnDestroy {
|
|
33
|
-
private categoryService;
|
|
32
|
+
private readonly categoryService;
|
|
34
33
|
readonly nameErrorMessagesByErrors: Map<keyof CategoryNameControlErrors, string>;
|
|
35
|
-
private existingCategoryLoaded$;
|
|
36
|
-
private cancelExistingCategoriesLoading$;
|
|
37
|
-
private _categoryNameControl;
|
|
34
|
+
private readonly existingCategoryLoaded$;
|
|
35
|
+
private readonly cancelExistingCategoriesLoading$;
|
|
36
|
+
private readonly _categoryNameControl;
|
|
38
37
|
private _existingCategories;
|
|
39
38
|
private _categoryNameErrorMessageKey;
|
|
40
39
|
private _existingCategoriesLoading;
|
|
@@ -74,9 +73,8 @@ export declare class CategoriesManagementComponent implements OnInit, OnDestroy
|
|
|
74
73
|
categoriesChange: EventEmitter<Category[]>;
|
|
75
74
|
/** Emits when categoryNameControl visibility changes */
|
|
76
75
|
categoryNameControlVisibleChange: EventEmitter<boolean>;
|
|
77
|
-
private categoryNameInputElement;
|
|
76
|
+
private readonly categoryNameInputElement;
|
|
78
77
|
private readonly destroyRef;
|
|
79
|
-
constructor(categoryService: CategoryService);
|
|
80
78
|
ngOnInit(): void;
|
|
81
79
|
ngOnDestroy(): void;
|
|
82
80
|
get categoryNameControl(): FormControl<string>;
|
|
@@ -1,28 +1,11 @@
|
|
|
1
1
|
@use '../../mat-selectors.scss' as ms;
|
|
2
2
|
|
|
3
3
|
.adf-categories-management {
|
|
4
|
+
margin: 5px 0;
|
|
5
|
+
|
|
4
6
|
.adf-category-name-field {
|
|
5
7
|
display: flex;
|
|
6
8
|
flex-direction: column;
|
|
7
|
-
margin-right: 12px;
|
|
8
|
-
|
|
9
|
-
input {
|
|
10
|
-
background: var(--adf-metadata-buttons-background-color);
|
|
11
|
-
border-radius: 12px;
|
|
12
|
-
padding: 7px 8px;
|
|
13
|
-
border: none;
|
|
14
|
-
outline: none;
|
|
15
|
-
font: inherit;
|
|
16
|
-
color: currentcolor;
|
|
17
|
-
margin: 0;
|
|
18
|
-
vertical-align: bottom;
|
|
19
|
-
text-align: inherit;
|
|
20
|
-
box-sizing: content-box;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
#{ms.$mat-form-field-error} {
|
|
24
|
-
padding-top: 5px;
|
|
25
|
-
}
|
|
26
9
|
}
|
|
27
10
|
|
|
28
11
|
.adf-assigned-categories {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { TreeResponse, TreeService } from '../../tree';
|
|
2
2
|
import { CategoryNode } from '../models/category-node.interface';
|
|
3
|
-
import { CategoryService } from './category.service';
|
|
4
3
|
import { Observable } from 'rxjs';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class CategoryTreeDatasourceService extends TreeService<CategoryNode> {
|
|
7
|
-
private categoryService;
|
|
8
|
-
constructor(categoryService: CategoryService);
|
|
6
|
+
private readonly categoryService;
|
|
9
7
|
getSubNodes(parentNodeId: string, skipCount?: number, maxItems?: number, name?: string): Observable<TreeResponse<CategoryNode>>;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CategoryTreeDatasourceService, never>;
|
|
11
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<CategoryTreeDatasourceService>;
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { AppConfigService, UserPreferencesService } from '@alfresco/adf-core';
|
|
2
1
|
import { CategoriesApi, CategoryBody, CategoryEntry, CategoryLinkBody, CategoryPaging, ResultSetPaging, SearchApi } from '@alfresco/js-api';
|
|
3
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
4
2
|
import { Observable } from 'rxjs';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class CategoryService {
|
|
7
|
-
private apiService;
|
|
8
|
-
private userPreferencesService;
|
|
9
|
-
private appConfigService;
|
|
5
|
+
private readonly apiService;
|
|
6
|
+
private readonly userPreferencesService;
|
|
7
|
+
private readonly appConfigService;
|
|
10
8
|
private _categoriesApi;
|
|
11
9
|
private _searchApi;
|
|
12
10
|
get categoriesApi(): CategoriesApi;
|
|
13
11
|
get searchApi(): SearchApi;
|
|
14
|
-
constructor(apiService: AlfrescoApiService, userPreferencesService: UserPreferencesService, appConfigService: AppConfigService);
|
|
15
12
|
/**
|
|
16
13
|
* Get subcategories of a given parent category
|
|
17
14
|
*
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { Observable } from 'rxjs';
|
|
18
|
+
import { NodeEntry } from '@alfresco/js-api';
|
|
19
|
+
import { SavedSearch } from './saved-search.interface';
|
|
20
|
+
/**
|
|
21
|
+
* Contract that describes the public API for saved searches strategy.
|
|
22
|
+
* Implemented by both the new and legacy SavedSearches services so callers
|
|
23
|
+
* can depend on the same shape.
|
|
24
|
+
*/
|
|
25
|
+
export interface SavedSearchStrategy {
|
|
26
|
+
savedSearches$: Observable<SavedSearch[]>;
|
|
27
|
+
init(): void;
|
|
28
|
+
/**
|
|
29
|
+
* Gets a list of saved searches by user.
|
|
30
|
+
*
|
|
31
|
+
* @returns SavedSearch list containing user saved searches
|
|
32
|
+
*/
|
|
33
|
+
getSavedSearches(): Observable<SavedSearch[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Saves a new search into state and updates state. If there are less than 5 searches,
|
|
36
|
+
* it will be pushed on first place, if more it will be pushed to 6th place.
|
|
37
|
+
*
|
|
38
|
+
* @param newSaveSearch object { name: string, description: string, encodedUrl: string }
|
|
39
|
+
* @returns NodeEntry
|
|
40
|
+
*/
|
|
41
|
+
saveSearch(newSaveSearch: Pick<SavedSearch, 'name' | 'description' | 'encodedUrl'>): Observable<NodeEntry>;
|
|
42
|
+
/**
|
|
43
|
+
* Replace Save Search with new one and also updates the state.
|
|
44
|
+
*
|
|
45
|
+
* @param updatedSavedSearch - updated Save Search
|
|
46
|
+
* @returns NodeEntry
|
|
47
|
+
*/
|
|
48
|
+
editSavedSearch(updatedSavedSearch: SavedSearch): Observable<NodeEntry>;
|
|
49
|
+
/**
|
|
50
|
+
* Deletes Save Search and update state.
|
|
51
|
+
*
|
|
52
|
+
* @param deletedSavedSearch - Save Search to delete
|
|
53
|
+
* @returns NodeEntry
|
|
54
|
+
*/
|
|
55
|
+
deleteSavedSearch(deletedSavedSearch: SavedSearch): Observable<NodeEntry>;
|
|
56
|
+
/**
|
|
57
|
+
* Reorders saved search place
|
|
58
|
+
*
|
|
59
|
+
* @param previousIndex - previous index of saved search
|
|
60
|
+
* @param currentIndex - new index of saved search
|
|
61
|
+
*/
|
|
62
|
+
changeOrder(previousIndex: number, currentIndex: number): void;
|
|
63
|
+
}
|
|
@@ -70,16 +70,17 @@ export declare class FileUploadOptions {
|
|
|
70
70
|
*/
|
|
71
71
|
versioningEnabled?: boolean;
|
|
72
72
|
}
|
|
73
|
-
export declare
|
|
74
|
-
Pending
|
|
75
|
-
Complete
|
|
76
|
-
Starting
|
|
77
|
-
Progress
|
|
78
|
-
Cancelled
|
|
79
|
-
Aborted
|
|
80
|
-
Error
|
|
81
|
-
Deleted
|
|
82
|
-
}
|
|
73
|
+
export declare const FileUploadStatus: {
|
|
74
|
+
readonly Pending: 0;
|
|
75
|
+
readonly Complete: 1;
|
|
76
|
+
readonly Starting: 2;
|
|
77
|
+
readonly Progress: 3;
|
|
78
|
+
readonly Cancelled: 4;
|
|
79
|
+
readonly Aborted: 5;
|
|
80
|
+
readonly Error: 6;
|
|
81
|
+
readonly Deleted: 7;
|
|
82
|
+
};
|
|
83
|
+
export type FileUploadStatus = (typeof FileUploadStatus)[keyof typeof FileUploadStatus];
|
|
83
84
|
export declare class FileModel {
|
|
84
85
|
readonly name: string;
|
|
85
86
|
readonly size: number;
|
|
@@ -24,6 +24,8 @@ export * from './services/discovery-api.service';
|
|
|
24
24
|
export * from './services/people-content.service';
|
|
25
25
|
export * from './services/content.service';
|
|
26
26
|
export * from './services/saved-searches.service';
|
|
27
|
+
export * from './services/saved-searches-legacy.service';
|
|
28
|
+
export * from './services/saved-searches-base.service';
|
|
27
29
|
export * from './events/file.event';
|
|
28
30
|
export * from './models/ecm-user.model';
|
|
29
31
|
export * from './models/ecm-company.model';
|
|
@@ -33,4 +35,4 @@ export * from './models/permissions.enum';
|
|
|
33
35
|
export * from './models/allowable-operations.enum';
|
|
34
36
|
export * from './interfaces/search-configuration.interface';
|
|
35
37
|
export * from './interfaces/saved-search.interface';
|
|
36
|
-
export * from './
|
|
38
|
+
export * from './interfaces/saved-searches-strategy.interface';
|
|
@@ -14,16 +14,15 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { UpdateNotification, CardViewBaseItemModel
|
|
17
|
+
import { UpdateNotification, CardViewBaseItemModel } from '@alfresco/adf-core';
|
|
18
18
|
import { Node } from '@alfresco/js-api';
|
|
19
19
|
import { Subject } from 'rxjs';
|
|
20
|
-
import { BaseCardViewContentUpdate } from '../../interfaces/base-card-view-content-update.interface';
|
|
21
20
|
import * as i0 from "@angular/core";
|
|
22
|
-
export declare class CardViewContentUpdateService
|
|
23
|
-
private cardViewUpdateService;
|
|
21
|
+
export declare class CardViewContentUpdateService {
|
|
22
|
+
private readonly cardViewUpdateService;
|
|
24
23
|
itemUpdated$: Subject<UpdateNotification>;
|
|
25
24
|
updatedAspect$: Subject<Node>;
|
|
26
|
-
constructor(
|
|
25
|
+
constructor();
|
|
27
26
|
update(property: CardViewBaseItemModel, newValue: any): void;
|
|
28
27
|
updateElement(notification: CardViewBaseItemModel): void;
|
|
29
28
|
updateNodeAspect(node: Node): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContentApi, Node, NodeEntry } from '@alfresco/js-api';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
|
-
import { AuthenticationService
|
|
3
|
+
import { AuthenticationService } from '@alfresco/adf-core';
|
|
4
4
|
import { PermissionsEnum } from '../models/permissions.enum';
|
|
5
5
|
import { AllowableOperationsEnum } from '../models/allowable-operations.enum';
|
|
6
6
|
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
@@ -14,13 +14,12 @@ export interface FolderCreatedEvent {
|
|
|
14
14
|
export declare class ContentService {
|
|
15
15
|
authService: AuthenticationService;
|
|
16
16
|
apiService: AlfrescoApiService;
|
|
17
|
-
private thumbnailService
|
|
17
|
+
private readonly thumbnailService;
|
|
18
18
|
folderCreated: Subject<FolderCreatedEvent>;
|
|
19
19
|
folderCreate: Subject<Node>;
|
|
20
20
|
folderEdit: Subject<Node>;
|
|
21
21
|
private _contentApi;
|
|
22
22
|
get contentApi(): ContentApi;
|
|
23
|
-
constructor(authService: AuthenticationService, apiService: AlfrescoApiService, thumbnailService?: ThumbnailService);
|
|
24
23
|
/**
|
|
25
24
|
* Gets a content URL for the given node.
|
|
26
25
|
*
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Observable, Subject } from 'rxjs';
|
|
2
|
-
import { RepositoryInfo, SystemPropertiesRepresentation, DiscoveryApi } from '@alfresco/js-api';
|
|
3
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
4
|
-
import { BpmProductVersionModel, AuthenticationService } from '@alfresco/adf-core';
|
|
2
|
+
import { RepositoryInfo, SystemPropertiesRepresentation, DiscoveryApi, BpmProductVersionModel } from '@alfresco/js-api';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class DiscoveryApiService {
|
|
7
5
|
private readonly authenticationService;
|
|
@@ -12,7 +10,7 @@ export declare class DiscoveryApiService {
|
|
|
12
10
|
* Gets product information for Content Services.
|
|
13
11
|
*/
|
|
14
12
|
ecmProductInfo$: Subject<RepositoryInfo>;
|
|
15
|
-
constructor(
|
|
13
|
+
constructor();
|
|
16
14
|
/**
|
|
17
15
|
* Gets product information for Content Services.
|
|
18
16
|
*
|
|
@@ -20,6 +18,7 @@ export declare class DiscoveryApiService {
|
|
|
20
18
|
*/
|
|
21
19
|
getEcmProductInfo(): Observable<RepositoryInfo>;
|
|
22
20
|
/**
|
|
21
|
+
* @deprecated since 8.3.0 this method is no longer used, and will be removed in the next major release.
|
|
23
22
|
* Gets product information for Process Services.
|
|
24
23
|
*
|
|
25
24
|
* @returns ProductVersionModel containing product details
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { FavoritesApi, NodePaging, FavoritePaging } from '@alfresco/js-api';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
4
|
-
import { UserPreferencesService } from '@alfresco/adf-core';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class FavoritesApiService {
|
|
7
|
-
private apiService;
|
|
8
|
-
private preferences;
|
|
5
|
+
private readonly apiService;
|
|
6
|
+
private readonly preferences;
|
|
9
7
|
private _favoritesApi;
|
|
10
8
|
get favoritesApi(): FavoritesApi;
|
|
11
9
|
static remapEntry({ entry }: any): any;
|
|
12
|
-
constructor(apiService: AlfrescoApiService, preferences: UserPreferencesService);
|
|
13
10
|
remapFavoritesData(data?: FavoritePaging): NodePaging;
|
|
14
11
|
remapFavoriteEntries(entries: any[]): any[];
|
|
15
12
|
/**
|
|
@@ -1,28 +1,10 @@
|
|
|
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 { UserPreferencesService } from '@alfresco/adf-core';
|
|
18
|
-
import { ContentPagingQuery, Node, NodeAssignedHold, NodeEntry, NodePaging, NodesApi, NodesIncludeQuery, TrashcanApi, SizeDetailsEntry, JobIdBodyEntry } from '@alfresco/js-api';
|
|
1
|
+
import { ContentPagingQuery, Node, NodeAssignedHold, NodeEntry, NodePaging, NodesApi, NodesIncludeQuery, TrashcanApi, SizeDetailsEntry, JobIdBodyEntry, NodeAssociationPaging } from '@alfresco/js-api';
|
|
19
2
|
import { Observable, Subject } from 'rxjs';
|
|
20
3
|
import { NodeMetadata } from '../models/node-metadata.model';
|
|
21
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
22
4
|
import * as i0 from "@angular/core";
|
|
23
5
|
export declare class NodesApiService {
|
|
24
|
-
private apiService;
|
|
25
|
-
private preferences;
|
|
6
|
+
private readonly apiService;
|
|
7
|
+
private readonly preferences;
|
|
26
8
|
/**
|
|
27
9
|
* Publish/subscribe to events related to node updates.
|
|
28
10
|
*/
|
|
@@ -31,7 +13,6 @@ export declare class NodesApiService {
|
|
|
31
13
|
get trashcanApi(): TrashcanApi;
|
|
32
14
|
private _nodesApi;
|
|
33
15
|
get nodesApi(): NodesApi;
|
|
34
|
-
constructor(apiService: AlfrescoApiService, preferences: UserPreferencesService);
|
|
35
16
|
private getEntryFromEntity;
|
|
36
17
|
/**
|
|
37
18
|
* Gets the stored information about a node.
|
|
@@ -152,6 +133,17 @@ export declare class NodesApiService {
|
|
|
152
133
|
* @returns Folder details
|
|
153
134
|
*/
|
|
154
135
|
getFolderSizeInfo(nodeId: string, jobId: string): Observable<SizeDetailsEntry>;
|
|
136
|
+
/**
|
|
137
|
+
* Lists parents of a given node.
|
|
138
|
+
*
|
|
139
|
+
* @param nodeId Node ID
|
|
140
|
+
* @param opts Optional parameters
|
|
141
|
+
* @returns List of parent nodes
|
|
142
|
+
*/
|
|
143
|
+
listParents(nodeId: string, opts?: {
|
|
144
|
+
where?: string;
|
|
145
|
+
includeSource?: boolean;
|
|
146
|
+
} & NodesIncludeQuery & ContentPagingQuery): Observable<NodeAssociationPaging>;
|
|
155
147
|
private randomNodeName;
|
|
156
148
|
private cleanMetadataFromSemicolon;
|
|
157
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<NodesApiService, never>;
|