Merge pull request #3 from telerik/2023_R2

2023 r2
This commit is contained in:
Plamen Mitrev 2023-08-03 11:31:26 +03:00 коммит произвёл GitHub
Родитель 780431ad7b 8516287202
Коммит af53e6b2ad
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
8 изменённых файлов: 6994 добавлений и 7778 удалений

14660
package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,5 +1,5 @@
{
"name": "rpstrackerng14",
"name": "rpstrackerng16",
"version": "0.0.0",
"scripts": {
"ng": "ng",
@ -10,55 +10,55 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^14.0.0",
"@angular/common": "^14.0.0",
"@angular/compiler": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/forms": "^14.0.0",
"@angular/localize": "^14.0.0",
"@angular/platform-browser": "^14.0.0",
"@angular/platform-browser-dynamic": "^14.0.0",
"@angular/router": "^14.0.0",
"@progress/kendo-angular-buttons": "^8.0.0",
"@progress/kendo-angular-charts": "7.1.0",
"@progress/kendo-angular-common": "^3.0.0",
"@progress/kendo-angular-dateinputs": "^7.0.0",
"@progress/kendo-angular-dialog": "7.1.2",
"@progress/kendo-angular-dropdowns": "^7.0.0",
"@progress/kendo-angular-excel-export": "^5.0.0",
"@progress/kendo-angular-grid": "^7.1.0",
"@progress/kendo-angular-inputs": "^9.0.0",
"@progress/kendo-angular-intl": "^4.0.0",
"@progress/kendo-angular-l10n": "^4.0.0",
"@progress/kendo-angular-layout": "7.0.2",
"@progress/kendo-angular-popup": "^5.0.0",
"@progress/kendo-angular-scheduler": "4.1.0",
"@progress/kendo-data-query": "^1.0.0",
"@progress/kendo-date-math": "1.5.6",
"@progress/kendo-drawing": "^1.0.0",
"@progress/kendo-licensing": "^1.0.2",
"@progress/kendo-recurrence": "1.0.3",
"@progress/kendo-theme-bootstrap": "^4.31.0",
"@progress/kendo-theme-default": "^5.0.0",
"bootstrap": "^4.2.1",
"rxjs": "^6.6.3",
"@angular/animations": "^16.1.0",
"@angular/common": "^16.1.0",
"@angular/compiler": "^16.1.0",
"@angular/core": "^16.1.0",
"@angular/forms": "^16.1.0",
"@angular/localize": "^16.1.0",
"@angular/platform-browser": "^16.1.0",
"@angular/platform-browser-dynamic": "^16.1.0",
"@angular/router": "^16.1.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4",
"@progress/kendo-angular-label": "^4.0.0",
"@progress/kendo-angular-pdf-export": "^4.0.0",
"@progress/kendo-angular-treeview": "^7.0.0"
"zone.js": "~0.13.0",
"bootstrap": "^4.2.1",
"@progress/kendo-angular-buttons": "^13.0.3",
"@progress/kendo-angular-charts": "13.0.3",
"@progress/kendo-angular-common": "^13.0.3",
"@progress/kendo-angular-dateinputs": "^13.0.3",
"@progress/kendo-angular-dialog": "13.0.3",
"@progress/kendo-angular-dropdowns": "^13.0.3",
"@progress/kendo-angular-excel-export": "^13.0.3",
"@progress/kendo-angular-grid": "^13.0.3",
"@progress/kendo-angular-inputs": "^13.0.3",
"@progress/kendo-angular-intl": "^13.0.3",
"@progress/kendo-angular-l10n": "^13.0.3",
"@progress/kendo-angular-layout": "13.0.3",
"@progress/kendo-angular-popup": "^13.0.3",
"@progress/kendo-angular-scheduler": "13.0.3",
"@progress/kendo-data-query": "^1.6.0",
"@progress/kendo-date-math": "1.5.11",
"@progress/kendo-drawing": "^1.17.5",
"@progress/kendo-licensing": "^1.3.0",
"@progress/kendo-recurrence": "1.0.3",
"@progress/kendo-theme-bootstrap": "^6.4.0",
"@progress/kendo-theme-default": "^6.4.0",
"@progress/kendo-angular-label": "^13.0.3",
"@progress/kendo-angular-pdf-export": "^13.0.3",
"@progress/kendo-angular-treeview": "^13.0.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^14.0.1",
"@angular/cli": "~14.0.1",
"@angular/compiler-cli": "^14.0.0",
"@types/jasmine": "~4.0.0",
"jasmine-core": "~4.1.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"@angular-devkit/build-angular": "^16.1.0",
"@angular/cli": "~16.1.0",
"@angular/compiler-cli": "^16.1.0",
"@types/jasmine": "~4.3.0",
"jasmine-core": "~4.6.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.0.0",
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.7.2"
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.1.3"
}
}

Просмотреть файл

@ -8,7 +8,7 @@ const routes: Routes = [
];
@NgModule({
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule { }

Просмотреть файл

@ -12,8 +12,7 @@ import { AppComponent } from './app.component';
import { SharedModule } from './shared/shared.module';
import { GridModule } from '@progress/kendo-angular-grid';
import { LayoutModule } from '@progress/kendo-angular-layout';
import { IconsModule } from "@progress/kendo-angular-icons";
@NgModule({
declarations: [
@ -30,6 +29,7 @@ import { LayoutModule } from '@progress/kendo-angular-layout';
BrowserAnimationsModule,
GridModule,
LayoutModule,
IconsModule
],
providers: [],
bootstrap: [AppComponent]

Просмотреть файл

@ -1,9 +1,9 @@
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { throwError } from 'rxjs';
@Injectable()
export class ServerErrorHandlerService {
public handleHttpError(error: any) {
return Observable.throw(error.json().error || 'Server error');
return throwError(()=> new Error(error.json().error));
}
}
}

Просмотреть файл

@ -15,7 +15,7 @@ export class Store {
public select<T>(name: StateKey): Observable<T> {
return this.subj.pipe(
pluck<State, T>(name),
pluck<State, keyof State>(name),
distinctUntilChanged<T>()
);
}

Просмотреть файл

@ -4,7 +4,7 @@
<app-preset-filter></app-preset-filter>
<div class="btn-group mr-2">
<button kendoButton type="button" (click)="onAddTap('custom-modal-1')" class="btn btn-sm btn-outline-secondary" icon="plus">Add</button>
<button kendoButton type="button" (click)="onAddTap('custom-modal-1')" class="btn btn-sm btn-outline-secondary" [svgIcon]="svgPlus">Add</button>
</div>
</div>

Просмотреть файл

@ -15,6 +15,7 @@ import { ModalService } from 'src/app/shared/services/modal.service';
import { PageChangeEvent, GridDataResult, SelectableSettings, SelectionEvent } from '@progress/kendo-angular-grid';
import { PriorityEnum } from 'src/app/core/models/domain/enums';
import { SortDescriptor, orderBy, State, process } from '@progress/kendo-data-query';
import { plusIcon, SVGIcon } from "@progress/kendo-svg-icons";
@Component({
selector: 'app-backlog',
@ -23,6 +24,7 @@ import { SortDescriptor, orderBy, State, process } from '@progress/kendo-data-qu
})
export class BacklogPageComponent implements OnInit {
public svgPlus: SVGIcon = plusIcon;
private itemsSub: Subscription | undefined;
public items$: BehaviorSubject<PtItem[]> = new BehaviorSubject<PtItem[]>([]);
public currentPreset: PresetType = 'open';