This commit is contained in:
Denys Vuika
2022-02-21 12:38:32 +00:00
parent 92806feabb
commit 65f4338d4c
28 changed files with 2316 additions and 3344 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
/.angular/cache
*.log
node_modules
bundles

View File

@@ -388,18 +388,6 @@
"protractorConfig": "./e2e/protractor.conf.js",
"devServerTarget": "lib-e2e-test:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"./e2e/tsconfig.e2e.json"
],
"exclude": [
"**/lib/**/*",
"**/node_modules/**/*"
]
}
}
}
},

View File

@@ -35,9 +35,6 @@
* BROWSER POLYFILLS
*/
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/***************************************************************************************************
* Zone JS is required by Angular itself.
*/

View File

@@ -29,7 +29,9 @@ declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);

View File

@@ -4,6 +4,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}

View File

@@ -8,22 +8,6 @@
],
"lib": {
"entryFile": "src/public-api.ts",
"flatModuleFile": "adf-content-services",
"umdModuleIds": {
"@alfresco/js-api": "@alfresco/js-api",
"@angular/platform-browser/animations": "@angular/platform-browser/animations",
"@angular/material": "@angular/material",
"@mat-datetimepicker/core": "@mat-datetimepicker/core",
"@mat-datetimepicker/moment": "@mat-datetimepicker/moment",
"@angular/flex-layout": "@angular/flex-layout",
"@alfresco/adf-core": "@alfresco/adf-core",
"@angular/animations": "@angular/animations",
"@angular/cdk/platform": "@angular/cdk/platform",
"@angular/material/core": "@angular/material/core",
"moment": "moment",
"moment-es6": "moment-es6",
"moment/src/moment": "moment/src/moment",
"@ngx-translate/core": "@ngx-translate/core"
}
"flatModuleFile": "adf-content-services"
}
}

View File

@@ -28,7 +28,9 @@ declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
);
declare const pdfjsLib: any;

View File

@@ -4,6 +4,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}

View File

@@ -11,18 +11,6 @@
],
"lib": {
"entryFile": "./public-api.ts",
"flatModuleFile": "adf-core",
"umdModuleIds": {
"@alfresco/js-api": "@alfresco/js-api",
"@alfresco/adf-extensions": "@alfresco/adf-extensions",
"minimatch": "minimatch-browser",
"@mat-datetimepicker/core": "@mat-datetimepicker/core",
"@mat-datetimepicker/moment": "@mat-datetimepicker/moment",
"moment": "moment",
"moment-es6": "moment-es6",
"moment/src/moment": "moment/src/moment",
"@ngx-translate/core": "@ngx-translate/core",
"cropperjs": "cropperjs"
}
"flatModuleFile": "adf-core"
}
}

View File

@@ -28,7 +28,9 @@ declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.

View File

@@ -4,6 +4,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}

View File

@@ -4,9 +4,6 @@
"deleteDestPath": false,
"lib": {
"entryFile": "src/public-api.ts",
"flatModuleFile": "adf-extensions",
"umdModuleIds": {
"@alfresco/js-api": "@alfresco/js-api"
}
"flatModuleFile": "adf-extensions"
}
}

View File

@@ -30,7 +30,9 @@ declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);

View File

@@ -4,6 +4,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}

View File

@@ -8,14 +8,6 @@
],
"lib": {
"entryFile": "src/public-api.ts",
"flatModuleFile": "adf-insights",
"umdModuleIds": {
"@alfresco/adf-core": "@alfresco/adf-core",
"ng2-charts": "ng2-charts",
"raphael": "raphael",
"moment": "moment",
"moment-es6": "moment-es6",
"@ngx-translate/core": "@ngx-translate/core"
}
"flatModuleFile": "adf-insights"
}
}

View File

@@ -30,7 +30,9 @@ declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.

View File

@@ -4,6 +4,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}

View File

@@ -8,22 +8,7 @@
],
"lib": {
"entryFile": "src/public-api.ts",
"flatModuleFile": "adf-process-services-cloud",
"umdModuleIds": {
"@alfresco/js-api": "@alfresco/js-api",
"minimatch": "minimatch",
"@alfresco/adf-core": "@alfresco/adf-core",
"@alfresco/adf-content-services": "@alfresco/adf-content-services",
"moment": "moment",
"moment-es6": "moment-es6",
"@ngx-translate/core": "@ngx-translate/core",
"@apollo/client/core": "@apollo/client/core",
"@apollo/client/link/ws": "@apollo/client/link/ws",
"@apollo/client/link/error": "@apollo/client/link/error",
"@apollo/client/utilities": "@apollo/client/utilities",
"apollo-angular": "apollo-angular",
"apollo-angular/http": "apollo-angular/http"
}
"flatModuleFile": "adf-process-services-cloud"
},
"whitelistedNonPeerDependencies": [
"@apollo/client",

View File

@@ -30,7 +30,9 @@ declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);

View File

@@ -4,6 +4,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}

View File

@@ -8,15 +8,6 @@
],
"lib": {
"entryFile": "src/public-api.ts",
"flatModuleFile": "adf-process-services",
"umdModuleIds": {
"@alfresco/js-api": "@alfresco/js-api",
"minimatch": "minimatch",
"@alfresco/adf-core": "@alfresco/adf-core",
"@alfresco/adf-content-services": "@alfresco/adf-content-services",
"moment": "moment",
"moment-es6": "moment-es6",
"@ngx-translate/core": "@ngx-translate/core"
}
"flatModuleFile": "adf-process-services"
}
}

View File

@@ -28,7 +28,9 @@ declare const require: any;
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
platformBrowserDynamicTesting(), {
teardown: { destroyAfterEach: false }
}
);
// Then we find all the tests.

View File

@@ -4,6 +4,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}

View File

@@ -3,15 +3,6 @@
"dest": "../dist/testing",
"lib": {
"entryFile": "src/public-api.ts",
"flatModuleFile": "adf-testing",
"umdModuleIds": {
"@alfresco/js-api": "@alfresco/js-api",
"moment-es6": "moment-es6",
"protractor": "protractor",
"selenium-webdriver": "selenium-webdriver",
"fs": "fs",
"path": "path",
"protractor/built/util": "protractor/built/util"
}
"flatModuleFile": "adf-testing"
}
}

View File

@@ -2,10 +2,7 @@
"ngPackage": {
"lib": {
"entryFile": "../src/lib/shared/index.ts",
"flatModuleFile": "adf-testing-shared",
"umdModuleIds": {
"@alfresco/js-api": "@alfresco/js-api"
}
"flatModuleFile": "adf-testing-shared"
}
}
}

View File

@@ -4,6 +4,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}

5482
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -70,18 +70,18 @@
],
"dependencies": {
"@alfresco/js-api": "4.8.0",
"@angular/animations": "^12.2.16",
"@angular/animations": "^13.2.3",
"@angular/cdk": "12.2.13",
"@angular/common": "^12.2.16",
"@angular/compiler": "^12.2.16",
"@angular/core": "^12.2.16",
"@angular/common": "^13.2.3",
"@angular/compiler": "^13.2.3",
"@angular/core": "^13.2.3",
"@angular/flex-layout": "^10.0.0-beta.32",
"@angular/forms": "^12.2.16",
"@angular/forms": "^13.2.3",
"@angular/material": "^12.2.13",
"@angular/material-moment-adapter": "^12.2.13",
"@angular/platform-browser": "^12.2.16",
"@angular/platform-browser-dynamic": "^12.2.16",
"@angular/router": "^12.2.16",
"@angular/platform-browser": "^13.2.3",
"@angular/platform-browser-dynamic": "^13.2.3",
"@angular/router": "^13.2.3",
"@apollo/client": "^3.5.6",
"@mat-datetimepicker/core": "^5.1.1",
"@mat-datetimepicker/moment": "^5.1.1",
@@ -89,7 +89,6 @@
"adf-tslint-rules": "0.0.7",
"apollo-angular": "^2.6.0",
"chart.js": "2.9.4",
"classlist.js": "1.1.20150312",
"cropperjs": "1.5.12",
"custom-event-polyfill": "^1.0.7",
"dotenv-expand": "^5.1.0",
@@ -106,9 +105,9 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^12.2.16",
"@angular/cli": "^12.2.16",
"@angular/compiler-cli": "^12.2.16",
"@angular-devkit/build-angular": "^13.2.4",
"@angular/cli": "^13.2.4",
"@angular/compiler-cli": "^13.2.3",
"@nrwl/schematics": "8.12.11",
"@nrwl/storybook": "^12.9.0",
"@nrwl/workspace": "^11.2.11",
@@ -152,7 +151,7 @@
"lite-server": "^2.6.1",
"mini-css-extract-plugin": "^1.6.0",
"nconf": "^0.11.1",
"ng-packagr": "^12.2.7",
"ng-packagr": "^13.2.1",
"node-sass": "^4.14.1",
"postcss": "^8.4.5",
"postcss-sass": "^0.5.0",
@@ -169,7 +168,7 @@
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.12.0",
"tslint": "6.1.3",
"typescript": "4.3.5",
"typescript": "4.5.5",
"webdriver-manager": "12.1.8",
"eslint": "^7.6.0",
"eslint-plugin-import": "2.22.1",