mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2514][ADF-2517][ADF-2143] Fix build isssues (#3097)
* fix remove angular folder problem * fix npm import cli * fix search module * fix comment * fix tsconfig output * es 20016 tsconfig * travis add demo shell dist * exclude datapicker process services * demo shell script fix * bundle check new build * add simulate publish * invert publish * test distribution * improve sh help * uncomment script * finally got the guilty piece of code * run e2e
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
|
||||
import { Component, ViewEncapsulation, OnInit } from '@angular/core';
|
||||
import {
|
||||
baseHost,
|
||||
UploadWidgetComponent,
|
||||
FormService,
|
||||
LogService,
|
||||
@@ -32,12 +31,23 @@ import {
|
||||
import { ContentNodeDialogService } from '@alfresco/adf-content-services';
|
||||
import { MinimalNodeEntryEntity } from 'alfresco-js-api';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import 'rxjs/add/observable/from';
|
||||
|
||||
@Component({
|
||||
selector: 'attach-widget',
|
||||
templateUrl: './attach-file-widget.component.html',
|
||||
styleUrls: ['./attach-file-widget.component.scss'],
|
||||
host: baseHost,
|
||||
host: {
|
||||
'(click)': 'event($event)',
|
||||
'(blur)': 'event($event)',
|
||||
'(change)': 'event($event)',
|
||||
'(focus)': 'event($event)',
|
||||
'(focusin)': 'event($event)',
|
||||
'(focusout)': 'event($event)',
|
||||
'(input)': 'event($event)',
|
||||
'(invalid)': 'event($event)',
|
||||
'(select)': 'event($event)'
|
||||
},
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class AttachFileWidgetComponent extends UploadWidgetComponent implements OnInit {
|
||||
|
@@ -19,7 +19,6 @@
|
||||
|
||||
import { Component, ViewEncapsulation, OnInit } from '@angular/core';
|
||||
import {
|
||||
baseHost,
|
||||
WidgetComponent,
|
||||
FormService,
|
||||
NodesApiService
|
||||
@@ -31,7 +30,17 @@ import { MinimalNodeEntryEntity } from 'alfresco-js-api';
|
||||
selector: 'attach-folder-widget',
|
||||
templateUrl: './attach-folder-widget.component.html',
|
||||
styleUrls: ['./attach-folder-widget.component.scss'],
|
||||
host: baseHost,
|
||||
host: {
|
||||
'(click)': 'event($event)',
|
||||
'(blur)': 'event($event)',
|
||||
'(change)': 'event($event)',
|
||||
'(focus)': 'event($event)',
|
||||
'(focusin)': 'event($event)',
|
||||
'(focusout)': 'event($event)',
|
||||
'(input)': 'event($event)',
|
||||
'(invalid)': 'event($event)',
|
||||
'(select)': 'event($event)'
|
||||
},
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class AttachFolderWidgetComponent extends WidgetComponent implements OnInit {
|
||||
|
@@ -13,6 +13,7 @@
|
||||
"minimatch": "minimatch",
|
||||
"@angular/platform-browser/animations": "@angular/platform-browser/animations",
|
||||
"@angular/material": "@angular/material",
|
||||
"@mat-datetimepicker": "@mat-datetimepicker",
|
||||
"@angular/flex-layout": "@angular/flex-layout",
|
||||
"@alfresco/adf-core": "@alfresco/adf-core",
|
||||
"@alfresco/adf-content-services": "@alfresco/adf-content-services",
|
||||
|
@@ -90,7 +90,7 @@ export class ProcessInstanceDetailsComponent implements OnChanges {
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset the task detail to undefined
|
||||
* Reset the task detail
|
||||
*/
|
||||
reset() {
|
||||
this.processInstanceDetails = null;
|
||||
|
@@ -27,6 +27,7 @@ import 'rxjs/add/observable/throw';
|
||||
import 'rxjs/add/observable/forkJoin';
|
||||
import 'rxjs/add/observable/fromPromise';
|
||||
import 'rxjs/operator/switchMap';
|
||||
import 'rxjs/add/observable/from';
|
||||
|
||||
@Injectable()
|
||||
export class TaskListService {
|
||||
|
@@ -16,7 +16,7 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"removeComments": true,
|
||||
"declaration": true,
|
||||
"outDir": "./",
|
||||
"outDir": "../dist/process-services/",
|
||||
"baseUrl" : "./",
|
||||
"paths": {
|
||||
"@alfresco/adf-process-services": ["../process-services"],
|
||||
@@ -26,7 +26,7 @@
|
||||
"@angular/*": ["../node_modules/@angular/*"]
|
||||
},
|
||||
"lib": [
|
||||
"es2015",
|
||||
"es2016",
|
||||
"dom"
|
||||
],
|
||||
"suppressImplicitAnyIndexErrors": true,
|
||||
|
Reference in New Issue
Block a user