first commit

This commit is contained in:
2024-04-19 12:53:45 +07:00
commit 71a3a661dc
1943 changed files with 246917 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
:host ::ng-deep .block-ui-wrapper {
background: rgba(255, 249, 249, 0.5) !important;
}
.d-flex {
display: center !important;
}
.align-items-center {
align-items: center!important;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,25 @@
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { CalloutComponent } from './callout.component';
describe('CalloutComponent', () => {
let component: CalloutComponent;
let fixture: ComponentFixture<CalloutComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ CalloutComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(CalloutComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@@ -0,0 +1,62 @@
import { Component, OnInit } from '@angular/core';
import { NgBlockUI, BlockUI } from 'ng-block-ui';
@Component({
selector: 'app-callout',
templateUrl: './callout.component.html',
styleUrls: ['./callout.component.css']
})
export class CalloutComponent implements OnInit {
@BlockUI('basicCallouts') blockUIBasicCallouts: NgBlockUI;
@BlockUI('rightBorderedCallouts') blockUIRightBorderedCallouts: NgBlockUI;
public breadcrumb: any;
options = {
close: true,
expand: true,
minimize: true,
reload: true
};
constructor() { }
ngOnInit() {
this.breadcrumb = {
'mainlabel': 'Callout',
'links': [
{
'name': 'Home',
'isLink': true,
'link': '/dashboard/sales'
},
{
'name': 'Component',
'isLink': true,
'link': '#'
},
{
'name': 'Callout',
'isLink': false
}
]
};
}
reloadBasicCallouts() {
this.blockUIBasicCallouts.start('Loading..');
setTimeout(() => {
this.blockUIBasicCallouts.stop();
}, 2500);
}
reloadRightBorderedCallouts() {
this.blockUIRightBorderedCallouts.start('Loading..');
setTimeout(() => {
this.blockUIRightBorderedCallouts.stop();
}, 2500);
}
}