@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
|
@@ -15,28 +15,24 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
18
|
-
import { DataSorting, HighlightDirective, InfinitePaginationComponent, PaginatedComponent
|
|
19
|
-
import { NodesApiService, SitesService, UploadService } from '../../common';
|
|
18
|
+
import { DataSorting, HighlightDirective, InfinitePaginationComponent, PaginatedComponent } from '@alfresco/adf-core';
|
|
20
19
|
import { UntypedFormControl } from '@angular/forms';
|
|
21
20
|
import { Node, NodeEntry, NodePaging, Pagination, SearchRequest, SiteEntry, SitePaging } from '@alfresco/js-api';
|
|
22
21
|
import { DocumentListComponent } from '../../document-list/components/document-list.component';
|
|
23
22
|
import { RowFilter } from '../../document-list/data/row-filter.model';
|
|
24
23
|
import { ImageResolver } from '../../document-list/data/image-resolver.model';
|
|
25
|
-
import { CustomResourcesService } from '../../document-list/services/custom-resources.service';
|
|
26
24
|
import { NodeEntryEvent } from '../../document-list/components/node.event';
|
|
27
|
-
import { ContentNodeSelectorPanelService } from './content-node-selector-panel.service';
|
|
28
|
-
import { SearchQueryBuilderService } from '../../search/services/search-query-builder.service';
|
|
29
25
|
import * as i0 from "@angular/core";
|
|
30
26
|
export type ValidationFunction = (entry: Node) => boolean;
|
|
31
27
|
export declare const defaultValidation: () => boolean;
|
|
32
28
|
export declare class ContentNodeSelectorPanelComponent implements OnInit {
|
|
33
|
-
private customResourcesService;
|
|
34
|
-
private queryBuilderService;
|
|
35
|
-
private userPreferencesService;
|
|
36
|
-
private nodesApiService;
|
|
37
|
-
private uploadService;
|
|
38
|
-
private sitesService;
|
|
39
|
-
private contentNodeSelectorPanelService;
|
|
29
|
+
private readonly customResourcesService;
|
|
30
|
+
private readonly queryBuilderService;
|
|
31
|
+
private readonly userPreferencesService;
|
|
32
|
+
private readonly nodesApiService;
|
|
33
|
+
private readonly uploadService;
|
|
34
|
+
private readonly sitesService;
|
|
35
|
+
private readonly contentNodeSelectorPanelService;
|
|
40
36
|
DEFAULT_PAGINATION: Pagination;
|
|
41
37
|
readonly disableActionFolderList: string[];
|
|
42
38
|
private showSiteList;
|
|
@@ -140,7 +136,7 @@ export declare class ContentNodeSelectorPanelComponent implements OnInit {
|
|
|
140
136
|
breadcrumbFolderTitle: string | null;
|
|
141
137
|
startSiteGuid: string | null;
|
|
142
138
|
hasValidQuery: boolean;
|
|
143
|
-
showHeader:
|
|
139
|
+
showHeader: "never";
|
|
144
140
|
infinitePaginationComponent: InfinitePaginationComponent;
|
|
145
141
|
infiniteScroll: boolean;
|
|
146
142
|
debounceSearch: number;
|
|
@@ -151,7 +147,6 @@ export declare class ContentNodeSelectorPanelComponent implements OnInit {
|
|
|
151
147
|
sorting: string[] | DataSorting;
|
|
152
148
|
searchPanelExpanded: boolean;
|
|
153
149
|
private readonly destroyRef;
|
|
154
|
-
constructor(customResourcesService: CustomResourcesService, queryBuilderService: SearchQueryBuilderService, userPreferencesService: UserPreferencesService, nodesApiService: NodesApiService, uploadService: UploadService, sitesService: SitesService, contentNodeSelectorPanelService: ContentNodeSelectorPanelService);
|
|
155
150
|
set chosenNode(value: Node[]);
|
|
156
151
|
get chosenNode(): Node[];
|
|
157
152
|
get emptyList(): boolean;
|
|
@@ -36,60 +36,26 @@ h2.adf-search-results-label {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&-document-list-container {
|
|
39
|
-
margin-top: 16px;
|
|
40
39
|
width: 100%;
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
&-content {
|
|
44
|
-
|
|
45
|
-
&:focus::placeholder {
|
|
46
|
-
color: var(--theme-primary-color);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
#{ms.$mat-form-field-wrapper} {
|
|
51
|
-
#{ms.$mat-form-field-flex} {
|
|
52
|
-
align-items: center;
|
|
53
|
-
|
|
54
|
-
#{ms.$mat-form-field-infix} {
|
|
55
|
-
padding-bottom: 0;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.adf-sites-dropdown-form-field {
|
|
61
|
-
label {
|
|
62
|
-
&#{ms.$mat-form-field-label} {
|
|
63
|
-
top: 32px;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
#{ms.$mat-form-field-subscript-wrapper} {
|
|
69
|
-
height: 16px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
padding-top: 0;
|
|
43
|
+
padding-top: 10px;
|
|
73
44
|
|
|
74
45
|
&-input {
|
|
75
46
|
width: 100%;
|
|
76
|
-
margin-bottom:
|
|
47
|
+
margin-bottom: 15px;
|
|
77
48
|
|
|
78
49
|
.adf-content-node-selector-content-input-icon {
|
|
79
50
|
color: var(--adf-theme-foreground-icon-color-054);
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
padding: 0 0 8px;
|
|
82
|
-
width: 1em;
|
|
83
|
-
height: 1em;
|
|
84
|
-
font-size: 20px;
|
|
85
|
-
|
|
86
|
-
&:hover {
|
|
87
|
-
color: var(--adf-theme-foreground-base-color);
|
|
88
|
-
}
|
|
89
51
|
}
|
|
90
52
|
|
|
91
|
-
|
|
92
|
-
|
|
53
|
+
.adf-content-node-selector-search-clear-button {
|
|
54
|
+
.adf-content-node-selector-content-input-icon {
|
|
55
|
+
&:hover {
|
|
56
|
+
color: var(--adf-theme-foreground-base-color);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
93
59
|
}
|
|
94
60
|
}
|
|
95
61
|
|
|
@@ -98,6 +64,7 @@ h2.adf-search-results-label {
|
|
|
98
64
|
|
|
99
65
|
.adf-sites-dropdown-form-field {
|
|
100
66
|
width: 100%;
|
|
67
|
+
margin-bottom: 15px;
|
|
101
68
|
}
|
|
102
69
|
}
|
|
103
70
|
}
|
|
@@ -15,23 +15,18 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
19
|
-
import { NotificationService, TranslationService } from '@alfresco/adf-core';
|
|
20
18
|
import { Node } from '@alfresco/js-api';
|
|
21
|
-
import { ContentService } from '../common/services/content.service';
|
|
22
|
-
import { UploadService } from '../common/services/upload.service';
|
|
23
19
|
import { ContentNodeSelectorComponentData } from './content-node-selector.component-data.interface';
|
|
24
20
|
import { NodeEntryEvent } from '../document-list/components/node.event';
|
|
25
21
|
import { NodeAction } from '../document-list/models/node-action.enum';
|
|
26
|
-
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
27
22
|
import * as i0 from "@angular/core";
|
|
28
23
|
export declare class ContentNodeSelectorComponent implements OnInit {
|
|
29
|
-
private translation;
|
|
30
|
-
private contentService;
|
|
31
|
-
private notificationService;
|
|
32
|
-
private uploadService;
|
|
33
|
-
private dialog;
|
|
34
|
-
private overlayContainer;
|
|
24
|
+
private readonly translation;
|
|
25
|
+
private readonly contentService;
|
|
26
|
+
private readonly notificationService;
|
|
27
|
+
private readonly uploadService;
|
|
28
|
+
private readonly dialog;
|
|
29
|
+
private readonly overlayContainer;
|
|
35
30
|
data: ContentNodeSelectorComponentData;
|
|
36
31
|
title: string;
|
|
37
32
|
action: NodeAction;
|
|
@@ -46,7 +41,7 @@ export declare class ContentNodeSelectorComponent implements OnInit {
|
|
|
46
41
|
emptyFolderImageUrl: string;
|
|
47
42
|
breadcrumbFolderNode: Node;
|
|
48
43
|
private readonly destroyRef;
|
|
49
|
-
constructor(
|
|
44
|
+
constructor();
|
|
50
45
|
ngOnInit(): void;
|
|
51
46
|
close(): void;
|
|
52
47
|
onSelect(nodeList: Node[]): void;
|
|
@@ -3,15 +3,14 @@
|
|
|
3
3
|
adf-content-node-selector {
|
|
4
4
|
.adf-upload-dialog {
|
|
5
5
|
box-shadow: none;
|
|
6
|
-
|
|
7
|
-
&__content {
|
|
8
|
-
max-height: 64%;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
6
|
height: 100%;
|
|
12
7
|
width: 100%;
|
|
13
8
|
position: unset;
|
|
14
9
|
bottom: unset;
|
|
10
|
+
|
|
11
|
+
&__content {
|
|
12
|
+
max-height: 64%;
|
|
13
|
+
}
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
.adf-upload-dialog-container {
|
|
@@ -15,22 +15,19 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
18
|
-
import { AuthenticationService } from '@alfresco/adf-core';
|
|
19
18
|
import { SitePaging, SiteEntry } from '@alfresco/js-api';
|
|
20
19
|
import { MatSelectChange } from '@angular/material/select';
|
|
21
|
-
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
22
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
23
|
-
import { SitesService } from '../../common/services/sites.service';
|
|
24
20
|
import * as i0 from "@angular/core";
|
|
25
|
-
export declare
|
|
26
|
-
Members
|
|
27
|
-
Containers
|
|
28
|
-
}
|
|
21
|
+
export declare const Relations: {
|
|
22
|
+
readonly Members: "members";
|
|
23
|
+
readonly Containers: "containers";
|
|
24
|
+
};
|
|
25
|
+
export type Relations = (typeof Relations)[keyof typeof Relations];
|
|
29
26
|
export declare class DropdownSitesComponent implements OnInit {
|
|
30
|
-
private authService;
|
|
31
|
-
private sitesService;
|
|
32
|
-
private liveAnnouncer;
|
|
33
|
-
private translateService;
|
|
27
|
+
private readonly authService;
|
|
28
|
+
private readonly sitesService;
|
|
29
|
+
private readonly liveAnnouncer;
|
|
30
|
+
private readonly translateService;
|
|
34
31
|
/** Hide the "My Files" option. */
|
|
35
32
|
hideMyFiles: boolean;
|
|
36
33
|
/**
|
|
@@ -64,7 +61,6 @@ export declare class DropdownSitesComponent implements OnInit {
|
|
|
64
61
|
selected: SiteEntry;
|
|
65
62
|
MY_FILES_VALUE: string;
|
|
66
63
|
get isLoading(): boolean;
|
|
67
|
-
constructor(authService: AuthenticationService, sitesService: SitesService, liveAnnouncer: LiveAnnouncer, translateService: TranslateService);
|
|
68
64
|
ngOnInit(): void;
|
|
69
65
|
loadAllOnScroll(): void;
|
|
70
66
|
selectedSite(event: MatSelectChange): void;
|
|
@@ -15,26 +15,22 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
19
18
|
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
20
19
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
21
|
-
import { ContentService } from '../common/services/content.service';
|
|
22
|
-
import { SharedLinksApiService } from './services/shared-links-api.service';
|
|
23
20
|
import { ContentNodeShareSettings } from './content-node-share.settings';
|
|
24
|
-
import { RenditionService } from '../common/services/rendition.service';
|
|
25
21
|
import * as i0 from "@angular/core";
|
|
26
22
|
interface SharedDialogFormProps {
|
|
27
23
|
sharedUrl: FormControl<string>;
|
|
28
24
|
time: FormControl<Date>;
|
|
29
25
|
}
|
|
30
26
|
export declare class ShareDialogComponent implements OnInit {
|
|
31
|
-
private sharedLinksApiService;
|
|
32
|
-
private dialogRef;
|
|
33
|
-
private dialog;
|
|
34
|
-
private contentService;
|
|
35
|
-
private renditionService;
|
|
27
|
+
private readonly sharedLinksApiService;
|
|
28
|
+
private readonly dialogRef;
|
|
29
|
+
private readonly dialog;
|
|
30
|
+
private readonly contentService;
|
|
31
|
+
private readonly renditionService;
|
|
36
32
|
data: ContentNodeShareSettings;
|
|
37
|
-
private minDateValidator;
|
|
33
|
+
private readonly minDateValidator;
|
|
38
34
|
minDate: Date;
|
|
39
35
|
sharedId: string;
|
|
40
36
|
fileName: string;
|
|
@@ -45,7 +41,6 @@ export declare class ShareDialogComponent implements OnInit {
|
|
|
45
41
|
form: FormGroup<SharedDialogFormProps>;
|
|
46
42
|
isExpiryDateToggleChecked: boolean;
|
|
47
43
|
slideToggleExpirationDate: any;
|
|
48
|
-
constructor(sharedLinksApiService: SharedLinksApiService, dialogRef: MatDialogRef<ShareDialogComponent>, dialog: MatDialog, contentService: ContentService, renditionService: RenditionService, data: ContentNodeShareSettings);
|
|
49
44
|
ngOnInit(): void;
|
|
50
45
|
onTimeChanged(): void;
|
|
51
46
|
get time(): FormControl<Date>;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
@use '
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
2
|
|
|
3
3
|
.adf-share-link-dialog {
|
|
4
4
|
.adf-share-link {
|
|
5
|
-
#{ms.$mat-form-field-flex} {
|
|
6
|
-
height: 48px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
5
|
&__dialog-content {
|
|
10
6
|
display: flex;
|
|
11
7
|
flex-direction: column;
|
|
@@ -34,20 +30,10 @@
|
|
|
34
30
|
|
|
35
31
|
&__form {
|
|
36
32
|
padding-top: 8px;
|
|
37
|
-
|
|
38
|
-
#{ms.$mat-form-field-infix}:has(.adf-share-link__input) {
|
|
39
|
-
border-top: 0.9375em solid transparent;
|
|
40
|
-
border-bottom: 0.9375em solid transparent;
|
|
41
|
-
height: 16px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&--field {
|
|
45
|
-
padding-bottom: 16px;
|
|
46
|
-
}
|
|
47
33
|
}
|
|
48
34
|
|
|
49
35
|
&__public-content {
|
|
50
|
-
color: var(--adf-theme-foreground-text-color-
|
|
36
|
+
color: var(--adf-theme-foreground-text-color-064);
|
|
51
37
|
font-size: var(--theme-caption-font-size);
|
|
52
38
|
}
|
|
53
39
|
|
|
@@ -56,6 +42,14 @@
|
|
|
56
42
|
font-size: var(--theme-caption-font-size);
|
|
57
43
|
}
|
|
58
44
|
|
|
45
|
+
&__border-color {
|
|
46
|
+
@include mat.form-field-overrides(
|
|
47
|
+
(
|
|
48
|
+
outlined-outline-color: var(--theme-warn-color-a700)
|
|
49
|
+
)
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
59
53
|
&--row {
|
|
60
54
|
display: flex;
|
|
61
55
|
flex-direction: row;
|
|
@@ -65,7 +59,7 @@
|
|
|
65
59
|
margin: 8px 0;
|
|
66
60
|
|
|
67
61
|
&-sharable {
|
|
68
|
-
margin-bottom:
|
|
62
|
+
margin-bottom: 10px;
|
|
69
63
|
}
|
|
70
64
|
}
|
|
71
65
|
|
|
@@ -82,10 +76,6 @@
|
|
|
82
76
|
padding-bottom: 0;
|
|
83
77
|
}
|
|
84
78
|
|
|
85
|
-
&__input {
|
|
86
|
-
color: var(--adf-theme-foreground-text-color-087);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
79
|
&__separation-line {
|
|
90
80
|
border: 1px solid var(--theme-grey-background-color);
|
|
91
81
|
margin: 8px -24px;
|
|
@@ -96,12 +86,6 @@
|
|
|
96
86
|
margin-left: 12px;
|
|
97
87
|
}
|
|
98
88
|
|
|
99
|
-
&__icon {
|
|
100
|
-
color: var(--adf-theme-foreground-icon-color-054);
|
|
101
|
-
padding-bottom: 0;
|
|
102
|
-
padding-right: 0;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
89
|
&__para {
|
|
106
90
|
margin-top: 8px;
|
|
107
91
|
margin-bottom: 8px;
|
|
@@ -111,30 +95,6 @@
|
|
|
111
95
|
font-weight: 700;
|
|
112
96
|
font-size: var(--theme-subheading-2-font-size);
|
|
113
97
|
}
|
|
114
|
-
|
|
115
|
-
&__copy-icon {
|
|
116
|
-
padding-top: 18px;
|
|
117
|
-
font-size: 22px;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&__calender-icon {
|
|
121
|
-
top: 12px;
|
|
122
|
-
position: relative;
|
|
123
|
-
right: -6px;
|
|
124
|
-
|
|
125
|
-
svg {
|
|
126
|
-
height: 18px;
|
|
127
|
-
width: 18px;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&__date-time-container {
|
|
132
|
-
padding-bottom: 20px;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&__border-color {
|
|
136
|
-
border: 1px solid var(--theme-warn-color-a700);
|
|
137
|
-
}
|
|
138
98
|
}
|
|
139
99
|
|
|
140
100
|
.adf-input-action {
|
|
@@ -143,8 +103,6 @@
|
|
|
143
103
|
|
|
144
104
|
.adf-full-width {
|
|
145
105
|
width: 100%;
|
|
146
|
-
border-radius: 6px;
|
|
147
|
-
margin-top: -6px;
|
|
148
106
|
}
|
|
149
107
|
|
|
150
108
|
.adf-sharable-link {
|
|
@@ -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 {
|
|
18
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
17
|
+
import { OnChanges } from '@angular/core';
|
|
19
18
|
import { NodeEntry, NodesApi } from '@alfresco/js-api';
|
|
20
|
-
import { AlfrescoApiService } from '../services/alfresco-api.service';
|
|
21
19
|
import * as i0 from "@angular/core";
|
|
22
20
|
export declare class NodeSharedDirective implements OnChanges {
|
|
23
|
-
private dialog;
|
|
24
|
-
private zone;
|
|
25
|
-
private alfrescoApiService;
|
|
21
|
+
private readonly dialog;
|
|
22
|
+
private readonly zone;
|
|
23
|
+
private readonly alfrescoApiService;
|
|
26
24
|
isFile: boolean;
|
|
27
25
|
isShared: boolean;
|
|
28
26
|
/** Node to share. */
|
|
@@ -32,7 +30,6 @@ export declare class NodeSharedDirective implements OnChanges {
|
|
|
32
30
|
_nodesApi: NodesApi;
|
|
33
31
|
get nodesApi(): NodesApi;
|
|
34
32
|
private readonly destroyRef;
|
|
35
|
-
constructor(dialog: MatDialog, zone: NgZone, alfrescoApiService: AlfrescoApiService);
|
|
36
33
|
shareNode(nodeEntry: NodeEntry): void;
|
|
37
34
|
private getNodeInfo;
|
|
38
35
|
private openShareLinkDialog;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { NodePaging, SharedLinkBodyCreate, SharedLinkEntry, SharedlinksApi } from '@alfresco/js-api';
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
|
3
|
-
import { UserPreferencesService } from '@alfresco/adf-core';
|
|
4
|
-
import { AlfrescoApiService } from '../../services/alfresco-api.service';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class SharedLinksApiService {
|
|
7
|
-
private apiService;
|
|
8
|
-
private preferences;
|
|
5
|
+
private readonly apiService;
|
|
6
|
+
private readonly preferences;
|
|
9
7
|
error: Subject<{
|
|
10
8
|
statusCode: number;
|
|
11
9
|
message: string;
|
|
12
10
|
}>;
|
|
13
11
|
private _sharedLinksApi;
|
|
14
12
|
get sharedLinksApi(): SharedlinksApi;
|
|
15
|
-
constructor(apiService: AlfrescoApiService, preferences: UserPreferencesService);
|
|
16
13
|
/**
|
|
17
14
|
* Gets shared links available to the current user.
|
|
18
15
|
*
|
|
@@ -16,14 +16,12 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { TypeEntry } from '@alfresco/js-api';
|
|
18
18
|
import { OnInit } from '@angular/core';
|
|
19
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
20
19
|
import { ContentTypeDialogComponentData } from './content-type-metadata.interface';
|
|
21
|
-
import { ContentTypeService } from './content-type.service';
|
|
22
20
|
import * as i0 from "@angular/core";
|
|
23
21
|
export declare class ContentTypeDialogComponent implements OnInit {
|
|
24
|
-
private dialog;
|
|
22
|
+
private readonly dialog;
|
|
25
23
|
data: ContentTypeDialogComponentData;
|
|
26
|
-
private contentTypeService;
|
|
24
|
+
private readonly contentTypeService;
|
|
27
25
|
title: string;
|
|
28
26
|
description: string;
|
|
29
27
|
nodeType: string;
|
|
@@ -31,7 +29,7 @@ export declare class ContentTypeDialogComponent implements OnInit {
|
|
|
31
29
|
currentContentType: TypeEntry;
|
|
32
30
|
typeProperties: any[];
|
|
33
31
|
propertyColumns: string[];
|
|
34
|
-
constructor(
|
|
32
|
+
constructor();
|
|
35
33
|
ngOnInit(): void;
|
|
36
34
|
close(): void;
|
|
37
35
|
onCancel(): void;
|
|
@@ -15,14 +15,12 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { TypeEntry, TypesApi } from '@alfresco/js-api';
|
|
18
|
-
import { AlfrescoApiService } from '../services/alfresco-api.service';
|
|
19
18
|
import { Observable } from 'rxjs';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class ContentTypeService {
|
|
22
|
-
private alfrescoApiService;
|
|
21
|
+
private readonly alfrescoApiService;
|
|
23
22
|
private _typesApi;
|
|
24
23
|
get typesApi(): TypesApi;
|
|
25
|
-
constructor(alfrescoApiService: AlfrescoApiService);
|
|
26
24
|
getContentTypeByPrefix(prefixedType: string): Observable<TypeEntry>;
|
|
27
25
|
getContentTypeChildren(nodeType: string): Observable<TypeEntry[]>;
|
|
28
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentTypeService, never>;
|