@dflat-core/web 1.0.25 → 1.0.35
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/fesm2022/dflat-core-web-system-data.mjs +46 -16
- package/fesm2022/dflat-core-web-system-data.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-model.mjs +6 -1
- package/fesm2022/dflat-core-web-system-model.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-root.mjs +1 -1
- package/fesm2022/dflat-core-web-system-root.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-ux.mjs +1 -1
- package/fesm2022/dflat-core-web-system-ux.mjs.map +1 -1
- package/package.json +5 -5
- package/system-data/index.d.ts +3 -1
- package/system-data/lib/data-services/custom-field-options-service.generated.d.ts +2 -2
- package/system-data/lib/data-services/custom-field-service.generated.d.ts +2 -2
- package/system-data/lib/data-services/permission-service.generated.d.ts +2 -2
- package/system-data/lib/data-services/presentation-profile-item-service.generated.d.ts +2 -2
- package/system-data/lib/data-services/request-entity-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/role-permission-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/role-service.generated.d.ts +2 -2
- package/system-data/lib/data-services/user-permission-view-service.generated.d.ts +10 -0
- package/system-model/lib/model/interface.generated.d.ts +90 -38
- package/system-root/lib/system-entity-keys.d.ts +1 -1
- package/system-ux/lib/custom-field/custom-field-editor.component.d.ts +2 -2
- package/system-ux/lib/custom-field/custom-field.component.d.ts +2 -2
- package/system-ux/lib/custom-field-options/custom-field-options-editor.component.d.ts +3 -3
- package/system-ux/lib/custom-field-options/custom-field-options.component.d.ts +2 -2
- package/system-ux/lib/role/role-component.d.ts +2 -2
- package/system-ux/lib/role/role-editor.component.d.ts +3 -3
- package/system-ux/lib/services/custom-field-action-service.d.ts +2 -2
- package/system-ux/lib/user-permission/user-permission-component.d.ts +2 -2
- package/system-data/lib/data-services/permission-view-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.35",
|
|
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": {
|
|
@@ -49,10 +49,6 @@
|
|
|
49
49
|
"types": "./core/index.d.ts",
|
|
50
50
|
"default": "./fesm2022/dflat-core-web-core.mjs"
|
|
51
51
|
},
|
|
52
|
-
"./core-model": {
|
|
53
|
-
"types": "./core-model/index.d.ts",
|
|
54
|
-
"default": "./fesm2022/dflat-core-web-core-model.mjs"
|
|
55
|
-
},
|
|
56
52
|
"./core-data": {
|
|
57
53
|
"types": "./core-data/index.d.ts",
|
|
58
54
|
"default": "./fesm2022/dflat-core-web-core-data.mjs"
|
|
@@ -61,6 +57,10 @@
|
|
|
61
57
|
"types": "./core-services/index.d.ts",
|
|
62
58
|
"default": "./fesm2022/dflat-core-web-core-services.mjs"
|
|
63
59
|
},
|
|
60
|
+
"./core-model": {
|
|
61
|
+
"types": "./core-model/index.d.ts",
|
|
62
|
+
"default": "./fesm2022/dflat-core-web-core-model.mjs"
|
|
63
|
+
},
|
|
64
64
|
"./core-ux": {
|
|
65
65
|
"types": "./core-ux/index.d.ts",
|
|
66
66
|
"default": "./fesm2022/dflat-core-web-core-ux.mjs"
|
package/system-data/index.d.ts
CHANGED
|
@@ -42,7 +42,6 @@ export * from './lib/data-services/custom-field-group-entity-service.generated';
|
|
|
42
42
|
export * from './lib/data-services/action-service.generated';
|
|
43
43
|
export * from './lib/data-services/user-role-service.generated';
|
|
44
44
|
export * from './lib/data-services/user-account-company-service.generated';
|
|
45
|
-
export * from './lib/data-services/permission-view-service.generated';
|
|
46
45
|
export * from './lib/data-services/user-account-company-service.generated';
|
|
47
46
|
export * from './lib/data-services/parameter-value-service.generated';
|
|
48
47
|
export * from './lib/data-services/plugin-parameter-value-service.generated';
|
|
@@ -61,3 +60,6 @@ export * from './lib/data-services/user-account-news-service.generated';
|
|
|
61
60
|
export * from './lib/data-services/meta-entity-form-service.generated';
|
|
62
61
|
export * from './lib/data-services/meta-entity-form-field-service.generated';
|
|
63
62
|
export * from './lib/data-services/meta-entity-form-section-service.generated';
|
|
63
|
+
export * from './lib/data-services/request-entity-service.generated';
|
|
64
|
+
export * from './lib/data-services/role-permission-service.generated';
|
|
65
|
+
export * from './lib/data-services/user-permission-view-service.generated';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomFieldOptionsFilterViewModel, CustomFieldOptionsView } from '@dflat-core/web/system-model';
|
|
2
2
|
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CustomFieldOptionsDataService extends EntityDataService<
|
|
4
|
+
export declare class CustomFieldOptionsDataService extends EntityDataService<CustomFieldOptionsView, CustomFieldOptionsFilterViewModel> {
|
|
5
5
|
protected dataService: DataService;
|
|
6
6
|
getEntityKey(): string;
|
|
7
7
|
constructor(dataService: DataService);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomFieldFilterViewModel, CustomFieldView } from '@dflat-core/web/system-model';
|
|
2
2
|
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CustomFieldDataService extends EntityDataService<
|
|
4
|
+
export declare class CustomFieldDataService extends EntityDataService<CustomFieldView, CustomFieldFilterViewModel> {
|
|
5
5
|
protected dataService: DataService;
|
|
6
6
|
getEntityKey(): string;
|
|
7
7
|
constructor(dataService: DataService);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Permission, PermissionFilterViewModel } from '@dflat-core/web/system-model';
|
|
1
|
+
import { Permission, PermissionFilterViewModel, PermissionView } from '@dflat-core/web/system-model';
|
|
2
2
|
import { TreeItem } 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 * as i0 from "@angular/core";
|
|
6
|
-
export declare class PermissionDataService extends EntityDataService<
|
|
6
|
+
export declare class PermissionDataService extends EntityDataService<PermissionView, PermissionFilterViewModel> {
|
|
7
7
|
protected dataService: DataService;
|
|
8
8
|
getEntityKey(): string;
|
|
9
9
|
constructor(dataService: DataService);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PresentationContext, PresentationProfileFilterViewModel, PresentationProfileItem, PresentationProfileItemFilterViewModel } from '@dflat-core/web/system-model';
|
|
1
|
+
import { PresentationContext, PresentationProfileFilterViewModel, PresentationProfileItem, PresentationProfileItemFilterViewModel, PresentationProfileItemView } 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 PresentationProfileItemDataService extends EntityDataService<
|
|
5
|
+
export declare class PresentationProfileItemDataService extends EntityDataService<PresentationProfileItemView, PresentationProfileItemFilterViewModel> {
|
|
6
6
|
protected dataService: DataService;
|
|
7
7
|
getEntityKey(): string;
|
|
8
8
|
constructor(dataService: DataService);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RequestEntity, RequestEntityFilterViewModel } 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 RequestEntityDataService extends EntityDataService<RequestEntity, RequestEntityFilterViewModel> {
|
|
5
|
+
protected dataService: DataService;
|
|
6
|
+
getEntityKey(): string;
|
|
7
|
+
constructor(dataService: DataService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequestEntityDataService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RequestEntityDataService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RolePermission, RolePermissionFilterViewModel } 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 RolePermissionDataService extends EntityDataService<RolePermission, RolePermissionFilterViewModel> {
|
|
5
|
+
protected dataService: DataService;
|
|
6
|
+
getEntityKey(): string;
|
|
7
|
+
constructor(dataService: DataService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RolePermissionDataService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RolePermissionDataService>;
|
|
10
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RoleFilterViewModel, RoleView } from '@dflat-core/web/system-model';
|
|
2
2
|
import { DataService, EntityDataService } from '@dflat-core/web/core-data';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RoleDataService extends EntityDataService<
|
|
4
|
+
export declare class RoleDataService extends EntityDataService<RoleView, RoleFilterViewModel> {
|
|
5
5
|
protected dataService: DataService;
|
|
6
6
|
getEntityKey(): string;
|
|
7
7
|
constructor(dataService: DataService);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UserPermissionView, UserPermissionViewFilterViewModel } 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 UserPermissionViewDataService extends EntityDataService<UserPermissionView, UserPermissionViewFilterViewModel> {
|
|
5
|
+
protected dataService: DataService;
|
|
6
|
+
getEntityKey(): string;
|
|
7
|
+
constructor(dataService: DataService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserPermissionViewDataService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserPermissionViewDataService>;
|
|
10
|
+
}
|
|
@@ -73,8 +73,13 @@ export interface MetaEntityFormFieldView extends EntityViewModel {
|
|
|
73
73
|
ConditioningMetaEntityFormFieldId?: number;
|
|
74
74
|
ConditioningMetaEntityFormFieldPropertyName?: string;
|
|
75
75
|
ConditioningValues?: string;
|
|
76
|
+
DataMetaEntityEntityName?: string;
|
|
77
|
+
DataMetaEntityId?: number;
|
|
76
78
|
Description?: string;
|
|
79
|
+
DisplayImage?: boolean;
|
|
77
80
|
DisplayMember?: string;
|
|
81
|
+
EnumMetaEntityEntityName?: string;
|
|
82
|
+
EnumMetaEntityId?: number;
|
|
78
83
|
ExportPropertyName?: string;
|
|
79
84
|
FieldColumnSpan?: number;
|
|
80
85
|
FieldConditionalResult?: number;
|
|
@@ -83,6 +88,7 @@ export interface MetaEntityFormFieldView extends EntityViewModel {
|
|
|
83
88
|
HideSelected?: boolean;
|
|
84
89
|
Highlight?: boolean;
|
|
85
90
|
Id?: number;
|
|
91
|
+
IncludeAllOption?: boolean;
|
|
86
92
|
InputType?: string;
|
|
87
93
|
IsClearable?: boolean;
|
|
88
94
|
IsConditional?: boolean;
|
|
@@ -147,6 +153,17 @@ export interface AddressViewFilterViewModel extends EntityFilterViewModel<Addres
|
|
|
147
153
|
EntityType?: string;
|
|
148
154
|
IsDefault?: boolean;
|
|
149
155
|
}
|
|
156
|
+
export interface UserPermissionView extends EntityViewModel {
|
|
157
|
+
Code?: string;
|
|
158
|
+
Description?: string;
|
|
159
|
+
Id?: number;
|
|
160
|
+
Module?: string;
|
|
161
|
+
ParentDescription1?: string;
|
|
162
|
+
ParentDescription2?: string;
|
|
163
|
+
Roles?: string;
|
|
164
|
+
RowVersion?: Date;
|
|
165
|
+
UniqueName?: string;
|
|
166
|
+
}
|
|
150
167
|
export interface UserGroupDefinitionView extends EntityViewModel {
|
|
151
168
|
GroupDescription?: string;
|
|
152
169
|
GroupId?: number;
|
|
@@ -293,11 +310,8 @@ export interface SupplierCompany extends EntityViewModel {
|
|
|
293
310
|
RowVersion?: Date;
|
|
294
311
|
SupplierId?: number;
|
|
295
312
|
}
|
|
296
|
-
export interface
|
|
297
|
-
Childrens?: INode[];
|
|
313
|
+
export interface RoleView extends EntityViewModel {
|
|
298
314
|
Code?: string;
|
|
299
|
-
DeletionStatus?: boolean;
|
|
300
|
-
Description?: string;
|
|
301
315
|
Id?: number;
|
|
302
316
|
ParentId?: number;
|
|
303
317
|
ParentName?: string;
|
|
@@ -306,6 +320,13 @@ export interface Role extends EntityViewModel {
|
|
|
306
320
|
TreeItems?: TreeItem<Permission>[];
|
|
307
321
|
UniqueName?: string;
|
|
308
322
|
}
|
|
323
|
+
export interface RolePermission extends EntityViewModel {
|
|
324
|
+
DeletionStatus?: boolean;
|
|
325
|
+
Id?: number;
|
|
326
|
+
PermissionId?: number;
|
|
327
|
+
RoleId?: number;
|
|
328
|
+
RowVersion?: Date;
|
|
329
|
+
}
|
|
309
330
|
export interface ResourceTranslationView extends EntityViewModel {
|
|
310
331
|
FileId?: number;
|
|
311
332
|
FileName?: string;
|
|
@@ -369,6 +390,14 @@ export interface RequestResultView extends EntityViewModel {
|
|
|
369
390
|
ResultType?: number;
|
|
370
391
|
RowVersion?: Date;
|
|
371
392
|
}
|
|
393
|
+
export interface RequestEntity extends EntityViewModel {
|
|
394
|
+
DeletionStatus?: boolean;
|
|
395
|
+
EntityId?: number;
|
|
396
|
+
EntityKey?: string;
|
|
397
|
+
Id?: number;
|
|
398
|
+
RequestId?: number;
|
|
399
|
+
RowVersion?: Date;
|
|
400
|
+
}
|
|
372
401
|
export interface RatingView extends EntityViewModel {
|
|
373
402
|
EntityId?: number;
|
|
374
403
|
EntityKey?: string;
|
|
@@ -404,6 +433,19 @@ export interface Rating extends EntityViewModel {
|
|
|
404
433
|
UserAccountId?: number;
|
|
405
434
|
UserComment?: string;
|
|
406
435
|
}
|
|
436
|
+
export interface PresentationProfileItemView extends EntityViewModel {
|
|
437
|
+
ColumnKey?: string;
|
|
438
|
+
ColumnSourceType?: number;
|
|
439
|
+
ColumnSourceTypeLabel?: string;
|
|
440
|
+
CustomFieldId?: number;
|
|
441
|
+
DisplayOrder?: number;
|
|
442
|
+
Id?: number;
|
|
443
|
+
IsAllowed?: boolean;
|
|
444
|
+
IsLocked?: boolean;
|
|
445
|
+
Label?: string;
|
|
446
|
+
PresentationProfileId?: number;
|
|
447
|
+
RowVersion?: Date;
|
|
448
|
+
}
|
|
407
449
|
export interface PresentationProfile extends EntityViewModel {
|
|
408
450
|
DeletionStatus?: boolean;
|
|
409
451
|
Id?: number;
|
|
@@ -420,9 +462,8 @@ export interface PermissionView extends EntityViewModel {
|
|
|
420
462
|
Description?: string;
|
|
421
463
|
Id?: number;
|
|
422
464
|
Module?: string;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
Roles?: string;
|
|
465
|
+
ParentId?: number;
|
|
466
|
+
ParentName?: string;
|
|
426
467
|
RowVersion?: Date;
|
|
427
468
|
UniqueName?: string;
|
|
428
469
|
}
|
|
@@ -535,6 +576,7 @@ export interface MetaEntityKeyword extends EntityViewModel {
|
|
|
535
576
|
export interface MetaEntityFormView extends EntityViewModel {
|
|
536
577
|
Code?: string;
|
|
537
578
|
Description?: string;
|
|
579
|
+
FormType?: number;
|
|
538
580
|
Id?: number;
|
|
539
581
|
IsDefault?: boolean;
|
|
540
582
|
Label?: string;
|
|
@@ -644,6 +686,20 @@ export interface DayInfo extends EntityViewModel {
|
|
|
644
686
|
WeekYear?: number;
|
|
645
687
|
Year?: number;
|
|
646
688
|
}
|
|
689
|
+
export interface CustomFieldView extends EntityViewModel {
|
|
690
|
+
CustomFieldType?: number;
|
|
691
|
+
CustomFieldTypeLabel?: string;
|
|
692
|
+
Description?: string;
|
|
693
|
+
Id?: number;
|
|
694
|
+
IsRequired?: boolean;
|
|
695
|
+
Label?: string;
|
|
696
|
+
Maximum?: string;
|
|
697
|
+
MaxLength?: number;
|
|
698
|
+
Minimum?: string;
|
|
699
|
+
Name?: string;
|
|
700
|
+
ParentCustomFieldId?: number;
|
|
701
|
+
RowVersion?: Date;
|
|
702
|
+
}
|
|
647
703
|
export interface CustomFieldValueView extends EntityViewModel {
|
|
648
704
|
CustomFieldId?: number;
|
|
649
705
|
CustomFieldName?: string;
|
|
@@ -655,12 +711,9 @@ export interface CustomFieldValueView extends EntityViewModel {
|
|
|
655
711
|
RowVersion?: Date;
|
|
656
712
|
Value?: string;
|
|
657
713
|
}
|
|
658
|
-
export interface
|
|
659
|
-
CustomFieldCode?: string;
|
|
714
|
+
export interface CustomFieldOptionsView extends EntityViewModel {
|
|
660
715
|
CustomFieldId?: number;
|
|
661
716
|
CustomFieldLabel?: string;
|
|
662
|
-
CustomFieldTypeLabel?: string;
|
|
663
|
-
DeletionStatus?: boolean;
|
|
664
717
|
DisplayOrder?: number;
|
|
665
718
|
DisplayValue?: string;
|
|
666
719
|
Id?: number;
|
|
@@ -690,21 +743,6 @@ export interface CustomFieldGroup extends EntityViewModel {
|
|
|
690
743
|
RowVersion?: Date;
|
|
691
744
|
Scopes?: string;
|
|
692
745
|
}
|
|
693
|
-
export interface CustomField extends EntityViewModel {
|
|
694
|
-
CustomFieldType?: number;
|
|
695
|
-
CustomFieldTypeLabel?: string;
|
|
696
|
-
DeletionStatus?: boolean;
|
|
697
|
-
Description?: string;
|
|
698
|
-
Id?: number;
|
|
699
|
-
IsRequired?: boolean;
|
|
700
|
-
Label?: string;
|
|
701
|
-
Maximum?: string;
|
|
702
|
-
MaxLength?: number;
|
|
703
|
-
Minimum?: string;
|
|
704
|
-
Name?: string;
|
|
705
|
-
ParentCustomFieldId?: number;
|
|
706
|
-
RowVersion?: Date;
|
|
707
|
-
}
|
|
708
746
|
export interface Currency extends EntityViewModel {
|
|
709
747
|
DecimalPlace?: number;
|
|
710
748
|
DecimalSeparator?: string;
|
|
@@ -805,6 +843,13 @@ export interface UserProfileViewModel {
|
|
|
805
843
|
LastName?: string;
|
|
806
844
|
PhoneNumber?: string;
|
|
807
845
|
}
|
|
846
|
+
export interface UserPermissionViewFilterViewModel extends EntityFilterViewModel<UserPermissionView> {
|
|
847
|
+
Code?: string;
|
|
848
|
+
Name?: string;
|
|
849
|
+
ParentName?: string;
|
|
850
|
+
permissionId?: number;
|
|
851
|
+
UserAccountId?: number;
|
|
852
|
+
}
|
|
808
853
|
export interface UserGroupFilterViewModel extends EntityFilterViewModel<UserGroup> {
|
|
809
854
|
}
|
|
810
855
|
export interface UserGroupDefinitionFilterViewModel extends EntityFilterViewModel<UserGroupDefinitionView> {
|
|
@@ -889,7 +934,11 @@ export declare enum SirenCheckResults {
|
|
|
889
934
|
Error = 3,
|
|
890
935
|
InvalidFormat = 4
|
|
891
936
|
}
|
|
892
|
-
export interface
|
|
937
|
+
export interface RolePermissionFilterViewModel extends EntityFilterViewModel<RolePermission> {
|
|
938
|
+
PermissionId?: number;
|
|
939
|
+
RoleId?: number;
|
|
940
|
+
}
|
|
941
|
+
export interface RoleFilterViewModel extends EntityFilterViewModel<RoleView> {
|
|
893
942
|
ExceptUserRoles?: boolean;
|
|
894
943
|
UserAccountId?: number;
|
|
895
944
|
}
|
|
@@ -932,6 +981,9 @@ export interface RequestFilterViewModel extends EntityFilterViewModel<RequestVie
|
|
|
932
981
|
StartDate?: Date;
|
|
933
982
|
UserAccountId?: number;
|
|
934
983
|
}
|
|
984
|
+
export interface RequestEntityFilterViewModel extends EntityFilterViewModel<RequestEntity> {
|
|
985
|
+
RequestId?: number;
|
|
986
|
+
}
|
|
935
987
|
export interface RegisterViewModel {
|
|
936
988
|
CaptchaToken?: string;
|
|
937
989
|
Email?: string;
|
|
@@ -955,7 +1007,7 @@ export interface RatingFilterViewModel extends EntityFilterViewModel<Rating> {
|
|
|
955
1007
|
RatingSummaryId?: number;
|
|
956
1008
|
UserAccountId?: number;
|
|
957
1009
|
}
|
|
958
|
-
export interface PresentationProfileItemFilterViewModel extends EntityFilterViewModel<
|
|
1010
|
+
export interface PresentationProfileItemFilterViewModel extends EntityFilterViewModel<PresentationProfileItemView> {
|
|
959
1011
|
ColumnKey?: string;
|
|
960
1012
|
ColumnSourceType?: number;
|
|
961
1013
|
Label?: string;
|
|
@@ -980,14 +1032,7 @@ export interface PresentationContext {
|
|
|
980
1032
|
Resolved?: PresentationProfileItem[];
|
|
981
1033
|
UserProfile?: PresentationProfile;
|
|
982
1034
|
}
|
|
983
|
-
export interface
|
|
984
|
-
Code?: string;
|
|
985
|
-
Name?: string;
|
|
986
|
-
ParentName?: string;
|
|
987
|
-
permissionId?: number;
|
|
988
|
-
UserAccountId?: number;
|
|
989
|
-
}
|
|
990
|
-
export interface PermissionFilterViewModel extends EntityFilterViewModel<Permission> {
|
|
1035
|
+
export interface PermissionFilterViewModel extends EntityFilterViewModel<PermissionView> {
|
|
991
1036
|
PermissionId?: number;
|
|
992
1037
|
RoleId?: number;
|
|
993
1038
|
UserAccountId?: number;
|
|
@@ -1053,6 +1098,7 @@ export interface MetaEntityFormSectionFilterViewModel extends EntityFilterViewMo
|
|
|
1053
1098
|
MetaEntityFormId?: number;
|
|
1054
1099
|
}
|
|
1055
1100
|
export interface MetaEntityFormFilterViewModel extends EntityFilterViewModel<MetaEntityFormView> {
|
|
1101
|
+
FormType?: number;
|
|
1056
1102
|
MetaEntityId?: number;
|
|
1057
1103
|
}
|
|
1058
1104
|
export interface MetaEntityFormFieldFilterViewModel extends EntityFilterViewModel<MetaEntityFormFieldView> {
|
|
@@ -1123,6 +1169,8 @@ export interface ExchangeRateFilterViewModel extends EntityFilterViewModel<Excha
|
|
|
1123
1169
|
StartDate?: Date;
|
|
1124
1170
|
}
|
|
1125
1171
|
export interface ErrorCategoryFilterViewModel extends EntityFilterViewModel<ErrorCategory> {
|
|
1172
|
+
Code?: string;
|
|
1173
|
+
Label?: string;
|
|
1126
1174
|
}
|
|
1127
1175
|
export interface EntityFilesFilterViewModel extends EntityFilterViewModel<EntityFiles> {
|
|
1128
1176
|
EntityId?: number;
|
|
@@ -1147,7 +1195,7 @@ export interface CustomFieldValueFilterViewModel extends EntityFilterViewModel<C
|
|
|
1147
1195
|
EntityKey?: string;
|
|
1148
1196
|
NumberOfDaysBefore?: number;
|
|
1149
1197
|
}
|
|
1150
|
-
export interface CustomFieldOptionsFilterViewModel extends EntityFilterViewModel<
|
|
1198
|
+
export interface CustomFieldOptionsFilterViewModel extends EntityFilterViewModel<CustomFieldOptionsView> {
|
|
1151
1199
|
CustomFieldId?: number;
|
|
1152
1200
|
FieldTypeId?: number;
|
|
1153
1201
|
}
|
|
@@ -1170,7 +1218,7 @@ export interface CustomFieldGroupEntityFilterViewModel extends EntityFilterViewM
|
|
|
1170
1218
|
EntityKey?: string;
|
|
1171
1219
|
GroupId?: number;
|
|
1172
1220
|
}
|
|
1173
|
-
export interface CustomFieldFilterViewModel extends EntityFilterViewModel<
|
|
1221
|
+
export interface CustomFieldFilterViewModel extends EntityFilterViewModel<CustomFieldView> {
|
|
1174
1222
|
CustomFieldType?: number;
|
|
1175
1223
|
EntityIds?: number[];
|
|
1176
1224
|
EntityKey?: string;
|
|
@@ -1380,6 +1428,10 @@ export declare enum LockStatus {
|
|
|
1380
1428
|
Unlocked = 1,
|
|
1381
1429
|
Locked = 2
|
|
1382
1430
|
}
|
|
1431
|
+
export declare enum FormTypes {
|
|
1432
|
+
Detail = 0,
|
|
1433
|
+
Filter = 1
|
|
1434
|
+
}
|
|
1383
1435
|
export declare enum FieldFilterTypes {
|
|
1384
1436
|
String = 0,
|
|
1385
1437
|
Integer = 1,
|
|
@@ -30,7 +30,7 @@ export declare class SystemEntityKeys {
|
|
|
30
30
|
static readonly UserGroupDefinition: string;
|
|
31
31
|
static readonly UserGroup: string;
|
|
32
32
|
static readonly UserRole: string;
|
|
33
|
-
static readonly
|
|
33
|
+
static readonly UserPermissionView: string;
|
|
34
34
|
static readonly UserCompany: string;
|
|
35
35
|
static readonly PresentationProfile: string;
|
|
36
36
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApplicationService, IActionComponent, IIsCancel, NewEditorComponent } from '@dflat-core/web/core-ux';
|
|
2
|
-
import {
|
|
2
|
+
import { CustomFieldView } 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 CustomFieldEditorComponent extends NewEditorComponent<
|
|
5
|
+
export declare class CustomFieldEditorComponent extends NewEditorComponent<CustomFieldView> implements IIsCancel, IActionComponent {
|
|
6
6
|
getEntityKey(): string;
|
|
7
7
|
getTitle(withId: boolean): string;
|
|
8
8
|
getPath(withId: boolean): string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ApplicationService, BaseComponent, OrderableModalService } from '@dflat-core/web/core-ux';
|
|
2
2
|
import { CustomFieldOptionsDataService } from '@dflat-core/web/system-data';
|
|
3
|
-
import {
|
|
3
|
+
import { CustomFieldView, CustomFieldFilterViewModel } from '@dflat-core/web/system-model';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CustomFieldComponent extends BaseComponent<CustomFieldFilterViewModel,
|
|
6
|
+
export declare class CustomFieldComponent extends BaseComponent<CustomFieldFilterViewModel, CustomFieldView> {
|
|
7
7
|
private itemDataService;
|
|
8
8
|
private orderableModal;
|
|
9
9
|
getTitle(): string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EntityViewModelWithFields } from '@dflat-core/web/core-model';
|
|
2
2
|
import { ApplicationService, IIsCancel, NewEditorComponent } from '@dflat-core/web/core-ux';
|
|
3
|
-
import {
|
|
3
|
+
import { CustomFieldOptionsView } from '@dflat-core/web/system-model';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CustomFieldOptionsEditorComponent extends NewEditorComponent<
|
|
6
|
+
export declare class CustomFieldOptionsEditorComponent extends NewEditorComponent<CustomFieldOptionsView> implements IIsCancel {
|
|
7
7
|
getEntityKey(): string;
|
|
8
8
|
getTitle(withId: boolean): string;
|
|
9
9
|
getPath(withId: boolean): string;
|
|
@@ -11,7 +11,7 @@ export declare class CustomFieldOptionsEditorComponent extends NewEditorComponen
|
|
|
11
11
|
CustomFieldId: number;
|
|
12
12
|
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
13
13
|
ngOnInit(): void;
|
|
14
|
-
alterViewModel(vm: EntityViewModelWithFields<
|
|
14
|
+
alterViewModel(vm: EntityViewModelWithFields<CustomFieldOptionsView>): EntityViewModelWithFields<CustomFieldOptionsView>;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomFieldOptionsEditorComponent, never>;
|
|
16
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<CustomFieldOptionsEditorComponent, "alg-custom-field-options-editor", never, {}, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
-
import {
|
|
2
|
+
import { CustomFieldOptionsView, CustomFieldOptionsFilterViewModel } from '@dflat-core/web/system-model';
|
|
3
3
|
import { CustomFieldActionService } from '../services/custom-field-action-service';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CustomFieldOptionsComponent extends BaseComponent<CustomFieldOptionsFilterViewModel,
|
|
6
|
+
export declare class CustomFieldOptionsComponent extends BaseComponent<CustomFieldOptionsFilterViewModel, CustomFieldOptionsView> {
|
|
7
7
|
private customFieldActionService;
|
|
8
8
|
getTitle(): string;
|
|
9
9
|
getPath(): string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
-
import {
|
|
2
|
+
import { RoleView, RoleFilterViewModel } 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 RoleComponent extends BaseComponent<RoleFilterViewModel,
|
|
5
|
+
export declare class RoleComponent extends BaseComponent<RoleFilterViewModel, RoleView> {
|
|
6
6
|
protected route: ActivatedRoute;
|
|
7
7
|
getTitle(): string;
|
|
8
8
|
getPath(): string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TreeviewConfig, TreeviewItem } from '@samotics/ngx-treeview';
|
|
2
2
|
import { EntityViewModelWithFields, FilterDescriptor } from '@dflat-core/web/core-model';
|
|
3
3
|
import { ApplicationService, BaseEditorComponent } from '@dflat-core/web/core-ux';
|
|
4
|
-
import {
|
|
4
|
+
import { RoleView } from '@dflat-core/web/system-model';
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class RoleEditorComponent extends BaseEditorComponent<
|
|
7
|
+
export declare class RoleEditorComponent extends BaseEditorComponent<RoleView> {
|
|
8
8
|
getEntityKey(): string;
|
|
9
9
|
getTitle(withId: boolean): string;
|
|
10
10
|
getPath(withId: boolean): string;
|
|
@@ -16,7 +16,7 @@ export declare class RoleEditorComponent extends BaseEditorComponent<Role> {
|
|
|
16
16
|
form: any;
|
|
17
17
|
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
18
18
|
onSave(): void;
|
|
19
|
-
OnLoadingComplete(entity: EntityViewModelWithFields<
|
|
19
|
+
OnLoadingComplete(entity: EntityViewModelWithFields<RoleView>): void;
|
|
20
20
|
onSelectChange($event: any): void;
|
|
21
21
|
onFilterChange(value: string): void;
|
|
22
22
|
items: TreeviewItem[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AlertService, FacadeModalService } from '@dflat-core/web/core-ux';
|
|
2
2
|
import { CustomFieldGroupEntityDataService, CustomFieldGroupItemDataService, CustomFieldOptionsDataService, MetaEntityFieldDataService } from '@dflat-core/web/system-data';
|
|
3
|
-
import { CustomFieldGroup, CustomFieldGroupItemView,
|
|
3
|
+
import { CustomFieldGroup, CustomFieldGroupItemView, CustomFieldOptionsView, MetaEntityField } from '@dflat-core/web/system-model';
|
|
4
4
|
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CustomFieldActionService {
|
|
@@ -14,7 +14,7 @@ export declare class CustomFieldActionService {
|
|
|
14
14
|
onCustomFieldAddSubject: Subject<MetaEntityField>;
|
|
15
15
|
addCustomField(metaEntityKey: string, existentCustomFields: number[]): void;
|
|
16
16
|
private onCustomFieldOptionAddSubject;
|
|
17
|
-
customFieldOptionAdded$: Observable<
|
|
17
|
+
customFieldOptionAdded$: Observable<CustomFieldOptionsView>;
|
|
18
18
|
addCustomFieldOption(customFieldId: number): import("rxjs").Subscription;
|
|
19
19
|
onCustomFieldGroupAddSubject: Subject<CustomFieldGroup>;
|
|
20
20
|
addCustomFieldtoGroup(groupId: number, initParams?: Partial<CustomFieldGroupItemView>): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
-
import { PermissionFilterViewModel,
|
|
2
|
+
import { PermissionFilterViewModel, UserPermissionView } 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 UserPermissionComponent extends BaseComponent<PermissionFilterViewModel,
|
|
5
|
+
export declare class UserPermissionComponent extends BaseComponent<PermissionFilterViewModel, UserPermissionView> {
|
|
6
6
|
protected route: ActivatedRoute;
|
|
7
7
|
getTitle(): string;
|
|
8
8
|
getPath(): string;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PermissionView, PermissionViewFilterViewModel } 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 PermissionViewDataService extends EntityDataService<PermissionView, PermissionViewFilterViewModel> {
|
|
5
|
-
protected dataService: DataService;
|
|
6
|
-
getEntityKey(): string;
|
|
7
|
-
constructor(dataService: DataService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionViewDataService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PermissionViewDataService>;
|
|
10
|
-
}
|