@alfresco/adf-core 9.1.0-16879056836 → 9.1.0-16936596362

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.
@@ -17,10 +17,6 @@
17
17
  export * from './cookie.service.mock';
18
18
  export * from './event.mock';
19
19
  export * from './translation.service.mock';
20
- export * from './form/form.component.mock';
21
- export * from './form/form-definition.mock';
22
- export * from './form/form-definition-readonly.mock';
23
- export * from './form/form-definition-visibility.mock';
24
20
  export * from './form/form.service.mock';
25
21
  export * from './form/widget-visibility.service.mock';
26
22
  export * from './data-column.mock';
@@ -21,7 +21,7 @@ import { MatChipHarness, MatChipListboxHarness } from '@angular/material/chips/t
21
21
  import { MatButtonHarness } from '@angular/material/button/testing';
22
22
  import { MatIconHarness } from '@angular/material/icon/testing';
23
23
  import { MatCheckboxHarness } from '@angular/material/checkbox/testing';
24
- import { MatErrorHarness, MatFormFieldHarness } from '@angular/material/form-field/testing';
24
+ import { MatFormFieldHarness } from '@angular/material/form-field/testing';
25
25
  import { MatInputHarness } from '@angular/material/input/testing';
26
26
  import { ComponentFixture } from '@angular/core/testing';
27
27
  import { MatTabHarness } from '@angular/material/tabs/testing';
@@ -38,7 +38,6 @@ export declare class UnitTestingUtils {
38
38
  getByDataAutomationClass(dataAutomationClass: string): DebugElement;
39
39
  getInnerTextByDataAutomationId(dataAutomationId: string): string;
40
40
  getByDirective(directive: Type<any>): DebugElement;
41
- getAllByDirective(directive: Type<any>): DebugElement[];
42
41
  /** Perform actions */
43
42
  clickByCSS(selector: string): void;
44
43
  clickByDataAutomationId(dataAutomationId: string): void;
@@ -77,7 +76,6 @@ export declare class UnitTestingUtils {
77
76
  getMatIconOrNull(): Promise<MatIconHarness>;
78
77
  getMatIconWithAncestorByDataAutomationId(dataAutomationId: string): Promise<MatIconHarness>;
79
78
  getMatIconWithAncestorByCSS(selector: string): Promise<MatIconHarness>;
80
- getMatIconWithAncestorByCSSAndName(selector: string, name: string): Promise<MatIconHarness>;
81
79
  checkIfMatIconExistsWithAncestorByDataAutomationId(dataAutomationId: string): Promise<boolean>;
82
80
  checkIfMatIconExistsWithAncestorByCSSAndName(selector: string, name: string): Promise<boolean>;
83
81
  clickMatIconWithAncestorByDataAutomationId(dataAutomationId: string): Promise<void>;
@@ -101,28 +99,20 @@ export declare class UnitTestingUtils {
101
99
  getMatFormFieldByCSS(selector: string): Promise<MatFormFieldHarness>;
102
100
  /** MatInput related methods */
103
101
  getMatInput(): Promise<MatInputHarness>;
104
- getMatInputByCSS(selector: string): Promise<MatInputHarness>;
105
102
  getMatInputByDataAutomationId(dataAutomationId: string): Promise<MatInputHarness>;
106
103
  getMatInputByPlaceholder(placeholder: string): Promise<MatInputHarness>;
107
104
  getMatInputHost(): Promise<TestElement>;
108
105
  checkIfMatInputExists(): Promise<boolean>;
109
- checkIfMatInputExistsWithCSS(selector: string): Promise<boolean>;
110
- checkIfMatInputExistsWithDataAutomationId(dataAutomationId: string): Promise<boolean>;
111
106
  checkIfMatInputExistsWithPlaceholder(placeholder: string): Promise<boolean>;
112
107
  clickMatInput(): Promise<void>;
113
108
  fillMatInput(value: string): Promise<void>;
114
- fillMatInputByCSS(selector: string, value: string): Promise<void>;
115
109
  fillMatInputByDataAutomationId(dataAutomationId: string, value: string): Promise<void>;
116
110
  focusMatInput(): Promise<void>;
117
111
  blurMatInput(): Promise<void>;
118
112
  getMatInputValue(): Promise<string>;
119
- getMatInputValueByDataAutomationId(dataAutomationId: string): Promise<string>;
120
113
  sendKeysToMatInput(keys: (string | TestKey)[]): Promise<void>;
121
114
  /** MatAutoComplete related methods */
122
115
  typeAndGetOptionsForMatAutoComplete(fixture: ComponentFixture<any>, value: string): Promise<MatOptionHarness[]>;
123
- /** MatError related methods */
124
- getMatErrorByCSS(selector: string): Promise<MatErrorHarness>;
125
- getMatErrorByDataAutomationId(dataAutomationId: string): Promise<MatErrorHarness>;
126
116
  /** MatTabGroup related methods */
127
117
  getSelectedTabFromMatTabGroup(): Promise<MatTabHarness>;
128
118
  getSelectedTabLabelFromMatTabGroup(): Promise<string>;
@@ -4,8 +4,8 @@ import { AppConfigService } from '../../../app-config';
4
4
  import { UrlService } from '../../../common';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ImgViewerComponent implements AfterViewInit, OnChanges, OnDestroy {
7
- private appConfigService;
8
- private urlService;
7
+ private readonly appConfigService;
8
+ private readonly urlService;
9
9
  showToolbar: boolean;
10
10
  readOnly: boolean;
11
11
  allowedEditActions: {
@@ -94,7 +94,7 @@ export declare class ViewerComponent<T> implements OnDestroy, OnInit, OnChanges
94
94
  viewerExtensions: TemplateRef<any>;
95
95
  /** Identifier of a node that is opened by the viewer. */
96
96
  nodeId: string;
97
- /** Original node mime type, should be provided when renditiona mime type is different. */
97
+ /** Original node mime type, should be provided when renditions mime type is different. */
98
98
  nodeMimeType: string;
99
99
  /** Custom error message to be displayed in the viewer. */
100
100
  customError: string;
@@ -15,10 +15,10 @@ export declare class RenderingQueueServices {
15
15
  pdfViewer: any;
16
16
  pdfThumbnailViewer: any;
17
17
  onIdle: any;
18
- highestPriorityPage: any;
18
+ highestPriorityPage: string | null;
19
19
  idleTimeout: any;
20
20
  printing: any;
21
- isThumbnailViewEnabled: any;
21
+ isThumbnailViewEnabled: boolean;
22
22
  /**
23
23
  * Set the instance of the PDF Viewer
24
24
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alfresco/adf-core",
3
3
  "description": "Alfresco ADF core",
4
- "version": "9.1.0-16879056836",
4
+ "version": "9.1.0-16936596362",
5
5
  "author": "Hyland Software, Inc. and its affiliates",
6
6
  "repository": {
7
7
  "type": "git",
@@ -63,8 +63,8 @@
63
63
  "@angular/router": ">=16.0.0",
64
64
  "@mat-datetimepicker/core": ">=12.0.1",
65
65
  "@ngx-translate/core": ">=16.0.0",
66
- "@alfresco/js-api": ">=10.1.0-16879056836",
67
- "@alfresco/adf-extensions": ">=9.1.0-16879056836",
66
+ "@alfresco/js-api": ">=10.1.0-16936596362",
67
+ "@alfresco/adf-extensions": ">=9.1.0-16936596362",
68
68
  "minimatch": ">=10.0.0",
69
69
  "pdfjs-dist": ">=3.3.122",
70
70
  "ts-morph": ">=20.0.0"
@@ -1,10 +0,0 @@
1
- import { StorageService } from '../common/services/storage.service';
2
- import { AppConfigService } from './app-config.service';
3
- import * as i0 from "@angular/core";
4
- export declare class DebugAppConfigService extends AppConfigService {
5
- private storage;
6
- constructor(storage: StorageService);
7
- get<T>(key: string, defaultValue?: T): T;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DebugAppConfigService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<DebugAppConfigService>;
10
- }
@@ -1,17 +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 declare const formReadonlyTwoTextFields: any;
@@ -1,18 +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 declare const formDefVisibilityFieldDependsOnNextOne: any;
18
- export declare const formDefVisibilitiFieldDependsOnPreviousOne: any;
@@ -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 declare const formDefinitionTwoTextFields: any;
18
- export declare const formDefinitionDropdownField: any;
19
- export declare const formDefinitionRequiredField: any;
@@ -1,17 +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 declare const fakeForm: any;