@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.
Files changed (27) hide show
  1. package/README.md +0 -16
  2. package/api/lib/adf-http-client.service.d.ts +9 -9
  3. package/fesm2022/adf-core.mjs +591 -863
  4. package/fesm2022/adf-core.mjs.map +1 -1
  5. package/fesm2022/alfresco-adf-core-api.mjs +34 -22
  6. package/fesm2022/alfresco-adf-core-api.mjs.map +1 -1
  7. package/lib/auth/interfaces/authentication-service.interface.d.ts +7 -5
  8. package/lib/auth/services/authentication.service.d.ts +8 -6
  9. package/lib/auth/services/base-authentication.service.d.ts +6 -6
  10. package/lib/core.module.d.ts +7 -8
  11. package/lib/form/components/form-base.component.d.ts +1 -1
  12. package/lib/form/components/widgets/base-viewer/base-viewer.widget.d.ts +16 -0
  13. package/lib/form/components/widgets/core/form.model.d.ts +2 -1
  14. package/lib/login/components/login-dialog/login-dialog.component.d.ts +1 -0
  15. package/lib/mock/public-api.d.ts +0 -1
  16. package/lib/notifications/notification-history.module.d.ts +2 -4
  17. package/lib/notifications/public-api.d.ts +0 -1
  18. package/lib/testing/index.d.ts +0 -1
  19. package/package.json +4 -5
  20. package/schematics/migrations/schematics/migrations/7_0_0/index.d.ts +1 -2
  21. package/schematics/migrations/schematics/migrations/7_0_0/index.js +46 -59
  22. package/schematics/migrations/schematics/migrations/7_0_0/index.js.map +1 -1
  23. package/schematics/migrations/schematics/migrations/collection.json +0 -5
  24. package/lib/datatable/components/mocks/datatable.mock.d.ts +0 -21
  25. package/lib/mock/data-column.mock.d.ts +0 -51
  26. package/lib/notifications/components/add-notification.stories.component.d.ts +0 -10
  27. 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
- const project = new ts_morph_1.Project();
59
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
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, project) => {
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(filePath, bufferFileContent, project, migrationData);
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 = (filePath, bufferFileContent, project, migrationData) => {
85
- var _a, _b, _c;
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
- const sourceFile = (_a = project.getSourceFile(`migration-${filePath}`)) !== null && _a !== void 0 ? _a : project.createSourceFile(`migration-${filePath}`, fileContent);
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
- return undefined;
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.getModuleSpecifierValue();
119
- return currentImportSource === from;
93
+ const currentImportSource = moduleImport.moduleSpecifier.getText().replace(/['"]/g, '');
94
+ return currentImportSource === migrationData.change.importSource;
120
95
  });
121
- return importDeclaration;
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
- const importedValues = importSource === null || importSource === void 0 ? void 0 : importSource.getImportClause();
134
- const namedImports = importedValues === null || importedValues === void 0 ? void 0 : importedValues.getNamedBindings();
135
- const namedImportsElements = (_a = namedImports === null || namedImports === void 0 ? void 0 : namedImports.getElements()) !== null && _a !== void 0 ? _a : [];
136
- const importedValue = namedImportsElements.find((binding) => binding.getName() === searchedImport.importedIdentifier);
137
- return {
138
- importedValue,
139
- importSource,
140
- allImportedValuesCount: namedImportsElements.length
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,4DASC;AA7DD,2DAA+F;AAC/F,uCAAiG;AAajG,MAAM,2BAA2B,GAAkB;IAC/C,MAAM,EAAE;QACJ,aAAa,EAAE,oBAAoB;QACnC,YAAY,EAAE,oBAAoB;KACrC;IACD,EAAE,EAAE;QACA,aAAa,EAAE,oBAAoB;QACnC,YAAY,EAAE,gCAAgC;KACjD;CACJ,CAAC;AAEF,MAAM,wBAAwB,GAAkB;IAC5C,MAAM,EAAE;QACJ,aAAa,EAAE,wBAAwB;QACvC,YAAY,EAAE,oBAAoB;KACrC;IACD,EAAE,EAAE;QACA,aAAa,EAAE,wBAAwB;QACvC,YAAY,EAAE,gCAAgC;KACjD;CACJ,CAAC;AAEF,MAAM,2BAA2B,GAAkB;IAC/C,MAAM,EAAE;QACJ,aAAa,EAAE,oBAAoB;QACnC,YAAY,EAAE,oBAAoB;KACrC;IACD,EAAE,EAAE;QACA,aAAa,EAAE,oBAAoB;QACnC,YAAY,EAAE,gCAAgC;KACjD;CACJ,CAAC;AAEF,MAAM,UAAU,GAAoB,CAAC,2BAA2B,EAAE,wBAAwB,EAAE,2BAA2B,CAAC,CAAC;AAEzH;;GAEG;AACH,SAAgB,wBAAwB;IACpC,MAAM,OAAO,GAAG,IAAI,kBAAO,EAAE,CAAC;IAE9B,6DAA6D;IAC7D,OAAO,CAAC,IA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AC;AAEF,kBAAe,wBAAwB,CAAC"}
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;QACnC,YAAY,EAAE,gCAAgC;KACjD;CACJ,CAAC;AAEF,MAAM,wBAAwB,GAAkB;IAC5C,MAAM,EAAE;QACJ,aAAa,EAAE,wBAAwB;QACvC,YAAY,EAAE,oBAAoB;KACrC;IACD,EAAE,EAAE;QACA,aAAa,EAAE,wBAAwB;QACvC,YAAY,EAAE,gCAAgC;KACjD;CACJ,CAAC;AAEF,MAAM,2BAA2B,GAAkB;IAC/C,MAAM,EAAE;QACJ,aAAa,EAAE,oBAAoB;QACnC,YAAY,EAAE,oBAAoB;KACrC;IACD,EAAE,EAAE;QACA,aAAa,EAAE,oBAAoB;QACnC,YAAY,EAAE,gCAAgC;KACjD;CACJ,CAAC;AAEF,MAAM,UAAU,GAAoB,CAAC,2BAA2B,EAAE,wBAAwB,EAAE,2BAA2B,CAAC,CAAC;AAEzH;;GAEG;AACH,SAAgB,wBAAwB;IACpC,OAAO,CAAC,IAAU,EAAE,EAAE;QAClB,IAAI,CAAC,KAAK,CAAC,CAAC,QAAgB,EAAE,EAAE,CAAC,IAAA,eAAO,EAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC;QAC1D,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;AACN,CAAC;AAEM,MAAM,OAAO,GAAG,CAAC,QAAgB,EAAE,IAAsC,EAAQ,EAAE;IACtF,IACI,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAC5B,CAA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eAAe,GAAG,CAAC,IAAY,EAAE,KAAa,EAAE,GAAW,EAAU,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAErH,kBAAe,wBAAwB,CAAC"}
@@ -11,11 +11,6 @@
11
11
  "move-out-alfresco-api": {
12
12
  "version": "7.0.0",
13
13
  "packages": {
14
- "ts-morph": {
15
- "version": "^20.0.0",
16
- "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
- }