@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
|
@@ -17,22 +17,20 @@
|
|
|
17
17
|
import { InjectionToken } from '@angular/core';
|
|
18
18
|
import { AlfrescoApi, AlfrescoApiConfig } from '@alfresco/js-api';
|
|
19
19
|
import { ReplaySubject } from 'rxjs';
|
|
20
|
-
import { AlfrescoApiFactory } from './alfresco-api.interface';
|
|
21
20
|
import { AppConfigService, OpenidConfiguration, StorageService } from '@alfresco/adf-core';
|
|
22
21
|
import * as i0 from "@angular/core";
|
|
23
22
|
export declare const ALFRESCO_API_FACTORY: InjectionToken<unknown>;
|
|
24
23
|
export declare class AlfrescoApiService {
|
|
25
24
|
protected appConfig: AppConfigService;
|
|
26
25
|
protected storageService: StorageService;
|
|
27
|
-
private alfrescoApiFactory
|
|
26
|
+
private readonly alfrescoApiFactory;
|
|
28
27
|
alfrescoApiInitialized: ReplaySubject<boolean>;
|
|
29
28
|
protected alfrescoApi: AlfrescoApi;
|
|
30
29
|
lastConfig: AlfrescoApiConfig;
|
|
31
30
|
currentAppConfig: AlfrescoApiConfig;
|
|
32
31
|
idpConfig: OpenidConfiguration;
|
|
33
|
-
private excludedErrorUrl;
|
|
32
|
+
private readonly excludedErrorUrl;
|
|
34
33
|
getInstance(): AlfrescoApi;
|
|
35
|
-
constructor(appConfig: AppConfigService, storageService: StorageService, alfrescoApiFactory?: AlfrescoApiFactory);
|
|
36
34
|
load(config: AlfrescoApiConfig): Promise<void>;
|
|
37
35
|
reset(): Promise<void>;
|
|
38
36
|
private getAuthWithFixedOriginLocation;
|
|
@@ -43,6 +41,6 @@ export declare class AlfrescoApiService {
|
|
|
43
41
|
createInstance(config: AlfrescoApiConfig): AlfrescoApi;
|
|
44
42
|
isDifferentConfig(lastConfig: AlfrescoApiConfig, newConfig: AlfrescoApiConfig): boolean;
|
|
45
43
|
isExcludedErrorListener(currentFullPath: string): boolean;
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlfrescoApiService,
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlfrescoApiService, never>;
|
|
47
45
|
static ɵprov: i0.ɵɵInjectableDeclaration<AlfrescoApiService>;
|
|
48
46
|
}
|
|
@@ -1,34 +1,15 @@
|
|
|
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 { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
18
|
-
import { AppConfigService, UserPreferencesService } from '@alfresco/adf-core';
|
|
19
1
|
import { EventEmitter } from '@angular/core';
|
|
20
2
|
import { Observable } from 'rxjs';
|
|
21
3
|
import { TagBody, TagEntry, TagPaging, TagsApi } from '@alfresco/js-api';
|
|
22
4
|
import * as i0 from "@angular/core";
|
|
23
5
|
export declare class TagService {
|
|
24
|
-
private apiService;
|
|
25
|
-
private userPreferencesService;
|
|
26
|
-
private appConfigService;
|
|
6
|
+
private readonly apiService;
|
|
7
|
+
private readonly userPreferencesService;
|
|
8
|
+
private readonly appConfigService;
|
|
27
9
|
private _tagsApi;
|
|
28
10
|
get tagsApi(): TagsApi;
|
|
29
11
|
/** Emitted when tag information is updated. */
|
|
30
12
|
refresh: EventEmitter<any>;
|
|
31
|
-
constructor(apiService: AlfrescoApiService, userPreferencesService: UserPreferencesService, appConfigService: AppConfigService);
|
|
32
13
|
/**
|
|
33
14
|
* Gets a list of tags added to a node.
|
|
34
15
|
*
|
|
@@ -1,30 +1,12 @@
|
|
|
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 { TranslationService } from '@alfresco/adf-core';
|
|
18
1
|
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
19
|
-
import { TagService } from '../services/tag.service';
|
|
20
2
|
import * as i0 from "@angular/core";
|
|
21
3
|
/**
|
|
22
4
|
*
|
|
23
5
|
* This component, provide a list of the tags relative a node with actions button to add or remove new tag
|
|
24
6
|
*/
|
|
25
7
|
export declare class TagActionsComponent implements OnChanges, OnInit {
|
|
26
|
-
private tagService;
|
|
27
|
-
private translateService;
|
|
8
|
+
private readonly tagService;
|
|
9
|
+
private readonly translateService;
|
|
28
10
|
/** The identifier of a node. */
|
|
29
11
|
nodeId: string;
|
|
30
12
|
/** Emitted when a tag is added successfully. */
|
|
@@ -38,7 +20,6 @@ export declare class TagActionsComponent implements OnChanges, OnInit {
|
|
|
38
20
|
errorMsg: string;
|
|
39
21
|
disableAddTag: boolean;
|
|
40
22
|
private readonly destroyRef;
|
|
41
|
-
constructor(tagService: TagService, translateService: TranslationService);
|
|
42
23
|
ngOnInit(): void;
|
|
43
24
|
ngOnChanges(): void;
|
|
44
25
|
refreshTag(): void;
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
18
|
-
import { TagService } from '../services/tag.service';
|
|
19
18
|
import { PaginationModel } from '@alfresco/adf-core';
|
|
20
19
|
import { TagEntry } from '@alfresco/js-api';
|
|
21
20
|
import * as i0 from "@angular/core";
|
|
@@ -23,7 +22,7 @@ import * as i0 from "@angular/core";
|
|
|
23
22
|
* This component provide a list of all the tag inside the ECM
|
|
24
23
|
*/
|
|
25
24
|
export declare class TagListComponent implements OnInit {
|
|
26
|
-
private tagService;
|
|
25
|
+
private readonly tagService;
|
|
27
26
|
/** Emitted when a tag is selected. */
|
|
28
27
|
result: EventEmitter<any>;
|
|
29
28
|
/**
|
|
@@ -38,7 +37,7 @@ export declare class TagListComponent implements OnInit {
|
|
|
38
37
|
pagination: PaginationModel;
|
|
39
38
|
isLoading: boolean;
|
|
40
39
|
isSizeMinimum: boolean;
|
|
41
|
-
constructor(
|
|
40
|
+
constructor();
|
|
42
41
|
ngOnInit(): void;
|
|
43
42
|
refreshTag(opts?: any): void;
|
|
44
43
|
loadMoreTags(): void;
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
18
|
-
import { TagService } from '../services/tag.service';
|
|
19
18
|
import { TagEntry } from '@alfresco/js-api';
|
|
20
19
|
import { Chip } from '@alfresco/adf-core';
|
|
21
20
|
import * as i0 from "@angular/core";
|
|
@@ -24,7 +23,7 @@ import * as i0 from "@angular/core";
|
|
|
24
23
|
* This component, ShowNodeTag a list of the tag on relative a node
|
|
25
24
|
*/
|
|
26
25
|
export declare class TagNodeListComponent implements OnChanges, OnInit {
|
|
27
|
-
private tagService;
|
|
26
|
+
private readonly tagService;
|
|
28
27
|
/** The identifier of a node. */
|
|
29
28
|
nodeId: string;
|
|
30
29
|
/** Show delete button */
|
|
@@ -36,7 +35,6 @@ export declare class TagNodeListComponent implements OnChanges, OnInit {
|
|
|
36
35
|
private _tagChips;
|
|
37
36
|
get tagChips(): Chip[];
|
|
38
37
|
private readonly destroyRef;
|
|
39
|
-
constructor(tagService: TagService);
|
|
40
38
|
ngOnChanges(): void;
|
|
41
39
|
ngOnInit(): void;
|
|
42
40
|
refreshTag(): void;
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
* Create mode allows only for creating completely new tags.
|
|
20
20
|
* Create and Assign mode allows for both - creation of new tags and selection of existing tags.
|
|
21
21
|
*/
|
|
22
|
-
export declare
|
|
23
|
-
CREATE
|
|
24
|
-
CREATE_AND_ASSIGN
|
|
25
|
-
}
|
|
22
|
+
export declare const TagsCreatorMode: {
|
|
23
|
+
readonly CREATE: "CREATE";
|
|
24
|
+
readonly CREATE_AND_ASSIGN: "CREATE_AND_ASSIGN";
|
|
25
|
+
};
|
|
26
|
+
export type TagsCreatorMode = (typeof TagsCreatorMode)[keyof typeof TagsCreatorMode];
|
|
@@ -14,11 +14,10 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { Chip
|
|
17
|
+
import { Chip } from '@alfresco/adf-core';
|
|
18
18
|
import { TagEntry } from '@alfresco/js-api';
|
|
19
19
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
20
20
|
import { FormControl } from '@angular/forms';
|
|
21
|
-
import { TagService } from '../services/tag.service';
|
|
22
21
|
import { TagsCreatorMode } from './tags-creator-mode';
|
|
23
22
|
import * as i0 from "@angular/core";
|
|
24
23
|
interface TagNameControlErrors {
|
|
@@ -31,8 +30,8 @@ interface TagNameControlErrors {
|
|
|
31
30
|
* Allows to create multiple tags. That component contains input and two lists. Top list is all created tags, bottom list is searched tags based on input's value.
|
|
32
31
|
*/
|
|
33
32
|
export declare class TagsCreatorComponent implements OnInit, OnDestroy {
|
|
34
|
-
private tagService;
|
|
35
|
-
private notificationService;
|
|
33
|
+
private readonly tagService;
|
|
34
|
+
private readonly notificationService;
|
|
36
35
|
/**
|
|
37
36
|
* Mode for component.
|
|
38
37
|
* In Create mode we can't select existing tags, we can only create them.
|
|
@@ -68,9 +67,9 @@ export declare class TagsCreatorComponent implements OnInit, OnDestroy {
|
|
|
68
67
|
tagsToDisplay: Chip[];
|
|
69
68
|
readonly nameErrorMessagesByErrors: Map<keyof TagNameControlErrors, string>;
|
|
70
69
|
private readonly existingTagsListLimit;
|
|
71
|
-
private exactTagSet$;
|
|
70
|
+
private readonly exactTagSet$;
|
|
72
71
|
private _tags;
|
|
73
|
-
private _tagNameControl;
|
|
72
|
+
private readonly _tagNameControl;
|
|
74
73
|
private _tagNameControlVisible;
|
|
75
74
|
private _existingTags;
|
|
76
75
|
private _initialExistingTags;
|
|
@@ -78,13 +77,12 @@ export declare class TagsCreatorComponent implements OnInit, OnDestroy {
|
|
|
78
77
|
private _spinnerVisible;
|
|
79
78
|
private _typing;
|
|
80
79
|
private _tagsListScrollbarVisible;
|
|
81
|
-
private cancelExistingTagsLoading$;
|
|
80
|
+
private readonly cancelExistingTagsLoading$;
|
|
82
81
|
private existingExactTag;
|
|
83
82
|
private _existingTagsPanelVisible;
|
|
84
|
-
private tagsListElement;
|
|
85
|
-
private tagNameInputElement;
|
|
83
|
+
private readonly tagsListElement;
|
|
84
|
+
private readonly tagNameInputElement;
|
|
86
85
|
private readonly destroyRef;
|
|
87
|
-
constructor(tagService: TagService, notificationService: NotificationService);
|
|
88
86
|
ngOnInit(): void;
|
|
89
87
|
ngOnDestroy(): void;
|
|
90
88
|
get hostClass(): boolean;
|
|
@@ -13,21 +13,10 @@ adf-tags-creator {
|
|
|
13
13
|
.adf-tag-name-field[hidden] {
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
|
-
margin-right: 12px;
|
|
17
16
|
}
|
|
18
17
|
|
|
19
|
-
.adf-tag-
|
|
20
|
-
|
|
21
|
-
border-radius: 12px;
|
|
22
|
-
padding: 5px 6px;
|
|
23
|
-
border: none;
|
|
24
|
-
outline: none;
|
|
25
|
-
font: inherit;
|
|
26
|
-
color: currentcolor;
|
|
27
|
-
margin: 0;
|
|
28
|
-
vertical-align: bottom;
|
|
29
|
-
text-align: inherit;
|
|
30
|
-
box-sizing: content-box;
|
|
18
|
+
.adf-tag-name-field {
|
|
19
|
+
margin-top: 10px;
|
|
31
20
|
}
|
|
32
21
|
|
|
33
22
|
.adf-create-tag-label {
|
|
@@ -18,14 +18,14 @@ import { EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angula
|
|
|
18
18
|
import { Observable } from 'rxjs';
|
|
19
19
|
import { TreeNode } from '../models/tree-node.interface';
|
|
20
20
|
import { TreeService } from '../services/tree.service';
|
|
21
|
-
import { PaginationModel
|
|
21
|
+
import { PaginationModel } from '@alfresco/adf-core';
|
|
22
22
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
23
23
|
import { MatCheckbox } from '@angular/material/checkbox';
|
|
24
24
|
import { TreeContextMenuResult } from '../models/tree-context-menu-result.interface';
|
|
25
25
|
import * as i0 from "@angular/core";
|
|
26
26
|
export declare class TreeComponent<T extends TreeNode> implements OnInit, OnDestroy {
|
|
27
27
|
treeService: TreeService<T>;
|
|
28
|
-
private userPreferenceService;
|
|
28
|
+
private readonly userPreferenceService;
|
|
29
29
|
/** TemplateRef to provide empty template when no nodes are loaded */
|
|
30
30
|
emptyContentTemplate: TemplateRef<any>;
|
|
31
31
|
/** TemplateRef to provide context menu items for context menu displayed on each row*/
|
|
@@ -47,13 +47,12 @@ export declare class TreeComponent<T extends TreeNode> implements OnInit, OnDest
|
|
|
47
47
|
/** Emitted when any context menu option is selected */
|
|
48
48
|
contextMenuOptionSelected: EventEmitter<TreeContextMenuResult<T>>;
|
|
49
49
|
nodeCheckboxes: QueryList<MatCheckbox>;
|
|
50
|
-
private loadingRootSource;
|
|
50
|
+
private readonly loadingRootSource;
|
|
51
51
|
private _contextMenuSource;
|
|
52
52
|
private _contextMenuOptions;
|
|
53
|
-
private contextMenuOptionsChanged$;
|
|
53
|
+
private readonly contextMenuOptionsChanged$;
|
|
54
54
|
loadingRoot$: Observable<boolean>;
|
|
55
55
|
treeNodesSelection: SelectionModel<T>;
|
|
56
|
-
constructor(treeService: TreeService<T>, userPreferenceService: UserPreferencesService);
|
|
57
56
|
set contextMenuSource(contextMenuSource: T);
|
|
58
57
|
/** Array of context menu options which should be displayed for each row. */
|
|
59
58
|
set contextMenuOptions(contextMenuOptions: any[]);
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
RegularNode
|
|
19
|
-
LoadMoreNode
|
|
20
|
-
}
|
|
17
|
+
export declare const TreeNodeType: {
|
|
18
|
+
readonly RegularNode: "RegularNode";
|
|
19
|
+
readonly LoadMoreNode: "LoadMoreNode";
|
|
20
|
+
};
|
|
21
|
+
export type TreeNodeType = (typeof TreeNodeType)[keyof typeof TreeNodeType];
|
|
21
22
|
export interface TreeNode {
|
|
22
23
|
id: string;
|
|
23
24
|
nodeName: string;
|
|
@@ -18,11 +18,11 @@ import { FlatTreeControl } from '@angular/cdk/tree';
|
|
|
18
18
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
19
19
|
import { TreeBaseNode } from '../models/tree-view.model';
|
|
20
20
|
import { TreeViewDataSource } from '../data/tree-view-datasource';
|
|
21
|
-
import { TreeViewService } from '../services/tree-view.service';
|
|
22
21
|
import { NodeEntry } from '@alfresco/js-api';
|
|
23
22
|
import * as i0 from "@angular/core";
|
|
24
23
|
export declare class TreeViewComponent implements OnChanges {
|
|
25
|
-
private treeViewService;
|
|
24
|
+
private readonly treeViewService;
|
|
25
|
+
private readonly injector;
|
|
26
26
|
/** Identifier of the node to display. */
|
|
27
27
|
nodeId: string;
|
|
28
28
|
/** Emitted when a node in the tree view is clicked. */
|
|
@@ -31,7 +31,7 @@ export declare class TreeViewComponent implements OnChanges {
|
|
|
31
31
|
error: EventEmitter<any>;
|
|
32
32
|
treeControl: FlatTreeControl<TreeBaseNode>;
|
|
33
33
|
dataSource: TreeViewDataSource;
|
|
34
|
-
constructor(
|
|
34
|
+
constructor();
|
|
35
35
|
ngOnChanges(changes: SimpleChanges): void;
|
|
36
36
|
onNodeClicked(node: NodeEntry): void;
|
|
37
37
|
getLevel: (node: TreeBaseNode) => number;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { CollectionViewer } from '@angular/cdk/collections';
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
4
3
|
import { TreeBaseNode } from '../models/tree-view.model';
|
|
5
|
-
import { TreeViewService } from '../services/tree-view.service';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class TreeViewDataSource {
|
|
8
|
-
private treeControl;
|
|
9
|
-
private treeViewService;
|
|
6
|
+
private readonly treeControl;
|
|
7
|
+
private readonly treeViewService;
|
|
10
8
|
treeNodes: TreeBaseNode[];
|
|
11
9
|
dataChange: BehaviorSubject<TreeBaseNode[]>;
|
|
12
10
|
childrenSubscription: any;
|
|
13
11
|
changeSubscription: any;
|
|
14
12
|
get data(): TreeBaseNode[];
|
|
15
13
|
set data(value: TreeBaseNode[]);
|
|
16
|
-
constructor(
|
|
14
|
+
constructor();
|
|
17
15
|
connect(collectionViewer: CollectionViewer): Observable<TreeBaseNode[]>;
|
|
18
16
|
disconnect(): void;
|
|
19
17
|
private expandTreeNodes;
|
|
@@ -2,7 +2,7 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { TreeBaseNode } from '../models/tree-view.model';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TreeViewService {
|
|
5
|
-
private nodeApi;
|
|
5
|
+
private readonly nodeApi;
|
|
6
6
|
getTreeNodes(nodeId: string): Observable<TreeBaseNode[]>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewService, never>;
|
|
8
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<TreeViewService>;
|
|
@@ -1,30 +1,12 @@
|
|
|
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 { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
19
2
|
import { FileUploadingListComponent } from './file-uploading-list.component';
|
|
20
|
-
import { UploadService } from '../../common/services/upload.service';
|
|
21
3
|
import { FileModel } from '../../common/models/file.model';
|
|
22
4
|
import * as i0 from "@angular/core";
|
|
23
5
|
export declare class FileUploadingDialogComponent implements OnInit, OnDestroy {
|
|
24
|
-
private uploadService;
|
|
25
|
-
private changeDetector;
|
|
26
|
-
private userPreferencesService;
|
|
27
|
-
private
|
|
6
|
+
private readonly uploadService;
|
|
7
|
+
private readonly changeDetector;
|
|
8
|
+
private readonly userPreferencesService;
|
|
9
|
+
private readonly uploadDialogRef;
|
|
28
10
|
/** Dialog direction. Can be 'ltr' or 'rtl. */
|
|
29
11
|
private direction;
|
|
30
12
|
uploadList: FileUploadingListComponent;
|
|
@@ -42,9 +24,8 @@ export declare class FileUploadingDialogComponent implements OnInit, OnDestroy {
|
|
|
42
24
|
totalErrors: number;
|
|
43
25
|
isDialogMinimized: boolean;
|
|
44
26
|
isConfirmation: boolean;
|
|
45
|
-
private dialogActive;
|
|
27
|
+
private readonly dialogActive;
|
|
46
28
|
private readonly destroyRef;
|
|
47
|
-
constructor(uploadService: UploadService, changeDetector: ChangeDetectorRef, userPreferencesService: UserPreferencesService, elementRef: ElementRef);
|
|
48
29
|
ngOnInit(): void;
|
|
49
30
|
/**
|
|
50
31
|
* Toggle confirmation message.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* stylelint-disable no-descending-specificity */
|
|
2
2
|
.adf-upload-dialog {
|
|
3
3
|
background: var(--adf-theme-background-dialog-color);
|
|
4
|
-
color: var(--adf-theme-foreground-text-color-
|
|
4
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
5
5
|
position: fixed;
|
|
6
6
|
bottom: 20px;
|
|
7
7
|
width: 40%;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
width: 24px;
|
|
37
37
|
padding: 0;
|
|
38
38
|
line-height: 0;
|
|
39
|
-
color: var(--adf-theme-foreground-text-color-
|
|
39
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -17,10 +17,20 @@
|
|
|
17
17
|
import { FileModel } from '../../common/models/file.model';
|
|
18
18
|
import { EventEmitter } from '@angular/core';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
|
+
interface ToggleIconState {
|
|
21
|
+
isFocused: boolean;
|
|
22
|
+
isToggled: boolean;
|
|
23
|
+
}
|
|
20
24
|
export declare class FileUploadingListRowComponent {
|
|
21
25
|
file: FileModel;
|
|
22
26
|
cancel: EventEmitter<FileModel>;
|
|
27
|
+
toggleIconState: ToggleIconState;
|
|
28
|
+
toggleIconCancelState: ToggleIconState;
|
|
23
29
|
onCancel(file: FileModel): void;
|
|
30
|
+
onToggleMouseEnter(state: ToggleIconState): void;
|
|
31
|
+
onToggleMouseLeave(state: ToggleIconState): void;
|
|
32
|
+
onToggleFocus(state: ToggleIconState): void;
|
|
33
|
+
onToggleBlur(state: ToggleIconState): void;
|
|
24
34
|
showCancelledStatus(): boolean;
|
|
25
35
|
get versionNumber(): string;
|
|
26
36
|
get mimeType(): string;
|
|
@@ -30,6 +40,8 @@ export declare class FileUploadingListRowComponent {
|
|
|
30
40
|
isUploading(): boolean;
|
|
31
41
|
isUploadComplete(): boolean;
|
|
32
42
|
isUploadVersionComplete(): boolean;
|
|
43
|
+
getFileUploadErrorKey(errorCode?: number | null): string;
|
|
33
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadingListRowComponent, never>;
|
|
34
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadingListRowComponent, "adf-file-uploading-list-row", never, { "file": { "alias": "file"; "required": false; }; }, { "cancel": "cancel"; }, never, never, true, never>;
|
|
35
46
|
}
|
|
47
|
+
export {};
|
|
@@ -1,32 +1,13 @@
|
|
|
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 { TranslationService } from '@alfresco/adf-core';
|
|
18
|
-
import { UploadService } from '../../common/services/upload.service';
|
|
19
1
|
import { FileModel } from '../../common/models/file.model';
|
|
20
2
|
import { EventEmitter } from '@angular/core';
|
|
21
3
|
import * as i0 from "@angular/core";
|
|
22
4
|
export declare class FileUploadingListComponent {
|
|
23
|
-
private uploadService;
|
|
24
|
-
private translateService;
|
|
5
|
+
private readonly uploadService;
|
|
6
|
+
private readonly translateService;
|
|
25
7
|
template: any;
|
|
26
8
|
files: FileModel[];
|
|
27
9
|
/** Emitted when a file in the list has an error. */
|
|
28
10
|
error: EventEmitter<any>;
|
|
29
|
-
constructor(uploadService: UploadService, translateService: TranslationService);
|
|
30
11
|
/**
|
|
31
12
|
* Cancel file upload
|
|
32
13
|
*
|
|
@@ -4,11 +4,10 @@ import { Node } from '@alfresco/js-api';
|
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
import { PermissionModel } from '../../document-list/models/permissions.model';
|
|
6
6
|
import { UploadBase } from './base-upload/upload-base';
|
|
7
|
-
import { NodeAllowableOperationSubject } from '../../interfaces/node-allowable-operation-subject.interface';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class UploadButtonComponent extends UploadBase implements OnInit, OnChanges
|
|
10
|
-
private contentService;
|
|
11
|
-
private nodesApiService;
|
|
8
|
+
export declare class UploadButtonComponent extends UploadBase implements OnInit, OnChanges {
|
|
9
|
+
private readonly contentService;
|
|
10
|
+
private readonly nodesApiService;
|
|
12
11
|
/** Allows/disallows upload folders (only for Chrome). */
|
|
13
12
|
uploadFolders: boolean;
|
|
14
13
|
/** Allows/disallows multiple files */
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { NodeAllowableOperationSubject } from '../../interfaces/node-allowable-operation-subject.interface';
|
|
2
1
|
import { UploadBase } from './base-upload/upload-base';
|
|
3
2
|
import { FileModel } from '../../common/models/file.model';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class UploadDragAreaComponent extends UploadBase
|
|
6
|
-
private notificationService;
|
|
7
|
-
private contentService;
|
|
4
|
+
export declare class UploadDragAreaComponent extends UploadBase {
|
|
5
|
+
private readonly notificationService;
|
|
6
|
+
private readonly contentService;
|
|
8
7
|
/**
|
|
9
8
|
* Method called when files are dropped in the drag area.
|
|
10
9
|
*
|
|
@@ -19,9 +19,9 @@ import { UploadService } from '../../common/services/upload.service';
|
|
|
19
19
|
import { EventEmitter } from '@angular/core';
|
|
20
20
|
export declare class UploadFilesEvent {
|
|
21
21
|
files: Array<FileModel>;
|
|
22
|
-
private uploadService;
|
|
23
|
-
private successEmitter;
|
|
24
|
-
private errorEmitter;
|
|
22
|
+
private readonly uploadService;
|
|
23
|
+
private readonly successEmitter;
|
|
24
|
+
private readonly errorEmitter;
|
|
25
25
|
private isDefaultPrevented;
|
|
26
26
|
get defaultPrevented(): boolean;
|
|
27
27
|
preventDefault(): void;
|
|
@@ -1,3 +1,19 @@
|
|
|
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
|
+
*/
|
|
1
17
|
import { OnChanges, OnInit } from '@angular/core';
|
|
2
18
|
import { Node } from '@alfresco/js-api';
|
|
3
19
|
import { UploadButtonComponent } from './upload-button.component';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare const INPUT_FOCUS_CSS_CLASS = "adf-file-draggable-input-focus";
|
|
4
4
|
export declare const DROP_EFFECT = "copy";
|
|
5
5
|
export declare class FileDraggableDirective implements OnInit, OnDestroy {
|
|
6
|
-
private ngZone;
|
|
6
|
+
private readonly ngZone;
|
|
7
7
|
files: File[];
|
|
8
8
|
/** Enables/disables drag-and-drop functionality. */
|
|
9
9
|
enabled: boolean;
|
|
@@ -11,8 +11,8 @@ export declare class FileDraggableDirective implements OnInit, OnDestroy {
|
|
|
11
11
|
filesDropped: EventEmitter<File[]>;
|
|
12
12
|
/** Emitted when a directory is dragged and dropped onto the draggable element. */
|
|
13
13
|
folderEntityDropped: EventEmitter<any>;
|
|
14
|
-
private element;
|
|
15
|
-
constructor(
|
|
14
|
+
private readonly element;
|
|
15
|
+
constructor();
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
ngOnDestroy(): void;
|
|
18
18
|
/**
|
|
@@ -22,7 +22,5 @@ export * from './components/file-uploading-list.component';
|
|
|
22
22
|
export * from './components/file-uploading-list-row.component';
|
|
23
23
|
export * from './components/upload-files.event';
|
|
24
24
|
export * from './directives/file-draggable.directive';
|
|
25
|
-
export * from './directives/toggle-icon.directive';
|
|
26
|
-
export * from './pipes/file-upload-error.pipe';
|
|
27
25
|
export * from './components/base-upload/upload-base';
|
|
28
26
|
export * from './upload.module';
|
|
@@ -4,23 +4,19 @@ import { FileUploadingListComponent } from './components/file-uploading-list.com
|
|
|
4
4
|
import { UploadButtonComponent } from './components/upload-button.component';
|
|
5
5
|
import { UploadVersionButtonComponent } from './components/upload-version-button.component';
|
|
6
6
|
import { UploadDragAreaComponent } from './components/upload-drag-area.component';
|
|
7
|
-
import { FileUploadErrorPipe } from './pipes/file-upload-error.pipe';
|
|
8
7
|
import { FileDraggableDirective } from './directives/file-draggable.directive';
|
|
9
|
-
import { ToggleIconDirective } from './directives/toggle-icon.directive';
|
|
10
8
|
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "./
|
|
12
|
-
import * as i2 from "./
|
|
13
|
-
import * as i3 from "./
|
|
14
|
-
import * as i4 from "./components/upload-
|
|
15
|
-
import * as i5 from "./components/
|
|
16
|
-
import * as i6 from "./components/
|
|
17
|
-
import * as i7 from "./components/file-uploading-
|
|
18
|
-
|
|
19
|
-
import * as i9 from "./components/file-uploading-dialog.component";
|
|
20
|
-
export declare const CONTENT_UPLOAD_DIRECTIVES: readonly [typeof FileUploadErrorPipe, typeof FileDraggableDirective, typeof ToggleIconDirective, typeof UploadDragAreaComponent, typeof UploadButtonComponent, typeof UploadVersionButtonComponent, typeof FileUploadingListRowComponent, typeof FileUploadingListComponent, typeof FileUploadingDialogComponent];
|
|
9
|
+
import * as i1 from "./directives/file-draggable.directive";
|
|
10
|
+
import * as i2 from "./components/upload-drag-area.component";
|
|
11
|
+
import * as i3 from "./components/upload-button.component";
|
|
12
|
+
import * as i4 from "./components/upload-version-button.component";
|
|
13
|
+
import * as i5 from "./components/file-uploading-list-row.component";
|
|
14
|
+
import * as i6 from "./components/file-uploading-list.component";
|
|
15
|
+
import * as i7 from "./components/file-uploading-dialog.component";
|
|
16
|
+
export declare const CONTENT_UPLOAD_DIRECTIVES: readonly [typeof FileDraggableDirective, typeof UploadDragAreaComponent, typeof UploadButtonComponent, typeof UploadVersionButtonComponent, typeof FileUploadingListRowComponent, typeof FileUploadingListComponent, typeof FileUploadingDialogComponent];
|
|
21
17
|
/** @deprecated use `...CONTENT_UPLOAD_DIRECTIVES` instead or import standalone components directly */
|
|
22
18
|
export declare class UploadModule {
|
|
23
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UploadModule, never, [typeof i1.
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UploadModule, never, [typeof i1.FileDraggableDirective, typeof i2.UploadDragAreaComponent, typeof i3.UploadButtonComponent, typeof i4.UploadVersionButtonComponent, typeof i5.FileUploadingListRowComponent, typeof i6.FileUploadingListComponent, typeof i7.FileUploadingDialogComponent], [typeof i1.FileDraggableDirective, typeof i2.UploadDragAreaComponent, typeof i3.UploadButtonComponent, typeof i4.UploadVersionButtonComponent, typeof i5.FileUploadingListRowComponent, typeof i6.FileUploadingListComponent, typeof i7.FileUploadingDialogComponent]>;
|
|
25
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<UploadModule>;
|
|
26
22
|
}
|