diff --git a/.prettierignore b/.prettierignore index ab639d33..27af2bf9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,4 +5,6 @@ .angular -/.nx/cache \ No newline at end of file +/.nx/cache + + *.html diff --git a/apps/mix-cms/src/app/pages/portal/database-data/database-data.component.ts b/apps/mix-cms/src/app/pages/portal/database-data/database-data.component.ts index 64697911..742dfca5 100644 --- a/apps/mix-cms/src/app/pages/portal/database-data/database-data.component.ts +++ b/apps/mix-cms/src/app/pages/portal/database-data/database-data.component.ts @@ -36,7 +36,6 @@ import { Subject, debounceTime, distinctUntilChanged, - filter, forkJoin, map, take, @@ -45,7 +44,6 @@ import { } from 'rxjs'; import { CMS_ROUTES } from '../../../app.routes'; -import { SuccessFilter } from '@mixcore/share/base'; import { ListPageKit } from '../../../shares/kits/list-page-kit.component'; import { DatabaseDataStore } from '../../../stores/database-data.store'; import { CustomActionCellComponent } from './components/custom-action-cell/custom-action-cell.component'; @@ -149,7 +147,6 @@ export class DatabaseDataComponent public onGridReady(params: GridReadyEvent) { this.gridApi = params.api; this.rowData$ = this.store.vm$.pipe( - filter(SuccessFilter), tap((s) => { if (s.db) { this.allColumnDefs = s.db.columns.map( @@ -162,7 +159,6 @@ export class DatabaseDataComponent dataType: x.dataType, columnType: 'value', }, - editable: true, } ); this.columnNames = s.db.columns.map((x) => x.displayName); @@ -175,7 +171,9 @@ export class DatabaseDataComponent ]; } }), - map((s) => s.data), + map((s) => { + return s.data; + }), takeUntil(this.destroy$) ); @@ -383,10 +381,7 @@ export class DatabaseDataComponent }); dialogRef.afterClosed$.subscribe((value) => { - if (value) { - this.store.updateData(dataIndex, value); - this.gridApi.refreshCells(); - } + if (value) this.store.updateData(dataIndex, value); }); }); } diff --git a/apps/mix-cms/src/app/pages/portal/database/components/database-migration/backup-table-btn.component.ts b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/backup-table-btn.component.ts new file mode 100644 index 00000000..b352a278 --- /dev/null +++ b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/backup-table-btn.component.ts @@ -0,0 +1,40 @@ +import { CommonModule } from '@angular/common'; +import { + ChangeDetectionStrategy, + Component, + Input, + inject, +} from '@angular/core'; +import { MixApiFacadeService } from '@mixcore/share/api'; +import { BaseComponent } from '@mixcore/share/base'; +import { MixButtonComponent } from '@mixcore/ui/button'; + +@Component({ + selector: 'mix-backup-table-btn', + standalone: true, + imports: [CommonModule, MixButtonComponent], + template: ` + Backup table + +
+ When you activate this button, the system will automatically backup your + data in case you need it in the future. +
+ `, + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class BackupTableButtonComponent extends BaseComponent { + @Input() public dbSysName?: string; + public mixApi = inject(MixApiFacadeService); + + public backupSingleTable() { + this.mixApi.databaseApi + .backupTable(this.dbSysName!) + .pipe(this.observerLoadingStateSignal()) + .subscribe(); + } +} diff --git a/apps/mix-cms/src/app/pages/portal/database/components/database-migration/database-migration.component.html b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/database-migration.component.html deleted file mode 100644 index ec5d402c..00000000 --- a/apps/mix-cms/src/app/pages/portal/database/components/database-migration/database-migration.component.html +++ /dev/null @@ -1,53 +0,0 @@ -@if (!dbSysName) { -
- Create your db first to run some migrations -
-} @else { - -
- Migrate to single table - -
- Before using a database that you have created for the first time, it must - be migrated into a single table. -
-
- -
- Backup table - -
- When you activate this button, the system will automatically backup your - data in case you need it in the future. -
-
- -
- Restore table - -
- Depending on when you last backed up the data, the system will restore it. -
-
- -
- Update data table - -
- When you wish to make changes to your database or add new columns, run - this migration. -
-
-
-} diff --git a/apps/mix-cms/src/app/pages/portal/database/components/database-migration/database-migration.component.scss b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/database-migration.component.scss deleted file mode 100644 index e69de29b..00000000 diff --git a/apps/mix-cms/src/app/pages/portal/database/components/database-migration/database-migration.component.ts b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/database-migration.component.ts index 8621f563..f95f4d87 100644 --- a/apps/mix-cms/src/app/pages/portal/database/components/database-migration/database-migration.component.ts +++ b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/database-migration.component.ts @@ -1,51 +1,47 @@ import { CommonModule } from '@angular/common'; -import { - ChangeDetectionStrategy, - Component, - Input, - inject, -} from '@angular/core'; -import { MixApiFacadeService } from '@mixcore/share/api'; -import { BaseComponent } from '@mixcore/share/base'; +import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { MixButtonComponent } from '@mixcore/ui/button'; +import { BackupTableButtonComponent } from './backup-table-btn.component'; +import { MigrateTableButtonComponent } from './migrate-table-btn.component'; +import { RestoreTableButtonComponent } from './restore-table-btn.component'; +import { UpdateTableButtonComponent } from './update-table-btn.component'; @Component({ selector: 'mix-database-migration', standalone: true, - imports: [CommonModule, MixButtonComponent], - templateUrl: './database-migration.component.html', - styleUrl: './database-migration.component.scss', - changeDetection: ChangeDetectionStrategy.OnPush, -}) -export class DatabaseMigrationComponent extends BaseComponent { - @Input() public dbSysName?: string; - public mixApi = inject(MixApiFacadeService); - - public migrateSingleTable() { - this.mixApi.databaseApi - .migrateToSingleTable(this.dbSysName!) - .pipe(this.observerLoadingStateSignal()) - .subscribe(); - } + imports: [ + CommonModule, + MixButtonComponent, + UpdateTableButtonComponent, + MigrateTableButtonComponent, + BackupTableButtonComponent, + RestoreTableButtonComponent, + ], + template: ` + @if (!dbSysName) { +
+ Create your db first to run some migrations +
+ } @else { +
+ +
- public updateSingleTable() { - this.mixApi.databaseApi - .updateDataTable(this.dbSysName!) - .pipe(this.observerLoadingStateSignal()) - .subscribe(); - } +
+ +
- public backupSingleTable() { - this.mixApi.databaseApi - .backupTable(this.dbSysName!) - .pipe(this.observerLoadingStateSignal()) - .subscribe(); - } +
+ +
- public restoreSingleTable() { - this.mixApi.databaseApi - .restoreTable(this.dbSysName!) - .pipe(this.observerLoadingStateSignal()) - .subscribe(); - } +
+ +
+ } + `, + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class DatabaseMigrationComponent { + @Input() public dbSysName?: string; } diff --git a/apps/mix-cms/src/app/pages/portal/database/components/database-migration/migrate-table-btn.component.ts b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/migrate-table-btn.component.ts new file mode 100644 index 00000000..ce388259 --- /dev/null +++ b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/migrate-table-btn.component.ts @@ -0,0 +1,40 @@ +import { CommonModule } from '@angular/common'; +import { + ChangeDetectionStrategy, + Component, + Input, + inject, +} from '@angular/core'; +import { MixApiFacadeService } from '@mixcore/share/api'; +import { BaseComponent } from '@mixcore/share/base'; +import { MixButtonComponent } from '@mixcore/ui/button'; + +@Component({ + selector: 'mix-migrate-table-btn', + standalone: true, + imports: [CommonModule, MixButtonComponent], + template: ` + Migrate to single table + +
+ Before using a database that you have created for the first time, it must + be migrated into a single table. +
+ `, + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class MigrateTableButtonComponent extends BaseComponent { + @Input() public dbSysName?: string; + public mixApi = inject(MixApiFacadeService); + + public migrateSingleTable() { + this.mixApi.databaseApi + .migrateToSingleTable(this.dbSysName!) + .pipe(this.observerLoadingStateSignal()) + .subscribe(); + } +} diff --git a/apps/mix-cms/src/app/pages/portal/database/components/database-migration/restore-table-btn.component.ts b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/restore-table-btn.component.ts new file mode 100644 index 00000000..99bebe55 --- /dev/null +++ b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/restore-table-btn.component.ts @@ -0,0 +1,40 @@ +import { CommonModule } from '@angular/common'; +import { + ChangeDetectionStrategy, + Component, + Input, + inject, +} from '@angular/core'; +import { MixApiFacadeService } from '@mixcore/share/api'; +import { BaseComponent } from '@mixcore/share/base'; +import { MixButtonComponent } from '@mixcore/ui/button'; + +@Component({ + selector: 'mix-restore-table-btn', + standalone: true, + imports: [CommonModule, MixButtonComponent], + template: ` + Restore table + +
+ Depending on when you last backed up the data, the system will restore it. +
+ `, + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class RestoreTableButtonComponent extends BaseComponent { + @Input() public dbSysName?: string; + public mixApi = inject(MixApiFacadeService); + + public restoreSingleTable() { + this.mixApi.databaseApi + .restoreTable(this.dbSysName!) + .pipe(this.observerLoadingStateSignal()) + .subscribe(); + } +} diff --git a/apps/mix-cms/src/app/pages/portal/database/components/database-migration/update-table-btn.component.ts b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/update-table-btn.component.ts new file mode 100644 index 00000000..4e05028a --- /dev/null +++ b/apps/mix-cms/src/app/pages/portal/database/components/database-migration/update-table-btn.component.ts @@ -0,0 +1,40 @@ +import { CommonModule } from '@angular/common'; +import { + ChangeDetectionStrategy, + Component, + Input, + inject, +} from '@angular/core'; +import { MixApiFacadeService } from '@mixcore/share/api'; +import { BaseComponent } from '@mixcore/share/base'; +import { MixButtonComponent } from '@mixcore/ui/button'; + +@Component({ + selector: 'mix-update-table-btn', + standalone: true, + imports: [CommonModule, MixButtonComponent], + template: ` + Update data table + +
+ When you wish to make changes to your database or add new columns, run + this migration. +
+ `, + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class UpdateTableButtonComponent extends BaseComponent { + @Input() public dbSysName?: string; + public mixApi = inject(MixApiFacadeService); + + public updateSingleTable() { + this.mixApi.databaseApi + .updateDataTable(this.dbSysName!) + .pipe(this.observerLoadingStateSignal()) + .subscribe(); + } +} diff --git a/apps/mix-cms/src/app/stores/database-data.store.ts b/apps/mix-cms/src/app/stores/database-data.store.ts index 500a9cbe..7db2ed97 100644 --- a/apps/mix-cms/src/app/stores/database-data.store.ts +++ b/apps/mix-cms/src/app/stores/database-data.store.ts @@ -10,6 +10,7 @@ import { } from '@mixcore/lib/model'; import { MixApiFacadeService } from '@mixcore/share/api'; import { BaseState } from '@mixcore/share/base'; +import { ObjectUtil } from '@mixcore/share/form'; import { ComponentStore } from '@ngrx/component-store'; import { catchError, filter, forkJoin, of } from 'rxjs'; @@ -30,6 +31,7 @@ export class DatabaseDataStore extends ComponentStore { public dbSysName$ = this.select((s) => s.dbSysName).pipe(filter(Boolean)); public query$ = this.select((s) => s.request); public vm$ = this.select((s) => s); + public data$ = this.select((s) => s.data); constructor() { super({ @@ -188,28 +190,23 @@ export class DatabaseDataStore extends ComponentStore { } public addData(data: MixDynamicData) { - this.patchState((s) => ({ - ...s, - data: [...s.data, data], - })); + const current = this.get().data; + current.push(data); + + this.patchState({ data: ObjectUtil.clone(current) }); } public updateData(dataIndex: number, data: MixDynamicData) { - this.patchState((s) => { - const current = s.data; - current[dataIndex] = data; - - return { - ...s, - data: [...current], - }; - }); + const current = this.get().data; + data[dataIndex] = data; + + this.patchState({ data: ObjectUtil.clone(current) }); } public removeData(dataId: number[]) { - this.patchState((s) => ({ - ...s, - data: s.data.filter((x) => !dataId.includes(x.id!)), - })); + let current = this.get().data; + current = current.filter((x) => !dataId.includes(x.id!)); + + this.patchState({ data: ObjectUtil.clone(current) }); } } diff --git a/libs/mix-lib/src/model/core/mix-project.model.ts b/libs/mix-lib/src/model/core/mix-project.model.ts new file mode 100644 index 00000000..86183679 --- /dev/null +++ b/libs/mix-lib/src/model/core/mix-project.model.ts @@ -0,0 +1,7 @@ +export interface MixProject { + id: number; + projectName: string; + projectNameDescription?: string; + startDate: Date; + endDate: Date; +} diff --git a/libs/mix-lib/src/model/index.ts b/libs/mix-lib/src/model/index.ts index 96f81009..acd2f577 100644 --- a/libs/mix-lib/src/model/index.ts +++ b/libs/mix-lib/src/model/index.ts @@ -1,6 +1,7 @@ export * from './core/application.model'; export * from './core/database.model'; export * from './core/metadata.model'; +export * from './core/mix-project.model'; export * from './core/mix-task.model'; export * from './core/module.model'; export * from './core/order.model'; diff --git a/libs/mix-share/src/components/main-side-menu/main-side-menu.component.html b/libs/mix-share/src/components/main-side-menu/main-side-menu.component.html index 126469ed..fb9afa41 100644 --- a/libs/mix-share/src/components/main-side-menu/main-side-menu.component.html +++ b/libs/mix-share/src/components/main-side-menu/main-side-menu.component.html @@ -6,8 +6,8 @@ + @for(item of menu; track item) { + }
diff --git a/libs/mix-share/src/components/main-side-menu/main-side-menu.component.ts b/libs/mix-share/src/components/main-side-menu/main-side-menu.component.ts index 84b3db37..81ad2a93 100644 --- a/libs/mix-share/src/components/main-side-menu/main-side-menu.component.ts +++ b/libs/mix-share/src/components/main-side-menu/main-side-menu.component.ts @@ -7,6 +7,7 @@ import { inject, } from '@angular/core'; import { ActivatedRoute, Router, RouterModule } from '@angular/router'; +import { fadeInExpandOnEnterAnimation } from '@mixcore/share/animation'; import { AuthService } from '@mixcore/share/auth'; import { MixIconButtonComponent } from '@mixcore/ui/icon-button'; import { DialogService } from '@ngneat/dialog'; @@ -43,6 +44,7 @@ export type MenuItem = { styleUrls: ['./main-side-menu.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, + animations: [fadeInExpandOnEnterAnimation({ duration: 350 })], }) export class MainSideMenuComponent { public activeRoute = inject(ActivatedRoute); diff --git a/libs/mix-share/src/components/record-form/record-form.component.ts b/libs/mix-share/src/components/record-form/record-form.component.ts index a11768c9..0e40469e 100644 --- a/libs/mix-share/src/components/record-form/record-form.component.ts +++ b/libs/mix-share/src/components/record-form/record-form.component.ts @@ -77,19 +77,16 @@ export class RecordFormComponent extends BaseComponent implements OnInit { public onSaveData() { const db = this.ref.data.mixDatabase; + const value = { + ...this.modelData, + ...this.form.getRawValue(), + }; + this.mixApi.databaseApi - .saveData( - db.systemName, - this.modelData.id ?? -1, - { - ...this.modelData, - ...this.form.getRawValue(), - }, - db.displayName - ) + .saveData(db.systemName, this.modelData.id ?? -1, value, db.displayName) .pipe(this.observerLoadingStateSignal()) .subscribe((result) => { - this.ref.close(result); + this.ref.close(value); }); } } diff --git a/libs/mix-share/src/form/object.helper.ts b/libs/mix-share/src/form/object.helper.ts index b8a3a1b1..dc7ddfe5 100644 --- a/libs/mix-share/src/form/object.helper.ts +++ b/libs/mix-share/src/form/object.helper.ts @@ -1,3 +1,5 @@ +import * as R from 'remeda'; + export type RecordableKeys = { // for each key in T [K in keyof T]: T[K] extends string | number | symbol // is the value a valid object key? @@ -28,3 +30,9 @@ export class ArrayUtil { } } } + +export class ObjectUtil { + public static clone(object: T) { + return R.clone(object); + } +} diff --git a/libs/mix-share/src/modules/task-manage/components/project-select/project-select.component.html b/libs/mix-share/src/modules/task-manage/components/project-select/project-select.component.html new file mode 100644 index 00000000..714e37d5 --- /dev/null +++ b/libs/mix-share/src/modules/task-manage/components/project-select/project-select.component.html @@ -0,0 +1,26 @@ +
+
+ {{ + getSelectedProjectName(project(), selectedItemId)?.projectName || + 'Choose project' + }} +
+ arrow_drop_down +
+ + + + diff --git a/libs/mix-share/src/modules/task-manage/components/project-select/project-select.component.scss b/libs/mix-share/src/modules/task-manage/components/project-select/project-select.component.scss new file mode 100644 index 00000000..1024a7f1 --- /dev/null +++ b/libs/mix-share/src/modules/task-manage/components/project-select/project-select.component.scss @@ -0,0 +1,16 @@ +.project-select { + display: flex; + gap: 2px; + align-items: center; + cursor: pointer; + border-bottom: 1px solid var(--border-color-default); + + &:hover { + color: var(--primary-color); + } +} + +.popup-container { + max-height: 500px; + overflow: auto; +} diff --git a/libs/mix-share/src/modules/task-manage/components/project-select/project-select.component.ts b/libs/mix-share/src/modules/task-manage/components/project-select/project-select.component.ts new file mode 100644 index 00000000..431bfb34 --- /dev/null +++ b/libs/mix-share/src/modules/task-manage/components/project-select/project-select.component.ts @@ -0,0 +1,54 @@ +import { CommonModule } from '@angular/common'; +import { + ChangeDetectionStrategy, + Component, + EventEmitter, + Input, + Output, + ViewEncapsulation, + inject, + signal, +} from '@angular/core'; +import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; +import { MixProject } from '@mixcore/lib/model'; +import { TippyDirective } from '@ngneat/helipopper'; +import { tuiPure } from '@taiga-ui/cdk'; +import { ProjectStore } from '../../store/project.store'; + +@Component({ + selector: 'mix-project-select', + templateUrl: './project-select.component.html', + styleUrls: ['./project-select.component.scss'], + standalone: true, + changeDetection: ChangeDetectionStrategy.OnPush, + encapsulation: ViewEncapsulation.None, + imports: [CommonModule, TippyDirective], +}) +export class ProjectSelectComponent { + public store = inject(ProjectStore); + public project = signal([]); + + @Input() public selectedItemId?: number; + @Input() public selectedItemName?: string; + @Output() public selectedItemChange = new EventEmitter(); + + constructor() { + this.store.vm$.pipe(takeUntilDestroyed()).subscribe((vm) => { + this.project.set(vm.data); + + if (vm.data.length && !this.selectedItemId) { + this.selectItem(vm.data[0]); + } + }); + } + + @tuiPure + public getSelectedProjectName(db: MixProject[], selectedItemId?: number) { + return db.find((x) => x.id === selectedItemId); + } + + public selectItem(mixDb: MixProject) { + this.selectedItemId = mixDb.id; + this.selectedItemChange.emit(mixDb); + } +} diff --git a/libs/mix-share/src/modules/task-manage/store/project.store.ts b/libs/mix-share/src/modules/task-manage/store/project.store.ts new file mode 100644 index 00000000..37b63849 --- /dev/null +++ b/libs/mix-share/src/modules/task-manage/store/project.store.ts @@ -0,0 +1,21 @@ +import { Injectable } from '@angular/core'; +import { MixProject, PaginationRequestModel } from '@mixcore/lib/model'; +import { BaseCRUDStore } from '@mixcore/share/base'; + +@Injectable({ providedIn: 'root' }) +export class ProjectStore extends BaseCRUDStore { + public project = this.selectSignal((s) => s.data); + + public override requestFn = (request: PaginationRequestModel) => + this.mixApi.databaseApi.getDataByName( + 'mixDb_MixProject', + request + ); + + public override requestName = 'mixProject'; + public override searchColumns = ['Name', 'Description']; + public override searchColumnsDict: { [key: string]: string } = { + Name: 'name', + Description: 'description', + }; +} diff --git a/libs/mix-share/src/modules/task-manage/task-manage.component.html b/libs/mix-share/src/modules/task-manage/task-manage.component.html index c1987b6f..bddbd3c9 100644 --- a/libs/mix-share/src/modules/task-manage/task-manage.component.html +++ b/libs/mix-share/src/modules/task-manage/task-manage.component.html @@ -1,33 +1,32 @@ -
+
- + + + + +
- add   - {{ 'New' | transloco }} + + add   + {{ 'New' | transloco }}
-
+
- - - - + @if (store.getParentTasks() | async; as tasks) { @for (task of tasks; + track task.id) { + + + } }
diff --git a/libs/mix-share/src/modules/task-manage/task-manage.component.ts b/libs/mix-share/src/modules/task-manage/task-manage.component.ts index 6b59367a..4146d718 100644 --- a/libs/mix-share/src/modules/task-manage/task-manage.component.ts +++ b/libs/mix-share/src/modules/task-manage/task-manage.component.ts @@ -2,7 +2,6 @@ import { DragDropModule } from '@angular/cdk/drag-drop'; import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, - ChangeDetectorRef, Component, ViewEncapsulation, inject, @@ -13,7 +12,6 @@ import { TaskStatusColors, TaskStatusDisplay, } from '@mixcore/lib/model'; -import { MixApiFacadeService } from '@mixcore/share/api'; import { BaseComponent } from '@mixcore/share/base'; import { MixSubToolbarComponent } from '@mixcore/share/components'; import { MixFormErrorComponent } from '@mixcore/share/form'; @@ -24,9 +22,9 @@ import { MixInputComponent } from '@mixcore/ui/input'; import { SkeletonLoadingComponent } from '@mixcore/ui/skeleton'; import { MixTextAreaComponent } from '@mixcore/ui/textarea'; import { DialogService } from '@ngneat/dialog'; -import { HotToastService } from '@ngneat/hot-toast'; import { TranslocoModule } from '@ngneat/transloco'; import { TuiPaginationModule } from '@taiga-ui/kit'; +import { ProjectSelectComponent } from './components/project-select/project-select.component'; import { TaskCreateComponent } from './components/task-create/task-create.component'; import { TaskDndListComponent } from './components/task-dnd-list/task-dnd-list.component'; import { TaskFilterComponent } from './components/task-filter/task-filter.component'; @@ -55,6 +53,7 @@ import { TaskStore } from './store/task.store'; TaskFilterComponent, TaskGroupListComponent, TaskHeaderComponent, + ProjectSelectComponent, TrackByProp, ], templateUrl: './task-manage.component.html', @@ -63,9 +62,6 @@ import { TaskStore } from './store/task.store'; changeDetection: ChangeDetectionStrategy.OnPush, }) export class TaskManageComponent extends BaseComponent { - public mixApi = inject(MixApiFacadeService); - public cdr = inject(ChangeDetectorRef); - public toast = inject(HotToastService); public dialog = inject(DialogService); public store = inject(TaskStore); diff --git a/package.json b/package.json index acb1daa0..5134393e 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@apollo/client": "^3.7.17", "@microsoft/signalr": "7.0.12", "@ngneat/cmdk": "^1.0.1", - "@ngneat/dialog": "^4.1.0", + "@ngneat/dialog": "5.0.0", "@ngneat/edit-in-place": "^1.6.1", "@ngneat/helipopper": "^7.1.1", "@ngneat/hot-toast": "^5.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 12ebe2ac..0c52f802 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,8 +57,8 @@ dependencies: specifier: ^1.0.1 version: 1.0.1(@angular/common@17.0.2)(@angular/core@17.0.2)(rxjs@7.8.1) '@ngneat/dialog': - specifier: ^4.1.0 - version: 4.1.1(@angular/core@17.0.2) + specifier: 5.0.0 + version: 5.0.0(@angular/core@17.0.2) '@ngneat/edit-in-place': specifier: ^1.6.1 version: 1.6.1(@angular/common@17.0.2)(@angular/core@17.0.2) @@ -3789,10 +3789,10 @@ packages: - rxjs dev: false - /@ngneat/dialog@4.1.1(@angular/core@17.0.2): - resolution: {integrity: sha512-wYtkXGXparx8XEeJ5dLmN/+Q/6EMTHV9btXkWIeZFQbS/y3HYZZinMJ6+qqbCh7N0Y3yPAFLjJ1jXoIsZNeWww==} + /@ngneat/dialog@5.0.0(@angular/core@17.0.2): + resolution: {integrity: sha512-+qLGaLcNXQ5PVtlv4htqHsJ4JV9TZ+wy89rtYMsno/jZuB63usMITPEB7TgtEPgpbyDDcYVagA6eQqYMEgZPOA==} peerDependencies: - '@angular/core': '>=14.0.0' + '@angular/core': '>=17.0.0' dependencies: '@angular/core': 17.0.2(rxjs@7.8.1)(zone.js@0.14.2) tslib: 2.3.1