@alfresco/adf-content-services 8.4.0-20709862081 → 8.4.0-20714146592
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/fesm2022/adf-content-services.mjs +148 -289
- package/fesm2022/adf-content-services.mjs.map +1 -1
- package/lib/common/services/card-view-content-update.service.d.ts +1 -2
- package/lib/content.module.d.ts +33 -34
- package/lib/directives/content-directive.module.d.ts +9 -11
- package/lib/directives/public-api.d.ts +0 -1
- package/lib/interfaces/public-api.d.ts +0 -2
- package/lib/upload/components/upload-button.component.d.ts +1 -2
- package/lib/upload/components/upload-drag-area.component.d.ts +1 -2
- package/lib/upload/components/upload-version-button.component.d.ts +16 -0
- package/package.json +3 -3
- package/lib/directives/check-allowable-operation.directive.d.ts +0 -65
- 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
|
@@ -17,9 +17,8 @@
|
|
|
17
17
|
import { UpdateNotification, CardViewBaseItemModel, CardViewUpdateService } from '@alfresco/adf-core';
|
|
18
18
|
import { Node } from '@alfresco/js-api';
|
|
19
19
|
import { Subject } from 'rxjs';
|
|
20
|
-
import { BaseCardViewContentUpdate } from '../../interfaces/base-card-view-content-update.interface';
|
|
21
20
|
import * as i0 from "@angular/core";
|
|
22
|
-
export declare class CardViewContentUpdateService
|
|
21
|
+
export declare class CardViewContentUpdateService {
|
|
23
22
|
private cardViewUpdateService;
|
|
24
23
|
itemUpdated$: Subject<UpdateNotification>;
|
|
25
24
|
updatedAspect$: Subject<Node>;
|
package/lib/content.module.d.ts
CHANGED
|
@@ -94,39 +94,38 @@ import * as i75 from "./content-metadata/components/content-metadata/content-met
|
|
|
94
94
|
import * as i76 from "./directives/node-lock.directive";
|
|
95
95
|
import * as i77 from "./directives/node-counter.directive";
|
|
96
96
|
import * as i78 from "./directives/auto-focus.directive";
|
|
97
|
-
import * as i79 from "./directives/
|
|
98
|
-
import * as i80 from "./directives/library-
|
|
99
|
-
import * as i81 from "./directives/
|
|
100
|
-
import * as i82 from "./directives/node-
|
|
101
|
-
import * as i83 from "./directives/node-
|
|
102
|
-
import * as i84 from "./directives/node-
|
|
103
|
-
import * as i85 from "./
|
|
104
|
-
import * as i86 from "./permission-manager/components/add-permission/add-permission
|
|
105
|
-
import * as i87 from "./permission-manager/components/add-permission/add-permission.component";
|
|
106
|
-
import * as i88 from "./permission-manager/components/
|
|
107
|
-
import * as i89 from "./permission-manager/components/
|
|
108
|
-
import * as i90 from "./permission-manager/components/permission-
|
|
109
|
-
import * as i91 from "./permission-manager/components/
|
|
110
|
-
import * as i92 from "./permission-manager/components/user-
|
|
111
|
-
import * as i93 from "./permission-manager/components/user-
|
|
112
|
-
import * as i94 from "./permission-manager/components/
|
|
113
|
-
import * as i95 from "./permission-manager/components/
|
|
114
|
-
import * as i96 from "./
|
|
115
|
-
import * as i97 from "./version-manager/version-
|
|
116
|
-
import * as i98 from "./version-manager/version-
|
|
117
|
-
import * as i99 from "./version-manager/version-
|
|
118
|
-
import * as i100 from "./
|
|
119
|
-
import * as i101 from "./
|
|
120
|
-
import * as i102 from "./
|
|
121
|
-
import * as i103 from "./aspect-list/aspect-list.component";
|
|
122
|
-
import * as i104 from "./
|
|
123
|
-
import * as i105 from "./
|
|
124
|
-
import * as i106 from "./
|
|
125
|
-
import * as i107 from "./
|
|
126
|
-
import * as i108 from "./
|
|
127
|
-
import * as i109 from "./
|
|
128
|
-
import * as i110 from "./
|
|
129
|
-
import * as i111 from "./alfresco-icon/alfresco-icon.component";
|
|
97
|
+
import * as i79 from "./directives/library-favorite.directive";
|
|
98
|
+
import * as i80 from "./directives/library-membership.directive";
|
|
99
|
+
import * as i81 from "./directives/node-delete.directive";
|
|
100
|
+
import * as i82 from "./directives/node-favorite.directive";
|
|
101
|
+
import * as i83 from "./directives/node-restore.directive";
|
|
102
|
+
import * as i84 from "./directives/node-download.directive";
|
|
103
|
+
import * as i85 from "./permission-manager/components/add-permission/add-permission-panel.component";
|
|
104
|
+
import * as i86 from "./permission-manager/components/add-permission/add-permission.component";
|
|
105
|
+
import * as i87 from "./permission-manager/components/add-permission/add-permission-dialog.component";
|
|
106
|
+
import * as i88 from "./permission-manager/components/node-path-column/node-path-column.component";
|
|
107
|
+
import * as i89 from "./permission-manager/components/permission-container/permission-container.component";
|
|
108
|
+
import * as i90 from "./permission-manager/components/permission-list/permission-list.component";
|
|
109
|
+
import * as i91 from "./permission-manager/components/user-name-column/user-name-column.component";
|
|
110
|
+
import * as i92 from "./permission-manager/components/user-icon-column/user-icon-column.component";
|
|
111
|
+
import * as i93 from "./permission-manager/components/user-role-column/user-role-column.component";
|
|
112
|
+
import * as i94 from "./permission-manager/components/inherited-button.directive";
|
|
113
|
+
import * as i95 from "./permission-manager/components/pop-over.directive";
|
|
114
|
+
import * as i96 from "./version-manager/version-upload.component";
|
|
115
|
+
import * as i97 from "./version-manager/version-manager.component";
|
|
116
|
+
import * as i98 from "./version-manager/version-list.component";
|
|
117
|
+
import * as i99 from "./version-manager/version-comparison.component";
|
|
118
|
+
import * as i100 from "./tree-view/components/tree-view.component";
|
|
119
|
+
import * as i101 from "./content-type/content-type-dialog.component";
|
|
120
|
+
import * as i102 from "./aspect-list/aspect-list.component";
|
|
121
|
+
import * as i103 from "./aspect-list/aspect-list-dialog.component";
|
|
122
|
+
import * as i104 from "./version-compatibility/version-compatibility.directive";
|
|
123
|
+
import * as i105 from "./node-comments/node-comments.component";
|
|
124
|
+
import * as i106 from "./tree/components/tree.component";
|
|
125
|
+
import * as i107 from "./viewer/components/alfresco-viewer.component";
|
|
126
|
+
import * as i108 from "./category/categories-management/categories-management.component";
|
|
127
|
+
import * as i109 from "./new-version-uploader/new-version-uploader.dialog";
|
|
128
|
+
import * as i110 from "./alfresco-icon/alfresco-icon.component";
|
|
130
129
|
export declare class ContentModule {
|
|
131
130
|
static forRoot(): ModuleWithProviders<ContentModule>;
|
|
132
131
|
/**
|
|
@@ -135,6 +134,6 @@ export declare class ContentModule {
|
|
|
135
134
|
*/
|
|
136
135
|
static forChild(): ModuleWithProviders<ContentModule>;
|
|
137
136
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentModule, never>;
|
|
138
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ContentModule, never, [typeof i1.MaterialModule, typeof i2.MatDatetimepickerModule, typeof i2.MatNativeDatetimeModule, typeof i3.NodeNameTooltipPipe, typeof i4.TagsCreatorComponent, typeof i5.TagActionsComponent, typeof i6.TagListComponent, typeof i7.TagNodeListComponent, typeof i8.DownloadZipDialogComponent, typeof i9.FolderDialogComponent, typeof i10.NodeLockDialogComponent, typeof i11.LibraryDialogComponent, typeof i12.CategorySelectorDialogComponent, typeof i13.SearchCheckListComponent, typeof i14.SearchChipAutocompleteInputComponent, typeof i15.SearchChipListComponent, typeof i16.EmptySearchResultComponent, typeof i17.SearchFilterComponent, typeof i18.SearchFilterCardComponent, typeof i19.SearchWidgetContainerComponent, typeof i20.SearchTextComponent, typeof i21.SearchFilterAutocompleteChipsComponent, typeof i22.SearchDatetimeRangeComponent, typeof i23.SearchFacetFieldComponent, typeof i24.ResetSearchDirective, typeof i25.SearchDateRangeComponent, typeof i26.SearchFilterMenuCardComponent, typeof i27.SearchFacetChipTabbedComponent, typeof i28.SearchFacetTabbedContentComponent, typeof i29.SearchFilterTabbedComponent, typeof i30.SearchFilterTabDirective, typeof i31.SearchDateRangeTabbedComponent, typeof i32.SearchSortingPickerComponent, typeof i33.SearchSliderComponent, typeof i34.SearchNumberRangeComponent, typeof i35.SearchPanelComponent, typeof i36.SearchRadioComponent, typeof i37.SearchFilterContainerComponent, typeof i38.SearchFormComponent, typeof i39.SearchFilterChipsComponent, typeof i40.SearchWidgetChipComponent, typeof i41.SearchFacetChipComponent, typeof i42.SearchLogicalFilterComponent, typeof i43.SearchPropertiesComponent, typeof i44.SearchComponent, typeof i45.SearchControlComponent, typeof i46.ContentActionComponent, typeof i47.FileAutoDownloadComponent, typeof i48.FilterHeaderComponent, typeof i49.LibraryNameColumnComponent, typeof i50.LibraryRoleColumnComponent, typeof i51.LibraryStatusColumnComponent, typeof i52.NameColumnComponent, typeof i53.TrashcanNameColumnComponent, typeof i54.ContentActionListComponent, typeof i55.DocumentListComponent, typeof i56.FileUploadErrorPipe, typeof i57.FileDraggableDirective, typeof i58.ToggleIconDirective, typeof i59.UploadDragAreaComponent, typeof i60.UploadButtonComponent, typeof i61.UploadVersionButtonComponent, typeof i62.FileUploadingListRowComponent, typeof i63.FileUploadingListComponent, typeof i64.FileUploadingDialogComponent, typeof i65.BreadcrumbComponent, typeof i66.DropdownBreadcrumbComponent, typeof i67.ContentNodeSelectorPanelComponent, typeof i68.NameLocationCellComponent, typeof i69.ContentNodeSelectorComponent, typeof i70.DropdownSitesComponent, typeof i71.ShareDialogComponent, typeof i72.NodeSharedDirective, typeof i73.ContentMetadataComponent, typeof i74.ContentMetadataCardComponent, typeof i75.ContentMetadataHeaderComponent, typeof i76.NodeLockDirective, typeof i77.NodeCounterDirective, typeof i77.NodeCounterComponent, typeof i78.AutoFocusDirective, typeof i79.
|
|
137
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ContentModule, never, [typeof i1.MaterialModule, typeof i2.MatDatetimepickerModule, typeof i2.MatNativeDatetimeModule, typeof i3.NodeNameTooltipPipe, typeof i4.TagsCreatorComponent, typeof i5.TagActionsComponent, typeof i6.TagListComponent, typeof i7.TagNodeListComponent, typeof i8.DownloadZipDialogComponent, typeof i9.FolderDialogComponent, typeof i10.NodeLockDialogComponent, typeof i11.LibraryDialogComponent, typeof i12.CategorySelectorDialogComponent, typeof i13.SearchCheckListComponent, typeof i14.SearchChipAutocompleteInputComponent, typeof i15.SearchChipListComponent, typeof i16.EmptySearchResultComponent, typeof i17.SearchFilterComponent, typeof i18.SearchFilterCardComponent, typeof i19.SearchWidgetContainerComponent, typeof i20.SearchTextComponent, typeof i21.SearchFilterAutocompleteChipsComponent, typeof i22.SearchDatetimeRangeComponent, typeof i23.SearchFacetFieldComponent, typeof i24.ResetSearchDirective, typeof i25.SearchDateRangeComponent, typeof i26.SearchFilterMenuCardComponent, typeof i27.SearchFacetChipTabbedComponent, typeof i28.SearchFacetTabbedContentComponent, typeof i29.SearchFilterTabbedComponent, typeof i30.SearchFilterTabDirective, typeof i31.SearchDateRangeTabbedComponent, typeof i32.SearchSortingPickerComponent, typeof i33.SearchSliderComponent, typeof i34.SearchNumberRangeComponent, typeof i35.SearchPanelComponent, typeof i36.SearchRadioComponent, typeof i37.SearchFilterContainerComponent, typeof i38.SearchFormComponent, typeof i39.SearchFilterChipsComponent, typeof i40.SearchWidgetChipComponent, typeof i41.SearchFacetChipComponent, typeof i42.SearchLogicalFilterComponent, typeof i43.SearchPropertiesComponent, typeof i44.SearchComponent, typeof i45.SearchControlComponent, typeof i46.ContentActionComponent, typeof i47.FileAutoDownloadComponent, typeof i48.FilterHeaderComponent, typeof i49.LibraryNameColumnComponent, typeof i50.LibraryRoleColumnComponent, typeof i51.LibraryStatusColumnComponent, typeof i52.NameColumnComponent, typeof i53.TrashcanNameColumnComponent, typeof i54.ContentActionListComponent, typeof i55.DocumentListComponent, typeof i56.FileUploadErrorPipe, typeof i57.FileDraggableDirective, typeof i58.ToggleIconDirective, typeof i59.UploadDragAreaComponent, typeof i60.UploadButtonComponent, typeof i61.UploadVersionButtonComponent, typeof i62.FileUploadingListRowComponent, typeof i63.FileUploadingListComponent, typeof i64.FileUploadingDialogComponent, typeof i65.BreadcrumbComponent, typeof i66.DropdownBreadcrumbComponent, typeof i67.ContentNodeSelectorPanelComponent, typeof i68.NameLocationCellComponent, typeof i69.ContentNodeSelectorComponent, typeof i70.DropdownSitesComponent, typeof i71.ShareDialogComponent, typeof i72.NodeSharedDirective, typeof i73.ContentMetadataComponent, typeof i74.ContentMetadataCardComponent, typeof i75.ContentMetadataHeaderComponent, typeof i76.NodeLockDirective, typeof i77.NodeCounterDirective, typeof i77.NodeCounterComponent, typeof i78.AutoFocusDirective, typeof i79.LibraryFavoriteDirective, typeof i80.LibraryMembershipDirective, typeof i81.NodeDeleteDirective, typeof i82.NodeFavoriteDirective, typeof i83.NodeRestoreDirective, typeof i84.NodeDownloadDirective, typeof i85.AddPermissionPanelComponent, typeof i86.AddPermissionComponent, typeof i87.AddPermissionDialogComponent, typeof i88.NodePathColumnComponent, typeof i89.PermissionContainerComponent, typeof i90.PermissionListComponent, typeof i91.UserNameColumnComponent, typeof i92.UserIconColumnComponent, typeof i93.UserRoleColumnComponent, typeof i94.InheritPermissionDirective, typeof i95.PopOverDirective, typeof i96.VersionUploadComponent, typeof i97.VersionManagerComponent, typeof i98.VersionListComponent, typeof i99.VersionComparisonComponent, typeof i100.TreeViewComponent, typeof i101.ContentTypeDialogComponent, typeof i102.AspectListComponent, typeof i103.AspectListDialogComponent, typeof i104.VersionCompatibilityDirective, typeof i105.NodeCommentsComponent, typeof i106.TreeComponent, typeof i107.AlfrescoViewerComponent, typeof i108.CategoriesManagementComponent, typeof i109.NewVersionUploaderDialogComponent, typeof i110.AlfrescoIconComponent], [typeof i1.MaterialModule, typeof i3.NodeNameTooltipPipe, typeof i4.TagsCreatorComponent, typeof i5.TagActionsComponent, typeof i6.TagListComponent, typeof i7.TagNodeListComponent, typeof i46.ContentActionComponent, typeof i47.FileAutoDownloadComponent, typeof i48.FilterHeaderComponent, typeof i49.LibraryNameColumnComponent, typeof i50.LibraryRoleColumnComponent, typeof i51.LibraryStatusColumnComponent, typeof i52.NameColumnComponent, typeof i53.TrashcanNameColumnComponent, typeof i54.ContentActionListComponent, typeof i55.DocumentListComponent, typeof i56.FileUploadErrorPipe, typeof i57.FileDraggableDirective, typeof i58.ToggleIconDirective, typeof i59.UploadDragAreaComponent, typeof i60.UploadButtonComponent, typeof i61.UploadVersionButtonComponent, typeof i62.FileUploadingListRowComponent, typeof i63.FileUploadingListComponent, typeof i64.FileUploadingDialogComponent, typeof i13.SearchCheckListComponent, typeof i14.SearchChipAutocompleteInputComponent, typeof i15.SearchChipListComponent, typeof i16.EmptySearchResultComponent, typeof i17.SearchFilterComponent, typeof i18.SearchFilterCardComponent, typeof i19.SearchWidgetContainerComponent, typeof i20.SearchTextComponent, typeof i21.SearchFilterAutocompleteChipsComponent, typeof i22.SearchDatetimeRangeComponent, typeof i23.SearchFacetFieldComponent, typeof i24.ResetSearchDirective, typeof i25.SearchDateRangeComponent, typeof i26.SearchFilterMenuCardComponent, typeof i27.SearchFacetChipTabbedComponent, typeof i28.SearchFacetTabbedContentComponent, typeof i29.SearchFilterTabbedComponent, typeof i30.SearchFilterTabDirective, typeof i31.SearchDateRangeTabbedComponent, typeof i32.SearchSortingPickerComponent, typeof i33.SearchSliderComponent, typeof i34.SearchNumberRangeComponent, typeof i35.SearchPanelComponent, typeof i36.SearchRadioComponent, typeof i37.SearchFilterContainerComponent, typeof i38.SearchFormComponent, typeof i39.SearchFilterChipsComponent, typeof i40.SearchWidgetChipComponent, typeof i41.SearchFacetChipComponent, typeof i42.SearchLogicalFilterComponent, typeof i43.SearchPropertiesComponent, typeof i44.SearchComponent, typeof i45.SearchControlComponent, typeof i65.BreadcrumbComponent, typeof i66.DropdownBreadcrumbComponent, typeof i67.ContentNodeSelectorPanelComponent, typeof i68.NameLocationCellComponent, typeof i69.ContentNodeSelectorComponent, typeof i70.DropdownSitesComponent, typeof i71.ShareDialogComponent, typeof i72.NodeSharedDirective, typeof i73.ContentMetadataComponent, typeof i74.ContentMetadataCardComponent, typeof i75.ContentMetadataHeaderComponent, typeof i8.DownloadZipDialogComponent, typeof i9.FolderDialogComponent, typeof i10.NodeLockDialogComponent, typeof i11.LibraryDialogComponent, typeof i12.CategorySelectorDialogComponent, typeof i76.NodeLockDirective, typeof i77.NodeCounterDirective, typeof i77.NodeCounterComponent, typeof i78.AutoFocusDirective, typeof i79.LibraryFavoriteDirective, typeof i80.LibraryMembershipDirective, typeof i81.NodeDeleteDirective, typeof i82.NodeFavoriteDirective, typeof i83.NodeRestoreDirective, typeof i84.NodeDownloadDirective, typeof i85.AddPermissionPanelComponent, typeof i86.AddPermissionComponent, typeof i87.AddPermissionDialogComponent, typeof i88.NodePathColumnComponent, typeof i89.PermissionContainerComponent, typeof i90.PermissionListComponent, typeof i91.UserNameColumnComponent, typeof i92.UserIconColumnComponent, typeof i93.UserRoleColumnComponent, typeof i94.InheritPermissionDirective, typeof i95.PopOverDirective, typeof i96.VersionUploadComponent, typeof i97.VersionManagerComponent, typeof i98.VersionListComponent, typeof i99.VersionComparisonComponent, typeof i100.TreeViewComponent, typeof i102.AspectListComponent, typeof i103.AspectListDialogComponent, typeof i101.ContentTypeDialogComponent, typeof i104.VersionCompatibilityDirective, typeof i105.NodeCommentsComponent, typeof i106.TreeComponent, typeof i107.AlfrescoViewerComponent, typeof i108.CategoriesManagementComponent, typeof i109.NewVersionUploaderDialogComponent, typeof i110.AlfrescoIconComponent]>;
|
|
139
138
|
static ɵinj: i0.ɵɵInjectorDeclaration<ContentModule>;
|
|
140
139
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeLockDirective } from './node-lock.directive';
|
|
2
2
|
import { NodeCounterComponent, NodeCounterDirective } 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 NodeCounterDirective | 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
|
}
|
|
@@ -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';
|
|
@@ -14,9 +14,7 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export * from './node-allowable-operation-subject.interface';
|
|
18
17
|
export * from './library-entity.interface';
|
|
19
18
|
export * from './restore-message-model.interface';
|
|
20
19
|
export * from './library-membership-error-event.interface';
|
|
21
20
|
export * from './library-membership-toggle-event.interface';
|
|
22
|
-
export * from './base-card-view-content-update.interface';
|
|
@@ -4,9 +4,8 @@ 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
|
|
8
|
+
export declare class UploadButtonComponent extends UploadBase implements OnInit, OnChanges {
|
|
10
9
|
private contentService;
|
|
11
10
|
private nodesApiService;
|
|
12
11
|
/** Allows/disallows upload folders (only for Chrome). */
|
|
@@ -1,8 +1,7 @@
|
|
|
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
|
|
4
|
+
export declare class UploadDragAreaComponent extends UploadBase {
|
|
6
5
|
private notificationService;
|
|
7
6
|
private contentService;
|
|
8
7
|
/**
|
|
@@ -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';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-content-services",
|
|
3
3
|
"description": "Alfresco ADF content services",
|
|
4
|
-
"version": "8.4.0-
|
|
4
|
+
"version": "8.4.0-20714146592",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@angular/platform-browser": ">=14.1.3",
|
|
22
22
|
"@angular/platform-browser-dynamic": ">=14.1.3",
|
|
23
23
|
"@angular/router": ">=14.1.3",
|
|
24
|
-
"@alfresco/js-api": ">=9.4.0-
|
|
24
|
+
"@alfresco/js-api": ">=9.4.0-20714146592",
|
|
25
25
|
"@ngx-translate/core": ">=16.0.0",
|
|
26
|
-
"@alfresco/adf-core": ">=8.4.0-
|
|
26
|
+
"@alfresco/adf-core": ">=8.4.0-20714146592"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
29
29
|
"content-services",
|
|
@@ -1,65 +0,0 @@
|
|
|
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 { ChangeDetectorRef, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
18
|
-
import { NodeEntry } from '@alfresco/js-api';
|
|
19
|
-
import { ContentService } from '../common/services/content.service';
|
|
20
|
-
import { NodeAllowableOperationSubject } from '../interfaces/node-allowable-operation-subject.interface';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
export declare class CheckAllowableOperationDirective implements OnChanges {
|
|
23
|
-
private elementRef;
|
|
24
|
-
private renderer;
|
|
25
|
-
private contentService;
|
|
26
|
-
private changeDetector;
|
|
27
|
-
private parentComponent?;
|
|
28
|
-
/**
|
|
29
|
-
* Node permission to check (create, delete, update, updatePermissions,
|
|
30
|
-
* !create, !delete, !update, !updatePermissions).
|
|
31
|
-
*/
|
|
32
|
-
permission: string;
|
|
33
|
-
/** Nodes to check permission for. */
|
|
34
|
-
nodes: NodeEntry[];
|
|
35
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, contentService: ContentService, changeDetector: ChangeDetectorRef, parentComponent?: NodeAllowableOperationSubject);
|
|
36
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
37
|
-
/**
|
|
38
|
-
* Updates disabled state for the decorated element
|
|
39
|
-
*
|
|
40
|
-
* @returns the new state
|
|
41
|
-
*/
|
|
42
|
-
updateElement(): boolean;
|
|
43
|
-
private enable;
|
|
44
|
-
private disable;
|
|
45
|
-
/**
|
|
46
|
-
* Enables decorated element
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
enableElement(): void;
|
|
50
|
-
/**
|
|
51
|
-
* Disables decorated element
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
disableElement(): void;
|
|
55
|
-
/**
|
|
56
|
-
* Checks whether all nodes have a particular permission
|
|
57
|
-
*
|
|
58
|
-
* @param nodes Node collection to check
|
|
59
|
-
* @param permission Permission to check for each node
|
|
60
|
-
* @returns `true` if there are allowable operations, otherwise `false`
|
|
61
|
-
*/
|
|
62
|
-
hasAllowableOperations(nodes: NodeEntry[], permission: string): boolean;
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckAllowableOperationDirective, [null, null, null, null, { optional: true; host: true; }]>;
|
|
64
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckAllowableOperationDirective, "[adf-check-allowable-operation]", never, { "permission": { "alias": "adf-check-allowable-operation"; "required": false; }; "nodes": { "alias": "adf-nodes"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
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 { CardViewBaseItemModel, UpdateNotification } from '@alfresco/adf-core';
|
|
18
|
-
import { Node } from '@alfresco/js-api';
|
|
19
|
-
import { Subject } from 'rxjs';
|
|
20
|
-
export interface BaseCardViewContentUpdate {
|
|
21
|
-
itemUpdated$: Subject<UpdateNotification>;
|
|
22
|
-
updatedAspect$: Subject<Node>;
|
|
23
|
-
update(property: CardViewBaseItemModel, newValue: any): any;
|
|
24
|
-
updateElement(notification: CardViewBaseItemModel): any;
|
|
25
|
-
updateNodeAspect(node: Node): any;
|
|
26
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
export interface NodeAllowableOperationSubject {
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
}
|