@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,7 +1,6 @@
|
|
|
1
1
|
import { NodeLockDirective } from './node-lock.directive';
|
|
2
|
-
import { NodeCounterComponent
|
|
2
|
+
import { NodeCounterComponent } from './node-counter.directive';
|
|
3
3
|
import { AutoFocusDirective } from './auto-focus.directive';
|
|
4
|
-
import { CheckAllowableOperationDirective } from './check-allowable-operation.directive';
|
|
5
4
|
import { LibraryFavoriteDirective } from './library-favorite.directive';
|
|
6
5
|
import { LibraryMembershipDirective } from './library-membership.directive';
|
|
7
6
|
import { NodeDeleteDirective } from './node-delete.directive';
|
|
@@ -12,17 +11,16 @@ import * as i0 from "@angular/core";
|
|
|
12
11
|
import * as i1 from "./node-lock.directive";
|
|
13
12
|
import * as i2 from "./node-counter.directive";
|
|
14
13
|
import * as i3 from "./auto-focus.directive";
|
|
15
|
-
import * as i4 from "./
|
|
16
|
-
import * as i5 from "./library-
|
|
17
|
-
import * as i6 from "./
|
|
18
|
-
import * as i7 from "./node-
|
|
19
|
-
import * as i8 from "./node-
|
|
20
|
-
import * as i9 from "./node-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
/** @deprecated import CONTENT_DIRECTIVES or standalone directives instead */
|
|
14
|
+
import * as i4 from "./library-favorite.directive";
|
|
15
|
+
import * as i5 from "./library-membership.directive";
|
|
16
|
+
import * as i6 from "./node-delete.directive";
|
|
17
|
+
import * as i7 from "./node-favorite.directive";
|
|
18
|
+
import * as i8 from "./node-restore.directive";
|
|
19
|
+
import * as i9 from "./node-download.directive";
|
|
20
|
+
export declare const CONTENT_DIRECTIVES: (typeof NodeDownloadDirective | typeof NodeCounterComponent | typeof AutoFocusDirective | typeof NodeLockDirective | typeof LibraryFavoriteDirective | typeof LibraryMembershipDirective | typeof NodeDeleteDirective | typeof NodeFavoriteDirective | typeof NodeRestoreDirective)[];
|
|
21
|
+
/** @deprecated import standalone directives instead */
|
|
24
22
|
export declare class ContentDirectiveModule {
|
|
25
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentDirectiveModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ContentDirectiveModule, never, [typeof i1.NodeLockDirective, typeof i2.NodeCounterDirective, typeof i2.NodeCounterComponent, typeof i3.AutoFocusDirective, typeof i4.
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ContentDirectiveModule, never, [typeof i1.NodeLockDirective, typeof i2.NodeCounterDirective, typeof i2.NodeCounterComponent, typeof i3.AutoFocusDirective, typeof i4.LibraryFavoriteDirective, typeof i5.LibraryMembershipDirective, typeof i6.NodeDeleteDirective, typeof i7.NodeFavoriteDirective, typeof i8.NodeRestoreDirective, typeof i9.NodeDownloadDirective], [typeof i1.NodeLockDirective, typeof i2.NodeCounterDirective, typeof i2.NodeCounterComponent, typeof i3.AutoFocusDirective, typeof i4.LibraryFavoriteDirective, typeof i5.LibraryMembershipDirective, typeof i6.NodeDeleteDirective, typeof i7.NodeFavoriteDirective, typeof i8.NodeRestoreDirective, typeof i9.NodeDownloadDirective]>;
|
|
27
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<ContentDirectiveModule>;
|
|
28
26
|
}
|
|
@@ -16,9 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
|
|
18
18
|
import { FavoritesApi } from '@alfresco/js-api';
|
|
19
|
-
import { AlfrescoApiService } from '../services/alfresco-api.service';
|
|
20
19
|
import { LibraryEntity } from '../interfaces/library-entity.interface';
|
|
21
|
-
import { NotificationService } from '@alfresco/adf-core';
|
|
22
20
|
import * as i0 from "@angular/core";
|
|
23
21
|
export declare class LibraryFavoriteDirective implements OnChanges {
|
|
24
22
|
private readonly alfrescoApiService;
|
|
@@ -30,7 +28,6 @@ export declare class LibraryFavoriteDirective implements OnChanges {
|
|
|
30
28
|
private _favoritesApi;
|
|
31
29
|
get favoritesApi(): FavoritesApi;
|
|
32
30
|
onClick(): void;
|
|
33
|
-
constructor(alfrescoApiService: AlfrescoApiService, notificationService: NotificationService);
|
|
34
31
|
ngOnChanges(changes: SimpleChanges): void;
|
|
35
32
|
isFavorite(): boolean;
|
|
36
33
|
private markFavoriteLibrary;
|
|
@@ -17,16 +17,13 @@
|
|
|
17
17
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
18
18
|
import { SiteEntry, SitesApi } from '@alfresco/js-api';
|
|
19
19
|
import { BehaviorSubject } from 'rxjs';
|
|
20
|
-
import { AlfrescoApiService } from '../services/alfresco-api.service';
|
|
21
20
|
import { LibraryMembershipToggleEvent } from '../interfaces/library-membership-toggle-event.interface';
|
|
22
21
|
import { LibraryMembershipErrorEvent } from '../interfaces/library-membership-error-event.interface';
|
|
23
|
-
import { VersionCompatibilityService } from '../version-compatibility/version-compatibility.service';
|
|
24
|
-
import { SitesService } from '../common/services/sites.service';
|
|
25
22
|
import * as i0 from "@angular/core";
|
|
26
23
|
export declare class LibraryMembershipDirective implements OnChanges {
|
|
27
|
-
private alfrescoApiService;
|
|
28
|
-
private sitesService;
|
|
29
|
-
private versionCompatibilityService;
|
|
24
|
+
private readonly alfrescoApiService;
|
|
25
|
+
private readonly sitesService;
|
|
26
|
+
private readonly versionCompatibilityService;
|
|
30
27
|
targetSite: any;
|
|
31
28
|
isJoinRequested: BehaviorSubject<boolean>;
|
|
32
29
|
private _sitesApi;
|
|
@@ -38,7 +35,6 @@ export declare class LibraryMembershipDirective implements OnChanges {
|
|
|
38
35
|
toggle: EventEmitter<LibraryMembershipToggleEvent>;
|
|
39
36
|
error: EventEmitter<LibraryMembershipErrorEvent>;
|
|
40
37
|
onClick(): void;
|
|
41
|
-
constructor(alfrescoApiService: AlfrescoApiService, sitesService: SitesService, versionCompatibilityService: VersionCompatibilityService);
|
|
42
38
|
ngOnChanges(changes: SimpleChanges): void;
|
|
43
39
|
toggleMembershipRequest(): void;
|
|
44
40
|
markMembershipRequest(): void;
|
|
@@ -14,14 +14,13 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { OnInit, OnChanges
|
|
17
|
+
import { OnInit, OnChanges } from '@angular/core';
|
|
18
18
|
import * as i0 from "@angular/core";
|
|
19
19
|
export declare class NodeCounterDirective implements OnInit, OnChanges {
|
|
20
|
-
private viewContainerRef;
|
|
20
|
+
private readonly viewContainerRef;
|
|
21
21
|
/** Number to display in the counter badge */
|
|
22
22
|
counter: number;
|
|
23
23
|
componentRef: NodeCounterComponent;
|
|
24
|
-
constructor(viewContainerRef: ViewContainerRef);
|
|
25
24
|
ngOnInit(): void;
|
|
26
25
|
ngOnChanges(): void;
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<NodeCounterDirective, never>;
|
|
@@ -14,15 +14,13 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
17
|
+
import { EventEmitter, OnChanges } from '@angular/core';
|
|
18
18
|
import { NodeEntry, DeletedNodeEntry, TrashcanApi, NodesApi } from '@alfresco/js-api';
|
|
19
|
-
import { TranslationService } from '@alfresco/adf-core';
|
|
20
|
-
import { AlfrescoApiService } from '../services/alfresco-api.service';
|
|
21
19
|
import * as i0 from "@angular/core";
|
|
22
20
|
export declare class NodeDeleteDirective implements OnChanges {
|
|
23
|
-
private alfrescoApiService;
|
|
24
|
-
private translation;
|
|
25
|
-
private elementRef;
|
|
21
|
+
private readonly alfrescoApiService;
|
|
22
|
+
private readonly translation;
|
|
23
|
+
private readonly elementRef;
|
|
26
24
|
/** Array of nodes to delete. */
|
|
27
25
|
selection: NodeEntry[] | DeletedNodeEntry[];
|
|
28
26
|
/** If true then the nodes are deleted immediately rather than being put in the trash */
|
|
@@ -34,7 +32,6 @@ export declare class NodeDeleteDirective implements OnChanges {
|
|
|
34
32
|
private _nodesApi;
|
|
35
33
|
get nodesApi(): NodesApi;
|
|
36
34
|
onClick(): void;
|
|
37
|
-
constructor(alfrescoApiService: AlfrescoApiService, translation: TranslationService, elementRef: ElementRef);
|
|
38
35
|
ngOnChanges(): void;
|
|
39
36
|
private setDisableAttribute;
|
|
40
37
|
private process;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import { DownloadService } from '@alfresco/adf-core';
|
|
3
1
|
import { ContentApi, NodeEntry, VersionEntry } from '@alfresco/js-api';
|
|
4
|
-
import { AlfrescoApiService } from '../services/alfresco-api.service';
|
|
5
2
|
import * as i0 from "@angular/core";
|
|
6
3
|
/**
|
|
7
4
|
* Directive selectors without adf- prefix will be deprecated on 3.0.0
|
|
8
5
|
*/
|
|
9
6
|
export declare class NodeDownloadDirective {
|
|
10
|
-
private apiService;
|
|
11
|
-
private downloadService;
|
|
12
|
-
private dialog;
|
|
7
|
+
private readonly apiService;
|
|
8
|
+
private readonly downloadService;
|
|
9
|
+
private readonly dialog;
|
|
13
10
|
private _contentApi;
|
|
14
11
|
get contentApi(): ContentApi;
|
|
15
12
|
/** Nodes to download. */
|
|
@@ -17,7 +14,6 @@ export declare class NodeDownloadDirective {
|
|
|
17
14
|
/** Node's version to download. */
|
|
18
15
|
version: VersionEntry;
|
|
19
16
|
onClick(): void;
|
|
20
|
-
constructor(apiService: AlfrescoApiService, downloadService: DownloadService, dialog: MatDialog);
|
|
21
17
|
/**
|
|
22
18
|
* Downloads multiple selected nodes.
|
|
23
19
|
* Packs result into a .ZIP archive if there is more than one node selected.
|
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
18
18
|
import { NodeEntry, FavoritesApi } from '@alfresco/js-api';
|
|
19
|
-
import { AlfrescoApiService } from '../services/alfresco-api.service';
|
|
20
|
-
import { NotificationService } from '@alfresco/adf-core';
|
|
21
19
|
import * as i0 from "@angular/core";
|
|
22
20
|
export declare class NodeFavoriteDirective implements OnChanges {
|
|
23
21
|
private readonly alfrescoApiService;
|
|
@@ -32,7 +30,6 @@ export declare class NodeFavoriteDirective implements OnChanges {
|
|
|
32
30
|
/** Emitted when the favorite setting fails. */
|
|
33
31
|
error: EventEmitter<any>;
|
|
34
32
|
onClick(): void;
|
|
35
|
-
constructor(alfrescoApiService: AlfrescoApiService, notificationService: NotificationService);
|
|
36
33
|
ngOnChanges(changes: SimpleChanges): void;
|
|
37
34
|
toggleFavorite(): void;
|
|
38
35
|
markFavoritesNodes(selection: NodeEntry[]): void;
|
|
@@ -14,20 +14,17 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { ElementRef,
|
|
17
|
+
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
18
18
|
import { Node } from '@alfresco/js-api';
|
|
19
|
-
import { ContentService } from '../common/services/content.service';
|
|
20
|
-
import { ContentNodeDialogService } from '../content-node-selector/content-node-dialog.service';
|
|
21
19
|
import * as i0 from "@angular/core";
|
|
22
20
|
export declare class NodeLockDirective implements AfterViewInit {
|
|
23
|
-
element: ElementRef
|
|
24
|
-
private renderer;
|
|
25
|
-
private contentService;
|
|
26
|
-
private contentNodeDialogService;
|
|
21
|
+
element: ElementRef<any>;
|
|
22
|
+
private readonly renderer;
|
|
23
|
+
private readonly contentService;
|
|
24
|
+
private readonly contentNodeDialogService;
|
|
27
25
|
/** Node to lock/unlock. */
|
|
28
26
|
node: Node;
|
|
29
27
|
onClick(event: any): void;
|
|
30
|
-
constructor(element: ElementRef, renderer: Renderer2, contentService: ContentService, contentNodeDialogService: ContentNodeDialogService);
|
|
31
28
|
ngAfterViewInit(): void;
|
|
32
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<NodeLockDirective, never>;
|
|
33
30
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NodeLockDirective, "[adf-node-lock]", never, { "node": { "alias": "adf-node-lock"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -16,13 +16,11 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter } from '@angular/core';
|
|
18
18
|
import { TrashcanApi, DeletedNodeEntry } from '@alfresco/js-api';
|
|
19
|
-
import { TranslationService } from '@alfresco/adf-core';
|
|
20
19
|
import { RestoreMessageModel } from '../interfaces/restore-message-model.interface';
|
|
21
|
-
import { AlfrescoApiService } from '../services/alfresco-api.service';
|
|
22
20
|
import * as i0 from "@angular/core";
|
|
23
21
|
export declare class NodeRestoreDirective {
|
|
24
|
-
private alfrescoApiService;
|
|
25
|
-
private translation;
|
|
22
|
+
private readonly alfrescoApiService;
|
|
23
|
+
private readonly translation;
|
|
26
24
|
private readonly restoreProcessStatus;
|
|
27
25
|
private _trashcanApi;
|
|
28
26
|
get trashcanApi(): TrashcanApi;
|
|
@@ -31,7 +29,7 @@ export declare class NodeRestoreDirective {
|
|
|
31
29
|
/** Emitted when restoration is complete. */
|
|
32
30
|
restore: EventEmitter<RestoreMessageModel>;
|
|
33
31
|
onClick(): void;
|
|
34
|
-
constructor(
|
|
32
|
+
constructor();
|
|
35
33
|
private recover;
|
|
36
34
|
private restoreNodesBatch;
|
|
37
35
|
private getNodesWithPath;
|
|
@@ -18,7 +18,6 @@ export * from './content-directive.module';
|
|
|
18
18
|
export * from './node-lock.directive';
|
|
19
19
|
export * from './node-counter.directive';
|
|
20
20
|
export * from './auto-focus.directive';
|
|
21
|
-
export * from './check-allowable-operation.directive';
|
|
22
21
|
export * from './library-favorite.directive';
|
|
23
22
|
export * from './library-membership.directive';
|
|
24
23
|
export * from './node-delete.directive';
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ContentActionModel } from './../../models/content-action.model';
|
|
2
|
-
import { DocumentListComponent } from './../document-list.component';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ContentActionListComponent {
|
|
5
|
-
private documentList;
|
|
6
|
-
constructor(documentList: DocumentListComponent);
|
|
4
|
+
private readonly documentList;
|
|
7
5
|
/**
|
|
8
6
|
* Registers action handler within the parent document list component.
|
|
9
7
|
*
|
|
@@ -16,15 +16,12 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
18
18
|
import { ContentActionHandler } from '../../models/content-action.model';
|
|
19
|
-
import { DocumentActionsService } from '../../services/document-actions.service';
|
|
20
|
-
import { FolderActionsService } from '../../services/folder-actions.service';
|
|
21
19
|
import { ContentActionModel } from './../../models/content-action.model';
|
|
22
|
-
import { ContentActionListComponent } from './content-action-list.component';
|
|
23
20
|
import * as i0 from "@angular/core";
|
|
24
21
|
export declare class ContentActionComponent implements OnInit, OnChanges, OnDestroy {
|
|
25
|
-
private list;
|
|
26
|
-
private documentActions;
|
|
27
|
-
private folderActions;
|
|
22
|
+
private readonly list;
|
|
23
|
+
private readonly documentActions;
|
|
24
|
+
private readonly folderActions;
|
|
28
25
|
/** The title of the action as shown in the menu. */
|
|
29
26
|
title: string;
|
|
30
27
|
/** The name of the icon to display next to the menu command (can be left blank). */
|
|
@@ -58,7 +55,6 @@ export declare class ContentActionComponent implements OnInit, OnChanges, OnDest
|
|
|
58
55
|
documentActionModel: ContentActionModel;
|
|
59
56
|
folderActionModel: ContentActionModel;
|
|
60
57
|
private subscriptions;
|
|
61
|
-
constructor(list: ContentActionListComponent, documentActions: DocumentActionsService, folderActions: FolderActionsService);
|
|
62
58
|
ngOnInit(): void;
|
|
63
59
|
ngOnChanges(changes: SimpleChanges): void;
|
|
64
60
|
ngOnDestroy(): void;
|
|
@@ -14,35 +14,30 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
17
|
+
import { CustomEmptyContentTemplateDirective, CustomLoadingContentTemplateDirective, CustomNoPermissionTemplateDirective, DataCellEvent, DataColumn, DataColumnListComponent, DataRow, DataRowActionEvent, DataSorting, DataTableComponent, DataTableSchema, PaginatedComponent, PaginationModel, RequestPaginationModel, ShowHeaderMode } from '@alfresco/adf-core';
|
|
18
18
|
import { Node, NodeEntry, NodePaging, NodesApi, Pagination } from '@alfresco/js-api';
|
|
19
|
-
import { AfterContentInit,
|
|
20
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
19
|
+
import { AfterContentInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
21
20
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
22
|
-
import { ContentService, NodesApiService } from '../../common';
|
|
23
21
|
import { FilterSearch } from '../../search';
|
|
24
22
|
import { RowFilter } from '../data/row-filter.model';
|
|
25
23
|
import { ShareDataRow } from '../data/share-data-row.model';
|
|
26
24
|
import { ShareDataTableAdapter } from '../data/share-datatable-adapter';
|
|
27
25
|
import { ContentActionModel } from '../models/content-action.model';
|
|
28
26
|
import { PermissionStyleModel } from '../models/permissions-style.model';
|
|
29
|
-
import { DocumentListService } from '../services/document-list.service';
|
|
30
|
-
import { LockService } from '../services/lock.service';
|
|
31
27
|
import { NodeEntityEvent, NodeEntryEvent } from './node.event';
|
|
32
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
33
28
|
import * as i0 from "@angular/core";
|
|
34
29
|
export declare class DocumentListComponent extends DataTableSchema implements OnInit, OnChanges, AfterContentInit, PaginatedComponent {
|
|
35
|
-
private documentListService;
|
|
36
|
-
private elementRef;
|
|
37
|
-
private appConfig;
|
|
38
|
-
private userPreferencesService;
|
|
39
|
-
private contentService;
|
|
40
|
-
private thumbnailService;
|
|
41
|
-
private alfrescoApiService;
|
|
42
|
-
private nodeService;
|
|
43
|
-
private dataTableService;
|
|
44
|
-
private lockService;
|
|
45
|
-
private dialog;
|
|
30
|
+
private readonly documentListService;
|
|
31
|
+
private readonly elementRef;
|
|
32
|
+
private readonly appConfig;
|
|
33
|
+
private readonly userPreferencesService;
|
|
34
|
+
private readonly contentService;
|
|
35
|
+
private readonly thumbnailService;
|
|
36
|
+
private readonly alfrescoApiService;
|
|
37
|
+
private readonly nodeService;
|
|
38
|
+
private readonly dataTableService;
|
|
39
|
+
private readonly lockService;
|
|
40
|
+
private readonly dialog;
|
|
46
41
|
static SINGLE_CLICK_NAVIGATION: string;
|
|
47
42
|
static DOUBLE_CLICK_NAVIGATION: string;
|
|
48
43
|
DEFAULT_PAGINATION: Pagination;
|
|
@@ -58,6 +53,10 @@ export declare class DocumentListComponent extends DataTableSchema implements On
|
|
|
58
53
|
* (for example, isFolder=true). See the REST API documentation for more information.
|
|
59
54
|
*/
|
|
60
55
|
where: string;
|
|
56
|
+
/**
|
|
57
|
+
* Specifies additional filters to apply (joined with **AND**). Applied for recent files only.
|
|
58
|
+
*/
|
|
59
|
+
filters: string[];
|
|
61
60
|
/**
|
|
62
61
|
* Define a set of CSS styles to apply depending on the permission
|
|
63
62
|
* of the user on that node. See the Permission Style model
|
|
@@ -191,6 +190,11 @@ export declare class DocumentListComponent extends DataTableSchema implements On
|
|
|
191
190
|
displayCheckboxesOnHover: boolean;
|
|
192
191
|
/** Display drag and drop hint. */
|
|
193
192
|
displayDragAndDropHint: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* Indicates if the data is provided externally.
|
|
195
|
+
* If true the component won't fetch data itself
|
|
196
|
+
*/
|
|
197
|
+
isDataProvidedExternally: boolean;
|
|
194
198
|
/** Emitted when the user clicks a list node */
|
|
195
199
|
nodeClick: EventEmitter<NodeEntityEvent>;
|
|
196
200
|
/** Emitted when the user double-clicks a list node */
|
|
@@ -234,7 +238,7 @@ export declare class DocumentListComponent extends DataTableSchema implements On
|
|
|
234
238
|
orderBy: string[];
|
|
235
239
|
preselectedRows: DataRow[];
|
|
236
240
|
folderNode: Node;
|
|
237
|
-
private _pagination;
|
|
241
|
+
private readonly _pagination;
|
|
238
242
|
pagination: BehaviorSubject<PaginationModel>;
|
|
239
243
|
sortingSubject: BehaviorSubject<DataSorting[]>;
|
|
240
244
|
private rowMenuCache;
|
|
@@ -242,7 +246,7 @@ export declare class DocumentListComponent extends DataTableSchema implements On
|
|
|
242
246
|
private readonly destroyRef;
|
|
243
247
|
private _nodesApi;
|
|
244
248
|
get nodesApi(): NodesApi;
|
|
245
|
-
constructor(
|
|
249
|
+
constructor();
|
|
246
250
|
getContextActions(node: NodeEntry): {
|
|
247
251
|
model: ContentActionModel;
|
|
248
252
|
node: NodeEntry;
|
|
@@ -304,6 +308,8 @@ export declare class DocumentListComponent extends DataTableSchema implements On
|
|
|
304
308
|
updatePagination(requestPaginationModel: RequestPaginationModel): void;
|
|
305
309
|
private syncPagination;
|
|
306
310
|
onFilterSelectionChange(activeFilters: FilterSearch[]): void;
|
|
311
|
+
onFilterSearchResultsReady(nodePaging: NodePaging): void;
|
|
312
|
+
onFiltersCleared(): void;
|
|
307
313
|
resetNewFolderPagination(): void;
|
|
308
314
|
private handleError;
|
|
309
315
|
getPreselectedNodesBasedOnSelectionMode(): NodeEntry[];
|
|
@@ -318,5 +324,5 @@ export declare class DocumentListComponent extends DataTableSchema implements On
|
|
|
318
324
|
private hasPreselectedNodes;
|
|
319
325
|
private hasPreselectedRows;
|
|
320
326
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentListComponent, never>;
|
|
321
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentListComponent, "adf-document-list", never, { "includeFields": { "alias": "includeFields"; "required": false; }; "where": { "alias": "where"; "required": false; }; "permissionsStyle": { "alias": "permissionsStyle"; "required": false; }; "locationFormat": { "alias": "locationFormat"; "required": false; }; "navigate": { "alias": "navigate"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "navigationMode": { "alias": "navigationMode"; "required": false; }; "thumbnails": { "alias": "thumbnails"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "contentActions": { "alias": "contentActions"; "required": false; }; "contentActionsPosition": { "alias": "contentActionsPosition"; "required": false; }; "contextMenuActions": { "alias": "contextMenuActions"; "required": false; }; "emptyFolderImageUrl": { "alias": "emptyFolderImageUrl"; "required": false; }; "allowDropFiles": { "alias": "allowDropFiles"; "required": false; }; "sorting": { "alias": "sorting"; "required": false; }; "additionalSorting": { "alias": "additionalSorting"; "required": false; }; "sortingMode": { "alias": "sortingMode"; "required": false; }; "rowStyle": { "alias": "rowStyle"; "required": false; }; "rowStyleClass": { "alias": "rowStyleClass"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "_rowFilter": { "alias": "_rowFilter"; "required": false; }; "rowFilter": { "alias": "rowFilter"; "required": false; }; "imageResolver": { "alias": "imageResolver"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "headerFilters": { "alias": "headerFilters"; "required": false; }; "filterValue": { "alias": "filterValue"; "required": false; }; "currentFolderId": { "alias": "currentFolderId"; "required": false; }; "preselectNodes": { "alias": "preselectNodes"; "required": false; }; "node": { "alias": "node"; "required": false; }; "maxItems": { "alias": "maxItems"; "required": false; }; "columnsPresetKey": { "alias": "columnsPresetKey"; "required": false; }; "setColumnsVisibility": { "alias": "setColumnsVisibility"; "required": false; }; "setColumnsWidths": { "alias": "setColumnsWidths"; "required": false; }; "setColumnsOrder": { "alias": "setColumnsOrder"; "required": false; }; "maxColumnsVisible": { "alias": "maxColumnsVisible"; "required": false; }; "isResizingEnabled": { "alias": "isResizingEnabled"; "required": false; }; "blurOnResize": { "alias": "blurOnResize"; "required": false; }; "displayCheckboxesOnHover": { "alias": "displayCheckboxesOnHover"; "required": false; }; "displayDragAndDropHint": { "alias": "displayDragAndDropHint"; "required": false; }; }, { "nodeClick": "nodeClick"; "nodeDblClick": "nodeDblClick"; "folderChange": "folderChange"; "preview": "preview"; "ready": "ready"; "error": "error"; "nodeSelected": "nodeSelected"; "filterSelection": "filterSelection"; "columnsWidthChanged": "columnsWidthChanged"; "columnsVisibilityChanged": "columnsVisibilityChanged"; "columnsOrderChanged": "columnsOrderChanged"; "selectedItemsCountChanged": "selectedItemsCountChanged"; }, ["columnList", "customLoadingContent", "customNoPermissionsTemplate", "customNoContentTemplate"], ["adf-custom-empty-content-template, empty-folder-content", "adf-custom-no-permission-template, no-permission-content", "adf-custom-loading-content-template"], true, never>;
|
|
327
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentListComponent, "adf-document-list", never, { "includeFields": { "alias": "includeFields"; "required": false; }; "where": { "alias": "where"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "permissionsStyle": { "alias": "permissionsStyle"; "required": false; }; "locationFormat": { "alias": "locationFormat"; "required": false; }; "navigate": { "alias": "navigate"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "navigationMode": { "alias": "navigationMode"; "required": false; }; "thumbnails": { "alias": "thumbnails"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "contentActions": { "alias": "contentActions"; "required": false; }; "contentActionsPosition": { "alias": "contentActionsPosition"; "required": false; }; "contextMenuActions": { "alias": "contextMenuActions"; "required": false; }; "emptyFolderImageUrl": { "alias": "emptyFolderImageUrl"; "required": false; }; "allowDropFiles": { "alias": "allowDropFiles"; "required": false; }; "sorting": { "alias": "sorting"; "required": false; }; "additionalSorting": { "alias": "additionalSorting"; "required": false; }; "sortingMode": { "alias": "sortingMode"; "required": false; }; "rowStyle": { "alias": "rowStyle"; "required": false; }; "rowStyleClass": { "alias": "rowStyleClass"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "_rowFilter": { "alias": "_rowFilter"; "required": false; }; "rowFilter": { "alias": "rowFilter"; "required": false; }; "imageResolver": { "alias": "imageResolver"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "headerFilters": { "alias": "headerFilters"; "required": false; }; "filterValue": { "alias": "filterValue"; "required": false; }; "currentFolderId": { "alias": "currentFolderId"; "required": false; }; "preselectNodes": { "alias": "preselectNodes"; "required": false; }; "node": { "alias": "node"; "required": false; }; "maxItems": { "alias": "maxItems"; "required": false; }; "columnsPresetKey": { "alias": "columnsPresetKey"; "required": false; }; "setColumnsVisibility": { "alias": "setColumnsVisibility"; "required": false; }; "setColumnsWidths": { "alias": "setColumnsWidths"; "required": false; }; "setColumnsOrder": { "alias": "setColumnsOrder"; "required": false; }; "maxColumnsVisible": { "alias": "maxColumnsVisible"; "required": false; }; "isResizingEnabled": { "alias": "isResizingEnabled"; "required": false; }; "blurOnResize": { "alias": "blurOnResize"; "required": false; }; "displayCheckboxesOnHover": { "alias": "displayCheckboxesOnHover"; "required": false; }; "displayDragAndDropHint": { "alias": "displayDragAndDropHint"; "required": false; }; "isDataProvidedExternally": { "alias": "isDataProvidedExternally"; "required": false; }; }, { "nodeClick": "nodeClick"; "nodeDblClick": "nodeDblClick"; "folderChange": "folderChange"; "preview": "preview"; "ready": "ready"; "error": "error"; "nodeSelected": "nodeSelected"; "filterSelection": "filterSelection"; "columnsWidthChanged": "columnsWidthChanged"; "columnsVisibilityChanged": "columnsVisibilityChanged"; "columnsOrderChanged": "columnsOrderChanged"; "selectedItemsCountChanged": "selectedItemsCountChanged"; }, ["columnList", "customLoadingContent", "customNoPermissionsTemplate", "customNoContentTemplate"], ["adf-custom-empty-content-template, empty-folder-content", "adf-custom-no-permission-template, no-permission-content", "adf-custom-loading-content-template"], true, never>;
|
|
322
328
|
}
|
|
@@ -2,7 +2,6 @@ import { NodeEntry } from '@alfresco/js-api';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class FileAutoDownloadComponent {
|
|
4
4
|
node: NodeEntry;
|
|
5
|
-
constructor(node: NodeEntry);
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileAutoDownloadComponent, never>;
|
|
7
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<FileAutoDownloadComponent, "adf-file-auto-download", never, {}, {}, never, never, true, never>;
|
|
8
7
|
}
|
|
@@ -15,29 +15,34 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
18
|
-
import {
|
|
18
|
+
import { DataSorting, PaginationModel } from '@alfresco/adf-core';
|
|
19
19
|
import { FilterSearch } from './../../../search/models/filter-search.interface';
|
|
20
|
+
import type { NodePaging } from '@alfresco/js-api';
|
|
20
21
|
import * as i0 from "@angular/core";
|
|
21
22
|
export declare class FilterHeaderComponent implements OnInit, OnChanges {
|
|
22
|
-
private documentList;
|
|
23
|
-
private searchFilterQueryBuilder;
|
|
24
23
|
/** (optional) Initial filter value to sort . */
|
|
25
24
|
value: any;
|
|
26
25
|
/** The id of the current folder of the document list. */
|
|
27
26
|
currentFolderId: string;
|
|
27
|
+
/** Pagination model from the document list */
|
|
28
|
+
pagination: PaginationModel;
|
|
29
|
+
/** Sorting configuration from the document list */
|
|
30
|
+
sorting: DataSorting[];
|
|
28
31
|
/** Emitted when a filter value is selected */
|
|
29
32
|
filterSelection: EventEmitter<FilterSearch[]>;
|
|
30
|
-
|
|
33
|
+
/** Emitted when search results are ready */
|
|
34
|
+
searchResultsReady: EventEmitter<NodePaging>;
|
|
35
|
+
/** Emitted when filters are cleared and document list should reload */
|
|
36
|
+
filtersCleared: EventEmitter<void>;
|
|
37
|
+
private readonly searchFilterQueryBuilder;
|
|
31
38
|
private readonly destroyRef;
|
|
32
|
-
|
|
39
|
+
readonly isFilterServiceActive: boolean;
|
|
33
40
|
ngOnInit(): void;
|
|
34
41
|
ngOnChanges(changes: SimpleChanges): void;
|
|
35
42
|
onFilterSelectionChange(): void;
|
|
36
43
|
resetFilterHeader(): void;
|
|
37
|
-
initDataPagination(): void;
|
|
38
|
-
initDataSorting(): void;
|
|
39
44
|
private configureSearchParent;
|
|
40
45
|
private initSearchHeader;
|
|
41
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterHeaderComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterHeaderComponent, "adf-filter-header", never, { "value": { "alias": "value"; "required": false; }; "currentFolderId": { "alias": "currentFolderId"; "required": true; }; }, { "filterSelection": "filterSelection"; }, never, never, true, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterHeaderComponent, "adf-filter-header", never, { "value": { "alias": "value"; "required": false; }; "currentFolderId": { "alias": "currentFolderId"; "required": true; }; "pagination": { "alias": "pagination"; "required": false; }; "sorting": { "alias": "sorting"; "required": false; }; }, { "filterSelection": "filterSelection"; "searchResultsReady": "searchResultsReady"; "filtersCleared": "filtersCleared"; }, never, never, true, never>;
|
|
43
48
|
}
|
|
@@ -14,26 +14,21 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
18
|
-
import { NodeEntry
|
|
19
|
-
import { ShareDataRow } from '../../data/share-data-row.model';
|
|
20
|
-
import { NodesApiService } from '../../../common/services/nodes-api.service';
|
|
17
|
+
import { OnInit } from '@angular/core';
|
|
18
|
+
import { NodeEntry } from '@alfresco/js-api';
|
|
21
19
|
import { BehaviorSubject } from 'rxjs';
|
|
22
20
|
import * as i0 from "@angular/core";
|
|
23
21
|
export declare class LibraryNameColumnComponent implements OnInit {
|
|
24
|
-
private element;
|
|
25
|
-
private nodesApiService;
|
|
22
|
+
private readonly element;
|
|
23
|
+
private readonly nodesApiService;
|
|
26
24
|
context: any;
|
|
27
25
|
displayTooltip$: BehaviorSubject<string>;
|
|
28
26
|
displayText$: BehaviorSubject<string>;
|
|
29
27
|
node: NodeEntry;
|
|
30
28
|
private readonly destroyRef;
|
|
31
|
-
constructor(element: ElementRef, nodesApiService: NodesApiService);
|
|
32
29
|
ngOnInit(): void;
|
|
33
30
|
protected updateValue(): void;
|
|
34
31
|
onClick(): void;
|
|
35
|
-
makeLibraryTooltip(library: any): string;
|
|
36
|
-
makeLibraryTitle(library: Site, rows: Array<ShareDataRow>): string;
|
|
37
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibraryNameColumnComponent, never>;
|
|
38
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<LibraryNameColumnComponent, "adf-library-name-column", never, { "context": { "alias": "context"; "required": true; }; }, {}, never, never, true, never>;
|
|
39
34
|
}
|
|
@@ -15,15 +15,13 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
|
-
import { BehaviorSubject } from 'rxjs';
|
|
19
|
-
import { NodesApiService } from '../../../common/services/nodes-api.service';
|
|
20
18
|
import * as i0 from "@angular/core";
|
|
21
19
|
export declare class LibraryRoleColumnComponent implements OnInit {
|
|
22
|
-
private nodesApiService;
|
|
20
|
+
private readonly nodesApiService;
|
|
23
21
|
context: any;
|
|
24
|
-
|
|
22
|
+
private readonly role;
|
|
23
|
+
readonly displayText: import("@angular/core").Signal<"LIBRARY.ROLE.MANAGER" | "LIBRARY.ROLE.COLLABORATOR" | "LIBRARY.ROLE.CONTRIBUTOR" | "LIBRARY.ROLE.CONSUMER" | "LIBRARY.ROLE.NONE">;
|
|
25
24
|
private readonly destroyRef;
|
|
26
|
-
constructor(nodesApiService: NodesApiService);
|
|
27
25
|
ngOnInit(): void;
|
|
28
26
|
protected updateValue(): void;
|
|
29
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibraryRoleColumnComponent, never>;
|
package/lib/document-list/components/library-status-column/library-status-column.component.d.ts
CHANGED
|
@@ -15,15 +15,13 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
|
-
import { NodesApiService } from '../../../common/services/nodes-api.service';
|
|
19
18
|
import { BehaviorSubject } from 'rxjs';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class LibraryStatusColumnComponent implements OnInit {
|
|
22
|
-
private nodesApiService;
|
|
21
|
+
private readonly nodesApiService;
|
|
23
22
|
context: any;
|
|
24
23
|
displayText$: BehaviorSubject<string>;
|
|
25
24
|
private readonly destroyRef;
|
|
26
|
-
constructor(nodesApiService: NodesApiService);
|
|
27
25
|
ngOnInit(): void;
|
|
28
26
|
protected updateValue(): void;
|
|
29
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibraryStatusColumnComponent, never>;
|
|
@@ -14,20 +14,19 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
17
|
+
import { OnInit } from '@angular/core';
|
|
18
18
|
import { NodeEntry } from '@alfresco/js-api';
|
|
19
19
|
import { BehaviorSubject } from 'rxjs';
|
|
20
|
-
import { NodesApiService } from '../../../common/services/nodes-api.service';
|
|
21
20
|
import * as i0 from "@angular/core";
|
|
22
21
|
export declare class NameColumnComponent implements OnInit {
|
|
23
|
-
private element;
|
|
24
|
-
private nodesApiService;
|
|
22
|
+
private readonly element;
|
|
23
|
+
private readonly nodesApiService;
|
|
25
24
|
context: any;
|
|
26
25
|
key: string;
|
|
27
26
|
displayText$: BehaviorSubject<string>;
|
|
28
27
|
node: NodeEntry;
|
|
28
|
+
readonly tooltip: import("@angular/core").Signal<string>;
|
|
29
29
|
private readonly destroyRef;
|
|
30
|
-
constructor(element: ElementRef, nodesApiService: NodesApiService);
|
|
31
30
|
ngOnInit(): void;
|
|
32
31
|
protected updateValue(): void;
|
|
33
32
|
onClick(): void;
|
package/lib/document-list/components/trashcan-name-column/trashcan-name-column.component.d.ts
CHANGED
|
@@ -16,16 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
18
|
import { NodeEntry } from '@alfresco/js-api';
|
|
19
|
-
import { ShareDataRow } from '../../data/share-data-row.model';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class TrashcanNameColumnComponent implements OnInit {
|
|
22
21
|
context: any;
|
|
23
22
|
isLibrary: boolean;
|
|
24
23
|
displayText: string;
|
|
25
|
-
displayTooltip: string;
|
|
26
24
|
node: NodeEntry;
|
|
25
|
+
readonly tooltip: import("@angular/core").Signal<string>;
|
|
27
26
|
ngOnInit(): void;
|
|
28
|
-
makeLibraryTitle(library: any, rows: Array<ShareDataRow>): string;
|
|
29
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<TrashcanNameColumnComponent, never>;
|
|
30
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<TrashcanNameColumnComponent, "adf-trashcan-name-column", never, { "context": { "alias": "context"; "required": true; }; }, {}, never, never, true, never>;
|
|
31
29
|
}
|
|
@@ -21,10 +21,10 @@ import { ContentService } from './../../common/services/content.service';
|
|
|
21
21
|
export declare const ERR_OBJECT_NOT_FOUND: string;
|
|
22
22
|
export declare class ShareDataRow implements DataRow {
|
|
23
23
|
private obj;
|
|
24
|
-
private contentService;
|
|
25
|
-
private permissionsStyle;
|
|
26
|
-
private thumbnailService?;
|
|
27
|
-
private allowDropFiles?;
|
|
24
|
+
private readonly contentService;
|
|
25
|
+
private readonly permissionsStyle;
|
|
26
|
+
private readonly thumbnailService?;
|
|
27
|
+
private readonly allowDropFiles?;
|
|
28
28
|
cache: {
|
|
29
29
|
[key: string]: any;
|
|
30
30
|
};
|