@alfresco/adf-content-services 8.4.0-19134168248 → 8.4.0-19162119468

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.
@@ -1,11 +1,17 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
- import { QueriesApi } from '@alfresco/js-api';
4
+ import { QueriesApi, SiteEntry } from '@alfresco/js-api';
5
5
  import { NotificationService } from '@alfresco/adf-core';
6
6
  import { SitesService } from '../../common/services/sites.service';
7
+ import { MatRadioChange } from '@angular/material/radio';
7
8
  import { AlfrescoApiService } from '../../services';
8
9
  import * as i0 from "@angular/core";
10
+ interface VisibilityOption {
11
+ value: string;
12
+ label: string;
13
+ disabled: boolean;
14
+ }
9
15
  export declare class LibraryDialogComponent implements OnInit {
10
16
  private alfrescoApiService;
11
17
  private sitesService;
@@ -19,16 +25,12 @@ export declare class LibraryDialogComponent implements OnInit {
19
25
  * event parameter is a SiteEntry object with the details of the
20
26
  * newly-created library.
21
27
  */
22
- success: EventEmitter<any>;
28
+ success: EventEmitter<SiteEntry>;
23
29
  createTitle: string;
24
30
  libraryTitleExists: boolean;
25
31
  form: UntypedFormGroup;
26
- visibilityOption: any;
27
- visibilityOptions: {
28
- value: string;
29
- label: string;
30
- disabled: boolean;
31
- }[];
32
+ visibilityOption: string;
33
+ visibilityOptions: VisibilityOption[];
32
34
  disableCreateButton: boolean;
33
35
  _queriesApi: QueriesApi;
34
36
  get queriesApi(): QueriesApi;
@@ -40,7 +42,7 @@ export declare class LibraryDialogComponent implements OnInit {
40
42
  get description(): string;
41
43
  get visibility(): string;
42
44
  submit(): void;
43
- visibilityChangeHandler(event: any): void;
45
+ visibilityChangeHandler(event: MatRadioChange): void;
44
46
  private create;
45
47
  private sanitize;
46
48
  private canGenerateId;
@@ -49,7 +51,10 @@ export declare class LibraryDialogComponent implements OnInit {
49
51
  private findLibraryByTitle;
50
52
  private forbidSpecialCharacters;
51
53
  private forbidOnlySpaces;
54
+ private minLengthTrimmed;
52
55
  private createSiteIdValidator;
56
+ private checkSite;
53
57
  static ɵfac: i0.ɵɵFactoryDeclaration<LibraryDialogComponent, never>;
54
58
  static ɵcmp: i0.ɵɵComponentDeclaration<LibraryDialogComponent, "adf-library-dialog", never, {}, { "error": "error"; "success": "success"; }, never, never, true, never>;
55
59
  }
60
+ export {};
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-19134168248",
4
+ "version": "8.4.0-19162119468",
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-19134168248",
24
+ "@alfresco/js-api": ">=9.4.0-19162119468",
25
25
  "@ngx-translate/core": ">=16.0.0",
26
- "@alfresco/adf-core": ">=8.4.0-19134168248"
26
+ "@alfresco/adf-core": ">=8.4.0-19162119468"
27
27
  },
28
28
  "keywords": [
29
29
  "content-services",