@alfresco/adf-core 8.4.0-17806466306 → 8.4.0-17829814673
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/api/lib/adf-http-client.service.d.ts +9 -9
- package/fesm2022/adf-core.mjs +591 -863
- package/fesm2022/adf-core.mjs.map +1 -1
- package/fesm2022/alfresco-adf-core-api.mjs +34 -22
- package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
- package/lib/auth/interfaces/authentication-service.interface.d.ts +7 -5
- package/lib/auth/services/authentication.service.d.ts +8 -6
- package/lib/auth/services/base-authentication.service.d.ts +6 -6
- package/lib/core.module.d.ts +7 -8
- package/lib/form/components/form-base.component.d.ts +1 -1
- package/lib/form/components/widgets/base-viewer/base-viewer.widget.d.ts +16 -0
- package/lib/form/components/widgets/core/form.model.d.ts +2 -1
- package/lib/login/components/login-dialog/login-dialog.component.d.ts +1 -0
- package/lib/mock/public-api.d.ts +0 -1
- package/lib/notifications/notification-history.module.d.ts +2 -4
- package/lib/notifications/public-api.d.ts +0 -1
- package/lib/testing/index.d.ts +0 -1
- package/package.json +4 -5
- package/schematics/migrations/schematics/migrations/7_0_0/index.d.ts +1 -2
- package/schematics/migrations/schematics/migrations/7_0_0/index.js +46 -59
- package/schematics/migrations/schematics/migrations/7_0_0/index.js.map +1 -1
- package/schematics/migrations/schematics/migrations/collection.json +0 -5
- package/lib/datatable/components/mocks/datatable.mock.d.ts +0 -21
- package/lib/mock/data-column.mock.d.ts +0 -51
- package/lib/notifications/components/add-notification.stories.component.d.ts +0 -10
- package/lib/testing/core.story.module.d.ts +0 -9
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
exports.visitor = void 0;
|
|
20
20
|
exports.updateAlfrescoApiImports = updateAlfrescoApiImports;
|
|
21
|
+
const ts = require("typescript");
|
|
21
22
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
22
|
-
const ts_morph_1 = require("ts-morph");
|
|
23
23
|
const alfrescoApiServiceMigration = {
|
|
24
24
|
change: {
|
|
25
25
|
importedValue: 'AlfrescoApiService',
|
|
@@ -55,14 +55,12 @@ const migrations = [alfrescoApiServiceMigration, alfrescoApiMockMigration, alfre
|
|
|
55
55
|
* @returns Schematic rule for updating imports
|
|
56
56
|
*/
|
|
57
57
|
function updateAlfrescoApiImports() {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
return (tree, _context) => {
|
|
61
|
-
tree.visit((filePath) => (0, exports.visitor)(filePath, tree, project));
|
|
58
|
+
return (tree) => {
|
|
59
|
+
tree.visit((filePath) => (0, exports.visitor)(filePath, tree));
|
|
62
60
|
return tree;
|
|
63
61
|
};
|
|
64
62
|
}
|
|
65
|
-
const visitor = (filePath, tree
|
|
63
|
+
const visitor = (filePath, tree) => {
|
|
66
64
|
if (!filePath.includes('/.git/') &&
|
|
67
65
|
!filePath.includes('/node_modules/') &&
|
|
68
66
|
!filePath.includes('/.angular/') &&
|
|
@@ -72,8 +70,10 @@ const visitor = (filePath, tree, project) => {
|
|
|
72
70
|
if (!bufferFileContent) {
|
|
73
71
|
throw new schematics_1.SchematicsException(`Could not read file: ${filePath}`);
|
|
74
72
|
}
|
|
73
|
+
const fileContent = bufferFileContent.toString();
|
|
74
|
+
const sourceFile = ts.createSourceFile(filePath, fileContent, ts.ScriptTarget.Latest, true);
|
|
75
75
|
migrations.forEach((migrationData) => {
|
|
76
|
-
const fileWithUpdatedImport = moveImport(
|
|
76
|
+
const fileWithUpdatedImport = moveImport(bufferFileContent, sourceFile, migrationData);
|
|
77
77
|
if (fileWithUpdatedImport) {
|
|
78
78
|
tree.overwrite(filePath, fileWithUpdatedImport);
|
|
79
79
|
}
|
|
@@ -81,64 +81,51 @@ const visitor = (filePath, tree, project) => {
|
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
exports.visitor = visitor;
|
|
84
|
-
const moveImport = (
|
|
85
|
-
var _a
|
|
84
|
+
const moveImport = (bufferFileContent, sourceFile, migrationData) => {
|
|
85
|
+
var _a;
|
|
86
86
|
const fileContent = bufferFileContent.toString();
|
|
87
87
|
const predictImport = fileContent.includes(migrationData.change.importedValue);
|
|
88
|
-
if (predictImport) {
|
|
89
|
-
|
|
90
|
-
const alfrescoApiImportResult = getImportedValueFromSource(sourceFile, {
|
|
91
|
-
importedIdentifier: migrationData.change.importedValue,
|
|
92
|
-
from: migrationData.change.importSource
|
|
93
|
-
});
|
|
94
|
-
if (alfrescoApiImportResult === null || alfrescoApiImportResult === void 0 ? void 0 : alfrescoApiImportResult.importedValue) {
|
|
95
|
-
if (alfrescoApiImportResult.allImportedValuesCount === 1) {
|
|
96
|
-
// There is only one import e.g. import { A } from 'A';
|
|
97
|
-
// Therefore, we need to remove whole import statement
|
|
98
|
-
(_b = alfrescoApiImportResult.importSource) === null || _b === void 0 ? void 0 : _b.remove();
|
|
99
|
-
}
|
|
100
|
-
else {
|
|
101
|
-
(_c = alfrescoApiImportResult.importedValue) === null || _c === void 0 ? void 0 : _c.remove();
|
|
102
|
-
}
|
|
103
|
-
const alfrescoContentServiceImport = getSourceImport(sourceFile, migrationData.to.importSource);
|
|
104
|
-
if (alfrescoContentServiceImport) {
|
|
105
|
-
alfrescoContentServiceImport.addNamedImport(migrationData.to.importedValue);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
sourceFile.insertStatements(sourceFile.getImportDeclarations().length + 1, `import { ${migrationData.to.importedValue} } from '${migrationData.to.importSource}';`);
|
|
109
|
-
}
|
|
110
|
-
return sourceFile.getFullText();
|
|
111
|
-
}
|
|
88
|
+
if (!predictImport) {
|
|
89
|
+
return undefined;
|
|
112
90
|
}
|
|
113
|
-
|
|
114
|
-
};
|
|
115
|
-
const getSourceImport = (sourceFile, from) => {
|
|
116
|
-
const moduleImports = sourceFile.getImportDeclarations();
|
|
91
|
+
const moduleImports = sourceFile.statements.filter(ts.isImportDeclaration);
|
|
117
92
|
const importDeclaration = moduleImports.find((moduleImport) => {
|
|
118
|
-
const currentImportSource = moduleImport.
|
|
119
|
-
return currentImportSource ===
|
|
93
|
+
const currentImportSource = moduleImport.moduleSpecifier.getText().replace(/['"]/g, '');
|
|
94
|
+
return currentImportSource === migrationData.change.importSource;
|
|
120
95
|
});
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
const getImportedValueFromSource = (sourceFile, searchedImport) => {
|
|
124
|
-
var _a;
|
|
125
|
-
const importSource = getSourceImport(sourceFile, searchedImport.from);
|
|
126
|
-
if (!importSource) {
|
|
127
|
-
return {
|
|
128
|
-
importedValue: undefined,
|
|
129
|
-
importSource: undefined,
|
|
130
|
-
allImportedValuesCount: undefined
|
|
131
|
-
};
|
|
96
|
+
if (!((_a = importDeclaration === null || importDeclaration === void 0 ? void 0 : importDeclaration.importClause) === null || _a === void 0 ? void 0 : _a.namedBindings)) {
|
|
97
|
+
return undefined;
|
|
132
98
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
99
|
+
if (!ts.isNamedImports(importDeclaration.importClause.namedBindings)) {
|
|
100
|
+
return undefined;
|
|
101
|
+
}
|
|
102
|
+
const namedImportsElements = importDeclaration.importClause.namedBindings.elements;
|
|
103
|
+
const importedValue = namedImportsElements.find((binding) => binding.name.text === migrationData.change.importedValue);
|
|
104
|
+
if (importedValue) {
|
|
105
|
+
let updatedContent = namedImportsElements.length === 1
|
|
106
|
+
? removeTextRange(fileContent, importDeclaration.getFullStart(), importDeclaration.getEnd())
|
|
107
|
+
: removeTextRange(fileContent, importedValue.getFullStart(), importedValue.getEnd());
|
|
108
|
+
const alreadyImported = moduleImports.some((moduleImport) => {
|
|
109
|
+
var _a;
|
|
110
|
+
const currentImportSource = moduleImport.moduleSpecifier.getText().replace(/['"]/g, '');
|
|
111
|
+
return (currentImportSource === migrationData.to.importSource &&
|
|
112
|
+
((_a = moduleImport.importClause) === null || _a === void 0 ? void 0 : _a.namedBindings) &&
|
|
113
|
+
ts.isNamedImports(moduleImport.importClause.namedBindings) &&
|
|
114
|
+
moduleImport.importClause.namedBindings.elements.some((element) => element.name.text === migrationData.to.importedValue));
|
|
115
|
+
});
|
|
116
|
+
if (!alreadyImported) {
|
|
117
|
+
const firstNonImport = sourceFile.statements.find((statement) => !ts.isImportDeclaration(statement));
|
|
118
|
+
const insertPosition = firstNonImport ? firstNonImport.getFullStart() : fileContent.length;
|
|
119
|
+
updatedContent =
|
|
120
|
+
updatedContent.slice(0, insertPosition).trimEnd() +
|
|
121
|
+
`\nimport { ${migrationData.to.importedValue} } from '${migrationData.to.importSource}';\n` +
|
|
122
|
+
updatedContent.slice(insertPosition);
|
|
123
|
+
}
|
|
124
|
+
updatedContent = updatedContent.replace(/^\s*\n+/g, '').replace(/\n{3,}/g, '\n\n');
|
|
125
|
+
return updatedContent;
|
|
126
|
+
}
|
|
127
|
+
return undefined;
|
|
142
128
|
};
|
|
129
|
+
const removeTextRange = (text, start, end) => text.slice(0, start) + text.slice(end);
|
|
143
130
|
exports.default = updateAlfrescoApiImports;
|
|
144
131
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../lib/core/schematics/migrations/7_0_0/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAsDH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../lib/core/schematics/migrations/7_0_0/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAsDH,4DAKC;AAzDD,iCAAiC;AACjC,2DAA6E;AAa7E,MAAM,2BAA2B,GAAkB;IAC/C,MAAM,EAAE;QACJ,aAAa,EAAE,oBAAoB;QACnC,YAAY,EAAE,oBAAoB;KACrC;IACD,EAAE,EAAE;QACA,aAAa,EAAE,oBAAoB;Q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
-
"alwaysAddToPackageJson": true,
|
|
17
|
-
"addToPackageJson": "devDependencies"
|
|
18
|
-
},
|
|
19
14
|
"@alfresco/adf-content-services": {
|
|
20
15
|
"version": "7.0.0",
|
|
21
16
|
"alwaysAddToPackageJson": false
|
|
@@ -1,21 +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 { PathInfo } from '../../../models/path.model';
|
|
18
|
-
import { DataColumn } from '../../data/data-column.model';
|
|
19
|
-
export declare const mockCarsData: any;
|
|
20
|
-
export declare const mockCarsSchemaDefinition: DataColumn[];
|
|
21
|
-
export declare const mockPathInfos: PathInfo[];
|
|
@@ -1,51 +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 textColumnRows: {
|
|
18
|
-
firstname: string;
|
|
19
|
-
}[];
|
|
20
|
-
export declare const dateColumnRows: {
|
|
21
|
-
createdOn: Date;
|
|
22
|
-
}[];
|
|
23
|
-
export declare const dateColumnTimeAgoRows: {
|
|
24
|
-
modifiedOn: Date;
|
|
25
|
-
}[];
|
|
26
|
-
export declare const locationColumnRows: {
|
|
27
|
-
path: import("@alfresco/adf-core").PathInfo;
|
|
28
|
-
}[];
|
|
29
|
-
export declare const booleanColumnRows: ({
|
|
30
|
-
bool: string;
|
|
31
|
-
} | {
|
|
32
|
-
bool: boolean;
|
|
33
|
-
})[];
|
|
34
|
-
export declare const iconColumnRows: {
|
|
35
|
-
icon: string;
|
|
36
|
-
}[];
|
|
37
|
-
export declare const imageColumnRows: {
|
|
38
|
-
image: string;
|
|
39
|
-
}[];
|
|
40
|
-
export declare const fileSizeColumnRows: {
|
|
41
|
-
size: number;
|
|
42
|
-
}[];
|
|
43
|
-
export declare const amountColumnRows: {
|
|
44
|
-
price: number;
|
|
45
|
-
}[];
|
|
46
|
-
export declare const jsonColumnRows: {
|
|
47
|
-
rowInfo: {
|
|
48
|
-
id: number;
|
|
49
|
-
name: string;
|
|
50
|
-
};
|
|
51
|
-
}[];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NotificationService } from '../services/notification.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AddNotificationStorybookComponent {
|
|
4
|
-
private notificationService;
|
|
5
|
-
infoCounter: number;
|
|
6
|
-
constructor(notificationService: NotificationService);
|
|
7
|
-
showInfo(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddNotificationStorybookComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddNotificationStorybookComponent, "adf-add-notification-storybook", never, {}, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../auth/oidc/auth.module";
|
|
3
|
-
import * as i2 from "@ngx-translate/core";
|
|
4
|
-
import * as i3 from "../core.module";
|
|
5
|
-
export declare class CoreStoryModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CoreStoryModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreStoryModule, never, [typeof i1.AuthModule, typeof i2.TranslateModule, typeof i3.CoreModule], never>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CoreStoryModule>;
|
|
9
|
-
}
|