Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
71fc54c
Update package.json
govindrgraj Jan 18, 2023
e4e800a
Merge pull request #150 from assureclaims/feature/rma-99819-2
debjena9 Jan 18, 2023
87446c0
version changes after build
Jan 18, 2023
205d8b1
Update package.json
govindrgraj Jan 19, 2023
6641add
Merge pull request #151 from assureclaims/feature/rma-99819-3
assureclaims Jan 19, 2023
31c3be4
version changes after build
Jan 19, 2023
3dbad06
multi line label issues with select component
assureclaims Jan 20, 2023
fa2bcf0
multi line label issue for select control fixed
assureclaims Jan 20, 2023
8f48934
Disable Control issues
assureclaims Jan 23, 2023
7ef0c88
Merge pull request #154 from assureclaims/feature/RMA-98688
assureclaims Jan 25, 2023
ce63e97
version changes after build
Jan 25, 2023
5495b66
multiline label issue
assureclaims Jan 27, 2023
9ea914b
Merge pull request #155 from assureclaims/feature/RMA-98688
assureclaims Jan 27, 2023
5c63aa5
version changes after build
Jan 27, 2023
9e0a655
feature/RMA-100989 : checkin on behalf of sachin
Shivam3266 Feb 21, 2023
9eb2de7
checkin on behalf of sachin
Shivam3266 Feb 21, 2023
0167c14
Merge branch 'feature/RMA-100989' of https://github.com/assureclaims/…
Shivam3266 Feb 21, 2023
968eb0a
missing changes
Shivam3266 Feb 21, 2023
87ac560
Merge pull request #157 from assureclaims/feature/RMA-100989
assureclaims Feb 21, 2023
cec3e81
version changes after build
Feb 21, 2023
adc1579
feature/RMA-101210: checkin on behalf of vishal
Shivam3266 Mar 2, 2023
a563525
Merge pull request #158 from assureclaims/feature/RMA-101210
assureclaims Mar 2, 2023
ba0afe6
version changes after build
Mar 2, 2023
e8bad6a
RMA-101184: code changes in halstack lib.
Mar 3, 2023
94f0d8e
RMA-101184 : fixed the review comments.
Mar 7, 2023
441d8c4
RMA-101184: fixed review comments.
Mar 10, 2023
f5fade0
RMA-101184: method name changed to camel case as per review comment
Mar 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div>
<dxc-file-input name="fileControl" mode="filedrop" label="Choose File" margin="xsmall"
buttonLabel="CHOOSE FILE" helperText="You can choose one file to import"
[value]="files" [showPreview]="true" [multiple] = "true" (callbackFile) = "FileUploadResponse($event)"
[requests] = "fileinfo.requests" (fileuploadEvents)="uploadEvents($event)">
</dxc-file-input>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
div.dark {
background: black;
}

.dark {
h2 {
color:white;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { Component } from '@angular/core';

@Component({
selector: 'dropdown-info',
templateUrl: './dropdown-info.component.html',
styleUrls: ['./dropdown-info.component.scss']
})
export class DropdownInfoComponent {

constructor() {}

FileUploadResponse(event)
{
//this.files=event;
//let name = this.parentFormGroup.get('taskManager.Filenames').value;
if(event[0].eventtype == "PREUPLOAD")
{
console.log("pre");
}
else if(event[0].eventtype == "POSTUPLOAD"){
console.log("post");
}
else if(event[0].eventtype == "UPLOAD"){
console.log("upload");
}
}
uploadEvents(event) {
if(event == "PREUPLOAD")
{
console.log("pre");
}
else if(event == "POSTUPLOAD"){
console.log("post");
}
}

}
2 changes: 1 addition & 1 deletion projects/dxc-ngx-cdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dxc-technology/halstack-angular",
"version": "4.1.0",
"version": "4.5.0",
"description": "DXC Angular CDK (Component Development Kit) based on Graphen Design System",
"scripts": {
"build-lib": "ng build dxc-ngx-cdk",
Expand Down
6 changes: 2 additions & 4 deletions projects/dxc-ngx-cdk/src/assets/scss/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
// width: 1150px;
// margin: 4px;
// flex: 1 0 150px;
// flex: 1 0 150px;
// }
dxc-dialog::ng-deep .container {
width: 600px;
margin: 30px auto;
}

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<ng-content></ng-content>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { DxcDialogBodyComponent } from './dxc-dialog-body.component';

describe('DxcDialogBodyComponent', () => {
let component: DxcDialogBodyComponent;
let fixture: ComponentFixture<DxcDialogBodyComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ DxcDialogBodyComponent ]
})
.compileComponents();
});

beforeEach(() => {
fixture = TestBed.createComponent(DxcDialogBodyComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'dxc-dialog-body',
templateUrl: './dxc-dialog-body.component.html',
styleUrls: ['./dxc-dialog-body.component.css']
})
export class DxcDialogBodyComponent implements OnInit {

constructor() { }

ngOnInit(): void {
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<ng-content></ng-content>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { DxcDialogHeaderComponent } from './dxc-dialog-header.component';

describe('DxcDialogHeaderComponent', () => {
let component: DxcDialogHeaderComponent;
let fixture: ComponentFixture<DxcDialogHeaderComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ DxcDialogHeaderComponent ]
})
.compileComponents();
});

beforeEach(() => {
fixture = TestBed.createComponent(DxcDialogHeaderComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'dxc-dialog-header',
templateUrl: './dxc-dialog-header.component.html',
styleUrls: ['./dxc-dialog-header.component.css']
})
export class DxcDialogHeaderComponent implements OnInit {

constructor() { }

ngOnInit(): void {
}

}
35 changes: 21 additions & 14 deletions projects/dxc-ngx-cdk/src/lib/dxc-dialog/dxc-dialog.component.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
<div class="dialog">
<div class="dialog h-100 w-100 d-flex align-items-center justify-content-center">
<div class="backOverlay" role="overlay" (click)="onBackgroundClickHandler($event)" [class.backVisible]="overlay">
</div>
<div class="container">
<div class="dialogContainer">
<div class="content" tabindex="0" role="dialog" (keydown)="startKeyPress($event)" [attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledBy"
[attr.aria-describedby]="ariaDescribedBy" #dialogboxstart>
<a href="javascript:void(0);" class="closeIcon" *ngIf="isCloseVisible" [attr.aria-label]="closeButtonLabel" [matTooltip]="closeButtonLabel"
(click)="onCloseHandler($event)" [tabindex]="tabIndexValue" role="button">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path
d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />
<path d="M0 0h24v24H0z" fill="none" />
</svg>
</a>
<ng-content></ng-content>
<div [ngClass]="'container p-0 mw-100 mph-' + height + ' mpw-'+ width">
<div class="dialogContainer h-100 w-100" #dialogboxstart>
<div #dialogHeader [style.height.px]="headerHeight" class="dialog-header d-flex align-items-center justify-content-between px-2">
<span>
<ng-content select="dxc-dialog-header"></ng-content>
</span>
<span *ngIf="isCloseVisible" >
<a href="javascript:void(0);" class="closeIcon" [attr.aria-label]="closeButtonLabel"
[matTooltip]="closeButtonLabel" (click)="onCloseHandler($event)" [tabindex]="tabIndexValue" role="button">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path
d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />
<path d="M0 0h24v24H0z" fill="none" />
</svg>
</a>
</span>
</div>
<div class="content" tabindex="0" role="dialog" (keydown)="startKeyPress($event)" [attr.aria-label]="ariaLabel"
[attr.aria-labelledby]="ariaLabelledBy" [attr.aria-describedby]="ariaDescribedBy">
<ng-content select="dxc-dialog-body"></ng-content>
<span #dialogboxreturn tabindex="-1" (onblur)="returnFocusOut($event)"></span>
<span #dialogboxend tabindex="0" (focus)="endFocus($event)"></span>
</div>
Expand Down
Loading