WIP
This commit is contained in:
20594
theme/packages/main/package-lock.json
generated
20594
theme/packages/main/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,62 +1,62 @@
|
||||
{
|
||||
"name": "modernize",
|
||||
"version": "3.1.0",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"build": "ng build",
|
||||
"watch": "ng build --watch --configuration development",
|
||||
"test": "ng test"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^20.0.4",
|
||||
"@angular/cdk": "^20.0.3",
|
||||
"@angular/common": "^20.0.4",
|
||||
"@angular/compiler": "^20.0.4",
|
||||
"@angular/core": "^20.0.4",
|
||||
"@angular/forms": "^20.0.4",
|
||||
"@angular/material": "^20.0.3",
|
||||
"@angular/platform-browser": "^20.0.4",
|
||||
"@angular/platform-browser-dynamic": "^20.0.4",
|
||||
"@angular/router": "^20.0.4",
|
||||
"@ng-matero/extensions": "^20.1.0",
|
||||
"@ngx-translate/core": "^16.0.4",
|
||||
"@ngx-translate/http-loader": "^16.0.1",
|
||||
"angular-calendar": "^0.31.1",
|
||||
"angular-tabler-icons": "^3.26.0",
|
||||
"apexcharts": "^4.7.0",
|
||||
"chance": "^1.1.13",
|
||||
"date-fns": "^4.1.0",
|
||||
"highlight.js": "^11.11.1",
|
||||
"ng-apexcharts": "^1.16.0",
|
||||
"ng2-search-filter": "^0.5.1",
|
||||
"ngx-dropzone": "^3.1.0",
|
||||
"ngx-editor": "^19.0.0-beta.1",
|
||||
"ngx-highlightjs": "^14.0.1",
|
||||
"ngx-owl-carousel-o": "^20.0.0",
|
||||
"ngx-pagination": "^6.0.3",
|
||||
"ngx-permissions": "^19.0.0",
|
||||
"ngx-scrollbar": "^18.0.0",
|
||||
"ngx-toastr": "^19.0.0",
|
||||
"rxjs": "~7.8.2",
|
||||
"sass": "^1.89.2",
|
||||
"tslib": "^2.8.1",
|
||||
"zone.js": "~0.15.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular/build": "^20.0.3",
|
||||
"@angular/cli": "~20.3.6",
|
||||
"@angular/compiler-cli": "^20.0.4",
|
||||
"@types/chance": "^1.1.6",
|
||||
"@types/date-fns": "^2.6.3",
|
||||
"@types/jasmine": "~5.1.8",
|
||||
"jasmine-core": "~5.8.0",
|
||||
"karma": "~6.4.4",
|
||||
"karma-chrome-launcher": "~3.2.0",
|
||||
"karma-coverage": "~2.2.1",
|
||||
"karma-jasmine": "~5.1.0",
|
||||
"karma-jasmine-html-reporter": "~2.1.0",
|
||||
"typescript": "~5.8.3"
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "modernize",
|
||||
"version": "3.1.0",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"build": "ng build",
|
||||
"watch": "ng build --watch --configuration development",
|
||||
"test": "ng test"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^20.0.4",
|
||||
"@angular/cdk": "^20.0.3",
|
||||
"@angular/common": "^20.0.4",
|
||||
"@angular/compiler": "^20.0.4",
|
||||
"@angular/core": "^20.0.4",
|
||||
"@angular/forms": "^20.0.4",
|
||||
"@angular/material": "^20.0.3",
|
||||
"@angular/platform-browser": "^20.0.4",
|
||||
"@angular/platform-browser-dynamic": "^20.0.4",
|
||||
"@angular/router": "^20.0.4",
|
||||
"@ng-matero/extensions": "^20.1.0",
|
||||
"@ngx-translate/core": "^16.0.4",
|
||||
"@ngx-translate/http-loader": "^16.0.1",
|
||||
"angular-calendar": "^0.31.1",
|
||||
"angular-tabler-icons": "^3.26.0",
|
||||
"apexcharts": "^4.7.0",
|
||||
"chance": "^1.1.13",
|
||||
"date-fns": "^4.1.0",
|
||||
"highlight.js": "^11.11.1",
|
||||
"ng-apexcharts": "^1.16.0",
|
||||
"ng2-search-filter": "^0.5.1",
|
||||
"ngx-dropzone": "^3.1.0",
|
||||
"ngx-editor": "^19.0.0-beta.1",
|
||||
"ngx-highlightjs": "^14.0.1",
|
||||
"ngx-owl-carousel-o": "^20.0.0",
|
||||
"ngx-pagination": "^6.0.3",
|
||||
"ngx-permissions": "^19.0.0",
|
||||
"ngx-scrollbar": "^18.0.0",
|
||||
"ngx-toastr": "^19.0.0",
|
||||
"rxjs": "~7.8.2",
|
||||
"sass": "^1.89.2",
|
||||
"tslib": "^2.8.1",
|
||||
"zone.js": "~0.15.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular/build": "^20.0.3",
|
||||
"@angular/cli": "~20.3.6",
|
||||
"@angular/compiler-cli": "^20.0.4",
|
||||
"@types/chance": "^1.1.6",
|
||||
"@types/date-fns": "^2.6.3",
|
||||
"@types/jasmine": "~5.1.8",
|
||||
"jasmine-core": "~5.8.0",
|
||||
"karma": "~6.4.4",
|
||||
"karma-chrome-launcher": "~3.2.0",
|
||||
"karma-coverage": "~2.2.1",
|
||||
"karma-jasmine": "~5.1.0",
|
||||
"karma-jasmine-html-reporter": "~2.1.0",
|
||||
"typescript": "~5.8.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { CoreService } from 'src/app/services/core.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-branding',
|
||||
imports: [],
|
||||
template: `
|
||||
<a href="/" class="logodark">
|
||||
<img
|
||||
src="./assets/images/logos/logo e-dias.png"
|
||||
class="align-middle m-2"
|
||||
alt="logo"
|
||||
/>
|
||||
</a>
|
||||
|
||||
<a href="/" class="logolight">
|
||||
<img
|
||||
src="./assets/images/logos/logo e-dias.png"
|
||||
class="align-middle m-2"
|
||||
alt="logo"
|
||||
/>
|
||||
</a>
|
||||
`,
|
||||
})
|
||||
export class BrandingComponent {
|
||||
options = this.settings.getOptions();
|
||||
constructor(private settings: CoreService) {}
|
||||
}
|
||||
import { Component } from '@angular/core';
|
||||
import { CoreService } from 'src/app/services/core.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-branding',
|
||||
imports: [],
|
||||
template: `
|
||||
<a href="/" class="logodark">
|
||||
<img
|
||||
src="./assets/images/logos/logo e-dias.png"
|
||||
class="align-middle m-2"
|
||||
alt="logo"
|
||||
/>
|
||||
</a>
|
||||
|
||||
<a href="/" class="logolight">
|
||||
<img
|
||||
src="./assets/images/logos/logo e-dias.png"
|
||||
class="align-middle m-2"
|
||||
alt="logo"
|
||||
/>
|
||||
</a>
|
||||
`,
|
||||
})
|
||||
export class BrandingComponent {
|
||||
options = this.settings.getOptions();
|
||||
constructor(private settings: CoreService) {}
|
||||
}
|
||||
|
||||
@@ -1,86 +1,86 @@
|
||||
<!-- -------------------------------------------------------------- -->
|
||||
<!-- Add/Edit Event on calendar -->
|
||||
<!-- -------------------------------------------------------------- -->
|
||||
|
||||
<div mat-dialog-content>
|
||||
<div class="d-flex align-items-center justify-content-between m-b-16">
|
||||
<h4 class="f-s-16 f-w-600 m-b-16">{{ data?.action }}</h4>
|
||||
<button
|
||||
mat-icon-button
|
||||
mat-dialog-close
|
||||
class="d-flex justify-content-center"
|
||||
>
|
||||
<i-tabler name="x" class="icon-20 d-flex"></i-tabler>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@if(data?.action === 'Edit') {
|
||||
<div class="basic-form">
|
||||
<div class="row">
|
||||
<!-- col -->
|
||||
<div class="col-12">
|
||||
<mat-form-field appearance="outline" class="w-100">
|
||||
<input
|
||||
matInput
|
||||
placeholder="Edit Title"
|
||||
[(ngModel)]="data.event.title"
|
||||
/>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<!-- col -->
|
||||
<div class="col-12">
|
||||
<mat-form-field appearance="outline" class="w-100">
|
||||
<input
|
||||
matInput
|
||||
placeholder="Change Color"
|
||||
type="color"
|
||||
[(ngModel)]="data.event.color.primary"
|
||||
/>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<!-- col -->
|
||||
<div class="col-sm-6">
|
||||
<mat-form-field appearance="outline" class="w-100">
|
||||
<input
|
||||
matInput
|
||||
[matDatepicker]="startDateDP"
|
||||
placeholder="Start Date"
|
||||
name="startDate"
|
||||
[(ngModel)]="data.event.start"
|
||||
/>
|
||||
<mat-datepicker-toggle
|
||||
matSuffix
|
||||
[for]="startDateDP"
|
||||
></mat-datepicker-toggle>
|
||||
<mat-datepicker #startDateDP></mat-datepicker>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<!-- col -->
|
||||
<div class="col-sm-6">
|
||||
<mat-form-field appearance="outline" class="w-100">
|
||||
<input
|
||||
matInput
|
||||
[matDatepicker]="endDateDP"
|
||||
placeholder="End Date"
|
||||
name="endDate"
|
||||
[(ngModel)]="data.event.end"
|
||||
/>
|
||||
<mat-datepicker-toggle
|
||||
matSuffix
|
||||
[for]="endDateDP"
|
||||
></mat-datepicker-toggle>
|
||||
<mat-datepicker #endDateDP></mat-datepicker>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
<div class="d-flex align-items-center gap-12">
|
||||
<button mat-flat-button color="primary" (click)="dialogRef.close()">
|
||||
Okay
|
||||
</button>
|
||||
<button mat-button mat-dialog-close class="bg-error text-white">
|
||||
Cancel
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- -------------------------------------------------------------- -->
|
||||
<!-- Add/Edit Event on calendar -->
|
||||
<!-- -------------------------------------------------------------- -->
|
||||
|
||||
<div mat-dialog-content>
|
||||
<div class="d-flex align-items-center justify-content-between m-b-16">
|
||||
<h4 class="f-s-16 f-w-600 m-b-16">{{ data?.action }}</h4>
|
||||
<button
|
||||
mat-icon-button
|
||||
mat-dialog-close
|
||||
class="d-flex justify-content-center"
|
||||
>
|
||||
<i-tabler name="x" class="icon-20 d-flex"></i-tabler>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@if(data?.action === 'Edit') {
|
||||
<div class="basic-form">
|
||||
<div class="row">
|
||||
<!-- col -->
|
||||
<div class="col-12">
|
||||
<mat-form-field appearance="outline" class="w-100">
|
||||
<input
|
||||
matInput
|
||||
placeholder="Edit Title"
|
||||
[(ngModel)]="data.event.title"
|
||||
/>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<!-- col -->
|
||||
<div class="col-12">
|
||||
<mat-form-field appearance="outline" class="w-100">
|
||||
<input
|
||||
matInput
|
||||
placeholder="Change Color"
|
||||
type="color"
|
||||
[(ngModel)]="data.event.color.primary"
|
||||
/>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<!-- col -->
|
||||
<div class="col-sm-6">
|
||||
<mat-form-field appearance="outline" class="w-100">
|
||||
<input
|
||||
matInput
|
||||
[matDatepicker]="startDateDP"
|
||||
placeholder="Start Date"
|
||||
name="startDate"
|
||||
[(ngModel)]="data.event.start"
|
||||
/>
|
||||
<mat-datepicker-toggle
|
||||
matSuffix
|
||||
[for]="startDateDP"
|
||||
></mat-datepicker-toggle>
|
||||
<mat-datepicker #startDateDP></mat-datepicker>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<!-- col -->
|
||||
<div class="col-sm-6">
|
||||
<mat-form-field appearance="outline" class="w-100">
|
||||
<input
|
||||
matInput
|
||||
[matDatepicker]="endDateDP"
|
||||
placeholder="End Date"
|
||||
name="endDate"
|
||||
[(ngModel)]="data.event.end"
|
||||
/>
|
||||
<mat-datepicker-toggle
|
||||
matSuffix
|
||||
[for]="endDateDP"
|
||||
></mat-datepicker-toggle>
|
||||
<mat-datepicker #endDateDP></mat-datepicker>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
<div class="d-flex align-items-center gap-12">
|
||||
<button mat-flat-button color="primary" (click)="dialogRef.close()">
|
||||
Okay
|
||||
</button>
|
||||
<button mat-button mat-dialog-close class="bg-error text-white">
|
||||
Cancel
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user