mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
Angular 13 upgrade
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
|
/.angular/cache
|
||||||
*.log
|
*.log
|
||||||
node_modules
|
node_modules
|
||||||
bundles
|
bundles
|
||||||
|
12
angular.json
12
angular.json
@@ -388,18 +388,6 @@
|
|||||||
"protractorConfig": "./e2e/protractor.conf.js",
|
"protractorConfig": "./e2e/protractor.conf.js",
|
||||||
"devServerTarget": "lib-e2e-test:serve"
|
"devServerTarget": "lib-e2e-test:serve"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"lint": {
|
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
|
||||||
"options": {
|
|
||||||
"tsConfig": [
|
|
||||||
"./e2e/tsconfig.e2e.json"
|
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"**/lib/**/*",
|
|
||||||
"**/node_modules/**/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../../lib/core/styles/index';
|
@import '../../lib/core/styles/index';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '~@alfresco/adf-core/theming';
|
@import '~@alfresco/adf-core/theming';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
|
||||||
|
@@ -35,9 +35,6 @@
|
|||||||
* BROWSER POLYFILLS
|
* 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.
|
* Zone JS is required by Angular itself.
|
||||||
*/
|
*/
|
||||||
|
@@ -29,7 +29,9 @@ declare const require: any;
|
|||||||
// First, initialize the Angular testing environment.
|
// First, initialize the Angular testing environment.
|
||||||
getTestBed().initTestEnvironment(
|
getTestBed().initTestEnvironment(
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
platformBrowserDynamicTesting()
|
platformBrowserDynamicTesting(), {
|
||||||
|
teardown: { destroyAfterEach: false }
|
||||||
|
}
|
||||||
);
|
);
|
||||||
// Then we find all the tests.
|
// Then we find all the tests.
|
||||||
const context = require.context('./', true, /\.spec\.ts$/);
|
const context = require.context('./', true, /\.spec\.ts$/);
|
||||||
|
@@ -4,6 +4,6 @@
|
|||||||
"declarationMap": false
|
"declarationMap": false
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"enableIvy": false
|
"compilationMode": "partial"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,22 +8,6 @@
|
|||||||
],
|
],
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-content-services",
|
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
|
||||||
$mat-menu-overlay-min-width: 112px !default; // 56 * 2
|
$mat-menu-overlay-min-width: 112px !default; // 56 * 2
|
||||||
$mat-menu-overlay-max-width: 280px !default; // 56 * 5
|
$mat-menu-overlay-max-width: 280px !default; // 56 * 5
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
|
||||||
.adf-search-filter-chip {
|
.adf-search-filter-chip {
|
||||||
&.mat-chip {
|
&.mat-chip {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
|
||||||
.adf-search-form {
|
.adf-search-form {
|
||||||
&.mat-button {
|
&.mat-button {
|
||||||
|
@@ -28,7 +28,9 @@ declare const require: any;
|
|||||||
// First, initialize the Angular testing environment.
|
// First, initialize the Angular testing environment.
|
||||||
getTestBed().initTestEnvironment(
|
getTestBed().initTestEnvironment(
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
platformBrowserDynamicTesting()
|
platformBrowserDynamicTesting(), {
|
||||||
|
teardown: { destroyAfterEach: false }
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
declare const pdfjsLib: any;
|
declare const pdfjsLib: any;
|
||||||
|
@@ -4,6 +4,6 @@
|
|||||||
"declarationMap": false
|
"declarationMap": false
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"enableIvy": false
|
"compilationMode": "partial"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -21,9 +21,9 @@
|
|||||||
[attr.data-automation-id]="'card-textitem-value-' + property.key">
|
[attr.data-automation-id]="'card-textitem-value-' + property.key">
|
||||||
<textarea matInput
|
<textarea matInput
|
||||||
*ngIf="property.multiline"
|
*ngIf="property.multiline"
|
||||||
[matTextareaAutosize]="true"
|
[cdkTextareaAutosize]="true"
|
||||||
[matAutosizeMaxRows]="1"
|
[cdkAutosizeMaxRows]="1"
|
||||||
[matAutosizeMaxRows]="5"
|
[cdkAutosizeMaxRows]="5"
|
||||||
class="adf-property-value"
|
class="adf-property-value"
|
||||||
[placeholder]="property.default"
|
[placeholder]="property.default"
|
||||||
[formControl]="textInput"
|
[formControl]="textInput"
|
||||||
|
@@ -102,26 +102,33 @@ export class ContextMenuOverlayService {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const positionStrategy = this.overlay.position()
|
const positionStrategy = this.overlay.position()
|
||||||
.connectedTo(
|
.flexibleConnectedTo(new ElementRef(fakeElement))
|
||||||
new ElementRef(fakeElement),
|
.withPositions([
|
||||||
{ originX: 'start', originY: 'bottom' },
|
{
|
||||||
{ overlayX: 'start', overlayY: 'top' })
|
originX: 'start', originY: 'bottom' ,
|
||||||
.withFallbackPosition(
|
overlayX: 'start', overlayY: 'top'
|
||||||
{ originX: 'start', originY: 'top' },
|
},
|
||||||
{ overlayX: 'start', overlayY: 'bottom' })
|
{
|
||||||
.withFallbackPosition(
|
originX: 'start', originY: 'top',
|
||||||
{ originX: 'end', originY: 'top' },
|
overlayX: 'start', overlayY: 'bottom'
|
||||||
{ overlayX: 'start', overlayY: 'top' })
|
},
|
||||||
.withFallbackPosition(
|
{
|
||||||
{ originX: 'start', originY: 'top' },
|
originX: 'end', originY: 'top',
|
||||||
{ overlayX: 'end', overlayY: 'top' })
|
overlayX: 'start', overlayY: 'top'
|
||||||
.withFallbackPosition(
|
},
|
||||||
{ originX: 'end', originY: 'center' },
|
{
|
||||||
{ overlayX: 'start', overlayY: 'center' })
|
originX: 'start', originY: 'top',
|
||||||
.withFallbackPosition(
|
overlayX: 'end', overlayY: 'top'
|
||||||
{ originX: 'start', originY: 'center' },
|
},
|
||||||
{ overlayX: 'end', overlayY: 'center' }
|
{
|
||||||
);
|
originX: 'end', originY: 'center',
|
||||||
|
overlayX: 'start', overlayY: 'center'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
originX: 'start', originY: 'center',
|
||||||
|
overlayX: 'end', overlayY: 'center'
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
const overlayConfig = new OverlayConfig({
|
const overlayConfig = new OverlayConfig({
|
||||||
hasBackdrop: config.hasBackdrop,
|
hasBackdrop: config.hasBackdrop,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/* stylelint-disable no-descending-specificity */
|
/* stylelint-disable no-descending-specificity */
|
||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../../../styles/mixins';
|
@import '../../../styles/mixins';
|
||||||
|
|
||||||
$data-table-header-font-size: var(--theme-caption-font-size) !default;
|
$data-table-header-font-size: var(--theme-caption-font-size) !default;
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
<mat-form-field floatPlaceholder="never" [hideRequiredMarker]="true">
|
<mat-form-field floatPlaceholder="never" [hideRequiredMarker]="true">
|
||||||
<label class="adf-label" [attr.for]="field.id">{{field.name | translate }}<span *ngIf="isRequired()">*</span></label>
|
<label class="adf-label" [attr.for]="field.id">{{field.name | translate }}<span *ngIf="isRequired()">*</span></label>
|
||||||
<textarea matInput class="adf-input"
|
<textarea matInput class="adf-input"
|
||||||
[matTextareaAutosize]="true"
|
[cdkTextareaAutosize]="true"
|
||||||
type="text"
|
type="text"
|
||||||
rows="3"
|
rows="3"
|
||||||
[id]="field.id"
|
[id]="field.id"
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
|
||||||
.adf {
|
.adf {
|
||||||
&-sidebar-action-menu {
|
&-sidebar-action-menu {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@import '~@angular/flex-layout/mq';
|
@import '@angular/flex-layout/mq';
|
||||||
@import '../../../styles/mixins';
|
@import '../../../styles/mixins';
|
||||||
|
|
||||||
.adf-sidenav-layout {
|
.adf-sidenav-layout {
|
||||||
|
@@ -11,18 +11,6 @@
|
|||||||
],
|
],
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "./public-api.ts",
|
"entryFile": "./public-api.ts",
|
||||||
"flatModuleFile": "adf-core",
|
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@import '~@angular/flex-layout/mq';
|
@import '@angular/flex-layout/mq';
|
||||||
|
|
||||||
$adf-pagination-height: 48px !default;
|
$adf-pagination-height: 48px !default;
|
||||||
$adf-pagination-icon-button-size: 32px !default;
|
$adf-pagination-icon-button-size: 32px !default;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/* stylelint-disable value-keyword-case */
|
/* stylelint-disable value-keyword-case */
|
||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
/* stylelint-disable value-list-max-empty-lines */
|
/* stylelint-disable value-list-max-empty-lines */
|
||||||
/* stylelint-disable scss/no-global-function-names */
|
/* stylelint-disable scss/no-global-function-names */
|
||||||
/* stylelint-disable scss/at-import-partial-extension */
|
/* stylelint-disable scss/at-import-partial-extension */
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@import '~@angular/flex-layout/mq';
|
@import '@angular/flex-layout/mq';
|
||||||
@import './colors';
|
@import './colors';
|
||||||
@import './mixins';
|
@import './mixins';
|
||||||
@import './typography';
|
@import './typography';
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
|
||||||
$alfresco-typography: mat.define-typography-config(
|
$alfresco-typography: mat.define-typography-config(
|
||||||
$font-family: 'Muli, Roboto, "Helvetica Neue", sans-serif',
|
$font-family: 'Muli, Roboto, "Helvetica Neue", sans-serif',
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../theming';
|
@import '../theming';
|
||||||
@import './all-theme';
|
@import './all-theme';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../theming';
|
@import '../theming';
|
||||||
@import './all-theme';
|
@import './all-theme';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../theming';
|
@import '../theming';
|
||||||
@import './all-theme';
|
@import './all-theme';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../theming';
|
@import '../theming';
|
||||||
@import './all-theme';
|
@import './all-theme';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../theming';
|
@import '../theming';
|
||||||
@import './all-theme';
|
@import './all-theme';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../theming';
|
@import '../theming';
|
||||||
@import './all-theme';
|
@import './all-theme';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/* stylelint-disable value-keyword-case */
|
/* stylelint-disable value-keyword-case */
|
||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../theming';
|
@import '../theming';
|
||||||
@import './all-theme';
|
@import './all-theme';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/* stylelint-disable value-keyword-case */
|
/* stylelint-disable value-keyword-case */
|
||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../theming';
|
@import '../theming';
|
||||||
@import './all-theme';
|
@import './all-theme';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/* stylelint-disable value-keyword-case */
|
/* stylelint-disable value-keyword-case */
|
||||||
@use '~@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
@import '../theming';
|
@import '../theming';
|
||||||
@import './all-theme';
|
@import './all-theme';
|
||||||
@include mat.core($alfresco-typography);
|
@include mat.core($alfresco-typography);
|
||||||
|
@@ -28,7 +28,9 @@ declare const require: any;
|
|||||||
// First, initialize the Angular testing environment.
|
// First, initialize the Angular testing environment.
|
||||||
getTestBed().initTestEnvironment(
|
getTestBed().initTestEnvironment(
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
platformBrowserDynamicTesting()
|
platformBrowserDynamicTesting(), {
|
||||||
|
teardown: { destroyAfterEach: false }
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
// Then we find all the tests.
|
// Then we find all the tests.
|
||||||
|
@@ -4,6 +4,6 @@
|
|||||||
"declarationMap": false
|
"declarationMap": false
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"enableIvy": false
|
"compilationMode": "partial"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -4,9 +4,6 @@
|
|||||||
"deleteDestPath": false,
|
"deleteDestPath": false,
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-extensions",
|
"flatModuleFile": "adf-extensions"
|
||||||
"umdModuleIds": {
|
|
||||||
"@alfresco/js-api": "@alfresco/js-api"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -30,7 +30,9 @@ declare const require: any;
|
|||||||
// First, initialize the Angular testing environment.
|
// First, initialize the Angular testing environment.
|
||||||
getTestBed().initTestEnvironment(
|
getTestBed().initTestEnvironment(
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
platformBrowserDynamicTesting()
|
platformBrowserDynamicTesting(), {
|
||||||
|
teardown: { destroyAfterEach: false }
|
||||||
|
}
|
||||||
);
|
);
|
||||||
// Then we find all the tests.
|
// Then we find all the tests.
|
||||||
const context = require.context('./', true, /\.spec\.ts$/);
|
const context = require.context('./', true, /\.spec\.ts$/);
|
||||||
|
@@ -4,6 +4,6 @@
|
|||||||
"declarationMap": false
|
"declarationMap": false
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"enableIvy": false
|
"compilationMode": "partial"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,14 +8,6 @@
|
|||||||
],
|
],
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-insights",
|
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -30,7 +30,9 @@ declare const require: any;
|
|||||||
// First, initialize the Angular testing environment.
|
// First, initialize the Angular testing environment.
|
||||||
getTestBed().initTestEnvironment(
|
getTestBed().initTestEnvironment(
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
platformBrowserDynamicTesting()
|
platformBrowserDynamicTesting(), {
|
||||||
|
teardown: { destroyAfterEach: false }
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
// Then we find all the tests.
|
// Then we find all the tests.
|
||||||
|
@@ -4,6 +4,6 @@
|
|||||||
"declarationMap": false
|
"declarationMap": false
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"enableIvy": false
|
"compilationMode": "partial"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,22 +8,7 @@
|
|||||||
],
|
],
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-process-services-cloud",
|
"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"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"allowedNonPeerDependencies": [
|
"allowedNonPeerDependencies": [
|
||||||
"@apollo/client",
|
"@apollo/client",
|
||||||
|
@@ -30,7 +30,9 @@ declare const require: any;
|
|||||||
// First, initialize the Angular testing environment.
|
// First, initialize the Angular testing environment.
|
||||||
getTestBed().initTestEnvironment(
|
getTestBed().initTestEnvironment(
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
platformBrowserDynamicTesting()
|
platformBrowserDynamicTesting(), {
|
||||||
|
teardown: { destroyAfterEach: false }
|
||||||
|
}
|
||||||
);
|
);
|
||||||
// Then we find all the tests.
|
// Then we find all the tests.
|
||||||
const context = require.context('./', true, /\.spec\.ts$/);
|
const context = require.context('./', true, /\.spec\.ts$/);
|
||||||
|
@@ -4,6 +4,6 @@
|
|||||||
"declarationMap": false
|
"declarationMap": false
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"enableIvy": false
|
"compilationMode": "partial"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,15 +8,6 @@
|
|||||||
],
|
],
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-process-services",
|
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -28,7 +28,9 @@ declare const require: any;
|
|||||||
// First, initialize the Angular testing environment.
|
// First, initialize the Angular testing environment.
|
||||||
getTestBed().initTestEnvironment(
|
getTestBed().initTestEnvironment(
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
platformBrowserDynamicTesting()
|
platformBrowserDynamicTesting(), {
|
||||||
|
teardown: { destroyAfterEach: false }
|
||||||
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
// Then we find all the tests.
|
// Then we find all the tests.
|
||||||
|
@@ -4,6 +4,6 @@
|
|||||||
"declarationMap": false
|
"declarationMap": false
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"enableIvy": false
|
"compilationMode": "partial"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -3,15 +3,6 @@
|
|||||||
"dest": "../dist/testing",
|
"dest": "../dist/testing",
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts",
|
"entryFile": "src/public-api.ts",
|
||||||
"flatModuleFile": "adf-testing",
|
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -2,10 +2,7 @@
|
|||||||
"ngPackage": {
|
"ngPackage": {
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "../src/lib/shared/index.ts",
|
"entryFile": "../src/lib/shared/index.ts",
|
||||||
"flatModuleFile": "adf-testing-shared",
|
"flatModuleFile": "adf-testing-shared"
|
||||||
"umdModuleIds": {
|
|
||||||
"@alfresco/js-api": "@alfresco/js-api"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -4,6 +4,6 @@
|
|||||||
"declarationMap": false
|
"declarationMap": false
|
||||||
},
|
},
|
||||||
"angularCompilerOptions": {
|
"angularCompilerOptions": {
|
||||||
"enableIvy": false
|
"compilationMode": "partial"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
5083
package-lock.json
generated
5083
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
35
package.json
35
package.json
@@ -69,18 +69,18 @@
|
|||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@alfresco/js-api": "4.8.0",
|
"@alfresco/js-api": "4.8.0",
|
||||||
"@angular/animations": "^12.2.16",
|
"@angular/animations": "^13.2.4",
|
||||||
"@angular/cdk": "12.2.13",
|
"@angular/cdk": "13.2.4",
|
||||||
"@angular/common": "^12.2.16",
|
"@angular/common": "^13.2.4",
|
||||||
"@angular/compiler": "^12.2.16",
|
"@angular/compiler": "^13.2.4",
|
||||||
"@angular/core": "^12.2.16",
|
"@angular/core": "^13.2.4",
|
||||||
"@angular/flex-layout": "^12.0.0-beta.35",
|
"@angular/flex-layout": "^13.0.0-beta.38",
|
||||||
"@angular/forms": "^12.2.16",
|
"@angular/forms": "^13.2.4",
|
||||||
"@angular/material": "^12.2.13",
|
"@angular/material": "^13.2.4",
|
||||||
"@angular/material-moment-adapter": "^12.2.13",
|
"@angular/material-moment-adapter": "^13.2.4",
|
||||||
"@angular/platform-browser": "^12.2.16",
|
"@angular/platform-browser": "^13.2.4",
|
||||||
"@angular/platform-browser-dynamic": "^12.2.16",
|
"@angular/platform-browser-dynamic": "^13.2.4",
|
||||||
"@angular/router": "^12.2.16",
|
"@angular/router": "^13.2.4",
|
||||||
"@apollo/client": "^3.5.6",
|
"@apollo/client": "^3.5.6",
|
||||||
"@mat-datetimepicker/core": "^5.1.1",
|
"@mat-datetimepicker/core": "^5.1.1",
|
||||||
"@mat-datetimepicker/moment": "^5.1.1",
|
"@mat-datetimepicker/moment": "^5.1.1",
|
||||||
@@ -88,7 +88,6 @@
|
|||||||
"adf-tslint-rules": "0.0.7",
|
"adf-tslint-rules": "0.0.7",
|
||||||
"apollo-angular": "^2.6.0",
|
"apollo-angular": "^2.6.0",
|
||||||
"chart.js": "2.9.4",
|
"chart.js": "2.9.4",
|
||||||
"classlist.js": "1.1.20150312",
|
|
||||||
"cropperjs": "1.5.12",
|
"cropperjs": "1.5.12",
|
||||||
"custom-event-polyfill": "^1.0.7",
|
"custom-event-polyfill": "^1.0.7",
|
||||||
"dotenv-expand": "^5.1.0",
|
"dotenv-expand": "^5.1.0",
|
||||||
@@ -105,7 +104,7 @@
|
|||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^12.2.16",
|
"@angular-devkit/build-angular": "^13.2.5",
|
||||||
"@angular-devkit/core": "^13.2.5",
|
"@angular-devkit/core": "^13.2.5",
|
||||||
"@angular-devkit/schematics": "^13.2.5",
|
"@angular-devkit/schematics": "^13.2.5",
|
||||||
"@angular-eslint/builder": "1.2.0",
|
"@angular-eslint/builder": "1.2.0",
|
||||||
@@ -113,8 +112,8 @@
|
|||||||
"@angular-eslint/eslint-plugin-template": "1.2.0",
|
"@angular-eslint/eslint-plugin-template": "1.2.0",
|
||||||
"@angular-eslint/schematics": "1.2.0",
|
"@angular-eslint/schematics": "1.2.0",
|
||||||
"@angular-eslint/template-parser": "1.2.0",
|
"@angular-eslint/template-parser": "1.2.0",
|
||||||
"@angular/cli": "^12.2.16",
|
"@angular/cli": "^13.2.5",
|
||||||
"@angular/compiler-cli": "^12.2.16",
|
"@angular/compiler-cli": "^13.2.4",
|
||||||
"@nrwl/schematics": "8.12.11",
|
"@nrwl/schematics": "8.12.11",
|
||||||
"@nrwl/storybook": "^13.8.3",
|
"@nrwl/storybook": "^13.8.3",
|
||||||
"@nrwl/workspace": "^13.8.3",
|
"@nrwl/workspace": "^13.8.3",
|
||||||
@@ -166,7 +165,7 @@
|
|||||||
"lite-server": "^2.6.1",
|
"lite-server": "^2.6.1",
|
||||||
"mini-css-extract-plugin": "^1.6.0",
|
"mini-css-extract-plugin": "^1.6.0",
|
||||||
"nconf": "^0.11.1",
|
"nconf": "^0.11.1",
|
||||||
"ng-packagr": "^12.2.7",
|
"ng-packagr": "^13.2.1",
|
||||||
"postcss": "^8.4.5",
|
"postcss": "^8.4.5",
|
||||||
"postcss-sass": "^0.5.0",
|
"postcss-sass": "^0.5.0",
|
||||||
"protractor": "^7.0.0",
|
"protractor": "^7.0.0",
|
||||||
@@ -182,7 +181,7 @@
|
|||||||
"ts-node": "^10.4.0",
|
"ts-node": "^10.4.0",
|
||||||
"tsconfig-paths": "^3.12.0",
|
"tsconfig-paths": "^3.12.0",
|
||||||
"tslint": "6.1.3",
|
"tslint": "6.1.3",
|
||||||
"typescript": "4.3.5",
|
"typescript": "4.5.5",
|
||||||
"webdriver-manager": "12.1.8"
|
"webdriver-manager": "12.1.8"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
Reference in New Issue
Block a user