feat: add licenses management module with filtering and listing functionality

- Introduced new constants and routes for licenses management.
- Created components for licenses filter form and list display.
- Implemented services for fetching licenses data from the API.
- Added dialog components for creating and editing licenses.
- Updated partner menu to include a link to licenses.
- Refactored existing components to improve code structure and maintainability.
This commit is contained in:
2026-04-25 23:59:23 +03:30
parent 095ae31249
commit baa9409e9e
36 changed files with 454 additions and 127 deletions
@@ -271,6 +271,7 @@
class="contnet"
styleClass="!w-[80vw] md:!w-96 md:!max-w-96 !max-w-sm"
>
<hr class="mt-0!" />
<div class="pt-2">
<ng-container [ngTemplateOutlet]="filter" [ngTemplateOutletContext]="{ $implicit: columns }"> </ng-container>
</div>
@@ -107,7 +107,7 @@ export class PageDataListComponent<I> {
@Output() onDelete = new EventEmitter<I>();
@Output() onDetails = new EventEmitter<I>();
@Output() onAdd = new EventEmitter<void>();
@Output() pageChange = new EventEmitter<any>();
@Output() onChangePage = new EventEmitter<any>();
@Output() onThumbnailClick = new EventEmitter<I>();
@Output() onRefresh = new EventEmitter();
@@ -150,7 +150,7 @@ export class PageDataListComponent<I> {
};
onPage = ($event: any) => {
this.pageChange.emit($event);
this.onChangePage.emit($event);
};
openThumbnailModal = (item: I) => {