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,3 @@
:host ::ng-deep .block-ui-wrapper {
background: rgba(255, 249, 249, 0.5) !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 { MediaobjectsComponent } from './mediaobjects.component';
describe('MediaobjectsComponent', () => {
let component: MediaobjectsComponent;
let fixture: ComponentFixture<MediaobjectsComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ MediaobjectsComponent ]
})
.compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(MediaobjectsComponent);
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-mediaobjects',
templateUrl: './mediaobjects.component.html',
styleUrls: ['./mediaobjects.component.css']
})
export class MediaobjectsComponent implements OnInit {
@BlockUI('leftAlignedMediaObjects') blockUILeftAlignedMediaObjects: NgBlockUI;
@BlockUI('leftMediaWithRightText') blockUILeftMediaWithRightText: NgBlockUI;
public breadcrumb: any;
options = {
close: true,
expand: true,
minimize: true,
reload: true
};
constructor() { }
ngOnInit() {
this.breadcrumb = {
'mainlabel': 'Media Objects',
'links': [
{
'name': 'Home',
'isLink': true,
'link': '/dashboard/sales'
},
{
'name': 'Component',
'isLink': true,
'link': '#'
},
{
'name': 'Media Objects',
'isLink': false
}
]
};
}
reloadLeftAlignedMediaObjects() {
this.blockUILeftAlignedMediaObjects.start('Loading..');
setTimeout(() => {
this.blockUILeftAlignedMediaObjects.stop();
}, 2500);
}
reloadLeftMediaWithRightText() {
this.blockUILeftMediaWithRightText.start('Loading..');
setTimeout(() => {
this.blockUILeftMediaWithRightText.stop();
}, 2500);
}
}