@dflat-core/web 1.0.37 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core-ux/lib/services/action.service.d.ts +2 -2
- package/fesm2022/dflat-core-web-core-ux.mjs +2 -2
- package/fesm2022/dflat-core-web-core-ux.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-data.mjs +30 -45
- package/fesm2022/dflat-core-web-system-data.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-model.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-root.mjs +20 -26
- package/fesm2022/dflat-core-web-system-root.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-ux.mjs +53 -52
- package/fesm2022/dflat-core-web-system-ux.mjs.map +1 -1
- package/package.json +11 -11
- package/system-data/index.d.ts +3 -4
- package/system-data/lib/data-services/{file-service.generated.d.ts → files-service.generated.d.ts} +4 -4
- package/system-data/lib/data-services/rating-service.generated.d.ts +2 -2
- package/system-data/lib/data-services/resource-translation-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/user-account-role-service.generated.d.ts +10 -0
- package/system-model/lib/model/interface.generated.d.ts +40 -35
- package/system-root/lib/system-entity-keys.d.ts +1 -1
- package/system-root/lib/system-permissions.generated.d.ts +18 -24
- package/system-ux/lib/components/image-upload/image-upload.component.d.ts +2 -2
- package/system-ux/lib/entity-files/entity-files.component.d.ts +2 -2
- package/system-ux/lib/resource-translation/resource-translation.component.d.ts +2 -2
- package/system-ux/lib/services/user-action-service.d.ts +3 -3
- package/system-ux/lib/user-role/user-role-component.d.ts +2 -2
- package/system-data/lib/data-services/rating-view-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/resource-translation-view-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-role-service.generated.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dflat-core/web",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
4
4
|
"description": "Librairies Angular Dflat (core, core-*, system-*) et assets partagés, empaquetées en un module npm unique.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -45,25 +45,25 @@
|
|
|
45
45
|
"types": "./index.d.ts",
|
|
46
46
|
"default": "./fesm2022/dflat-core-web.mjs"
|
|
47
47
|
},
|
|
48
|
-
"./core": {
|
|
49
|
-
"types": "./core/index.d.ts",
|
|
50
|
-
"default": "./fesm2022/dflat-core-web-core.mjs"
|
|
51
|
-
},
|
|
52
48
|
"./core-data": {
|
|
53
49
|
"types": "./core-data/index.d.ts",
|
|
54
50
|
"default": "./fesm2022/dflat-core-web-core-data.mjs"
|
|
55
51
|
},
|
|
56
|
-
"./core
|
|
57
|
-
"types": "./core
|
|
58
|
-
"default": "./fesm2022/dflat-core-web-core
|
|
52
|
+
"./core": {
|
|
53
|
+
"types": "./core/index.d.ts",
|
|
54
|
+
"default": "./fesm2022/dflat-core-web-core.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./core-services": {
|
|
57
|
+
"types": "./core-services/index.d.ts",
|
|
58
|
+
"default": "./fesm2022/dflat-core-web-core-services.mjs"
|
|
59
59
|
},
|
|
60
60
|
"./core-model": {
|
|
61
61
|
"types": "./core-model/index.d.ts",
|
|
62
62
|
"default": "./fesm2022/dflat-core-web-core-model.mjs"
|
|
63
63
|
},
|
|
64
|
-
"./core-
|
|
65
|
-
"types": "./core-
|
|
66
|
-
"default": "./fesm2022/dflat-core-web-core-
|
|
64
|
+
"./core-ux": {
|
|
65
|
+
"types": "./core-ux/index.d.ts",
|
|
66
|
+
"default": "./fesm2022/dflat-core-web-core-ux.mjs"
|
|
67
67
|
},
|
|
68
68
|
"./system-data": {
|
|
69
69
|
"types": "./system-data/index.d.ts",
|
package/system-data/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from './lib/system-data.module';
|
|
2
|
-
export * from './lib/data-services/file-service.generated';
|
|
3
2
|
export * from './lib/data-services/account-service.generated';
|
|
4
3
|
export * from './lib/data-services/error-category-service.generated';
|
|
5
4
|
export * from './lib/data-services/request-service.generated';
|
|
@@ -11,7 +10,6 @@ export * from './lib/data-services/user-account-service.generated';
|
|
|
11
10
|
export * from './lib/data-services/config-service.generated';
|
|
12
11
|
export * from './lib/data-services/custom-field-service.generated';
|
|
13
12
|
export * from './lib/data-services/resource-language-service.generated';
|
|
14
|
-
export * from './lib/data-services/resource-translation-view-service.generated';
|
|
15
13
|
export * from './lib/data-services/resource-key-service.generated';
|
|
16
14
|
export * from './lib/data-services/meta-entity-service.generated';
|
|
17
15
|
export * from './lib/data-services/meta-entity-field-service.generated';
|
|
@@ -21,7 +19,6 @@ export * from './lib/data-services/keyword-service.generated';
|
|
|
21
19
|
export * from './lib/data-services/meta-entity-keyword-service.generated';
|
|
22
20
|
export * from './lib/data-services/user-favorite-service.generated';
|
|
23
21
|
export * from './lib/data-services/rating-summary-service.generated';
|
|
24
|
-
export * from './lib/data-services/rating-view-service.generated';
|
|
25
22
|
export * from './lib/data-services/rating-service.generated';
|
|
26
23
|
export * from './lib/data-services/exchange-rate-service.generated';
|
|
27
24
|
export * from './lib/data-services/currency-service.generated';
|
|
@@ -40,7 +37,6 @@ export * from './lib/data-services/custom-field-group-service.generated';
|
|
|
40
37
|
export * from './lib/data-services/custom-field-group-item-service.generated';
|
|
41
38
|
export * from './lib/data-services/custom-field-group-entity-service.generated';
|
|
42
39
|
export * from './lib/data-services/action-service.generated';
|
|
43
|
-
export * from './lib/data-services/user-role-service.generated';
|
|
44
40
|
export * from './lib/data-services/user-account-company-service.generated';
|
|
45
41
|
export * from './lib/data-services/user-account-company-service.generated';
|
|
46
42
|
export * from './lib/data-services/parameter-value-service.generated';
|
|
@@ -67,3 +63,6 @@ export * from './lib/data-services/user-account-token-service.generated';
|
|
|
67
63
|
export * from './lib/data-services/user-history-service.generated';
|
|
68
64
|
export * from './lib/data-services/user-session-service.generated';
|
|
69
65
|
export * from './lib/data-services/version-service.generated';
|
|
66
|
+
export * from './lib/data-services/files-service.generated';
|
|
67
|
+
export * from './lib/data-services/resource-translation-service.generated';
|
|
68
|
+
export * from './lib/data-services/user-account-role-service.generated';
|
package/system-data/lib/data-services/{file-service.generated.d.ts → files-service.generated.d.ts}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FileDescriptor,
|
|
1
|
+
import { FileDescriptor, FilesFilterViewModel, FilesView, FileTypes, GetFileDescriptorsViewModel, UploadFileResult } from '@dflat-core/web/system-model';
|
|
2
2
|
import { ImageFormats, SaveResult } from '@dflat-core/web/core-model';
|
|
3
3
|
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { HttpEvent } from '@angular/common/http';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class FilesDataService extends EntityDataService<FilesView, FilesFilterViewModel> {
|
|
8
8
|
protected dataService: DataService;
|
|
9
9
|
getEntityKey(): string;
|
|
10
10
|
constructor(dataService: DataService);
|
|
@@ -21,6 +21,6 @@ export declare class FileDataService extends EntityDataService<Files, FileFilter
|
|
|
21
21
|
getFileDescriptors(viewModel: GetFileDescriptorsViewModel): Observable<FileDescriptor[]>;
|
|
22
22
|
uploadFile(file: File, entityId: number, entityType: string, fileType: FileTypes, format: ImageFormats, context: string): Observable<UploadFileResult>;
|
|
23
23
|
uploadFileWithEvents(file: File, entityId: number, entityType: string, fileType: FileTypes, format: ImageFormats, context: string): Observable<HttpEvent<UploadFileResult>>;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilesDataService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FilesDataService>;
|
|
26
26
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Rating, RatingFilterViewModel } from '@dflat-core/web/system-model';
|
|
1
|
+
import { Rating, RatingFilterViewModel, RatingView } from '@dflat-core/web/system-model';
|
|
2
2
|
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RatingDataService extends EntityDataService<
|
|
5
|
+
export declare class RatingDataService extends EntityDataService<RatingView, RatingFilterViewModel> {
|
|
6
6
|
protected dataService: DataService;
|
|
7
7
|
getEntityKey(): string;
|
|
8
8
|
constructor(dataService: DataService);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ResourceTranslationFilterViewModel, ResourceTranslationView } from '@dflat-core/web/system-model';
|
|
2
|
+
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ResourceTranslationDataService extends EntityDataService<ResourceTranslationView, ResourceTranslationFilterViewModel> {
|
|
5
|
+
protected dataService: DataService;
|
|
6
|
+
getEntityKey(): string;
|
|
7
|
+
constructor(dataService: DataService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceTranslationDataService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceTranslationDataService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UserAccountRoleFilterViewModel, UserAccountRoleView } from '@dflat-core/web/system-model';
|
|
2
|
+
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UserAccountRoleDataService extends EntityDataService<UserAccountRoleView, UserAccountRoleFilterViewModel> {
|
|
5
|
+
protected dataService: DataService;
|
|
6
|
+
getEntityKey(): string;
|
|
7
|
+
constructor(dataService: DataService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserAccountRoleDataService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserAccountRoleDataService>;
|
|
10
|
+
}
|
|
@@ -155,13 +155,6 @@ export interface MetaEntityFormFieldView extends EntityViewModel {
|
|
|
155
155
|
ValidatorTypes?: number;
|
|
156
156
|
ValueMember?: string;
|
|
157
157
|
}
|
|
158
|
-
export declare enum FileTypes {
|
|
159
|
-
Default = 0,
|
|
160
|
-
Log = 1,
|
|
161
|
-
Image = 2,
|
|
162
|
-
DefaultImage = 3,
|
|
163
|
-
ImageUrl = 4
|
|
164
|
-
}
|
|
165
158
|
export interface CustomFieldGroupItemView extends EntityViewModel {
|
|
166
159
|
CustomFieldGroupType?: number;
|
|
167
160
|
CustomFieldId?: number;
|
|
@@ -268,13 +261,12 @@ export interface UserAccountToken extends EntityViewModel {
|
|
|
268
261
|
RowVersion?: Date;
|
|
269
262
|
UserAccountId?: number;
|
|
270
263
|
}
|
|
271
|
-
export interface
|
|
272
|
-
Code?: string;
|
|
273
|
-
DeletionStatus?: boolean;
|
|
264
|
+
export interface UserAccountRoleView extends EntityViewModel {
|
|
274
265
|
Id?: number;
|
|
275
|
-
|
|
276
|
-
ParentName?: string;
|
|
266
|
+
RoleCode?: string;
|
|
277
267
|
RoleId?: number;
|
|
268
|
+
RoleParentName?: string;
|
|
269
|
+
RoleUniqueName?: string;
|
|
278
270
|
RowVersion?: Date;
|
|
279
271
|
UserAccountId?: number;
|
|
280
272
|
}
|
|
@@ -467,18 +459,6 @@ export interface RatingSummary extends EntityViewModel {
|
|
|
467
459
|
TotalNote?: number;
|
|
468
460
|
VoteNumber?: number;
|
|
469
461
|
}
|
|
470
|
-
export interface Rating extends EntityViewModel {
|
|
471
|
-
DeletionStatus?: boolean;
|
|
472
|
-
EntityId?: number;
|
|
473
|
-
EntityKey?: string;
|
|
474
|
-
Id?: number;
|
|
475
|
-
Note?: number;
|
|
476
|
-
RatingDate?: Date;
|
|
477
|
-
RatingSummaryId?: number;
|
|
478
|
-
RowVersion?: Date;
|
|
479
|
-
UserAccountId?: number;
|
|
480
|
-
UserComment?: string;
|
|
481
|
-
}
|
|
482
462
|
export interface PresentationProfileItemView extends EntityViewModel {
|
|
483
463
|
ColumnKey?: string;
|
|
484
464
|
ColumnSourceType?: number;
|
|
@@ -679,17 +659,27 @@ export interface Keyword extends EntityViewModel {
|
|
|
679
659
|
Label?: string;
|
|
680
660
|
RowVersion?: Date;
|
|
681
661
|
}
|
|
682
|
-
export
|
|
683
|
-
|
|
662
|
+
export declare enum FileTypes {
|
|
663
|
+
Default = 0,
|
|
664
|
+
Log = 1,
|
|
665
|
+
Image = 2,
|
|
666
|
+
DefaultImage = 3,
|
|
667
|
+
ImageUrl = 4
|
|
668
|
+
}
|
|
669
|
+
export interface FilesView extends EntityViewModel {
|
|
670
|
+
EntityFileId?: number;
|
|
671
|
+
EntityId?: number;
|
|
684
672
|
Exists?: boolean;
|
|
685
673
|
Extension?: string;
|
|
686
674
|
FileLength?: number;
|
|
687
675
|
FileName?: string;
|
|
688
676
|
FileType?: number;
|
|
689
|
-
FileTypeEnum?: FileTypes;
|
|
690
677
|
Id?: number;
|
|
691
678
|
IsOperationalUrl?: boolean;
|
|
692
679
|
Name?: string;
|
|
680
|
+
OrderNumber?: number;
|
|
681
|
+
OwnerUser?: string;
|
|
682
|
+
OwnerUserId?: number;
|
|
693
683
|
Path?: string;
|
|
694
684
|
PhotoHash?: string;
|
|
695
685
|
RowVersion?: Date;
|
|
@@ -862,6 +852,7 @@ export interface CompanyView extends EntityViewModel {
|
|
|
862
852
|
Name?: string;
|
|
863
853
|
OutputFolder?: string;
|
|
864
854
|
ParentCompanyId?: number;
|
|
855
|
+
ParentCompanyName?: string;
|
|
865
856
|
Phone?: string;
|
|
866
857
|
ReferenceSupplierId?: number;
|
|
867
858
|
RefreshRate?: number;
|
|
@@ -945,8 +936,7 @@ export interface UserAccountTokenFilterViewModel extends EntityFilterViewModel<U
|
|
|
945
936
|
RefreshTokenIdHashSrc?: string;
|
|
946
937
|
UserAccountId?: number;
|
|
947
938
|
}
|
|
948
|
-
export interface UserAccountRoleFilterViewModel extends EntityFilterViewModel<
|
|
949
|
-
ExceptUserRoles?: boolean;
|
|
939
|
+
export interface UserAccountRoleFilterViewModel extends EntityFilterViewModel<UserAccountRoleView> {
|
|
950
940
|
RoleId?: number;
|
|
951
941
|
UserAccountId?: number;
|
|
952
942
|
}
|
|
@@ -1006,9 +996,13 @@ export interface RoleFilterViewModel extends EntityFilterViewModel<RoleView> {
|
|
|
1006
996
|
ExceptUserRoles?: boolean;
|
|
1007
997
|
UserAccountId?: number;
|
|
1008
998
|
}
|
|
1009
|
-
export interface
|
|
999
|
+
export interface ResourceTranslationFilterViewModel extends EntityFilterViewModel<ResourceTranslationView> {
|
|
1000
|
+
Key?: string;
|
|
1001
|
+
LanguageCode?: string;
|
|
1010
1002
|
Module?: string;
|
|
1003
|
+
ResourceKeyId?: number;
|
|
1011
1004
|
ResourceLanguageId?: number;
|
|
1005
|
+
ResourceType?: number;
|
|
1012
1006
|
}
|
|
1013
1007
|
export interface ResourceLanguageFilterViewModel extends EntityFilterViewModel<ResourceLanguage> {
|
|
1014
1008
|
Code?: string;
|
|
@@ -1055,21 +1049,28 @@ export interface RegisterViewModel {
|
|
|
1055
1049
|
LastName?: string;
|
|
1056
1050
|
Password?: string;
|
|
1057
1051
|
}
|
|
1058
|
-
export interface
|
|
1052
|
+
export interface RatingSummaryFilterViewModel extends EntityFilterViewModel<RatingSummary> {
|
|
1059
1053
|
EntityId?: number;
|
|
1060
1054
|
EntityKey?: string;
|
|
1061
|
-
UserAccountId?: number;
|
|
1062
1055
|
}
|
|
1063
|
-
export interface
|
|
1056
|
+
export interface RatingFilterViewModel extends EntityFilterViewModel<RatingView> {
|
|
1064
1057
|
EntityId?: number;
|
|
1065
1058
|
EntityKey?: string;
|
|
1059
|
+
RatingDate?: Date;
|
|
1060
|
+
RatingSummaryId?: number;
|
|
1061
|
+
UserAccountId?: number;
|
|
1066
1062
|
}
|
|
1067
|
-
export interface
|
|
1063
|
+
export interface Rating extends EntityViewModel {
|
|
1064
|
+
DeletionStatus?: boolean;
|
|
1068
1065
|
EntityId?: number;
|
|
1069
1066
|
EntityKey?: string;
|
|
1067
|
+
Id?: number;
|
|
1068
|
+
Note?: number;
|
|
1070
1069
|
RatingDate?: Date;
|
|
1071
1070
|
RatingSummaryId?: number;
|
|
1071
|
+
RowVersion?: Date;
|
|
1072
1072
|
UserAccountId?: number;
|
|
1073
|
+
UserComment?: string;
|
|
1073
1074
|
}
|
|
1074
1075
|
export interface PresentationProfileItemFilterViewModel extends EntityFilterViewModel<PresentationProfileItemView> {
|
|
1075
1076
|
ColumnKey?: string;
|
|
@@ -1194,9 +1195,13 @@ export interface GetFileDescriptorsViewModel {
|
|
|
1194
1195
|
EntityKey?: string;
|
|
1195
1196
|
FileType?: FileTypes;
|
|
1196
1197
|
}
|
|
1197
|
-
export interface
|
|
1198
|
+
export interface FilesFilterViewModel extends EntityFilterViewModel<FilesView> {
|
|
1199
|
+
EntityId?: number;
|
|
1200
|
+
EntityIds?: number[];
|
|
1201
|
+
EntityKey?: string;
|
|
1198
1202
|
FileId?: number;
|
|
1199
1203
|
FileName?: string;
|
|
1204
|
+
FileType?: number;
|
|
1200
1205
|
}
|
|
1201
1206
|
export interface FileDescriptor {
|
|
1202
1207
|
Extension?: string;
|
|
@@ -29,7 +29,7 @@ export declare class SystemEntityKeys {
|
|
|
29
29
|
static readonly GlobalParameter: string;
|
|
30
30
|
static readonly UserGroupDefinition: string;
|
|
31
31
|
static readonly UserGroup: string;
|
|
32
|
-
static readonly
|
|
32
|
+
static readonly UserAccountRole: string;
|
|
33
33
|
static readonly UserPermissionView: string;
|
|
34
34
|
static readonly UserCompany: string;
|
|
35
35
|
static readonly PresentationProfile: string;
|
|
@@ -89,12 +89,12 @@ export declare class SystemPermissions {
|
|
|
89
89
|
static readonly SYSTEM_EXCHANGERATE_EDIT: string;
|
|
90
90
|
static readonly SYSTEM_EXCHANGERATE_EXPORT: string;
|
|
91
91
|
static readonly SYSTEM_EXCHANGERATE_VIEW: string;
|
|
92
|
-
static readonly
|
|
93
|
-
static readonly
|
|
94
|
-
static readonly
|
|
95
|
-
static readonly
|
|
96
|
-
static readonly
|
|
97
|
-
static readonly
|
|
92
|
+
static readonly SYSTEM_FILES: string;
|
|
93
|
+
static readonly SYSTEM_FILES_ADD: string;
|
|
94
|
+
static readonly SYSTEM_FILES_DELETE: string;
|
|
95
|
+
static readonly SYSTEM_FILES_EDIT: string;
|
|
96
|
+
static readonly SYSTEM_FILES_EXPORT: string;
|
|
97
|
+
static readonly SYSTEM_FILES_VIEW: string;
|
|
98
98
|
static readonly SYSTEM_KEYWORD: string;
|
|
99
99
|
static readonly SYSTEM_KEYWORD_ADD: string;
|
|
100
100
|
static readonly SYSTEM_KEYWORD_DELETE: string;
|
|
@@ -215,12 +215,6 @@ export declare class SystemPermissions {
|
|
|
215
215
|
static readonly SYSTEM_RATINGSUMMARY_EDIT: string;
|
|
216
216
|
static readonly SYSTEM_RATINGSUMMARY_EXPORT: string;
|
|
217
217
|
static readonly SYSTEM_RATINGSUMMARY_VIEW: string;
|
|
218
|
-
static readonly SYSTEM_RATINGVIEW: string;
|
|
219
|
-
static readonly SYSTEM_RATINGVIEW_ADD: string;
|
|
220
|
-
static readonly SYSTEM_RATINGVIEW_DELETE: string;
|
|
221
|
-
static readonly SYSTEM_RATINGVIEW_EDIT: string;
|
|
222
|
-
static readonly SYSTEM_RATINGVIEW_EXPORT: string;
|
|
223
|
-
static readonly SYSTEM_RATINGVIEW_VIEW: string;
|
|
224
218
|
static readonly SYSTEM_REQUEST: string;
|
|
225
219
|
static readonly SYSTEM_REQUEST_ADD: string;
|
|
226
220
|
static readonly SYSTEM_REQUEST_DELETE: string;
|
|
@@ -251,12 +245,12 @@ export declare class SystemPermissions {
|
|
|
251
245
|
static readonly SYSTEM_RESOURCELANGUAGE_EDIT: string;
|
|
252
246
|
static readonly SYSTEM_RESOURCELANGUAGE_EXPORT: string;
|
|
253
247
|
static readonly SYSTEM_RESOURCELANGUAGE_VIEW: string;
|
|
254
|
-
static readonly
|
|
255
|
-
static readonly
|
|
256
|
-
static readonly
|
|
257
|
-
static readonly
|
|
258
|
-
static readonly
|
|
259
|
-
static readonly
|
|
248
|
+
static readonly SYSTEM_RESOURCETRANSLATION: string;
|
|
249
|
+
static readonly SYSTEM_RESOURCETRANSLATION_ADD: string;
|
|
250
|
+
static readonly SYSTEM_RESOURCETRANSLATION_DELETE: string;
|
|
251
|
+
static readonly SYSTEM_RESOURCETRANSLATION_EDIT: string;
|
|
252
|
+
static readonly SYSTEM_RESOURCETRANSLATION_EXPORT: string;
|
|
253
|
+
static readonly SYSTEM_RESOURCETRANSLATION_VIEW: string;
|
|
260
254
|
static readonly SYSTEM_ROLE: string;
|
|
261
255
|
static readonly SYSTEM_ROLE_ADD: string;
|
|
262
256
|
static readonly SYSTEM_ROLE_DELETE: string;
|
|
@@ -317,6 +311,12 @@ export declare class SystemPermissions {
|
|
|
317
311
|
static readonly SYSTEM_USERACCOUNTNEWS_EDIT: string;
|
|
318
312
|
static readonly SYSTEM_USERACCOUNTNEWS_EXPORT: string;
|
|
319
313
|
static readonly SYSTEM_USERACCOUNTNEWS_VIEW: string;
|
|
314
|
+
static readonly SYSTEM_USERACCOUNTROLE: string;
|
|
315
|
+
static readonly SYSTEM_USERACCOUNTROLE_ADD: string;
|
|
316
|
+
static readonly SYSTEM_USERACCOUNTROLE_DELETE: string;
|
|
317
|
+
static readonly SYSTEM_USERACCOUNTROLE_EDIT: string;
|
|
318
|
+
static readonly SYSTEM_USERACCOUNTROLE_EXPORT: string;
|
|
319
|
+
static readonly SYSTEM_USERACCOUNTROLE_VIEW: string;
|
|
320
320
|
static readonly SYSTEM_USERACCOUNTTOKEN: string;
|
|
321
321
|
static readonly SYSTEM_USERACCOUNTTOKEN_ADD: string;
|
|
322
322
|
static readonly SYSTEM_USERACCOUNTTOKEN_DELETE: string;
|
|
@@ -353,12 +353,6 @@ export declare class SystemPermissions {
|
|
|
353
353
|
static readonly SYSTEM_USERPERMISSIONVIEW_EDIT: string;
|
|
354
354
|
static readonly SYSTEM_USERPERMISSIONVIEW_EXPORT: string;
|
|
355
355
|
static readonly SYSTEM_USERPERMISSIONVIEW_VIEW: string;
|
|
356
|
-
static readonly SYSTEM_USERROLE: string;
|
|
357
|
-
static readonly SYSTEM_USERROLE_ADD: string;
|
|
358
|
-
static readonly SYSTEM_USERROLE_DELETE: string;
|
|
359
|
-
static readonly SYSTEM_USERROLE_EDIT: string;
|
|
360
|
-
static readonly SYSTEM_USERROLE_EXPORT: string;
|
|
361
|
-
static readonly SYSTEM_USERROLE_VIEW: string;
|
|
362
356
|
static readonly SYSTEM_USERSESSION: string;
|
|
363
357
|
static readonly SYSTEM_USERSESSION_ADD: string;
|
|
364
358
|
static readonly SYSTEM_USERSESSION_DELETE: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageFormats } from '@dflat-core/web/core-model';
|
|
2
|
-
import {
|
|
2
|
+
import { FilesDataService } from '@dflat-core/web/system-data';
|
|
3
3
|
import { FileTypes, ImageUploadEvent, UploadFileResult } from '@dflat-core/web/system-model';
|
|
4
4
|
import { HttpEvent } from '@angular/common/http';
|
|
5
5
|
import { OnInit } from '@angular/core';
|
|
@@ -65,7 +65,7 @@ export declare class ImageUploadComponent implements OnInit {
|
|
|
65
65
|
* @param fileService Service de fichiers.
|
|
66
66
|
* @param imageCompress Service de compression d'image
|
|
67
67
|
*/
|
|
68
|
-
constructor(fileService:
|
|
68
|
+
constructor(fileService: FilesDataService, imageCompress: NgxImageCompressService);
|
|
69
69
|
ngOnInit(): void;
|
|
70
70
|
/**
|
|
71
71
|
* Traite le retour de sélection du fichier ou drag & drop.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AuthService } from '@dflat-core/web/core-services';
|
|
2
2
|
import { Action, ActionsComponent, AlertService, IActionComponent } from '@dflat-core/web/core-ux';
|
|
3
|
-
import {
|
|
3
|
+
import { FilesDataService } from '@dflat-core/web/system-data';
|
|
4
4
|
import { FileDescriptor } from '@dflat-core/web/system-model';
|
|
5
5
|
import { OnInit } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -17,7 +17,7 @@ export declare class EntityFilesComponent implements IActionComponent, OnInit {
|
|
|
17
17
|
originalFiles: FileDescriptor[];
|
|
18
18
|
selected: FileDescriptor[];
|
|
19
19
|
actions: Action[];
|
|
20
|
-
constructor(fileService:
|
|
20
|
+
constructor(fileService: FilesDataService, authService: AuthService, alertService: AlertService);
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
handleCheckChanged(f: FileDescriptor): void;
|
|
23
23
|
refreshActions(): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
-
import { ResourceKey, ResourceTranslationView,
|
|
2
|
+
import { ResourceKey, ResourceTranslationView, ResourceTranslationFilterViewModel } from '@dflat-core/web/system-model';
|
|
3
3
|
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ResourceTranslationComponent extends BaseComponent<
|
|
5
|
+
export declare class ResourceTranslationComponent extends BaseComponent<ResourceTranslationFilterViewModel, ResourceTranslationView> {
|
|
6
6
|
protected route: ActivatedRoute;
|
|
7
7
|
getTitle(): string;
|
|
8
8
|
getPath(): string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AlertService, FacadeModalService } from '@dflat-core/web/core-ux';
|
|
2
|
-
import { UserAccountCompanyDataService, UserGroupDefinitionDataService,
|
|
2
|
+
import { UserAccountCompanyDataService, UserGroupDefinitionDataService, UserAccountRoleDataService } from '@dflat-core/web/system-data';
|
|
3
3
|
import { EventEmitter } from '@angular/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class UserActionService {
|
|
6
6
|
alertService: AlertService;
|
|
7
7
|
private userGroupDefinitionDataService;
|
|
8
|
-
userRoleDataService:
|
|
8
|
+
userRoleDataService: UserAccountRoleDataService;
|
|
9
9
|
private userCompanyDataService;
|
|
10
10
|
private selector;
|
|
11
|
-
constructor(alertService: AlertService, userGroupDefinitionDataService: UserGroupDefinitionDataService, userRoleDataService:
|
|
11
|
+
constructor(alertService: AlertService, userGroupDefinitionDataService: UserGroupDefinitionDataService, userRoleDataService: UserAccountRoleDataService, userCompanyDataService: UserAccountCompanyDataService, selector: FacadeModalService);
|
|
12
12
|
onSelection: EventEmitter<void>;
|
|
13
13
|
onRoleAdded: EventEmitter<any>;
|
|
14
14
|
onCompanyAdded: EventEmitter<any>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
-
import {
|
|
2
|
+
import { UserAccountRoleView, UserAccountRoleFilterViewModel } from '@dflat-core/web/system-model';
|
|
3
3
|
import { EventEmitter } from '@angular/core';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { UserActionService } from '../services/user-action-service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UserRoleComponent extends BaseComponent<UserAccountRoleFilterViewModel,
|
|
7
|
+
export declare class UserRoleComponent extends BaseComponent<UserAccountRoleFilterViewModel, UserAccountRoleView> {
|
|
8
8
|
protected route: ActivatedRoute;
|
|
9
9
|
private userActionService;
|
|
10
10
|
onRoleAdded: EventEmitter<any>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RatingView, RatingViewFilterViewModel } from '@dflat-core/web/system-model';
|
|
2
|
-
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RatingViewDataService extends EntityDataService<RatingView, RatingViewFilterViewModel> {
|
|
5
|
-
protected dataService: DataService;
|
|
6
|
-
getEntityKey(): string;
|
|
7
|
-
constructor(dataService: DataService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RatingViewDataService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RatingViewDataService>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ResourceTranslationView, ResourceTranslationViewFilterViewModel } from '@dflat-core/web/system-model';
|
|
2
|
-
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ResourceTranslationViewDataService extends EntityDataService<ResourceTranslationView, ResourceTranslationViewFilterViewModel> {
|
|
5
|
-
protected dataService: DataService;
|
|
6
|
-
getEntityKey(): string;
|
|
7
|
-
constructor(dataService: DataService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceTranslationViewDataService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceTranslationViewDataService>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UserAccountRole, UserAccountRoleFilterViewModel } from '@dflat-core/web/system-model';
|
|
2
|
-
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UserRoleDataService extends EntityDataService<UserAccountRole, UserAccountRoleFilterViewModel> {
|
|
5
|
-
protected dataService: DataService;
|
|
6
|
-
getEntityKey(): string;
|
|
7
|
-
constructor(dataService: DataService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserRoleDataService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserRoleDataService>;
|
|
10
|
-
}
|