-
Notifications
You must be signed in to change notification settings - Fork 3
RMA-101184: code changes in halstack lib #159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/AssureClaims
Are you sure you want to change the base?
Conversation
216 build server not supported the NPM and Node and NVM versions. Hence not able to continue our build process...
Update package.json
Update package.json
Feature/rma 98688 Multiline labels
multiline label issue
…halstack-angular into feature/RMA-100989
Feature/rma 100989
feature/RMA-101210: checkin on behalf of vishal
assureclaims
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still code is missed for supporting reactive form
| /** | ||
| * request object gets the value from APP and pass to halstack library. | ||
| */ | ||
| @Input('requests') requests: IfileuploadRequest = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IfileuploadRequest check the case - Change it to IFileUploadRequest
| hasErrorSingleFile: boolean = false; | ||
| hasValue: boolean = false; | ||
|
|
||
| global_filehit: number = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use camel case for all properties and functions name
global_filehit: number = 0; should be like globalFileHit
global_chunkcount: number = 0;
global_actualchunkcount: number = 0;
filedataupload: filemetadata;
GUID: string;
fileEventType: EventType = EventType.PREUPLOAD;
chunkresult: boolean;
Postresp: any;
| * @param event | ||
| */ | ||
| processFiles(event) { | ||
| // var len = event.length; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comments
| // }); | ||
| this.uploadChunkDoc(eventFiles); | ||
| } | ||
| uploadChunkDoc(file) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be private if not calling from html
| @@ -0,0 +1,7 @@ | |||
| import { chunkmetadata } from "./chunkmetadata"; | |||
|
|
|||
| export class filemetadata { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
filemetadata should be pascal case FileMetadata
| @@ -0,0 +1,323 @@ | |||
| import { HttpParams, HttpHeaders } from '@angular/common/http'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why copied the configuration model file in side dxc-file-input
| @@ -0,0 +1,16 @@ | |||
| import { IRequest } from './configuration.model'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes the name of file this is not a service file this is models related to file upload component. and move the file in modles folder
| @@ -0,0 +1,103 @@ | |||
| export interface ILookup { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why copy the lookupmodel in side dxc-file input ?
| @@ -0,0 +1,25 @@ | |||
| export declare class Lookup { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why copy the lookup.ts in side dxc-file input ?
| //let data = this.getPreview(file); | ||
| this.data[0].eventtype = this.fileEventType; | ||
| this.callbackFile.emit(this.data); | ||
| alert("File Upload completed"); }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove alert
| import { NgChanges } from "../typings/ng-onchange"; | ||
| import { FileInputProperties, Space, Spacing } from "./dxc-file-input.types"; | ||
| import { FileMetaData } from './model/filemetadata'; | ||
| import { chunkmetadata } from './model/chunkmetadata'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chunkmetadata pascal case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fiile name file.metadata
| hasErrorSingleFile: boolean = false; | ||
| hasValue: boolean = false; | ||
|
|
||
| globalFileHit: number = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
globalFileHit -> remove
projects/dxc-ngx-cdk/src/lib/dxc-file-input/dxc-file-input.component.ts
Outdated
Show resolved
Hide resolved
projects/dxc-ngx-cdk/src/lib/dxc-file-input/dxc-file-input.component.ts
Outdated
Show resolved
Hide resolved
projects/dxc-ngx-cdk/src/lib/dxc-file-input/dxc-file-input.component.ts
Outdated
Show resolved
Hide resolved
| throw new Error(`Error! status: ${response.status}`); | ||
| } | ||
| } | ||
| private async uploadcomplete(theFiles: FileMetaData) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uploadcomplete still not camel case
RMA-101184